# NGBVD Precision Fix Patch

This patch focuses only on the items raised after the stabilization reset:

- Restores the preferred public home/about layout while keeping public stats.
- Keeps the preferred district map and restores drill-down details including incident categories and gender breakdown.
- Restores dashboard top tiles and Highcharts/Morris-style visual direction, adding extra KPI tiles.
- Restores the good roles/list UI and fixes permission persistence + permission reading.
- Adds route and controller support for the branded read-only case report preview.
- Restores Preview and Edit actions on Profiled Cases.
- Adds a standard analysis workbench with three modes: Pivot Report, Grid Data, and Visual Summary.
- Keeps the offline import work intact.
- Adds global cascading district → sub-county → parish dropdown behavior.
- Fixes settings theme reset and improves per-user theme templates.
- Adds static modal behavior so modals only close via Save, Close, or X.
- Adds improved users UI from the previous better implementation.

Do not touch /index/district and /index/contact further unless explicitly requested.

After applying:

```powershell
composer dump-autoload
php artisan optimize:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear
php artisan cache:clear
```

If permissions table is not yet created, run on staging first:

```powershell
php artisan migrate --path=database/migrations/2026_06_03_000030_create_role_permissions_table.php
```
