/* Nirmata Events — tokens de design partagés (frontend).
 *
 * Palette calée sur la charte graphique. Les surfaces et le texte sont clés
 * sur les variables du thème (`--wp--preset--color--*`, thème blocs) avec, en
 * repli, les hex de la charte (« Nuit psy ») pour les thèmes classiques.
 *
 * Le site Nirmata est en dark inconditionnel : ces vues n'utilisent PLUS de
 * bascule `prefers-color-scheme` — elles sont sombres par défaut et suivent le
 * thème. Charte : bordeaux #691624 · rosé #d8b7a3 · or #c99946 · teal #4daba2.
 */
:root {
	/* --- Surfaces & texte -------------------------------------------- */
	--nirmata-bg:          var( --wp--preset--color--base, #12131a );
	--nirmata-surface:     #1b1d26; /* cartes, encarts (un cran au-dessus du fond) */
	--nirmata-surface-2:   #232634; /* survol / niveau imbriqué */
	--nirmata-border:      var( --wp--preset--color--accent-5, #353845 );
	--nirmata-border-soft: rgba( 255, 255, 255, 0.10 );
	--nirmata-text:        var( --wp--preset--color--contrast, #eceae4 );
	--nirmata-text-muted:  #9aa0ae;

	/* --- Accents (charte) -------------------------------------------- */
	--nirmata-primary:        var( --wp--preset--color--accent-3, #4daba2 ); /* teal */
	--nirmata-primary-ink:    #08201d; /* texte lisible posé SUR le teal */
	--nirmata-primary-soft:   rgba( 77, 171, 162, 0.14 );
	--nirmata-secondary:      var( --wp--preset--color--accent-2, #c99946 ); /* or */
	--nirmata-secondary-ink:  #221806; /* texte lisible posé SUR l'or */
	--nirmata-secondary-soft: rgba( 201, 153, 70, 0.16 );
	--nirmata-rose:           var( --wp--preset--color--accent-1, #d8b7a3 ); /* rosé */
	--nirmata-danger:         var( --wp--preset--color--accent-4, #691624 ); /* bordeaux */
	--nirmata-danger-text:    #e58f9c; /* bordeaux éclairci, lisible sur fond sombre */

	/* --- Statuts ----------------------------------------------------- */
	--nirmata-ok:   #4daba2; /* confirmé / ouvert  */
	--nirmata-warn: #c99946; /* en attente / brouillon */
	--nirmata-bad:  #e58f9c; /* refusé / annulé / fermé */
}
