.markdown-editor{--editor-bg: var(--background);--editor-text: var(--foreground);--editor-border: var(--border);--editor-accent: var(--primary);height:100%;display:flex;flex-direction:column;background:var(--editor-bg)}.markdown-editor-content{flex:1;overflow-y:auto;padding:1rem 1.5rem;font-family:ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.7;color:var(--editor-text)}.markdown-editor-content:focus{outline:none}.markdown-editor-content [data-slate-editor]{outline:none;min-height:100%}.markdown-editor-content h1{font-size:2rem;font-weight:700;margin-top:1.5rem;margin-bottom:1rem;line-height:1.3;border-bottom:1px solid var(--editor-border);padding-bottom:.5rem}.markdown-editor-content h2{font-size:1.5rem;font-weight:600;margin-top:1.25rem;margin-bottom:.75rem;line-height:1.35}.markdown-editor-content h3{font-size:1.25rem;font-weight:600;margin-top:1rem;margin-bottom:.5rem}.markdown-editor-content h4,.markdown-editor-content h5,.markdown-editor-content h6{font-size:1rem;font-weight:600;margin-top:.75rem;margin-bottom:.5rem}.markdown-editor-content p{margin-bottom:.75rem}.markdown-editor-content a{color:var(--editor-accent);text-decoration:underline;text-underline-offset:2px}.markdown-editor-content a:hover{opacity:.8}.markdown-editor-content code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.875em;padding:.125rem .375rem;background:hsl(var(--muted));border-radius:.25rem}.markdown-editor-content pre{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.875rem;line-height:1.6;background:hsl(var(--muted) / .5);border:1px solid var(--editor-border);border-radius:.5rem;padding:1rem;margin:1rem 0;overflow-x:auto}.markdown-editor-content pre code{padding:0;background:transparent;border-radius:0}.markdown-editor-content blockquote{border-left:4px solid var(--editor-accent);padding-left:1rem;margin:1rem 0;color:hsl(var(--muted-foreground));font-style:italic}.markdown-editor-content ul,.markdown-editor-content ol{padding-left:1.5rem;margin:.5rem 0}.markdown-editor-content li{margin:.25rem 0}.markdown-editor-content ul{list-style-type:disc}.markdown-editor-content ol{list-style-type:decimal}.markdown-editor-content li>ul,.markdown-editor-content li>ol{margin:0}.markdown-editor-content hr{border:none;border-top:1px solid var(--editor-border);margin:1.5rem 0}.markdown-editor-content img{max-width:100%;height:auto;border-radius:.5rem;margin:1rem 0}.markdown-editor-content table{border-collapse:collapse;width:100%;margin:1rem 0}.markdown-editor-content th,.markdown-editor-content td{border:1px solid var(--editor-border);padding:.5rem .75rem;text-align:left}.markdown-editor-content th{background:hsl(var(--muted) / .5);font-weight:600}.markdown-editor-content ::-moz-selection{background:hsl(var(--primary) / .3)}.markdown-editor-content ::selection{background:hsl(var(--primary) / .3)}.markdown-editor-content [data-slate-placeholder]{color:hsl(var(--muted-foreground));opacity:.5}.markdown-editor-content strong{font-weight:700}.markdown-editor-content em{font-style:italic}.markdown-editor-content del,.markdown-editor-content s{text-decoration:line-through;opacity:.7}.markdown-editor-saving{position:absolute;bottom:1rem;right:1rem;background:hsl(var(--background) / .9);border:1px solid var(--editor-border);padding:.25rem .75rem;border-radius:.375rem;font-size:.75rem;color:hsl(var(--muted-foreground));-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
