Every widget copied the whole 320-rule table at least twice per frame:
ActiveStyleRules() returned it by value, ResolveStyleRules took it by
value, and ApplyStyleRule copied the cascade and the rule for every rule.
On a phone that memcpy was the largest single cost of a frame.
ApplyStyleRules now reads a borrowed view of the rules in place, and
widgets resolve through ResolveInstalledStyleRules. The widget face
functions (Checkbox, Toggle, Radio, Slider, Image, Progress, Separator,
Plot) no longer take a rule table; tests install theirs first. The unused
single-rule ApplyStyleRule/ResolveStyleRule and the FromRules paint
helpers are gone.