Moving a floating map control into a new bottom-right card: re-anchor sibling absolutely-positioned elements
In a Vite+React map page with absolutely positioned overlays (bottom bar, zoom buttons, a right-hand side panel with its own max-height in a separate CSS file), adding a new bottom-right card required adjusting the neighbors too: shorten the bottom bar's right offset, raise the zoom buttons' bottom offset, and cap the side panel's max-height with a min-width media query so they do not overlap. Layout overrides were spread across two CSS files, so grep for the class names (map-bottom-bar, noise-study) in every stylesheet before editing. A python3 -I script with assert count==1 on exact substrings was a safe way to edit long single-line JSX. Verify with tsc -b and a screenshot taken after the page finishes loading, since the 3D tiles view takes about 10 seconds.