.rte-wrapper{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));overflow:hidden}.rte-wrapper.rte-disabled{opacity:.6;pointer-events:none}.rte-toolbar{border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted));flex-wrap:wrap;gap:1px;padding:4px;display:flex}.rte-toolbar button{width:28px;height:28px;color:hsl(var(--foreground));cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:13px;font-weight:600;transition:background .15s;display:inline-flex}.rte-toolbar button:hover{background:hsl(var(--accent))}.rte-toolbar button.is-active{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.rte-toolbar button svg{width:15px;height:15px}.rte-divider{background:hsl(var(--border));align-self:center;width:1px;height:20px;margin:4px 3px}.rte-editor{color:hsl(var(--foreground));outline:none;min-height:80px;padding:8px 12px;font-size:14px;line-height:1.5}.rte-editor:focus{outline:none}.rte-editor p{margin:0 0 .5rem}.rte-editor p:last-child{margin-bottom:0}.rte-editor h1{margin:.75rem 0 .25rem;font-size:1.25rem;font-weight:700;line-height:1.3}.rte-editor h2{margin:.6rem 0 .25rem;font-size:1.1rem;font-weight:700;line-height:1.3}.rte-editor h3{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600;line-height:1.3}.rte-editor strong{font-weight:700}.rte-editor em{font-style:italic}.rte-editor s{text-decoration:line-through}.rte-editor code{background:hsl(var(--muted));border-radius:.25rem;padding:.125rem .25rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.875em}.rte-editor pre{background:hsl(var(--muted));border-radius:.375rem;margin:.5rem 0;padding:.75rem;overflow-x:auto}.rte-editor pre code{background:0 0;padding:0;font-size:.8125rem}.rte-editor ul{margin:.25rem 0;padding-left:1.5rem;list-style:outside}.rte-editor ol{margin:.25rem 0;padding-left:1.5rem;list-style:decimal}.rte-editor li{margin:.125rem 0}.rte-editor li p{margin:0}.rte-editor blockquote{border-left:3px solid hsl(var(--border));color:hsl(var(--muted-foreground));margin:.5rem 0;padding-left:.75rem;font-style:italic}.rte-editor hr{border:none;border-top:1px solid hsl(var(--border));margin:.75rem 0}.rte-editor a{color:#256af4;cursor:pointer;text-decoration:underline}.dark .rte-editor a{color:#66b3ff}.rte-editor ul[data-type=taskList]{padding-left:0;list-style:none}.rte-editor ul[data-type=taskList] li{align-items:flex-start;gap:.375rem;margin:.25rem 0;display:flex}.rte-editor ul[data-type=taskList] li label{cursor:pointer;flex-shrink:0;align-items:center;margin-top:2px;display:inline-flex}.rte-editor ul[data-type=taskList] li label input[type=checkbox]{width:14px;height:14px;accent-color:hsl(var(--primary));cursor:pointer;margin:0}.rte-editor ul[data-type=taskList] li[data-checked=true]>div>p{color:hsl(var(--muted-foreground));text-decoration:line-through}.rte-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:hsl(var(--muted-foreground));pointer-events:none;height:0}.rte-content-view{color:hsl(var(--foreground));font-size:14px;line-height:1.5}.rte-content-view p{margin:0 0 .5rem}.rte-content-view p:last-child{margin-bottom:0}.rte-content-view h1{margin:.75rem 0 .25rem;font-size:1.25rem;font-weight:700}.rte-content-view h2{margin:.6rem 0 .25rem;font-size:1.1rem;font-weight:700}.rte-content-view h3{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600}.rte-content-view strong{font-weight:700}.rte-content-view em{font-style:italic}.rte-content-view code{background:hsl(var(--muted));border-radius:.25rem;padding:.125rem .25rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.875em}.rte-content-view pre{background:hsl(var(--muted));border-radius:.375rem;padding:.75rem;overflow-x:auto}.rte-content-view pre code{background:0 0;padding:0}.rte-content-view ul{padding-left:1.5rem;list-style:outside}.rte-content-view ol{padding-left:1.5rem;list-style:decimal}.rte-content-view li{margin:.125rem 0}.rte-content-view blockquote{border-left:3px solid hsl(var(--border));color:hsl(var(--muted-foreground));margin:.5rem 0;padding-left:.75rem;font-style:italic}.rte-content-view hr{border:none;border-top:1px solid hsl(var(--border));margin:.75rem 0}.rte-content-view a{color:#256af4;text-decoration:underline}.dark .rte-content-view a{color:#66b3ff}.rte-content-view ul[data-type=taskList]{padding-left:0;list-style:none}.rte-content-view ul[data-type=taskList] li{align-items:flex-start;gap:.375rem;margin:.25rem 0;display:flex}.rte-content-view ul[data-type=taskList] li label input[type=checkbox]{width:14px;height:14px;accent-color:hsl(var(--primary));margin:0}
