Done! That's the first #adventofcode I've ever completed in full.
The last one was super interesting, I was all geared-up to write a bin-packing/DFS type thing but noticed some statistical patterns in the data that revealed a shortcut.
My solutions if anyone is interested: