.quill-editor-container{border:1px solid var(--border-color,#d1d5db);border-radius:8px;overflow:hidden;background:var(--bg-primary,#fff);transition:border-color .2s ease,box-shadow .2s ease}.quill-editor-container:focus-within{border-color:var(--primary-color,#3b82f6);box-shadow:0 0 0 1px var(--primary-color,#3b82f6)}.dark .quill-editor-container{background:#1f2937!important}.ql-toolbar.ql-snow{display:flex!important;align-items:center!important;flex-wrap:wrap!important;border:1px solid var(--border-color,#d1d5db)!important;border-bottom:1px solid var(--border-color,#d1d5db)!important;border-radius:8px 8px 0 0!important;background:var(--bg-secondary,#f9fafb)!important;padding:.5rem!important;box-sizing:border-box!important;margin:0!important}.ql-toolbar.ql-snow .ql-formats{margin-right:.75rem!important;display:flex!important;align-items:center!important;margin-bottom:0!important}.ql-toolbar.ql-snow button{width:28px!important;height:28px!important;padding:0!important;margin:0 .125rem!important;border-radius:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;background:0 0!important;position:relative!important;vertical-align:top!important;transition:background-color .2s ease!important}.ql-toolbar.ql-snow button *{vertical-align:middle!important}.ql-toolbar.ql-snow .ql-picker{height:28px!important;margin:0 .125rem!important;border-radius:4px!important;border:none!important;background:0 0!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:background-color .2s ease!important}.ql-toolbar.ql-snow .ql-picker.ql-active,.ql-toolbar.ql-snow button.ql-active{background:var(--primary-color,#3b82f6)!important;color:#fff!important}.ql-toolbar.ql-snow .ql-stroke{stroke:var(--text-primary,#111827)!important;stroke-width:1.5!important}.ql-toolbar.ql-snow .ql-fill{fill:var(--text-primary,#111827)!important}.ql-toolbar.ql-snow .ql-picker-label{color:var(--text-primary,#111827)!important;width:auto!important;min-width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 .5rem!important;border:none!important;background:0 0!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1!important;vertical-align:middle!important;margin:0!important}.ql-toolbar.ql-snow .ql-picker-options{background:var(--bg-primary,#fff)!important;border:1px solid var(--border-color,#d1d5db)!important;border-radius:6px!important;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important;z-index:10000!important;max-height:200px!important;overflow-y:auto!important;position:absolute!important}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{max-width:200px!important;white-space:nowrap!important}.ql-toolbar.ql-snow .ql-header .ql-picker-options,.ql-toolbar.ql-snow .ql-size .ql-picker-options{min-width:120px!important;max-width:150px!important;left:0!important;transform:none!important}.ql-toolbar.sticky .ql-picker-options{z-index:10001!important}.ql-toolbar.ql-snow .ql-picker-item{color:var(--text-primary,#111827)!important;padding:.5rem .75rem!important;font-size:.875rem!important}.ql-toolbar.ql-snow .ql-header .ql-picker-label{width:auto!important;min-width:65px!important;text-align:left!important;justify-content:flex-start!important;padding:0 .5rem!important}.ql-toolbar.ql-snow .ql-size .ql-picker-label{width:auto!important;min-width:65px!important;padding:0 .5rem!important;display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important}.ql-toolbar.ql-snow .ql-size .ql-picker-label::after{content:"▼"!important;font-size:8px!important;opacity:.6!important;margin-left:.25rem!important;display:inline-block!important;line-height:1!important;vertical-align:middle!important}.ql-toolbar.ql-snow .ql-header .ql-picker-label::after{content:"▼"!important;font-size:8px!important;opacity:.6!important;margin-left:.25rem!important;display:inline-block!important;line-height:1!important;vertical-align:middle!important}.ql-toolbar.ql-snow .ql-picker-label::after{margin-left:.25rem!important;font-size:10px!important;vertical-align:middle!important;line-height:1!important;display:inline-block!important}.ql-toolbar.ql-snow .ql-header svg,.ql-toolbar.ql-snow .ql-size svg{display:none!important}.ql-toolbar.ql-snow .ql-picker-label>*{vertical-align:middle!important;line-height:1!important}.ql-toolbar.ql-snow .ql-background .ql-picker-label,.ql-toolbar.ql-snow .ql-color .ql-picker-label{width:32px!important;height:32px!important;padding:0!important;margin:0 .125rem!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;font-weight:700!important;line-height:1!important}.ql-toolbar.ql-snow svg{width:14px!important;height:14px!important;display:block!important;margin:auto!important}.ql-toolbar.ql-snow button::before{font-size:12px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;margin:auto!important}.ql-toolbar.ql-snow .ql-align .ql-picker-options{min-width:140px!important;padding:.25rem 0!important}.ql-toolbar.ql-snow .ql-align .ql-picker-item{display:flex!important;align-items:center!important;justify-content:center!important;padding:.5rem!important;min-height:32px!important;cursor:pointer!important;transition:background-color .2s ease!important;border-radius:4px!important;margin:.125rem .25rem!important}.ql-toolbar.ql-snow .ql-align .ql-picker-item i{color:var(--text-primary,#111827)!important;font-size:16px!important;line-height:1!important}.dark .ql-toolbar.ql-snow .ql-align .ql-picker-item i{color:var(--text-primary,#e5e7eb)!important}.ql-container.ql-snow{border:none!important;font-size:1rem!important;line-height:1.6!important;background:var(--bg-primary,#fff)!important}.ql-editor{min-height:200px!important;padding:1rem!important;color:var(--text-primary,#111827)!important;font-size:1rem!important;line-height:1.6!important}.ql-editor.ql-blank::before{color:var(--text-tertiary,#9ca3af)!important;font-style:normal!important;font-size:1rem!important;left:1rem!important;font-family:inherit!important}.ql-toolbar.sticky{position:fixed!important;top:3.75rem!important;left:1.5rem!important;border:1px solid var(--border-color,#e5e7eb)!important;border-radius:.5rem .5rem 0 0!important;background:var(--bg-secondary,#f9fafb)!important;z-index:9999!important;margin:0!important}.utils-dialog .ql-toolbar.sticky{position:fixed!important;z-index:10000!important;margin:0!important;border:1px solid var(--border-color,#e5e7eb)!important;border-radius:.5rem .5rem 0 0!important;background:var(--bg-secondary,#f9fafb)!important}.utils-dialog .ql-toolbar.sticky{animation:none!important}.utils-dialog .ql-toolbar.sticky::before{display:none!important}.dark .utils-dialog .ql-toolbar.sticky{background:var(--bg-secondary,#1f2937)!important;border-color:var(--border-color,#4b5563)!important}@keyframes stickyToolbarSlideDown{from{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.ql-toolbar.sticky::before{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--primary-color,#3b82f6),var(--primary-hover,#2563eb));opacity:.7}.ql-toolbar-placeholder{height:44px;background:0 0!important;display:none;visibility:hidden!important;margin:0!important;padding:0!important;border:none!important;pointer-events:none!important}.dark .ql-toolbar.ql-snow{background:var(--bg-secondary,#1f2937)!important;border-color:var(--border-color,#374151)!important}.dark .ql-toolbar.ql-snow .ql-header .ql-picker-label::after,.dark .ql-toolbar.ql-snow .ql-size .ql-picker-label::after{color:var(--text-primary,#e5e7eb)!important;opacity:.7!important}.dark .ql-toolbar.ql-snow .ql-stroke{stroke:var(--text-primary,#e5e7eb)!important}.dark .ql-toolbar.ql-snow .ql-fill{fill:var(--text-primary,#e5e7eb)!important}.dark .ql-toolbar.ql-snow .ql-picker-label{color:var(--text-primary,#e5e7eb)!important}.dark .ql-toolbar.ql-snow .ql-picker-options{background:var(--bg-secondary,#1f2937)!important;border-color:var(--border-color,#374151)!important}.dark .ql-toolbar.ql-snow .ql-picker-item{color:var(--text-primary,#e5e7eb)!important}.dark .ql-toolbar.ql-snow .ql-picker-item:hover{background:var(--bg-tertiary,#374151)!important}.dark .ql-container.ql-snow{background:var(--bg-primary,#111827)!important}.dark .ql-editor{color:var(--text-primary,#e5e7eb)!important}.dark .ql-editor.ql-blank::before{color:var(--text-tertiary,#6b7280)!important}.dark .ql-toolbar.sticky{background:var(--bg-secondary,#1f2937)!important;border-color:var(--border-color,#374151)!important;box-shadow:0 2px 8px rgba(0,0,0,.3)!important}.ql-editor .editor-code-block,.ql-editor .editor-content-code-block,.ql-editor .ql-code-block{box-sizing:border-box!important;padding:.25rem!important;margin:0!important;font-family:Monaco,Menlo,'Ubuntu Mono',monospace!important;font-size:.75rem!important;line-height:1.4!important;border-radius:4px!important;background-color:#2d3748!important;color:#c9d1d9!important;border:none!important;white-space:pre!important;overflow:visible!important;opacity:1!important;visibility:visible!important;height:auto!important;max-height:none!important}.ql-editor .editor-code-block,.ql-editor .editor-content-code-block{display:block!important;-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;outline:0!important;overflow:visible!important;text-overflow:visible!important;position:static!important}.ql-editor .ql-code-block-container{box-sizing:border-box!important;padding:.75rem!important;margin:.25rem 0!important;font-family:Monaco,Menlo,'Ubuntu Mono',monospace!important;font-size:.875rem!important;line-height:1.4!important;border-radius:4px!important;background-color:#2d3748!important;color:#c9d1d9!important;border:none!important;white-space:pre!important;overflow-x:auto!important;overflow-y:visible!important;height:auto!important;max-height:none!important;font-style:italic}.ql-editor blockquote{margin:0!important;margin-top:0!important;margin-bottom:0!important;padding:1rem!important;background:rgba(156,163,175,.1)!important;border-left:3px solid #c4c9d0!important;border-radius:4px!important;color:var(--text-secondary,#6b7280)!important;font-style:italic!important;font-size:.875rem!important;line-height:1.6!important;position:relative!important}.ql-editor blockquote+blockquote{margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important;padding-top:.2rem!important}@supports selector(:has(+ *)){.ql-editor blockquote:has(+ blockquote){margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;padding-bottom:.2rem!important}}.ql-editor .blockquote-group{margin:0!important;margin-top:0!important;margin-bottom:0!important;background:rgba(156,163,175,.1)!important;border-left:3px solid var(--primary-color,#3b82f6)!important;border-radius:4px!important;overflow:hidden!important}.ql-editor .blockquote-group blockquote{margin:0!important;border:none!important;background:0 0!important;border-radius:0!important;padding:.75rem 1rem!important;font-size:.875rem!important}.ql-editor .blockquote-group blockquote+blockquote{margin-top:0!important;padding-top:.75rem!important}.dark .ql-editor blockquote{background:rgba(75,85,99,.2)!important;border-left-color:#4b5563!important}.dark .ql-editor .blockquote-group{background:rgba(75,85,99,.2)!important;border-left-color:var(--primary-color,#3b82f6)!important}[data-theme=dark] .ql-editor .editor-code-block,[data-theme=dark] .ql-editor .editor-content-code-block,[data-theme=dark] .ql-editor .ql-code-block,[data-theme=dark] .ql-editor .ql-code-block-container{background-color:#2d3748!important;color:#c9d1d9!important}@media (max-width:1023px){.ql-toolbar.ql-snow{padding:1rem!important;flex-wrap:wrap!important;gap:.25rem!important}.ql-toolbar.ql-snow .ql-formats{margin-right:.5rem!important;margin-bottom:.25rem!important}.ql-toolbar.ql-snow .ql-picker,.ql-toolbar.ql-snow button{width:32px!important;height:32px!important;margin:0 .125rem!important}.ql-toolbar.ql-snow .ql-picker-label{min-width:32px!important;height:32px!important;font-size:12px!important}.ql-toolbar.ql-snow .ql-header .ql-picker-label{min-width:65px!important}.ql-toolbar.ql-snow .ql-size .ql-picker-label{min-width:70px!important}.ql-toolbar.ql-snow .ql-size .ql-picker-options{left:auto!important;right:0!important}.ql-toolbar.ql-snow .ql-background .ql-picker-options,.ql-toolbar.ql-snow .ql-color .ql-picker-options,.ql-toolbar.ql-snow .ql-header .ql-picker-options{left:0!important;right:auto!important}.ql-toolbar.sticky{left:.75rem!important;width:calc(100% - 1.5rem)!important;padding:.5rem!important;box-sizing:border-box!important}.utils-dialog .ql-toolbar.sticky{left:.75rem!important;width:calc(100% - 1.5rem)!important;padding:.75rem 1rem!important}.ql-editor{min-height:150px!important;padding:.75rem!important}.ql-editor .editor-code-block,.ql-editor .editor-content-code-block,.ql-editor .ql-code-block{font-size:.75rem!important;padding:.375rem!important;margin:.125rem 0!important;line-height:1.3!important}.ql-editor .ql-code-block-container{font-size:.75rem!important;padding:.5rem!important;margin:.125rem 0!important}}.ql-editor img[data-drag-resize-enabled]{transition:filter .2s ease,box-shadow .2s ease!important;cursor:pointer!important}.ql-editor img[data-drag-resize-enabled]:hover{filter:brightness(1.05)!important}.ql-editor img[data-drag-resize-enabled].image-selected{filter:brightness(1.1)!important;box-shadow:0 0 0 2px var(--primary-color,#3b82f6),0 0 8px rgba(59,130,246,.3)!important}.resize-handle{position:absolute!important;width:10px!important;height:10px!important;background:var(--primary-color,#3b82f6)!important;border:2px solid #fff!important;border-radius:50%!important;z-index:1000!important;opacity:1!important;transition:opacity .2s ease,transform .1s ease!important;box-shadow:0 2px 4px rgba(0,0,0,.2)!important}.resize-handle:hover{transform:scale(1.2)!important;background:var(--primary-hover,#2563eb)!important}body.resizing{user-select:none!important;cursor:inherit!important}body.resizing *{pointer-events:none!important}body.resizing .resize-handle{pointer-events:auto!important}.resize-info{position:fixed!important;top:20px!important;right:20px!important;background:rgba(0,0,0,.8)!important;color:#fff!important;padding:8px 12px!important;border-radius:4px!important;font-size:12px!important;font-family:Monaco,Menlo,'Ubuntu Mono',monospace!important;z-index:10000!important;pointer-events:none!important;box-shadow:0 4px 12px rgba(0,0,0,.3)!important;backdrop-filter:blur(4px)!important}@media (max-width:1023px){.resize-handle{width:16px!important;height:16px!important;border-width:3px!important}.resize-info{top:50px!important;right:10px!important;font-size:14px!important;padding:10px 15px!important}}.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:level1}.ql-editor ol,.ql-editor ul{list-style:none!important;margin:0!important;padding:0!important}.ql-editor li[data-list=ordered]:not(.ql-indent-1):not(.ql-indent-2):not(.ql-indent-3):not(.ql-indent-4):not(.ql-indent-5){counter-increment:level1;counter-reset:level2 level3 level4 level5 level6;display:list-item!important;list-style:none!important;margin-left:2em!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered]:not(.ql-indent-1):not(.ql-indent-2):not(.ql-indent-3):not(.ql-indent-4):not(.ql-indent-5)::before{content:counter(level1) ". ";font-weight:inherit;margin-left:-1.5em;display:inline-block;width:1.5em}.ql-editor ol{counter-reset:none!important}.ql-editor ol:first-of-type{counter-reset:level1!important}.ql-editor h1+*+ol,.ql-editor h1+ol,.ql-editor h2+*+ol,.ql-editor h2+ol,.ql-editor h3+*+ol,.ql-editor h3+ol,.ql-editor h4+*+ol,.ql-editor h4+ol,.ql-editor h5+*+ol,.ql-editor h5+ol,.ql-editor h6+*+ol,.ql-editor h6+ol{counter-reset:level1!important}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:level2!important;counter-reset:level3 level4 level5 level6!important;display:list-item!important;list-style:none!important;margin-left:1em!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered].ql-indent-1::before{content:counter(level2,lower-alpha) ". ";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:level3!important;counter-reset:level4 level5 level6!important;display:list-item!important;list-style:none!important;margin-left:0!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered].ql-indent-2::before{content:counter(level3,lower-roman) ". ";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:level4!important;counter-reset:level5 level6!important;display:list-item!important;list-style:none!important;margin-left:8em!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered].ql-indent-3::before{content:counter(level4,upper-alpha) ". ";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:level5!important;counter-reset:level6!important;display:list-item!important;list-style:none!important;margin-left:10em!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered].ql-indent-4::before{content:counter(level5) ". ";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:level6!important;display:list-item!important;list-style:none!important;margin-left:12em!important;margin-bottom:.5rem;line-height:1.6}.ql-editor li[data-list=ordered].ql-indent-5::before{content:counter(level6,lower-alpha) ". ";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=ordered]>.ql-ui:before{content:none!important}.ql-editor li[data-list=bullet]>.ql-ui:before{content:none!important}.ql-editor li[data-list=bullet]{display:list-item!important;list-style:none!important;list-style-type:none!important;list-style-position:outside!important;margin-left:2em!important;margin-bottom:.5rem;line-height:1.6;position:relative}.ql-editor li[data-list=bullet] *{list-style:none!important}.ql-editor li[data-list=bullet] .ql-ui{display:none!important}.ql-editor li[data-list=bullet]::before{content:"•";font-weight:inherit;margin-left:-1.5em;display:inline-block;width:1.5em}.ql-editor li[data-list=bullet].ql-indent-1{margin-left:1em!important}.ql-editor li[data-list=bullet].ql-indent-1::before{content:"◦";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=bullet].ql-indent-2{margin-left:0!important}.ql-editor li[data-list=bullet].ql-indent-2::before{content:"▪";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor li[data-list=bullet].ql-indent-3{margin-left:8em!important}.ql-editor li[data-list=bullet].ql-indent-3::before{content:"•";font-weight:inherit;margin-left:-2em;display:inline-block;width:2em}.ql-editor ol,.ql-editor ul,.quill-editor ol,.quill-editor ul{margin-bottom:0!important}@media (max-width:1023px){.ql-editor li[data-list=ordered]:not(.ql-indent-1):not(.ql-indent-2):not(.ql-indent-3):not(.ql-indent-4):not(.ql-indent-5){margin-left:.8em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered]:not(.ql-indent-1):not(.ql-indent-2):not(.ql-indent-3):not(.ql-indent-4):not(.ql-indent-5)::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=ordered].ql-indent-1{margin-left:-.8em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered].ql-indent-1::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=ordered].ql-indent-2{margin-left:-2.5em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered].ql-indent-2::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=ordered].ql-indent-3{margin-left:6.3em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered].ql-indent-3::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=ordered].ql-indent-4{margin-left:7.8em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered].ql-indent-4::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=ordered].ql-indent-5{margin-left:9.3em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=ordered].ql-indent-5::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=bullet]{margin-left:1.8em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=bullet]::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=bullet].ql-indent-1{margin-left:-.8em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=bullet].ql-indent-1::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=bullet].ql-indent-2{margin-left:-2.5em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=bullet].ql-indent-2::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}.ql-editor li[data-list=bullet].ql-indent-3{margin-left:6.3em!important;margin-bottom:.5rem!important;line-height:1.6!important}.ql-editor li[data-list=bullet].ql-indent-3::before{margin-left:-1.5em!important;width:1.5em!important;display:inline-block!important;text-align:left!important}}