{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "benefits-enrollment-portal",
  "title": "Benefits Enrollment Portal",
  "type": "registry:page",
  "files": [
    {
      "path": "packages/registry-react/blocks/benefits-enrollment-portal/BenefitsEnrollmentPortal.tsx",
      "content": "'use client'\n\nimport * as React from 'react'\nimport {\n  AlertCircle,\n  Check,\n  CheckCircle2,\n  Clock,\n  Download,\n  Eye,\n  FileCheck,\n  FileSignature,\n  HeartPulse,\n  PiggyBank,\n  RefreshCw,\n  ShieldCheck,\n  Percent,\n  User,\n  Users,\n} from 'lucide-react'\nimport { cn } from '@/lib/utils'\nimport { Badge } from '@/components/ui/badge'\nimport { Button } from '@/components/ui/button'\nimport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'\nimport { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'\nimport { Separator } from '@/components/ui/separator'\nimport { Slider } from '@/components/ui/slider'\n\nexport interface BenefitsEnrollmentPortalProps {\n  employeeName?: string\n  employeeId?: string\n  coverageTier?: string\n  department?: string\n  deadlineDate?: string\n  daysRemaining?: number\n  annualSalary?: number\n  payPeriodsPerYear?: number\n  initialMedicalPlan?: string\n  initialDentalPlan?: string\n  initialVisionPlan?: string\n  initial401kRate?: number\n  className?: string\n}\n\nexport interface MedicalPlan {\n  id: string\n  name: string\n  carrier: string\n  badge?: string\n  badgeVariant?: 'default' | 'secondary' | 'outline'\n  employeeCostPerPaycheck: number\n  employerCostPerMonth: number\n  deductible: string\n  outOfPocketMax: string\n  copayOrCoinsurance: string\n  hsaSeed: number\n  description: string\n  highlights: string[]\n}\n\nconst MEDICAL_PLANS: MedicalPlan[] = [\n  {\n    id: 'medical-ppo-hsa',\n    name: 'BlueCross PPO High Deductible + HSA',\n    carrier: 'BlueCross BlueShield',\n    badge: 'Popular · HSA Eligible',\n    badgeVariant: 'secondary',\n    employeeCostPerPaycheck: 85,\n    employerCostPerMonth: 450,\n    deductible: '$1,600 ind / $3,200 fam',\n    outOfPocketMax: '$4,000 ind / $8,000 fam',\n    copayOrCoinsurance: '10% after deductible',\n    hsaSeed: 500,\n    description: 'Triple tax-advantaged health savings account with an employer-funded annual HSA contribution.',\n    highlights: [\n      '$500 annual employer HSA contribution funded on Jan 1',\n      '100% preventive care covered in-network with $0 deductible',\n      'Flexible nationwide PPO specialist access without referrals',\n    ],\n  },\n  {\n    id: 'medical-gold-ppo',\n    name: 'BlueCross Gold Premier PPO',\n    carrier: 'BlueCross BlueShield',\n    badge: 'Low $250 Deductible',\n    badgeVariant: 'outline',\n    employeeCostPerPaycheck: 180,\n    employerCostPerMonth: 520,\n    deductible: '$250 ind / $500 fam',\n    outOfPocketMax: '$2,500 ind / $5,000 fam',\n    copayOrCoinsurance: '$20 Primary / $40 Specialist',\n    hsaSeed: 0,\n    description: 'Predictable low-copay coverage designed for frequent medical care, prescriptions, and peace of mind.',\n    highlights: [\n      'Ultra-low $250 individual deductible for comprehensive care',\n      '$20 primary care & $40 specialist fixed office visit copays',\n      'Tier 1 generic prescriptions covered at $10 copay',\n    ],\n  },\n  {\n    id: 'medical-kaiser-hmo',\n    name: 'Kaiser Permanente HMO',\n    carrier: 'Kaiser Permanente',\n    badge: '$0 Deductible',\n    badgeVariant: 'outline',\n    employeeCostPerPaycheck: 40,\n    employerCostPerMonth: 420,\n    deductible: '$0 ind / $0 fam',\n    outOfPocketMax: '$1,500 ind / $3,000 fam',\n    copayOrCoinsurance: '$15 Primary / $25 Specialist',\n    hsaSeed: 0,\n    description: 'Integrated in-network HMO coverage with zero deductible and lowest payroll deduction.',\n    highlights: [\n      '$0 deductible with everything under one roof at Kaiser centers',\n      '$15 copay for routine medical and virtual telehealth visits',\n      'Lowest bi-weekly payroll deduction across all medical tiers',\n    ],\n  },\n]\n\nexport interface DentalPlan {\n  id: string\n  name: string\n  carrier: string\n  badge?: string\n  badgeVariant?: 'default' | 'secondary' | 'outline'\n  employeeCostPerPaycheck: number\n  employerCostPerMonth: number\n  annualMax: string\n  preventive: string\n  basic: string\n  majorOrOrtho: string\n  description: string\n}\n\nconst DENTAL_PLANS: DentalPlan[] = [\n  {\n    id: 'dental-comprehensive',\n    name: 'Delta Dental Premier Comprehensive',\n    carrier: 'Delta Dental',\n    badge: 'Comprehensive · Ortho Included',\n    badgeVariant: 'secondary',\n    employeeCostPerPaycheck: 14,\n    employerCostPerMonth: 35,\n    annualMax: '$2,000 / member / yr',\n    preventive: '100% (2 cleanings & exams / yr)',\n    basic: '80% coverage (fillings & endodontics)',\n    majorOrOrtho: '50% coverage ($1,500 lifetime ortho)',\n    description: 'Complete coverage for preventative cleanings, major restorative procedures, and orthodontic care.',\n  },\n  {\n    id: 'dental-basic',\n    name: 'Delta Dental Basic',\n    carrier: 'Delta Dental',\n    badge: 'Basic Preventive',\n    badgeVariant: 'outline',\n    employeeCostPerPaycheck: 5,\n    employerCostPerMonth: 20,\n    annualMax: '$1,000 / member / yr',\n    preventive: '100% (2 cleanings / yr)',\n    basic: '50% coverage',\n    majorOrOrtho: 'Not covered',\n    description: 'Essential preventive dental care for routine bi-annual cleanings, exams, and basic cavity fillings.',\n  },\n  {\n    id: 'dental-waive',\n    name: 'Waive Dental Coverage',\n    carrier: 'Decline',\n    employeeCostPerPaycheck: 0,\n    employerCostPerMonth: 0,\n    annualMax: '$0',\n    preventive: 'None',\n    basic: 'None',\n    majorOrOrtho: 'None',\n    description: 'Decline dental insurance coverage for the 2026-2027 plan year.',\n  },\n]\n\nexport interface VisionPlan {\n  id: string\n  name: string\n  carrier: string\n  badge?: string\n  badgeVariant?: 'default' | 'secondary' | 'outline'\n  employeeCostPerPaycheck: number\n  employerCostPerMonth: number\n  examCopay: string\n  frameAllowance: string\n  lenses: string\n  description: string\n}\n\nconst VISION_PLANS: VisionPlan[] = [\n  {\n    id: 'vision-choice-plus',\n    name: 'VSP Vision Choice Plus',\n    carrier: 'VSP Vision Care',\n    badge: '$200 Frame Allowance',\n    badgeVariant: 'secondary',\n    employeeCostPerPaycheck: 8,\n    employerCostPerMonth: 12,\n    examCopay: '$10 copay (every 12 mo)',\n    frameAllowance: '$200 allowance + 20% off overage',\n    lenses: 'Progressives & anti-glare covered in full',\n    description: 'Premium vision coverage with generous designer frame allowances and full progressive lens coverage.',\n  },\n  {\n    id: 'vision-standard',\n    name: 'VSP Standard Vision',\n    carrier: 'VSP Vision Care',\n    badge: 'Standard',\n    badgeVariant: 'outline',\n    employeeCostPerPaycheck: 3,\n    employerCostPerMonth: 8,\n    examCopay: '$15 copay (every 12 mo)',\n    frameAllowance: '$120 frame allowance',\n    lenses: 'Standard single-vision lenses covered',\n    description: 'Core vision benefit for annual eye exams and standard prescription glasses.',\n  },\n  {\n    id: 'vision-waive',\n    name: 'Waive Vision Coverage',\n    carrier: 'Decline',\n    employeeCostPerPaycheck: 0,\n    employerCostPerMonth: 0,\n    examCopay: '$0',\n    frameAllowance: '$0',\n    lenses: 'None',\n    description: 'Decline vision insurance coverage for the 2026-2027 plan year.',\n  },\n]\n\nconst SLIDER_MARKS = {\n  1: '1%',\n  4: '4%',\n  6: '6% (Max Match)',\n  10: '10%',\n  15: '15%',\n  20: '20%',\n}\n\nexport function BenefitsEnrollmentPortal({\n  employeeName = 'Elena Rostova',\n  employeeId = 'EMP-48201',\n  coverageTier = 'Employee + Spouse',\n  department = 'Engineering · Senior Staff',\n  deadlineDate = 'Sep 15',\n  daysRemaining = 14,\n  annualSalary = 120000,\n  payPeriodsPerYear = 24,\n  initialMedicalPlan = 'medical-ppo-hsa',\n  initialDentalPlan = 'dental-comprehensive',\n  initialVisionPlan = 'vision-choice-plus',\n  initial401kRate = 6,\n  className,\n}: BenefitsEnrollmentPortalProps) {\n  const [selectedMedical, setSelectedMedical] = React.useState<string>(initialMedicalPlan)\n  const [selectedDental, setSelectedDental] = React.useState<string>(initialDentalPlan)\n  const [selectedVision, setSelectedVision] = React.useState<string>(initialVisionPlan)\n  const [k401Rate, setK401Rate] = React.useState<number>(initial401kRate)\n  const [isSubmitted, setIsSubmitted] = React.useState<boolean>(false)\n  const [signatureAcknowledged, setSignatureAcknowledged] = React.useState<boolean>(false)\n  const [showSignModal, setShowSignModal] = React.useState<boolean>(false)\n\n  const currentMedical = React.useMemo(\n    () => MEDICAL_PLANS.find((p) => p.id === selectedMedical) ?? MEDICAL_PLANS[0],\n    [selectedMedical],\n  )\n  const currentDental = React.useMemo(\n    () => DENTAL_PLANS.find((p) => p.id === selectedDental) ?? DENTAL_PLANS[0],\n    [selectedDental],\n  )\n  const currentVision = React.useMemo(\n    () => VISION_PLANS.find((p) => p.id === selectedVision) ?? VISION_PLANS[0],\n    [selectedVision],\n  )\n\n  const paycheckGross = annualSalary / payPeriodsPerYear\n\n  // 401(k) Calculations\n  const k401EmployeePerPaycheck = (paycheckGross * k401Rate) / 100\n  const k401EmployeeAnnual = k401EmployeePerPaycheck * payPeriodsPerYear\n\n  const employerMatchRate = React.useMemo(() => {\n    if (k401Rate <= 0) return 0\n    if (k401Rate <= 4) return k401Rate\n    if (k401Rate === 5) return 4.5\n    return 5.0\n  }, [k401Rate])\n\n  const k401EmployerPerPaycheck = (paycheckGross * employerMatchRate) / 100\n  const k401EmployerAnnual = k401EmployerPerPaycheck * payPeriodsPerYear\n  const maxMatchUnlocked = k401Rate >= 6\n  const missedMatchAnnual = Math.max(0, (annualSalary * 5.0) / 100 - k401EmployerAnnual)\n\n  // Health costs per paycheck\n  const healthCostPerPaycheck =\n    currentMedical.employeeCostPerPaycheck +\n    currentDental.employeeCostPerPaycheck +\n    currentVision.employeeCostPerPaycheck\n\n  const totalEmployeePerPaycheck = healthCostPerPaycheck + k401EmployeePerPaycheck\n  const estimatedTaxSavingsPerPaycheck = Math.round(totalEmployeePerPaycheck * 0.25 * 100) / 100\n  const netTakeHomeImpact = totalEmployeePerPaycheck - estimatedTaxSavingsPerPaycheck\n\n  // Employer total annual value\n  const employerMedicalAnnual = currentMedical.employerCostPerMonth * 12\n  const employerDentalAnnual = currentDental.employerCostPerMonth * 12\n  const employerVisionAnnual = currentVision.employerCostPerMonth * 12\n  const hsaSeedAnnual = currentMedical.hsaSeed\n  const employerLifeDisabilityAnnual = 2386\n\n  const totalEmployerAnnualValue =\n    employerMedicalAnnual +\n    employerDentalAnnual +\n    employerVisionAnnual +\n    hsaSeedAnnual +\n    k401EmployerAnnual +\n    employerLifeDisabilityAnnual\n\n  const handleSignAndSubmit = () => {\n    if (!signatureAcknowledged) return\n    setIsSubmitted(true)\n    setShowSignModal(false)\n  }\n\n  const handleResetEnrollment = () => {\n    setIsSubmitted(false)\n    setSignatureAcknowledged(false)\n  }\n\n  return (\n    <div\n      data-slot=\"benefits-enrollment-portal\"\n      className={cn('mx-auto w-full max-w-6xl space-y-8 p-4 sm:p-6 lg:p-8', className)}\n    >\n      {/* Header Banner */}\n      <div className=\"border-border bg-card relative overflow-hidden rounded-xl border p-6 shadow-xs\">\n        <div className=\"flex flex-col gap-5 lg:flex-row lg:items-center lg:justify-between\">\n          <div className=\"space-y-2\">\n            <div className=\"flex flex-wrap items-center gap-2.5\">\n              <Badge\n                wrap\n                variant=\"outline\"\n                className=\"border-warning/30 bg-warning/10 text-warning max-w-full gap-1.5 px-3 py-1 text-left text-xs font-semibold\"\n              >\n                <Clock className=\"size-3.5\" />\n                Open Enrollment Period Ends {deadlineDate} · {daysRemaining} Days Left\n              </Badge>\n              {isSubmitted && (\n                <Badge\n                  variant=\"secondary\"\n                  className=\"border-success/30 bg-success/10 text-success gap-1 text-xs font-semibold\"\n                >\n                  <CheckCircle2 className=\"size-3.5\" />\n                  Elections Submitted &amp; Signed\n                </Badge>\n              )}\n            </div>\n\n            <div>\n              <h1 className=\"text-foreground text-2xl font-bold tracking-tight sm:text-3xl\">\n                Annual Benefits Open Enrollment\n              </h1>\n              <p className=\"text-muted-foreground mt-1 text-sm sm:text-base\">\n                Select your health coverage, retirement matching, and ancillary wellness plans for the 2026-2027 plan\n                year.\n              </p>\n            </div>\n\n            {/* Employee metadata strip */}\n            <div className=\"border-border/60 bg-muted/40 text-muted-foreground mt-3 inline-flex flex-wrap items-center gap-x-4 gap-y-1.5 rounded-lg border px-3.5 py-2 text-xs\">\n              <div className=\"text-foreground flex items-center gap-1.5 font-medium\">\n                <User className=\"text-primary size-3.5\" />\n                <span>{employeeName}</span>\n              </div>\n              <div className=\"flex items-center gap-1.5\">\n                <Users className=\"size-3.5\" />\n                <span>\n                  Tier: <strong className=\"text-foreground font-medium\">{coverageTier}</strong>\n                </span>\n              </div>\n              <div>\n                <span>\n                  ID: <strong className=\"text-foreground font-mono font-medium\">{employeeId}</strong>\n                </span>\n              </div>\n              <div>\n                <span>\n                  Base:{' '}\n                  <strong className=\"text-foreground font-medium tabular-nums\">\n                    ${annualSalary.toLocaleString('en-US')}/yr\n                  </strong>\n                </span>\n              </div>\n            </div>\n          </div>\n\n          <div className=\"flex flex-col gap-2.5 sm:flex-row lg:flex-col lg:items-end\">\n            {!isSubmitted ? (\n              <Button size=\"lg\" className=\"gap-2 font-semibold shadow-xs\" onClick={() => setShowSignModal(true)}>\n                <FileSignature className=\"size-4\" />\n                Save Selections &amp; Sign\n              </Button>\n            ) : (\n              <Button\n                variant=\"outline\"\n                size=\"lg\"\n                className=\"border-success/40 bg-success/5 text-success hover:bg-success/10 gap-2 font-semibold\"\n                onClick={handleResetEnrollment}\n              >\n                <RefreshCw className=\"size-4\" />\n                Modify My Elections\n              </Button>\n            )}\n\n            <p className=\"text-muted-foreground text-xs lg:text-right\">\n              Changes take effect <span className=\"text-foreground font-medium\">October 1, 2026</span>\n            </p>\n          </div>\n        </div>\n      </div>\n\n      {/* Submitted Banner (If Confirmed) */}\n      {isSubmitted && (\n        <div className=\"border-success/30 bg-success/10 text-foreground flex flex-col items-start justify-between gap-4 rounded-xl border p-4 sm:flex-row sm:items-center\">\n          <div className=\"flex flex-wrap items-start gap-3\">\n            <div className=\"border-success/30 bg-success/20 text-success mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg border\">\n              <Check className=\"size-4\" />\n            </div>\n            <div>\n              <p className=\"text-foreground text-sm font-semibold\">\n                Enrollment Signed &amp; Confirmed for Plan Year 2026-2027\n              </p>\n              <p className=\"text-muted-foreground mt-0.5 text-xs\">\n                Confirmation Reference: <span className=\"text-foreground font-mono font-medium\">#BEN-2026-89241</span> ·\n                Signed by {employeeName} on August 21, 2026.\n              </p>\n            </div>\n          </div>\n          <Button aria-label=\"Download attachment\" variant=\"outline\" size=\"sm\" className=\"gap-1.5 text-xs\">\n            <Download className=\"size-3.5\" />\n            Download Summary PDF\n          </Button>\n        </div>\n      )}\n\n      {/* Main 2-Column Grid: Plan Options (Col 8) + Sticky Paycheck Impact (Col 4) */}\n      <div className=\"grid grid-cols-1 gap-8 lg:grid-cols-12 lg:items-start\">\n        {/* Plan Selection Flow */}\n        <div className=\"space-y-8 lg:col-span-8\">\n          {/* Category 1: Medical Health Plan */}\n          <Card className=\"border-border shadow-xs\">\n            <CardHeader className=\"pb-4\">\n              <div className=\"flex flex-wrap items-center justify-between gap-3 sm:flex-nowrap\">\n                <div className=\"flex items-center gap-2.5\">\n                  <div className=\"border-primary/20 bg-primary/10 text-primary flex size-8 shrink-0 items-center justify-center rounded-lg border\">\n                    <HeartPulse className=\"size-4\" />\n                  </div>\n                  <div>\n                    <CardTitle className=\"text-base sm:text-lg\">1. Medical Health Plan</CardTitle>\n                    <CardDescription>\n                      Comprehensive inpatient, outpatient, prescription, and preventive medical coverage.\n                    </CardDescription>\n                  </div>\n                </div>\n                <Badge variant=\"secondary\" className=\"text-xs\">\n                  3 Plans Available\n                </Badge>\n              </div>\n            </CardHeader>\n\n            <CardContent className=\"space-y-4\">\n              <RadioGroup value={selectedMedical} onValueChange={(val) => setSelectedMedical(val)} className=\"gap-3.5\">\n                {MEDICAL_PLANS.map((plan) => {\n                  const isSelected = selectedMedical === plan.id\n                  return (\n                    <div\n                      key={plan.id}\n                      role=\"button\"\n                      tabIndex={0}\n                      aria-pressed={selectedMedical === plan.id}\n                      className={cn(\n                        'focus-visible:ring-ring relative flex cursor-pointer flex-col gap-3 rounded-xl border p-4.5 transition-colors duration-150 focus-visible:ring-2 focus-visible:outline-none',\n                        selectedMedical === plan.id\n                          ? 'border-primary bg-primary/[0.03] dark:bg-primary/10 ring-primary/30 shadow-xs ring-1'\n                          : 'border-border hover:border-border/80 hover:bg-muted/30',\n                      )}\n                      onClick={() => setSelectedMedical(plan.id)}\n                      onKeyDown={(e) => {\n                        if (e.key === 'Enter' || e.key === ' ') {\n                          e.preventDefault()\n                          setSelectedMedical(plan.id)\n                        }\n                      }}\n                    >\n                      <div className=\"flex flex-wrap items-start justify-between gap-3\">\n                        <div className=\"flex flex-wrap items-start gap-3\">\n                          <RadioGroupItem id={plan.id} value={plan.id} className=\"mt-0.5\" />\n                          <div className=\"space-y-1\">\n                            <div className=\"flex flex-wrap items-center gap-2\">\n                              <label\n                                htmlFor={plan.id}\n                                className=\"text-foreground cursor-pointer text-sm font-semibold sm:text-base\"\n                              >\n                                {plan.name}\n                              </label>\n                              {plan.badge && (\n                                <Badge variant={plan.badgeVariant} className=\"text-xs font-medium\">\n                                  {plan.badge}\n                                </Badge>\n                              )}\n                            </div>\n                            <p className=\"text-muted-foreground text-xs\">\n                              {plan.carrier} · {plan.description}\n                            </p>\n                          </div>\n                        </div>\n\n                        <div className=\"shrink-0 text-right\">\n                          <div className=\"flex items-baseline justify-end gap-1\">\n                            <span className=\"text-foreground text-lg font-bold tabular-nums sm:text-xl\">\n                              ${plan.employeeCostPerPaycheck}\n                            </span>\n                            <span className=\"text-muted-foreground text-xs font-normal\">/ paycheck</span>\n                          </div>\n                          <p className=\"text-muted-foreground text-xs\">\n                            Employer pays{' '}\n                            <span className=\"text-foreground font-medium tabular-nums\">\n                              ${plan.employerCostPerMonth}/mo\n                            </span>\n                          </p>\n                        </div>\n                      </div>\n\n                      {/* Plan Benefit Matrix Details */}\n                      <div className=\"border-border/60 bg-card/60 mt-1 grid grid-cols-2 gap-2.5 rounded-lg border p-3 text-xs sm:grid-cols-4\">\n                        <div>\n                          <span className=\"text-muted-foreground block\">Annual Deductible</span>\n                          <span className=\"text-foreground font-semibold tabular-nums\">{plan.deductible}</span>\n                        </div>\n                        <div>\n                          <span className=\"text-muted-foreground block\">Out-of-Pocket Max</span>\n                          <span className=\"text-foreground font-semibold tabular-nums\">{plan.outOfPocketMax}</span>\n                        </div>\n                        <div>\n                          <span className=\"text-muted-foreground block\">Primary / Specialist</span>\n                          <span className=\"text-foreground font-semibold\">{plan.copayOrCoinsurance}</span>\n                        </div>\n                        <div>\n                          <span className=\"text-muted-foreground block\">HSA Company Seed</span>\n                          <span\n                            className={\n                              plan.hsaSeed > 0\n                                ? 'text-success font-semibold tabular-nums'\n                                : 'text-muted-foreground font-medium'\n                            }\n                          >\n                            {plan.hsaSeed > 0 ? `$${plan.hsaSeed} / yr` : 'Not eligible'}\n                          </span>\n                        </div>\n                      </div>\n\n                      {/* Plan Bullet Highlights */}\n                      <ul className=\"text-muted-foreground mt-0.5 space-y-1 text-xs\">\n                        {plan.highlights.map((highlight, i) => (\n                          <li key={i} className=\"flex items-center gap-2\">\n                            <Check className=\"text-primary size-3.5 shrink-0\" />\n                            <span>{highlight}</span>\n                          </li>\n                        ))}\n                      </ul>\n                    </div>\n                  )\n                })}\n              </RadioGroup>\n            </CardContent>\n          </Card>\n\n          {/* Category 2: Dental Plan */}\n          <Card className=\"border-border shadow-xs\">\n            <CardHeader className=\"pb-4\">\n              <div className=\"flex flex-wrap items-center justify-between gap-3 sm:flex-nowrap\">\n                <div className=\"flex items-center gap-2.5\">\n                  <div className=\"border-primary/20 bg-primary/10 text-primary flex size-8 shrink-0 items-center justify-center rounded-lg border\">\n                    <ShieldCheck className=\"size-4\" />\n                  </div>\n                  <div>\n                    <CardTitle className=\"text-base sm:text-lg\">2. Dental Plan</CardTitle>\n                    <CardDescription>\n                      Preventive exams, cleanings, restorative treatments, and orthodontic benefits.\n                    </CardDescription>\n                  </div>\n                </div>\n                <Badge variant=\"secondary\" className=\"text-xs\">\n                  2 Plans + Waive\n                </Badge>\n              </div>\n            </CardHeader>\n\n            <CardContent className=\"space-y-4\">\n              <RadioGroup value={selectedDental} onValueChange={(val) => setSelectedDental(val)} className=\"gap-3.5\">\n                {DENTAL_PLANS.map((plan) => {\n                  const isSelected = selectedDental === plan.id\n                  return (\n                    <div\n                      key={plan.id}\n                      role=\"button\"\n                      tabIndex={0}\n                      aria-pressed={selectedDental === plan.id}\n                      className={cn(\n                        'focus-visible:ring-ring relative flex cursor-pointer flex-col gap-3 rounded-xl border p-4.5 transition-colors duration-150 focus-visible:ring-2 focus-visible:outline-none',\n                        selectedDental === plan.id\n                          ? 'border-primary bg-primary/[0.03] dark:bg-primary/10 ring-primary/30 shadow-xs ring-1'\n                          : 'border-border hover:border-border/80 hover:bg-muted/30',\n                      )}\n                      onClick={() => setSelectedDental(plan.id)}\n                      onKeyDown={(e) => {\n                        if (e.key === 'Enter' || e.key === ' ') {\n                          e.preventDefault()\n                          setSelectedDental(plan.id)\n                        }\n                      }}\n                    >\n                      <div className=\"flex flex-wrap items-start justify-between gap-3\">\n                        <div className=\"flex flex-wrap items-start gap-3\">\n                          <RadioGroupItem id={plan.id} value={plan.id} className=\"mt-0.5\" />\n                          <div className=\"space-y-1\">\n                            <div className=\"flex flex-wrap items-center gap-2\">\n                              <label\n                                htmlFor={plan.id}\n                                className=\"text-foreground cursor-pointer text-sm font-semibold sm:text-base\"\n                              >\n                                {plan.name}\n                              </label>\n                              {plan.badge && (\n                                <Badge variant={plan.badgeVariant ?? 'outline'} className=\"text-xs font-medium\">\n                                  {plan.badge}\n                                </Badge>\n                              )}\n                            </div>\n                            <p className=\"text-muted-foreground text-xs\">\n                              {plan.carrier} · {plan.description}\n                            </p>\n                          </div>\n                        </div>\n\n                        <div className=\"shrink-0 text-right\">\n                          <div className=\"flex items-baseline justify-end gap-1\">\n                            <span className=\"text-foreground text-lg font-bold tabular-nums sm:text-xl\">\n                              ${plan.employeeCostPerPaycheck}\n                            </span>\n                            <span className=\"text-muted-foreground text-xs font-normal\">/ paycheck</span>\n                          </div>\n                          {plan.employerCostPerMonth > 0 ? (\n                            <p className=\"text-muted-foreground text-xs\">\n                              Employer pays{' '}\n                              <span className=\"text-foreground font-medium tabular-nums\">\n                                ${plan.employerCostPerMonth}/mo\n                              </span>\n                            </p>\n                          ) : (\n                            <p className=\"text-muted-foreground text-xs\">No payroll deduction</p>\n                          )}\n                        </div>\n                      </div>\n\n                      {plan.employeeCostPerPaycheck > 0 && (\n                        <div className=\"border-border/60 bg-card/60 mt-1 grid grid-cols-2 gap-2.5 rounded-lg border p-3 text-xs sm:grid-cols-4\">\n                          <div>\n                            <span className=\"text-muted-foreground block\">Annual Maximum</span>\n                            <span className=\"text-foreground font-semibold tabular-nums\">{plan.annualMax}</span>\n                          </div>\n                          <div>\n                            <span className=\"text-muted-foreground block\">Preventive Cleanings</span>\n                            <span className=\"text-foreground font-semibold\">{plan.preventive}</span>\n                          </div>\n                          <div>\n                            <span className=\"text-muted-foreground block\">Basic Services</span>\n                            <span className=\"text-foreground font-semibold\">{plan.basic}</span>\n                          </div>\n                          <div>\n                            <span className=\"text-muted-foreground block\">Major &amp; Orthodontics</span>\n                            <span className=\"text-foreground font-semibold\">{plan.majorOrOrtho}</span>\n                          </div>\n                        </div>\n                      )}\n                    </div>\n                  )\n                })}\n              </RadioGroup>\n            </CardContent>\n          </Card>\n\n          {/* Category 3: Vision Plan */}\n          <Card className=\"border-border shadow-xs\">\n            <CardHeader className=\"pb-4\">\n              <div className=\"flex flex-wrap items-center justify-between gap-3 sm:flex-nowrap\">\n                <div className=\"flex items-center gap-2.5\">\n                  <div className=\"border-primary/20 bg-primary/10 text-primary flex size-8 shrink-0 items-center justify-center rounded-lg border\">\n                    <Eye className=\"size-4\" />\n                  </div>\n                  <div>\n                    <CardTitle className=\"text-base sm:text-lg\">3. Vision Plan</CardTitle>\n                    <CardDescription>\n                      Routine eye exams, designer frame allowances, contact lenses, and progressive lens discounts.\n                    </CardDescription>\n                  </div>\n                </div>\n                <Badge variant=\"secondary\" className=\"text-xs\">\n                  2 Plans + Waive\n                </Badge>\n              </div>\n            </CardHeader>\n\n            <CardContent className=\"space-y-4\">\n              <RadioGroup value={selectedVision} onValueChange={(val) => setSelectedVision(val)} className=\"gap-3.5\">\n                {VISION_PLANS.map((plan) => {\n                  const isSelected = selectedVision === plan.id\n                  return (\n                    <div\n                      key={plan.id}\n                      role=\"button\"\n                      tabIndex={0}\n                      aria-pressed={selectedVision === plan.id}\n                      className={cn(\n                        'focus-visible:ring-ring relative flex cursor-pointer flex-col gap-3 rounded-xl border p-4.5 transition-colors duration-150 focus-visible:ring-2 focus-visible:outline-none',\n                        selectedVision === plan.id\n                          ? 'border-primary bg-primary/[0.03] dark:bg-primary/10 ring-primary/30 shadow-xs ring-1'\n                          : 'border-border hover:border-border/80 hover:bg-muted/30',\n                      )}\n                      onClick={() => setSelectedVision(plan.id)}\n                      onKeyDown={(e) => {\n                        if (e.key === 'Enter' || e.key === ' ') {\n                          e.preventDefault()\n                          setSelectedVision(plan.id)\n                        }\n                      }}\n                    >\n                      <div className=\"flex flex-wrap items-start justify-between gap-3\">\n                        <div className=\"flex flex-wrap items-start gap-3\">\n                          <RadioGroupItem id={plan.id} value={plan.id} className=\"mt-0.5\" />\n                          <div className=\"space-y-1\">\n                            <div className=\"flex flex-wrap items-center gap-2\">\n                              <label\n                                htmlFor={plan.id}\n                                className=\"text-foreground cursor-pointer text-sm font-semibold sm:text-base\"\n                              >\n                                {plan.name}\n                              </label>\n                              {plan.badge && (\n                                <Badge variant={plan.badgeVariant ?? 'outline'} className=\"text-xs font-medium\">\n                                  {plan.badge}\n                                </Badge>\n                              )}\n                            </div>\n                            <p className=\"text-muted-foreground text-xs\">\n                              {plan.carrier} · {plan.description}\n                            </p>\n                          </div>\n                        </div>\n\n                        <div className=\"shrink-0 text-right\">\n                          <div className=\"flex items-baseline justify-end gap-1\">\n                            <span className=\"text-foreground text-lg font-bold tabular-nums sm:text-xl\">\n                              ${plan.employeeCostPerPaycheck}\n                            </span>\n                            <span className=\"text-muted-foreground text-xs font-normal\">/ paycheck</span>\n                          </div>\n                          {plan.employerCostPerMonth > 0 ? (\n                            <p className=\"text-muted-foreground text-xs\">\n                              Employer pays{' '}\n                              <span className=\"text-foreground font-medium tabular-nums\">\n                                ${plan.employerCostPerMonth}/mo\n                              </span>\n                            </p>\n                          ) : (\n                            <p className=\"text-muted-foreground text-xs\">No payroll deduction</p>\n                          )}\n                        </div>\n                      </div>\n\n                      {plan.employeeCostPerPaycheck > 0 && (\n                        <div className=\"border-border/60 bg-card/60 mt-1 grid grid-cols-1 gap-2.5 rounded-lg border p-3 text-xs sm:grid-cols-3\">\n                          <div>\n                            <span className=\"text-muted-foreground block\">Annual Exam Copay</span>\n                            <span className=\"text-foreground font-semibold\">{plan.examCopay}</span>\n                          </div>\n                          <div>\n                            <span className=\"text-muted-foreground block\">Frame Allowance</span>\n                            <span className=\"text-foreground font-semibold tabular-nums\">{plan.frameAllowance}</span>\n                          </div>\n                          <div>\n                            <span className=\"text-muted-foreground block\">Prescription Lenses</span>\n                            <span className=\"text-foreground font-semibold\">{plan.lenses}</span>\n                          </div>\n                        </div>\n                      )}\n                    </div>\n                  )\n                })}\n              </RadioGroup>\n            </CardContent>\n          </Card>\n\n          {/* Category 4: 401(k) Retirement & Employer Match */}\n          <Card className=\"border-border shadow-xs\">\n            <CardHeader className=\"pb-4\">\n              <div className=\"flex items-center justify-between\">\n                <div className=\"flex items-center gap-2.5\">\n                  <div className=\"border-primary/20 bg-primary/10 text-primary flex size-8 shrink-0 items-center justify-center rounded-lg border\">\n                    <PiggyBank className=\"size-4\" />\n                  </div>\n                  <div>\n                    <CardTitle className=\"text-base sm:text-lg\">4. 401(k) Retirement &amp; Employer Match</CardTitle>\n                    <CardDescription>\n                      Pre-tax salary deferrals with tiered 100% + 50% company matching formula.\n                    </CardDescription>\n                  </div>\n                </div>\n                <Badge variant={maxMatchUnlocked ? 'default' : 'outline'} className=\"text-xs\">\n                  {maxMatchUnlocked ? 'Max Match Active' : 'Match Available'}\n                </Badge>\n              </div>\n            </CardHeader>\n\n            <CardContent className=\"space-y-6\">\n              {/* Employer Match Callout Box */}\n              <div className=\"border-primary/30 bg-primary/5 dark:bg-primary/10 flex flex-col gap-3 rounded-xl border p-4 sm:flex-row sm:items-center sm:justify-between\">\n                <div className=\"flex flex-wrap items-start gap-3\">\n                  <Percent className=\"text-primary mt-0.5 size-5 shrink-0\" />\n                  <div className=\"space-y-1\">\n                    <span className=\"text-foreground text-sm font-semibold\">Company Match Formula</span>\n                    <p className=\"text-muted-foreground text-xs leading-relaxed\">\n                      100% match up to 4% + 50% match on next 2% ·{' '}\n                      <strong className=\"text-foreground font-medium\">Maximum $6,000 employer match unlocked!</strong>\n                    </p>\n                  </div>\n                </div>\n\n                <div className=\"shrink-0\">\n                  <Badge\n                    variant={maxMatchUnlocked ? 'secondary' : 'outline'}\n                    className={cn(\n                      'gap-1.5 px-3 py-1 text-xs font-semibold',\n                      maxMatchUnlocked\n                        ? 'border-success/30 bg-success/10 text-success'\n                        : 'border-warning/30 bg-warning/10 text-warning',\n                    )}\n                  >\n                    {maxMatchUnlocked ? (\n                      <>\n                        <CheckCircle2 className=\"size-3.5\" />\n                        100% Max Match Achieved ($6,000/yr)\n                      </>\n                    ) : (\n                      <>\n                        <AlertCircle className=\"size-3.5\" />\n                        Leaving ${missedMatchAnnual.toLocaleString('en-US')}/yr on table\n                      </>\n                    )}\n                  </Badge>\n                </div>\n              </div>\n\n              {/* Interactive Slider Section */}\n              <div className=\"space-y-4\">\n                <div className=\"flex items-center justify-between\">\n                  <div className=\"space-y-0.5\">\n                    <span className=\"text-foreground text-sm font-semibold\">Your Pre-Tax Contribution Rate</span>\n                    <p className=\"text-muted-foreground text-xs\">\n                      Calculated from gross salary ($\n                      {paycheckGross.toLocaleString('en-US', {\n                        minimumFractionDigits: 2,\n                        maximumFractionDigits: 2,\n                      })}{' '}\n                      / semi-monthly paycheck)\n                    </p>\n                  </div>\n\n                  <div className=\"text-right\">\n                    <div className=\"flex items-baseline justify-end gap-1\">\n                      <span className=\"text-primary text-2xl font-bold tabular-nums sm:text-3xl\">{k401Rate}%</span>\n                      <span className=\"text-muted-foreground text-xs\">Contribution</span>\n                    </div>\n                    <span className=\"text-foreground text-xs font-medium tabular-nums\">\n                      ${k401EmployeePerPaycheck.toFixed(2)} / paycheck (${k401EmployeeAnnual.toLocaleString('en-US')}\n                      /yr)\n                    </span>\n                  </div>\n                </div>\n\n                <div className=\"py-5\">\n                  <Slider\n                    value={[k401Rate]}\n                    min={1}\n                    max={20}\n                    step={1}\n                    marks={SLIDER_MARKS}\n                    tooltip={(val) =>\n                      `${val}% (${((annualSalary * val) / 100).toLocaleString('en-US', {\n                        style: 'currency',\n                        currency: 'USD',\n                        maximumFractionDigits: 0,\n                      })}/yr)`\n                    }\n                    onValueChange={(val) => setK401Rate(val[0])}\n                  />\n                </div>\n              </div>\n\n              {/* 401(k) Financial Impact Breakdown */}\n              <div className=\"grid grid-cols-1 gap-3 sm:grid-cols-3\">\n                <div className=\"border-border bg-card/60 rounded-lg border p-3 text-center sm:text-left\">\n                  <span className=\"text-muted-foreground block text-xs\">Your Paycheck Deferral</span>\n                  <span className=\"text-foreground text-lg font-bold tabular-nums\">\n                    ${k401EmployeePerPaycheck.toFixed(2)}\n                  </span>\n                  <span className=\"text-muted-foreground block text-xs tabular-nums\">\n                    ${k401EmployeeAnnual.toLocaleString('en-US')} / year\n                  </span>\n                </div>\n\n                <div className=\"border-success/30 bg-success/5 rounded-lg border p-3 text-center sm:text-left\">\n                  <span className=\"text-success block text-xs font-medium\">Employer Match Added</span>\n                  <span className=\"text-success text-lg font-bold tabular-nums\">\n                    +${k401EmployerPerPaycheck.toFixed(2)}\n                  </span>\n                  <span className=\"text-muted-foreground block text-xs tabular-nums\">\n                    ${k401EmployerAnnual.toLocaleString('en-US')} / year (Free Match)\n                  </span>\n                </div>\n\n                <div className=\"border-border bg-card/60 rounded-lg border p-3 text-center sm:text-left\">\n                  <span className=\"text-muted-foreground block text-xs\">Total 401(k) Annual Savings</span>\n                  <span className=\"text-foreground text-lg font-bold tabular-nums\">\n                    ${(k401EmployeeAnnual + k401EmployerAnnual).toLocaleString('en-US')}\n                  </span>\n                  <span className=\"text-muted-foreground block text-xs\">2026 IRS Cap: $23,500</span>\n                </div>\n              </div>\n            </CardContent>\n          </Card>\n        </div>\n\n        {/* Sticky Paycheck Impact Summary Box (Col 4) */}\n        <div className=\"lg:sticky lg:top-8 lg:col-span-4\">\n          <Card className=\"border-border bg-card shadow-xs\">\n            <CardHeader className=\"pb-4\">\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground text-xs font-semibold tracking-wider uppercase\">\n                  Paycheck Impact Summary\n                </span>\n                <Badge variant=\"outline\" className=\"text-xs\">\n                  Semi-Monthly\n                </Badge>\n              </div>\n\n              {/* Primary Highlight Metric 1: Total Employee Cost per Paycheck */}\n              <div className=\"mt-4 space-y-1\">\n                <span className=\"text-muted-foreground text-xs font-medium\">Total Employee Benefit Cost</span>\n                <div className=\"flex items-baseline gap-1.5\">\n                  <span className=\"text-foreground text-4xl font-bold tracking-tight tabular-nums sm:text-5xl\">\n                    ${healthCostPerPaycheck.toFixed(2)}\n                  </span>\n                  <span className=\"text-muted-foreground text-sm font-normal\"> / pay period</span>\n                </div>\n                <p className=\"text-muted-foreground text-xs\">Pre-tax health, dental, and vision deductions</p>\n              </div>\n\n              {/* Primary Highlight Metric 2: Total Annual Employer Benefit Value */}\n              <div className=\"border-primary/20 bg-primary/5 dark:bg-primary/10 mt-4 rounded-xl border p-3.5\">\n                <span className=\"text-muted-foreground block text-xs font-medium\">Total Annual Employer Value</span>\n                <div className=\"flex items-baseline gap-1\">\n                  <span className=\"text-primary text-2xl font-bold tracking-tight tabular-nums sm:text-3xl\">\n                    $\n                    {totalEmployerAnnualValue.toLocaleString('en-US', {\n                      minimumFractionDigits: 2,\n                      maximumFractionDigits: 2,\n                    })}\n                  </span>\n                  <span className=\"text-muted-foreground text-xs font-normal\"> / year</span>\n                </div>\n                <p className=\"text-muted-foreground mt-1 text-xs\">\n                  Includes company medical, dental, vision subsidies, HSA seed, match &amp; insurance.\n                </p>\n              </div>\n            </CardHeader>\n\n            <CardContent className=\"space-y-4 pt-0\">\n              <Separator />\n\n              {/* Itemized Paycheck Deductions */}\n              <div className=\"space-y-2 text-xs\">\n                <span className=\"text-muted-foreground block font-semibold tracking-wider uppercase\">\n                  Employee Payroll Deductions\n                </span>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-foreground\">\n                    Medical ({currentMedical.name.split(' ')[0]} {currentMedical.name.split(' ')[1]})\n                  </span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${currentMedical.employeeCostPerPaycheck.toFixed(2)}\n                  </span>\n                </div>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-foreground\">\n                    Dental ({currentDental.name.split(' ')[0]} {currentDental.name.split(' ')[1]})\n                  </span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${currentDental.employeeCostPerPaycheck.toFixed(2)}\n                  </span>\n                </div>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-foreground\">\n                    Vision ({currentVision.name.split(' ')[0]} {currentVision.name.split(' ')[1]})\n                  </span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${currentVision.employeeCostPerPaycheck.toFixed(2)}\n                  </span>\n                </div>\n\n                <div className=\"border-border/60 flex items-center justify-between border-t pt-1.5 font-semibold\">\n                  <span className=\"text-foreground\">Pre-Tax Health Total</span>\n                  <span className=\"text-foreground tabular-nums\">${healthCostPerPaycheck.toFixed(2)}</span>\n                </div>\n\n                <div className=\"text-muted-foreground flex items-center justify-between\">\n                  <span>401(k) Contribution ({k401Rate}%)</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${k401EmployeePerPaycheck.toFixed(2)}\n                  </span>\n                </div>\n\n                <div className=\"bg-muted/50 flex items-center justify-between rounded-md p-2 font-semibold\">\n                  <span className=\"text-foreground\">Total Pre-Tax per Paycheck</span>\n                  <span className=\"text-foreground tabular-nums\">${totalEmployeePerPaycheck.toFixed(2)}</span>\n                </div>\n\n                <div className=\"border-border/60 text-muted-foreground flex items-center justify-between border-t pt-1\">\n                  <span>Est. Pre-Tax Tax Savings (~25%)</span>\n                  <span className=\"text-success font-medium tabular-nums\">\n                    -${estimatedTaxSavingsPerPaycheck.toFixed(2)}\n                  </span>\n                </div>\n\n                <div className=\"text-muted-foreground flex items-center justify-between\">\n                  <span>Est. Net Take-Home Impact</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">-${netTakeHomeImpact.toFixed(2)}</span>\n                </div>\n              </div>\n\n              <Separator />\n\n              {/* Itemized Employer Annual Contributions */}\n              <div className=\"space-y-1.5 text-xs\">\n                <span className=\"text-muted-foreground block font-semibold tracking-wider uppercase\">\n                  Employer Benefits Breakdown\n                </span>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-muted-foreground\">Medical Subsidy</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${(currentMedical.employerCostPerMonth * 12).toLocaleString('en-US')}/yr\n                  </span>\n                </div>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-muted-foreground\">Dental Subsidy</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${(currentDental.employerCostPerMonth * 12).toLocaleString('en-US')}/yr\n                  </span>\n                </div>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-muted-foreground\">Vision Subsidy</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${(currentVision.employerCostPerMonth * 12).toLocaleString('en-US')}/yr\n                  </span>\n                </div>\n\n                {currentMedical.hsaSeed > 0 && (\n                  <div className=\"flex items-center justify-between\">\n                    <span className=\"text-muted-foreground\">HSA Annual Contribution</span>\n                    <span className=\"text-foreground font-medium tabular-nums\">\n                      ${currentMedical.hsaSeed.toLocaleString('en-US')}/yr\n                    </span>\n                  </div>\n                )}\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-muted-foreground\">401(k) Employer Match</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${k401EmployerAnnual.toLocaleString('en-US')}/yr\n                  </span>\n                </div>\n\n                <div className=\"flex items-center justify-between\">\n                  <span className=\"text-muted-foreground\">Life, AD&amp;D &amp; Disability</span>\n                  <span className=\"text-foreground font-medium tabular-nums\">\n                    ${employerLifeDisabilityAnnual.toLocaleString('en-US')}/yr\n                  </span>\n                </div>\n              </div>\n            </CardContent>\n\n            <CardFooter className=\"flex flex-col gap-2.5 pt-0\">\n              {!isSubmitted ? (\n                <Button\n                  size=\"lg\"\n                  className=\"w-full gap-2 font-semibold shadow-xs\"\n                  onClick={() => setShowSignModal(true)}\n                >\n                  <FileSignature className=\"size-4\" />\n                  Save Selections &amp; Sign\n                </Button>\n              ) : (\n                <Button\n                  variant=\"outline\"\n                  size=\"default\"\n                  className=\"border-success/30 bg-success/10 text-success w-full gap-2 font-semibold\"\n                  onClick={handleResetEnrollment}\n                >\n                  <Check className=\"size-4\" />\n                  Elections Signed (Edit)\n                </Button>\n              )}\n\n              <p className=\"text-muted-foreground text-center text-xs\">\n                Annual elections lock on {deadlineDate}, 11:59 PM EST\n              </p>\n            </CardFooter>\n          </Card>\n        </div>\n      </div>\n\n      {/* Electronic Signature Confirmation Modal Dialog */}\n      {showSignModal && (\n        <div className=\"bg-background/80 fixed inset-0 z-50 flex items-center justify-center p-4 backdrop-blur-xs\">\n          <div className=\"border-border bg-card animate-in fade-in zoom-in-95 relative w-full max-w-lg rounded-xl border p-6 shadow-xl duration-150\">\n            <div className=\"space-y-2\">\n              <div className=\"text-primary flex items-center gap-2\">\n                <FileSignature className=\"size-5\" />\n                <h3 className=\"text-foreground text-lg font-bold\">Review &amp; Sign Elective Enrollment</h3>\n              </div>\n              <p className=\"text-muted-foreground text-xs\">\n                Please verify your selections below before electronically signing for the 2026-2027 plan year.\n              </p>\n            </div>\n\n            <div className=\"border-border bg-muted/40 my-4 space-y-2 rounded-lg border p-3.5 text-xs\">\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground\">Employee:</span>\n                <span className=\"text-foreground font-medium\">\n                  {employeeName} ({coverageTier})\n                </span>\n              </div>\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground\">Medical Plan:</span>\n                <span className=\"text-foreground font-medium\">{currentMedical.name}</span>\n              </div>\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground\">Dental Plan:</span>\n                <span className=\"text-foreground font-medium\">{currentDental.name}</span>\n              </div>\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground\">Vision Plan:</span>\n                <span className=\"text-foreground font-medium\">{currentVision.name}</span>\n              </div>\n              <div className=\"flex items-center justify-between\">\n                <span className=\"text-muted-foreground\">401(k) Contribution:</span>\n                <span className=\"text-foreground font-medium tabular-nums\">\n                  {k401Rate}% (${k401EmployeePerPaycheck.toFixed(2)} / paycheck)\n                </span>\n              </div>\n              <div className=\"border-border/60 flex items-center justify-between border-t pt-2 font-bold\">\n                <span className=\"text-foreground\">Total Deduction per Paycheck:</span>\n                <span className=\"text-foreground tabular-nums\">${totalEmployeePerPaycheck.toFixed(2)}</span>\n              </div>\n            </div>\n\n            <div className=\"space-y-3\">\n              <label className=\"flex cursor-pointer items-start gap-2.5 select-none\">\n                <input\n                  type=\"checkbox\"\n                  checked={signatureAcknowledged}\n                  onChange={(e) => setSignatureAcknowledged(e.target.checked)}\n                  className=\"border-input text-primary focus-visible:ring-ring mt-0.5 size-4 rounded border focus-visible:ring-2\"\n                />\n                <span className=\"text-muted-foreground text-xs leading-relaxed\">\n                  I acknowledge that I have selected the benefit plans above and authorize pre-tax semi-monthly payroll\n                  deductions commencing October 1, 2026.\n                </span>\n              </label>\n            </div>\n\n            <div className=\"mt-6 flex items-center justify-end gap-2.5\">\n              <Button variant=\"outline\" size=\"sm\" onClick={() => setShowSignModal(false)}>\n                Cancel\n              </Button>\n              <Button\n                size=\"sm\"\n                disabled={!signatureAcknowledged}\n                className=\"gap-1.5 font-semibold\"\n                onClick={handleSignAndSubmit}\n              >\n                <FileCheck className=\"size-4\" />\n                Confirm &amp; Submit Signature\n              </Button>\n            </div>\n          </div>\n        </div>\n      )}\n    </div>\n  )\n}\n",
      "type": "registry:page",
      "target": "~/components/blocks/BenefitsEnrollmentPortal.tsx"
    }
  ],
  "dependencies": [
    "lucide-react"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/react/badge.json",
    "https://uipkge.dev/r/react/button.json",
    "https://uipkge.dev/r/react/card.json",
    "https://uipkge.dev/r/react/radio-group.json",
    "https://uipkge.dev/r/react/separator.json",
    "https://uipkge.dev/r/react/slider.json"
  ],
  "description": "Employee benefits open enrollment portal with interactive medical, dental, and vision plan comparisons, customizable 401(k) contribution slider with real-time employer match calculation, and a sticky paycheck impact summary.",
  "categories": [
    "hr",
    "app",
    "form"
  ]
}