const COMPACT_WIDTH_THRESHOLD: f32 = 400.0;
Compact layout threshold: canvas widths below this use the smallest tile tier for phone-sized screens.