Stiles are the vertical flat sections that separate the inner panels. The rails are horizontal and diagonal flat sections. See drawing below for details.