{{-- Keeps the 5j/7j/week-end choice in sync across page loads and between the assmat home, the parent home, and the full planning page, by mirroring it in localStorage (the same key the planning page's own weekLength preference reads/writes — see resources/js/app.js). A fresh visit with no explicit ?planning_days= redirects once to the stored preference. --}}