.mdxeditor.custom-editor{--baseBg:transparent;--basePageBg:hsl(var(--heroui-divider));--baseTextContrast:"white";--baseBorder:hsl(var(--heroui-divider));--baseBorderHover:hsl(var(--heroui-divider));--baseBgActive:hsl(var(--heroui-divider))}.custom-editor .mdxeditor-toolbar,.mdxeditor-toolbar{border:1px solid hsl(var(--heroui-divider));color:hsl(var(--heroui-foreground));background:hsl(var(--heroui-content1));border-radius:1rem;position:sticky;top:4.5rem;z-index:40}.custom-editor .mdxeditor-root-contenteditable,[role=dialog] [contenteditable]{margin-top:.5rem;background:hsl(var(--heroui-divider));border-radius:.5rem;padding:1rem}.link-editor{display:inline;white-space:normal;line-height:1em;align-items:center;gap:.125rem;color:var(--purple);>div,[contenteditable],[contenteditable] p{display:inline;white-space:normal}>div{border-bottom:2px solid var(--purple)}[contenteditable]{display:inline;padding:.125rem;background:transparent;transition:background .2s;color:inherit}.link-button{padding:.25rem .35rem;color:inherit;border-radius:.25rem;cursor:pointer;display:inline}&[aria-expanded=true],.link-button:hover{background:hsla(var(--heroui-primary)/.1)}&.link-editor-phrase-link{color:hsl(var(--heroui-primary));>div{border-bottom-color:hsl(var(--heroui-primary))}&[aria-expanded=true] .link-button,.link-button:hover{background:hsla(var(--heroui-primary)/.2)}}&.link-editor-topic{color:hsl(var(--heroui-secondary));>div{border-bottom-color:hsl(var(--heroui-secondary))}&[aria-expanded=true] .link-button,.link-button:hover{background:hsla(var(--heroui-secondary)/.2)}}}