(partial answer) First, the sudoku (the following is more like my solving process, so some steps may be out of order):
Each 3x3 box has 7 cells, so each box should have all numbers 1-7.
Step 1:

I filled the center with possible numbers
Then noticed that 6 can only go at the cells highlighted red in the respective box. This means R7C2 is the only place for 6 in that box.
Step 2:

Notice that R6C7 can't be 6 since the two possibilities of 6 in center box exclude this cell. So 6 can only go on the cells highlighted red on the right box. This means R1C7 is the only place for 6 in top right box.
Then we can fill the rest of the 6.

Step 3:

Top box can only have the red cells for 5. So R2C3 is the only place for 5 in that box. Which also gives us R1C6. And based on possibilities of 5 on bottom right box, we can also deduce R5C8 as 5. Then R8C4, R7C1, R4C2, and finally R9C9.

Step 4:

We can fill 2 in bottom right box now. Then R5C5. Then top left and top center boxes can only have 2 at R1 and R3. So top right box must have 2 at R2, which would be at R2C9. Then fill up the rest of the 2.
Step 5:

Left center box can only have R5 as 1. So R6C8 is 1, and we can fill up the rest of 1.
Step 6:
Top left and top center can only have R1 and R3 as 3. So top right must be R2C7. Then fill up the rest of the 3.
Step 7:
Then we can fill up the rest of the 4 and 7 easily. To arrive at this final sudoku part:

Now moving on to the red/green part. Since it seems like the formation of the dots have no meaning individually, let's replace it with the count for visualization.
