.rte-shell{--rte-min-height:12rem;--rte-max-height:none}.rte-shell .rte-fallback{min-height:var(--rte-min-height)}.rte-shell .jodit-container:not(.jodit_inline){border:1px solid var(--input);border-radius:calc(var(--radius) + 2px);background:var(--background);box-shadow:var(--shadow-sm);transition:border-color .15s,box-shadow .15s;overflow:hidden}.rte-shell .jodit-workplace,.rte-shell .jodit-wysiwyg{background:0 0}.rte-shell .jodit-toolbar__box,.rte-shell .jodit-status-bar{border-color:var(--border);background:var(--muted)}.rte-shell .jodit-toolbar-button__button,.rte-shell .jodit-toolbar-editor-collection_mode_horizontal .jodit-toolbar-button{border-radius:calc(var(--radius) + 2px)}.rte-shell .jodit-toolbar-button__button[aria-pressed=true],.rte-shell .jodit-toolbar-button__button:hover,.rte-shell .jodit-toolbar-editor-collection_mode_horizontal .jodit-toolbar-button:hover{background:color-mix(in oklch, var(--primary) 12%, var(--background))}.rte-shell .jodit-wysiwyg{min-height:var(--rte-min-height);color:var(--foreground);padding:.75rem;font-size:.875rem;line-height:1.5}.rte-shell .jodit-placeholder{color:var(--muted-foreground);opacity:.6}.rte-shell .jodit-container:focus-within:not(.jodit_inline){border-color:var(--ring);box-shadow:0 0 0 2px color-mix(in oklch, var(--ring) 25%, transparent)}.rte-shell[data-disabled=true] .jodit-wysiwyg{background:var(--muted);opacity:.7}.jodit-wysiwyg table,.rte-content table{border-collapse:collapse;margin:.5rem 0}.jodit-wysiwyg table td,.jodit-wysiwyg table th,.rte-content table td,.rte-content table th{border:1px solid var(--border);padding:.4rem .6rem}.rte-content table th{background:var(--muted);font-weight:600}.lms-formula{cursor:pointer;display:inline-block}.jodit-wysiwyg .lms-formula:not(:has(svg,.katex)){border-radius:calc(var(--radius));background:color-mix(in oklch, var(--primary) 10%, var(--background));padding:.05rem .4rem;font-family:ui-monospace,monospace;font-size:.8em}.lms-formula-popup,.lms-formula-popup-overlay{border-radius:calc(var(--radius) + 4px);background:var(--popover);min-width:20rem;max-width:26rem;color:var(--popover-foreground);box-shadow:var(--shadow-lg,0 8px 24px #0000002e);border:1px solid var(--border);flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.lms-formula-popup-overlay{box-shadow:none;background:0 0;border:none;padding:0}.lms-formula-popup__row{gap:.375rem;display:flex}.lms-formula-mode-btn{border:1px solid var(--border);border-radius:calc(var(--radius));background:var(--background);cursor:pointer;padding:.25rem .6rem;font-size:.8rem}.lms-formula-mode-btn--active{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.lms-formula-popup__input{border:1px solid var(--border);border-radius:calc(var(--radius));background:var(--background);width:100%;color:var(--foreground);resize:vertical;padding:.5rem;font-family:ui-monospace,monospace;font-size:.85rem}.lms-formula-popup__preview{border:1px dashed var(--border);border-radius:calc(var(--radius));min-height:2.5rem;color:var(--muted-foreground);padding:.5rem;overflow-x:auto}.lms-formula-popup__actions{justify-content:flex-end;gap:.5rem;display:flex}.lms-formula-btn{border:1px solid var(--border);border-radius:calc(var(--radius));background:var(--background);cursor:pointer;padding:.35rem .75rem;font-size:.85rem}.lms-formula-btn--primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
