The City's own ADU rules go past the state minimum
Sacramento reviews an ADU under its own rules (City Code 17.228.105(B)) or under the state standards (17.228.105(C)), one set per lot with no mixing. The City's set allows more: detached ADUs up to 1,200 sq ft in total, the zone's height limit (35 ft in R-1) and 3 ft side and rear setbacks, but at most 2 units on the lot, junior ADUs included. The state set caps a new detached ADU at 800 sq ft and 18 ft (20 ft to match the house's roof pitch) with 4 ft setbacks, and allows a converted ADU, a junior ADU and a detached ADU together.
City ADU Resource Center, Step 1; Sacramento City Code 17.228.105(B) and (C)