.md_preview{padding:2rem 2.5rem!important;border:none!important;font-size:16px!important;line-height:1.75!important;color:#1a1a2e!important;max-width:900px!important;margin:0 auto!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans SC",sans-serif!important}
.md_preview h1,.md_preview h2,.md_preview h3,.md_preview h4,.md_preview h5,.md_preview h6{margin-top:1.8em!important;margin-bottom:.6em!important;font-weight:600!important;line-height:1.3!important;color:#16213e!important}
.md_preview h1{font-size:2em!important;border-bottom:2px solid #e8e8e8!important;padding-bottom:.3em!important}
.md_preview h2{font-size:1.5em!important;border-bottom:1px solid #eee!important;padding-bottom:.25em!important}
.md_preview h3{font-size:1.25em!important}
.md_preview p{margin-bottom:1em!important}
.md_preview a{color:#2563eb!important;text-decoration:none!important;border-bottom:1px solid transparent!important;transition:border-color .2s!important}
.md_preview a:hover{border-bottom-color:#2563eb!important}
.md_preview code{background:#f0f4f8!important;color:#d63384!important;padding:.15em .4em!important;border-radius:4px!important;font-size:.9em!important;font-family:"JetBrains Mono","Fira Code","SF Mono",Menlo,monospace!important}
.md_preview pre{background:#1e293b!important;color:#e2e8f0!important;padding:1.2em 1.5em!important;border-radius:8px!important;overflow-x:auto!important;margin:1.2em 0!important;line-height:1.6!important}
.md_preview pre code{background:none!important;color:inherit!important;padding:0!important;font-size:.875em!important}
.md_preview blockquote{border-left:4px solid #2563eb!important;margin:1.2em 0!important;padding:.5em 1em!important;background:#f8fafc!important;color:#475569!important;border-radius:0 6px 6px 0!important}
.md_preview table{width:100%!important;border-collapse:collapse!important;margin:1.2em 0!important;font-size:.95em!important}
.md_preview th,.md_preview td{border:1px solid #e2e8f0!important;padding:.6em 1em!important;text-align:left!important}
.md_preview th{background:#f1f5f9!important;font-weight:600!important}
.md_preview tr:nth-child(even){background:#f8fafc!important}
.md_preview img{max-width:100%!important;border-radius:8px!important;margin:1em 0!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important}
.md_preview hr{border:none!important;height:1px!important;background:linear-gradient(to right,transparent,#cbd5e1,transparent)!important;margin:2em 0!important}
.md_preview ul,.md_preview ol{padding-left:1.8em!important;margin-bottom:1em!important}
.md_preview li{margin-bottom:.3em!important}
.md_preview li>ul,.md_preview li>ol{margin-bottom:0!important;margin-top:.3em!important}
.md_preview .mermaid{display:flex!important;justify-content:center!important;margin:1.5em 0!important;padding:1em!important;background:#fafbfc!important;border-radius:8px!important}
#preview-container::-webkit-scrollbar{width:6px!important}
#preview-container::-webkit-scrollbar-thumb{background:#cbd5e1!important;border-radius:3px!important}
#preview-container::-webkit-scrollbar-track{background:transparent!important}
@media(prefers-color-scheme:dark){
.md_preview{color:#e2e8f0!important}
.md_preview h1,.md_preview h2,.md_preview h3,.md_preview h4,.md_preview h5,.md_preview h6{color:#f1f5f9!important}
.md_preview h1{border-bottom-color:#334155!important}
.md_preview h2{border-bottom-color:#1e293b!important}
.md_preview code{background:#1e293b!important;color:#f472b6!important}
.md_preview blockquote{background:#1e293b!important;color:#94a3b8!important;border-left-color:#60a5fa!important}
.md_preview th{background:#1e293b!important}
.md_preview th,.md_preview td{border-color:#334155!important}
.md_preview tr:nth-child(even){background:#0f172a!important}
.md_preview .mermaid{background:#0f172a!important}
}
