/* Four corners, with touch targets outside the content. */
.fd-box-resize{position:absolute!important;z-index:18;pointer-events:auto;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;right:auto!important;bottom:auto!important;touch-action:none;box-shadow:none!important;display:block;outline-offset:-5px}
.fd-box-resize:before{content:'';position:absolute;width:9px;height:9px;border:1px solid #fff;border-radius:2px;background:var(--accent,#c12620);box-shadow:0 0 0 1px #2b232344;pointer-events:none}
.fd-box-resize[data-corner=nw]{transform:translate(-100%,-100%);cursor:nwse-resize}.fd-box-resize[data-corner=ne]{transform:translate(0,-100%);cursor:nesw-resize}.fd-box-resize[data-corner=sw]{transform:translate(-100%,0);cursor:nesw-resize}.fd-box-resize[data-corner=se]{transform:none;cursor:nwse-resize}
.fd-box-resize[data-corner=nw]:before{right:-5px;bottom:-5px}.fd-box-resize[data-corner=ne]:before{left:-5px;bottom:-5px}.fd-box-resize[data-corner=sw]:before{right:-5px;top:-5px}.fd-box-resize[data-corner=se]:before{left:-5px;top:-5px}
.page-design-object:not(.selected)>.fd-box-resize,.page-video-object:not(.selected)>.fd-box-resize{display:none}
@media(pointer:coarse){.fd-box-resize{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.fd-box-resize:before{width:11px;height:11px}}
/* Dedicated move symbol is distinct from resize corners and delete controls. */
.fd-object-move{position:absolute!important;z-index:24;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;margin:0!important;transform:translate(-50%,-100%);border:2px solid var(--fd-control,#536779)!important;border-radius:8px!important;background:var(--fd-panel,#fff)!important;color:var(--fd-ink,#202c35)!important;font:bold 25px/1 Arial!important;cursor:grab;touch-action:none;pointer-events:auto;box-shadow:0 2px 5px #0003}
.fd-object-move:active{cursor:grabbing}.page-design-object:not(.selected)>.fd-object-move,.page-video-object:not(.selected)>.fd-object-move{display:none}
@media(pointer:coarse){.fd-object-move{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}
@media print{.fd-object-move{display:none!important}}

.fd-object-rotate{position:absolute!important;z-index:25;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;border:1px solid var(--fd-control,#536779)!important;border-radius:50%!important;background:var(--fd-panel,#fff)!important;color:var(--fd-ink,#202c35)!important;font:bold 20px/1 Arial;cursor:grab;touch-action:none;pointer-events:auto;transform:translate(-50%,-50%)}
.fd-object-rotate[data-rotate-corner=nw]{margin:-32px 0 0 -8px!important}.fd-object-rotate[data-rotate-corner=ne]{margin:-32px 0 0 8px!important}.fd-object-rotate[data-rotate-corner=sw]{margin:32px 0 0 -8px!important}.fd-object-rotate[data-rotate-corner=se]{margin:32px 0 0 8px!important}
.page-design-object:not(.selected)>.fd-object-rotate,.page-video-object:not(.selected)>.fd-object-rotate{display:none}
@media(pointer:coarse){.fd-object-rotate{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}}
@media print{.fd-object-rotate{display:none!important}}
