.hn-image-markup-frame{position:relative;display:block;min-width:0}
.hn-image-markup-frame.hn-markup-card{width:100%;height:100%}
.hn-image-markup-frame.hn-markup-column{width:100%}
.hn-image-markup-frame.hn-markup-preview{display:inline-block;max-width:100%;max-height:100%}
.hn-image-markup-frame>img{display:block}
.hn-image-markup-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.hn-image-markup-dialog{width:min(1100px,98vw);max-height:96dvh;padding:0;border:1px solid var(--theme-border,#d2d8d7);border-radius:14px;background:var(--theme-surface,#fff);color:var(--theme-ink,#293238);box-shadow:0 22px 80px #0009}
.hn-image-markup-dialog::backdrop{background:#000b}
.hn-image-markup-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--theme-border,#d2d8d7)}
.hn-image-markup-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hn-image-markup-toolbar button,.hn-image-markup-actions button{min-height:38px;padding:7px 12px;border:1px solid var(--theme-border,#d2d8d7);border-radius:8px;background:var(--theme-raised,#f3f5f4);color:var(--theme-ink,#293238);font:inherit;font-size:12px;cursor:pointer}
.hn-image-markup-toolbar button:hover,.hn-image-markup-actions button:hover{background:var(--theme-hover,#e9edef)}
.hn-image-markup-toolbar button[aria-pressed="true"]{outline:2px solid var(--theme-action,#438467);outline-offset:2px}
.hn-image-markup-toolbar button:disabled{opacity:.4;cursor:default}
.hn-image-markup-colors{display:flex;gap:5px;margin-inline-end:8px}
.hn-image-markup-colors .hn-image-markup-swatch{width:32px;min-height:32px;padding:0;border-radius:50%;background:var(--ink)!important;box-shadow:inset 0 0 0 1px #0004}
.hn-image-markup-stage{display:flex;justify-content:center;align-items:center;min-height:220px;max-height:calc(96dvh - 158px);padding:12px;overflow:auto;background:#10151b}
.hn-image-markup-editor-frame{position:relative;display:inline-block;max-width:100%;max-height:calc(96dvh - 184px)}
.hn-image-markup-editor-frame>img{display:block;max-width:min(90vw,1000px);max-height:calc(96dvh - 184px);width:auto;height:auto;user-select:none}
.hn-image-markup-editor-overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.hn-image-markup-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:10px 16px;border-top:1px solid var(--theme-border,#d2d8d7)}
.hn-image-markup-status{margin-inline-end:auto;max-width:50%;color:var(--theme-muted,#5b6b61);font-size:11px}
body.hn-themed .hn-image-markup-dialog .hn-image-markup-save{background:var(--theme-action,#3f806c)!important;border-color:var(--theme-action,#3f806c)!important;color:var(--theme-action-ink,#fff)!important}
@media(max-width:700px){.hn-image-markup-dialog{max-height:100dvh;width:100vw;border-radius:0}.hn-image-markup-stage{max-height:calc(100dvh - 210px)}.hn-image-markup-editor-frame,.hn-image-markup-editor-frame>img{max-height:calc(100dvh - 235px)}.hn-image-markup-editor-frame>img{max-width:calc(100vw - 64px)}.hn-image-markup-status{max-width:45%}}
