.image-resizer-crop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.image-resizer-crop-head label {
  margin: 0;
}
.image-resizer-crop-stage {
  position: relative;
  display: block;
  max-width: 100%;
  line-height: 0;
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  overflow: visible;
}
.image-resizer-crop-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
}
.image-resizer-crop-shades {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.image-resizer-crop-shade {
  position: absolute;
  background: rgb(0 0 0 / 0.5);
}
.image-resizer-crop-frame {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid #fff;
  touch-action: none;
  z-index: 2;
  box-shadow: none;
}
.image-resizer-crop-move {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: move;
  touch-action: none;
}
.image-resizer-crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 3px;
  box-sizing: border-box;
  touch-action: none;
  z-index: 3;
  padding: 0;
}
.image-resizer-crop-handle.nw {
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  cursor: nwse-resize;
}
.image-resizer-crop-handle.n {
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  cursor: ns-resize;
}
.image-resizer-crop-handle.ne {
  left: 100%;
  top: 0;
  transform: translate(-50%, -50%);
  cursor: nesw-resize;
}
.image-resizer-crop-handle.e {
  left: 100%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
}
.image-resizer-crop-handle.se {
  left: 100%;
  top: 100%;
  transform: translate(-50%, -50%);
  cursor: nwse-resize;
}
.image-resizer-crop-handle.s {
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  cursor: ns-resize;
}
.image-resizer-crop-handle.sw {
  left: 0;
  top: 100%;
  transform: translate(-50%, -50%);
  cursor: nesw-resize;
}
.image-resizer-crop-handle.w {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
}
.tool-cross-ctas {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
}
.tool-cross-ctas-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.tool-cross-ctas-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.tool-cross-cta-link {
  text-align: left;
  justify-content: flex-start;
  white-space: normal;
  line-height: 1.45;
  min-height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}
