.task-editor-tools{position:relative;margin:8px 0}.task-editor-tools>button{border:0;background:transparent;color:var(--muted);padding:3px 7px;font-size:20px}.task-editor-menu{position:absolute;top:32px;left:0;width:min(235px,100%);max-width:75vw;max-height:65vh;overflow:auto;padding:6px;z-index:10;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 25px #0002;background:var(--surface,#fff)}.task-editor-menu button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:10px;font-size:12px}.task-editor-menu button:hover{background:var(--soft)}.task-editor-menu button span{width:20px;color:var(--muted)}.task-rich-editor{min-height:180px;outline:0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.task-rich-editor:empty:before{content:'Digite o conteúdo ou use / para o menu';color:var(--muted);pointer-events:none}.task-rich-editor h1{font-size:25px}.task-rich-editor h2{font-size:21px}.task-rich-editor h3{font-size:17px}.task-rich-editor p{color:inherit}.task-rich-editor blockquote{border-left:3px solid var(--accent);padding-left:14px;margin-left:0;color:var(--muted)}.task-rich-editor hr{border:0;border-top:1px solid var(--border);margin:18px 0}.task-rich-editor [data-check]{padding-left:26px;position:relative}.task-rich-editor [data-check]:before{content:'☐';position:absolute;left:0;color:var(--muted);cursor:pointer}.task-rich-editor [data-check=true]:before{content:'☑';color:var(--accent)}.task-rich-editor [data-check=true]{text-decoration:line-through;color:var(--muted)}.task-editor-links button{display:block;border:0;color:var(--accent);background:transparent;font-size:12px;padding:8px 0}

.task-editor-wrap{position:relative;padding-left:25px;margin-top:15px}.task-editor-wrap>.task-editor-tools{position:absolute;inset:0 auto 0 0;width:23px;margin:0;pointer-events:none}.task-editor-tools>button[data-line]{position:absolute;left:0;pointer-events:auto;margin:0;padding:0;width:22px;height:25px;line-height:25px;font-size:18px;opacity:.45}.task-editor-tools>button[data-line]:hover,.task-editor-tools>button.current-line{opacity:1;color:var(--accent)}.task-rich-editor>p:first-child,.task-rich-editor>div:first-child,.task-rich-editor>h1:first-child,.task-rich-editor>h2:first-child,.task-rich-editor>h3:first-child{margin-top:0}.task-rich-editor p{margin-top:0;margin-bottom:8px;min-height:24px}.task-editor-wrap .task-editor-menu{pointer-events:auto}
.task-rich-editor [data-check]{min-height:25px}
