pub const MAX_GATE_ITEMS: usize = 1024;
Conservative declaration bounds, matching DESCRIPTOR_V1 collection sizes.