Add explicit mode switcher: Sum vs Payouts
- Added chip-group toggle between 'Сумма' and 'Выплаты' modes
- In Sum mode: S is readonly/computed, Z is manual input
- In Payout mode: Z is readonly/computed, S is manual input
- Removed confusing auto-calculation logic for single missing field
- Mode persists in localStorage and export/import
- Updated docs with clear explanation of both modes
- Added input-readonly styling for disabled fields

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1de5f7a commit 2ec841257e59711e89df614907094f159e6e504b
@root root authored 14 hours ago
Showing 4 changed files
View
css/styles.css
View
docs/calculations.md
View
index.html
View
js/app.js