
/* ── components ── */
.cert-sticker.freesize .cs-inner{ padding-bottom:0 !important; height:100% !important; }
.cert-sticker.freesize .cs-inner img,
.cert-sticker.freesize .cs-inner svg{ object-fit:fill !important; }

.cs-h.r{ right:-8px; top:50%; margin-top:-7px; cursor:ew-resize; }
.cs-h.b{ bottom:-8px; left:50%; margin-left:-7px; cursor:ns-resize; }
.cs-h.r, .cs-h.b{
  position:absolute; width:14px; height:14px; background:#fff;
  border:2px solid var(--gel-gold-rim,#c6a253); border-radius:50%; display:none;
}
.cert-sticker.sel .cs-h.r, .cert-sticker.sel .cs-h.b{ display:block; }
/* make the edge grips read as bars, not dots */
.cs-h.r{ border-radius:5px; width:9px; height:22px; margin-top:-11px; }
.cs-h.b{ border-radius:5px; width:22px; height:9px; margin-left:-11px; }

/* ── text boxes ── */
.text-sticker{ box-sizing:border-box; }
.text-sticker.boxed > .ce-field{
  height:100% !important;
  display:flex !important; align-items:center; justify-content:center;
  overflow:hidden;
}
.text-sticker .th.r{ right:-8px; top:50%; margin-top:-11px; width:9px; height:22px; border-radius:5px; cursor:ew-resize; }
.text-sticker .th.b{ bottom:-8px; left:50%; margin-left:-11px; width:22px; height:9px; border-radius:5px; cursor:ns-resize; }
.text-sticker .th.fs{
  left:-11px; bottom:-11px; width:21px; height:21px; border-radius:50%;
  background:var(--gel-gold-rim,#c6a253); border-color:var(--gel-gold-rim,#c6a253);
  color:#fff; display:none; place-items:center; cursor:nesw-resize;
  font-size:11px; font-weight:900;
}
.text-sticker.sel .th.fs{ display:grid; }
@media print{ .cs-h, .cs-rot, .text-sticker .th, .cs-frame{ display:none !important; } }
