import type { ReactNode } from "react"; // One card style for the whole app. A 1px border and nothing else leaves a // card with no separation from the page; with a single definition the whole // app's depth is one line to change. export const CARD_CLASS = "rounded-md border border-border bg-white shadow-[var(--shadow-card)]"; export function Card({ children, className = "", padding = "md", }: { children: ReactNode; className?: string; /** `none` for cards that manage their own inner spacing (tables, lists). */ padding?: "none" | "sm" | "md" | "lg"; }) { const pad = { none: "", sm: "p-3", md: "p-4", lg: "p-6" }[padding]; return