System Information:
macOS version: 12.1
Userscripts version: Userscripts Safari Version 4.0.9
Safari version: Version 15.2 (17612.3.6.1.6)
Is this issue related to script injection? Yes
Did the test script (pasted above) successfully run on your machine? Yes
GM_addStyle(".TableValue { width: min-content; }");
GM_addStyle(".TableRow { margin-right: 2em; }");
These lines are giving ReferenceError: Can't find variable: browser error in console.

System Information:
These lines are giving
ReferenceError: Can't find variable: browsererror in console.