Q.Coffee grounds
If used coffee grounds are green compost then what about medium roast or light roast unused fresh ground coffee?

Unused grounds are fine, you just may need to sprinkle some wet compost material or some water on them after adding them to your compost pile.
Here are some articles that may also help you:
https://www.gardeningknowhow.com/composting/ingredients/coffee-grounds-gardening.htm
https://www.gardeningknowhow.com/composting/ingredients/browns-greens-compost.htm#green