Game-in-a-post: Dim Corridor

I’ve been playing with some ideas lately for positionally-based toggle puzzles, similar in concept to the classic ‘Lights Out’ game, though I’ve primarily been thinking about one-dimensional puzzles. My first attempt was far too simplistic and easily beaten, though I have carried some of the ideas along into this little puzzler, which I call the ‘Dim Corridor’. This is a work in progress, but as of this version, the rules are as follows:

Game-in-a-post: Yz (or, on post-specific JS/CSS requirements in Hugo)