/* Editor alignment is standalone: it does not depend on the toolbar. */
.mohu-rt-wrap{position:relative;min-width:0}
.mohu-rt-wrap .mohu-rt-editor[contenteditable="true"]{
 display:block!important;box-sizing:border-box;width:100%;min-height:44px;max-height:55vh;
 overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;
 outline:none;cursor:text;
 
}

.mohu-rt-editor:empty:before{content:attr(data-placeholder);opacity:.65;pointer-events:none}
.mohu-rt-editor:focus{outline:2px solid rgba(40,115,210,.42);outline-offset:1px}
.mohu-rt-editor ul,.mohu-rt-editor ol{padding-left:1.5em;margin:.3em 0}
.mohu-rt-editor a,.mohu-rt-display a{color:#1575cf;text-decoration:underline}
.mohu-rt-display{white-space:pre-wrap;overflow-wrap:anywhere}
/* Floating toolbar: separate positioning and appearance, no editor selectors. */
#mohu-rt-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:12px;z-index:2147482000;
 display:none;align-items:center;gap:2px;padding:3px 5px;max-width:min(96vw,540px);
 height:39px;overflow-x:auto;overscroll-behavior-x:contain;box-sizing:border-box;
 border:1px solid #bdcce0;border-radius:10px;background:#fff;color:#173452;
 box-shadow:0 3px 15px rgba(0,0,0,.2);scrollbar-width:none}
#mohu-rt-bar.mohu-rt-active{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#mohu-rt-bar button{flex:0 0 auto;min-width:34px;height:31px;padding:3px 7px;border:0;
 border-radius:6px;background:transparent;color:#173452;font-size:16px;font-weight:700;line-height:1;cursor:pointer}
#mohu-rt-bar button:focus-visible{outline:2px solid #2475ce}
#mohu-rt-bar button:active,#mohu-rt-bar button[aria-pressed=true]{background:#dce9fa}
@media(max-width:480px){#mohu-rt-bar{max-width:calc(100vw - 12px)}}

/* Toolbar styling is isolated from editor text alignment. */
.mohu-rt-editor:focus {caret-color:currentColor;}
