Yet another way:
Define your style override like this:
.myStyles .graybox { your styles here }
Then, you can add your class ("myStyles") to the PageTemplate by creating a global macro tiddler (tagged with $:/tags/Macro) containing:
\define containerClasses()
tc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$ myStyles
\end
This will override the default "containerClasses" definition found in $:/core/ui/PageTemplate.
Thus, any page content that uses class="graybox" will automatically be within
a wrapper that has a class of "myStyles", and your definition of .graybox will
take precedence due to increased specificity.
-e