House and Senate leaders reached a final deal on the state budget late Sunday night, the last step in an extended process that required a special session to complete for the second year in a row.