/* Illustrations only. No selectors modify .ws-art, drawing canvases or brushes. */
body.ws .ws-ill-panel{display:grid;gap:8px;padding:10px 12px;box-sizing:border-box;width:min(100%,1050px);max-width:none;position:sticky;top:5px;z-index:30;margin:8px auto;background:var(--ui);border:1px solid var(--ln);border-radius:11px;box-shadow:0 6px 20px #0003}
body.ws .ws-ill-panel[hidden]{display:none!important}
body.ws .ws-ill-panel-main{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
body.ws .ws-ill-panel-main label{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:13px}
body.ws .ws-ill-panel-main select{min-width:125px;max-width:250px}
body.ws .ws-ill-panel-main input[type=range]{width:105px}
body.ws .ws-ill-panel-main button{padding:6px 10px}
body.ws .ws-ill-panel .hint{font-size:11px;opacity:.75}
body.ws #ws-canvas, #text .ws-rich-reader{isolation:isolate}
#text .ws-rich-reader{position:relative}
body.ws #ws-canvas .ws-illustration, #text .ws-rich-reader .ws-illustration{box-sizing:border-box;max-width:100%;vertical-align:top}
body.ws #ws-canvas .ws-illustration img, #text .ws-rich-reader .ws-illustration img{display:block;width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain}
body.ws #ws-canvas .ws-illustration.ws-ill-block,#text .ws-rich-reader .ws-illustration.ws-ill-block{float:none!important;clear:both!important;display:block!important;margin:12px auto!important}
body.ws #ws-canvas .ws-illustration.ws-ill-wrap-left,#text .ws-rich-reader .ws-illustration.ws-ill-wrap-left{display:block!important;float:left!important;clear:none!important;margin:0 14px 10px 0!important}
body.ws #ws-canvas .ws-illustration.ws-ill-wrap-right,#text .ws-rich-reader .ws-illustration.ws-ill-wrap-right{display:block!important;float:right!important;clear:none!important;margin:0 0 10px 14px!important}
body.ws #ws-canvas .ws-illustration.ws-ill-wrap-left::after,body.ws #ws-canvas .ws-illustration.ws-ill-wrap-right::after,#text .ws-rich-reader .ws-illustration.ws-ill-wrap-left::after,#text .ws-rich-reader .ws-illustration.ws-ill-wrap-right::after{content:none!important;display:none!important;clear:none!important}
body.ws #ws-canvas .ws-illustration.ws-ill-background,#text .ws-rich-reader .ws-illustration.ws-ill-background{display:block!important;position:absolute!important;float:none!important;clear:none!important;margin:0!important;max-width:100%;z-index:-1;pointer-events:none}
body.ws #ws-canvas.ws-ill-background-editing .ws-illustration.ws-ill-background{pointer-events:auto;z-index:9;outline:2px dashed #d9a4e0}
body.ws #ws-canvas .ws-ill-selected:not(.ws-ill-background){outline:2px dashed #d9a4e0;outline-offset:3px;cursor:grab}
body.ws #ws-canvas .ws-ill-selected:not(.ws-ill-background)::before,body.ws #ws-canvas.ws-ill-background-editing .ws-ill-selected.ws-ill-background::before{content:'↘';position:absolute;right:0;bottom:0;width:23px;height:23px;background:#6c3657;color:#fff;border:1px solid #fff5;border-radius:5px;font:bold 17px/23px sans-serif;text-align:center;z-index:10;pointer-events:none}
body.ws #ws-canvas .ws-ill-moving{outline:2px dashed #e6bdda;opacity:.83}
@media(max-width:650px){body.ws .ws-ill-panel{position:static}.ws-ill-panel-main{align-items:stretch}.ws-ill-panel-main label{max-width:100%}}
