/** * Constructable stylesheet cloning (adoptedStyleSheets). * * `adoptedStyleSheets` on a Document or ShadowRoot is the standard way Lit, * React and other frameworks inject component styles, but the sheets are not * part of the node tree — cloneNode never carries them. A shadow root that * relies on adopted sheets (and whose computed styles are not inlined per * element, i.e. copyStyles is false) would otherwise lose those rules in the * clone. The rules are re-materialised as a regular