/* Tokens de la direction artistique Samsung — importés par tous les écrans.
   Règle : si un élément n'est ni une action ni un état, il est en --ink ou
   --ink-muted. Aucune autre couleur n'est autorisée. */

:root {
  /* Couleurs */
  --samsung-blue:    #1428A0;  /* accent unique : actions, sélection, focus */
  --samsung-blue-dk: #0D1B6B;  /* hover/pressed */
  --ink:             #1B1B1B;  /* texte principal */
  --ink-muted:       #6B7280;  /* labels, méta */
  --surface:         #FFFFFF;  /* fond principal */
  --surface-alt:     #F7F8FA;  /* fond de page, lignes alternées, panneaux */
  --line:            #E4E7EC;  /* bordures 1px */

  /* États de validation */
  --state-review:    #D93025;
  --state-review-bg: #FDECEA;
  --state-ok:        #00875A;
  --state-ok-bg:     #E8F5F0;
  --state-draft:     #6B7280;

  /* Typographie */
  --font-display: "Samsung Sharp Sans", "Inter Tight", system-ui, sans-serif;
  --font-body:    "SamsungOne", "Inter", system-ui, sans-serif;

  --fs-28: 1.75rem;
  --fs-20: 1.25rem;
  --fs-16: 1rem;
  --fs-14: 0.875rem;
  --fs-13: 0.8125rem;
  --fs-12: 0.75rem;

  /* Formes */
  --r-control: 4px;   /* boutons, badges */
  --r-panel:   8px;   /* panneaux */

  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Densité */
  --row-h: 44px;
  --cell-pad: 10px 12px;

  /* Mouvement — uniquement en réponse à une action */
  --dur-panel: 200ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-panel: 0ms;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
