.enhanced-editor.svelte-1betxjt{border:1px solid #dee2e6;border-radius:8px;background:#fff;overflow:hidden;position:relative}.editor-toolbar.svelte-1betxjt{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border-bottom:1px solid #dee2e6;background:#f8f9fa}.toolbar-group.svelte-1betxjt{display:flex;gap:4px;align-items:center;padding-right:8px;border-right:1px solid #dee2e6}.toolbar-group.svelte-1betxjt:last-child{border-right:none}.toolbar-btn.svelte-1betxjt{padding:6px 10px;border:1px solid transparent;background:transparent;border-radius:3px;cursor:pointer;font-size:14px;min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s}.toolbar-btn.svelte-1betxjt:hover:not(:disabled){background:#e9ecef;border-color:#dee2e6}.toolbar-btn.svelte-1betxjt:disabled{opacity:.5;cursor:not-allowed}.toolbar-btn.active.svelte-1betxjt{background:#007bff;color:#fff;border-color:#007bff}.toolbar-select.svelte-1betxjt{padding:4px 8px;border:1px solid #dee2e6;background:#fff;border-radius:3px;font-size:14px;height:32px}.color-picker.svelte-1betxjt{position:relative;display:flex;align-items:center;cursor:pointer}.color-icon.svelte-1betxjt{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid transparent;border-radius:3px;font-weight:700;transition:all .2s}.color-icon.svelte-1betxjt:hover{background:#e9ecef;border-color:#dee2e6}.color-input.svelte-1betxjt{position:absolute;opacity:0;width:32px;height:32px;cursor:pointer}.editor-container.svelte-1betxjt{position:relative;overflow:hidden}.editor-content.svelte-1betxjt{position:relative;overflow-y:auto;transition:all .3s;width:100%;height:100%;cursor:text}.editor-content.drop-active.svelte-1betxjt{background:#f0f8ff;border:2px dashed #007bff}.drop-overlay.svelte-1betxjt{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#007bff1a;pointer-events:none;z-index:10}.drop-message.svelte-1betxjt{padding:20px 40px;background:#fff;border:2px dashed #007bff;border-radius:8px;font-size:18px;color:#007bff;box-shadow:0 4px 6px #0000001a}.upload-overlay.svelte-1betxjt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffffe6;z-index:20}.upload-spinner.svelte-1betxjt{font-size:48px;animation:svelte-1betxjt-spin 1s linear infinite}.upload-text.svelte-1betxjt{margin-top:16px;font-size:16px;color:#495057}@keyframes svelte-1betxjt-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.html-editor-wrapper.svelte-1betxjt{width:100%;height:100%}.html-editor.svelte-1betxjt{width:100%;height:100%;padding:16px;border:none;outline:none;font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;background:#f8f9fa;color:#212529;resize:none;overflow-y:auto}.dark .html-editor.svelte-1betxjt{background:#1e1e1e;color:#d4d4d4}.editor-content .ProseMirror{padding:16px;min-height:200px;outline:none}.editor-content .ProseMirror p{margin:0 0 1em}.editor-content .ProseMirror p:last-child{margin-bottom:0}.editor-content .ProseMirror h1{font-size:2em;font-weight:700;margin:.67em 0}.editor-content .ProseMirror h2{font-size:1.5em;font-weight:700;margin:.75em 0}.editor-content .ProseMirror h3{font-size:1.17em;font-weight:700;margin:.83em 0}.editor-content .ProseMirror ul,.editor-content .ProseMirror ol{padding-left:2em;margin:1em 0}.editor-content .ProseMirror li{margin:.25em 0}.editor-content .ProseMirror a{color:#007bff;text-decoration:underline;cursor:pointer}.editor-content .ProseMirror img{max-width:100%;height:auto;display:block;margin:1em auto;border-radius:8px;box-shadow:0 2px 8px #0000001a}.editor-content .ProseMirror img.ProseMirror-selectednode{outline:3px solid #007bff}.editor-content .ProseMirror code{background:#f4f4f4;padding:.2em .4em;border-radius:3px;font-family:Consolas,Monaco,monospace}.editor-content .ProseMirror pre{background:#f4f4f4;padding:1em;border-radius:8px;overflow-x:auto}.editor-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.dark .enhanced-editor.svelte-1betxjt{background:#212529;border-color:#495057}.dark .editor-toolbar.svelte-1betxjt{background:#343a40;border-color:#495057}.dark .toolbar-btn.svelte-1betxjt{color:#f8f9fa}.dark .toolbar-btn.svelte-1betxjt:hover:not(:disabled){background:#495057;border-color:#6c757d}.dark .toolbar-select.svelte-1betxjt{background:#495057;border-color:#6c757d;color:#f8f9fa}.dark .editor-content.svelte-1betxjt{color:#f8f9fa}.dark .editor-content .ProseMirror code,.dark .editor-content .ProseMirror pre{background:#343a40;color:#f8f9fa}.editor-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:1em 0;overflow:hidden}.editor-content .ProseMirror td,.editor-content .ProseMirror th{min-width:1em;border:1px solid #ced4da;padding:8px 12px;vertical-align:top;box-sizing:border-box;position:relative}.editor-content .ProseMirror th{font-weight:700;text-align:left;background-color:#f8f9fa}.editor-content .ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:#007bff33;pointer-events:none}.editor-content .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background-color:#adb5bd;pointer-events:none}.editor-content .ProseMirror.resize-cursor{cursor:col-resize}.dark .editor-content .ProseMirror th{background-color:#343a40;border-color:#495057}.dark .editor-content .ProseMirror td,.dark .editor-content .ProseMirror th{border-color:#495057}.toolbar-separator.svelte-1betxjt{width:1px;height:24px;background:#dee2e6;margin:0 4px}.toolbar-btn.danger.svelte-1betxjt{color:#dc3545}.toolbar-btn.danger.svelte-1betxjt:hover{background:#dc3545;color:#fff}.table-dialog-overlay.svelte-1betxjt{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.table-dialog.svelte-1betxjt{background:#fff;border-radius:8px;padding:20px;width:300px;box-shadow:0 4px 12px #00000026}.table-dialog.svelte-1betxjt h3:where(.svelte-1betxjt){margin:0 0 16px;font-size:1.25rem}.table-config.svelte-1betxjt{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.config-row.svelte-1betxjt{display:flex;align-items:center;gap:10px}.config-row.svelte-1betxjt label:where(.svelte-1betxjt){flex:1;font-size:14px}.config-row.svelte-1betxjt input[type=number]:where(.svelte-1betxjt){width:60px;padding:4px 8px;border:1px solid #dee2e6;border-radius:4px}.config-row.svelte-1betxjt input[type=checkbox]:where(.svelte-1betxjt){margin-right:8px}.dialog-buttons.svelte-1betxjt{display:flex;justify-content:flex-end;gap:8px}.dialog-buttons.svelte-1betxjt button:where(.svelte-1betxjt){padding:8px 16px;border:1px solid #dee2e6;border-radius:4px;background:#fff;cursor:pointer;font-size:14px}.dialog-buttons.svelte-1betxjt button:where(.svelte-1betxjt):hover{background:#f8f9fa}.dialog-buttons.svelte-1betxjt button.primary:where(.svelte-1betxjt){background:#007bff;color:#fff;border-color:#007bff}.dialog-buttons.svelte-1betxjt button.primary:where(.svelte-1betxjt):hover{background:#0056b3}.dark .table-dialog.svelte-1betxjt{background:#2d3748;color:#f8f9fa}.dark .config-row.svelte-1betxjt input[type=number]:where(.svelte-1betxjt){background:#1a202c;border-color:#4a5568;color:#f8f9fa}.dark .dialog-buttons.svelte-1betxjt button:where(.svelte-1betxjt){background:#1a202c;border-color:#4a5568;color:#f8f9fa}.dark .dialog-buttons.svelte-1betxjt button:where(.svelte-1betxjt):hover{background:#2d3748}
