.markdown-editor{--editor-background: var(--background);--editor-foreground: var(--foreground);--editor-muted: var(--muted);--editor-muted-foreground: var(--muted-foreground);--editor-selection: var(--accent);--editor-selection-focus: var(--accent);--editor-font-family: "Geist Mono Variable", ui-monospace, monospace;--editor-padding: 3rem 1.5rem;--editor-code-font-family: "Geist Mono Variable", ui-monospace, monospace;--editor-code-background: var(--muted);--editor-code-keyword: var(--muted-foreground);--editor-code-atom: var(--muted-foreground);--editor-code-number: var(--muted-foreground);--editor-code-string: var(--foreground);--editor-code-variable: var(--foreground);--editor-code-type: var(--muted-foreground);--editor-code-comment: var(--muted-foreground);--editor-code-property: var(--foreground);--editor-code-operator: var(--muted-foreground);--editor-code-function: var(--foreground);--editor-code-definition: var(--foreground)}.markdown-editor .cm-selectionBackground{background-color:var(--brand-subtle)!important}.markdown-editor .cm-cursor-primary{border-left:2px solid var(--brand)!important}.markdown-editor .cm-cursor-secondary{border-left:2px solid var(--chart-2)!important}:root{--screen-keyboard-bottom-inset: 0px;--screen-keyboard-top-offset: 0px;--screen-keyboard-transition-duration: .22s;--screen-keyboard-transition-easing: cubic-bezier(.215, .61, .355, 1)}.markdown-editor{--toolbar-height: 48px;position:fixed;top:calc(var(--toolbar-height) + env(safe-area-inset-top));left:0;right:0;bottom:0;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);display:flex;flex-direction:column;background:var(--editor-background);color:var(--editor-foreground)}.editor-toolbar{transition:padding-top var(--screen-keyboard-transition-duration) var(--screen-keyboard-transition-easing),left .2s ease-in,right .2s ease-in}.editor-floating-actions{transition:bottom var(--screen-keyboard-transition-duration) var(--screen-keyboard-transition-easing),right .2s ease-in;will-change:bottom}@media(min-width:768px){.markdown-editor{transition:padding-left .2s ease-in,padding-right .2s ease-in}.group\/sidebar-wrapper[data-left-sidebar-open=true] .markdown-editor:not(.theme-workbench-editor){padding-left:calc(var(--left-sidebar-width) + env(safe-area-inset-left))}.group\/sidebar-wrapper[data-right-sidebar-open=true] .markdown-editor:not(.theme-workbench-editor){padding-right:calc(var(--right-sidebar-width) + env(safe-area-inset-right))}.editor-toolbar{transition:padding-top var(--screen-keyboard-transition-duration) var(--screen-keyboard-transition-easing),left .2s ease-in,right .2s ease-in}.group\/sidebar-wrapper[data-left-sidebar-open=true] .editor-toolbar{left:var(--left-sidebar-width)}.group\/sidebar-wrapper[data-right-sidebar-open=true] .editor-toolbar{right:var(--right-sidebar-width)}}.markdown-editor>div:first-child{flex:1;min-height:0;overflow:hidden}.markdown-editor .cm-editor{height:100%}.markdown-editor .cm-scroller{overflow:auto!important;overscroll-behavior:contain;padding-bottom:calc(30dvh + var(--screen-keyboard-bottom-inset, 0px) + env(safe-area-inset-bottom));padding-top:var(--find-panel-height, 0px);transition:padding-bottom var(--screen-keyboard-transition-duration) var(--screen-keyboard-transition-easing)}.markdown-editor .cm-tooltip.cm-tooltip-autocomplete{width:min(28rem,calc(100vw - 2rem));padding:.25rem;overflow:hidden;color:var(--popover-foreground);font-family:ui-sans-serif,system-ui,sans-serif;font-size:.875rem;background:var(--popover);border:0;border-radius:var(--radius);box-shadow:0 0 0 1px var(--border),0 12px 32px color-mix(in srgb,black 18%,transparent)}.markdown-editor .cm-tooltip-autocomplete>ul{max-height:min(22rem,calc(100dvh - 8rem))!important;padding:0}.markdown-editor .cm-tooltip-autocomplete>ul>li{display:flex;min-height:2.75rem;align-items:center;gap:.75rem;padding:.625rem .75rem;border-radius:calc(var(--radius) - .25rem)}.markdown-editor .cm-tooltip-autocomplete>ul>li[aria-selected]{color:var(--accent-foreground);background:var(--accent)}.markdown-editor .cm-completionIcon{display:none}.markdown-editor .cm-completionLabel{min-width:0;overflow:hidden;font-weight:500;text-overflow:ellipsis}.markdown-editor .cm-completionDetail{min-width:0;margin-left:auto;overflow:hidden;color:var(--muted-foreground);font-size:.75rem;font-style:normal;text-overflow:ellipsis}.markdown-editor.theme-workbench-editor{--editor-content-width: 100%;--editor-padding: 1rem;--editor-code-keyword: var(--chart-1);--editor-code-atom: var(--chart-2);--editor-code-number: var(--chart-3);--editor-code-string: var(--chart-4);--editor-code-type: var(--chart-2);--editor-code-comment: var(--muted-foreground);--editor-code-property: var(--chart-5);--editor-code-operator: var(--chart-2);--editor-code-function: var(--chart-1);--editor-code-definition: var(--chart-1);--editor-syntax: var(--chart-2);position:relative;inset:auto;min-width:0;min-height:0;padding:0}.markdown-editor.theme-workbench-editor .cm-content{width:100%;margin:0}.markdown-editor .cm-tooltip-autocomplete>ul>li[aria-selected] .cm-completionDetail{color:color-mix(in srgb,var(--accent-foreground) 70%,transparent)}@media(prefers-reduced-motion:reduce){.markdown-editor .cm-scroller,.editor-toolbar,.editor-floating-actions{transition:none}}@media(max-width:767px){.markdown-editor{--editor-padding: 1rem 1rem}}:root[data-strikethrough-done-tasks=true] .cm-task-done-line{text-decoration:line-through}:root[data-fade-done-tasks=true] .cm-task-done-line{opacity:.5}:root[data-highlight-current-line=true]{--editor-active-line-bg: rgba(0, 0, 0, .03)}:root.dark[data-highlight-current-line=true]{--editor-active-line-bg: rgba(255, 255, 255, .03)}:root[data-focus-mode=true] .cm-line:not(.cm-activeLine){opacity:.3;transition:opacity .15s ease}:root[data-focus-mode=true] .cm-line.cm-activeLine{opacity:1}.cm-comment-range{background:color-mix(in srgb,var(--color-brand, #2563eb) 18%,transparent);border-bottom:1px solid color-mix(in srgb,var(--color-brand, #2563eb) 65%,transparent);cursor:pointer}.cm-comment-range-resolved{background:color-mix(in srgb,var(--muted-foreground) 12%,transparent);border-bottom-color:color-mix(in srgb,var(--muted-foreground) 45%,transparent)}.cm-comment-range-selected{background:color-mix(in srgb,var(--color-brand, #2563eb) 30%,transparent);box-shadow:inset 0 -2px 0 var(--color-brand, #2563eb)}.cm-comment-position{display:inline-block;width:.5rem;height:1rem;margin-inline:.125rem;vertical-align:-.125rem;background:color-mix(in srgb,var(--color-brand, #2563eb) 70%,transparent);cursor:pointer}.markdown-editor .cm-selectionMatch{background-color:transparent;outline:1px solid var(--brand);outline-offset:-1px}
