/* Only the new geometry tools load this stylesheet. */
.image-geometry-page #image-geometry-tool { min-width: 0; }
.image-geometry-page .image-options { margin-bottom: 18px; }
.image-geometry-page input[readonly] { background: #eef3f9; color: #526176; }
.image-geometry-page .percentage-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.image-geometry-page .percentage-presets button { min-height: 44px; min-width: 54px; }
.image-geometry-page #dimension-info { margin: 12px 0 18px; padding: 12px; background: #f4f7fc; border-radius: 8px; }
.image-geometry-page #dimension-info:empty { display: none; }
.image-geometry-page .tool-grid > * { min-width: 0; }
.image-geometry-page .crop-coordinate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.image-geometry-page .crop-coordinate-fields .option-field { max-width: none; }
.image-geometry-page .tool-button { min-height: 44px; }
@media (max-width: 768px) {
    .image-geometry-page .tool-grid { grid-template-columns: minmax(0, 1fr); }
    .image-geometry-page .tool-actions { flex-wrap: wrap; }
    .image-geometry-page .image-preview-frame { min-width: 0; max-width: 100%; }
    .image-geometry-page .crop-coordinate-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
