Dave,
Roughly measuring, I'd say about 6". The sides will not be exposed, the bookcases are going to run along the entire wall. My initial thought was to extend the plywood sides of the bookcases beyond the top of the bookcases and cut them at an angle to match the ceiling/wall. I thought...