.md-toolbar{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:10px 12px;background:var(--bg-3);border:1px solid var(--line-strong);border-radius:var(--radius-m) var(--radius-m) 0 0}.md-toolbar .tb-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:32px;padding:0 8px;background:transparent;border:1px solid transparent;border-radius:var(--radius-s);color:var(--text-dim);font-family:var(--font-mono);font-size:13px;cursor:pointer;transition:all .15s;line-height:1}.md-toolbar .tb-btn:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.md-toolbar .tb-btn.active{color:var(--accent);background:var(--accent-soft)}.md-toolbar .tb-sep{width:1px;height:20px;background:var(--line-strong);margin:0 4px}.md-toolbar .tb-btn svg{width:16px;height:16px;fill:currentColor}.md-split{display:flex;border:1px solid var(--line-strong);border-top:none;border-radius:0 0 var(--radius-m) var(--radius-m);overflow:hidden;height:calc(100vh - 340px);min-height:360px}.md-pane{display:flex;flex-direction:column;min-width:0}.md-pane-editor,.md-pane-preview{flex:1}.md-pane-label{font-family:var(--font-mono);font-size:11px;color:var(--text-faint);letter-spacing:.08em;text-transform:uppercase;padding:8px 14px;background:var(--bg-2);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.md-editor-area{flex:1;width:100%;height:100%;background:var(--bg);color:var(--text);border:none;outline:none;resize:none;font-family:var(--font-mono);font-size:14px;line-height:1.7;padding:16px;-moz-tab-size:2;tab-size:2}.md-editor-area:focus{outline:none}.md-resize-handle{width:6px;cursor:col-resize;background:var(--bg-3);border-left:1px solid var(--line);border-right:1px solid var(--line);flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center}.md-resize-handle:after{content:"";width:3px;height:32px;border-radius:2px;background:var(--text-faint);opacity:.4}.md-preview{flex:1;overflow:auto;padding:24px;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.7}.md-preview h1{font-size:2em;font-weight:700;margin:.8em 0 .4em;padding-bottom:.3em;border-bottom:1px solid #eaecef}.md-preview h2{font-size:1.5em;font-weight:600;margin:.8em 0 .4em;padding-bottom:.3em;border-bottom:1px solid #eaecef}.md-preview h3{font-size:1.25em;font-weight:600;margin:.8em 0 .4em}.md-preview h4{font-size:1em;font-weight:600;margin:.8em 0 .4em}.md-preview h5{font-size:.875em;font-weight:600;margin:.8em 0 .4em}.md-preview h6{font-size:.85em;font-weight:600;margin:.8em 0 .4em;color:#6a737d}.md-preview p{margin:.6em 0}.md-preview strong{font-weight:700}.md-preview em{font-style:italic}.md-preview del{text-decoration:line-through;color:#6a737d}.md-preview code{background:#f6f8fa;padding:2px 6px;border-radius:3px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:.9em;color:#d73a49}.md-preview pre{background:#f6f8fa;border-radius:6px;padding:16px;overflow:auto;margin:.8em 0;line-height:1.5}.md-preview pre code{background:none;padding:0;border-radius:0;font-size:.85em;color:#24292e;line-height:1.5}.md-preview a{color:#0366d6;text-decoration:none}.md-preview a:hover{text-decoration:underline}.md-preview img{max-width:100%;border-radius:4px;margin:.4em 0}.md-preview ul,.md-preview ol{padding-left:2em;margin:.6em 0}.md-preview li{margin:.25em 0}.md-preview blockquote{border-left:4px solid #dfe2e5;padding:.4em 1em;margin:.8em 0;color:#6a737d;background:#f9fafb}.md-preview blockquote p{margin:.3em 0}.md-preview hr{border:none;border-top:1px solid #e1e4e8;margin:1.5em 0}.md-preview table{border-collapse:collapse;width:100%;margin:.8em 0}.md-preview th,.md-preview td{border:1px solid #dfe2e5;padding:8px 12px;text-align:left}.md-preview th{background:#f6f8fa;font-weight:600}.md-preview tr:nth-child(2n) td{background:#fafbfc}.md-img-toggle-label{display:inline-flex;align-items:center;gap:4px;font-family:var(--font-mono);font-size:12px;color:var(--text-dim);cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 4px}.md-img-toggle-label input[type=checkbox]{cursor:pointer;accent-color:var(--accent)}.md-img-warning{font-family:var(--font-mono);font-size:11px;color:#d97706;margin-left:4px}.md-ext-img-blocked{display:inline-block;padding:2px 8px;background:#fef3c7;color:#92400e;border:1px dashed #d97706;border-radius:4px;font-size:.85em;font-style:italic}.md-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;font-family:var(--font-mono);font-size:11px;color:var(--text-faint);padding:8px 0;min-height:28px;gap:8px}.md-status-left{display:flex;gap:16px}.md-status-right{display:flex;gap:8px}.md-fullscreen .tool-header,.md-fullscreen .nav,.md-fullscreen .ad-slot,.md-fullscreen .footer{display:none!important}.md-fullscreen .tool-page{padding:8px 12px;max-width:100%}.md-fullscreen .tool-body{padding:0;border-radius:0;border:none}.md-fullscreen .md-split{height:calc(100vh - 100px)!important}@media(max-width:768px){.md-split{flex-direction:column;height:auto}.md-pane-editor,.md-pane-preview{min-height:300px}.md-resize-handle{width:auto;height:6px;cursor:row-resize}.md-resize-handle:after{width:32px;height:3px}.md-toolbar .tb-btn{min-width:30px;height:28px;font-size:12px}}
