(defcomp
  ()
  (div
    (~tw :tokens "space-y-2")
    (div
      (~tw :tokens "rounded-lg p-3 bg-stone-50 border border-stone-200")
      (p
        (~tw :tokens "text-sm text-stone-700")
        (collect! "demo-css-dedup" ".card { padding: 1rem }")
        (collect! "demo-css-dedup" ".card { padding: 1rem }")
        (collect! "demo-css-dedup" ".btn { color: blue }")
        "Three collect! calls, two identical. Only unique values kept."))
    (div
      (~tw :tokens "rounded-lg p-3 bg-violet-50 border border-violet-200")
      (p
        (~tw :tokens "text-sm text-violet-800 font-semibold")
        (str "Collected: " (len (collected "demo-css-dedup")) " rules"))
      (ul
        (~tw :tokens "text-xs text-stone-600 list-disc pl-5")
        (map (fn (r) (li (code r))) (collected "demo-css-dedup"))))))
