Check line 15 on Form 40 - is there an adjustment for State and Local income taxes?
Federal and state tax laws are different.
You are right on. Idaho doesn't allow you to deduct your state taxes withheld, so it is Federal deductions minus state taxes withheld.