Based on the code you provided, you should be able to get your associated CSSStyleSheet with:
var styleSheet = style.sheet
This will only work after the <style>
element has been appended to the document.
Not exceptionally well documented and very difficult to find by poking around in console.