.ed{border:2px solid var(--ink);background:var(--card)}.ed-bar{border-bottom:1px solid var(--rule);z-index:5;background:#eeeeec;flex-wrap:wrap;align-items:center;gap:2px;padding:6px;display:flex;position:sticky;top:0}.ed-bar button{cursor:pointer;color:var(--ink);white-space:nowrap;background:0 0;border:1px solid #0000;padding:5px 9px;font-size:13px;font-weight:600}.ed-bar button:hover{border-color:var(--ink);background:#fff}.ed-bar button.on{background:var(--ink);color:#fff}.ed-sep{background:#c9c9c7;width:1px;height:20px;margin:0 5px}.ed-views{gap:2px;margin-left:auto;padding-left:8px;display:flex}.ed-body{min-height:520px;display:grid}.ed-split{grid-template-columns:1fr 1fr}.ed-write,.ed-preview{grid-template-columns:1fr}.ed-body textarea{resize:vertical;width:100%;height:100%;min-height:520px;font-family:var(--font-plex-mono),ui-monospace,monospace;color:var(--ink);background:#fff;border:0;padding:16px 18px;font-size:14px;line-height:1.7}.ed-body textarea:focus{outline:2px solid var(--accent);outline-offset:-2px}.ed-body .ed-preview{background:var(--paper);border-left:1px solid var(--rule);max-height:80vh;padding:18px 22px;display:block;overflow:auto}.ed-body.ed-preview>.ed-preview{border-left:0}.ed-preview .body{max-width:680px;font-size:16.5px}.ed-preview .body>p:first-of-type:first-letter{float:none;font:inherit;color:inherit;padding:0}.ed-empty{color:var(--muted);font-size:14px}.ed-foot{border-top:1px solid var(--rule);font-family:var(--font-plex-mono),ui-monospace,monospace;color:var(--muted);flex-wrap:wrap;gap:4px 18px;padding:7px 12px;font-size:11.5px;display:flex}.ed-hint{margin-left:auto}.ed-full{z-index:50;flex-direction:column;display:flex;position:fixed;inset:0}.ed-full .ed-body{flex:1;min-height:0}.ed-full .ed-body textarea{resize:none;min-height:0}.ed-full .ed-body .ed-preview{max-height:none}@media (max-width:900px){.ed-split{grid-template-columns:1fr}.ed-body .ed-preview{border-left:0;border-top:1px solid var(--rule)}.ed-hint{display:none}}
