Implicit Representations of Grammaticality in Language Models — ThinkLLM