.h18ie-toolbar{position:fixed;left:1rem;right:auto;bottom:1rem;z-index:1000;display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;max-width:min(620px,calc(100vw - 2rem));box-sizing:border-box;padding:.8rem;background:#15120f;color:#fff;border:1px solid #9c5e43;box-shadow:0 5px 30px #0003;font-family:Inter,Arial,sans-serif}.h18ie-toolbar>div{display:grid;gap:.25rem;margin-right:.4rem}.h18ie-toolbar strong{font-size:.72rem;letter-spacing:.1em}.h18ie-toolbar small{font-size:.62rem;color:#d0c4b6}.h18ie-toolbar p{flex-basis:100%;margin:0;padding-top:.2rem;font-size:.65rem;line-height:1.5;color:#ddd0c1}.h18ie-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:2.5rem;gap:.5rem;padding:.6rem .85rem;border:1px solid #a86143;background:#a86143;color:#fff;font:700 .7rem/1.3 Inter,Arial,sans-serif;cursor:pointer;text-decoration:none}.h18ie-button:hover{background:#000;color:#fff;border-color:#fff}.h18ie-secondary{background:transparent;color:inherit;border-color:#ac9d8a}.h18ie-button:focus-visible{outline:2px solid #b5734f;outline-offset:3px}.h18ie-button:disabled{opacity:.55;cursor:wait}.h18ie-editing [data-h18-edit-key]{outline:1px dashed #b5734f;outline-offset:4px;cursor:pointer!important}.h18ie-editing [data-h18-edit-key]:hover,.h18ie-editing [data-h18-edit-key]:focus-visible{outline:2px solid #b5734f;outline-offset:4px;background-color:#b5734f12}.h18ie-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 2rem));max-height:90dvh;overflow:auto;padding:0;border:1px solid #b6a38e;background:#f5f0e8;color:#201b16;font-family:Inter,Arial,sans-serif}.h18ie-dialog::backdrop{background:#0008}.h18ie-dialog header,.h18ie-dialog footer{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.25rem;background:#e9dfd1}.h18ie-dialog header{position:sticky;top:0;z-index:1}.h18ie-dialog header span{font-size:.58rem;font-weight:750;letter-spacing:.13em;color:#8b4c31}.h18ie-dialog h2{font-size:1.2rem;letter-spacing:-.025em;line-height:1.3;margin:.4rem 0 0}.h18ie-dialog header button{font-size:1.1rem;flex-shrink:0}.h18ie-fields{padding:1.25rem}.h18ie-fields>p{margin:0 0 1rem;color:#75695b;font-size:.8rem}.h18ie-languages,.h18ie-styles{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.h18ie-dialog label{display:grid;gap:.5rem;font-size:.75rem;font-weight:700;min-width:0}.h18ie-dialog textarea,.h18ie-dialog select{box-sizing:border-box;width:100%;min-width:0;padding:.75rem;border:1px solid #c5b5a1;background:#fff;color:#201b16;font:400 .85rem/1.6 Inter,Arial,sans-serif}.h18ie-dialog textarea{resize:none!important;overflow:auto;min-height:10rem}.h18ie-styles{margin-top:1rem}.h18ie-dialog footer{position:sticky;bottom:0;flex-wrap:wrap}.h18ie-dialog footer p{font-size:.75rem;line-height:1.5;margin:0;max-width:400px}.h18ie-dialog footer>div{display:flex;gap:.6rem;flex-wrap:wrap}.h18ie-toolbar [hidden]{display:none!important}@media(max-width:650px){.h18ie-toolbar{left:.5rem;right:.5rem;bottom:.5rem;max-width:none;padding:.6rem;gap:.5rem}.h18ie-toolbar>div{display:none}.h18ie-toolbar .h18ie-button{flex:1;font-size:.65rem}.h18ie-languages,.h18ie-styles{grid-template-columns:1fr}.h18ie-dialog{width:calc(100vw - 1rem)}.h18ie-fields{padding:.9rem}.h18ie-dialog header,.h18ie-dialog footer{padding:.9rem}.h18ie-dialog textarea{min-height:8rem}}

.h18ie-toolbar-space{display:block;flex:none;box-sizing:border-box;height:120px;width:100%;background:#090807;pointer-events:none}

.h18ie-image-preview{display:block;width:100%;max-height:260px;object-fit:contain;background:#e9dfd1;margin-bottom:1rem}.h18ie-dialog input[type=text],.h18ie-dialog input[type=file]{box-sizing:border-box;width:100%;padding:.7rem;background:#fff;border:1px solid #c5b5a1;font:400 .85rem Inter,Arial,sans-serif}.h18ie-editing img[data-h18-edit-key]{cursor:pointer;outline:2px dashed #b5734f;outline-offset:2px}.h18ie-dialog label{margin-bottom:.6rem}

/* A compact edge tab replaces the floating editing bar. */
.h18ie-toolbar.h18ie-toolbar--drawer{left:0;right:auto;top:50%;bottom:auto;display:block;box-sizing:border-box;width:min(290px,calc(100vw - 44px));max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;transform:translateY(-50%);pointer-events:none}
.h18ie-toolbar--drawer>.h18ie-drawer-panel{display:flex;position:relative;flex-direction:column;gap:12px;width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box;margin:0;padding:20px;border:1px solid #9c5e43;border-left:0;background:#15120f;color:#f2eee6;box-shadow:10px 6px 32px #0004;transform:translateX(-105%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .18s ease,visibility .22s}
.h18ie-toolbar--drawer.is-drawer-open>.h18ie-drawer-panel{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto}
.h18ie-toolbar--drawer .h18ie-drawer-toggle{position:absolute;z-index:2;left:0;top:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:38px;height:135px;padding:10px 0;border:1px solid #9c5e43;border-left:0;border-radius:0;background:#15120f;color:#f2eee6;box-shadow:3px 2px 12px #0002;font:750 11px/1 Inter,Arial,sans-serif;cursor:pointer;transform:translateY(-50%);pointer-events:auto;transition:left .22s ease,background .18s ease}
.h18ie-toolbar--drawer.is-drawer-open .h18ie-drawer-toggle{left:100%}
.h18ie-drawer-toggle>span{writing-mode:vertical-rl;letter-spacing:.055em}
.h18ie-drawer-toggle svg{width:17px;height:17px;fill:none;stroke:#d49c7a;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.h18ie-toolbar--drawer .h18ie-drawer-toggle:hover,.h18ie-toolbar--drawer.is-editing .h18ie-drawer-toggle{background:#a35f40;color:#fff}
.h18ie-toolbar--drawer.is-editing .h18ie-drawer-toggle svg{stroke:#fff}
.h18ie-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.h18ie-drawer-heading strong{font-size:12px;letter-spacing:.12em}
.h18ie-toolbar--drawer .h18ie-drawer-close{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:1px solid #7a6856;background:transparent;color:#f2eee6;font:20px/1 Arial,sans-serif;cursor:pointer}
.h18ie-toolbar--drawer .h18ie-drawer-close:hover{border-color:#c58a69;background:#a35f40;color:#fff}
.h18ie-toolbar--drawer [data-inline-count]{display:block;margin:-3px 0 4px;color:#d0c4b6;font-size:11px;line-height:1.4}
.h18ie-toolbar--drawer .h18ie-button{flex:none;justify-content:center;box-sizing:border-box;width:100%;min-height:42px;font-size:11px;line-height:1.4;text-align:center}
.h18ie-toolbar--drawer [data-inline-help]{flex-basis:auto;margin:2px 0 0;padding:12px 0 0;border-top:1px solid #ffffff26;color:#d0c4b6;font-size:11px;line-height:1.6}
.h18ie-toolbar--drawer :is(button,a):focus-visible{outline:2px solid #d49c7a;outline-offset:3px}
@media(max-width:650px){.h18ie-toolbar--drawer>.h18ie-drawer-panel{padding:17px}.h18ie-toolbar--drawer .h18ie-drawer-toggle{width:34px;height:125px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.h18ie-toolbar--drawer>.h18ie-drawer-panel,.h18ie-toolbar--drawer .h18ie-drawer-toggle{transition:none}}
