/* V7 — Editor científico monocromático. Figuras independentes do texto. */
#postBodyEditor,.article-body-rich,.enm-word-preview-frame{position:relative;}
.enm7-figure{display:block;box-sizing:border-box;vertical-align:middle;max-width:100%;isolation:isolate;overflow:visible;line-height:0;cursor:grab;user-select:none;touch-action:none;}
.enm7-figure img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;margin:0!important;border:0!important;user-select:none;pointer-events:auto;}
#postBodyEditor .enm7-figure:hover{outline:1px dashed #888;outline-offset:3px;}
#postBodyEditor .enm7-figure.enm7-selected{outline:2px solid #222;outline-offset:3px;}
.enm7-selection-frame{position:fixed;z-index:2147483620;pointer-events:none;border:1px dashed #444;box-sizing:border-box;}
.enm7-selection-frame[hidden],.enm7-figure-toolbar[hidden]{display:none!important;}
.enm7-resize-corner{position:absolute;pointer-events:auto;right:-8px;bottom:-8px;width:18px;height:18px;box-sizing:border-box;border:2px solid #fff;border-radius:4px;background:#111;cursor:nwse-resize;touch-action:none;box-shadow:0 0 0 1px #666;}
.enm7-figure-toolbar{position:fixed;z-index:2147483621;box-sizing:border-box;width:min(440px,calc(100vw - 20px));padding:12px;border:1px solid #cfcfcf;border-radius:10px;background:#fff;color:#171717;box-shadow:0 10px 32px rgba(0,0,0,.14);font:12px/1.4 Arial,sans-serif;}
.enm7-figure-toolbar-title{font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.enm7-figure-toolbar-row{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-top:7px;}
.enm7-figure-toolbar-row.enm7-small-controls{gap:5px;}
.enm7-figure-tip{font-size:11px;color:#656565;}
.enm7-slider-label{display:flex;flex:1 1 115px;flex-direction:column;gap:5px;font-size:11px;}
.enm7-size{width:100%;accent-color:#222;}
.enm7-width-label{font-size:11px;color:#555;white-space:nowrap;}
.enm7-select-label{display:flex;flex-direction:column;gap:5px;font-size:11px;}
.enm7-select{font:12px Arial,sans-serif;border:1px solid #ccc;background:#fff;padding:6px;border-radius:5px;max-width:145px;min-height:30px;color:#171717;}
.enm7-button{cursor:pointer;border:1px solid #d1d1d1;border-radius:6px;background:#fff;color:#161616;font:600 11px/1.4 Arial,sans-serif;padding:6px 9px;min-height:30px;touch-action:none;}
.enm7-button:hover{background:#f0f0f0;}.enm7-button:focus-visible,.enm7-select:focus-visible{outline:2px solid #151515;outline-offset:2px;}
.enm7-grab{background:#202020;color:#fff;border-color:#202020;cursor:grab;}.enm7-grab:hover{background:#333;}
.enm7-close{font-weight:400;}
.enm7-legacy-options,.enm7-publication-options{border:1px solid #dedede;border-radius:8px;padding:10px 14px;margin:12px 0;background:#fff;}
.enm7-legacy-options>summary,.enm7-publication-options>summary{font:600 13px/1.6 Arial,sans-serif;cursor:pointer;color:#333;}
.enm7-legacy-options[open],.enm7-publication-options[open]{padding-bottom:16px;}
.enm7-legacy-options>*,.enm7-publication-options>*{max-width:100%;}
.enm7-legacy-options .admin-editor-inline-grid,.enm7-publication-options .admin-editor-inline-grid{margin-top:12px;}
.enm7-legacy-options>label,.enm7-publication-options>label{display:block;margin-top:12px;}
.enm7-publication-options input,.enm7-publication-options select,.enm7-publication-options textarea{box-sizing:border-box;}
#adminPostForm .enm7-publication-options .post-meta{font-size:12px;}
@media(max-width:700px){.enm7-figure-toolbar{position:fixed!important;bottom:10px!important;top:auto!important;left:10px!important;right:10px!important;width:auto!important;max-height:48vh;overflow-y:auto;}.enm7-figure-toolbar-row{flex-wrap:wrap;}.enm7-select-label{flex:1 1 100px;}.enm7-select{width:100%;max-width:none;}.enm7-selection-frame{outline:none;}}
@media(prefers-reduced-motion:reduce){.enm7-button{transition:none!important;}}
