.ProseMirror{padding:0 6px;border:1px solid var(--border-color);border-radius:4px}.prose-editor *,.prose-editor *:before,.prose-editor *:after{box-sizing:inherit}.prose-editor{box-sizing:border-box;position:relative;max-width:120ch;min-width:40ch;flex-grow:1;--_t: var(--prose-editor-typographic, #ccc)}.prose-editor>textarea{display:none!important}.prose-menubar{font-size:14px;background:var(--body-bg);display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:2px}.prose-menubar__dropdown{display:flex;>span{border-radius:4px}>div{display:none;position:absolute;background:var(--body-bg);z-index:1}&:hover>div{display:flex}}.prose-menubar__group{display:flex}.prose-menubar__button{cursor:pointer;padding:0 .25em;min-width:2em;transition:all .25s;border:1px solid var(--border-color);text-align:center;display:inline-flex;position:relative}.prose-menubar__button--heading .level{position:absolute;right:3px;bottom:2px;font-size:80%}.prose-menubar__button:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.prose-menubar__button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.prose-menubar__button+.prose-menubar__button{border-left:none}.prose-menubar__button.material-icons{padding:0 .125em;min-width:auto}.prose-menubar__button:hover{filter:brightness(110%)}.prose-menubar__button.active{background-color:var(--primary)}.prose-menubar__button.disabled{background:var(--border-color);filter:brightness(100%);cursor:not-allowed;opacity:.3}.prose-editor-dialog{background:var(--body-bg);color:var(--body-fg);border:1px solid var(--border-color)}.prose-editor-dialog label{display:block}label:empty:has(+.prose-editor){display:none}.prose-editor-nbsp{background:var(--_t);box-shadow:0 2px 0 0 var(--_t),0 -2px 0 0 var(--_t)}.prose-editor-shy{background:var(--_t);box-shadow:0 2px 0 1px var(--_t),0 -2px 0 1px var(--_t)}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}
