export default function StatusPill({ label, tone = "success" }) {
  const toneClass = {
    success: "status-success",
    warning: "status-warning",
    muted: "status-muted",
  }[tone] ?? "status-success";

  return <span className={`status ${toneClass}`}>{label}</span>;
}
