.novel-editor .ProseMirror{padding:calc(var(--spacing,.25rem)*3);padding-inline:calc(var(--spacing,.25rem)*5)}.novel-editor .ProseMirror .is-editor-empty:first-child:before,.novel-editor .ProseMirror .is-empty:before{color:hsl(var(--muted-foreground));content:attr(data-placeholder);float:left;pointer-events:none;height:0}.novel-editor .ProseMirror img{transition:filter .1s ease-in-out}.novel-editor .ProseMirror img:hover{cursor:pointer;filter:brightness(90%)}.novel-editor .ProseMirror img.ProseMirror-selectednode{filter:brightness(90%);outline:3px solid #5abbf7}.novel-editor .img-placeholder{position:relative}.novel-editor .img-placeholder:before{border:3px solid var(--novel-stone-200);border-top-color:var(--novel-stone-800);box-sizing:border-box;content:"";border-radius:50%;width:36px;height:36px;position:absolute;top:50%;left:50%}.novel-editor ul[data-type=taskList] li>label{-webkit-user-select:none;user-select:none;margin-right:.2rem}@media screen and (max-width:768px){.novel-editor ul[data-type=taskList] li>label{margin-right:.5rem}}.novel-editor ul[data-type=taskList] li>label input[type=checkbox]{appearance:none;background-color:hsl(var(--background));border:2px solid hsl(var(--border));cursor:pointer;place-content:center;width:1.2em;height:1.2em;margin:0 .3rem 0 0;display:grid;position:relative;top:5px}.novel-editor ul[data-type=taskList] li>label input[type=checkbox]:active,.novel-editor ul[data-type=taskList] li>label input[type=checkbox]:hover{background-color:hsl(var(--accent))}.novel-editor ul[data-type=taskList] li>label input[type=checkbox]:before{clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0,43% 62%);content:"";transform-origin:50%;width:.65em;height:.65em;transition:transform .12s ease-in-out;transform:scale(0);box-shadow:inset 1em 1em}.novel-editor ul[data-type=taskList] li>label input[type=checkbox]:checked:before{transform:scale(1)}.novel-editor ul[data-type=taskList] li[data-checked=true]>div>p{color:var(--muted-foreground);text-decoration:line-through;text-decoration-thickness:2px}.novel-editor .tippy-box{max-width:400px}.novel-editor .ProseMirror:not(.dragging) .ProseMirror-selectednode{background-color:var(--novel-highlight-blue);box-shadow:none;outline:none;transition:background-color .2s}.novel-editor .ProseMirror p{margin-block:calc(var(--spacing,.25rem)*0)}.novel-editor .ProseMirror h1,.novel-editor .ProseMirror h2,.novel-editor .ProseMirror h3,.novel-editor .ProseMirror h4,.novel-editor .ProseMirror h5{margin-bottom:calc(var(--spacing,.25rem)*1)}.novel-editor .drag-handle{cursor:grab;opacity:1;z-index:50;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' style='fill:rgba(255,255,255,.5)' viewBox='0 0 10 10'%3E%3Cpath d='M3 2a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2m4-8a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:calc(.5em + .375rem) calc(.5em + .375rem);border-radius:.25rem;width:1.2rem;height:1.5rem;transition:opacity .2s ease-in;position:fixed}.novel-editor .drag-handle:hover{background-color:var(--novel-stone-100);transition:background-color .2s}.novel-editor .drag-handle:active{background-color:var(--novel-stone-200);cursor:grabbing;transition:background-color .2s}.novel-editor .drag-handle.hide{opacity:0;pointer-events:none}@media screen and (max-width:600px){.novel-editor .drag-handle{pointer-events:none;display:none}}.novel-editor iframe{border:8px solid #ffd00027;border-radius:4px;outline:0 solid #0000;min-width:200px;min-height:200px;display:block}.novel-editor div[data-youtube-video]>iframe{aspect-ratio:16/9;cursor:move;width:100%}.novel-editor .ProseMirror-selectednode iframe{outline:6px solid #fbbf24;transition:outline .15s}@media only screen and (max-width:480px){.novel-editor div[data-youtube-video]>iframe{max-height:50px}}@media only screen and (max-width:720px){.novel-editor div[data-youtube-video]>iframe{max-height:100px}}.novel-editor mark[style]>strong,.novel-editor span[style]>strong{color:inherit}
