body[data-editor-mode]{padding-bottom:208px}
.editor-toolbar{position:fixed;z-index:100;bottom:16px;left:24px;right:24px;max-width:1152px;margin-inline:auto;background:#fff;color:#182640;border:1px solid #9baeea;border-radius:16px;box-shadow:0 8px 48px #101b3529;padding:20px 24px;display:grid;grid-template-columns:1fr auto;gap:16px 24px;font-family:Helvetica,Arial,sans-serif;line-height:1.4}
.editor-info strong{font-size:18px;letter-spacing:-.02em}.editor-info p{font-size:13px;line-height:1.5;margin-top:4px;max-width:68ch}.editor-info .editor-note{font-size:12px;color:#606b83;margin-top:4px}.editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:480px;justify-content:flex-end}
.editor-actions button{font-size:13px;line-height:1.3;padding:12px 14px;min-height:44px;border:1px solid #b7c1d5;border-radius:8px;background:#f7f6f1;color:#182640;font-weight:600;cursor:pointer}.editor-actions button:hover{background:#e9edf9}.editor-actions button.editor-primary{background:#3b5bdb;border-color:#3b5bdb;color:#fff}.editor-actions button:disabled{opacity:.65;cursor:wait}.editor-actions button:focus-visible{outline:3px solid #3b5bdb;outline-offset:3px}
.editor-status{grid-column:1/-1;font-size:12px;line-height:1.5;color:#43506a;border-top:1px solid #d8dce3;padding-top:12px;max-width:none}.editor-error{color:#9b321e}
body[data-editor-mode="edit"] .editor-text{outline:1px dashed #7d91d4;outline-offset:4px;cursor:text;min-width:1ch;caret-color:#3b5bdb;overflow-wrap:anywhere}body[data-editor-mode="edit"] .editor-text:focus{outline:2px solid #3b5bdb;outline-offset:4px;background:#3b5bdb0a}body[data-editor-mode="edit"] .principles .editor-text{outline-color:#9aaee8}body[data-editor-mode="edit"] .editor-text:empty:before{content:'Введите текст';opacity:.6;font-size:14px}
@media(max-width:1000px){.editor-toolbar{grid-template-columns:1fr;gap:12px}.editor-actions{max-width:none;justify-content:flex-start}.editor-status{padding-top:8px}body[data-editor-mode]{padding-bottom:288px}}
@media(max-width:640px){.editor-toolbar{bottom:8px;left:8px;right:8px;padding:14px;border-radius:12px;gap:10px}.editor-info strong{font-size:16px}.editor-info p{font-size:12px}.editor-info .editor-note{font-size:11px}.editor-actions{gap:6px}.editor-actions button{font-size:12px;padding:10px;min-height:44px}.editor-status{font-size:11px}body[data-editor-mode]{padding-bottom:336px}}
@media(prefers-reduced-motion:reduce){.editor-text,.editor-toolbar{transition:none}}

.editor-exit{color:#2947bd;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.editor-exit:hover{color:#182640}

@media(max-width:640px){.editor-actions button{padding-inline:8px}}
