What are the categories of the livestock permissible for Udhiyah?
Praise be to Allah, and peace and blessings be upon the Messenger of Allah.
The Udhiyah (sacrificial offering) is not valid except from Al-An’am (livestock), which are: camels, cattle, and sheep/goats. Allah the Almighty says {what means}: "And for every nation We have appointed a rite [of sacrifice] that they may mention the name of Allah over what He has provided for them of beast-livestock." [Al-Hajj/34]
The best of them are camels, then cattle, then sheep/goats. A sacrifice of a camel or a cow avails for seven people. Jabir (may Allah be pleased with him) said: "We sacrificed with the Messenger of Allah (peace and blessings be upon him) in the year of Al-Hudaybiyah a camel for seven and a cow for seven." [Narrated by Muslim] And Allah the Almighty knows best.
What should one do if they see someone deliberately eating or drinking openly during Ramadan?
They must enjoin what is right and forbid what is wrong. If they fear harm from that person, they should disapprove of it in their heart but avoid sitting with them if possible. It is also preferable to seek the help of the authorities to prevent them from doing so.
Is the one offering the sacrifice liable if its meat spoils?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
If the meat (of the sacrifice) spoils due to the negligence of the one offering the sacrifice in preserving it, or due to improper storage, then he is liable to compensate for the portion due to the poor (which is estimated as half a kilogram of meat). If the sacrifice was a vowed (mandatory) one, then he is liable for all of it.
However, if he was not negligent, then there is no liability upon him, because its ruling is the ruling of a trust (like an item left in someone's care). And Allah Almighty knows best.
What is the ruling on one who slept while firmly seated on the ground, regarding nullification of ablution?
The default ruling regarding sleep is that it nullifies ablution. An exception to this is one who slept while firmly seated on the ground; his ablution is not nullified by sleep if he wakes up while still firmly seated on the ground. And Allah the Almighty knows best.