.tool-crop-image .cr-drop.is-compact { min-height: 0; padding: 12px 16px; flex-direction: row; flex-wrap: wrap; }
.tool-crop-image .cr-drop.is-compact small { display: none; }
.tool-crop-image .cr-drop.is-compact i.ic { font-size: 22px; width: 24px; height: 24px; }
.tool-crop-image .cr-drop.is-compact strong { font-size: .98rem; }
.tool-crop-image .cr-info { margin: 12px 0 0; word-break: break-word; }
.tool-crop-image .cr-stage { margin-top: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: repeating-conic-gradient(var(--line) 0 25%, var(--cream) 0 50%) 50% / 20px 20px; display: flex; justify-content: center; align-items: center; min-height: 120px; }
.tool-crop-image .cr-frame { position: relative; flex: none; }
.tool-crop-image .cr-frame > canvas:first-child { display: block; width: 100%; height: 100%; }
.tool-crop-image .field > .seg { align-self: flex-start; max-width: 100%; }
.tool-crop-image .cr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tool-crop-image .cr-stage { padding: 16px; }
.tool-crop-image .cr-frame { touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.tool-crop-image .cr-shade { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tool-crop-image .cr-hole { position: absolute; box-shadow: 0 0 0 9999px color-mix(in srgb, var(--plum) 55%, transparent); }
.tool-crop-image .cr-box { position: absolute; outline: 2px solid var(--white); box-shadow: 0 0 0 3px var(--plum); cursor: move; touch-action: none; }
.tool-crop-image .cr-box::before, .tool-crop-image .cr-box::after { content: ""; position: absolute; pointer-events: none; border: 0 solid color-mix(in srgb, var(--white) 60%, transparent); }
.tool-crop-image .cr-box::before { left: 33.333%; width: 33.333%; top: 0; bottom: 0; border-left-width: 1px; border-right-width: 1px; }
.tool-crop-image .cr-box::after { top: 33.333%; height: 33.333%; left: 0; right: 0; border-top-width: 1px; border-bottom-width: 1px; }
.tool-crop-image .cr-h { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; z-index: 1; touch-action: none; }
.tool-crop-image .cr-h::after { content: ""; position: absolute; left: 9px; top: 9px; width: 14px; height: 14px; border-radius: 4px; background: var(--white); border: 2px solid var(--plum); }
.tool-crop-image .cr-h[data-h="nw"] { left: 0; top: 0; cursor: nwse-resize; }
.tool-crop-image .cr-h[data-h="n"] { left: 50%; top: 0; cursor: ns-resize; }
.tool-crop-image .cr-h[data-h="ne"] { left: 100%; top: 0; cursor: nesw-resize; }
.tool-crop-image .cr-h[data-h="w"] { left: 0; top: 50%; cursor: ew-resize; }
.tool-crop-image .cr-h[data-h="e"] { left: 100%; top: 50%; cursor: ew-resize; }
.tool-crop-image .cr-h[data-h="sw"] { left: 0; top: 100%; cursor: nesw-resize; }
.tool-crop-image .cr-h[data-h="s"] { left: 50%; top: 100%; cursor: ns-resize; }
.tool-crop-image .cr-h[data-h="se"] { left: 100%; top: 100%; cursor: nwse-resize; }
.tool-crop-image .cr-h.cr-edge::after { border-radius: 999px; }
.tool-crop-image .cr-locked .cr-edge { display: none; }
.tool-crop-image .cr-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.tool-crop-image .cr-nums .field + .field { margin-top: 0; }
@media (min-width: 640px) { .tool-crop-image .cr-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
