.rte{border:1px solid var(--dt-border);background:var(--dt-elevated);border-radius:8px;width:100%;margin-top:6px;overflow:hidden}.rte:focus-within{border-color:var(--dt-green);box-shadow:0 0 0 3px var(--dt-green-dim)}.rte-toolbar{border-bottom:1px solid var(--dt-border);background:var(--dt-panel);flex-wrap:wrap;gap:3px;padding:6px;display:flex}.rte-tool{width:30px;height:30px;color:var(--dt-muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.rte-tool:hover:not(:disabled){background:var(--dt-elevated);color:var(--dt-text)}.rte-tool.active{background:var(--dt-violet-dim);color:var(--dt-violet)}.rte-tool:disabled{opacity:.35}.rte-tool svg{width:15px;height:15px}.rte .tiptap{min-height:var(--rte-height);color:var(--dt-text);outline:0;padding:12px;font-size:14px;line-height:1.6}.rte .tiptap>:first-child{margin-top:0}.rte .tiptap>:last-child{margin-bottom:0}.rte .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--dt-muted);pointer-events:none}.rte .tiptap h2{letter-spacing:0;font-size:19px;line-height:1.3}.rte .tiptap ul,.rte .tiptap ol{padding-left:24px}.rte .tiptap blockquote{border-left:3px solid var(--dt-violet);color:var(--dt-muted);margin:10px 0;padding:4px 12px}.rte .tiptap pre{background:var(--dt-bg);border-radius:7px;padding:11px;font:12px Roboto Mono,monospace;overflow:auto}.rte .tiptap a{color:var(--dt-violet)}
