parentStyleSheet

The parentStyleSheet read-only property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.

MDN Reference