.rich-editor-column{min-width:0}.rich-editor-block-handle,.rich-editor-table-handle{-webkit-user-select:none;user-select:none}.rich-editor-prose{caret-color:hsl(var(--foreground));word-break:break-word;color:hsl(var(--foreground));--tw-prose-body:hsl(var(--foreground));--tw-prose-headings:hsl(var(--foreground));--tw-prose-lead:hsl(var(--muted-foreground));--tw-prose-links:hsl(var(--primary));--tw-prose-bold:hsl(var(--foreground));--tw-prose-counters:hsl(var(--muted-foreground));--tw-prose-bullets:hsl(var(--muted-foreground));--tw-prose-hr:hsl(var(--border));--tw-prose-quotes:hsl(var(--foreground));--tw-prose-quote-borders:hsl(var(--border));--tw-prose-captions:hsl(var(--muted-foreground));--tw-prose-code:hsl(var(--foreground));--tw-prose-th-borders:hsl(var(--border));--tw-prose-td-borders:hsl(var(--border))}.rich-editor-prose>*+*{margin-top:.6em}.rich-editor-prose .rich-editor-source-block>:first-child{margin-top:0}.rich-editor-prose .rich-editor-source-block+.rich-editor-source-block{margin-top:1em}.rich-editor-prose p.is-editor-empty:first-child:before,.rich-editor-prose .is-empty.is-editor-empty:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:hsl(var(--muted-foreground))}.rich-editor-prose code{background:hsl(var(--muted));border-radius:.3rem;padding:.1em .35em;font-size:.88em}.rich-editor-prose code:before,.rich-editor-prose code:after{content:none}.rich-editor-prose a{color:hsl(var(--primary));cursor:text;text-decoration:underline}.rich-editor-prose blockquote{border-left:3px solid hsl(var(--border));padding-left:1em;font-style:normal}.rich-editor-prose blockquote p:before,.rich-editor-prose blockquote p:after{content:none}.rich-editor-prose .rich-editor-callout blockquote,.rich-editor-prose .rich-editor-callout p{margin:.25em 0}.rich-editor-prose table{border-collapse:collapse;width:100%;margin:.75em 0}.rich-editor-prose th,.rich-editor-prose td{border:1px solid hsl(var(--border));vertical-align:top;word-break:normal;overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual;padding:.35em .6em;position:relative}.rich-editor-prose .rich-editor-cell-short{white-space:nowrap}.rich-editor-prose .rich-editor-cell-long{white-space:normal}.rich-editor-prose .tableWrapper{overflow-x:auto}.rich-editor-prose .column-resize-handle{background:hsl(var(--primary) / .5);pointer-events:none;z-index:2;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.rich-editor-prose.resize-cursor,.rich-editor-prose .resize-cursor{cursor:col-resize}.rich-editor-prose th{background:hsl(var(--muted) / .6);font-weight:600}.rich-editor-prose th p,.rich-editor-prose td p{margin:0}.rich-editor-prose .selectedCell{background:hsl(var(--primary) / .12)}.rich-editor-prose .ProseMirror-selectednode{outline:2px solid hsl(var(--primary) / .5);outline-offset:2px;border-radius:6px}.rich-editor-prose .ProseMirror-gapcursor:after{border-top-color:hsl(var(--foreground))}.rich-editor-prose li.rich-editor-task-item{list-style:none;position:relative}.rich-editor-prose li.rich-editor-task-item>.rich-editor-task-box{width:1rem;height:1rem;accent-color:hsl(var(--primary));cursor:pointer;position:absolute;top:.35em;left:-1.5em}.rich-editor-prose li.rich-editor-task-item.is-checked>p{color:hsl(var(--muted-foreground));text-decoration:line-through;-webkit-text-decoration-color:hsl(var(--muted-foreground) / .6);text-decoration-color:hsl(var(--muted-foreground) / .6)}.rich-editor-prose .rich-editor-footnote-ref{vertical-align:super;color:hsl(var(--primary));font-size:.72em;font-weight:600}.rich-editor-prose .rich-editor-footnote-def{color:hsl(var(--muted-foreground));font-weight:600}.rich-editor-find-match{background:#fbd43773;border-radius:2px}.rich-editor-find-current{background:#f9761fa6;border-radius:2px}.rich-editor-prose [data-heading-slug]{scroll-margin-top:4rem}.rich-editor-focus .rich-editor-prose>*{opacity:.28;transition:opacity .18s}.rich-editor-focus .rich-editor-prose>.has-focus{opacity:1}.rich-editor-focus .rich-editor-prose>:has(.has-focus){opacity:1}.rich-editor-focus .cm-line{opacity:.35;transition:opacity .18s}.rich-editor-focus .cm-activeLine{opacity:1}.rich-editor-source .cm-editor{min-height:60dvh}.rich-editor-source .cm-content{padding:24px 0}.rich-editor-source .cm-line{padding:0 32px}@media (max-width:639px){.rich-editor-source .cm-line{padding:0 16px}}.cm-rich-mark{color:hsl(var(--muted-foreground) / .7)}.cm-rich-h1{font-size:1.6em;font-weight:700;line-height:1.3}.cm-rich-h2{font-size:1.35em;font-weight:700;line-height:1.35}.cm-rich-h3{font-size:1.15em;font-weight:650}.cm-rich-h4,.cm-rich-h5,.cm-rich-h6{font-weight:650}.cm-rich-quote{border-left:3px solid hsl(var(--border));color:hsl(var(--muted-foreground))}.cm-rich-island-line{background:hsl(var(--muted) / .45);font-family:var(--font-mono,ui-monospace, monospace);font-size:.85em}.cm-rich-island{border:1px solid hsl(var(--border));background:hsl(var(--card) / .6);cursor:text;border-radius:8px;max-height:32rem;margin:6px 32px;padding:6px 12px;overflow:auto}.cm-rich-island:hover{border-color:hsl(var(--primary) / .5)}.cm-rich-var{border:1px solid;border-radius:5px;padding:0 2px;font-weight:500}.cm-rich-var-declared{color:#218345;background:#22c35d24;border-color:#2eb86059}.cm-rich-var-undeclared{color:#c32222;background:#eb474724;border-color:#dd3c3c59}.cm-rich-var-literal{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-color:hsl(var(--border))}.cm-rich-var-unbound{background:hsl(var(--primary) / .1);color:hsl(var(--primary));border-color:hsl(var(--primary) / .3)}.cm-rich-var-section{color:#602eb8;background:#8347eb24;border-color:#7a47d159}.dark .cm-rich-var-section{color:#c1a3f5}.cm-rich-section{background:#8347eb12;box-shadow:inset 2px 0 #7a47d173}.dark .cm-rich-var-declared{color:#85e0a6}.dark .cm-rich-var-undeclared{color:#f28c8c}.cm-rich-find{background:#fbd43773}.cm-rich-find-current{background:#f9761fa6}.rich-editor-island[data-island-type=fence] .rich-editor-island-render [data-code-snippet]{background:0 0;border:0;border-radius:0;margin:0}.rich-editor-island[data-island-type=fence] .rich-editor-island-render [data-code-snippet-header]{display:none}.rich-editor-visual .ProseMirror .placeholder{color:hsl(var(--muted-foreground))}.rich-editor-prose h1,.rich-editor-prose h2,.rich-editor-prose h3{font-family:var(--font-heading);color:var(--rich-editor-heading-color,var(--color-blue-500));line-height:1.4}.rich-editor-prose h1{margin:1rem 0 .5rem;font-size:1.25rem;font-weight:700}.rich-editor-prose h2{margin:.75rem 0 .375rem;font-size:1.125rem;font-weight:600}.rich-editor-prose h3{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600}.rich-editor-prose>h1:first-child,.rich-editor-prose>h2:first-child{margin-top:0}.rich-editor-prose ul,.rich-editor-prose ol{margin:0 0 .75rem;padding-left:1.5rem;line-height:1.625}.rich-editor-prose li,.rich-editor-prose li p{margin:0}.rich-editor-island[data-island-type=fence] .rich-editor-island-render [data-code-snippet] pre,.rich-editor-island[data-island-type=fence] .rich-editor-island-render [data-code-snippet] code{background:0 0}.rich-editor-prose .rich-editor-section{background:#8347eb12;border-radius:2px;padding-left:6px;box-shadow:inset 2px 0 #7a47d173}.rich-editor-prose .rich-editor-section-inline{background:#8347eb1a;border-radius:3px}.rich-editor-flow .rich-editor-prose{min-height:0;padding:0;font-size:.875rem;line-height:1.625}.rich-editor-flow .rich-editor-prose>:not(h1,h2,h3,h4,h5,h6){margin-top:0}.rich-editor-flow .rich-editor-prose p{letter-spacing:.025em;margin:0 0 .5rem;font-size:.875rem;line-height:1.625}.rich-editor-flow .rich-editor-prose li{margin:0 0 .25rem;font-size:.875rem;line-height:1.25rem}.rich-editor-flow .rich-editor-prose li p{letter-spacing:normal;margin:0;line-height:1.25rem}.rich-editor-flow .rich-editor-prose>:last-child{margin-bottom:0}.rich-editor-flow.rich-editor-source .cm-editor{min-height:0}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose,[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose p,[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose li{letter-spacing:normal;font-size:.75rem;line-height:1.5}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose p{margin:0 0 .375rem}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose li p{margin:0}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose h1{margin:.625rem 0 .25rem;font-size:.9375rem}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose h2{margin:.5rem 0 .25rem;font-size:.875rem}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose :is(h3,h4,h5,h6){margin:.5rem 0 .25rem;font-size:.8125rem}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose :is(ul,ol){margin:0 0 .375rem;padding-left:1.25rem}[data-rich-editor-text=xs] .rich-editor-flow .rich-editor-prose>[data-md-source-block]:first-child>:first-child{margin-top:0}.rich-editor-flow.rich-editor-source .cm-content{padding:4px 0}.rich-editor-flow.rich-editor-source .cm-line{padding:0}.rich-editor-prose .rich-editor-xml-section-body>[data-md-source-block]:first-child>:first-child,.rich-editor-prose .rich-editor-xml-section-body>:first-child{margin-top:0}.rich-editor-prose .rich-editor-xml-section-body>[data-md-source-block]:last-child>:last-child,.rich-editor-prose .rich-editor-xml-section-body>:last-child{margin-bottom:0}.rich-editor-flow .rich-editor-island:not(.rich-editor-reference){background:0 0;border-color:#0000;margin:0 0 .75rem}.rich-editor-flow .rich-editor-island:not(.rich-editor-reference):hover,.rich-editor-flow .rich-editor-island:not(.rich-editor-reference):focus-within{outline:1px solid hsl(var(--border));outline-offset:2px}.rich-editor-flow .rich-editor-island:not(.rich-editor-reference)>div:first-child{z-index:10;border:1px solid hsl(var(--border));background:hsl(var(--card));max-width:calc(100% - .5rem);min-height:0;box-shadow:0 1px 2px hsl(var(--foreground) / .08);opacity:0;pointer-events:none;border-radius:.375rem;transition:opacity .12s;position:absolute;top:.25rem;right:.25rem}.rich-editor-flow .rich-editor-island:not(.rich-editor-reference):hover>div:first-child,.rich-editor-flow .rich-editor-island:not(.rich-editor-reference):focus-within>div:first-child,.rich-editor-flow .rich-editor-island.ProseMirror-selectednode>div:first-child,.rich-editor-flow .ProseMirror-selectednode .rich-editor-island>div:first-child,.rich-editor-flow .rich-editor-island.ring-1>div:first-child{opacity:1;pointer-events:auto}.rich-editor-flow .rich-editor-island:not(.rich-editor-reference)>div:last-child{max-height:none;padding:0;overflow:visible}.rich-editor-flow .rich-editor-prose>p:last-child:not(:first-child):not(.has-focus):has(>br.ProseMirror-trailingBreak:only-child){height:0;margin:0;overflow:hidden}.rich-editor-flow .rich-editor-prose h1,.rich-editor-flow .rich-editor-prose h2{line-height:1.75rem}.rich-editor-flow .rich-editor-prose h3{line-height:1.5rem}.rich-editor-flow .rich-editor-reference{flex-wrap:nowrap}.rich-editor-flow .rich-editor-reference>[data-island-body]{flex:1;order:0}.rich-editor-flow .rich-editor-reference>:not([data-island-body]){z-index:10;background:hsl(var(--card));opacity:0;pointer-events:none;border-radius:.375rem;transition:opacity .12s;position:absolute;top:50%;transform:translateY(-50%)}.rich-editor-flow .rich-editor-reference>:first-child:not([data-island-body]){background:0 0;left:-1.25rem}.rich-editor-flow .rich-editor-reference>:last-child:not([data-island-body]){right:.25rem}.rich-editor-flow .rich-editor-reference:hover>:not([data-island-body]),.rich-editor-flow .rich-editor-reference:focus-within>:not([data-island-body]),.rich-editor-flow .rich-editor-reference.ring-1>:not([data-island-body]),.rich-editor-flow .ProseMirror-selectednode .rich-editor-reference>:not([data-island-body]){opacity:1;pointer-events:auto}
