/* ==========================================================================
   Jazetti - form-status.css
   OWNED BY CLAUDE CODE, NOT BY THE DESIGN TRACK. DESIGN-BRIEF.md section 10.

   WHAT THIS FILE IS FOR: deciding WHICH form message is visible. Nothing else.

   WHAT DOES NOT BELONG HERE: how a message LOOKS. Colour, spacing, type,
   borders, an error tint - all of it lives in site.css, on .form__note and
   .form__status--error, built from the tokens there. If you have opened this
   file to style a message, you are in the wrong file. Put it in site.css.

   WHY THE SPLIT EXISTS. After a submit, contact.php redirects to a fragment -
   /#verzonden, /#fout-naam, /en/#sent, /en/#error-name, ... (JZ_STATUS_FRAGMENTS
   in src/lib/form.php). Every message is already in the static page under its
   own id, and the rule below hides all of them except the one the fragment
   names. No JavaScript, so it works with scripting off.

   Without this rule every message shows at once on every page load. It used to
   sit at the end of site.css, which the design track replaces wholesale - so
   one good-faith replacement could have broken the form without touching a
   single line the design track was told not to touch. In its own file, loaded
   after site.css on the two pages that carry the form, it cannot be lost that
   way. scripts/verify.php still checks it is here and linked.

   ONE RULE DOES BOTH HALVES. A message is hidden by default, and the one that
   is the :target is not - which is exactly what :not(:target) says.
   ========================================================================== */

[data-form-status]:not(:target) { display: none; }
