.rt-root{--rt-bg:#fff;--rt-bg-toolbar:#f1f5f9;--rt-bg-hover:#e2e8f0;--rt-text-primary:#0f172a;--rt-text-muted:#64748b;--rt-border-subtle:#00000014;--rt-border-medium:#cbd5e1;--rt-accent:#0d9488;--rt-accent-dim:#0d94881f;--rt-radius-sm:6px;background:var(--rt-bg);height:100%;min-height:0;color:var(--rt-text-primary);flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.rt-toolbar{z-index:2;background:var(--rt-bg-toolbar);border-bottom:1px solid var(--rt-border-medium);-webkit-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;gap:4px;padding:6px;display:flex;position:sticky;top:0}.rt-btn{border:1px solid var(--rt-border-medium);background:var(--rt-bg);border-radius:var(--rt-radius-sm);min-width:30px;height:30px;color:var(--rt-text-primary);cursor:pointer;-webkit-tap-highlight-color:transparent;padding:0 6px;font-size:14px;font-weight:600}.rt-btn:active{background:var(--rt-bg-hover)}.rt-btn.is-active{border-color:var(--rt-accent);background:var(--rt-accent-dim);color:var(--rt-accent)}.rt-select{border:1px solid var(--rt-border-medium);background:var(--rt-bg);border-radius:var(--rt-radius-sm);height:30px;color:var(--rt-text-primary);padding:0 4px;font-size:13px}.rt-swatch{cursor:pointer;border:1px solid #94a3b8;border-radius:50%;width:22px;height:22px;padding:0}.rt-swatch.is-active{outline:2px solid var(--rt-accent);outline-offset:1px}.rt-sep{background:var(--rt-border-medium);width:1px;height:22px;margin:0 2px}.rt-tokens{background:var(--rt-bg-toolbar);border-bottom:1px solid var(--rt-border-medium);-webkit-user-select:none;user-select:none;flex-wrap:wrap;gap:4px;padding:0 6px 6px;display:flex}.rt-token-btn{background:var(--rt-bg);height:26px;color:var(--rt-text-muted);cursor:pointer;border:1px dashed #94a3b8;border-radius:13px;padding:0 10px;font-size:11px}.rt-content{flex:1;min-height:0;overflow-y:auto}.rt-content .tiptap{min-height:140px;color:var(--rt-text-primary);-webkit-user-select:text;user-select:text;outline:none;padding:14px;font-size:15px;line-height:1.5}.rt-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#94a3b8;float:left;pointer-events:none;height:0}.rt-content .tiptap ul,.rt-content .tiptap ol{padding-left:22px}.rt-content .tiptap span[data-token]{background:var(--rt-accent-dim);color:var(--rt-text-primary);white-space:nowrap;border:1px dashed #94a3b8;border-radius:10px;padding:0 6px;font-size:.85em;display:inline-block}