/* Editor controls only appear to a signed-in content manager. */
.hc-anchor{position:relative;display:inline-block;max-width:100%;padding-inline-end:30px;box-sizing:border-box;min-width:32px;min-height:28px;vertical-align:baseline}
.hc-anchor-block{display:block;width:100%}
.hc-anchor-image{padding-inline-end:0}
.hc-anchor-image:has(>.logo){width:190px;max-width:55%;margin:6px auto 0}
.hc-anchor-image>.logo{width:100%;max-width:100%;margin:0}
.hc-pencil{position:absolute;inset-inline-end:0;top:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px;padding:0;border:1px solid #cfac59;border-radius:50%;background:#19160e;color:#f7d67c;font:700 21px/1 sans-serif;cursor:pointer;z-index:1;box-shadow:0 2px 8px #0006}
.hc-anchor-image>.hc-pencil{top:10px;inset-inline-end:10px;width:36px;height:36px}
.hc-pencil:hover{background:#493b19;color:#fff0b6}
.hc-pencil:focus-visible,.hc-dialog button:focus-visible,.hc-dialog input:focus-visible,.hc-dialog textarea:focus-visible{outline:3px solid #ffdf82;outline-offset:3px}
.hc-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #70613c;border-radius:18px;background:#171715;color:#f7f4ec;box-shadow:0 22px 90px #000b;overflow:auto;overscroll-behavior:contain;text-align:start;font:400 16px/1.6 Heebo,Arial,sans-serif}
.hc-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.hc-form{padding:24px;min-width:0}
.hc-heading{margin:0 0 5px;color:#f2cc6c;font-size:24px;font-weight:800;line-height:1.35}
.hc-meta{margin:0 0 18px;color:#b6b0a2;font-size:13px;overflow-wrap:anywhere}
.hc-label{display:block;margin:14px 0 6px;font-weight:700;color:#f7e6ba}
.hc-input{box-sizing:border-box;display:block;width:100%;min-width:0;padding:12px;border:1px solid #756848;border-radius:9px;background:#0f0f0e;color:#fff;font:inherit;line-height:1.6;resize:vertical}
textarea.hc-input{min-height:120px;max-height:45dvh}
.hc-input[aria-invalid=true]{border-color:#f99883}
.hc-help{margin:8px 0 14px;color:#bbb5a7;font-size:14px;line-height:1.6}
.hc-error{margin:10px 0;color:#ffb4a2;font-size:15px;white-space:pre-wrap}
.hc-error:empty,.hc-save-status:empty{display:none}
.hc-save-status{color:#ead18f;font-size:14px;margin:10px 0}
.hc-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:16px}
.hc-dialog button{font:700 15px/1.4 Heebo,Arial,sans-serif;cursor:pointer;min-height:44px;max-width:100%;padding:10px 16px;border-radius:9px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.hc-primary{background:#e7bd56;color:#18140c;border:1px solid #e7bd56;flex:1 1 160px}
.hc-primary:hover{background:#f6d783}
.hc-secondary{background:transparent;border:1px solid #716447;color:#f5e1b0;flex:0 1 auto}
.hc-secondary:hover,.hc-reload:hover,.hc-restore:hover,.hc-alt-button:hover{background:#352d1b}
.hc-dialog button:disabled,.hc-dialog input:disabled,.hc-dialog textarea:disabled{opacity:.5;cursor:wait}
.hc-dialog .hc-primary:disabled,.hc-dialog .hc-alt-button:disabled{cursor:default}
.hc-history-toggle{display:block;width:100%;margin:18px 0 0;border:0;border-top:1px solid #433b2a;border-radius:0!important;background:transparent;color:#e3c783}
.hc-history{margin-top:12px;border-top:1px solid #433b2a;padding-top:8px}
.hc-history h3,.hc-conflict h3{margin:6px 0 12px;font-size:18px;color:#edce80}
.hc-revision{padding:14px;background:#10100f;border:1px solid #413a29;border-radius:11px;margin-top:10px}
.hc-revision h4{margin:0 0 4px;color:#efd488;font-size:16px}
.hc-revision .hc-meta{margin-bottom:10px}
.hc-value-preview{font:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 12px;max-height:220px;overflow:auto;color:#e1dccf;background:#ffffff05;padding:10px;border-radius:6px}
.hc-image-preview{display:block;max-width:100%;width:auto;max-height:220px;margin:12px auto;border-radius:8px;object-fit:contain;background:#0b0b0b}
.hc-reload,.hc-restore,.hc-alt-button{border:1px solid #756443;background:transparent;color:#f1d798}
.hc-reload{width:100%;margin:6px 0}
.hc-conflict{padding:14px;background:#352d1a;border:1px solid #8d783e;border-radius:10px;margin:10px 0}
.hc-restore-confirmation{padding:12px;margin-top:12px;border:1px solid #8d783e;border-radius:8px;background:#30291a}
.hc-restore-confirmation>p{margin:0 0 8px}
.hc-file{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:8px;border:1px dashed #756443;border-radius:8px;font:inherit;font-size:14px;color:#d9d0bb}
.hc-file::file-selector-button{border:1px solid #756443;border-radius:6px;background:#292314;color:#f1d798;font:inherit;padding:8px;margin-inline-end:10px;cursor:pointer}
.hc-alt-button{margin-top:14px}
.hc-toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);box-sizing:border-box;max-width:calc(100vw - 24px);width:max-content;padding:12px 20px;border:1px solid #9b7d35;border-radius:12px;background:#292310;color:#ffe6a1;box-shadow:0 5px 26px #0008;z-index:100;direction:rtl;text-align:center;font:500 16px/1.5 Heebo,Arial,sans-serif}
.hc-dialog [hidden]{display:none!important}
@media(max-width:480px){.hc-form{padding:18px 14px}.hc-heading{font-size:21px}.hc-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:13px}.hc-actions>.hc-primary{flex-basis:100%}.hc-actions>.hc-secondary{flex:1}.hc-dialog button{padding:10px 12px}.hc-anchor{padding-inline-end:27px}.hc-anchor-image{padding-inline-end:0}.hc-pencil{width:26px;height:26px;min-width:26px;font-size:20px}.hc-revision{padding:12px}}
@media(prefers-reduced-motion:reduce){.hc-dialog::backdrop{backdrop-filter:none}}
