# Shared spec — Fictional quote calculator
Reference: 2026-11-22. This is an invented teaching example, not a commercial tool.

## Illustrative job
A solo service provider estimates a subtotal from expected work hours and additional expenses.

## Inputs
- Activity: optional fictional text, not part of the formula.
- Hours: 0–1000, up to 2 decimal places.
- Hourly reference in BRL: 0–1,000,000, up to 2 decimals.
- Additional expenses in BRL: 0–1,000,000, up to 2 decimals.

## Rules
1. Numerical inputs must not be blank.
2. Negative numbers and nonnumbers produce an error with no result.
3. Work subtotal = hours × hourly reference, rounded to cents.
4. Total = work subtotal + expenses; display as BRL.
5. Mark results as illustrative, not pricing advice, profit, tax or a real quote.
6. Don't transmit or automatically store inputs; use no real client names.

## Check cases
- 5, 80, 30 => BRL 430.
- 1.5, 39.90, 0.05 => BRL 59.90.
- 0, 0, 0 => BRL 0.
- Missing hours, negative hours, scientific notation or three decimal places => errors.
- Changes invalidate old results until recalculated.
- Keyboard and mobile usability.

## Limit
No payment, legal document, tax advice or client database. It is not SaaS.
