[data-edit-key]{white-space:pre-line;overflow-wrap:break-word}
.editor-bar{position:fixed;z-index:1000;bottom:18px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:10px 14px;background:#242a26;color:#fff;border:1px solid #626860;border-radius:8px;box-shadow:0 4px 24px #0003;font:14px/1.4 Arial,sans-serif}
.editor-bar button{font:inherit;min-height:44px;padding:8px 14px;border:1px solid #92978d;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
.editor-bar button[data-action="save"]{background:#f4f0e7;color:#202820;border-color:#f4f0e7}
.editor-bar button:disabled{opacity:.5;cursor:default}
.editor-bar button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.editor-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.editor-bar [hidden]{display:none!important}
.editor-hint{margin-right:8px}
.editor-status{display:block;max-width:650px}
.editor-status:not(:empty){padding-top:8px}
.editing-text [data-edit-key]{outline:1px dashed #89897b;outline-offset:6px;cursor:text;min-width:1ch;min-height:1em}
.editing-text [data-edit-key]:focus{outline:2px solid #8b6945;background:#a0804810}
body:has(.editor-bar){padding-bottom:120px}
@media(max-width:650px){.editor-bar{bottom:8px;width:calc(100% - 24px);box-sizing:border-box}.editor-actions{gap:6px}.editor-hint{width:100%}.editor-bar button{padding:8px 10px}body:has(.editor-bar){padding-bottom:190px}}
