/* Онлайн-редактор страницы (editor.js): кнопка «Редактировать», панель сохранения, инструменты блоков. */
#ed-toggle{position:fixed;left:16px;bottom:16px;z-index:9000;font:600 15px/1 "Montserrat",-apple-system,sans-serif;cursor:pointer;
  border:0;border-radius:100px;padding:12px 18px;background:#0A2540;color:#fff;box-shadow:0 8px 24px rgba(10,37,64,.25)}
#ed-toggle[hidden],#ed-bar[hidden]{display:none}
body.editing [data-ed]{position:relative;outline:1.5px dashed rgba(0,87,255,.45);outline-offset:-4px}
body.editing [data-ed]:hover{outline-color:rgba(0,87,255,.9)}
body.editing [data-ed].drag-over{outline:2px solid #00C2FF}
body.editing [data-ed].dragging{opacity:.4}
.ed-tools{position:absolute;top:10px;right:10px;z-index:8000;display:flex;gap:5px}
.ed-tools button{border:0;background:#EEF4FC;color:#0A2540;width:30px;height:30px;border-radius:8px;cursor:pointer;font-size:15px;box-shadow:0 2px 6px rgba(10,37,64,.15)}
.ed-tools button:hover{background:#D8E4F2}
.ed-tools .ed-drag{cursor:grab}
body.editing [contenteditable="true"]:hover{outline:1px dashed rgba(0,87,255,.5);outline-offset:2px}
body.editing [contenteditable="true"]:focus{outline:2px solid #0057FF;outline-offset:3px;border-radius:4px}
#ed-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:9000;display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  max-width:760px;margin:0 auto;padding:10px 10px 10px 18px;border-radius:20px;background:#0A2540;color:#fff;box-shadow:0 8px 24px rgba(10,37,64,.3)}
#ed-bar .ed-hint{flex:1 1 280px;margin:0;font:500 14px/1.4 "Montserrat",-apple-system,sans-serif}
#ed-bar button{font:600 15px/1 "Montserrat",-apple-system,sans-serif;cursor:pointer;border:0;border-radius:100px;padding:12px 16px;background:#2E4A6B;color:#fff}
#ed-bar button.prim{background:#00C2FF;color:#06212E}
#ed-bar button:disabled{opacity:.6;cursor:wait}
.ed-toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:#0A2540;color:#fff;
  padding:10px 18px;border-radius:10px;font:600 13px "Montserrat",-apple-system,sans-serif;z-index:9100;opacity:0;
  pointer-events:none;transition:opacity .2s}
.ed-toast.show{opacity:1}
@media print{#ed-toggle,#ed-bar,.ed-tools,.ed-toast{display:none!important}}
