LGA1700: B760 or Z790, DDR4 or DDR5, not both. A low-power CPU needs little from the VRM.
In a small case watch cooler clearance; update the BIOS and confirm the QVL.