If your structure is not recursive, you can just assign additional classes and styling to properties that define your entities / relations.
Otherwise you could use css selectors that nest, the following example assigns the color red at the third level (and subsequent levels, use the '>' selector to avoid that):
.gg_row .gg_row .gg_row {
color: red;
}