:root[data-theme],:root:not([data-theme]){--ed-bg-canvas:var(--lotus-background);--ed-bg-surface:var(--lotus-background);--ed-bg-elevated:var(--lotus-background);--ed-bg-muted:var(--lotus-surface);--ed-bg-hover:var(--lotus-accent-soft);--ed-bg-active:var(--lotus-accent-soft);--ed-bg-selected:color-mix(in srgb, var(--site-action) 12%, var(--lotus-background));--ed-info-soft:color-mix(in srgb, var(--ed-info) 8%, var(--lotus-background));--ed-success:var(--site-action);--ed-success-soft:color-mix(in srgb, var(--ed-success) 8%, var(--lotus-background));--ed-warning-soft:color-mix(in srgb, var(--ed-warning) 8%, var(--lotus-background));--ed-danger-soft:color-mix(in srgb, var(--ed-danger) 8%, var(--lotus-background));--ed-text:var(--lotus-text-strong);--ed-text-muted:var(--lotus-text-muted);--ed-border:var(--lotus-border-muted);--ed-border-subtle:var(--lotus-border-subtle);--ed-accent:var(--site-action);--ed-accent-hover:var(--site-action);--ed-accent-active:var(--site-action);--ed-accent-soft:color-mix(in srgb, var(--site-action) 8%, var(--lotus-background));--ed-font-family-sans:var(--lotus-font-sans)}:root[data-theme=dark]{--ed-info:#7dd3fc;--ed-warning:#fcd34d;--ed-danger:#fca5a5}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--ed-info:#7dd3fc;--ed-warning:#fcd34d;--ed-danger:#fca5a5}}#try-editor{scroll-margin-top:2rem}.editor-demo{border:1px solid var(--lotus-border-muted);background:var(--lotus-background);color:var(--lotus-text-strong);text-align:start;box-shadow:0 1rem 3rem -1.5rem color-mix(in srgb, var(--lotus-text-strong) 18%, transparent);border-radius:.75rem;font-size:.875rem;line-height:1.5;display:block;position:relative}.editor-demo [hidden]{display:none!important}.editor-demo button{cursor:pointer;justify-content:center;align-items:center;gap:.5rem;display:inline-flex}.editor-demo button:disabled{cursor:default;opacity:.5}.editor-demo :where(button,input,textarea,summary):focus-visible{outline:2px solid var(--site-action);outline-offset:2px}.editor-demo :where(button) svg{flex-shrink:0;width:1rem;height:1rem}.editor-demo-header,.editor-demo-controls{border-bottom:1px solid var(--lotus-border-subtle);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.editor-demo-header{background:var(--lotus-surface);border-radius:.75rem .75rem 0 0}.editor-demo-file{align-items:center;gap:.75rem;min-width:0;display:flex}.editor-demo-file img{flex-shrink:0}.editor-demo-profile{color:var(--lotus-text-muted);border-inline-start:1px solid var(--lotus-border-muted);padding-inline-start:.75rem;font-size:.75rem}.editor-demo-header button{color:var(--lotus-text-muted);white-space:nowrap;border-radius:.375rem;padding:.375rem .5rem;font-size:.75rem}.editor-demo :where([data-reset],[data-sidebar-toggle]):hover{background:var(--lotus-accent-soft);color:var(--lotus-text-strong)}.editor-demo-controls{padding-block:.5rem}.editor-demo-modes{background:var(--lotus-surface);border-radius:.5rem;padding:.25rem;display:flex}.editor-demo-modes button,.editor-demo [data-sidebar-toggle]{white-space:nowrap;border-radius:.375rem;padding:.375rem .625rem;font-size:.75rem}.editor-demo-modes button[aria-pressed=true]{background:var(--lotus-background);color:var(--site-action);box-shadow:0 1px 3px color-mix(in srgb, var(--lotus-text-strong) 12%, transparent)}.editor-demo [data-sidebar-toggle][aria-expanded=true]{color:var(--site-action)}.editor-demo-workarea{height:36rem;display:flex}.editor-demo-document{flex:1;min-width:0;position:relative}.editor-demo [data-visual-panel],.editor-demo-source-panel{flex-direction:column;height:100%;min-height:0;display:flex}.editor-demo-scroll{overscroll-behavior:contain;border-end-start-radius:.75rem;flex:1;overflow:auto}.editor-demo-content{padding:2rem 3rem 3rem}.editor-demo-content .ed-content{min-height:24rem}.editor-demo-source-hint{color:var(--lotus-text-muted);padding:.75rem 1rem;font-size:.75rem}.editor-demo-source-editor{background:0 0;flex:1;min-height:0;overflow:auto}.editor-demo-source-editor .cm-editor{min-height:100%;color:var(--lotus-text-strong);font-family:var(--lotus-font-sans);background:0 0;border:0;border-radius:0;font-size:1rem;line-height:2}.editor-demo-source-editor .cm-scroller{font-family:var(--lotus-font-sans);padding:1rem 1.5rem 2rem;font-size:1rem;line-height:2;overflow:visible}.editor-demo-source-editor .cm-content{min-height:60dvh;caret-color:var(--site-action);padding:0}.editor-demo-source-editor .cm-gutters{display:none}.editor-demo-source-editor .cm-line{padding-inline:0}.editor-demo-source-editor .cm-source-heading-1{font-size:1.5rem;line-height:2.5}.editor-demo-source-editor .cm-source-heading-2{font-size:1.25rem;line-height:2.25}.editor-demo-source-editor .cm-source-heading-3{font-size:1.125rem;line-height:2}.editor-demo-source-editor .cm-source-heading{font-weight:600;text-decoration:none}.editor-demo-source-editor .cm-source-strong{font-weight:600}.editor-demo-source-editor .cm-source-emphasis{font-style:italic}.editor-demo-source-editor .cm-source-strikethrough{text-decoration:line-through}.editor-demo-source-editor .cm-source-marker{color:var(--lotus-text-muted)}.editor-demo-source-editor .cm-source-link{color:var(--site-action);text-decoration:none}.editor-demo-source-editor .cm-source-monospace,.editor-demo-source-editor .cm-source-frontmatter,.editor-demo-source-editor .cm-source-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem}.editor-demo-source-editor .cm-source-frontmatter,.editor-demo-source-editor .cm-source-code{background:color-mix(in srgb, var(--lotus-surface) 60%, transparent);padding-inline:1rem;line-height:1.75}.editor-demo-source-editor .cm-source-frontmatter{color:var(--lotus-text-muted)}.editor-demo-source-editor .cm-source-html,.editor-demo-source-editor .cm-source-table{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem}.editor-demo-source-editor .cm-source-quote{border-inline-start:2px solid color-mix(in srgb, var(--site-action) 25%, transparent);color:var(--lotus-text-muted);padding-inline-start:1rem}.editor-demo-source-editor .cm-selectionBackground,.editor-demo-source-editor .cm-editor.cm-focused .cm-selectionBackground{background:var(--lotus-accent-soft)}.editor-demo-source-editor .cm-focused{outline:none}.editor-demo-source{resize:none;width:100%;min-height:0;color:var(--lotus-text-strong);tab-size:2;overscroll-behavior:contain;background:0 0;border:0;flex:1;padding:1rem 1.5rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8125rem;line-height:1.75}.editor-demo-properties{border-inline-start:1px solid var(--lotus-border-subtle);overscroll-behavior:contain;border-end-end-radius:.75rem;flex:0 0 20rem;min-width:0;padding:0;overflow-y:auto}.editor-demo-properties fieldset{border:0;min-width:0;margin:0;padding:0}.editor-demo-properties label{margin-top:1.25rem;font-size:.8125rem;font-weight:500;display:block}.editor-demo-properties :where(input:not([type=checkbox]),textarea,select){border:1px solid var(--lotus-border-muted);background:var(--lotus-background);width:100%;color:var(--lotus-text-strong);font:inherit;border-radius:.375rem;margin-top:.5rem;padding:.5rem .625rem;font-weight:400;display:block}.editor-demo-properties textarea{resize:vertical}.editor-demo-properties .editor-demo-check{align-items:center;gap:.75rem;display:flex}.editor-demo-check input{appearance:none;background:var(--lotus-border-muted);cursor:pointer;border:0;border-radius:9999px;flex-shrink:0;width:2rem;height:1.125rem;margin:0;padding:.125rem}.editor-demo-check input:before{content:"";background:var(--lotus-background);border-radius:9999px;width:.875rem;height:.875rem;display:block}.editor-demo-check input:checked{background:var(--site-action)}.editor-demo-check input:checked:before{transform:translate(.875rem)}.editor-demo-properties details{border-top:1px solid var(--lotus-border-subtle);margin-top:1.5rem;padding-top:1.25rem}.editor-demo-properties summary{color:var(--lotus-text-muted);font-size:.75rem}.editor-demo-error{color:var(--ed-danger,#c93c37);margin:0;padding:.75rem 1rem;font-size:.75rem}.editor-demo-loading{z-index:1;background:var(--lotus-background);color:var(--lotus-text-muted);align-content:center;justify-items:center;gap:1rem;display:grid;position:absolute;inset:0}.editor-demo-loading button{border:1px solid var(--lotus-border-muted);color:var(--site-action);border-radius:.5rem;padding:.5rem 1rem}.editor-demo-caption{color:var(--lotus-text-muted);flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;margin-top:1rem;font-size:.75rem;line-height:1.75;display:flex}@media (width<=899px){.editor-demo-profile{display:none}.editor-demo-content{padding:1.5rem 2.5rem 2.5rem}.editor-demo-properties{flex-basis:18rem}}@media (width<=639px){.editor-demo-header,.editor-demo-controls{padding-inline:.75rem}.editor-demo-file{gap:.5rem;font-size:.75rem}.editor-demo [data-sidebar-toggle] span,.editor-demo-reset-label{display:none}.editor-demo-content{padding-inline:2rem 1rem}.editor-demo-workarea{height:32rem}.editor-demo[data-sidebar-open=true] .editor-demo-document{display:none}.editor-demo-properties{border-inline-start:0;flex-basis:100%}.editor-demo-source,.editor-demo-properties :where(input,textarea){font-size:1rem}}.editor-demo-history{flex:1;align-items:center;gap:.25rem;display:flex}.editor-demo-history button{color:var(--lotus-text-muted);border-radius:.375rem;padding:.375rem}.editor-demo-history button:hover:enabled{color:var(--lotus-text-strong);background:var(--lotus-accent-soft)}.editor-demo-sidebar-tabs{z-index:1;border-bottom:1px solid var(--lotus-border-subtle);background:var(--lotus-background);justify-content:flex-start;gap:.5rem;padding:0 .75rem;display:flex;position:sticky;top:0}.editor-demo-sidebar-tabs button{white-space:nowrap;color:var(--lotus-text-muted);border-bottom:2px solid #0000;flex-shrink:0;padding:1rem .25rem .875rem;font-size:.75rem}.editor-demo-sidebar-tabs button[aria-selected=true]{color:var(--site-action);border-bottom-color:var(--site-action)}.editor-demo [data-sidebar-panel]{padding:0 1rem 1.25rem}.editor-demo-panel-note{color:var(--lotus-text-muted);margin:1rem 0;font-size:.75rem;line-height:1.75}.editor-demo-source-notice{padding-inline:1rem}.editor-demo-outline{padding-top:1rem;list-style:none}.editor-demo-outline button{text-align:start;border-inline-start:1px solid var(--lotus-border-subtle);width:100%;color:var(--lotus-text-muted);margin-block:.125rem;padding:.5rem .75rem;font-size:.8125rem;display:block}.editor-demo-outline button[data-level="3"]{padding-inline-start:1.5rem}.editor-demo-outline button:is([data-level="4"],[data-level="5"],[data-level="6"]){padding-inline-start:2.25rem}.editor-demo-outline button:hover,.editor-demo-outline button[aria-current=location]{color:var(--site-action);background:var(--ed-accent-soft);border-inline-start-color:var(--site-action)}.editor-demo-navigation-heading{align-items:start;gap:.5rem;display:flex}.editor-demo-navigation-heading .editor-demo-panel-note{flex:1}.editor-demo [data-navigation-undo]{color:var(--lotus-text-muted);margin-top:1rem;padding:.375rem}.editor-demo-properties .editor-demo-navigation-group{border:0;margin-top:1rem;padding-top:0}.editor-demo-navigation-group summary{color:var(--lotus-text-strong);align-items:center;gap:.5rem;padding-block:.375rem;font-size:.8125rem;font-weight:500;display:flex}.editor-demo-auto{background:var(--lotus-surface);border:1px solid var(--lotus-border-subtle);color:var(--lotus-text-muted);border-radius:.25rem;padding:0 .25rem;font-size:.625rem;font-weight:400}.editor-demo-directory{color:var(--lotus-text-muted);margin-block:.25rem .5rem;font-family:ui-monospace,monospace;font-size:.6875rem}.editor-demo-navigation-group ul{border-inline-start:1px solid var(--lotus-border-subtle);padding-inline-start:.375rem;list-style:none;position:relative}.editor-demo-navigation-page{border-radius:.375rem;align-items:center;gap:.375rem;min-height:2.5rem;margin-block:.25rem;padding:.375rem .25rem;font-size:.75rem;display:flex;position:relative}.editor-demo-navigation-page>svg{flex-shrink:0;width:.875rem;height:.875rem}.editor-demo-navigation-page:hover{background:var(--lotus-surface)}.editor-demo-navigation-page[aria-current=page]{color:var(--site-action);background:var(--ed-accent-soft)}.editor-demo-navigation-page[data-drag-source]{opacity:.4}.editor-demo-navigation-label{overflow-wrap:anywhere;flex:1;min-width:0}.editor-demo-navigation-grip{touch-action:none;color:var(--lotus-text-muted);cursor:grab!important}.editor-demo-navigation-end{inset-inline:.375rem 0;border:1px dashed var(--lotus-border-muted);border-radius:.25rem;height:1rem;font-size:0;display:none;position:absolute;bottom:-1rem}.editor-demo [data-dragging] .editor-demo-navigation-end{display:block}.editor-demo [data-drop]:after{content:"";background:var(--site-action);pointer-events:none;height:2px;position:absolute;inset-inline:0}.editor-demo [data-drop=before]:after{top:-2px}.editor-demo [data-drop=after]:after{bottom:-2px}.editor-demo-navigation-order{border-top:1px solid var(--lotus-border-subtle);color:var(--lotus-text-muted);justify-content:space-between;gap:.75rem;margin-top:1.25rem;padding-top:.75rem;font-size:.6875rem;display:flex}.editor-demo-navigation-group summary>svg{flex-shrink:0;width:.875rem;height:.875rem}.editor-demo-navigation-group[open] summary>svg{transform:rotate(90deg)}.editor-demo-header-actions{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.editor-demo-header .editor-demo-review-button{background:var(--site-action);color:var(--lotus-background);padding:.5rem .75rem;font-weight:500}.editor-demo-review-button>span{align-items:center;display:inline-flex}.editor-demo-review{overscroll-behavior:contain;border-radius:0 0 .75rem .75rem;height:40rem;padding:1.5rem;overflow:auto}.editor-demo-review-heading h2{font-size:1.125rem;font-weight:600}.editor-demo-review-heading>p{color:var(--lotus-text-muted);margin-top:.5rem;font-size:.8125rem}.editor-demo-review-summary{color:var(--lotus-text-muted);flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin-top:1.25rem;font-size:.75rem;display:flex}.editor-demo-review-files{gap:1.25rem;margin-top:1.5rem;display:grid}.editor-demo-diff-file{border:1px solid var(--lotus-border-subtle);border-radius:.5rem;min-width:0;overflow:hidden}.editor-demo-diff-file summary{background:var(--lotus-surface);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;font-size:.75rem;display:flex}.editor-demo-diff-file summary code{overflow-wrap:anywhere}.editor-demo-diff-stats{white-space:nowrap;gap:.5rem;font-family:ui-monospace,monospace;display:flex}.editor-demo-diff-added{color:var(--ed-success)}.editor-demo-diff-removed{color:var(--ed-danger)}.editor-demo-diff-scroll{overflow-x:auto}.editor-demo-diff-scroll table{border-collapse:collapse;width:100%;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;line-height:1.75}.editor-demo-diff-scroll td{vertical-align:top;padding:0 .5rem}.editor-demo-diff-number{text-align:right;width:3rem;color:var(--lotus-text-muted);user-select:none;border-inline-end:1px solid var(--lotus-border-subtle)}.editor-demo-diff-sign{user-select:none;width:1.5rem}.editor-demo-diff-content{white-space:pre;min-width:16rem}.editor-demo-diff-scroll [data-diff-line=added]{background:var(--ed-success-soft)}.editor-demo-diff-scroll [data-diff-line=removed]{background:var(--ed-danger-soft)}.editor-demo-diff-hunk{background:var(--lotus-surface);color:var(--lotus-text-muted)}.editor-demo-diff-hunk td{padding:.375rem 1rem}.editor-demo-diff-scroll [data-diff-line=note]{color:var(--lotus-text-muted);font-style:italic}.editor-demo-navigation-more{color:var(--lotus-text-muted);border-radius:.25rem;padding:.25rem}.editor-demo-navigation-more:hover{background:var(--lotus-accent-soft)}.editor-demo-navigation-menu{border:1px solid var(--lotus-border-muted);background:var(--lotus-background);width:10rem;color:var(--lotus-text-strong);box-shadow:var(--ed-shadow-md);border-radius:.5rem;margin:0;padding:.25rem;position:fixed;inset:auto}.editor-demo-navigation-menu:popover-open{gap:.125rem;display:grid}.editor-demo-navigation-menu button{border-radius:.25rem;justify-content:flex-start;padding:.5rem .75rem;font-size:.8125rem}.editor-demo-navigation-menu button:enabled:hover{background:var(--lotus-surface)}@media (width<=639px){.editor-demo-review-label{display:none!important}.editor-demo-review{height:36rem;padding:1rem}.editor-demo-header .editor-demo-review-button{padding:.5rem}.editor-demo-diff-file summary{padding:.625rem}}.editor-demo-field-hint{color:var(--lotus-text-muted);margin-top:.375rem;font-size:.75rem;font-weight:400;display:block}.editor-demo-tags-list{flex-wrap:wrap;gap:.375rem;margin-top:.5rem;display:flex}.editor-demo-tag{background:var(--lotus-surface);color:var(--lotus-text-muted);border-radius:.375rem;align-items:center;gap:.375rem;padding:.25rem .5rem;font-size:.75rem;font-weight:400;display:inline-flex}.editor-demo-tag button{color:inherit;background:0 0;border:0;padding:0}.editor-demo-tag button svg{width:.75rem;height:.75rem}
