.content-editor{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);overflow:hidden}.content-editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus)}.content-editor-toolbar{border-bottom:1px solid var(--border);background:var(--surface-muted);flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;display:flex}.content-editor-toolbar .icon-button{width:32px;height:32px}.content-editor-toolbar .icon-button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:inset 0 0 0 1px var(--border)}.content-editor-divider{background:var(--border);width:1px;height:20px;margin:0 6px}.content-editor-select{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);height:30px;color:var(--text);padding:0 6px;font-size:12px}.content-editor-color input{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);cursor:pointer;width:30px;height:30px;padding:2px}.content-editor-file{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);height:30px;color:var(--text);cursor:pointer;padding:0 10px;font-size:12px}.content-editor-body{outline:none;min-height:180px;max-height:46vh;padding:12px 14px;font-size:14px;line-height:1.6;overflow-y:auto}.content-editor-loading{background:var(--surface-muted)}.content-editor-body p.is-editor-empty:first-child:before,.content-editor-body:empty:before{content:attr(data-placeholder);color:var(--text-muted);float:left;pointer-events:none;height:0}.content-editor-body>:first-child{margin-top:0}.content-editor-body p,.content-view p{margin:0 0 8px}.content-editor-body h2,.content-view h2{margin:12px 0 6px;font-size:18px;font-weight:650}.content-editor-body h3,.content-view h3{margin:10px 0 4px;font-size:15px;font-weight:650}.content-editor-body ul,.content-editor-body ol,.content-view ul,.content-view ol{margin:0 0 8px;padding-left:22px}.content-editor-body img,.content-view img{border-radius:var(--radius-control);max-width:100%;height:auto;margin:6px 0;display:block}.content-editor-body img.ProseMirror-selectednode{outline:2px solid var(--accent)}.content-editor-body a,.content-view a{color:var(--accent);text-decoration:underline}.content-editor-body blockquote,.content-view blockquote{border-left:3px solid var(--border);color:var(--text-muted);margin:8px 0;padding-left:12px}.content-view{overflow-wrap:anywhere;font-size:14px;line-height:1.6}
