/* PVPGRAM V7 — inline editor icons, mouse resizing and responsive images. */
.rich-wrapper-v2{position:relative;max-width:100%;min-width:0;overflow:hidden}
.rich-wrapper-v2 .rich-toolbar{gap:5px;padding:8px}
.rich-wrapper-v2 .rich-toolbar button{min-width:31px;min-height:33px;padding:6px;border:1px solid transparent}
.rich-wrapper-v2 .rich-toolbar button:hover,.rich-wrapper-v2 .rich-toolbar button:focus-visible{background:#eaddfb;border-color:#c6a1eb;outline:none}
.v7-editor-svg{width:18px;height:18px;display:block;flex:none;stroke:currentColor;fill:none}
.rich-wrapper-v2 .v7-image-tools{display:inline-flex;align-items:center;gap:4px;background:#e9ddfb;border:1px solid #dbc4f2;border-radius:9px;padding:4px}
.rich-wrapper-v2 .v7-size-control{display:inline-flex;align-items:center;gap:6px;margin-left:4px;white-space:nowrap;color:#452067;font-size:11px;font-weight:700;max-width:220px}
.rich-wrapper-v2 .v7-size-control input[type=range]{appearance:auto;width:95px;min-width:70px;border:0;background:transparent;padding:0;margin:0;accent-color:#812cb6;box-shadow:none;cursor:ew-resize}
.rich-wrapper-v2 .v7-size-control output{width:34px;text-align:right;font-variant-numeric:tabular-nums}
.rich-wrapper-v2 .v7-size-control input:disabled{opacity:.4;cursor:not-allowed}
.rich-wrapper-v2 .rich-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
.rich-wrapper-v2 .rich-content img{height:auto!important;max-width:100%!important;object-fit:contain;cursor:pointer;box-sizing:border-box;transition:width .03s linear}
.rich-wrapper-v2 .rich-content img[data-width="20"],.prose img[data-width="20"],.sv-editor-body img[data-width="20"]{width:20%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="25"],.prose img[data-width="25"],.sv-editor-body img[data-width="25"]{width:25%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="30"],.prose img[data-width="30"],.sv-editor-body img[data-width="30"]{width:30%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="35"],.prose img[data-width="35"],.sv-editor-body img[data-width="35"]{width:35%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="40"],.prose img[data-width="40"],.sv-editor-body img[data-width="40"]{width:40%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="45"],.prose img[data-width="45"],.sv-editor-body img[data-width="45"]{width:45%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="50"],.prose img[data-width="50"],.sv-editor-body img[data-width="50"]{width:50%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="55"],.prose img[data-width="55"],.sv-editor-body img[data-width="55"]{width:55%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="60"],.prose img[data-width="60"],.sv-editor-body img[data-width="60"]{width:60%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="65"],.prose img[data-width="65"],.sv-editor-body img[data-width="65"]{width:65%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="70"],.prose img[data-width="70"],.sv-editor-body img[data-width="70"]{width:70%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="75"],.prose img[data-width="75"],.sv-editor-body img[data-width="75"]{width:75%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="80"],.prose img[data-width="80"],.sv-editor-body img[data-width="80"]{width:80%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="85"],.prose img[data-width="85"],.sv-editor-body img[data-width="85"]{width:85%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="90"],.prose img[data-width="90"],.sv-editor-body img[data-width="90"]{width:90%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="95"],.prose img[data-width="95"],.sv-editor-body img[data-width="95"]{width:95%!important;height:auto!important;}
.rich-wrapper-v2 .rich-content img[data-width="100"],.prose img[data-width="100"],.sv-editor-body img[data-width="100"]{width:100%!important;height:auto!important;}

.rich-wrapper-v2 .rich-content img[data-align="center"]{float:none;display:block;margin:12px auto}
.rich-wrapper-v2 .rich-content img[data-align="left"]{float:left;max-width:48%!important;margin:9px 15px 10px 0}
.rich-wrapper-v2 .rich-content img[data-align="right"]{float:right;max-width:48%!important;margin:9px 0 10px 15px}
.rich-wrapper-v2 .rich-content img.editor-selected-image{outline:3px solid #9334ca;outline-offset:2px;box-shadow:0 0 0 5px #edd7ff}
.v7-resize-handle{position:absolute;z-index:12;display:grid;place-items:center;min-width:27px!important;width:27px!important;height:27px!important;min-height:27px!important;padding:0!important;background:#7726b5!important;color:#fff!important;border:2px solid #fff!important;border-radius:8px!important;cursor:nwse-resize!important;box-shadow:0 3px 10px #350d55aa;touch-action:none;user-select:none}
.v7-resize-handle[hidden]{display:none!important}
.v7-resize-handle .v7-editor-svg{width:15px;height:15px}
.v7-catalog-status{padding:10px 13px;border-radius:9px;background:#f3eafb;color:#61228e;font-weight:800}
@media(max-width:700px){
 .rich-wrapper-v2 .rich-toolbar{gap:4px;padding:6px}
 .rich-wrapper-v2 .rich-image-tools{flex-wrap:wrap;max-width:100%;min-width:0}
 .rich-wrapper-v2 .v7-size-control{flex:1 0 100%;justify-content:flex-start;margin:3px 0 0}
 .rich-wrapper-v2 .v7-size-control input[type=range]{flex:1;max-width:180px}
 .rich-wrapper-v2 .rich-content img[data-align="left"],.rich-wrapper-v2 .rich-content img[data-align="right"]{float:none;max-width:100%!important;margin:11px auto}
}
