/* Motion tokens, shared by the client view and the admin.
   The scale and the recipe values come from transitions.dev (free for personal and
   commercial use; see https://transitions.dev). Every transition in the app reads
   these names, so timing is changed here, in one place. Match a token by what the
   motion does, not by its number. */
:root {
  /* Durations */
  --duration-stagger: 40ms;     /* per-item stagger offset */
  --duration-micro: 80ms;       /* small delays */
  --duration-quick: 150ms;      /* hovers, closes, text swaps */
  --duration-fast: 250ms;       /* opens, icon swaps, tabs */
  --duration-medium: 350ms;     /* panel and toast close */
  --duration-slow: 400ms;       /* panel open, content reveal */
  --duration-very-slow: 500ms;  /* emphasis, text reveal, success */
  /* Easings */
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);  /* opens, closes, slides, position changes */
  --ease-in-out: ease-in-out;                          /* icon and text swaps */
  --ease-out: ease-out;                                /* hovers and tooltips */
  --ease-linear: linear;                               /* shimmer, spinners */
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);    /* small pops */
  /* Distances, scales, blur */
  --distance-micro: 4px;
  --distance-base: 8px;
  --distance-medium: 12px;
  --scale-large: 0.96;
  --scale-medium: 0.97;
  --scale-tiny: 0.99;
  --blur-small: 2px;
  --blur-medium: 3px;

  /* Recipes in use */
  --morph-open-dur: 350ms;   --morph-close-dur: 250ms;   --morph-ease: cubic-bezier(0.34, 1.25, 0.64, 1);   /* menu grows out of its button */
  --toast-open: 350ms;       --toast-close: 250ms;       --toast-ease: cubic-bezier(0.22, 1, 0.36, 1);       --toast-distance: 16px;   --toast-blur: 2px;   --toast-scale: 0.97;
  --modal-open-dur: 250ms;   --modal-close-dur: 150ms;   --modal-scale: 0.96;
  --stagger-dur: 500ms;      --stagger-distance: 12px;   --stagger-blur: 3px;
  --acc-expand: 250ms;       --acc-collapse: 250ms;
  --icon-swap-dur: 250ms;    --icon-swap-start-scale: 0.25;
  --tabs-dur: 250ms;
  --shimmer-dur: 2000ms;
  --shake-distance: 6px;     --shake-overshoot: 4px;     --shake-dur-a: 80ms;   --shake-dur-b: 60ms;
  --check-dur: 500ms;        --check-path-delay: 80ms;   --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
}
