/* v30: Handles overlay the selected image; never saved in chapter HTML. */
#rich-editor,#note-editor{position:relative}
.rw30-image-selection{position:absolute;z-index:9;box-sizing:border-box;pointer-events:none;border:2px solid #73b9ff;box-shadow:0 0 0 1px #102b52bb}
.rw30-image-selection[hidden]{display:none!important}
.rw30-handle{position:absolute;box-sizing:border-box;width:12px;height:12px;padding:0!important;border:1px solid #fff!important;border-radius:2px;background:#4595e8!important;box-shadow:0 0 0 1px #195083;pointer-events:auto;touch-action:none;cursor:nwse-resize}
.rw30-handle:hover,.rw30-handle:focus-visible{background:#d6ecff!important;outline:2px solid #437bea;outline-offset:2px}
.rw30-handle-nw{left:0;top:0;transform:translate(-50%,-50%);cursor:nwse-resize}
.rw30-handle-n{left:50%;top:0;transform:translate(-50%,-50%);cursor:ns-resize}
.rw30-handle-ne{right:0;top:0;transform:translate(50%,-50%);cursor:nesw-resize}
.rw30-handle-e{right:0;top:50%;transform:translate(50%,-50%);cursor:ew-resize}
.rw30-handle-se{right:0;bottom:0;transform:translate(50%,50%);cursor:nwse-resize}
.rw30-handle-s{left:50%;bottom:0;transform:translate(-50%,50%);cursor:ns-resize}
.rw30-handle-sw{left:0;bottom:0;transform:translate(-50%,50%);cursor:nesw-resize}
.rw30-handle-w{left:0;top:50%;transform:translate(-50%,-50%);cursor:ew-resize}
.rw30-image-size{position:absolute;left:50%;top:-34px;transform:translateX(-50%);background:#1b2736;color:#f1f7ff;border:1px solid #6c95bd;border-radius:4px;padding:2px 8px;line-height:22px;white-space:nowrap;font:12px/22px system-ui,sans-serif;pointer-events:none}
body.rw30-resizing-image,body.rw30-resizing-image *{user-select:none!important}
#rich-content img,#note-content img{max-width:100%;height:auto}
