/* Engine additions on top of theme.css (design tokens reused, scoped to body.iu-tool). */
body.iu-tool .iu-world { transform: translate(var(--iu-pan-x, 0px), var(--iu-pan-y, 0px)) scale(var(--iu-zoom, 1)); }
/* Left = original, right = upscaled (matches the labels and the slider description). */
body.iu-tool .iu-compare-after-wrap { inset: 0 0 0 auto; width: calc(100% - var(--iu-split, 50%)); display: flex; justify-content: flex-end; }
body.iu-tool .iu-compare-after-wrap img { flex: none; }
body.iu-tool .iu-stage:not([data-empty="true"]) { cursor: ew-resize; }
body.iu-tool .iu-stage.is-pixel img { image-rendering: pixelated; }
body.iu-tool .iu-mode { margin-top: 14px; }
body.iu-tool .iu-format { display: grid; gap: 6px; margin-top: 14px; }
body.iu-tool .iu-format label { font-weight: 600; }
body.iu-tool .iu-format select { min-height: 44px; width: 100%; max-width: 360px; }
@media print { body.iu-tool .iu-compare-after-wrap { width: auto; display: block; } }
