I simply assumed (bad thing) that Safari already supported case-sensitive attribute selectors, but here we are with it added in TP 245:
webkit.org/blog/17970/r...
Safari Technology Preview Release 245 is now available for download for macOS Tahoe and macOS Sequoia.