/* Инструмент «Скрыть лица и номера на фото». Свои классы с префиксом hf-, общие классы виджета не переопределяются. */
.hf-status{font-size:.9rem;color:#1d2630;background:#eef1fa;border-radius:8px;padding:9px 12px;margin:18px 0 0;line-height:1.4}
.hf-status.hf-busy{color:#3949a0}
.hf-stage{background:#f3f5fa;border:1px solid #e5e7eb;border-radius:12px;padding:14px;text-align:center;margin-top:12px}
.hf-wrap{position:relative;display:inline-block;max-width:100%;line-height:0;vertical-align:top}
.hf-wrap canvas{display:block;max-width:100%;max-height:70vh;width:auto;height:auto;border-radius:6px}
.hf-overlay{position:absolute;inset:0;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.hf-r{position:absolute;box-sizing:border-box;cursor:move;outline:0}
.hf-f{position:absolute;inset:0;border:2px solid #fff;box-shadow:0 0 0 1px rgba(29,38,48,.75),inset 0 0 0 1px rgba(29,38,48,.75);pointer-events:none}
.hf-r--oval .hf-f{border-radius:50%}
.hf-r--off .hf-f{border-style:dashed;opacity:.75}
.hf-r--act .hf-f,.hf-r:focus-visible .hf-f{border-color:#ffd24a}
.hf-x,.hf-h{position:absolute;width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(29,38,48,.6);padding:0;margin:0}
.hf-x{right:-11px;top:-11px;background:#c0392b;color:#fff;font:700 15px/18px Arial,sans-serif;text-align:center;cursor:pointer}
.hf-h{right:-11px;bottom:-11px;background:#3949a0;cursor:nwse-resize}
/* зона нажатия крупнее видимой точки: удобно пальцем */
.hf-x::before,.hf-h::before{content:"";position:absolute;inset:-9px}
.hf-tip{font-size:.82rem;color:#6b7280;line-height:1.45;margin-top:10px}
.hf-row{margin-top:18px}
.hf-row .gd-w-options{margin-top:0}
.hf-lbl{display:block;font-size:.84rem;color:#1d2630;font-weight:600;margin-bottom:8px}
.hf-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.gd-w-btn.hf-sm{padding:7px 14px;font-size:.86rem;border-width:1px;font-weight:600}
.hf-row input[type=range]{width:100%;accent-color:#3949a0;margin:0}
.hf-note{font-size:.8rem;color:#6b7280;margin-top:6px;line-height:1.45}
.hf-dis{opacity:.45}
.hf-list{margin:0 0 18px;padding-left:22px}
.hf-list li{margin:0 0 8px;line-height:1.55}
@media (max-width:600px){
  .hf-stage{padding:8px}
}
