@lyfie/luthor 2.3.6 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +9 -10
  2. package/dist/LegacyRichEditor-Hzt4pYS-.d.ts +24 -0
  3. package/dist/chunk-4DOFRI6R.js +1 -0
  4. package/dist/chunk-7KHDV6HL.js +1 -0
  5. package/dist/chunk-I7ETX4BN.js +1 -0
  6. package/dist/chunk-LG5WRRFQ.js +6 -0
  7. package/dist/chunk-MYQMH4OW.js +1 -0
  8. package/dist/chunk-PAUOCZCW.js +1 -0
  9. package/dist/chunk-QCGA72CH.js +1 -0
  10. package/dist/chunk-YWKRMBRS.js +13 -0
  11. package/dist/{ExtensiveEditor-B25Uedf2.d.ts → index-BjlX1b8G.d.ts} +37 -6
  12. package/dist/{index-CUB1ColU.d.ts → index-CtyjH6lX.d.ts} +3 -3
  13. package/dist/index.css +1 -1
  14. package/dist/index.d.ts +19 -16
  15. package/dist/index.js +1 -1
  16. package/dist/presets/compose/index.d.ts +16 -0
  17. package/dist/presets/compose/index.js +1 -0
  18. package/dist/presets/extensive/index.d.ts +2 -3
  19. package/dist/presets/extensive/index.js +1 -1
  20. package/dist/presets/headless-editor/index.d.ts +13 -6
  21. package/dist/presets/headless-editor/index.js +1 -1
  22. package/dist/presets/html-editor/index.d.ts +18 -0
  23. package/dist/presets/html-editor/index.js +1 -0
  24. package/dist/presets/legacy-rich/index.d.ts +8 -0
  25. package/dist/presets/legacy-rich/index.js +1 -0
  26. package/dist/presets/md-editor/index.d.ts +19 -0
  27. package/dist/presets/md-editor/index.js +1 -0
  28. package/dist/presets/simple-editor/index.d.ts +63 -0
  29. package/dist/presets/simple-editor/index.js +1 -0
  30. package/dist/presets/slash-editor/index.d.ts +16 -0
  31. package/dist/presets/slash-editor/index.js +1 -0
  32. package/package.json +5 -4
  33. package/dist/chunk-DOJY2XR6.js +0 -1
  34. package/dist/chunk-HSXFJCQA.js +0 -1
  35. package/dist/chunk-MDSRHDWB.js +0 -1
  36. package/dist/chunk-QR6IHW2C.js +0 -1
  37. package/dist/chunk-RLHHVHV7.js +0 -1
  38. package/dist/chunk-TID3K24V.js +0 -1
  39. package/dist/chunk-TTLFSMFF.js +0 -1
  40. package/dist/chunk-U3MVQLAN.js +0 -1
  41. package/dist/chunk-WU54BL4Y.js +0 -3
  42. package/dist/chunk-YI6UVUPP.js +0 -1
  43. package/dist/index-BtdZVw3X.d.ts +0 -17
  44. package/dist/presets/chat-window/index.d.ts +0 -22
  45. package/dist/presets/chat-window/index.js +0 -1
  46. package/dist/presets/email-compose/index.d.ts +0 -17
  47. package/dist/presets/email-compose/index.js +0 -1
  48. package/dist/presets/md-text/index.d.ts +0 -15
  49. package/dist/presets/md-text/index.js +0 -1
  50. package/dist/presets/notes/index.d.ts +0 -21
  51. package/dist/presets/notes/index.js +0 -1
  52. package/dist/presets/notion-like/index.d.ts +0 -17
  53. package/dist/presets/notion-like/index.js +0 -1
  54. package/dist/presets/rich-text-box/index.d.ts +0 -17
  55. package/dist/presets/rich-text-box/index.js +0 -1
  56. package/dist/presets/simple-text/index.d.ts +0 -15
  57. package/dist/presets/simple-text/index.js +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
- import { LuthorEditorThemeOverrides, CommandPaletteItem, SlashCommandItem, FontFamilyOption, FontSizeOption, LineHeightOption, CodeHighlightProvider, CodeLanguageOptionsConfig, LuthorTheme } from '@lyfie/luthor-headless';
2
+ import { LuthorEditorThemeOverrides, CommandPaletteItem, SlashCommandItem, FontFamilyOption, FontSizeOption, LineHeightOption, CodeHighlightProvider, CodeLanguageOptionsConfig, LuthorTheme, Extension as Extension$1, EditorConfig } from '@lyfie/luthor-headless';
3
3
 
4
4
  type CoreTheme = "light" | "dark";
5
- type CoreEditorMode = "visual" | "json";
5
+ type CoreEditorMode = "visual" | "json" | "markdown" | "html";
6
6
  declare const BLOCK_HEADING_LEVELS: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
7
7
  type BlockHeadingLevel = (typeof BLOCK_HEADING_LEVELS)[number];
8
8
  type BlockFormat = "p" | BlockHeadingLevel;
@@ -98,10 +98,15 @@ interface CoreEditorCommands {
98
98
  toggleCheckList: () => void;
99
99
  indentList: () => void;
100
100
  outdentList: () => void;
101
+ setOrderedListPattern?: (pattern: "decimal-alpha-roman" | "decimal-hierarchical" | "upper-roman-upper-alpha" | "upper-alpha-lower-alpha" | "decimal-leading-zero-alpha") => void;
102
+ setOrderedListSuffix?: (suffix: "dot" | "paren") => void;
103
+ setUnorderedListPattern?: (pattern: "disc-circle-square" | "arrow-diamond-disc" | "square-square-square" | "arrow-circle-square") => void;
104
+ setCheckListVariant?: (variant: "strikethrough" | "plain") => void;
101
105
  insertHorizontalRule: () => void;
102
106
  insertTable: (config: InsertTableConfig) => void;
103
107
  insertImage: (config: InsertImageConfig) => void;
104
108
  insertEmoji?: (emoji: string) => void;
109
+ insertCustomNode?: (payload: Record<string, unknown>) => void;
105
110
  executeEmojiSuggestion?: (emoji: string) => boolean;
106
111
  closeEmojiSuggestions?: () => void;
107
112
  getEmojiSuggestions?: (query?: string) => {
@@ -308,7 +313,7 @@ interface DefaultSettings {
308
313
  type EditorThemeOverrides = LuthorEditorThemeOverrides;
309
314
  type ToolbarPosition = "top" | "bottom";
310
315
  type ToolbarAlignment = "left" | "center" | "right";
311
- type ToolbarItemType = "fontFamily" | "fontSize" | "lineHeight" | "textColor" | "textHighlight" | "bold" | "italic" | "underline" | "strikethrough" | "subscript" | "superscript" | "code" | "link" | "blockFormat" | "quote" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "unorderedList" | "orderedList" | "checkList" | "indentList" | "outdentList" | "horizontalRule" | "table" | "image" | "emoji" | "embed" | "undo" | "redo" | "commandPalette" | "themeToggle";
316
+ type ToolbarItemType = "fontFamily" | "fontSize" | "lineHeight" | "textColor" | "textHighlight" | "bold" | "italic" | "underline" | "strikethrough" | "subscript" | "superscript" | "code" | "link" | "blockFormat" | "quote" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "unorderedList" | "orderedList" | "checkList" | "indentList" | "outdentList" | "horizontalRule" | "table" | "image" | "emoji" | "embed" | "customComponent" | "undo" | "redo" | "commandPalette" | "themeToggle";
312
317
  type ToolbarVisibility = Partial<Record<ToolbarItemType, boolean>>;
313
318
  interface SlashCommandVisibilityFilters {
314
319
  allowlist?: readonly string[];
@@ -386,16 +391,20 @@ type ExtensiveExtensionsConfig = {
386
391
  maxAutoDetectCodeLength?: number;
387
392
  isCopyAllowed?: boolean;
388
393
  languageOptions?: readonly string[] | CodeLanguageOptionsConfig;
394
+ /** Maximum list sub-indent levels (excluding the top-level list). Default: 8 */
395
+ maxListIndentation?: number;
389
396
  };
390
- declare function buildExtensiveExtensions({ fontFamilyOptions, fontSizeOptions, lineHeightOptions, minimumDefaultLineHeight, featureFlags, isDraggableBoxEnabled, scaleByRatio, syntaxHighlighting, codeHighlightProvider, loadCodeHighlightProvider, maxAutoDetectCodeLength, isCopyAllowed, languageOptions, }?: ExtensiveExtensionsConfig): Extension[];
397
+ declare function buildExtensiveExtensions({ fontFamilyOptions, fontSizeOptions, lineHeightOptions, minimumDefaultLineHeight, featureFlags, isDraggableBoxEnabled, scaleByRatio, syntaxHighlighting, codeHighlightProvider, loadCodeHighlightProvider, maxAutoDetectCodeLength, isCopyAllowed, languageOptions, maxListIndentation, }?: ExtensiveExtensionsConfig): Extension[];
391
398
  type ExtensiveExtensions = ReturnType<typeof buildExtensiveExtensions>;
392
399
  declare function createExtensiveExtensions(config?: ExtensiveExtensionsConfig): ExtensiveExtensions;
393
400
  declare const extensiveExtensions: Extension[];
394
401
 
395
- type ExtensiveEditorMode = "visual" | "json";
402
+ type ExtensiveEditorMode = "visual" | "json" | "markdown" | "html";
396
403
  type ExtensiveEditorPlaceholder = string | {
397
404
  visual?: string;
398
405
  json?: string;
406
+ markdown?: string;
407
+ html?: string;
399
408
  };
400
409
  interface ExtensiveEditorRef {
401
410
  injectJSON: (content: string) => void;
@@ -410,7 +419,12 @@ interface ExtensiveEditorProps {
410
419
  defaultContent?: string;
411
420
  showDefaultContent?: boolean;
412
421
  placeholder?: ExtensiveEditorPlaceholder;
422
+ defaultEditorView?: ExtensiveEditorMode;
413
423
  initialMode?: ExtensiveEditorMode;
424
+ /** Preferred prop name for toggling editor view tabs visibility */
425
+ isEditorViewTabsVisible?: boolean;
426
+ /** Backward-compatible alias for toggling editor view tabs visibility */
427
+ isEditorViewsTabVisible?: boolean;
414
428
  availableModes?: readonly ExtensiveEditorMode[];
415
429
  variantClassName?: string;
416
430
  toolbarLayout?: ToolbarLayout;
@@ -424,6 +438,7 @@ interface ExtensiveEditorProps {
424
438
  defaultSettings?: DefaultSettings;
425
439
  editorThemeOverrides?: EditorThemeOverrides;
426
440
  isToolbarEnabled?: boolean;
441
+ isToolbarPinned?: boolean;
427
442
  fontFamilyOptions?: readonly FontFamilyOption[];
428
443
  fontSizeOptions?: readonly FontSizeOption[];
429
444
  lineHeightOptions?: readonly LineHeightOption[];
@@ -443,7 +458,23 @@ interface ExtensiveEditorProps {
443
458
  maxAutoDetectCodeLength?: number;
444
459
  isCopyAllowed?: boolean;
445
460
  languageOptions?: readonly string[] | CodeLanguageOptionsConfig;
461
+ /** Maximum list sub-indent levels (excluding top-level list). Default: 8 */
462
+ maxListIndentation?: number;
446
463
  }
447
464
  declare const ExtensiveEditor: react.ForwardRefExoticComponent<ExtensiveEditorProps & react.RefAttributes<ExtensiveEditorRef>>;
448
465
 
449
- export { type TextAlignment as A, type BlockHeadingLevel as B, type CoreEditorCommands as C, type DefaultSettings as D, type EditorThemeOverrides as E, type FeatureFlag as F, type ToolbarAlignment as G, type ToolbarPosition as H, type ImageAlignment as I, type ToolbarSection as J, type KeyboardShortcut as K, commandsToCommandPaletteItems as L, commandsToSlashCommandItems as M, createExtensiveExtensions as N, extensiveExtensions as O, generateCommands as P, type QuoteStyleVars as Q, registerKeyboardShortcuts as R, type ShortcutBindingOverride as S, type ToolbarStyleVars as T, DEFAULT_FEATURE_FLAGS as U, isFeatureEnabled as V, resolveFeatureFlags as W, type CoreEditorActiveStates as a, type CoreTheme as b, type CoreEditorMode as c, type CoreToolbarClassNames as d, type ToolbarLayout as e, type ToolbarVisibility as f, type ToolbarItemType as g, BLOCK_HEADING_LEVELS as h, type BlockFormat as i, type CommandConfig as j, type CommandGenerationOptions as k, DEFAULT_TOOLBAR_LAYOUT as l, ExtensiveEditor as m, type ExtensiveEditorMode as n, type ExtensiveEditorProps as o, type ExtensiveEditorRef as p, type ExtensiveExtensionsConfig as q, type FeatureFlagOverrides as r, type FeatureFlags as s, type InsertImageConfig as t, type InsertTableConfig as u, type ShortcutConfig as v, type SlashCommandVisibility as w, type SlashCommandVisibilityFilters as x, type SlashCommandVisibilitySelection as y, TRADITIONAL_TOOLBAR_LAYOUT as z };
466
+ interface EditorPreset {
467
+ id: string;
468
+ label: string;
469
+ description?: string;
470
+ extensions?: Extension$1[];
471
+ config?: EditorConfig;
472
+ theme?: LuthorTheme;
473
+ toolbar?: string[];
474
+ components?: Record<string, unknown>;
475
+ css?: string;
476
+ }
477
+
478
+ declare const presetRegistry: Record<string, EditorPreset>;
479
+
480
+ export { TRADITIONAL_TOOLBAR_LAYOUT as A, type BlockHeadingLevel as B, type CoreEditorCommands as C, type DefaultSettings as D, type ExtensiveEditorProps as E, type FeatureFlagOverrides as F, type TextAlignment as G, type ToolbarAlignment as H, type ImageAlignment as I, type ToolbarPosition as J, type KeyboardShortcut as K, type ToolbarSection as L, commandsToCommandPaletteItems as M, commandsToSlashCommandItems as N, createExtensiveExtensions as O, extensiveExtensions as P, type QuoteStyleVars as Q, generateCommands as R, type ShortcutBindingOverride as S, type ToolbarLayout as T, presetRegistry as U, registerKeyboardShortcuts as V, DEFAULT_FEATURE_FLAGS as W, isFeatureEnabled as X, resolveFeatureFlags as Y, type ExtensiveEditorRef as a, type CoreEditorActiveStates as b, type CoreTheme as c, type CoreEditorMode as d, type CoreToolbarClassNames as e, type ToolbarStyleVars as f, type ToolbarVisibility as g, type ToolbarItemType as h, BLOCK_HEADING_LEVELS as i, type BlockFormat as j, type CommandConfig as k, type CommandGenerationOptions as l, DEFAULT_TOOLBAR_LAYOUT as m, type EditorPreset as n, type EditorThemeOverrides as o, ExtensiveEditor as p, type ExtensiveEditorMode as q, type ExtensiveExtensionsConfig as r, type FeatureFlag as s, type FeatureFlags as t, type InsertImageConfig as u, type InsertTableConfig as v, type ShortcutConfig as w, type SlashCommandVisibility as x, type SlashCommandVisibilityFilters as y, type SlashCommandVisibilitySelection as z };
@@ -1,14 +1,14 @@
1
- import { E as EditorPreset } from './index-BtdZVw3X.js';
1
+ import { n as EditorPreset, h as ToolbarItemType } from './index-BjlX1b8G.js';
2
2
  import { FontFamilyOption, FontSizeOption, LineHeightOption, CodeLanguageOptionsConfig } from '@lyfie/luthor-headless';
3
- import { g as ToolbarItemType } from './ExtensiveEditor-B25Uedf2.js';
4
3
 
5
- declare const extensiveToolbar: readonly ["undo", "redo", "heading", "fontFamily", "fontSize", "lineHeight", "textColor", "textHighlight", "bold", "italic", "underline", "strikethrough", "subscript", "superscript", "link", "image", "table", "horizontalRule", "iframeEmbed", "youtubeEmbed", "blockquote", "code", "codeBlock", "bulletedList", "numberedList", "checkList", "commandPalette", "floatingToolbar", "contextMenu", "draggableBlock", "customNode", "sourceMode", "themeToggle"];
4
+ declare const extensiveToolbar: readonly ["undo", "redo", "fontFamily", "heading", "fontSize", "lineHeight", "textColor", "textHighlight", "bold", "italic", "underline", "strikethrough", "subscript", "superscript", "link", "image", "table", "horizontalRule", "iframeEmbed", "youtubeEmbed", "blockquote", "code", "codeBlock", "bulletedList", "numberedList", "checkList", "commandPalette", "floatingToolbar", "contextMenu", "draggableBlock", "customNode", "sourceMode", "themeToggle"];
6
5
  declare const extensivePreset: EditorPreset;
7
6
  type ExtensivePresetConfig = {
8
7
  fontFamilyOptions?: readonly FontFamilyOption[];
9
8
  fontSizeOptions?: readonly FontSizeOption[];
10
9
  lineHeightOptions?: readonly LineHeightOption[];
11
10
  minimumDefaultLineHeight?: string | number;
11
+ maxListIndentation?: number;
12
12
  isCopyAllowed?: boolean;
13
13
  languageOptions?: readonly string[] | CodeLanguageOptionsConfig;
14
14
  };
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=light]{--luthor-bg: #ffffff;--luthor-fg: #0f172a;--luthor-border: #e2e8f0;--luthor-border-hover: #cbd5e1;--luthor-border-active: #94a3b8;--luthor-accent: #0f172a;--luthor-accent-hover: #1e293b;--luthor-shadow: rgba(0, 0, 0, .08);--luthor-muted: #f8fafc;--luthor-muted-fg: #64748b;--luthor-toolbar-bg: var(--luthor-muted);--luthor-toolbar-section-border: var(--luthor-border);--luthor-toolbar-button-fg: var(--luthor-fg);--luthor-toolbar-button-hover-bg: var(--luthor-muted);--luthor-toolbar-button-hover-border: var(--luthor-border-hover);--luthor-toolbar-button-hover-shadow: 0 4px 12px rgba(0, 0, 0, .15);--luthor-toolbar-button-press-shadow: 0 2px 8px rgba(0, 0, 0, .1);--luthor-toolbar-button-active-bg: var(--luthor-accent);--luthor-toolbar-button-active-border: var(--luthor-accent);--luthor-toolbar-button-active-fg: var(--luthor-bg);--luthor-toolbar-button-active-shadow: 0 2px 8px rgba(0, 0, 0, .2);--luthor-toolbar-button-overlay: linear-gradient(135deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .05) 100%);--luthor-toolbar-button-active-overlay: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .1) 100%);--luthor-toolbar-color-indicator-border: var(--luthor-border);--luthor-toolbar-highlight-bg: var(--luthor-muted);--luthor-quote-bg: var(--luthor-muted);--luthor-quote-fg: var(--luthor-fg);--luthor-quote-border: var(--luthor-accent);--luthor-text-bold-color: var(--luthor-fg);--luthor-link-color: var(--luthor-accent);--luthor-list-marker-color: var(--luthor-fg);--luthor-list-checkbox-color: var(--luthor-accent);--luthor-table-border-color: var(--luthor-border);--luthor-table-header-bg: var(--luthor-muted);--luthor-hr-color: var(--luthor-border);--luthor-placeholder-color: var(--luthor-muted-fg);--luthor-codeblock-bg: var(--luthor-muted);--luthor-code-unhighlighted-fg: #24292e;--luthor-floating-bg: var(--luthor-bg);--luthor-floating-fg: var(--luthor-fg);--luthor-floating-border: var(--luthor-border);--luthor-floating-shadow: var(--luthor-shadow);--luthor-floating-muted: var(--luthor-muted);--luthor-floating-border-hover: var(--luthor-border-hover);--luthor-floating-border-active: var(--luthor-border-active);--luthor-floating-accent: var(--luthor-accent);--luthor-floating-accent-fg: var(--luthor-bg);--luthor-syntax-comment: #64748b;--luthor-syntax-keyword: #64748b;--luthor-syntax-string: #64748b;--luthor-syntax-number: #64748b;--luthor-syntax-function: #64748b;--luthor-syntax-variable: #64748b}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark]{--luthor-bg: #0a0a0a;--luthor-fg: #ededed;--luthor-border: #262626;--luthor-border-hover: #404040;--luthor-border-active: #525252;--luthor-accent: #ededed;--luthor-accent-hover: #d4d4d8;--luthor-shadow: rgba(0, 0, 0, .5);--luthor-muted: #171717;--luthor-muted-fg: #a3a3a3;--luthor-toolbar-bg: var(--luthor-muted);--luthor-toolbar-section-border: var(--luthor-border);--luthor-toolbar-button-fg: var(--luthor-fg);--luthor-toolbar-button-hover-bg: var(--luthor-muted);--luthor-toolbar-button-hover-border: var(--luthor-border-hover);--luthor-toolbar-button-hover-shadow: 0 4px 12px rgba(0, 0, 0, .35);--luthor-toolbar-button-press-shadow: 0 2px 8px rgba(0, 0, 0, .3);--luthor-toolbar-button-active-bg: var(--luthor-accent);--luthor-toolbar-button-active-border: var(--luthor-accent);--luthor-toolbar-button-active-fg: var(--luthor-bg);--luthor-toolbar-button-active-shadow: 0 2px 8px rgba(0, 0, 0, .5);--luthor-toolbar-button-overlay: linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);--luthor-toolbar-button-active-overlay: linear-gradient(135deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 100%);--luthor-toolbar-color-indicator-border: var(--luthor-border);--luthor-toolbar-highlight-bg: var(--luthor-muted);--luthor-quote-bg: color-mix(in srgb, var(--luthor-muted) 92%, #ffffff 8%);--luthor-quote-fg: var(--luthor-fg);--luthor-quote-border: color-mix(in srgb, var(--luthor-accent) 78%, #ffffff 22%);--luthor-text-bold-color: var(--luthor-fg);--luthor-link-color: var(--luthor-accent);--luthor-list-marker-color: var(--luthor-fg);--luthor-list-checkbox-color: var(--luthor-accent);--luthor-table-border-color: var(--luthor-border);--luthor-table-header-bg: var(--luthor-muted);--luthor-hr-color: var(--luthor-border);--luthor-placeholder-color: var(--luthor-muted-fg);--luthor-codeblock-bg: var(--luthor-muted);--luthor-code-unhighlighted-fg: #c9d1d9;--luthor-floating-bg: var(--luthor-bg);--luthor-floating-fg: var(--luthor-fg);--luthor-floating-border: var(--luthor-border);--luthor-floating-shadow: var(--luthor-shadow);--luthor-floating-muted: var(--luthor-muted);--luthor-floating-border-hover: var(--luthor-border-hover);--luthor-floating-border-active: var(--luthor-border-active);--luthor-floating-accent: var(--luthor-accent);--luthor-floating-accent-fg: var(--luthor-bg);--luthor-syntax-comment: #8b949e;--luthor-syntax-keyword: #8b949e;--luthor-syntax-string: #8b949e;--luthor-syntax-number: #8b949e;--luthor-syntax-function: #8b949e;--luthor-syntax-variable: #8b949e}.luthor-preset-extensive.luthor-editor-wrapper{border:1px solid var(--luthor-border);border-radius:8px;background-color:var(--luthor-bg);overflow:hidden;display:flex;flex-direction:column;position:relative;--luthor-theme-transition: .2s ease;width:100%;max-width:100%;min-height:500px;height:auto;isolation:isolate;--luthor-z-dropdown: 20;--luthor-z-popover: 24;--luthor-z-menu: 28;--luthor-z-overlay: 32;--luthor-z-modal: 36;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition),box-shadow var(--luthor-theme-transition)}.luthor-preset-extensive.luthor-editor-wrapper,.luthor-preset-extensive.luthor-editor-wrapper *,.luthor-preset-extensive.luthor-editor-wrapper *:before,.luthor-preset-extensive.luthor-editor-wrapper *:after{box-sizing:border-box}.luthor-editor-header{background-color:var(--luthor-muted);border-bottom:1px solid var(--luthor-border);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-toolbar-slot{background-color:var(--luthor-toolbar-bg, var(--luthor-muted));transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-toolbar-slot--bottom{border-top:1px solid var(--luthor-border)}.luthor-mode-tabs{display:flex;border-bottom:1px solid var(--luthor-border);transition:border-color var(--luthor-theme-transition),background-color var(--luthor-theme-transition)}.luthor-mode-tab{padding:10px 20px;background:none;border:none;cursor:pointer;color:var(--luthor-muted-fg);font-size:14px;font-weight:500;transition:all .2s cubic-bezier(.4,0,.2,1);border-bottom:2px solid transparent;position:relative}.luthor-mode-tab:hover{color:var(--luthor-fg);background-color:var(--luthor-muted)}.luthor-mode-tab.active{color:var(--luthor-accent);border-bottom-color:var(--luthor-accent);background-color:#0f172a0d}.luthor-tab-converting-spinner{display:inline-block;width:12px;height:12px;margin-left:6px;border:2px solid var(--luthor-muted-fg);border-top-color:var(--luthor-accent);border-radius:50%;animation:luthor-spin .6s linear infinite;vertical-align:middle}@keyframes luthor-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.luthor-toolbar{display:flex;align-items:center;gap:4px;padding:8px;flex-wrap:wrap;overflow-x:hidden;overflow-y:visible;row-gap:6px;min-height:48px;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-toolbar--align-left{justify-content:flex-start}.luthor-toolbar--align-center{justify-content:center}.luthor-toolbar--align-right{justify-content:flex-end}.luthor-toolbar-section{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:0 4px;min-width:0}.luthor-toolbar-section:not(:last-child){border-right:1px solid var(--luthor-toolbar-section-border, var(--luthor-border));margin-right:8px;padding-right:8px;transition:border-color var(--luthor-theme-transition)}.luthor-toolbar-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid transparent;border-radius:6px;background-color:transparent;color:var(--luthor-toolbar-button-fg, var(--luthor-fg));cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);font-size:16px;position:relative;overflow:hidden}.luthor-toolbar-button:before{content:"";position:absolute;inset:0;background:var(--luthor-toolbar-button-overlay);opacity:0;transition:opacity .2s ease}.luthor-toolbar-button:hover{background-color:var(--luthor-toolbar-button-hover-bg, var(--luthor-muted));border-color:var(--luthor-toolbar-button-hover-border, var(--luthor-border-hover));transform:translateY(-1px);box-shadow:var(--luthor-toolbar-button-hover-shadow)}.luthor-toolbar-button:hover:before{opacity:1}.luthor-toolbar-button:active{transform:translateY(0) scale(.98);box-shadow:var(--luthor-toolbar-button-press-shadow)}.luthor-toolbar-button.active{background-color:var(--luthor-toolbar-button-active-bg, var(--luthor-accent));border-color:var(--luthor-toolbar-button-active-border, var(--luthor-accent));color:var(--luthor-toolbar-button-active-fg, var(--luthor-bg));box-shadow:var(--luthor-toolbar-button-active-shadow)}.luthor-toolbar-button.active:before{background:var(--luthor-toolbar-button-active-overlay);opacity:1}.luthor-toolbar-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.luthor-toolbar-button:disabled:hover{background-color:transparent;border-color:transparent;transform:none;box-shadow:none}.luthor-toolbar-button:disabled:before{opacity:0}.luthor-color-button{padding-bottom:4px}.luthor-color-button-letter{font-size:14px;line-height:1;font-weight:700;position:relative;z-index:1}.luthor-color-button-indicator{position:absolute;left:7px;right:7px;bottom:5px;height:3px;border-radius:999px;border:1px solid var(--luthor-toolbar-color-indicator-border, var(--luthor-border));box-shadow:inset 0 0 0 1px #fff3;z-index:1}.luthor-color-button.is-highlight .luthor-color-button-letter{padding:0 2px;border-radius:3px;background-color:var(--luthor-toolbar-highlight-bg, var(--luthor-muted))}.luthor-color-button-highlighter{position:relative;z-index:1}.luthor-color-picker{z-index:var(--luthor-z-popover, 440);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 28px #0f172a2e;padding:10px;display:grid;gap:9px;max-width:90vw;width:248px;color:var(--luthor-fg, #0f172a)}.luthor-color-picker-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.luthor-color-picker-title{font-size:12px;font-weight:600;color:var(--luthor-fg)}.luthor-color-picker-native-hidden{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.luthor-color-picker-clear{border:1px solid var(--luthor-border);border-radius:6px;background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:500;padding:4px 8px;cursor:pointer}.luthor-color-picker-clear:hover{border-color:var(--luthor-border-hover)}.luthor-color-picker-section{display:grid;gap:6px}.luthor-color-picker-label{margin:0;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.03em}.luthor-color-swatch-grid,.luthor-color-swatch-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.luthor-color-swatch{width:100%;aspect-ratio:1;border:1px solid var(--luthor-border);border-radius:6px;background-clip:padding-box;cursor:pointer;transition:transform .15s ease,border-color .15s ease;box-shadow:inset 0 0 0 1px #0f172a14}.luthor-color-swatch:hover:enabled{border-color:var(--luthor-border-hover);transform:translateY(-1px)}.luthor-color-swatch:disabled{cursor:not-allowed;background-image:repeating-linear-gradient(45deg,transparent,transparent 4px,var(--luthor-muted) 4px,var(--luthor-muted) 8px);opacity:.7}.luthor-color-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:2px}.luthor-color-picker-custom{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--luthor-border);border-radius:6px;background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:500;padding:4px 8px;cursor:pointer}.luthor-color-picker-custom:hover{border-color:var(--luthor-border-hover)}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker{box-shadow:0 14px 32px #0009}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-swatch{box-shadow:inset 0 0 0 1px #ffffff14}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker-clear,.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker-custom{background:#ffffff0a}.luthor-select{position:relative;display:inline-block}.luthor-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);color:var(--luthor-fg);cursor:pointer;font-size:14px;min-width:120px;max-width:180px;height:36px;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000001a}.luthor-select-trigger span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.luthor-select-trigger:hover{border-color:var(--luthor-border-hover);box-shadow:0 2px 8px #00000026}.luthor-select-trigger.open{border-color:var(--luthor-accent);box-shadow:0 0 0 3px #0f172a1a}.luthor-select-dropdown{position:fixed;z-index:var(--luthor-z-dropdown, 420);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:6px;box-shadow:0 8px 32px #0000001f;max-height:200px;overflow-y:auto}.luthor-select-option{display:block;width:100%;padding:10px 14px;border:none;background:none;color:var(--luthor-fg);cursor:pointer;font-size:14px;text-align:left;transition:all .15s ease}.luthor-select-option:hover{background-color:var(--luthor-muted)}.luthor-select-option.selected{background-color:var(--luthor-accent);color:var(--luthor-bg);font-weight:500}.luthor-dropdown{position:relative;display:inline-flex}.luthor-dropdown-content{position:fixed;z-index:var(--luthor-z-dropdown, 420);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:4px;box-shadow:0 4px 6px -1px var(--luthor-shadow);margin-top:2px;min-width:160px;padding:4px 0}.luthor-dropdown-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:none;color:var(--luthor-fg);cursor:pointer;font-size:14px;text-align:left;transition:background-color .15s}.luthor-dropdown-item:hover{background-color:var(--luthor-muted)}.luthor-file-input{display:none}.luthor-editor{flex:1;display:flex;flex-direction:column;min-height:400px;position:relative;--luthor-drag-gutter-width: 56px;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-visual-shell{display:grid;grid-template-columns:var(--luthor-drag-gutter-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0}.luthor-editor-visual-shell--no-gutter{grid-template-columns:minmax(0,1fr)}.luthor-editor-visual-shell.is-hidden{position:absolute;inset:0;visibility:hidden;pointer-events:none}.luthor-editor-visual-gutter{grid-column:1;grid-row:1;pointer-events:none;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor--draggable-disabled{--luthor-drag-gutter-width: 0px}.luthor-editor--draggable-disabled .luthor-editor-visual-gutter{display:none}.luthor-richtext-container{position:relative;flex:1;--luthor-editor-content-padding-y: 20px;--luthor-editor-content-padding-x: 20px;--luthor-first-block-offset: calc(8px * var(--luthor-line-height-ratio, 1));background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-visual-shell .luthor-richtext-container{grid-column:2;grid-row:1;min-width:0}.luthor-editor-visual-shell--no-gutter .luthor-richtext-container{grid-column:1}.luthor-content-editable{flex:1;padding:var(--luthor-editor-content-padding-y) var(--luthor-editor-content-padding-x);outline:none;color:var(--luthor-fg);line-height:1;font-size:16px;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-content-editable:focus{outline:none;background-color:var(--luthor-bg)}.luthor-content-editable a,.luthor-content-editable a:hover,.luthor-content-editable a:focus-visible{cursor:pointer}.luthor-placeholder{color:var(--luthor-placeholder-color, var(--luthor-muted-fg));pointer-events:none;position:absolute;top:calc(var(--luthor-editor-content-padding-y) + var(--luthor-first-block-offset));left:var(--luthor-editor-content-padding-x);font-size:16px;line-height:var(--luthor-default-line-height, 1.5);z-index:1;transition:color var(--luthor-theme-transition),background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-source-panel{padding:20px;flex:1;overflow-y:auto;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-source-view{width:100%;min-height:280px;padding:12px;border:1px solid var(--luthor-border);font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,Consolas,Courier New,monospace;font-size:14px;line-height:1.6;background-color:var(--luthor-bg);color:var(--luthor-fg);border-radius:0;resize:vertical;overflow-x:auto;overflow-y:auto;white-space:pre;tab-size:2;transition:background-color var(--luthor-theme-transition),color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-source-error{display:flex;gap:12px;padding:12px;margin-bottom:12px;background-color:#dc26261a;border:1px solid rgba(220,38,38,.3);border-radius:6px;color:#dc2626;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-source-error{background-color:#ef444426;border-color:#ef444466;color:#fca5a5}.luthor-source-error-icon{flex-shrink:0;font-size:18px;line-height:1}.luthor-source-error-message{flex:1}.luthor-source-error-message strong{display:block;margin-bottom:4px;font-weight:600}.luthor-source-error-message p{margin:4px 0;font-size:13px;line-height:1.4;white-space:pre-wrap;word-break:break-word}.luthor-source-error-message small{display:block;margin-top:6px;font-size:12px;opacity:.7}.luthor-command-palette-overlay{position:absolute;inset:0;background:#00000080;display:flex;align-items:flex-start;justify-content:center;padding:min(20vh,120px) 16px 16px;z-index:var(--luthor-z-overlay, 480);overscroll-behavior:contain}.luthor-command-palette{background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:12px;box-shadow:0 12px 48px #0000001f;width:min(640px,100%);max-width:100%;max-height:min(560px,calc(100% - min(20vh,120px) - 16px));display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain}.luthor-command-palette-header{display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--luthor-border);gap:12px}.luthor-command-palette-icon{color:var(--luthor-muted-fg);flex-shrink:0}.luthor-command-palette-input{flex:1;background:transparent;border:none;outline:none;font-size:16px;color:var(--luthor-fg);font-family:inherit}.luthor-command-palette-input::placeholder{color:var(--luthor-muted-fg)}.luthor-command-palette-kbd{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:11px;color:var(--luthor-muted-fg);font-family:monospace}.luthor-command-palette-list{flex:1;overflow-y:auto;padding:8px 0;overscroll-behavior:contain}.luthor-command-palette-group{margin-bottom:8px}.luthor-command-palette-group-title{padding:8px 20px 4px;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.5px}.luthor-command-palette-item{display:flex;align-items:center;padding:12px 20px;cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:background-color .1s}.luthor-command-palette-item:hover,.luthor-command-palette-item.selected{background:var(--luthor-muted)}.luthor-command-palette-item-content{flex:1;min-width:0}.luthor-command-palette-item-title{font-size:14px;color:var(--luthor-fg);font-weight:500;margin-bottom:2px}.luthor-command-palette-item-description{font-size:12px;color:var(--luthor-muted-fg);line-height:1.4}.luthor-command-palette-item-shortcut{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:10px;color:var(--luthor-muted-fg);font-family:monospace;margin-left:12px;flex-shrink:0}.luthor-command-palette-footer{padding:12px 20px;border-top:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-command-palette-hint{font-size:11px;color:var(--luthor-muted-fg);display:flex;align-items:center;gap:8px}.luthor-command-palette-hint kbd{background:var(--luthor-bg);border:1px solid var(--luthor-border);border-radius:3px;padding:1px 4px;font-size:10px;font-family:monospace}.luthor-command-palette-empty{padding:40px 20px;text-align:center;color:var(--luthor-muted-fg);font-size:14px}.luthor-slash-menu{position:fixed;z-index:var(--luthor-z-menu, 460);background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 36px #00000024;width:min(420px,calc(100vw - 24px));max-height:min(55vh,420px);overflow:hidden;display:flex;flex-direction:column}.luthor-slash-menu-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-slash-menu-title{font-size:12px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.4px}.luthor-slash-menu-query{font-size:12px;font-family:monospace;color:var(--luthor-muted-fg);background:var(--luthor-bg);border:1px solid var(--luthor-border);padding:1px 6px;border-radius:4px}.luthor-slash-menu-list{overflow-y:auto;padding:8px 0}.luthor-slash-menu-group{margin-bottom:6px}.luthor-slash-menu-group-title{padding:6px 12px 4px;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.5px}.luthor-slash-menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:none;background:none;text-align:left;cursor:pointer;color:var(--luthor-fg);transition:background-color .12s}.luthor-slash-menu-item:hover,.luthor-slash-menu-item.selected{background:var(--luthor-muted)}.luthor-slash-menu-item-content{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.luthor-slash-menu-item-title{font-size:14px;font-weight:500;color:var(--luthor-fg)}.luthor-slash-menu-item-description{font-size:12px;line-height:1.35;color:var(--luthor-muted-fg)}.luthor-slash-menu-item-shortcut{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:10px;font-family:monospace;color:var(--luthor-muted-fg);flex-shrink:0}.luthor-slash-menu-empty{padding:20px 12px;font-size:13px;color:var(--luthor-muted-fg);text-align:center}.luthor-emoji-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:8px;width:220px}.luthor-emoji-picker-item{display:inline-flex;align-items:center;justify-content:center;height:32px;border:1px solid transparent;border-radius:6px;background:transparent;cursor:pointer;font-size:18px;line-height:1}.luthor-emoji-picker-item:hover{background:var(--luthor-muted);border-color:var(--luthor-border)}.luthor-emoji-menu{position:fixed;z-index:var(--luthor-z-menu, 460);background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 36px #00000024;width:min(320px,calc(100vw - 24px));max-height:min(45vh,320px);overflow:hidden;display:flex;flex-direction:column}.luthor-emoji-menu-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-emoji-menu-title{font-size:12px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.4px}.luthor-emoji-menu-query{font-size:12px;font-family:monospace;color:var(--luthor-muted-fg);background:var(--luthor-bg);border:1px solid var(--luthor-border);padding:1px 6px;border-radius:4px}.luthor-emoji-menu-list{overflow-y:auto;padding:6px 0}.luthor-emoji-menu-item{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:none;background:none;text-align:left;cursor:pointer;color:var(--luthor-fg);transition:background-color .12s}.luthor-emoji-menu-item:hover,.luthor-emoji-menu-item.selected{background:var(--luthor-muted)}.luthor-emoji-menu-item-symbol{font-size:20px;line-height:1;width:24px;text-align:center;flex-shrink:0}.luthor-emoji-menu-item-content{min-width:0;display:flex;flex-direction:column;gap:1px;flex:1}.luthor-emoji-menu-item-title{font-size:13px;font-weight:500;color:var(--luthor-fg)}.luthor-emoji-menu-item-shortcode{font-size:12px;line-height:1.25;color:var(--luthor-muted-fg);font-family:monospace}.luthor-emoji-menu-empty{padding:18px 12px;font-size:13px;color:var(--luthor-muted-fg);text-align:center}.luthor-dialog-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:var(--luthor-z-modal, 500);overscroll-behavior:contain}.luthor-dialog{background-color:var(--luthor-bg);border-radius:10px;box-shadow:0 20px 30px var(--luthor-shadow);min-width:360px;max-width:520px;max-height:90vh;overflow:hidden}.luthor-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--luthor-border)}.luthor-dialog-title{margin:0;font-size:16px;font-weight:600;color:var(--luthor-fg)}.luthor-dialog-close{background:none;border:none;color:var(--luthor-muted-fg);cursor:pointer;padding:4px;border-radius:6px}.luthor-dialog-close:hover{background-color:var(--luthor-muted);color:var(--luthor-fg)}.luthor-dialog-content{padding:18px 20px}.luthor-table-dialog{display:flex;flex-direction:column;gap:14px}.luthor-form-group{display:flex;flex-direction:column;gap:6px}.luthor-form-group label{font-size:13px;font-weight:600;color:var(--luthor-fg)}.luthor-input{padding:8px 12px;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);color:var(--luthor-fg);font-size:13px}.luthor-input:focus{outline:none;border-color:var(--luthor-accent);box-shadow:0 0 0 3px #3b82f61f}.luthor-checkbox-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--luthor-fg)}.luthor-checkbox{width:16px;height:16px;accent-color:var(--luthor-accent)}.luthor-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.luthor-button-primary,.luthor-button-secondary{padding:8px 14px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid}.luthor-button-primary{background-color:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-button-primary:hover{background-color:var(--luthor-accent-hover);border-color:var(--luthor-accent-hover)}.luthor-button-secondary{background-color:transparent;border-color:var(--luthor-border);color:var(--luthor-fg)}.luthor-button-secondary:hover{background-color:var(--luthor-muted);border-color:var(--luthor-border-hover)}.luthor-text-bold{font-weight:700;color:var(--luthor-text-bold-color, var(--luthor-fg))}.luthor-text-italic{font-style:italic}.luthor-text-underline{text-decoration:underline}.luthor-text-strikethrough{text-decoration:line-through}.luthor-text-code,.luthor-content-editable code,.luthor-code-block{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;background-color:var(--luthor-codeblock-bg, var(--luthor-muted));border:1px solid var(--luthor-border);color:var(--luthor-syntax-string, var(--luthor-muted-fg));border-radius:4px}.luthor-content-editable .luthor-text-code,.luthor-content-editable code,.luthor-content-editable code.luthor-text-code,.luthor-preset .luthor-content-editable code,.luthor-preset-extensive .luthor-content-editable code{color:var(--luthor-syntax-string, var(--luthor-muted-fg));font-weight:500}.luthor-code-block{display:block;padding:12px;margin:12px 0;line-height:1.6;overflow-x:auto;max-width:min(100%,880px);width:100%;tab-size:2;white-space:pre-wrap;overflow-wrap:normal;word-break:normal}.luthor-code-block--interactive{position:relative;margin-top:40px;border-top-left-radius:0;border-top-right-radius:0;border-top:0}.luthor-codeblock-controls-layer{position:absolute;inset:0;pointer-events:none;z-index:25}.luthor-codeblock-controls{position:absolute;display:flex;align-items:center;justify-content:space-between;z-index:26;pointer-events:auto;margin:0;max-width:none;padding:8px 10px;border:1px solid var(--luthor-border);border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-codeblock-bg, var(--luthor-muted))}.luthor-codeblock-controls-left,.luthor-codeblock-controls-right{display:inline-flex;align-items:center;gap:6px}.luthor-codeblock-language,.luthor-codeblock-copy{font-size:11px;line-height:1.2;height:24px;border-radius:6px;border:1px solid var(--luthor-border);background:var(--luthor-bg);color:var(--luthor-fg);padding:0 8px}.luthor-codeblock-language{min-width:88px;appearance:none}.luthor-codeblock-language option{background:var(--luthor-bg);color:var(--luthor-fg)}.luthor-codeblock-copy{cursor:pointer;font-weight:600;width:26px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;position:relative;background:var(--luthor-bg)}.luthor-codeblock-copy svg{width:14px;height:14px;fill:currentColor}.luthor-codeblock-copy:after{content:attr(data-tooltip);position:absolute;top:-28px;right:0;padding:2px 6px;font-size:10px;line-height:1.2;white-space:nowrap;border-radius:4px;border:1px solid var(--luthor-border);background:var(--luthor-bg);color:var(--luthor-fg);opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease}.luthor-codeblock-copy:hover:after,.luthor-codeblock-copy:focus-visible:after{opacity:1;transform:translateY(0)}.luthor-codeblock-copy:hover,.luthor-codeblock-language:hover,.luthor-codeblock-copy.is-copied{border-color:var(--luthor-border-hover);background:var(--luthor-codeblock-bg, var(--luthor-muted))}.luthor-codeblock-copy.is-copy-error{border-color:var(--luthor-syntax-variable);color:var(--luthor-syntax-variable)}.luthor-code-block[data-theme=plain]{--luthor-syntax-keyword: var(--luthor-muted-fg);--luthor-syntax-string: var(--luthor-muted-fg);--luthor-syntax-number: var(--luthor-muted-fg);--luthor-syntax-function: var(--luthor-muted-fg);--luthor-syntax-variable: var(--luthor-muted-fg)}.luthor-preset-extensive.luthor-editor-wrapper .hljs{color:var(--luthor-code-unhighlighted-fg, var(--luthor-fg))}:where(.luthor-code-comment),:where(.luthor-code-prolog),:where(.luthor-code-doctype),:where(.luthor-code-cdata),:where(.luthor-code-punctuation),:where(.luthor-code-operator),:where(.luthor-code-namespace),:where(.luthor-code-property),:where(.luthor-code-tag),:where(.luthor-code-constant),:where(.luthor-code-symbol),:where(.luthor-code-deleted),:where(.luthor-code-boolean),:where(.luthor-code-number),:where(.luthor-code-attr),:where(.luthor-code-selector),:where(.luthor-code-string),:where(.luthor-code-char),:where(.luthor-code-builtin),:where(.luthor-code-inserted),:where(.luthor-code-function),:where(.luthor-code-class),:where(.luthor-code-class-name),:where(.luthor-code-keyword),:where(.luthor-code-atrule),:where(.luthor-code-regex),:where(.luthor-code-variable),:where(.luthor-code-important){color:var(--luthor-syntax-string, var(--luthor-muted-fg));font-weight:inherit}.luthor-paragraph{margin:var(--luthor-first-block-offset) 0;line-height:var(--luthor-default-line-height, 1.5)}.luthor-heading-h1,.luthor-heading-h2,.luthor-heading-h3,.luthor-heading-h4,.luthor-heading-h5,.luthor-heading-h6{margin:calc(16px * var(--luthor-line-height-ratio, 1)) 0 calc(8px * var(--luthor-line-height-ratio, 1));line-height:var(--luthor-default-line-height, 1.5);font-weight:700}.luthor-heading-h1{font-size:28px}.luthor-heading-h2{font-size:24px}.luthor-heading-h3{font-size:20px}.luthor-heading-h4{font-size:18px}.luthor-heading-h5{font-size:16px}.luthor-heading-h6{font-size:14px}.luthor-list-ul,.luthor-list-ol{margin:10px 0 10px 20px}.luthor-list-li{margin:calc(4px * var(--luthor-line-height-ratio, 1)) 0;line-height:var(--luthor-default-line-height, 1.5)}.luthor-list-ul .luthor-list-li::marker,.luthor-list-ol .luthor-list-li::marker{color:var(--luthor-list-marker-color, var(--luthor-fg))}.luthor-list-item-unchecked,.luthor-list-item-checked{position:relative;list-style:none;margin-left:0;padding-left:28px;min-height:22px;cursor:pointer}.luthor-list-item-unchecked::marker,.luthor-list-item-checked::marker{content:""}.luthor-list-item-unchecked:before,.luthor-list-item-checked:before{content:"";position:absolute;left:0;top:.1em;width:16px;height:16px;border-radius:4px;border:1.5px solid var(--luthor-list-checkbox-color, var(--luthor-accent));background-color:var(--luthor-bg);box-sizing:border-box;transition:all .15s ease}.luthor-list-item-unchecked:hover:before{border-color:var(--luthor-list-checkbox-color, var(--luthor-accent))}.luthor-list-item-checked:before{content:"\2713";display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;line-height:1;color:var(--luthor-bg);border-color:var(--luthor-list-checkbox-color, var(--luthor-accent));background-color:var(--luthor-list-checkbox-color, var(--luthor-accent))}.luthor-list-item-checked{text-decoration:line-through;opacity:.85}.luthor-list-item-checked>ul,.luthor-list-item-checked>ol{text-decoration:none;opacity:1}.luthor-quote{border-left:4px solid var(--luthor-quote-border, var(--luthor-accent));background-color:var(--luthor-quote-bg, var(--luthor-muted));padding:10px 14px;margin:12px 0;color:var(--luthor-quote-fg, var(--luthor-fg));line-height:var(--luthor-default-line-height, 1.5)}.luthor-link{color:var(--luthor-link-color, var(--luthor-accent));text-decoration:underline}.luthor-link:hover{color:var(--luthor-accent-hover)}.luthor-hr{margin:16px 0;border:none;border-top:1px solid var(--luthor-hr-color, var(--luthor-border));height:1px}.luthor-preset-extensive .lexical-image{margin:1em 0;display:block;position:relative}.luthor-preset-extensive .lexical-image img{max-width:100%;height:auto;border-radius:6px;display:block}.luthor-preset-extensive .lexical-image.align-left{float:left;margin-right:1em;margin-bottom:1em}.luthor-preset-extensive .lexical-image.align-right{float:right;margin-left:1em;margin-bottom:1em}.luthor-preset-extensive .lexical-image.align-center{text-align:center;margin:1em auto}.luthor-preset-extensive .lexical-image.align-center img{margin:0 auto}.luthor-preset-extensive .lexical-image figcaption{margin-top:.5em;font-size:12px;color:var(--luthor-muted-fg);text-align:center;font-style:italic}.luthor-preset-extensive .lexical-image.selected{outline:none}.luthor-preset-extensive .resizer{position:absolute;width:8px;height:8px;background:var(--luthor-accent);border:1px solid white;border-radius:50%}.luthor-preset-extensive .resizer.ne{top:-4px;right:-4px;cursor:nesw-resize}.luthor-preset-extensive .resizer.nw{top:-4px;left:-4px;cursor:nwse-resize}.luthor-preset-extensive .resizer.se{bottom:-4px;right:-4px;cursor:nwse-resize}.luthor-preset-extensive .resizer.sw{bottom:-4px;left:-4px;cursor:nesw-resize}.luthor-table{border-collapse:collapse;width:100%;margin:16px 0;border:1px solid var(--luthor-table-border-color, var(--luthor-border))}.luthor-table-cell,.luthor-table-cell-header{border:1px solid var(--luthor-table-border-color, var(--luthor-border));padding:8px 12px;text-align:left;min-width:80px;background-color:var(--luthor-bg)}.luthor-table-cell-header{background-color:var(--luthor-table-header-bg, var(--luthor-muted));font-weight:600}.luthor-preset-extensive table[data-lexical-table-selection]{box-shadow:0 0 0 2px var(--luthor-accent)}.luthor-preset-extensive table td[data-lexical-table-cell-selection]{background-color:#3b82f61a}.luthor-table-bubble-menu{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid var(--luthor-border);border-radius:10px;background:var(--luthor-bg);box-shadow:0 8px 24px var(--luthor-shadow);pointer-events:auto;white-space:nowrap}.luthor-table-bubble-button{height:30px;min-width:30px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:all .16s ease}.luthor-table-bubble-button svg{display:block}.luthor-table-bubble-button-icon{width:30px;padding:0}.luthor-table-bubble-button:hover{border-color:var(--luthor-border-hover);background:color-mix(in srgb,var(--luthor-muted) 58%,var(--luthor-accent) 42%);color:var(--luthor-bg)}.luthor-table-bubble-button-active{background:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-table-bubble-button-danger:hover{background:#dc2626;border-color:#dc2626;color:#fff}.luthor-table-bubble-checkbox{display:inline-flex;align-items:center;gap:6px;padding:0 6px;height:28px;font-size:12px;font-weight:600;color:var(--luthor-fg);user-select:none}.luthor-table-bubble-checkbox input{margin:0;accent-color:var(--luthor-accent)}.luthor-context-menu{position:fixed;background:var(--luthor-bg);border:1px solid var(--luthor-border);border-radius:8px;box-shadow:0 10px 30px var(--luthor-shadow);z-index:var(--luthor-z-menu, 460);min-width:160px;padding:6px 0;font-size:13px}.luthor-context-menu-item{padding:8px 14px;cursor:pointer;user-select:none}.luthor-context-menu-item:hover{background-color:var(--luthor-muted)}.luthor-context-menu-item-disabled{opacity:.5;cursor:not-allowed}.luthor-floating-toolbar{--luthor-floating-bg: #ffffff;--luthor-floating-fg: #0f172a;--luthor-floating-border: #e2e8f0;--luthor-floating-shadow: rgba(0, 0, 0, .08);--luthor-floating-muted: #f8fafc;--luthor-floating-border-hover: #cbd5e1;--luthor-floating-border-active: #94a3b8;--luthor-floating-accent: #0f172a;--luthor-floating-accent-fg: #ffffff;display:flex;align-items:center;gap:4px;padding:6px;background-color:var(--luthor-floating-bg);color:var(--luthor-floating-fg);border:1px solid var(--luthor-floating-border);border-radius:8px;box-shadow:0 8px 24px var(--luthor-floating-shadow)}.luthor-floating-toolbar[data-theme=dark]{--luthor-floating-bg: #0a0a0a;--luthor-floating-fg: #ededed;--luthor-floating-border: #262626;--luthor-floating-shadow: rgba(0, 0, 0, .5);--luthor-floating-muted: #171717;--luthor-floating-border-hover: #404040;--luthor-floating-border-active: #525252;--luthor-floating-accent: #ededed;--luthor-floating-accent-fg: #0a0a0a}.luthor-floating-toolbar .luthor-toolbar-button{color:var(--luthor-floating-fg);border-color:transparent}.luthor-floating-toolbar .luthor-toolbar-button:hover{background-color:var(--luthor-floating-muted);border-color:var(--luthor-floating-border-hover)}.luthor-floating-toolbar .luthor-toolbar-button.active{background-color:var(--luthor-floating-accent);border-color:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-floating-toolbar-separator{width:1px;height:18px;background-color:var(--luthor-floating-border);margin:0 4px}.luthor-floating-toolbar-input{height:30px;min-width:140px;max-width:220px;padding:4px 8px;font-size:12px;color:var(--luthor-floating-fg);background-color:var(--luthor-floating-bg);border:1px solid var(--luthor-floating-border);border-radius:6px;outline:none}.luthor-floating-toolbar-fields{display:flex;flex-direction:column;gap:6px}.luthor-floating-toolbar-field-row{display:flex;align-items:center;gap:6px}.luthor-floating-toolbar-action{height:30px;min-width:30px;width:auto;padding:0 10px;font-size:12px;font-weight:600;border-color:var(--luthor-floating-border);background:var(--luthor-floating-muted);color:var(--luthor-floating-fg);transform:none;box-shadow:none}.luthor-floating-toolbar .luthor-floating-toolbar-action:hover{border-color:var(--luthor-floating-border-hover);background:var(--luthor-floating-muted);color:var(--luthor-floating-fg);transform:none;box-shadow:none}.luthor-floating-toolbar-action-primary,.luthor-floating-toolbar .luthor-floating-toolbar-action-primary:hover{border-color:var(--luthor-floating-accent);background:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-floating-toolbar-action-danger:hover{border-color:#dc2626;background:#dc2626;color:#fff}.luthor-floating-toolbar-input:focus{border-color:var(--luthor-floating-border-active);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-floating-accent) 18%,transparent)}.luthor-floating-toolbar-input.is-error{border-color:#dc2626}.luthor-link-hover-bubble{gap:6px;max-width:min(680px,calc(100vw - 20px));border-radius:10px;box-shadow:0 8px 24px var(--luthor-floating-shadow)}.luthor-link-hover-bubble-url{min-width:160px;max-width:360px;padding:0 4px;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.luthor-link-hover-bubble-button{height:30px;min-width:30px;padding:0 10px;width:auto;font-size:12px;font-weight:600;border-color:var(--luthor-floating-border);background:var(--luthor-floating-muted);transform:none;box-shadow:none}.luthor-link-hover-bubble .luthor-link-hover-bubble-button:hover{border-color:var(--luthor-floating-border-hover);background:var(--luthor-floating-muted);transform:none;box-shadow:none}.luthor-link-hover-bubble-button-primary,.luthor-link-hover-bubble .luthor-link-hover-bubble-button-primary:hover{border-color:var(--luthor-floating-accent);background:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-link-hover-bubble-button-danger:hover{border-color:#dc2626;background:#dc2626;color:#fff}.luthor-link-hover-bubble-input{height:28px;min-width:220px;max-width:360px;padding:4px 8px;font-size:12px;border:1px solid var(--luthor-floating-border);border-radius:6px;color:var(--luthor-floating-fg);background:var(--luthor-floating-bg);outline:none}.luthor-link-hover-bubble-input:focus{border-color:var(--luthor-floating-border-active);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-floating-accent) 18%,transparent)}.luthor-link-hover-bubble-input.is-error{border-color:#dc2626}.luthor-media-embed-shell{position:relative;border:2px solid var(--luthor-border);border-radius:12px;overflow:hidden;background:var(--luthor-bg);transition:border-color var(--luthor-theme-transition),box-shadow var(--luthor-theme-transition),background-color var(--luthor-theme-transition)}.luthor-media-embed-shell:hover{border-color:var(--luthor-border-active)}.luthor-media-embed-shell.is-selected{border-color:var(--luthor-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--luthor-accent) 28%,transparent)}.luthor-media-embed-shell.is-resizing{user-select:none}.luthor-media-embed-controls{position:absolute;top:8px;right:8px;display:inline-flex;gap:4px;padding:4px;border:1px solid var(--luthor-border-hover);border-radius:8px;background:color-mix(in srgb,var(--luthor-bg) 92%,black 8%);z-index:2}.luthor-media-embed-control{border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);border-radius:6px;padding:2px 8px;font-size:11px;line-height:1.4;cursor:pointer}.luthor-media-embed-control:hover{border-color:var(--luthor-border-hover)}.luthor-media-embed-control.is-active{background:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-media-embed-resize-handle-width,.luthor-media-embed-resize-handle-height{position:absolute;border:1px solid var(--luthor-accent);background:color-mix(in srgb,var(--luthor-muted) 85%,var(--luthor-bg) 15%);border-radius:999px;z-index:2;opacity:.95;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),transform .12s ease}.luthor-media-embed-resize-handle-width{top:50%;right:-7px;transform:translateY(-50%);width:14px;height:30px;cursor:ew-resize;border-radius:999px}.luthor-media-embed-resize-handle-height{left:50%;bottom:-7px;transform:translate(-50%);width:30px;height:14px;cursor:ns-resize;border-radius:999px}.luthor-media-embed-resize-handle-width:hover,.luthor-media-embed-resize-handle-height:hover{transform:translateY(-50%) scale(1.06)}.luthor-media-embed-resize-handle-height:hover{transform:translate(-50%) scale(1.06)}.luthor-media-embed-shell.is-resizing .luthor-media-embed-resize-handle-width,.luthor-media-embed-shell.is-resizing .luthor-media-embed-resize-handle-height{background:color-mix(in srgb,var(--luthor-accent) 28%,var(--luthor-bg) 72%);border:1px solid var(--luthor-accent)}.luthor-draggable-handle,.luthor-draggable-add-button{width:24px;height:24px;border-radius:0;border:none;background:transparent;color:var(--luthor-muted-fg);fill:currentColor;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .16s ease,transform .16s ease;outline:none}.luthor-draggable-add-button{width:20px;height:20px;font-size:14px;line-height:1;font-weight:500;padding:0}.luthor-draggable-handle svg{width:14px;height:14px;stroke:currentColor;fill:none}.luthor-draggable-handle:hover,.luthor-draggable-add-button:hover{color:var(--luthor-fg);transform:scale(1.04)}.luthor-draggable-handle:active,.luthor-draggable-add-button:active,.luthor-draggable-handle-active{background:transparent;color:var(--luthor-accent);transform:scale(.96)}.luthor-draggable-button-stack{display:flex;flex-direction:column;gap:6px;align-items:center;padding:0;border:none;background:transparent}.luthor-draggable-drop-indicator{height:3px;background:var(--luthor-accent);border-radius:999px}.luthor-draggable-block-dragging,.luthor-draggable-block-is-dragging{opacity:.6}.luthor-editor--draggable-disabled .luthor-draggable-button-stack,.luthor-editor--draggable-disabled .luthor-draggable-handle,.luthor-editor--draggable-disabled .luthor-draggable-add-button,.luthor-editor--draggable-disabled .luthor-draggable-drop-indicator{display:none!important}@media(max-width:768px){.luthor-preset-extensive.luthor-editor-wrapper{min-height:400px}.luthor-toolbar{padding:6px}.luthor-toolbar--align-right{justify-content:flex-start}.luthor-toolbar-button{width:32px;height:32px;font-size:14px}.luthor-toolbar-section{padding:0 2px}.luthor-toolbar-section:not(:last-child){margin-right:6px;padding-right:6px}.luthor-richtext-container{--luthor-editor-content-padding-y: 16px;--luthor-editor-content-padding-x: 16px}.luthor-content-editable{font-size:16px}.luthor-select-trigger{min-width:100px;font-size:13px}.luthor-mode-tab{padding:8px 12px;font-size:13px}}.luthor-extensive-feature-card{border:1px solid var(--luthor-border-active);border-radius:12px;padding:12px;margin:10px 0;background-color:var(--luthor-muted)}.luthor-extensive-feature-card.is-selected{box-shadow:0 0 0 2px var(--luthor-accent)}.luthor-extensive-feature-card__tag{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--luthor-accent);border:1px solid var(--luthor-border-active);background-color:var(--luthor-bg);border-radius:999px;padding:2px 8px;margin-bottom:8px}.luthor-extensive-feature-card__title{margin:0;font-size:14px;color:var(--luthor-fg);line-height:1.35}.luthor-extensive-feature-card__description{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--luthor-muted-fg)}.luthor-preset-simple-text .luthor-editor-header{border-bottom:0}.luthor-preset-simple-text .luthor-editor{min-height:180px}.luthor-preset-rich-text-box .luthor-editor{min-height:220px}.luthor-preset-rich-text-box--compact .luthor-toolbar,.luthor-preset-rich-text-box__toolbar--compact{padding:4px;gap:2px}.luthor-preset-rich-text-box__toolbar--compact .luthor-toolbar-button{width:30px;height:30px}.luthor-preset-chat-window{display:flex;flex-direction:column;gap:10px}.luthor-chat-window-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.luthor-chat-window-action{border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);border-radius:8px;height:32px;padding:0 12px;cursor:pointer}.luthor-chat-window-action-send{border-color:var(--luthor-accent);background:var(--luthor-accent);color:var(--luthor-bg)}.luthor-preset-email-compose{display:flex;flex-direction:column;gap:10px}.luthor-email-compose-shell{border:1px solid var(--luthor-border);border-radius:8px;overflow:hidden}.luthor-email-compose-row{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-bg);color:var(--luthor-fg)}.luthor-email-compose-row:last-child{border-bottom:0}.luthor-email-compose-row input{border:0;outline:none;background:transparent}.luthor-preset-md-text{display:flex;flex-direction:column;gap:8px}.luthor-md-text-tabs{display:flex;gap:4px}.luthor-md-text-tabs button{border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);border-radius:6px;height:30px;padding:0 10px}.luthor-md-text-tabs button.active{border-color:var(--luthor-accent);background:var(--luthor-accent);color:var(--luthor-bg)}.luthor-md-text-source{width:100%;min-height:240px;border:1px solid var(--luthor-border);border-radius:8px;padding:12px;font-family:ui-monospace,Menlo,Consolas,monospace}.luthor-md-text-error{margin:6px 0 0;color:#dc2626;font-size:12px}.luthor-preset-notion-like .luthor-editor{min-height:280px}.luthor-headless-preset{border:1px solid #cbd5e1;border-radius:8px;padding:12px;display:grid;gap:10px}.luthor-headless-controls{display:flex;flex-wrap:wrap;gap:6px}.luthor-headless-controls button{height:30px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#0f172a;text-transform:lowercase;padding:0 10px}.luthor-headless-editor-content{min-height:160px;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.luthor-preset-notes{border:1px solid var(--luthor-border);border-radius:10px;padding:10px;display:grid;gap:10px;background:var(--luthor-bg)}.luthor-notes-title{border:0;outline:none;font-size:16px;font-weight:600;background:transparent;color:var(--luthor-fg)}.luthor-notes-actions{display:flex;gap:8px}.luthor-notes-actions button,.luthor-notes-actions select{border:1px solid var(--luthor-border);border-radius:6px;height:30px;padding:0 10px;background:var(--luthor-muted);color:var(--luthor-fg)}
1
+ .luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=light]{--luthor-bg: #ffffff;--luthor-fg: #0f172a;--luthor-border: #e2e8f0;--luthor-border-hover: #cbd5e1;--luthor-border-active: #94a3b8;--luthor-accent: #0f172a;--luthor-accent-hover: #1e293b;--luthor-shadow: rgba(0, 0, 0, .08);--luthor-muted: #f8fafc;--luthor-muted-fg: #64748b;--luthor-toolbar-bg: var(--luthor-muted);--luthor-toolbar-section-border: var(--luthor-border);--luthor-toolbar-button-fg: var(--luthor-fg);--luthor-toolbar-button-hover-bg: var(--luthor-muted);--luthor-toolbar-button-hover-border: var(--luthor-border-hover);--luthor-toolbar-button-hover-shadow: 0 4px 12px rgba(0, 0, 0, .15);--luthor-toolbar-button-press-shadow: 0 2px 8px rgba(0, 0, 0, .1);--luthor-toolbar-button-active-bg: var(--luthor-accent);--luthor-toolbar-button-active-border: var(--luthor-accent);--luthor-toolbar-button-active-fg: var(--luthor-bg);--luthor-toolbar-button-active-shadow: 0 2px 8px rgba(0, 0, 0, .2);--luthor-toolbar-button-overlay: linear-gradient(135deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .05) 100%);--luthor-toolbar-button-active-overlay: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .1) 100%);--luthor-toolbar-color-indicator-border: #000000;--luthor-toolbar-highlight-bg: var(--luthor-muted);--luthor-quote-bg: var(--luthor-muted);--luthor-quote-fg: var(--luthor-fg);--luthor-quote-border: var(--luthor-accent);--luthor-text-bold-color: var(--luthor-fg);--luthor-link-color: var(--luthor-accent);--luthor-list-marker-color: var(--luthor-fg);--luthor-list-checkbox-color: var(--luthor-accent);--luthor-table-border-color: var(--luthor-border);--luthor-table-header-bg: var(--luthor-muted);--luthor-hr-color: var(--luthor-border);--luthor-placeholder-color: var(--luthor-muted-fg);--luthor-codeblock-bg: var(--luthor-muted);--luthor-code-unhighlighted-fg: #24292e;--luthor-floating-bg: var(--luthor-bg);--luthor-floating-fg: var(--luthor-fg);--luthor-floating-border: var(--luthor-border);--luthor-floating-shadow: var(--luthor-shadow);--luthor-floating-muted: var(--luthor-muted);--luthor-floating-border-hover: var(--luthor-border-hover);--luthor-floating-border-active: var(--luthor-border-active);--luthor-floating-accent: var(--luthor-accent);--luthor-floating-accent-fg: var(--luthor-bg);--luthor-syntax-comment: #64748b;--luthor-syntax-keyword: #64748b;--luthor-syntax-string: #64748b;--luthor-syntax-number: #64748b;--luthor-syntax-function: #64748b;--luthor-syntax-variable: #64748b}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark]{--luthor-bg: #0a0a0a;--luthor-fg: #ededed;--luthor-border: #262626;--luthor-border-hover: #404040;--luthor-border-active: #525252;--luthor-accent: #ededed;--luthor-accent-hover: #d4d4d8;--luthor-shadow: rgba(0, 0, 0, .5);--luthor-muted: #171717;--luthor-muted-fg: #a3a3a3;--luthor-toolbar-bg: var(--luthor-muted);--luthor-toolbar-section-border: var(--luthor-border);--luthor-toolbar-button-fg: var(--luthor-fg);--luthor-toolbar-button-hover-bg: var(--luthor-muted);--luthor-toolbar-button-hover-border: var(--luthor-border-hover);--luthor-toolbar-button-hover-shadow: 0 4px 12px rgba(0, 0, 0, .35);--luthor-toolbar-button-press-shadow: 0 2px 8px rgba(0, 0, 0, .3);--luthor-toolbar-button-active-bg: var(--luthor-accent);--luthor-toolbar-button-active-border: var(--luthor-accent);--luthor-toolbar-button-active-fg: var(--luthor-bg);--luthor-toolbar-button-active-shadow: 0 2px 8px rgba(0, 0, 0, .5);--luthor-toolbar-button-overlay: linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);--luthor-toolbar-button-active-overlay: linear-gradient(135deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 100%);--luthor-toolbar-color-indicator-border: #ffffff;--luthor-toolbar-highlight-bg: var(--luthor-muted);--luthor-quote-bg: color-mix(in srgb, var(--luthor-muted) 92%, #ffffff 8%);--luthor-quote-fg: var(--luthor-fg);--luthor-quote-border: color-mix(in srgb, var(--luthor-accent) 78%, #ffffff 22%);--luthor-text-bold-color: var(--luthor-fg);--luthor-link-color: var(--luthor-accent);--luthor-list-marker-color: var(--luthor-fg);--luthor-list-checkbox-color: var(--luthor-accent);--luthor-table-border-color: var(--luthor-border);--luthor-table-header-bg: var(--luthor-muted);--luthor-hr-color: var(--luthor-border);--luthor-placeholder-color: var(--luthor-muted-fg);--luthor-codeblock-bg: var(--luthor-muted);--luthor-code-unhighlighted-fg: #c9d1d9;--luthor-floating-bg: var(--luthor-bg);--luthor-floating-fg: var(--luthor-fg);--luthor-floating-border: var(--luthor-border);--luthor-floating-shadow: var(--luthor-shadow);--luthor-floating-muted: var(--luthor-muted);--luthor-floating-border-hover: var(--luthor-border-hover);--luthor-floating-border-active: var(--luthor-border-active);--luthor-floating-accent: var(--luthor-accent);--luthor-floating-accent-fg: var(--luthor-bg);--luthor-syntax-comment: #8b949e;--luthor-syntax-keyword: #8b949e;--luthor-syntax-string: #8b949e;--luthor-syntax-number: #8b949e;--luthor-syntax-function: #8b949e;--luthor-syntax-variable: #8b949e}.luthor-preset-extensive.luthor-editor-wrapper{border:1px solid var(--luthor-border);border-radius:8px;background-color:var(--luthor-bg);overflow:hidden;display:flex;flex-direction:column;position:relative;--luthor-theme-transition: .2s ease;width:100%;max-width:100%;min-height:500px;height:auto;isolation:isolate;--luthor-z-dropdown: 20;--luthor-z-popover: 24;--luthor-z-menu: 28;--luthor-z-overlay: 32;--luthor-z-modal: 36;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition),box-shadow var(--luthor-theme-transition)}.luthor-preset-extensive.luthor-editor-wrapper.luthor-editor-wrapper--toolbar-pinned{overflow:visible}.luthor-preset-extensive.luthor-editor-wrapper,.luthor-preset-extensive.luthor-editor-wrapper *,.luthor-preset-extensive.luthor-editor-wrapper *:before,.luthor-preset-extensive.luthor-editor-wrapper *:after{box-sizing:border-box}.luthor-editor-header{background-color:var(--luthor-muted);border-bottom:1px solid var(--luthor-border);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-top-region--pinned{position:sticky;top:0;z-index:40}.luthor-editor-toolbar-slot{background-color:var(--luthor-toolbar-bg, var(--luthor-muted));transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-toolbar-slot--top{border-bottom:1px solid var(--luthor-border)}.luthor-editor-toolbar-slot--pinned{position:sticky;top:0;z-index:40;background-color:var(--luthor-toolbar-bg, var(--luthor-muted))}.luthor-editor-toolbar-slot--bottom{border-top:1px solid var(--luthor-border)}.luthor-mode-tabs{display:flex;border-bottom:1px solid var(--luthor-border);transition:border-color var(--luthor-theme-transition),background-color var(--luthor-theme-transition)}.luthor-mode-tab{padding:10px 20px;background:none;border:none;cursor:pointer;color:var(--luthor-muted-fg);font-size:14px;font-weight:500;transition:all .2s cubic-bezier(.4,0,.2,1);border-bottom:2px solid transparent;position:relative}.luthor-mode-tab:hover{color:var(--luthor-fg);background-color:var(--luthor-muted)}.luthor-mode-tab.active{color:var(--luthor-accent);border-bottom-color:var(--luthor-accent);background-color:#0f172a0d}.luthor-tab-converting-spinner{display:inline-block;width:12px;height:12px;margin-left:6px;border:2px solid var(--luthor-muted-fg);border-top-color:var(--luthor-accent);border-radius:50%;animation:luthor-spin .6s linear infinite;vertical-align:middle}@keyframes luthor-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.luthor-toolbar{display:flex;align-items:center;gap:4px;padding:8px;flex-wrap:wrap;overflow-x:hidden;overflow-y:visible;row-gap:6px;min-height:48px;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-toolbar--align-left{justify-content:flex-start}.luthor-toolbar--align-center{justify-content:center}.luthor-toolbar--align-right{justify-content:flex-end}.luthor-toolbar-section{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:0 4px;min-width:0}.luthor-toolbar-section:not(:last-child){border-right:1px solid var(--luthor-toolbar-section-border, var(--luthor-border));margin-right:8px;padding-right:8px;transition:border-color var(--luthor-theme-transition)}.luthor-toolbar-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid transparent;border-radius:6px;background-color:transparent;color:var(--luthor-toolbar-button-fg, var(--luthor-fg));cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);font-size:16px;position:relative;overflow:hidden}.luthor-toolbar-button:before{content:"";position:absolute;inset:0;background:var(--luthor-toolbar-button-overlay);opacity:0;transition:opacity .2s ease}.luthor-toolbar-button:hover{background-color:var(--luthor-toolbar-button-hover-bg, var(--luthor-muted));border-color:var(--luthor-toolbar-button-hover-border, var(--luthor-border-hover));transform:translateY(-1px);box-shadow:var(--luthor-toolbar-button-hover-shadow)}.luthor-toolbar-button:hover:before{opacity:1}.luthor-toolbar-button:active{transform:translateY(0) scale(.98);box-shadow:var(--luthor-toolbar-button-press-shadow)}.luthor-toolbar-button.active{background-color:var(--luthor-toolbar-button-active-bg, var(--luthor-accent));border-color:var(--luthor-toolbar-button-active-border, var(--luthor-accent));color:var(--luthor-toolbar-button-active-fg, var(--luthor-bg));box-shadow:var(--luthor-toolbar-button-active-shadow)}.luthor-toolbar-button.active:before{background:var(--luthor-toolbar-button-active-overlay);opacity:1}.luthor-toolbar-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.luthor-toolbar-button:disabled:hover{background-color:transparent;border-color:transparent;transform:none;box-shadow:none}.luthor-toolbar-button:disabled:before{opacity:0}.luthor-toolbar-split-button{display:inline-flex;align-items:center}.luthor-toolbar-split-button .luthor-dropdown{display:inline-flex}.luthor-toolbar-split-button .luthor-toolbar-button{border-radius:0}.luthor-toolbar-split-button>.luthor-toolbar-button:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}.luthor-toolbar-split-button .luthor-toolbar-button-arrow{width:20px;border-left-color:transparent;border-top-right-radius:6px;border-bottom-right-radius:6px;padding:0}.luthor-dropdown-divider{height:1px;margin:4px 8px;background-color:var(--luthor-border)}.luthor-color-button{padding-bottom:4px}.luthor-color-button-letter{font-size:14px;line-height:1;font-weight:700;position:relative;z-index:1}.luthor-color-button-indicator{position:absolute;left:7px;right:7px;bottom:5px;height:6px;border-radius:999px;border:.5px solid var(--luthor-toolbar-color-indicator-border, var(--luthor-fg));box-shadow:none;z-index:1}.luthor-color-button.is-highlight .luthor-color-button-letter{padding:0 2px;border-radius:3px;background-color:var(--luthor-toolbar-highlight-bg, var(--luthor-muted))}.luthor-color-button-highlighter{position:relative;z-index:1}.luthor-color-picker{z-index:var(--luthor-z-popover, 440);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 28px #0f172a2e;padding:10px;display:grid;gap:9px;max-width:90vw;width:248px;color:var(--luthor-fg, #0f172a)}.luthor-color-picker-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.luthor-color-picker-title{font-size:12px;font-weight:600;color:var(--luthor-fg)}.luthor-color-picker-native-hidden{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.luthor-color-picker-clear{border:1px solid var(--luthor-border);border-radius:6px;background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:500;padding:4px 8px;cursor:pointer}.luthor-color-picker-clear:hover{border-color:var(--luthor-border-hover)}.luthor-color-picker-section{display:grid;gap:6px}.luthor-color-picker-label{margin:0;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.03em}.luthor-color-swatch-grid,.luthor-color-swatch-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.luthor-color-swatch{width:100%;aspect-ratio:1;border:1px solid var(--luthor-border);border-radius:6px;background-clip:padding-box;cursor:pointer;transition:transform .15s ease,border-color .15s ease;box-shadow:inset 0 0 0 1px #0f172a14}.luthor-color-swatch:hover:enabled{border-color:var(--luthor-border-hover);transform:translateY(-1px)}.luthor-color-swatch:disabled{cursor:not-allowed;background-image:repeating-linear-gradient(45deg,transparent,transparent 4px,var(--luthor-muted) 4px,var(--luthor-muted) 8px);opacity:.7}.luthor-color-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:2px}.luthor-color-picker-custom{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--luthor-border);border-radius:6px;background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:500;padding:4px 8px;cursor:pointer}.luthor-color-picker-custom:hover{border-color:var(--luthor-border-hover)}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker{box-shadow:0 14px 32px #0009}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-swatch{box-shadow:inset 0 0 0 1px #ffffff14}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker-clear,.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-color-picker-custom{background:#ffffff0a}.luthor-select{position:relative;display:inline-block}.luthor-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);color:var(--luthor-fg);cursor:pointer;font-size:14px;min-width:120px;max-width:180px;height:36px;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000001a}.luthor-select-trigger span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.luthor-select-trigger:hover{border-color:var(--luthor-border-hover);box-shadow:0 2px 8px #00000026}.luthor-select-trigger.open{border-color:var(--luthor-accent);box-shadow:0 0 0 3px #0f172a1a}.luthor-select-dropdown{position:fixed;z-index:var(--luthor-z-dropdown, 420);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:6px;box-shadow:0 8px 32px #0000001f;max-height:200px;overflow-y:auto}.luthor-select-option{display:block;width:100%;padding:10px 14px;border:none;background:none;color:var(--luthor-fg);cursor:pointer;font-size:14px;text-align:left;transition:all .15s ease}.luthor-select-option:hover{background-color:var(--luthor-muted)}.luthor-select-option.selected{background-color:var(--luthor-accent);color:var(--luthor-bg);font-weight:500}.luthor-dropdown{position:relative;display:inline-flex}.luthor-dropdown-content{position:fixed;z-index:var(--luthor-z-dropdown, 420);background-color:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:4px;box-shadow:0 4px 6px -1px var(--luthor-shadow);margin-top:2px;min-width:160px;padding:4px 0}.luthor-dropdown-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:none;color:var(--luthor-fg);cursor:pointer;font-size:14px;text-align:left;transition:background-color .15s}.luthor-dropdown-item:hover{background-color:var(--luthor-muted)}.luthor-checklist-variant-grid,.luthor-unordered-variant-grid,.luthor-ordered-variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.luthor-unordered-variant-option,.luthor-ordered-variant-option{display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.luthor-unordered-variant-option:hover,.luthor-ordered-variant-option:hover{border-color:var(--luthor-border-hover);background-color:var(--luthor-muted);transform:translateY(-1px)}.luthor-unordered-variant-option:focus-visible{outline:none;border-color:var(--luthor-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-accent) 24%,transparent)}.luthor-ordered-variant-option:focus-visible{outline:none;border-color:var(--luthor-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-accent) 24%,transparent)}.luthor-unordered-variant-svg,.luthor-ordered-variant-svg{display:block;width:94px;height:74px}.luthor-unordered-variant-frame,.luthor-ordered-variant-frame{fill:var(--luthor-bg);stroke:var(--luthor-border)}.luthor-unordered-variant-line,.luthor-ordered-variant-line{fill:color-mix(in srgb,var(--luthor-muted-fg) 32%,transparent)}.luthor-ordered-variant-label{fill:var(--luthor-list-marker-color, var(--luthor-fg));font-size:11px;font-weight:500;font-family:Inter,Segoe UI,Arial,sans-serif;letter-spacing:.01em}.luthor-unordered-variant-marker{fill:var(--luthor-list-marker-color, var(--luthor-fg))}.luthor-unordered-variant-marker-open{fill:none;stroke:var(--luthor-list-marker-color, var(--luthor-fg));stroke-width:1.3}.luthor-unordered-variant-arrow{fill:none;stroke:var(--luthor-list-marker-color, var(--luthor-fg));stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.luthor-checklist-variant-option{display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.luthor-checklist-variant-option:hover{border-color:var(--luthor-border-hover);background-color:var(--luthor-muted);transform:translateY(-1px)}.luthor-checklist-variant-option:focus-visible{outline:none;border-color:var(--luthor-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-accent) 24%,transparent)}.luthor-checklist-variant-svg{display:block;width:78px;height:42px}.luthor-checklist-variant-frame{fill:var(--luthor-bg);stroke:var(--luthor-border)}.luthor-checklist-variant-box{fill:var(--luthor-bg);stroke:var(--luthor-list-checkbox-color, var(--luthor-accent));stroke-width:1.5}.luthor-checklist-variant-check{fill:none;stroke:var(--luthor-list-checkbox-color, var(--luthor-accent));stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.luthor-checklist-variant-line{fill:color-mix(in srgb,var(--luthor-muted-fg) 32%,transparent)}.luthor-checklist-variant-strike{stroke:var(--luthor-muted-fg);stroke-width:1.35;stroke-linecap:round}.luthor-file-input{display:none}.luthor-editor{flex:1;display:flex;flex-direction:column;min-height:400px;position:relative;--luthor-drag-gutter-width: 56px;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-visual-shell{display:grid;grid-template-columns:var(--luthor-drag-gutter-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0}.luthor-editor-visual-shell--no-gutter{grid-template-columns:minmax(0,1fr)}.luthor-editor-visual-shell.is-hidden{position:absolute;inset:0;visibility:hidden;pointer-events:none}.luthor-editor-visual-gutter{grid-column:1;grid-row:1;pointer-events:none;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor--draggable-disabled{--luthor-drag-gutter-width: 0px}.luthor-editor--draggable-disabled .luthor-editor-visual-gutter{display:none}.luthor-richtext-container{position:relative;flex:1;--luthor-editor-content-padding-y: 20px;--luthor-editor-content-padding-x: 20px;--luthor-first-block-offset: calc(8px * var(--luthor-line-height-ratio, 1));background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-editor-visual-shell .luthor-richtext-container{grid-column:2;grid-row:1;min-width:0}.luthor-editor-visual-shell--no-gutter .luthor-richtext-container{grid-column:1}.luthor-content-editable{flex:1;padding:var(--luthor-editor-content-padding-y) var(--luthor-editor-content-padding-x);outline:none;color:var(--luthor-fg);line-height:1;font-size:16px;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-content-editable:focus{outline:none;background-color:var(--luthor-bg)}.luthor-content-editable a,.luthor-content-editable a:hover,.luthor-content-editable a:focus-visible{cursor:pointer}.luthor-placeholder{color:var(--luthor-placeholder-color, var(--luthor-muted-fg));pointer-events:none;position:absolute;top:calc(var(--luthor-editor-content-padding-y) + var(--luthor-first-block-offset));left:var(--luthor-editor-content-padding-x);font-size:16px;line-height:var(--luthor-default-line-height, 1.5);z-index:1;transition:color var(--luthor-theme-transition),background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-source-panel{padding:20px;flex:1;overflow-y:auto;background-color:var(--luthor-bg);transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-source-view{width:100%;min-height:280px;padding:12px;border:1px solid var(--luthor-border);font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,Consolas,Courier New,monospace;font-size:14px;line-height:1.6;background-color:var(--luthor-bg);color:var(--luthor-fg);border-radius:0;resize:vertical;overflow-x:auto;overflow-y:auto;white-space:pre;tab-size:2;transition:background-color var(--luthor-theme-transition),color var(--luthor-theme-transition),border-color var(--luthor-theme-transition)}.luthor-source-view--wrapped{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:hidden}.luthor-source-error{display:flex;gap:12px;padding:12px;margin-bottom:12px;background-color:#dc26261a;border:1px solid rgba(220,38,38,.3);border-radius:6px;color:#dc2626;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),color var(--luthor-theme-transition)}.luthor-preset-extensive.luthor-editor-wrapper[data-editor-theme=dark] .luthor-source-error{background-color:#ef444426;border-color:#ef444466;color:#fca5a5}.luthor-source-error-icon{flex-shrink:0;font-size:18px;line-height:1}.luthor-source-error-message{flex:1}.luthor-source-error-message strong{display:block;margin-bottom:4px;font-weight:600}.luthor-source-error-message p{margin:4px 0;font-size:13px;line-height:1.4;white-space:pre-wrap;word-break:break-word}.luthor-source-error-message small{display:block;margin-top:6px;font-size:12px;opacity:.7}.luthor-command-palette-overlay{position:absolute;inset:0;background:#00000080;display:flex;align-items:flex-start;justify-content:center;padding:min(20vh,120px) 16px 16px;z-index:var(--luthor-z-overlay, 480);overscroll-behavior:contain}.luthor-command-palette{background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:12px;box-shadow:0 12px 48px #0000001f;width:min(640px,100%);max-width:100%;max-height:min(560px,calc(100% - min(20vh,120px) - 16px));display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain}.luthor-command-palette-header{display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--luthor-border);gap:12px}.luthor-command-palette-icon{color:var(--luthor-muted-fg);flex-shrink:0}.luthor-command-palette-input{flex:1;background:transparent;border:none;outline:none;font-size:16px;color:var(--luthor-fg);font-family:inherit}.luthor-command-palette-input::placeholder{color:var(--luthor-muted-fg)}.luthor-command-palette-kbd{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:11px;color:var(--luthor-muted-fg);font-family:monospace}.luthor-command-palette-list{flex:1;overflow-y:auto;padding:8px 0;overscroll-behavior:contain}.luthor-command-palette-group{margin-bottom:8px}.luthor-command-palette-group-title{padding:8px 20px 4px;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.5px}.luthor-command-palette-item{display:flex;align-items:center;padding:12px 20px;cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:background-color .1s}.luthor-command-palette-item:hover,.luthor-command-palette-item.selected{background:var(--luthor-muted)}.luthor-command-palette-item-content{flex:1;min-width:0}.luthor-command-palette-item-title{font-size:14px;color:var(--luthor-fg);font-weight:500;margin-bottom:2px}.luthor-command-palette-item-description{font-size:12px;color:var(--luthor-muted-fg);line-height:1.4}.luthor-command-palette-item-shortcut{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:10px;color:var(--luthor-muted-fg);font-family:monospace;margin-left:12px;flex-shrink:0}.luthor-command-palette-footer{padding:12px 20px;border-top:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-command-palette-hint{font-size:11px;color:var(--luthor-muted-fg);display:flex;align-items:center;gap:8px}.luthor-command-palette-hint kbd{background:var(--luthor-bg);border:1px solid var(--luthor-border);border-radius:3px;padding:1px 4px;font-size:10px;font-family:monospace}.luthor-command-palette-empty{padding:40px 20px;text-align:center;color:var(--luthor-muted-fg);font-size:14px}.luthor-slash-menu{position:fixed;z-index:var(--luthor-z-menu, 460);background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 36px #00000024;width:min(420px,calc(100vw - 24px));max-height:min(55vh,420px);overflow:hidden;display:flex;flex-direction:column}.luthor-slash-menu-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-slash-menu-title{font-size:12px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.4px}.luthor-slash-menu-query{font-size:12px;font-family:monospace;color:var(--luthor-muted-fg);background:var(--luthor-bg);border:1px solid var(--luthor-border);padding:1px 6px;border-radius:4px}.luthor-slash-menu-list{overflow-y:auto;padding:8px 0}.luthor-slash-menu-group{margin-bottom:6px}.luthor-slash-menu-group-title{padding:6px 12px 4px;font-size:11px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.5px}.luthor-slash-menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:none;background:none;text-align:left;cursor:pointer;color:var(--luthor-fg);transition:background-color .12s}.luthor-slash-menu-item:hover,.luthor-slash-menu-item.selected{background:var(--luthor-muted)}.luthor-slash-menu-item-content{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.luthor-slash-menu-item-title{font-size:14px;font-weight:500;color:var(--luthor-fg)}.luthor-slash-menu-item-description{font-size:12px;line-height:1.35;color:var(--luthor-muted-fg)}.luthor-slash-menu-item-shortcut{background:var(--luthor-muted);border:1px solid var(--luthor-border);border-radius:4px;padding:2px 6px;font-size:10px;font-family:monospace;color:var(--luthor-muted-fg);flex-shrink:0}.luthor-slash-menu-empty{padding:20px 12px;font-size:13px;color:var(--luthor-muted-fg);text-align:center}.luthor-emoji-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:8px;width:220px}.luthor-emoji-picker-item{display:inline-flex;align-items:center;justify-content:center;height:32px;border:1px solid transparent;border-radius:6px;background:transparent;cursor:pointer;font-size:18px;line-height:1}.luthor-emoji-picker-item:hover{background:var(--luthor-muted);border-color:var(--luthor-border)}.luthor-emoji-menu{position:fixed;z-index:var(--luthor-z-menu, 460);background:var(--luthor-bg, #ffffff);border:1px solid var(--luthor-border, #e2e8f0);border-radius:10px;box-shadow:0 12px 36px #00000024;width:min(320px,calc(100vw - 24px));max-height:min(45vh,320px);overflow:hidden;display:flex;flex-direction:column}.luthor-emoji-menu-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-muted)}.luthor-emoji-menu-title{font-size:12px;font-weight:600;color:var(--luthor-muted-fg);text-transform:uppercase;letter-spacing:.4px}.luthor-emoji-menu-query{font-size:12px;font-family:monospace;color:var(--luthor-muted-fg);background:var(--luthor-bg);border:1px solid var(--luthor-border);padding:1px 6px;border-radius:4px}.luthor-emoji-menu-list{overflow-y:auto;padding:6px 0}.luthor-emoji-menu-item{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:none;background:none;text-align:left;cursor:pointer;color:var(--luthor-fg);transition:background-color .12s}.luthor-emoji-menu-item:hover,.luthor-emoji-menu-item.selected{background:var(--luthor-muted)}.luthor-emoji-menu-item-symbol{font-size:20px;line-height:1;width:24px;text-align:center;flex-shrink:0}.luthor-emoji-menu-item-content{min-width:0;display:flex;flex-direction:column;gap:1px;flex:1}.luthor-emoji-menu-item-title{font-size:13px;font-weight:500;color:var(--luthor-fg)}.luthor-emoji-menu-item-shortcode{font-size:12px;line-height:1.25;color:var(--luthor-muted-fg);font-family:monospace}.luthor-emoji-menu-empty{padding:18px 12px;font-size:13px;color:var(--luthor-muted-fg);text-align:center}.luthor-dialog-overlay{position:absolute;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:var(--luthor-z-modal, 500);overscroll-behavior:contain;padding:12px}.luthor-dialog{background-color:var(--luthor-bg);border-radius:10px;box-shadow:0 20px 30px var(--luthor-shadow);width:min(520px,calc(100% - 24px));min-width:min(360px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:hidden}.luthor-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--luthor-border)}.luthor-dialog-title{margin:0;font-size:16px;font-weight:600;color:var(--luthor-fg)}.luthor-dialog-close{background:none;border:none;color:var(--luthor-muted-fg);cursor:pointer;padding:4px;border-radius:6px}.luthor-dialog-close:hover{background-color:var(--luthor-muted);color:var(--luthor-fg)}.luthor-dialog-content{padding:18px 20px}.luthor-table-dialog{display:flex;flex-direction:column;gap:14px}.luthor-form-group{display:flex;flex-direction:column;gap:6px}.luthor-form-group label{font-size:13px;font-weight:600;color:var(--luthor-fg)}.luthor-input{padding:8px 12px;border:1px solid var(--luthor-border);border-radius:6px;background-color:var(--luthor-bg);color:var(--luthor-fg);font-size:13px}.luthor-input:focus{outline:none;border-color:var(--luthor-accent);box-shadow:0 0 0 3px #3b82f61f}.luthor-checkbox-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--luthor-fg)}.luthor-checkbox{width:16px;height:16px;accent-color:var(--luthor-accent)}.luthor-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.luthor-button-primary,.luthor-button-secondary{padding:8px 14px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid}.luthor-button-primary{background-color:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-button-primary:hover{background-color:var(--luthor-accent-hover);border-color:var(--luthor-accent-hover)}.luthor-button-secondary{background-color:transparent;border-color:var(--luthor-border);color:var(--luthor-fg)}.luthor-button-secondary:hover{background-color:var(--luthor-muted);border-color:var(--luthor-border-hover)}.luthor-text-bold{font-weight:700;color:var(--luthor-text-bold-color, var(--luthor-fg))}.luthor-text-italic{font-style:italic}.luthor-text-underline{text-decoration:underline}.luthor-text-strikethrough{text-decoration:line-through}.luthor-content-editable code:not(.luthor-code-block),.luthor-preset .luthor-content-editable code:not(.luthor-code-block),.luthor-preset-extensive .luthor-content-editable code:not(.luthor-code-block){background-color:color-mix(in srgb,var(--luthor-muted) 78%,var(--luthor-bg) 22%);color:var(--luthor-syntax-keyword, var(--luthor-muted-fg));padding:0 .24em;border:1px solid color-mix(in srgb,var(--luthor-border) 55%,transparent);border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace!important;font-size:1em!important}.luthor-content-editable code:not(.luthor-code-block) .luthor-text-code,.luthor-preset .luthor-content-editable code:not(.luthor-code-block) .luthor-text-code,.luthor-preset-extensive .luthor-content-editable code:not(.luthor-code-block) .luthor-text-code{background:transparent;border:0;padding:0;border-radius:0}.luthor-content-editable code:not(.luthor-code-block) *,.luthor-preset .luthor-content-editable code:not(.luthor-code-block) *,.luthor-preset-extensive .luthor-content-editable code:not(.luthor-code-block) *{color:inherit!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace!important;font-size:1em!important}.luthor-code-block{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;background-color:var(--luthor-codeblock-bg, var(--luthor-muted));border:1px solid var(--luthor-border);color:var(--luthor-syntax-string, var(--luthor-muted-fg));border-radius:4px}.luthor-code-block{display:block;padding:12px;margin:12px 0;line-height:1.6;overflow-x:auto;max-width:min(100%,880px);width:100%;tab-size:2;white-space:pre;overflow-wrap:normal;word-break:normal}.luthor-code-block--interactive{position:relative;margin-top:40px;border-top-left-radius:0;border-top-right-radius:0;border-top:0}.luthor-codeblock-controls-layer{position:absolute;inset:0;pointer-events:none;z-index:25}.luthor-codeblock-controls{position:absolute;display:flex;align-items:center;justify-content:space-between;z-index:26;pointer-events:auto;margin:0;max-width:none;padding:8px 10px;border:1px solid var(--luthor-border);border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid var(--luthor-border);background:var(--luthor-codeblock-bg, var(--luthor-muted))}.luthor-codeblock-controls-left,.luthor-codeblock-controls-right{display:inline-flex;align-items:center;gap:6px}.luthor-codeblock-language,.luthor-codeblock-copy{font-size:11px;line-height:1.2;height:24px;border-radius:6px;border:1px solid var(--luthor-border);background:var(--luthor-bg);color:var(--luthor-fg);padding:0 8px}.luthor-codeblock-language{min-width:88px;appearance:none}.luthor-codeblock-language option{background:var(--luthor-bg);color:var(--luthor-fg)}.luthor-codeblock-copy{cursor:pointer;font-weight:600;width:26px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;position:relative;background:var(--luthor-bg)}.luthor-codeblock-copy svg{width:14px;height:14px;fill:currentColor}.luthor-codeblock-copy:after{content:attr(data-tooltip);position:absolute;top:-28px;right:0;padding:2px 6px;font-size:10px;line-height:1.2;white-space:nowrap;border-radius:4px;border:1px solid var(--luthor-border);background:var(--luthor-bg);color:var(--luthor-fg);opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease}.luthor-codeblock-copy:hover:after,.luthor-codeblock-copy:focus-visible:after{opacity:1;transform:translateY(0)}.luthor-codeblock-copy:hover,.luthor-codeblock-language:hover,.luthor-codeblock-copy.is-copied{border-color:var(--luthor-border-hover);background:var(--luthor-codeblock-bg, var(--luthor-muted))}.luthor-codeblock-copy.is-copy-error{border-color:var(--luthor-syntax-variable);color:var(--luthor-syntax-variable)}.luthor-code-block[data-theme=plain]{--luthor-syntax-keyword: var(--luthor-muted-fg);--luthor-syntax-string: var(--luthor-muted-fg);--luthor-syntax-number: var(--luthor-muted-fg);--luthor-syntax-function: var(--luthor-muted-fg);--luthor-syntax-variable: var(--luthor-muted-fg)}.luthor-preset-extensive.luthor-editor-wrapper .hljs{color:var(--luthor-code-unhighlighted-fg, var(--luthor-fg))}:where(.luthor-code-comment),:where(.luthor-code-prolog),:where(.luthor-code-doctype),:where(.luthor-code-cdata),:where(.luthor-code-punctuation),:where(.luthor-code-operator),:where(.luthor-code-namespace),:where(.luthor-code-property),:where(.luthor-code-tag),:where(.luthor-code-constant),:where(.luthor-code-symbol),:where(.luthor-code-deleted),:where(.luthor-code-boolean),:where(.luthor-code-number),:where(.luthor-code-attr),:where(.luthor-code-selector),:where(.luthor-code-string),:where(.luthor-code-char),:where(.luthor-code-builtin),:where(.luthor-code-inserted),:where(.luthor-code-function),:where(.luthor-code-class),:where(.luthor-code-class-name),:where(.luthor-code-keyword),:where(.luthor-code-atrule),:where(.luthor-code-regex),:where(.luthor-code-variable),:where(.luthor-code-important){color:var(--luthor-syntax-string, var(--luthor-muted-fg));font-weight:inherit}.luthor-paragraph{margin:var(--luthor-first-block-offset) 0;line-height:var(--luthor-default-line-height, 1.5)}.luthor-heading-h1,.luthor-heading-h2,.luthor-heading-h3,.luthor-heading-h4,.luthor-heading-h5,.luthor-heading-h6{margin:calc(16px * var(--luthor-line-height-ratio, 1)) 0 calc(8px * var(--luthor-line-height-ratio, 1));line-height:var(--luthor-default-line-height, 1.5);font-weight:700}.luthor-heading-h1{font-size:28px}.luthor-heading-h2{font-size:24px}.luthor-heading-h3{font-size:20px}.luthor-heading-h4{font-size:18px}.luthor-heading-h5{font-size:16px}.luthor-heading-h6{font-size:14px}.luthor-list-ul,.luthor-list-ol{margin:10px 0 10px 24px}.luthor-list-li{margin:calc(4px * var(--luthor-line-height-ratio, 1)) 0;line-height:var(--luthor-default-line-height, 1.5)}.luthor-list-ul .luthor-list-li::marker,.luthor-list-ol .luthor-list-li::marker{color:var(--luthor-list-marker-color, var(--luthor-fg))}.luthor-list-ol[style*=--luthor-ordered-pattern]{list-style:none;padding-left:0}.luthor-list-ol:has(>.luthor-list-li[style*=--luthor-ordered-marker-content]){list-style:none;padding-left:0}.luthor-list-ol>.luthor-list-li[style*=--luthor-ordered-marker-content]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked){padding-left:0}.luthor-list-ol>.luthor-list-li[style*=--luthor-ordered-marker-content]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked)::marker{content:""}.luthor-list-ol>.luthor-list-li[style*=--luthor-ordered-marker-content]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked):before{content:var(--luthor-ordered-marker-content);display:inline-block;white-space:nowrap;min-width:2.4ch;margin-right:10px;text-align:right;line-height:inherit;vertical-align:baseline;font-variant-numeric:tabular-nums;font-size:14px;font-weight:500;color:var(--luthor-list-marker-color, var(--luthor-fg))}.luthor-list-ul[style*=--luthor-unordered-pattern]{list-style:none;padding-left:0}.luthor-list-ul:has(>.luthor-list-li[style*=--luthor-unordered-marker-kind]){list-style:none;padding-left:0}.luthor-list-li[style*=--luthor-unordered-marker-kind]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked){position:relative;padding-left:24px}.luthor-list-li[style*=--luthor-unordered-marker-kind]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked)::marker{content:""}.luthor-list-li[style*=--luthor-unordered-marker-kind]:not(.luthor-list-item-unchecked):not(.luthor-list-item-checked):before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:18px;height:18px;background-position:center;background-repeat:no-repeat;background-size:12px 12px;color:var(--luthor-list-marker-color, var(--luthor-fg));opacity:.95}.luthor-list-li[style*="--luthor-unordered-marker-kind: disc"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='2.7' fill='currentColor'/%3E%3C/svg%3E")}.luthor-list-li[style*="--luthor-unordered-marker-kind: circle"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='3.1' fill='none' stroke='currentColor' stroke-width='1.2'/%3E%3C/svg%3E")}.luthor-list-li[style*="--luthor-unordered-marker-kind: square"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='3.1' y='3.1' width='5.8' height='5.8' fill='currentColor'/%3E%3C/svg%3E")}.luthor-list-li[style*="--luthor-unordered-marker-kind: diamond"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.2 9.8 6 6 9.8 2.2 6Z' fill='currentColor'/%3E%3C/svg%3E")}.luthor-list-li[style*="--luthor-unordered-marker-kind: arrow"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 2.6v6.8L9 6 3 2.6Z' fill='currentColor'/%3E%3C/svg%3E")}.luthor-list-item-unchecked,.luthor-list-item-checked{position:relative;list-style:none;margin-left:0;padding-left:28px;min-height:22px;cursor:pointer}.luthor-list-item-unchecked::marker,.luthor-list-item-checked::marker{content:""}.luthor-list-item-unchecked:before,.luthor-list-item-checked:before{content:"";position:absolute;left:0;top:.1em;width:16px;height:16px;border-radius:4px;border:1.5px solid var(--luthor-list-checkbox-color, var(--luthor-accent));background-color:var(--luthor-bg);box-sizing:border-box;transition:all .15s ease}.luthor-list-item-unchecked:hover:before{border-color:var(--luthor-list-checkbox-color, var(--luthor-accent))}.luthor-list-item-unchecked:focus,.luthor-list-item-unchecked:focus-visible,.luthor-list-item-checked:focus,.luthor-list-item-checked:focus-visible{outline:none;box-shadow:none}.luthor-list-li:has(>.luthor-list-ul:first-child),.luthor-list-li:has(>.luthor-list-ol:first-child){list-style:none}.luthor-list-item-unchecked:has(>.luthor-list-ul:first-child),.luthor-list-item-unchecked:has(>.luthor-list-ol:first-child),.luthor-list-item-checked:has(>.luthor-list-ul:first-child),.luthor-list-item-checked:has(>.luthor-list-ol:first-child){padding-left:0;min-height:0}.luthor-list-item-unchecked:has(>.luthor-list-ul:first-child):before,.luthor-list-item-unchecked:has(>.luthor-list-ol:first-child):before,.luthor-list-item-checked:has(>.luthor-list-ul:first-child):before,.luthor-list-item-checked:has(>.luthor-list-ol:first-child):before{display:none}.luthor-list-item-checked:before{content:"\2713";display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;line-height:1;color:var(--luthor-bg);border-color:var(--luthor-list-checkbox-color, var(--luthor-accent));background-color:var(--luthor-list-checkbox-color, var(--luthor-accent))}.luthor-list-item-checked{text-decoration:var(--luthor-checklist-text-decoration, line-through);opacity:var(--luthor-checklist-opacity, .85)}.luthor-list-item-checked>ul,.luthor-list-item-checked>ol{text-decoration:none;opacity:1}.luthor-list-ul[style*="--luthor-checklist-variant: plain"] .luthor-list-item-checked,.luthor-list-ol[style*="--luthor-checklist-variant: plain"] .luthor-list-item-checked,.luthor-list-item-checked[style*="--luthor-checklist-variant: plain"],.luthor-list-item-checked:has([style*="--luthor-checklist-variant: plain"]){--luthor-checklist-text-decoration: none;--luthor-checklist-opacity: 1}.luthor-quote{border-left:4px solid var(--luthor-quote-border, var(--luthor-accent));background-color:var(--luthor-quote-bg, var(--luthor-muted));padding:10px 14px;margin:12px 0;color:var(--luthor-quote-fg, var(--luthor-fg));line-height:var(--luthor-default-line-height, 1.5)}.luthor-link{color:var(--luthor-link-color, var(--luthor-accent));text-decoration:underline}.luthor-link:hover{color:var(--luthor-accent-hover)}.luthor-hr{margin:16px 0;border:none;border-top:1px solid var(--luthor-hr-color, var(--luthor-border));height:1px}.luthor-preset-extensive .lexical-image{margin:1em 0;display:block;position:relative}.luthor-preset-extensive .lexical-image img{max-width:100%;height:auto;border-radius:6px;display:block}.luthor-preset-extensive .lexical-image.align-left{float:left;margin-right:1em;margin-bottom:1em}.luthor-preset-extensive .lexical-image.align-right{float:right;margin-left:1em;margin-bottom:1em}.luthor-preset-extensive .lexical-image.align-center{text-align:center;margin:1em auto}.luthor-preset-extensive .lexical-image.align-center img{margin:0 auto}.luthor-preset-extensive .lexical-image figcaption{margin-top:.5em;font-size:12px;color:var(--luthor-muted-fg);text-align:center;font-style:italic}.luthor-preset-extensive .lexical-image.selected{outline:none}.luthor-preset-extensive .resizer{position:absolute;width:8px;height:8px;background:var(--luthor-accent);border:1px solid white;border-radius:50%}.luthor-preset-extensive .resizer.ne{top:-4px;right:-4px;cursor:nesw-resize}.luthor-preset-extensive .resizer.nw{top:-4px;left:-4px;cursor:nwse-resize}.luthor-preset-extensive .resizer.se{bottom:-4px;right:-4px;cursor:nwse-resize}.luthor-preset-extensive .resizer.sw{bottom:-4px;left:-4px;cursor:nesw-resize}.luthor-table{border-collapse:collapse;width:100%;margin:16px 0;border:1px solid var(--luthor-table-border-color, var(--luthor-border))}.luthor-table-cell,.luthor-table-cell-header{border:1px solid var(--luthor-table-border-color, var(--luthor-border));padding:8px 12px;text-align:left;min-width:80px;background-color:var(--luthor-bg)}.luthor-table-cell-header{background-color:var(--luthor-table-header-bg, var(--luthor-muted));font-weight:600}.luthor-preset-extensive table[data-lexical-table-selection]{box-shadow:0 0 0 2px var(--luthor-accent)}.luthor-preset-extensive table td[data-lexical-table-cell-selection]{background-color:#3b82f61a}.luthor-table-bubble-menu{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid var(--luthor-border);border-radius:10px;background:var(--luthor-bg);box-shadow:0 8px 24px var(--luthor-shadow);pointer-events:auto;white-space:nowrap}.luthor-table-bubble-button{height:30px;min-width:30px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:all .16s ease}.luthor-table-bubble-button svg{display:block}.luthor-table-bubble-button-icon{width:30px;padding:0}.luthor-table-bubble-button:hover{border-color:var(--luthor-border-hover);background:color-mix(in srgb,var(--luthor-muted) 58%,var(--luthor-accent) 42%);color:var(--luthor-bg)}.luthor-table-bubble-button-active{background:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-table-bubble-button-danger:hover{background:#dc2626;border-color:#dc2626;color:#fff}.luthor-table-bubble-checkbox{display:inline-flex;align-items:center;gap:6px;padding:0 6px;height:28px;font-size:12px;font-weight:600;color:var(--luthor-fg);user-select:none}.luthor-table-bubble-checkbox input{margin:0;accent-color:var(--luthor-accent)}.luthor-context-menu{position:fixed;background:var(--luthor-bg);border:1px solid var(--luthor-border);border-radius:8px;box-shadow:0 10px 30px var(--luthor-shadow);z-index:var(--luthor-z-menu, 460);min-width:160px;padding:6px 0;font-size:13px}.luthor-context-menu-item{padding:8px 14px;cursor:pointer;user-select:none}.luthor-context-menu-item:hover{background-color:var(--luthor-muted)}.luthor-context-menu-item-disabled{opacity:.5;cursor:not-allowed}.luthor-floating-toolbar{--luthor-floating-bg: #ffffff;--luthor-floating-fg: #0f172a;--luthor-floating-border: #e2e8f0;--luthor-floating-shadow: rgba(0, 0, 0, .08);--luthor-floating-muted: #f8fafc;--luthor-floating-border-hover: #cbd5e1;--luthor-floating-border-active: #94a3b8;--luthor-floating-accent: #0f172a;--luthor-floating-accent-fg: #ffffff;display:flex;align-items:center;gap:4px;padding:6px;background-color:var(--luthor-floating-bg);color:var(--luthor-floating-fg);border:1px solid var(--luthor-floating-border);border-radius:8px;box-shadow:0 8px 24px var(--luthor-floating-shadow)}.luthor-floating-toolbar[data-theme=dark]{--luthor-floating-bg: #0a0a0a;--luthor-floating-fg: #ededed;--luthor-floating-border: #262626;--luthor-floating-shadow: rgba(0, 0, 0, .5);--luthor-floating-muted: #171717;--luthor-floating-border-hover: #404040;--luthor-floating-border-active: #525252;--luthor-floating-accent: #ededed;--luthor-floating-accent-fg: #0a0a0a}.luthor-floating-toolbar .luthor-toolbar-button{color:var(--luthor-floating-fg);border-color:transparent}.luthor-floating-toolbar .luthor-toolbar-button:hover{background-color:var(--luthor-floating-muted);border-color:var(--luthor-floating-border-hover)}.luthor-floating-toolbar .luthor-toolbar-button.active{background-color:var(--luthor-floating-accent);border-color:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-floating-toolbar-separator{width:1px;height:18px;background-color:var(--luthor-floating-border);margin:0 4px}.luthor-floating-toolbar-input{height:30px;min-width:140px;max-width:220px;padding:4px 8px;font-size:12px;color:var(--luthor-floating-fg);background-color:var(--luthor-floating-bg);border:1px solid var(--luthor-floating-border);border-radius:6px;outline:none}.luthor-floating-toolbar-fields{display:flex;flex-direction:column;gap:6px}.luthor-floating-toolbar-field-row{display:flex;align-items:center;gap:6px}.luthor-floating-toolbar-action{height:30px;min-width:30px;width:auto;padding:0 10px;font-size:12px;font-weight:600;border-color:var(--luthor-floating-border);background:var(--luthor-floating-muted);color:var(--luthor-floating-fg);transform:none;box-shadow:none}.luthor-floating-toolbar .luthor-floating-toolbar-action:hover{border-color:var(--luthor-floating-border-hover);background:var(--luthor-floating-muted);color:var(--luthor-floating-fg);transform:none;box-shadow:none}.luthor-floating-toolbar .luthor-floating-toolbar-action-primary,.luthor-floating-toolbar .luthor-floating-toolbar-action-primary:hover{border-color:var(--luthor-floating-accent);background:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-floating-toolbar-action-danger:hover{border-color:#dc2626;background:#dc2626;color:#fff}.luthor-floating-toolbar-input:focus{border-color:var(--luthor-floating-border-active);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-floating-accent) 18%,transparent)}.luthor-floating-toolbar-input.is-error{border-color:#dc2626}.luthor-link-hover-bubble{gap:6px;max-width:min(680px,calc(100vw - 20px));border-radius:10px;box-shadow:0 8px 24px var(--luthor-floating-shadow)}.luthor-link-hover-bubble-url{min-width:160px;max-width:360px;padding:0 4px;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.luthor-link-hover-bubble-button{height:30px;min-width:30px;padding:0 10px;width:auto;font-size:12px;font-weight:600;border-color:var(--luthor-floating-border);background:var(--luthor-floating-muted);transform:none;box-shadow:none}.luthor-link-hover-bubble .luthor-link-hover-bubble-button:hover{border-color:var(--luthor-floating-border-hover);background:var(--luthor-floating-muted);transform:none;box-shadow:none}.luthor-link-hover-bubble .luthor-link-hover-bubble-button-primary,.luthor-link-hover-bubble .luthor-link-hover-bubble-button-primary:hover{border-color:var(--luthor-floating-accent);background:var(--luthor-floating-accent);color:var(--luthor-floating-accent-fg)}.luthor-link-hover-bubble-button-danger:hover{border-color:#dc2626;background:#dc2626;color:#fff}.luthor-link-hover-bubble-input{height:28px;min-width:220px;max-width:360px;padding:4px 8px;font-size:12px;border:1px solid var(--luthor-floating-border);border-radius:6px;color:var(--luthor-floating-fg);background:var(--luthor-floating-bg);outline:none}.luthor-link-hover-bubble-input:focus{border-color:var(--luthor-floating-border-active);box-shadow:0 0 0 2px color-mix(in srgb,var(--luthor-floating-accent) 18%,transparent)}.luthor-link-hover-bubble-input.is-error{border-color:#dc2626}.luthor-media-embed-shell{position:relative;border:2px solid var(--luthor-border);border-radius:12px;overflow:hidden;background:var(--luthor-bg);transition:border-color var(--luthor-theme-transition),box-shadow var(--luthor-theme-transition),background-color var(--luthor-theme-transition)}.luthor-media-embed-shell:hover{border-color:var(--luthor-border-active)}.luthor-media-embed-shell.is-selected{border-color:var(--luthor-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--luthor-accent) 28%,transparent)}.luthor-media-embed-shell.is-resizing{user-select:none}.luthor-media-embed-controls{position:absolute;top:8px;right:8px;display:inline-flex;gap:4px;padding:4px;border:1px solid var(--luthor-border-hover);border-radius:8px;background:color-mix(in srgb,var(--luthor-bg) 92%,black 8%);z-index:2}.luthor-media-embed-control{border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);border-radius:6px;padding:2px 8px;font-size:11px;line-height:1.4;cursor:pointer}.luthor-media-embed-control:hover{border-color:var(--luthor-border-hover)}.luthor-media-embed-control.is-active{background:var(--luthor-accent);border-color:var(--luthor-accent);color:var(--luthor-bg)}.luthor-media-embed-resize-handle-width,.luthor-media-embed-resize-handle-height{position:absolute;border:1px solid var(--luthor-accent);background:color-mix(in srgb,var(--luthor-muted) 85%,var(--luthor-bg) 15%);border-radius:999px;z-index:2;opacity:.95;transition:background-color var(--luthor-theme-transition),border-color var(--luthor-theme-transition),transform .12s ease}.luthor-media-embed-resize-handle-width{top:50%;right:-7px;transform:translateY(-50%);width:14px;height:30px;cursor:ew-resize;border-radius:999px}.luthor-media-embed-resize-handle-height{left:50%;bottom:-7px;transform:translate(-50%);width:30px;height:14px;cursor:ns-resize;border-radius:999px}.luthor-media-embed-resize-handle-width:hover,.luthor-media-embed-resize-handle-height:hover{transform:translateY(-50%) scale(1.06)}.luthor-media-embed-resize-handle-height:hover{transform:translate(-50%) scale(1.06)}.luthor-media-embed-shell.is-resizing .luthor-media-embed-resize-handle-width,.luthor-media-embed-shell.is-resizing .luthor-media-embed-resize-handle-height{background:color-mix(in srgb,var(--luthor-accent) 28%,var(--luthor-bg) 72%);border:1px solid var(--luthor-accent)}.luthor-draggable-handle,.luthor-draggable-add-button{width:24px;height:24px;border-radius:0;border:none;background:transparent;color:var(--luthor-muted-fg);fill:currentColor;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .16s ease,transform .16s ease;outline:none}.luthor-draggable-add-button{width:20px;height:20px;font-size:14px;line-height:1;font-weight:500;padding:0}.luthor-draggable-handle svg{width:14px;height:14px;stroke:currentColor;fill:none}.luthor-draggable-handle:hover,.luthor-draggable-add-button:hover{color:var(--luthor-fg);transform:scale(1.04)}.luthor-draggable-handle:active,.luthor-draggable-add-button:active,.luthor-draggable-handle-active{background:transparent;color:var(--luthor-accent);transform:scale(.96)}.luthor-draggable-button-stack{display:flex;flex-direction:column;gap:6px;align-items:center;padding:0;border:none;background:transparent}.luthor-draggable-drop-indicator{height:3px;background:var(--luthor-accent);border-radius:999px}.luthor-draggable-block-dragging,.luthor-draggable-block-is-dragging{opacity:.6}.luthor-editor--draggable-disabled .luthor-draggable-button-stack,.luthor-editor--draggable-disabled .luthor-draggable-handle,.luthor-editor--draggable-disabled .luthor-draggable-add-button,.luthor-editor--draggable-disabled .luthor-draggable-drop-indicator{display:none!important}@media(max-width:768px){.luthor-preset-extensive.luthor-editor-wrapper{min-height:400px}.luthor-toolbar{padding:6px}.luthor-toolbar--align-right{justify-content:flex-start}.luthor-toolbar-button{width:32px;height:32px;font-size:14px}.luthor-toolbar-section{padding:0 2px}.luthor-toolbar-section:not(:last-child){margin-right:6px;padding-right:6px}.luthor-richtext-container{--luthor-editor-content-padding-y: 16px;--luthor-editor-content-padding-x: 16px}.luthor-content-editable{font-size:16px}.luthor-select-trigger{min-width:100px;font-size:13px}.luthor-mode-tab{padding:8px 12px;font-size:13px}}.luthor-extensive-feature-card{border:1px solid var(--luthor-border-active);border-radius:12px;padding:12px;margin:10px 0;background-color:var(--luthor-muted)}.luthor-extensive-feature-card.is-selected{box-shadow:0 0 0 2px var(--luthor-accent)}.luthor-extensive-feature-card__tag{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--luthor-accent);border:1px solid var(--luthor-border-active);background-color:var(--luthor-bg);border-radius:999px;padding:2px 8px;margin-bottom:8px}.luthor-extensive-feature-card__title{margin:0;font-size:14px;color:var(--luthor-fg);line-height:1.35}.luthor-extensive-feature-card__description{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--luthor-muted-fg)}.luthor-preset-compose{display:flex;flex-direction:column;gap:10px}.luthor-preset-compose .luthor-editor{min-height:220px}.luthor-preset-compose--compact .luthor-toolbar,.luthor-preset-compose__toolbar--compact{padding:4px;gap:2px}.luthor-preset-compose__toolbar--compact .luthor-toolbar-button{width:30px;height:30px}.luthor-preset-simple-editor{display:flex;flex-direction:column;gap:8px;width:100%;min-width:var(--luthor-simple-editor-min-width, 240px);max-width:var(--luthor-simple-editor-max-width, 100%)}.luthor-simple-editor-row{display:flex;align-items:flex-end;gap:8px;width:100%}.luthor-simple-editor-shell{position:relative;width:100%;min-width:var(--luthor-simple-editor-min-width, 240px);max-width:var(--luthor-simple-editor-max-width, 100%)}.luthor-preset-simple-editor .luthor-preset-extensive.luthor-editor-wrapper{min-height:var(--luthor-simple-editor-min-height, 56px);max-height:var(--luthor-simple-editor-max-height, 220px);height:var(--luthor-simple-editor-current-height, var(--luthor-simple-editor-min-height, 56px));min-width:var(--luthor-simple-editor-min-width, 240px);max-width:var(--luthor-simple-editor-max-width, 100%);border-radius:16px}.luthor-preset-simple-editor .luthor-editor-header{display:none}.luthor-preset-simple-editor .luthor-editor{min-height:0;height:100%}.luthor-preset-simple-editor .luthor-editor-visual-shell{min-height:0}.luthor-preset-simple-editor .luthor-richtext-container{min-height:0;overflow-y:auto;scrollbar-width:thin;--luthor-editor-content-padding-y: 12px;--luthor-editor-content-padding-x: 14px;--luthor-first-block-offset: 0px}.luthor-preset-simple-editor .luthor-content-editable{padding:var(--luthor-editor-content-padding-y) var(--luthor-editor-content-padding-x);min-height:100%;box-sizing:border-box;line-height:1.45}.luthor-preset-simple-editor--send-inside .luthor-content-editable{padding-right:84px;padding-bottom:48px}.luthor-preset-simple-editor .luthor-placeholder{top:var(--luthor-editor-content-padding-y);left:var(--luthor-editor-content-padding-x);line-height:1.45}.luthor-simple-editor-bottom-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px 10px;border-top:1px solid var(--luthor-border);background:var(--luthor-bg)}.luthor-simple-editor-action{border:1px solid var(--luthor-border);background:var(--luthor-muted);color:var(--luthor-fg);border-radius:10px;height:32px;padding:0 12px;cursor:pointer}.luthor-simple-editor-action-send{border-color:var(--luthor-accent);background:var(--luthor-accent);color:var(--luthor-bg)}.luthor-simple-editor-action-send--inside{position:absolute;right:10px;bottom:10px}.luthor-simple-editor-action-send--right{align-self:flex-end}@media(max-width:640px){.luthor-simple-editor-row{flex-wrap:wrap}.luthor-simple-editor-action-send--right{margin-left:auto}}.luthor-preset-md-editor{border:1px solid #d8dde6;border-radius:14px;background:#fdfefe;padding:10px}.luthor-preset-md-editor .luthor-editor{min-height:320px}.luthor-preset-html-editor{border:1px solid #d8dde6;border-radius:14px;background:#fff;padding:10px}.luthor-preset-html-editor .luthor-editor{min-height:320px}.luthor-preset-slash-editor{border:1px solid #d8dee8;border-radius:14px;background:#fff;padding:10px}.luthor-preset-slash-editor .luthor-editor{min-height:320px}.luthor-preset-headless-editor{border:1px solid #d9d9d9;border-radius:10px;background:#f5f5f5;padding:12px}.luthor-preset-headless-editor .luthor-editor{min-height:320px}.luthor-preset-headless-editor .luthor-editor-header{margin-bottom:10px}.luthor-preset-headless-editor__toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.luthor-preset-headless-editor__button{appearance:none;border:0;border-radius:9px;background:#e4e4e4;color:#333;font-size:14px;line-height:1;font-weight:600;padding:7px 11px;cursor:pointer;transition:background-color .12s ease,color .12s ease,opacity .12s ease}.luthor-preset-headless-editor__button:hover:not(:disabled){background:#d7d7d7}.luthor-preset-headless-editor__button.is-active{background:#6366f1;color:#fff}.luthor-preset-headless-editor__button:disabled{opacity:.45;cursor:not-allowed}.luthor-preset-headless-editor__visual-shell{background:#fff;border:1px solid #dfdfdf;border-radius:8px;min-height:250px}.luthor-preset-headless-editor__visual-shell.is-hidden{display:none}.luthor-preset-headless-editor__container{min-height:250px}.luthor-preset-headless-editor__content{font-size:15px;line-height:1.6;color:#111;padding:14px 16px}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export { E as EditorPreset, p as presetRegistry } from './index-BtdZVw3X.js';
2
- import { C as CoreEditorCommands, a as CoreEditorActiveStates, b as CoreTheme, c as CoreEditorMode, d as CoreToolbarClassNames, T as ToolbarStyleVars, e as ToolbarLayout, f as ToolbarVisibility, B as BlockHeadingLevel, g as ToolbarItemType, D as DefaultSettings } from './ExtensiveEditor-B25Uedf2.js';
3
- export { h as BLOCK_HEADING_LEVELS, i as BlockFormat, j as CommandConfig, k as CommandGenerationOptions, l as DEFAULT_TOOLBAR_LAYOUT, E as EditorThemeOverrides, m as ExtensiveEditor, n as ExtensiveEditorMode, o as ExtensiveEditorProps, p as ExtensiveEditorRef, q as ExtensiveExtensionsConfig, F as FeatureFlag, r as FeatureFlagOverrides, s as FeatureFlags, I as ImageAlignment, t as InsertImageConfig, u as InsertTableConfig, K as KeyboardShortcut, Q as QuoteStyleVars, S as ShortcutBindingOverride, v as ShortcutConfig, w as SlashCommandVisibility, x as SlashCommandVisibilityFilters, y as SlashCommandVisibilitySelection, z as TRADITIONAL_TOOLBAR_LAYOUT, A as TextAlignment, G as ToolbarAlignment, H as ToolbarPosition, J as ToolbarSection, L as commandsToCommandPaletteItems, M as commandsToSlashCommandItems, N as createExtensiveExtensions, O as extensiveExtensions, P as generateCommands, R as registerKeyboardShortcuts } from './ExtensiveEditor-B25Uedf2.js';
1
+ import { C as CoreEditorCommands, b as CoreEditorActiveStates, c as CoreTheme, d as CoreEditorMode, e as CoreToolbarClassNames, f as ToolbarStyleVars, T as ToolbarLayout, g as ToolbarVisibility, B as BlockHeadingLevel, h as ToolbarItemType, D as DefaultSettings } from './index-BjlX1b8G.js';
2
+ export { i as BLOCK_HEADING_LEVELS, j as BlockFormat, k as CommandConfig, l as CommandGenerationOptions, m as DEFAULT_TOOLBAR_LAYOUT, n as EditorPreset, o as EditorThemeOverrides, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, I as ImageAlignment, u as InsertImageConfig, v as InsertTableConfig, K as KeyboardShortcut, Q as QuoteStyleVars, S as ShortcutBindingOverride, w as ShortcutConfig, x as SlashCommandVisibility, y as SlashCommandVisibilityFilters, z as SlashCommandVisibilitySelection, A as TRADITIONAL_TOOLBAR_LAYOUT, G as TextAlignment, H as ToolbarAlignment, J as ToolbarPosition, L as ToolbarSection, M as commandsToCommandPaletteItems, N as commandsToSlashCommandItems, O as createExtensiveExtensions, P as extensiveExtensions, R as generateCommands, U as presetRegistry, V as registerKeyboardShortcuts } from './index-BjlX1b8G.js';
4
3
  import { CommandPaletteItem, EmojiCatalogItem, SlashCommandItem, FloatingToolbarExtension, LexicalEditor, EditorConfig } from '@lyfie/luthor-headless';
5
4
  import * as luthorHeadless from '@lyfie/luthor-headless';
6
5
  export { luthorHeadless as headless };
@@ -8,16 +7,16 @@ export { CodeIntelligenceCommands, CodeIntelligenceConfig, CodeIntelligenceExten
8
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
8
  import * as react from 'react';
10
9
  import { ForwardRefExoticComponent, SVGProps, RefAttributes, ReactNode } from 'react';
11
- export { ChatWindowEditor, ChatWindowEditorProps, ChatWindowEditorSendPayload, chatWindowPreset } from './presets/chat-window/index.js';
12
- export { EmailComposeEditor, EmailComposeEditorProps, emailComposePreset } from './presets/email-compose/index.js';
13
- import { S as StyleVarRecord, a as StyleVarValueRecord, F as FeatureFlagsLike, b as FeatureShortcutSpec, T as ToolbarFeatureMap, P as PresetModeCache } from './index-CUB1ColU.js';
14
- export { E as ExtensivePresetConfig, c as createExtensivePreset, e as extensivePreset } from './index-CUB1ColU.js';
10
+ export { ComposeEditor, ComposeEditorProps, composePreset } from './presets/compose/index.js';
11
+ import { S as StyleVarRecord, a as StyleVarValueRecord, F as FeatureFlagsLike, b as FeatureShortcutSpec, T as ToolbarFeatureMap, P as PresetModeCache } from './index-CtyjH6lX.js';
12
+ export { E as ExtensivePresetConfig, c as createExtensivePreset, e as extensivePreset } from './index-CtyjH6lX.js';
13
+ export { HTMLEditor, HTMLEditorMode, HTMLEditorProps, htmlEditorPreset } from './presets/html-editor/index.js';
15
14
  export { HeadlessEditorPreset, HeadlessEditorPresetProps, headlessEditorPreset } from './presets/headless-editor/index.js';
16
- export { MDTextEditor, MDTextEditorMode, MDTextEditorProps, mdTextPreset } from './presets/md-text/index.js';
17
- export { NotesEditor, NotesEditorProps, notesPreset } from './presets/notes/index.js';
18
- export { NotionLikeEditor, NotionLikeEditorProps, notionLikePreset } from './presets/notion-like/index.js';
19
- export { RichTextBoxEditor, RichTextBoxEditorProps, richTextBoxPreset } from './presets/rich-text-box/index.js';
20
- export { SimpleTextEditor, SimpleTextEditorProps, simpleTextPreset } from './presets/simple-text/index.js';
15
+ export { L as LegacyRichEditor, a as LegacyRichEditorMode, b as LegacyRichEditorProps, c as LegacyRichSourceFormat } from './LegacyRichEditor-Hzt4pYS-.js';
16
+ export { MDEditor, MDEditorMode, MDEditorProps, mdEditorPreset } from './presets/md-editor/index.js';
17
+ export { SimpleEditor, SimpleEditorOutputFormat, SimpleEditorProps, SimpleEditorSendPayload, SimpleFormattingOptions, SimpleToolbarButton, simpleEditorPreset } from './presets/simple-editor/index.js';
18
+ export { SlashEditor, SlashEditorProps, slashEditorPreset } from './presets/slash-editor/index.js';
19
+ export { legacyRichPreset } from './presets/legacy-rich/index.js';
21
20
 
22
21
  declare function CommandPalette({ isOpen, onClose, commands, }: {
23
22
  isOpen: boolean;
@@ -25,25 +24,27 @@ declare function CommandPalette({ isOpen, onClose, commands, }: {
25
24
  commands: CommandPaletteItem[];
26
25
  }): react_jsx_runtime.JSX.Element | null;
27
26
 
28
- declare function EmojiSuggestionMenu({ isOpen, query, position, suggestions, onClose, onExecute, }: {
27
+ declare function EmojiSuggestionMenu({ isOpen, query, position, portalContainer, suggestions, onClose, onExecute, }: {
29
28
  isOpen: boolean;
30
29
  query: string;
31
30
  position: {
32
31
  x: number;
33
32
  y: number;
34
33
  } | null;
34
+ portalContainer?: HTMLElement | null;
35
35
  suggestions: EmojiCatalogItem[];
36
36
  onClose: () => void;
37
37
  onExecute: (emoji: string) => void;
38
38
  }): react_jsx_runtime.JSX.Element | null;
39
39
 
40
- declare function SlashCommandMenu({ isOpen, query, position, commands, onClose, onExecute, }: {
40
+ declare function SlashCommandMenu({ isOpen, query, position, portalContainer, commands, onClose, onExecute, }: {
41
41
  isOpen: boolean;
42
42
  query: string;
43
43
  position: {
44
44
  x: number;
45
45
  y: number;
46
46
  } | null;
47
+ portalContainer?: HTMLElement | null;
47
48
  commands: SlashCommandItem[];
48
49
  onClose: () => void;
49
50
  onExecute: (commandId: string) => void;
@@ -240,17 +241,19 @@ declare function ModeTabs({ mode, onModeChange, labels, availableModes, isConver
240
241
  availableModes?: readonly CoreEditorMode[];
241
242
  isConverting?: CoreEditorMode | null;
242
243
  }): react_jsx_runtime.JSX.Element;
243
- declare function SourceView({ value, onChange, placeholder, className, }: {
244
+ declare function SourceView({ value, onChange, placeholder, className, wrap, }: {
244
245
  value: string;
245
246
  onChange: (value: string) => void;
246
247
  placeholder: string;
247
248
  className?: string;
249
+ wrap?: "soft" | "hard" | "off";
248
250
  }): react_jsx_runtime.JSX.Element;
249
251
 
250
252
  declare function createPresetEditorConfig(presetId: string, placeholder: string): EditorConfig;
251
253
 
252
254
  declare function formatJSONSource(input: string): string;
253
255
  declare function formatMarkdownSource(input: string): string;
256
+ declare function formatHTMLSource(input: string): string;
254
257
 
255
258
  declare function isToolbarItemSupported(itemType: ToolbarItemType, hasExtension: (name: string) => boolean): boolean;
256
259
  declare function isToolbarItemVisible(itemType: ToolbarItemType, hasExtension: (name: string) => boolean, toolbarVisibility?: ToolbarVisibility): boolean;
@@ -323,4 +326,4 @@ declare function invalidateModeCache<TMode extends string>(cache: PresetModeCach
323
326
  declare function isModeCached<TMode extends string>(cache: PresetModeCache<TMode>, mode: TMode): boolean;
324
327
  declare function markModeCached<TMode extends string>(cache: PresetModeCache<TMode>, mode: TMode): void;
325
328
 
326
- export { AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, BlockHeadingLevel, BoldIcon, Button, ChevronDownIcon, CloseIcon, CodeBlockIcon, CodeIcon, CommandIcon, CommandPalette, CoreEditorActiveStates, CoreEditorCommands, CoreEditorMode, CoreTheme, CoreToolbarClassNames, DefaultSettings, Dialog, Dropdown, EmojiIcon, EmojiSuggestionMenu, EyeIcon, FeatureFlagsLike, FeatureShortcutSpec, FileCodeIcon, FloatingToolbar, type FloatingToolbarProps, HighlighterIcon, IconButton, ImageIcon, IndentIcon, ItalicIcon, LinkHoverBubble, type LinkHoverBubbleProps, LinkIcon, ListCheckIcon, ListIcon, ListOrderedIcon, MinusIcon, ModeTabs, MoonIcon, OutdentIcon, PaletteIcon, PencilIcon, PresetModeCache, QuoteIcon, RedoIcon, SearchIcon, Select, SlashCommandMenu, SourceView, StrikethroughIcon, StyleVarRecord, StyleVarValueRecord, SubscriptIcon, SunIcon, SuperscriptIcon, TableIcon, Toolbar, ToolbarFeatureMap, ToolbarItemType, ToolbarLayout, type ToolbarProps, ToolbarStyleVars, ToolbarVisibility, TypeIcon, UnderlineIcon, UndoIcon, UnlinkIcon, UploadIcon, createDefaultSettingsStyleVarRecord, createFeatureGuardedCommands, createFloatingToolbarExtension, createModeCache, createPresetEditorConfig, filterToolbarLayout, formatJSONSource, formatMarkdownSource, invalidateModeCache, isEditableCommandTarget, isModeCached, isShortcutMatch, isToolbarItemSupported, isToolbarItemVisible, markModeCached, mergeToolbarVisibilityWithFeatures, normalizeStyleVarsKey, setFloatingToolbarContext };
329
+ export { AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, BlockHeadingLevel, BoldIcon, Button, ChevronDownIcon, CloseIcon, CodeBlockIcon, CodeIcon, CommandIcon, CommandPalette, CoreEditorActiveStates, CoreEditorCommands, CoreEditorMode, CoreTheme, CoreToolbarClassNames, DefaultSettings, Dialog, Dropdown, EmojiIcon, EmojiSuggestionMenu, EyeIcon, FeatureFlagsLike, FeatureShortcutSpec, FileCodeIcon, FloatingToolbar, type FloatingToolbarProps, HighlighterIcon, IconButton, ImageIcon, IndentIcon, ItalicIcon, LinkHoverBubble, type LinkHoverBubbleProps, LinkIcon, ListCheckIcon, ListIcon, ListOrderedIcon, MinusIcon, ModeTabs, MoonIcon, OutdentIcon, PaletteIcon, PencilIcon, PresetModeCache, QuoteIcon, RedoIcon, SearchIcon, Select, SlashCommandMenu, SourceView, StrikethroughIcon, StyleVarRecord, StyleVarValueRecord, SubscriptIcon, SunIcon, SuperscriptIcon, TableIcon, Toolbar, ToolbarFeatureMap, ToolbarItemType, ToolbarLayout, type ToolbarProps, ToolbarStyleVars, ToolbarVisibility, TypeIcon, UnderlineIcon, UndoIcon, UnlinkIcon, UploadIcon, createDefaultSettingsStyleVarRecord, createFeatureGuardedCommands, createFloatingToolbarExtension, createModeCache, createPresetEditorConfig, filterToolbarLayout, formatHTMLSource, formatJSONSource, formatMarkdownSource, invalidateModeCache, isEditableCommandTarget, isModeCached, isShortcutMatch, isToolbarItemSupported, isToolbarItemVisible, markModeCached, mergeToolbarVisibilityWithFeatures, normalizeStyleVarsKey, setFloatingToolbarContext };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {b as b$6}from'./chunk-HSXFJCQA.js';export{a as RichTextBoxEditor,b as richTextBoxPreset}from'./chunk-HSXFJCQA.js';import {b as b$7}from'./chunk-QR6IHW2C.js';export{a as SimpleTextEditor,b as simpleTextPreset}from'./chunk-QR6IHW2C.js';import {b as b$5}from'./chunk-RLHHVHV7.js';export{a as ChatWindowEditor,b as chatWindowPreset}from'./chunk-RLHHVHV7.js';import {b as b$4}from'./chunk-U3MVQLAN.js';export{a as EmailComposeEditor,b as emailComposePreset}from'./chunk-U3MVQLAN.js';import {b as b$1}from'./chunk-YI6UVUPP.js';export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'./chunk-YI6UVUPP.js';import {b as b$3}from'./chunk-TID3K24V.js';export{a as MDTextEditor,b as mdTextPreset}from'./chunk-TID3K24V.js';import {b}from'./chunk-DOJY2XR6.js';export{a as NotesEditor,b as notesPreset}from'./chunk-DOJY2XR6.js';import {b as b$2}from'./chunk-TTLFSMFF.js';export{a as NotionLikeEditor,b as notionLikePreset}from'./chunk-TTLFSMFF.js';import {Da}from'./chunk-WU54BL4Y.js';export{w as AlignCenterIcon,x as AlignJustifyIcon,v as AlignLeftIcon,y as AlignRightIcon,a as BLOCK_HEADING_LEVELS,h as BoldIcon,Y as Button,S as ChevronDownIcon,T as CloseIcon,m as CodeBlockIcon,l as CodeIcon,G as CommandIcon,U as CommandPalette,b as DEFAULT_TOOLBAR_LAYOUT,$ as Dialog,_ as Dropdown,P as EmojiIcon,V as EmojiSuggestionMenu,Ba as ExtensiveEditor,D as EyeIcon,C as FileCodeIcon,aa as FloatingToolbar,E as HighlighterIcon,X as IconButton,u as ImageIcon,K as IndentIcon,i as ItalicIcon,da as LinkHoverBubble,n as LinkIcon,q as ListCheckIcon,p as ListIcon,r as ListOrderedIcon,A as MinusIcon,ea as ModeTabs,N as MoonIcon,L as OutdentIcon,H as PaletteIcon,F as PencilIcon,J as QuoteIcon,t as RedoIcon,O as SearchIcon,Z as Select,W as SlashCommandMenu,fa as SourceView,k as StrikethroughIcon,Q as SubscriptIcon,M as SunIcon,R as SuperscriptIcon,c as TRADITIONAL_TOOLBAR_LAYOUT,B as TableIcon,la as Toolbar,I as TypeIcon,j as UnderlineIcon,s as UndoIcon,o as UnlinkIcon,z as UploadIcon,e as commandsToCommandPaletteItems,f as commandsToSlashCommandItems,sa as createDefaultSettingsStyleVarRecord,pa as createExtensiveExtensions,Ea as createExtensivePreset,wa as createFeatureGuardedCommands,ca as createFloatingToolbarExtension,xa as createModeCache,qa as extensiveExtensions,Da as extensivePreset,ka as filterToolbarLayout,ga as formatJSONSource,ha as formatMarkdownSource,d as generateCommands,ya as invalidateModeCache,ta as isEditableCommandTarget,za as isModeCached,ua as isShortcutMatch,ia as isToolbarItemSupported,ja as isToolbarItemVisible,Aa as markModeCached,va as mergeToolbarVisibilityWithFeatures,ra as normalizeStyleVarsKey,g as registerKeyboardShortcuts,ba as setFloatingToolbarContext}from'./chunk-WU54BL4Y.js';export{a as createPresetEditorConfig}from'./chunk-MDSRHDWB.js';import*as luthorHeadless from'@lyfie/luthor-headless';export{luthorHeadless as headless };export{CodeIntelligenceExtension,codeIntelligenceExtension}from'@lyfie/luthor-headless';var it={extensive:Da,"simple-text":b$7,"rich-text-box":b$6,"chat-window":b$5,"email-compose":b$4,"md-text":b$3,"notion-like":b$2,"headless-editor":b$1,notes:b};export{it as presetRegistry};
1
+ import {b as b$1}from'./chunk-PAUOCZCW.js';export{a as SlashEditor,b as slashEditorPreset}from'./chunk-PAUOCZCW.js';import {b as b$5}from'./chunk-4DOFRI6R.js';export{a as ComposeEditor,b as composePreset}from'./chunk-4DOFRI6R.js';import {b}from'./chunk-YWKRMBRS.js';export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'./chunk-YWKRMBRS.js';import {b as b$2}from'./chunk-7KHDV6HL.js';export{a as HTMLEditor,b as htmlEditorPreset}from'./chunk-7KHDV6HL.js';import {b as b$3}from'./chunk-MYQMH4OW.js';export{a as MDEditor,b as mdEditorPreset}from'./chunk-MYQMH4OW.js';import {g}from'./chunk-I7ETX4BN.js';export{f as LegacyRichEditor,g as legacyRichPreset}from'./chunk-I7ETX4BN.js';import {b as b$4}from'./chunk-QCGA72CH.js';export{a as SimpleEditor,b as simpleEditorPreset}from'./chunk-QCGA72CH.js';import {Fa}from'./chunk-LG5WRRFQ.js';export{w as AlignCenterIcon,x as AlignJustifyIcon,v as AlignLeftIcon,y as AlignRightIcon,a as BLOCK_HEADING_LEVELS,h as BoldIcon,Y as Button,S as ChevronDownIcon,T as CloseIcon,m as CodeBlockIcon,l as CodeIcon,G as CommandIcon,U as CommandPalette,b as DEFAULT_TOOLBAR_LAYOUT,$ as Dialog,_ as Dropdown,P as EmojiIcon,V as EmojiSuggestionMenu,Da as ExtensiveEditor,D as EyeIcon,C as FileCodeIcon,aa as FloatingToolbar,E as HighlighterIcon,X as IconButton,u as ImageIcon,K as IndentIcon,i as ItalicIcon,da as LinkHoverBubble,n as LinkIcon,q as ListCheckIcon,p as ListIcon,r as ListOrderedIcon,A as MinusIcon,ea as ModeTabs,N as MoonIcon,L as OutdentIcon,H as PaletteIcon,F as PencilIcon,J as QuoteIcon,t as RedoIcon,O as SearchIcon,Z as Select,W as SlashCommandMenu,fa as SourceView,k as StrikethroughIcon,Q as SubscriptIcon,M as SunIcon,R as SuperscriptIcon,c as TRADITIONAL_TOOLBAR_LAYOUT,B as TableIcon,na as Toolbar,I as TypeIcon,j as UnderlineIcon,s as UndoIcon,o as UnlinkIcon,z as UploadIcon,e as commandsToCommandPaletteItems,f as commandsToSlashCommandItems,ua as createDefaultSettingsStyleVarRecord,ra as createExtensiveExtensions,Ga as createExtensivePreset,ya as createFeatureGuardedCommands,ca as createFloatingToolbarExtension,za as createModeCache,ga as createPresetEditorConfig,sa as extensiveExtensions,Fa as extensivePreset,ma as filterToolbarLayout,ja as formatHTMLSource,ha as formatJSONSource,ia as formatMarkdownSource,d as generateCommands,Aa as invalidateModeCache,va as isEditableCommandTarget,Ba as isModeCached,wa as isShortcutMatch,ka as isToolbarItemSupported,la as isToolbarItemVisible,Ca as markModeCached,xa as mergeToolbarVisibilityWithFeatures,ta as normalizeStyleVarsKey,g as registerKeyboardShortcuts,ba as setFloatingToolbarContext}from'./chunk-LG5WRRFQ.js';import*as luthorHeadless from'@lyfie/luthor-headless';export{luthorHeadless as headless };export{CodeIntelligenceExtension,codeIntelligenceExtension}from'@lyfie/luthor-headless';var rt={extensive:Fa,compose:b$5,"simple-editor":b$4,"legacy-rich":g,"md-editor":b$3,"html-editor":b$2,"slash-editor":b$1,"headless-editor":b};export{rt as presetRegistry};
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+ import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BjlX1b8G.js';
3
+ import '@lyfie/luthor-headless';
4
+
5
+ type ComposeEditorProps = Omit<ExtensiveEditorProps, "featureFlags"> & {
6
+ featureFlags?: FeatureFlagOverrides;
7
+ compactToolbar?: boolean;
8
+ };
9
+ declare const ComposeEditor: react.ForwardRefExoticComponent<Omit<ExtensiveEditorProps, "featureFlags"> & {
10
+ featureFlags?: FeatureFlagOverrides;
11
+ compactToolbar?: boolean;
12
+ } & react.RefAttributes<ExtensiveEditorRef>>;
13
+
14
+ declare const composePreset: EditorPreset;
15
+
16
+ export { ComposeEditor, type ComposeEditorProps, composePreset };
@@ -0,0 +1 @@
1
+ export{a as ComposeEditor,b as composePreset}from'../../chunk-4DOFRI6R.js';import'../../chunk-LG5WRRFQ.js';
@@ -1,5 +1,4 @@
1
- export { E as ExtensivePresetConfig, b as FeatureShortcutSpec, T as ToolbarFeatureMap, c as createExtensivePreset, e as extensivePreset, d as extensiveToolbar } from '../../index-CUB1ColU.js';
2
- export { U as DEFAULT_FEATURE_FLAGS, m as ExtensiveEditor, n as ExtensiveEditorMode, o as ExtensiveEditorProps, p as ExtensiveEditorRef, q as ExtensiveExtensionsConfig, F as FeatureFlag, r as FeatureFlagOverrides, s as FeatureFlags, N as createExtensiveExtensions, O as extensiveExtensions, V as isFeatureEnabled, W as resolveFeatureFlags } from '../../ExtensiveEditor-B25Uedf2.js';
3
- import '../../index-BtdZVw3X.js';
1
+ export { E as ExtensivePresetConfig, b as FeatureShortcutSpec, T as ToolbarFeatureMap, c as createExtensivePreset, e as extensivePreset, d as extensiveToolbar } from '../../index-CtyjH6lX.js';
2
+ export { W as DEFAULT_FEATURE_FLAGS, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, O as createExtensiveExtensions, P as extensiveExtensions, X as isFeatureEnabled, Y as resolveFeatureFlags } from '../../index-BjlX1b8G.js';
4
3
  import '@lyfie/luthor-headless';
5
4
  import 'react';
@@ -1 +1 @@
1
- export{ma as DEFAULT_FEATURE_FLAGS,Ba as ExtensiveEditor,pa as createExtensiveExtensions,Ea as createExtensivePreset,qa as extensiveExtensions,Da as extensivePreset,Ca as extensiveToolbar,oa as isFeatureEnabled,na as resolveFeatureFlags}from'../../chunk-WU54BL4Y.js';import'../../chunk-MDSRHDWB.js';
1
+ export{oa as DEFAULT_FEATURE_FLAGS,Da as ExtensiveEditor,ra as createExtensiveExtensions,Ga as createExtensivePreset,sa as extensiveExtensions,Fa as extensivePreset,Ea as extensiveToolbar,qa as isFeatureEnabled,pa as resolveFeatureFlags}from'../../chunk-LG5WRRFQ.js';
@@ -1,12 +1,19 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as EditorPreset } from '../../index-BtdZVw3X.js';
1
+ import * as react from 'react';
2
+ import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BjlX1b8G.js';
3
3
  import '@lyfie/luthor-headless';
4
4
 
5
- type HeadlessEditorPresetProps = {
6
- className?: string;
7
- placeholder?: string;
5
+ declare const HEADLESS_EDITOR_DEFAULT_MODES: readonly ["visual", "json", "markdown", "html"];
6
+ type HeadlessEditorPresetMode = (typeof HEADLESS_EDITOR_DEFAULT_MODES)[number];
7
+ type HeadlessEditorPresetProps = Omit<ExtensiveEditorProps, "featureFlags" | "availableModes" | "initialMode" | "defaultEditorView"> & {
8
+ initialMode?: HeadlessEditorPresetMode;
9
+ defaultEditorView?: HeadlessEditorPresetMode;
10
+ featureFlags?: FeatureFlagOverrides;
8
11
  };
9
- declare function HeadlessEditorPreset({ className, placeholder }: HeadlessEditorPresetProps): react_jsx_runtime.JSX.Element;
12
+ declare const HeadlessEditorPreset: react.ForwardRefExoticComponent<Omit<ExtensiveEditorProps, "availableModes" | "featureFlags" | "initialMode" | "defaultEditorView"> & {
13
+ initialMode?: HeadlessEditorPresetMode;
14
+ defaultEditorView?: HeadlessEditorPresetMode;
15
+ featureFlags?: FeatureFlagOverrides;
16
+ } & react.RefAttributes<ExtensiveEditorRef>>;
10
17
 
11
18
  declare const headlessEditorPreset: EditorPreset;
12
19
 
@@ -1 +1 @@
1
- export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'../../chunk-YI6UVUPP.js';import'../../chunk-MDSRHDWB.js';
1
+ export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'../../chunk-YWKRMBRS.js';import'../../chunk-LG5WRRFQ.js';