/* Interactive editor styling. Zero editor controls in normal public mode. */
.editor-ui[hidden]{display:none!important}
body.editing{padding-bottom:83px}
body.editing [data-edit-key]{cursor:text;outline:2px dashed #d18b15;outline-offset:4px;border-radius:3px;min-width:20px}
body.editing [data-edit-key]:hover,body.editing [data-edit-key]:focus{outline:3px solid #17633e;background:#fffce7ae}
body.editing .gallery-item{cursor:default}
.editor-bar{position:fixed;z-index:90;bottom:0;left:0;right:0;display:flex;align-items:center;gap:18px;padding:13px clamp(14px,3vw,45px);background:#123e2e;color:#fff;box-shadow:0 -8px 25px #0003;font-size:13px}
.editor-brand{font-weight:800;white-space:nowrap}.editor-bar #editor-status{flex:1;font-size:12px}.editor-bar #editor-status.error{color:#ffd5aa}.editor-actions{display:flex;gap:8px}.editor-bar button,.gallery-edit-actions button,.editor-add,.editor-dialog button,.image-edit-button{border:1px solid #ccd7cb;background:#fff;color:#16422f;border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer}.editor-bar button.editor-save,.editor-dialog button.editor-save{background:#ebaf42;color:#172e22;border:0}.editor-bar button:disabled{opacity:.45;cursor:wait}
.cms-image-wrap{position:relative}.image-edit-button{position:absolute;top:12px;right:12px;z-index:4;box-shadow:0 3px 15px #0003}.gallery-edit-actions{position:absolute;bottom:0;left:0;right:0;z-index:8;display:flex;flex-wrap:wrap;gap:3px;padding:6px;background:#fffef5ea}.gallery-edit-actions button{font-size:12px;padding:5px 9px;min-width:30px}.gallery-edit-actions button:hover,.image-edit-button:hover{background:#f4dca7}.gallery-item:has(.gallery-edit-actions):after{display:none}.gallery-item:has(.gallery-edit-actions) span{bottom:49px}
.editor-add{display:none;margin:18px auto;position:relative;z-index:5;background:#17633e;color:#fff;border:0}
body.editing .editor-add{display:block}
.editor-dialog{width:min(390px,calc(100% - 40px));border:0;border-radius:15px;padding:26px;box-shadow:0 15px 55px #0006}.editor-dialog::backdrop{background:#06170caf}.editor-dialog h3{margin:0 0 15px;color:#123e2e}.editor-dialog label{display:grid;gap:5px;font-size:13px;font-weight:bold;margin-bottom:12px}.editor-dialog input{font:inherit;border:1px solid #c3ccbd;padding:10px;border-radius:8px}.editor-dialog-buttons{display:flex;justify-content:end;gap:8px}
@media(max-width:760px){body.editing{padding-bottom:140px}.editor-bar{flex-wrap:wrap;gap:7px;padding:9px 12px}.editor-brand{font-size:12px}.editor-bar #editor-status{font-size:11px;flex-basis:100%;order:3}.editor-actions{margin-left:auto;gap:4px}.editor-bar button{font-size:11px;padding:7px}}
