{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "lead-profile-panel",
  "title": "Lead Profile Panel",
  "description": "A CRM lead detail screen: contact header with tags, status and owner, email / call actions, convert-to-deal inline form, a lead score ring with Hot / Warm / Cold and an explainable factor breakdown, a 14-day visits bar chart, and an activity timeline with note logging plus a details tab.",
  "dependencies": [
    "motion",
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/lead-profile-panel/lead-profile-panel.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\ntype Status = \"new\" | \"contacted\" | \"qualified\" | \"unqualified\";\ninterface Activity {\n  id: string;\n  kind: \"email\" | \"visit\" | \"form\" | \"call\" | \"note\";\n  text: string;\n  detail?: string;\n  when: string;\n}\n\nexport interface Lead {\n  name: string;\n  title: string;\n  company: string;\n  email: string;\n  phone: string;\n  location: string;\n  source: string;\n  companySize: string;\n  status: Status;\n  owner: string;\n  tags: string[];\n  score: { total: number; factors: { label: string; points: number }[] };\n  visits: number[];\n  activity: Activity[];\n}\n\nexport interface LeadProfilePanelProps {\n  lead?: Lead;\n  currency?: string;\n  onConvert?: (deal: { value: number; stage: string }) => void;\n  theme?: \"dark\" | \"light\";\n  className?: string;\n}\n\nconst PALETTES = {\n  dark: { bg: \"#0A0A0A\", text: \"#F5F4F1\", muted: \"rgba(245,244,241,0.62)\", faint: \"rgba(245,244,241,0.36)\", card: \"#121212\", well: \"rgba(255,255,255,0.04)\", border: \"rgba(255,255,255,0.08)\", input: \"#0D0D0D\", track: \"rgba(255,255,255,0.08)\", on: \"#F5F4F1\", onText: \"#0A0A0A\", bar: \"#3987e5\", hot: \"#F87171\", warm: \"#FBBF24\", cold: \"#60A5FA\", good: \"#4ADE80\", ring: \"rgba(245,244,241,0.6)\" },\n  light: { bg: \"#FAFAF8\", text: \"#0A0A0A\", muted: \"rgba(10,10,10,0.62)\", faint: \"rgba(10,10,10,0.4)\", card: \"#FFFFFF\", well: \"rgba(10,10,10,0.03)\", border: \"rgba(10,10,10,0.09)\", input: \"#FAFAF8\", track: \"rgba(10,10,10,0.08)\", on: \"#0A0A0A\", onText: \"#FAFAF8\", bar: \"#2a78d6\", hot: \"#DC2626\", warm: \"#B45309\", cold: \"#2563EB\", good: \"#15803D\", ring: \"rgba(10,10,10,0.5)\" },\n};\nconst LEAD: Lead = {\n  name: \"Priya Raman\",\n  title: \"Head of Operations\",\n  company: \"Marktplatz Group\",\n  email: \"priya.raman@marktplatz.example\",\n  phone: \"+49 30 5512 8830\",\n  location: \"Hamburg, Germany\",\n  source: \"Webinar · Scaling ops\",\n  companySize: \"200–500\",\n  status: \"contacted\",\n  owner: \"Lena Hartmann\",\n  tags: [\"Retail\", \"Multi-store\", \"Q1 budget\"],\n  score: { total: 82, factors: [ { label: \"Visited pricing 4×\", points: 25 }, { label: \"Company size fits\", points: 20 }, { label: \"Opened 5 emails\", points: 15 }, { label: \"Requested a demo\", points: 30 }, { label: \"No reply in 6 days\", points: -8 } ] },\n  visits: [0, 1, 0, 0, 2, 1, 0, 3, 1, 0, 4, 2, 5, 3],\n  activity: [\n    { id: \"a1\", kind: \"form\", text: \"Requested a demo\", detail: \"“We run 14 stores and need one dashboard.”\", when: \"2h ago\" },\n    { id: \"a2\", kind: \"visit\", text: \"Viewed Pricing and Enterprise\", detail: \"6 pages · 9 min\", when: \"Today 09:40\" },\n    { id: \"a3\", kind: \"email\", text: \"Opened “Your webinar recording”\", when: \"Yesterday\" },\n    { id: \"a4\", kind: \"call\", text: \"Intro call with Lena\", detail: \"15 min · interested in rollout timeline\", when: \"Nov 3\" },\n    { id: \"a5\", kind: \"visit\", text: \"Attended webinar “Scaling ops”\", when: \"Oct 29\" },\n  ],\n};\nconst STATUS: { id: Status; label: string }[] = [\n  { id: \"new\", label: \"New\" },\n  { id: \"contacted\", label: \"Contacted\" },\n  { id: \"qualified\", label: \"Qualified\" },\n  { id: \"unqualified\", label: \"Unqualified\" },\n];\nconst ICON: Record<Activity[\"kind\"], string> = {\n  email: \"M3 6h18v12H3zM3 7l9 6 9-6\",\n  visit: \"M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12ZM12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6\",\n  form: \"M6 3h9l3 3v15H6zM9 11h6M9 15h6\",\n  call: \"M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2\",\n  note: \"M4 20h4L19 9l-4-4L4 16zM14 6l4 4\",\n};\n\nexport function LeadProfilePanel({ lead = LEAD, currency = \"€\", onConvert, theme = \"dark\", className }: LeadProfilePanelProps) {\n  const p = PALETTES[theme];\n  const reduce = !!useReducedMotion();\n  const uid = React.useId();\n  const [status, setStatus] = React.useState<Status>(lead.status);\n  const [tab, setTab] = React.useState<\"activity\" | \"details\">(\"activity\");\n  const [activity, setActivity] = React.useState(lead.activity);\n  const [note, setNote] = React.useState(\"\");\n  const [showScore, setShowScore] = React.useState(false);\n  const [converting, setConverting] = React.useState(false);\n  const [deal, setDeal] = React.useState({ value: \"18000\", stage: \"Qualified\" });\n  const [converted, setConverted] = React.useState<null | { value: number; stage: string }>(null);\n  const [toast, setToast] = React.useState<string | null>(null);\n\n  React.useEffect(() => {\n    if (!toast) return;\n    const t = setTimeout(() => setToast(null), 2000);\n    return () => clearTimeout(t);\n  }, [toast]);\n\n  const s = lead.score.total;\n  const heat = s >= 75 ? { label: \"Hot\", c: p.hot } : s >= 45 ? { label: \"Warm\", c: p.warm } : { label: \"Cold\", c: p.cold };\n  const maxV = Math.max(...lead.visits, 1);\n  const initials = lead.name\n    .split(\" \")\n    .map((w) => w[0])\n    .join(\"\");\n\n  const addNote = (e: React.FormEvent) => {\n    e.preventDefault();\n    if (!note.trim()) return;\n    setActivity((l) => [{ id: `n${l.length + 1}`, kind: \"note\", text: note.trim(), detail: \"Note by you\", when: \"Just now\" }, ...l]);\n    setNote(\"\");\n    setTab(\"activity\");\n  };\n  const changeStatus = (v: Status) => {\n    setStatus(v);\n    setActivity((l) => [{ id: `s${l.length + 1}`, kind: \"note\", text: `Status changed to ${STATUS.find((x) => x.id === v)!.label}`, when: \"Just now\" }, ...l]);\n  };\n\n  const ring = { [\"--tw-ring-color\" as string]: p.ring, [\"--tw-ring-offset-color\" as string]: p.card } as React.CSSProperties;\n  const focus = \"outline-none focus-visible:ring-2 focus-visible:ring-offset-2\";\n  const action = cn(\"flex h-9 flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-lg border text-[12.5px] font-medium\", focus);\n  const C = 2 * Math.PI * 30;\n\n  return (\n    <section className={cn(\"@container relative w-full\", className)} style={{ background: p.bg, color: p.text }}>\n      <div className=\"mx-auto max-w-5xl px-4 py-10 @[640px]:px-6\">\n        <div className=\"grid grid-cols-1 gap-4 @[800px]:grid-cols-[320px_minmax(0,1fr)]\">\n          {/* Profile column */}\n          <div className=\"flex flex-col gap-4\">\n            <div className=\"rounded-2xl border p-5\" style={{ background: p.card, borderColor: p.border }}>\n              <div className=\"flex items-start gap-3.5\">\n                <span className=\"grid h-14 w-14 shrink-0 place-items-center rounded-full text-[18px] font-semibold text-[#0A0A0A]\" style={{ background: \"#C4B5FD\" }} aria-hidden=\"true\">\n                  {initials}\n                </span>\n                <div className=\"min-w-0 flex-1\">\n                  <h2 className=\"m-0 truncate text-[17px] font-semibold\">{lead.name}</h2>\n                  <p className=\"m-0 mt-0.5 truncate text-[12.5px]\" style={{ color: p.muted }}>\n                    {lead.title} · {lead.company}\n                  </p>\n                  <div className=\"mt-2 flex flex-wrap gap-1\">\n                    {lead.tags.map((t) => (\n                      <span key={t} className=\"rounded-md px-1.5 py-0.5 text-[10.5px]\" style={{ background: p.track, color: p.muted }}>\n                        {t}\n                      </span>\n                    ))}\n                  </div>\n                </div>\n              </div>\n\n              <div className=\"mt-4 grid grid-cols-2 gap-2\">\n                <label className=\"block\">\n                  <span className=\"mb-1 block text-[11px]\" style={{ color: p.faint }}>\n                    Status\n                  </span>\n                  <select value={status} onChange={(e) => changeStatus(e.target.value as Status)} className={cn(\"h-8 w-full cursor-pointer rounded-lg border px-2 text-[12.5px]\", focus)} style={{ borderColor: p.border, background: p.input, color: p.text, ...ring }}>\n                    {STATUS.map((x) => (\n                      <option key={x.id} value={x.id}>\n                        {x.label}\n                      </option>\n                    ))}\n                  </select>\n                </label>\n                <div>\n                  <span className=\"mb-1 block text-[11px]\" style={{ color: p.faint }}>\n                    Owner\n                  </span>\n                  <span className=\"flex h-8 items-center gap-1.5 text-[12.5px]\">\n                    <span className=\"grid h-5 w-5 place-items-center rounded-full text-[8.5px] font-bold text-[#0A0A0A]\" style={{ background: \"#F472B6\" }} aria-hidden=\"true\">\n                      LH\n                    </span>\n                    {lead.owner}\n                  </span>\n                </div>\n              </div>\n\n              <div className=\"mt-4 flex gap-2\">\n                <a href={`mailto:${lead.email}`} onClick={(e) => (e.preventDefault(), setToast(`Composer opened for ${lead.name.split(\" \")[0]}`))} className={cn(action, \"no-underline\")} style={{ borderColor: p.border, color: p.text, ...ring }}>\n                  <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                    <path d={ICON.email} />\n                  </svg>\n                  Email\n                </a>\n                <button type=\"button\" onClick={() => setToast(`Calling ${lead.phone}…`)} className={action} style={{ borderColor: p.border, background: \"transparent\", color: p.text, ...ring }}>\n                  <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                    <path d={ICON.call} />\n                  </svg>\n                  Call\n                </button>\n              </div>\n\n              <AnimatePresence mode=\"popLayout\" initial={false}>\n                {converted ? (\n                  <motion.div key=\"done\" role=\"status\" initial={reduce ? false : { opacity: 0, scale: 0.96 }} animate={{ opacity: 1, scale: 1 }} className=\"mt-2 flex items-center gap-2 rounded-lg px-3 py-2.5 text-[12.5px]\" style={{ background: `${p.good}14`, color: p.good }}>\n                    <span aria-hidden=\"true\">✓</span> Deal created · {currency}\n                    {converted.value.toLocaleString(\"en-US\")} in {converted.stage}\n                  </motion.div>\n                ) : converting ? (\n                  <motion.form\n                    key=\"form\"\n                    initial={reduce ? false : { opacity: 0, height: 0 }}\n                    animate={{ opacity: 1, height: \"auto\" }}\n                    exit={reduce ? undefined : { opacity: 0, height: 0 }}\n                    className=\"overflow-hidden\"\n                    onSubmit={(e) => {\n                      e.preventDefault();\n                      const d = { value: Number(deal.value) || 0, stage: deal.stage };\n                      if (!d.value) return;\n                      setConverted(d);\n                      setConverting(false);\n                      setStatus(\"qualified\");\n                      onConvert?.(d);\n                      setActivity((l) => [{ id: `d${l.length + 1}`, kind: \"note\", text: `Converted to a ${currency}${d.value.toLocaleString(\"en-US\")} deal`, detail: d.stage, when: \"Just now\" }, ...l]);\n                    }}\n                  >\n                    <div className=\"mt-2 grid grid-cols-2 gap-2 rounded-lg p-2.5\" style={{ background: p.well }}>\n                      <label className=\"block\">\n                        <span className=\"mb-1 block text-[11px]\" style={{ color: p.faint }}>\n                          Deal value\n                        </span>\n                        <span className=\"flex h-8 items-center rounded-lg border px-2 focus-within:ring-2\" style={{ borderColor: p.border, background: p.input, ...ring }}>\n                          <span className=\"text-[12.5px]\" style={{ color: p.faint }}>\n                            {currency}\n                          </span>\n                          <input value={deal.value} onChange={(e) => setDeal((d) => ({ ...d, value: e.target.value.replace(/\\D/g, \"\").slice(0, 8) }))} inputMode=\"numeric\" className=\"h-full min-w-0 flex-1 border-0 bg-transparent px-1 text-[12.5px] tabular-nums outline-none\" style={{ color: p.text }} />\n                        </span>\n                      </label>\n                      <label className=\"block\">\n                        <span className=\"mb-1 block text-[11px]\" style={{ color: p.faint }}>\n                          Stage\n                        </span>\n                        <select value={deal.stage} onChange={(e) => setDeal((d) => ({ ...d, stage: e.target.value }))} className={cn(\"h-8 w-full cursor-pointer rounded-lg border px-2 text-[12.5px]\", focus)} style={{ borderColor: p.border, background: p.input, color: p.text, ...ring }}>\n                          {[\"Qualified\", \"Proposal\", \"Negotiation\"].map((x) => (\n                            <option key={x}>{x}</option>\n                          ))}\n                        </select>\n                      </label>\n                      <button type=\"button\" onClick={() => setConverting(false)} className={cn(\"h-8 cursor-pointer rounded-lg border bg-transparent text-[12.5px]\", focus)} style={{ borderColor: p.border, color: p.text, ...ring }}>\n                        Cancel\n                      </button>\n                      <button type=\"submit\" className={cn(\"h-8 cursor-pointer rounded-lg border-0 text-[12.5px] font-medium\", focus)} style={{ background: p.on, color: p.onText, ...ring }}>\n                        Create deal\n                      </button>\n                    </div>\n                  </motion.form>\n                ) : (\n                  <motion.button key=\"cta\" type=\"button\" onClick={() => setConverting(true)} initial={reduce ? false : { opacity: 0 }} animate={{ opacity: 1 }} className={cn(\"mt-2 h-9 w-full cursor-pointer rounded-lg border-0 text-[12.5px] font-semibold\", focus)} style={{ background: p.on, color: p.onText, ...ring }}>\n                    Convert to deal\n                  </motion.button>\n                )}\n              </AnimatePresence>\n            </div>\n\n            {/* Score */}\n            <div className=\"rounded-2xl border p-5\" style={{ background: p.card, borderColor: p.border }}>\n              <div className=\"flex items-center gap-4\">\n                <svg width=\"76\" height=\"76\" viewBox=\"0 0 76 76\" role=\"img\" aria-label={`Lead score ${s} of 100, ${heat.label}`}>\n                  <circle cx=\"38\" cy=\"38\" r=\"30\" fill=\"none\" stroke={p.track} strokeWidth=\"7\" />\n                  <motion.circle cx=\"38\" cy=\"38\" r=\"30\" fill=\"none\" stroke={heat.c} strokeWidth=\"7\" strokeLinecap=\"round\" transform=\"rotate(-90 38 38)\" strokeDasharray={C} initial={reduce ? false : { strokeDashoffset: C }} animate={{ strokeDashoffset: C * (1 - s / 100) }} transition={{ duration: 0.9, ease: [0.22, 1, 0.36, 1] }} />\n                  <text x=\"38\" y=\"43\" textAnchor=\"middle\" fontSize=\"18\" fontWeight=\"600\" fill={p.text}>\n                    {s}\n                  </text>\n                </svg>\n                <div className=\"min-w-0 flex-1\">\n                  <p className=\"m-0 text-[12px]\" style={{ color: p.muted }}>\n                    Lead score\n                  </p>\n                  <p className=\"m-0 mt-0.5 flex items-center gap-1.5 text-[15px] font-semibold\" style={{ color: heat.c }}>\n                    <span aria-hidden=\"true\">●</span> {heat.label}\n                  </p>\n                  <button type=\"button\" aria-expanded={showScore} aria-controls={`${uid}-score`} onClick={() => setShowScore((v) => !v)} className={cn(\"mt-1 cursor-pointer border-0 bg-transparent p-0 text-[12px] underline-offset-2 hover:underline\", focus)} style={{ color: p.muted, ...ring }}>\n                    {showScore ? \"Hide\" : \"Why this score?\"}\n                  </button>\n                </div>\n              </div>\n              <AnimatePresence initial={false}>\n                {showScore && (\n                  <motion.ul key=\"f\" id={`${uid}-score`} initial={reduce ? false : { height: 0, opacity: 0 }} animate={{ height: \"auto\", opacity: 1 }} exit={reduce ? undefined : { height: 0, opacity: 0 }} className=\"m-0 list-none overflow-hidden p-0\">\n                    {lead.score.factors.map((f, i) => (\n                      <motion.li key={f.label} initial={reduce ? false : { opacity: 0, x: -6 }} animate={{ opacity: 1, x: 0 }} transition={{ delay: reduce ? 0 : 0.05 * i }} className={cn(\"flex items-center justify-between gap-3 py-1.5 text-[12px]\", i === 0 && \"mt-3 border-t pt-3\")} style={{ borderColor: p.border }}>\n                        <span style={{ color: p.muted }}>{f.label}</span>\n                        <span className=\"font-medium tabular-nums\" style={{ color: f.points < 0 ? p.hot : p.good }}>\n                          {f.points > 0 ? \"+\" : \"−\"}\n                          {Math.abs(f.points)}\n                        </span>\n                      </motion.li>\n                    ))}\n                  </motion.ul>\n                )}\n              </AnimatePresence>\n              <div className=\"mt-4\">\n                <p className=\"m-0 flex justify-between text-[11.5px]\" style={{ color: p.faint }}>\n                  <span>Site visits · 14 days</span>\n                  <span className=\"tabular-nums\">{lead.visits.reduce((a, b) => a + b, 0)} total</span>\n                </p>\n                <div className=\"mt-2 flex h-12 items-end gap-[3px]\" role=\"img\" aria-label={`Visits per day over 14 days: ${lead.visits.join(\", \")}`}>\n                  {lead.visits.map((v, i) => (\n                    <motion.span key={i} className=\"flex-1 rounded-t-[3px]\" initial={reduce ? false : { height: 0 }} animate={{ height: v ? `${(v / maxV) * 100}%` : 2 }} transition={{ duration: 0.5, delay: reduce ? 0 : i * 0.025 }} style={{ background: v ? p.bar : p.track }} title={`${v} visits`} />\n                  ))}\n                </div>\n              </div>\n            </div>\n          </div>\n\n          {/* Timeline column */}\n          <div className=\"rounded-2xl border\" style={{ background: p.card, borderColor: p.border }}>\n            <div role=\"tablist\" aria-label=\"Lead sections\" className=\"flex gap-1 border-b px-3 pt-2\" style={{ borderColor: p.border }}>\n              {([\"activity\", \"details\"] as const).map((t) => (\n                <button key={t} type=\"button\" role=\"tab\" aria-selected={tab === t} aria-controls={`${uid}-${t}`} onClick={() => setTab(t)} className={cn(\"relative h-10 cursor-pointer border-0 bg-transparent px-3 text-[13px] font-medium capitalize\", focus)} style={{ color: tab === t ? p.text : p.muted, ...ring }}>\n                  {t}\n                  {t === \"activity\" && (\n                    <span className=\"ml-1.5 rounded-full px-1.5 text-[11px] tabular-nums\" style={{ background: p.track, color: p.muted }}>\n                      {activity.length}\n                    </span>\n                  )}\n                  {tab === t && <motion.span layoutId={reduce ? undefined : `${uid}-tab`} className=\"absolute inset-x-2 -bottom-px h-0.5 rounded-full\" style={{ background: p.text }} />}\n                </button>\n              ))}\n            </div>\n\n            {tab === \"activity\" ? (\n              <div id={`${uid}-activity`} role=\"tabpanel\" className=\"p-4\">\n                <form onSubmit={addNote} className=\"flex gap-2\">\n                  <label htmlFor={`${uid}-note`} className=\"sr-only\">\n                    Add a note\n                  </label>\n                  <input id={`${uid}-note`} value={note} onChange={(e) => setNote(e.target.value)} placeholder=\"Log a call or add a note…\" className=\"h-9 min-w-0 flex-1 rounded-lg border px-3 text-[13px] outline-none focus-visible:ring-2\" style={{ borderColor: p.border, background: p.input, color: p.text, ...ring }} />\n                  <button type=\"submit\" disabled={!note.trim()} className={cn(\"h-9 cursor-pointer rounded-lg border-0 px-3.5 text-[12.5px] font-medium disabled:cursor-not-allowed disabled:opacity-40\", focus)} style={{ background: p.on, color: p.onText, ...ring }}>\n                    Add\n                  </button>\n                </form>\n                <ol className=\"relative m-0 mt-4 list-none p-0\">\n                  <span className=\"absolute top-2 bottom-2 left-[15px] w-px\" style={{ background: p.border }} aria-hidden=\"true\" />\n                  <AnimatePresence initial={false}>\n                    {activity.map((a) => (\n                      <motion.li key={a.id} initial={reduce ? false : { opacity: 0, y: -8 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.3 }} className=\"relative flex gap-3 pb-4 last:pb-0\">\n                        <span className=\"relative z-[1] grid h-8 w-8 shrink-0 place-items-center rounded-full border\" style={{ background: p.card, borderColor: p.border, color: a.kind === \"note\" ? p.text : p.muted }}>\n                          <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                            <path d={ICON[a.kind]} />\n                          </svg>\n                        </span>\n                        <span className=\"min-w-0 flex-1 pt-1\">\n                          <span className=\"flex items-baseline justify-between gap-3\">\n                            <span className=\"text-[13px] font-medium\">{a.text}</span>\n                            <span className=\"shrink-0 text-[11.5px]\" style={{ color: p.faint }}>\n                              {a.when}\n                            </span>\n                          </span>\n                          {a.detail && (\n                            <span className=\"mt-0.5 block text-[12px]\" style={{ color: p.muted }}>\n                              {a.detail}\n                            </span>\n                          )}\n                        </span>\n                      </motion.li>\n                    ))}\n                  </AnimatePresence>\n                </ol>\n              </div>\n            ) : (\n              <dl id={`${uid}-details`} role=\"tabpanel\" className=\"m-0 divide-y px-4\" style={{ borderColor: p.border }}>\n                {[\n                  [\"Email\", lead.email],\n                  [\"Phone\", lead.phone],\n                  [\"Company\", lead.company],\n                  [\"Company size\", `${lead.companySize} employees`],\n                  [\"Location\", lead.location],\n                  [\"Source\", lead.source],\n                ].map(([k, v]) => (\n                  <div key={k} className=\"flex gap-4 py-3 text-[13px]\" style={{ borderColor: p.border }}>\n                    <dt className=\"w-28 shrink-0\" style={{ color: p.faint }}>\n                      {k}\n                    </dt>\n                    <dd className=\"m-0 min-w-0 flex-1 break-words\">{v}</dd>\n                  </div>\n                ))}\n              </dl>\n            )}\n          </div>\n        </div>\n      </div>\n      <AnimatePresence>\n        {toast && (\n          <motion.div key={toast} role=\"status\" initial={reduce ? false : { opacity: 0, y: 8 }} animate={{ opacity: 1, y: 0 }} exit={reduce ? undefined : { opacity: 0 }} className=\"pointer-events-none absolute bottom-5 left-1/2 z-10 -translate-x-1/2 rounded-full border px-3.5 py-1.5 text-[12.5px] whitespace-nowrap shadow-xl\" style={{ background: p.card, borderColor: p.border }}>\n            {toast}\n          </motion.div>\n        )}\n      </AnimatePresence>\n    </section>\n  );\n}\n\nexport default LeadProfilePanel;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}