.rte-root{border-radius:var(--radius);border:1px solid var(--border);background-color:var(--background);position:relative}.rte-content .ProseMirror{padding:var(--spacing,.75rem);outline:0;min-height:140px}.rte-content .ProseMirror>:last-child{margin-bottom:0}.rte-content .ProseMirror p.is-editor-empty:first-of-type:before{content:attr(data-placeholder);pointer-events:none;-webkit-user-select:none;user-select:none;float:left;height:0;color:var(--muted-foreground)}.rte-content .ProseMirror p{margin-top:0;margin-bottom:.75rem;line-height:1.75}.rte-content .ProseMirror h1,.rte-content .ProseMirror h2,.rte-content .ProseMirror h3,.rte-content .ProseMirror h4,.rte-content .ProseMirror h5,.rte-content .ProseMirror h6,.rte-content .ProseMirror p{margin-top:0}.rte-content .ProseMirror h1{letter-spacing:-.025em;margin-top:1.5rem;margin-bottom:1rem;font-size:1.5rem;font-weight:700}.rte-content .ProseMirror h1:first-child{margin-top:0}.rte-content .ProseMirror h2{letter-spacing:-.025em;margin-top:1.25rem;margin-bottom:.75rem;font-size:1.25rem;font-weight:600}.rte-content .ProseMirror h2:first-child{margin-top:0}.rte-content .ProseMirror h3{margin-top:1rem;margin-bottom:.5rem;font-size:1.125rem;font-weight:600}.rte-content .ProseMirror h3:first-child{margin-top:0}.rte-content .ProseMirror h4{margin-top:.75rem;margin-bottom:.5rem;font-size:1rem;font-weight:600}.rte-content .ProseMirror h4:first-child{margin-top:0}.rte-content .ProseMirror h5{margin-top:.75rem;margin-bottom:.5rem;font-size:.875rem;font-weight:600}.rte-content .ProseMirror h5:first-child{margin-top:0}.rte-content .ProseMirror h6{margin-top:.75rem;margin-bottom:.5rem;font-size:.875rem;font-weight:500}.rte-content .ProseMirror h6:first-child{margin-top:0}.rte-content .ProseMirror ul{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:disc}.rte-content .ProseMirror ol{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:decimal}.rte-content .ProseMirror li{line-height:1.75}.rte-content .ProseMirror li>p{margin-bottom:0}.rte-content .ProseMirror ul li,.rte-content .ProseMirror ol li{margin-top:2px}.rte-content .ProseMirror blockquote{border-left:3px solid var(--border);color:var(--muted-foreground);margin-top:1rem;margin-bottom:1rem;padding-left:1rem;font-style:italic}.rte-content .ProseMirror code{background-color:var(--muted);color:var(--foreground);border-radius:calc(var(--radius) - 2px);font-family:var(--font-mono);border:1px solid color-mix(in srgb, var(--border) 50%, transparent);padding:.125rem .375rem;font-size:.875em}.rte-content .ProseMirror pre{background-color:var(--muted);color:var(--foreground);border-radius:var(--radius);border:1px solid var(--border);font-family:var(--font-mono);margin-top:1rem;margin-bottom:1rem;padding:1rem;font-size:.875rem;overflow-x:auto}.rte-content .ProseMirror pre code{color:inherit;background:0 0;border:none;padding:0;font-size:.875rem}.rte-content .ProseMirror hr{border:none;border-top:1px solid var(--border);margin-top:1.5rem;margin-bottom:1.5rem}.rte-content .ProseMirror a{color:var(--primary);text-underline-offset:4px;cursor:pointer;text-decoration:underline}.rte-content .ProseMirror a:hover{color:color-mix(in srgb, var(--primary) 80%, transparent)}.rte-content .ProseMirror ::selection{background-color:color-mix(in srgb, var(--primary) 15%, transparent)}.rte-content .ProseMirror pre .hljs-comment,.rte-content .ProseMirror pre .hljs-quote{color:var(--muted-foreground)}.rte-content .ProseMirror pre .hljs-variable,.rte-content .ProseMirror pre .hljs-template-variable,.rte-content .ProseMirror pre .hljs-attribute,.rte-content .ProseMirror pre .hljs-tag,.rte-content .ProseMirror pre .hljs-regexp,.rte-content .ProseMirror pre .hljs-link,.rte-content .ProseMirror pre .hljs-name,.rte-content .ProseMirror pre .hljs-selector-id,.rte-content .ProseMirror pre .hljs-selector-class{color:var(--primary)}.rte-content .ProseMirror pre .hljs-number,.rte-content .ProseMirror pre .hljs-meta,.rte-content .ProseMirror pre .hljs-built_in,.rte-content .ProseMirror pre .hljs-builtin-name,.rte-content .ProseMirror pre .hljs-literal,.rte-content .ProseMirror pre .hljs-type,.rte-content .ProseMirror pre .hljs-params{color:var(--destructive)}.rte-content .ProseMirror pre .hljs-string,.rte-content .ProseMirror pre .hljs-symbol,.rte-content .ProseMirror pre .hljs-bullet{color:var(--primary)}.rte-content .ProseMirror pre .hljs-title,.rte-content .ProseMirror pre .hljs-section,.rte-content .ProseMirror pre .hljs-keyword,.rte-content .ProseMirror pre .hljs-selector-tag{color:var(--accent-foreground)}.rte-content .ProseMirror pre .hljs-emphasis{font-style:italic}.rte-content .ProseMirror pre .hljs-strong{font-weight:700}.rte-toolbar{top:var(--rte-sticky-offset,0px);background-color:var(--background);z-index:1;border-bottom:1px solid var(--border);border-start-start-radius:var(--radius);border-start-end-radius:var(--radius);flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem;padding:.5rem .75rem;display:flex}.rte-toolbar[data-sticky]{position:sticky}.rte-root[data-variant=default] .rte-controls-group{align-items:center;display:flex}.rte-root[data-variant=default] .rte-controls-group>button{border:1px solid var(--border);background-color:var(--background);border-radius:0;min-width:1.625rem;height:1.625rem}.rte-root[data-variant=default] .rte-controls-group>button:not(:last-of-type){border-inline-end-width:0}.rte-root[data-variant=default] .rte-controls-group>button:first-of-type{border-start-start-radius:calc(var(--radius) - 1px);border-end-start-radius:calc(var(--radius) - 1px)}.rte-root[data-variant=default] .rte-controls-group>button:last-of-type{border-start-end-radius:calc(var(--radius) - 1px);border-end-end-radius:calc(var(--radius) - 1px)}.rte-root[data-variant=default] .rte-controls-group>button:hover,.rte-root[data-variant=default] .rte-controls-group>button[data-state=on],.rte-root[data-variant=default] .rte-controls-group>button[aria-pressed=true]{background-color:var(--accent);color:var(--accent-foreground)}.rte-root[data-variant=subtle]{border-color:#0000}.rte-toolbar--subtle{background-color:var(--muted);border-bottom:none;row-gap:0;padding:.25rem}.rte-root[data-variant=subtle] .rte-controls-group{align-items:center;display:flex}.rte-root[data-variant=subtle] .rte-controls-group>button{border-radius:calc(var(--radius) - 2px);background-color:#0000;border:none;min-width:2rem;height:2rem}.rte-root[data-variant=subtle] .rte-controls-group>button:hover,.rte-root[data-variant=subtle] .rte-controls-group>button[data-state=on],.rte-root[data-variant=subtle] .rte-controls-group>button[aria-pressed=true]{background-color:var(--accent);color:var(--accent-foreground)}.rte-root[data-variant=compact]{border-radius:var(--radius)}.rte-toolbar--compact{border-bottom:none;gap:.125rem;padding:.25rem .375rem}.rte-root[data-variant=compact] .rte-controls-group{align-items:center;display:flex}.rte-root[data-variant=compact] .rte-controls-group>button{border-radius:calc(var(--radius) - 3px);background-color:#0000;border:none;min-width:1.5rem;height:1.5rem}.rte-root[data-variant=compact] .rte-controls-group>button:hover,.rte-root[data-variant=compact] .rte-controls-group>button[data-state=on],.rte-root[data-variant=compact] .rte-controls-group>button[aria-pressed=true]{background-color:var(--accent);color:var(--accent-foreground)}.rte-root[data-variant=compact] .rte-controls-group>button svg{width:.75rem;height:.75rem}.rte-controls-group{align-items:center;display:flex}.rte-link-editor{align-items:center;gap:.25rem;display:flex}.rte-link-editor-input{flex:1;min-width:200px}.rte-link-editor-save{border-start-start-radius:0;border-end-start-radius:0}.rte-task-list{padding:0;padding-inline-start:0;list-style-type:none}.rte-task-list li{align-items:flex-start;gap:.5rem;margin:0;padding:0;display:flex}.rte-task-list li[data-checked]>div{flex:1;min-width:0}.rte-task-list ul{margin-top:5px}.rte-task-list p{margin:0;padding:0}.rte-task-list label{cursor:pointer;align-items:center;display:inline-flex}.rte-task-list input[type=checkbox]{cursor:pointer;appearance:none;border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background-color:var(--background);vertical-align:middle;flex-shrink:0;width:18px;height:18px;position:relative}.rte-task-list input[type=checkbox]:checked{background-color:var(--primary);border-color:var(--primary)}.rte-task-list input[type=checkbox]:checked:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMCA3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNCA0LjU4NkwxLjcwNyAyLjI5M0ExIDEgMCAxMC4yOTMgMy43MDdsMyAzYS45OTcuOTk3IDAgMDAxLjQxNCAwbDUtNUExIDEgMCAxMDguMjkzLjI5M0w0IDQuNTg2eiIvPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;background-size:10px;position:absolute;inset:0}
