I am reconsidering my answers. If the panel is in a 60 degree ambient the panel location is a fail. There is no derating method for panels, only the wire.

The second problem has a glitch too as baseboard heaters are allowed to load the wire to it's ampacity 62-114(7)so #12 can supply a 20 amp heater and connect to a 30 amp breaker if a 25 amp breaker is not made. #14 can supply 240 X 15 amps or 3600 watts and can be connected to a 20 amp breaker under 62-114(8)