.custom-rich-text-editor[data-v-4f6704e0]{background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:hidden}.editor-toolbar[data-v-4f6704e0]{z-index:4;background:#f5f3ff;border-bottom:1px solid #c4b5fd;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:.28rem;width:100%;min-width:0;padding:.4rem .5rem;display:flex;position:relative;overflow:visible}.editor-toolbar button[data-v-4f6704e0],.editor-toolbar select[data-v-4f6704e0],.editor-toolbar[data-v-4f6704e0]{color:#6d28d9;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #c4b5fd;border-radius:3px;flex-shrink:0;min-width:auto;margin-right:0;padding:.15rem .375rem;font-size:1rem;transition:all .2s}.editor-toolbar button[data-v-4f6704e0]{justify-content:center;align-items:center;width:2.25rem;min-width:2.25rem;height:2.25rem;display:inline-flex}.editor-toolbar .toolbar-tooltip-button[data-v-4f6704e0]{width:2.25rem;min-width:2.25rem;padding:.15rem .375rem;font-size:1.06rem}.toolbar-menu[data-v-4f6704e0]{flex-shrink:0;display:inline-flex;position:relative}.editor-toolbar .toolbar-dropdown-button[data-v-4f6704e0]{justify-content:center;align-items:center;width:2.25rem;min-width:2.25rem;padding:.15rem .275rem;font-size:.925rem;font-weight:800;display:inline-flex}.editor-toolbar .toolbar-dropdown-button--format[data-v-4f6704e0]{width:2.7rem;min-width:2.7rem;font-size:.85rem}.toolbar-menu-panel[data-v-4f6704e0]{z-index:30;background:#fff;border:1px solid #c4b5fd;border-radius:6px;flex-direction:column;gap:.2rem;min-width:11.25rem;padding:.3125rem;display:flex;position:absolute;top:calc(100% + .25rem);left:0;box-shadow:0 10px 24px #4c1d952e}.toolbar-menu-panel--format[data-v-4f6704e0]{min-width:10.95rem}.toolbar-menu-panel--colors[data-v-4f6704e0]{min-width:15rem}.editor-toolbar .toolbar-menu-panel button[data-v-4f6704e0]{color:#4c1d95;text-align:left;border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:.56rem;width:100%;min-width:100%;height:auto;padding:.525rem .625rem;font-size:1.025rem;display:flex}.editor-toolbar .toolbar-menu-panel button[data-v-4f6704e0]:hover,.editor-toolbar .toolbar-menu-panel button.active[data-v-4f6704e0]{color:#5b21b6;background:#ede9fe}.toolbar-color-option[data-v-4f6704e0]{color:#4c1d95;border-radius:4px;flex-direction:column;align-items:stretch;gap:.5rem;padding:.625rem .7rem;font-size:1.025rem;display:flex}.toolbar-color-option[data-v-4f6704e0]:hover{background:#ede9fe}.toolbar-text-color-demo[data-v-4f6704e0]{color:#dc2626;font-weight:700}.toolbar-highlight-color-demo[data-v-4f6704e0]{color:#4c1d95;background:#fef08a;border-radius:3px;padding:0 .2rem;font-weight:700}.toolbar-color-swatches[data-v-4f6704e0]{grid-template-columns:repeat(4,1fr);gap:.4rem;display:grid}.editor-toolbar .toolbar-menu-panel .toolbar-color-swatch[data-v-4f6704e0]{border:1px solid #c4b5fd;border-radius:4px;width:100%;min-width:0;height:1.75rem;padding:0;box-shadow:inset 0 0 0 1px #ffffff8c}.editor-toolbar .toolbar-menu-panel .toolbar-color-swatch[data-v-4f6704e0]:hover,.editor-toolbar .toolbar-menu-panel .toolbar-color-swatch.active[data-v-4f6704e0]{border-color:#6d28d9;box-shadow:0 0 0 2px #6d28d92e,inset 0 0 0 1px #ffffff8c}.editor-toolbar button.active[data-v-4f6704e0]{color:#fff;background:#8b5cf6;border-color:#8b5cf6}.editor-toolbar button[data-v-4f6704e0]:disabled{opacity:.5;cursor:not-allowed}.toolbar-select[data-v-4f6704e0]{flex:5rem;min-width:5rem;max-width:7rem}.font-dropdown[data-v-4f6704e0]{color:#6d28d9;cursor:pointer;background:0 0;border:1px solid #c4b5fd;border-radius:3px;flex:0 0 4.5rem;justify-content:center;align-items:center;width:4.5rem;min-width:4.5rem;height:2.25rem;padding:0;transition:all .2s;display:inline-flex}.font-dropdown[data-v-4f6704e0]:hover{border-color:#8b5cf6}.font-dropdown.p-focus[data-v-4f6704e0]{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf633}.font-dropdown[data-v-4f6704e0] .p-select{color:#6d28d9;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;width:4.5rem;min-width:4.5rem;height:2.25rem;min-height:2.25rem;padding:0;font-size:1.06rem;transition:all .2s;display:inline-flex}.font-dropdown[data-v-4f6704e0] .p-select:hover{border-color:#8b5cf6}.font-dropdown[data-v-4f6704e0] .p-select:not(.p-disabled).p-focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf633}.font-dropdown[data-v-4f6704e0] .p-select-trigger{display:none}.font-dropdown[data-v-4f6704e0] .p-select-label{justify-content:center;align-items:center;width:100%;min-width:0;padding:0;line-height:1;display:flex;overflow:visible}.font-option[data-v-4f6704e0]{padding:.5rem;font-size:1rem;line-height:1.2}.font-value[data-v-4f6704e0]{justify-content:center;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:.82rem;font-weight:800;line-height:1;display:flex}.font-placeholder[data-v-4f6704e0]{color:#6d28d9;justify-content:center;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:.82rem;font-style:normal;font-weight:800;line-height:1;display:flex}.toolbar-separator[data-v-4f6704e0]{background:#c4b5fd;flex-shrink:0;width:1px;height:20px;margin:0 .08rem;display:inline-block}[data-v-4f6704e0]::deep(.editor-content .ProseMirror){min-height:var(--rich-text-prosemirror-height)!important}.editor-toolbar[data-v-4f6704e0]{box-sizing:border-box}.editor-toolbar[data-v-4f6704e0]>*,.editor-toolbar[data-v-4f6704e0]>:last-child{margin-right:0}.editor-toolbar[data-v-4f6704e0]{letter-spacing:0;word-spacing:0}.editor-content[data-v-4f6704e0]{min-height:var(--rich-text-editor-min-height);height:var(--rich-text-editor-height);max-height:var(--rich-text-editor-height);color:#374151;box-sizing:border-box;caret-color:#8b5cf6;background:#fff;border:none;border-radius:0 0 6px 6px;outline:none;font-size:16px;line-height:1.6;transition:border-color .2s;overflow-y:auto}.editor-content[data-v-4f6704e0]:focus{border-color:#8b5cf6}.custom-rich-text-editor--auto-grow .editor-content[data-v-4f6704e0]{height:auto;min-height:8rem;max-height:min(24rem,50vh)}.custom-rich-text-editor--auto-grow[data-v-4f6704e0] .ProseMirror{height:auto!important;min-height:8rem!important}.editor-content[data-v-4f6704e0]:empty:before{content:attr(data-placeholder);color:#bdbdbd;font-style:italic}[data-v-4f6704e0]::deep(.editor-content h1){color:#1f2937!important;box-sizing:border-box!important;margin:1.5rem 0 1rem!important;font-family:inherit!important;font-size:2rem!important;font-weight:700!important;line-height:1.2!important;display:block!important}[data-v-4f6704e0]::deep(.custom-rich-text-editor .editor-content h1){color:#1f2937!important;box-sizing:border-box!important;margin:1.5rem 0 1rem!important;font-family:inherit!important;font-size:2rem!important;font-weight:700!important;line-height:1.2!important;display:block!important}[data-v-4f6704e0]::deep(.editor-content h2){color:#1f2937!important;box-sizing:border-box!important;margin:1.25rem 0 .875rem!important;font-family:inherit!important;font-size:1.75rem!important;font-weight:600!important;line-height:1.3!important;display:block!important}[data-v-4f6704e0]::deep(.custom-rich-text-editor .editor-content h2){color:#1f2937!important;box-sizing:border-box!important;margin:1.25rem 0 .875rem!important;font-family:inherit!important;font-size:1.75rem!important;font-weight:600!important;line-height:1.3!important;display:block!important}[data-v-4f6704e0]::deep(.editor-content h3){color:#1f2937!important;box-sizing:border-box!important;margin:1rem 0 .75rem!important;font-family:inherit!important;font-size:1.5rem!important;font-weight:600!important;line-height:1.4!important;display:block!important}[data-v-4f6704e0]::deep(.custom-rich-text-editor .editor-content h3){color:#1f2937!important;box-sizing:border-box!important;margin:1rem 0 .75rem!important;font-family:inherit!important;font-size:1.5rem!important;font-weight:600!important;line-height:1.4!important;display:block!important}.editor-content p[data-v-4f6704e0],.editor-content div[data-v-4f6704e0]{color:#374151;margin:.875rem 0}.editor-content ol[data-v-4f6704e0],.editor-content ul[data-v-4f6704e0]{margin:1rem 0;padding-left:1.5rem}.editor-content li[data-v-4f6704e0]{color:#374151;margin:.375rem 0}.editor-content a[data-v-4f6704e0]{color:#8b5cf6;cursor:pointer;text-decoration:underline;transition:all .2s}.editor-content a[data-v-4f6704e0]:hover{color:#7c3aed;background-color:#8b5cf61a;border-radius:2px}.editor-content .rich-text-link[data-v-4f6704e0]{color:#8b5cf6;cursor:pointer;text-decoration:underline;transition:all .2s}.editor-content .rich-text-link[data-v-4f6704e0]:hover{color:#7c3aed;background-color:#8b5cf61a;border-radius:2px}[data-v-4f6704e0] .ProseMirror .rich-text-tooltip-trigger,[data-v-4f6704e0] .ProseMirror [data-lingolesson-tooltip-id],[data-v-4f6704e0] .editor-content .rich-text-tooltip-trigger,[data-v-4f6704e0] .editor-content [data-lingolesson-tooltip-id]{cursor:help;border-bottom:2px dotted #0284c7;text-decoration:none}.tooltip-modal[data-v-4f6704e0]{max-width:420px}.tooltip-textarea[data-v-4f6704e0]{resize:vertical;min-height:6rem}.editor-content strong[data-v-4f6704e0]{font-weight:700}.editor-content em[data-v-4f6704e0]{font-style:italic}.editor-content u[data-v-4f6704e0]{text-decoration:underline}.editor-content s[data-v-4f6704e0]{text-decoration:line-through}.editor-content sub[data-v-4f6704e0]{vertical-align:sub;font-size:smaller}.editor-content sup[data-v-4f6704e0]{vertical-align:super;font-size:smaller}.editor-content blockquote[data-v-4f6704e0]{color:#6b7280;background:#f8fafc;border-left:4px solid #3b82f6;border-radius:0 6px 6px 0;margin:1rem 0;padding-left:1rem;font-style:italic}.editor-content pre[data-v-4f6704e0]{color:#f9fafb;background:#1f2937;border-radius:6px;margin:1rem 0;padding:1rem;font-family:Courier New,monospace;font-size:14px;overflow-x:auto}.editor-content code[data-v-4f6704e0]{color:#1f2937;background:#e5e7eb;border-radius:3px;padding:.125rem .25rem;font-family:Courier New,monospace;font-size:.875em}@media (width<=768px){.editor-content[data-v-4f6704e0]{padding:1rem;font-size:14px}.editor-toolbar[data-v-4f6704e0]{gap:.24rem;padding:.35rem}.editor-toolbar button[data-v-4f6704e0],.editor-toolbar select[data-v-4f6704e0],.editor-toolbar[data-v-4f6704e0]{padding:.1875rem .3125rem;font-size:1rem}.font-dropdown[data-v-4f6704e0]{flex-basis:4.5rem;width:4.5rem;min-width:4.5rem}.toolbar-select[data-v-4f6704e0]{min-width:4.75rem}.toolbar-separator[data-v-4f6704e0]{display:none}}.custom-rich-text-editor[data-v-4f6704e0]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.link-modal-backdrop[data-v-4f6704e0]{z-index:1000;background:#00000014;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.link-modal[data-v-4f6704e0]{background:#fff;border:1px solid #c4b5fd;border-radius:8px;flex-direction:column;gap:.5rem;min-width:320px;max-width:90vw;padding:1.5rem 1.25rem 1.25rem;display:flex;box-shadow:0 4px 24px #00000014}.link-modal label[data-v-4f6704e0]{color:#6d28d9;margin-bottom:.25rem;font-size:.95rem;font-weight:500}.link-input[data-v-4f6704e0]{border:1px solid #c4b5fd;border-radius:4px;width:100%;margin-bottom:.5rem;padding:.5rem .75rem;font-size:1rem}.link-modal-actions[data-v-4f6704e0]{justify-content:space-between;align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.action-buttons[data-v-4f6704e0]{gap:.5rem;display:flex}.link-insert[data-v-4f6704e0]{color:#fff;cursor:pointer;background:#8b5cf6;border:none;border-radius:4px;padding:.5rem 1.25rem;font-size:1rem}.link-cancel[data-v-4f6704e0]{color:#6d28d9;cursor:pointer;background:0 0;border:1px solid #c4b5fd;border-radius:4px;padding:.5rem 1.25rem;font-size:1rem}.link-remove[data-v-4f6704e0]{color:#fff;cursor:pointer;background:#e60000;border:none;border-radius:4px;padding:.5rem 1.25rem;font-size:1rem}.char-counter[data-v-4f6704e0]{text-align:right;color:#6d28d9;margin:.25rem 1.25rem .5rem 0;font-size:.95rem}.char-counter.char-limit[data-v-4f6704e0]{color:#e60000;font-weight:700}.custom-rich-text-editor .editor-content h1{color:#1f2937!important;box-sizing:border-box!important;margin:1.5rem 0 1rem!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;font-size:2rem!important;font-weight:700!important;line-height:1.2!important;display:block!important}.custom-rich-text-editor .editor-content h2{color:#1f2937!important;box-sizing:border-box!important;margin:1.25rem 0 .875rem!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;font-size:1.75rem!important;font-weight:600!important;line-height:1.3!important;display:block!important}.custom-rich-text-editor .editor-content h3{color:#1f2937!important;box-sizing:border-box!important;margin:1rem 0 .75rem!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;font-size:1.5rem!important;font-weight:600!important;line-height:1.4!important;display:block!important}:deep(.ProseMirror){outline:none;font-family:system-ui,-apple-system,sans-serif;line-height:1.6;height:var(--rich-text-prosemirror-height)!important}:deep(.ProseMirror h1){margin:1rem 0;font-size:2rem;font-weight:700}:deep(.ProseMirror h2){margin:1rem 0;font-size:1.5rem;font-weight:700}:deep(.ProseMirror ul, .ProseMirror ol){margin:1rem 0;padding-left:1.5rem}:deep(.ProseMirror blockquote){border-left:4px solid #e2e8f0;margin:1rem 0;padding-left:1rem;font-style:italic}:deep(.ProseMirror p){margin:.5rem 0}:deep(.ProseMirror strong){font-weight:700}:deep(.ProseMirror em){font-style:italic}:deep(.ProseMirror u){text-decoration:underline}:deep(.ProseMirror a){color:#8b5cf6;cursor:pointer;text-decoration:underline;transition:all .2s}:deep(.ProseMirror a:hover){color:#7c3aed;background-color:#8b5cf61a;border-radius:2px}:deep(.ProseMirror [style*="background-color"]){background-color:var(--background-color)!important}:deep(.ProseMirror span[style*="background-color"]){background-color:inherit!important;background-color:var(--background-color)!important}:deep(.ProseMirror mark[style*="background-color"]){background-color:var(--background-color)!important}:deep(.ProseMirror span[style*="background-color"]){background-color:inherit!important}
