.md2html-wrapper{display:flex;flex-direction:column;gap:1rem}.md2html-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.md2html-toolbar-left,.md2html-toolbar-right{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.md2html-panels{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:stretch}@media (max-width: 991.98px){.md2html-panels{grid-template-columns:1fr}}.md2html-panel{display:flex;flex-direction:column;background:var(--bi-surface);border:1px solid var(--bi-border);border-radius:.75rem;overflow:hidden}.md2html-panel-header{display:flex;justify-content:space-between;align-items:center;padding:.5rem .9rem;border-bottom:1px solid var(--bi-border);font-size:.875rem;font-weight:600;color:var(--bi-text-muted)}.md2html-badge{font-size:.75rem;font-weight:500;color:var(--bi-text-muted);background:var(--bi-surface-2);border-radius:999px;padding:.15rem .6rem;white-space:nowrap}.md2html-textarea{flex:1;min-height:460px;width:100%;resize:vertical;border:none;outline:none;background:var(--bi-surface);color:var(--bi-text);font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.875rem;line-height:1.7;padding:.9rem 1rem}.md2html-textarea::placeholder{color:var(--bi-text-muted)}.md2html-result-body{position:relative;flex:1;min-height:460px;max-height:560px;overflow:auto}.md2html-preview{min-height:100%;padding:1rem 1.25rem;background:var(--bi-surface);color:var(--bi-text)}.md2html-preview .vditor-reset{padding:0;margin:0;background:transparent}.md2html-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:420px;color:var(--bi-text-muted);font-size:.9rem}.md2html-empty .bi{font-size:2rem;opacity:.6}.md2html-source{margin:0;min-height:100%;padding:1rem 1.25rem;background:var(--bi-surface-2);color:var(--bi-text);font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.8rem;line-height:1.6;white-space:pre;word-break:break-all}.md2html-source code{color:inherit;background:none;padding:0;font-size:inherit}.md2html-view-btn{color:var(--bi-text-muted);border-color:var(--bi-border);background:var(--bi-surface)}.md2html-view-btn.active{color:#fff;background:var(--brand);border-color:var(--brand)}@media (max-width: 991.98px){.md2html-textarea{min-height:300px}.md2html-result-body{min-height:320px;max-height:none}}
