Replace inline estimateCost() in cost-tracker.js with import from scripts/lib/cost-estimate.js. No behavior change.