Munṣarif: normally takes all three case vowels plus tanwīn: زَيْدٌ، زَيْدًا، زَيْدٍ.
Ghayr munṣarif: normally has no tanwīn and takes fatḥa in the genitive: أَحْمَدُ، أَحْمَدَ، بِأَحْمَدَ.
Important exception: with the definite article or as muḍāf, a diptote can take kasra in the genitive.
Core skill: determine the syntactic case first, then select the correct marker for the noun class.