/*
 * Rug Visualizer — the room and the rug on its floor. Source: sites/dreamy-tools/tools/rug-visualizer/
 * tool.css (Dash repo); loaded after core/tools.css on this tool only. The overlay is drawn in the photo's
 * own pixels (viewBox = its natural size), so the stage must be exactly the photo: no padding, and the
 * drawn room must not take .chqt-diagram's 320px height cap (a capped SVG letterboxes its viewBox).
 */
.rv-fig { padding: 0; overflow: hidden; }
.rv-stage { position: relative; line-height: 0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rv-stage > svg:first-child, .rv-photo { display: block; width: 100%; height: auto; max-height: none; }
.rv-over { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.rv-stage--tap { cursor: crosshair; touch-action: manipulation; }
.rv-rug { cursor: grab; touch-action: none; }
.rv-empty { line-height: 1.5; padding: 48px 16px; margin: 0; text-align: center; color: #6b625b; font-size: 15px; }
.rv-upload { position: relative; margin-bottom: 8px; }
.rv-upload input { font-size: 16px; } /* hidden, but iPhone still zooms a page whose focused field is under 16px */
