Thanks for looking at this -
I am building a ship and a building on the planet. To simplify things a bit, I turned off focus on the planet, and changed the domestic policy sliders to Mil:31% Soc:31% Res:38%
So now, on the planet, my production is:
Mil: 8 (6 from factories, 2 from bonuses)
Soc: 8
Res: 13
Spending is 41, maintenance is 20.
The summary screen says I have Industry: 20mp and Research: 26tp. The detail screen says I have a starbase bonus of +5% for production and research, and a planet bonus of +10% production.
So, since bonuses are only charged at half price, it looks like I should be spending 7 bc on military, 7 on soc (assuming it breaks down the same way as military - there's no tooltip for that one) and 13 on reasearch, and 20 on maintenance. That adds up to 47, but on the screen it says 41.
If I add 15% for my starbase and planet bonuses to that 41, it makes it 47, so maybe that's the answer, but the 10% planet bonus is supposed to apply to production only, not research, so I don't see how that can work.
There is also a 10% economic bonus, but I'm assuming that would show up in income, not spending.
Also I don't get where the 13 for research comes from either: 26tp * 38% + 5% bonus gets 10.3 (or 11.2, if the bonus adds to the slider % instead of compounding), but the listed value is 13.