@burdenoff/microfe-labsofscience 2026.614.1 → 2026.625.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/labsofscience/components/EmptyState.js +20 -13
  2. package/dist/labsofscience/components/EmptyState.js.map +1 -1
  3. package/dist/labsofscience/components/InvestmentCard.js +30 -28
  4. package/dist/labsofscience/components/InvestmentCard.js.map +1 -1
  5. package/dist/labsofscience/components/MetricsCard.js +21 -15
  6. package/dist/labsofscience/components/MetricsCard.js.map +1 -1
  7. package/dist/labsofscience/components/PageLayout.js +23 -15
  8. package/dist/labsofscience/components/PageLayout.js.map +1 -1
  9. package/dist/labsofscience/components/RatingDisplay.js +3 -3
  10. package/dist/labsofscience/components/RatingDisplay.js.map +1 -1
  11. package/dist/labsofscience/components/StatusBadge.js +34 -15
  12. package/dist/labsofscience/components/StatusBadge.js.map +1 -1
  13. package/dist/labsofscience/pages/HomePage.js +283 -269
  14. package/dist/labsofscience/pages/HomePage.js.map +1 -1
  15. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js +87 -87
  16. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/labsofscience/pages/admin/AdminDashboard.js +102 -101
  18. package/dist/labsofscience/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/labsofscience/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/labsofscience/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/labsofscience/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/labsofscience/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/labsofscience/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/labsofscience/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/labsofscience/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/labsofscience/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/labsofscience/pages/admin/CartManagementPage.js +103 -103
  28. package/dist/labsofscience/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/labsofscience/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/labsofscience/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js +109 -109
  36. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js +84 -84
  40. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/labsofscience/pages/common/HelpSupportPage.js +138 -138
  48. package/dist/labsofscience/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/labsofscience/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/labsofscience/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/labsofscience/pages/common/SettingsPage.js +115 -115
  52. package/dist/labsofscience/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/labsofscience/pages/customer/BookingDetailsPage.js +73 -72
  54. package/dist/labsofscience/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/labsofscience/pages/customer/CartDetailPage.js +86 -85
  56. package/dist/labsofscience/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js +65 -64
  58. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/labsofscience/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/labsofscience/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/labsofscience/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/labsofscience/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/labsofscience/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/labsofscience/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js +92 -91
  66. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/labsofscience/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/labsofscience/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/labsofscience/pages/customer/OrderHistoryPage.js +44 -43
  70. package/dist/labsofscience/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/labsofscience/pages/customer/OrderTrackingPage.js +61 -60
  72. package/dist/labsofscience/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/labsofscience/pages/customer/ReviewsPage.js +48 -47
  76. package/dist/labsofscience/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/labsofscience/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/labsofscience/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js +88 -87
  82. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js +88 -88
  84. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/labsofscience/pages/investor/InvestorDashboard.js +63 -62
  86. package/dist/labsofscience/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js +39 -38
  88. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/labsofscience/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/labsofscience/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/labsofscience/pages/worker/TaskDetailsPage.js +80 -79
  94. package/dist/labsofscience/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/labsofscience/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/labsofscience/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js +73 -72
  98. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/labsofscience/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/labsofscience/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js +71 -69
  102. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/dist/labsofscience/utils/cn.js +2 -2
  104. package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
  105. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  106. package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
  107. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  108. package/package.json +3 -3
  109. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  110. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -3,193 +3,194 @@ import { cn as t } from "../utils/cn.js";
3
3
  import { PageLayout as n } from "../components/PageLayout.js";
4
4
  import { MetricsCard as r } from "../components/MetricsCard.js";
5
5
  import { StatusBadge as i } from "../components/StatusBadge.js";
6
- import { EmptyState as a } from "../components/EmptyState.js";
7
- import { useLabsOfScienceApi as o } from "../hooks/useLabsOfScienceApi.js";
8
- import { formatCurrency as s, formatDistance as c, formatRelativeTime as l } from "../utils/formatters.js";
9
- import { useCallback as u, useMemo as d, useState as f } from "react";
10
- import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
- import { Activity as m, AlertCircle as h, ArrowRight as g, BadgeCheck as _, BarChart3 as v, CheckCircle2 as y, ChefHat as b, ClipboardList as x, Clock as S, FileText as C, GraduationCap as w, HandCoins as T, Heart as E, Home as D, IndianRupee as O, LayoutDashboard as k, Loader2 as A, MapPin as j, Package as M, Scissors as N, Search as P, Settings as F, Shirt as I, ShoppingBag as L, ShoppingCart as R, Sparkles as z, Star as B, Store as V, TrendingUp as H, Truck as U, Users as W, Wallet as G, Wrench as K } from "lucide-react";
12
- import { jsx as q, jsxs as J } from "react/jsx-runtime";
6
+ import { EmptyState as ee } from "../components/EmptyState.js";
7
+ import { useLabsOfScienceApi as a } from "../hooks/useLabsOfScienceApi.js";
8
+ import { formatCurrency as o, formatDistance as s, formatRelativeTime as c } from "../utils/formatters.js";
9
+ import { useCallback as l, useMemo as u, useState as d } from "react";
10
+ import { useI18n as f } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
+ import { Activity as p, AlertCircle as m, ArrowRight as h, BadgeCheck as g, BarChart3 as _, CheckCircle2 as v, ChefHat as y, ClipboardList as b, Clock as x, FileText as S, GraduationCap as C, HandCoins as w, Heart as T, Home as E, IndianRupee as D, LayoutDashboard as O, Loader2 as k, MapPin as A, Package as j, Scissors as M, Search as N, Settings as P, Shirt as F, ShoppingBag as I, ShoppingCart as L, Sparkles as R, Star as z, Store as B, TrendingUp as V, Truck as H, Users as U, Wallet as W, Wrench as G } from "lucide-react";
12
+ import { Fragment as K, jsx as q, jsxs as J } from "react/jsx-runtime";
13
+ import { EmphasisPanel as Y, GlassCard as X, GradientText as Z, ShowMore as Q } from "@burdenoff/fe-libs/ui";
13
14
  //#region src/labsofscience/pages/HomePage.tsx
14
- var Y = {
15
+ var $ = {
15
16
  customer: [
16
17
  {
17
18
  label: "Discover Services",
18
19
  description: "Browse carts near you",
19
- icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
20
+ icon: /* @__PURE__ */ q(N, { className: "h-5 w-5" }),
20
21
  path: "/customer/carts",
21
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
22
+ color: "bg-status-info-bg-subtle text-status-info-text"
22
23
  },
23
24
  {
24
25
  label: "My Orders",
25
26
  description: "Track your orders",
26
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
27
+ icon: /* @__PURE__ */ q(I, { className: "h-5 w-5" }),
27
28
  path: "/customer/orders",
28
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
29
+ color: "bg-status-success-bg-subtle text-status-success-text"
29
30
  },
30
31
  {
31
32
  label: "Favorites",
32
33
  description: "Your saved carts",
33
- icon: /* @__PURE__ */ q(E, { className: "h-5 w-5" }),
34
+ icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
34
35
  path: "/customer/favorites",
35
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
36
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
36
37
  },
37
38
  {
38
39
  label: "Settings",
39
40
  description: "Manage preferences",
40
- icon: /* @__PURE__ */ q(F, { className: "h-5 w-5" }),
41
+ icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
41
42
  path: "/settings",
42
- color: "bg-muted text-muted-foreground"
43
+ color: "bg-bg-sunken text-text-secondary"
43
44
  }
44
45
  ],
45
46
  cart_owner: [
46
47
  {
47
48
  label: "My Cart",
48
49
  description: "Manage your cart",
49
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
50
+ icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
50
51
  path: "/owner/dashboard",
51
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
52
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
52
53
  },
53
54
  {
54
55
  label: "Orders",
55
56
  description: "Incoming orders",
56
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
57
+ icon: /* @__PURE__ */ q(I, { className: "h-5 w-5" }),
57
58
  path: "/owner/orders",
58
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
59
+ color: "bg-status-info-bg-subtle text-status-info-text"
59
60
  },
60
61
  {
61
62
  label: "Analytics",
62
63
  description: "Revenue & insights",
63
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
64
+ icon: /* @__PURE__ */ q(_, { className: "h-5 w-5" }),
64
65
  path: "/owner/analytics",
65
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
66
+ color: "bg-status-success-bg-subtle text-status-success-text"
66
67
  },
67
68
  {
68
69
  label: "Staff",
69
70
  description: "Manage workers",
70
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
71
+ icon: /* @__PURE__ */ q(U, { className: "h-5 w-5" }),
71
72
  path: "/owner/staff",
72
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
73
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
73
74
  }
74
75
  ],
75
76
  worker: [
76
77
  {
77
78
  label: "My Tasks",
78
79
  description: "View assigned tasks",
79
- icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
80
+ icon: /* @__PURE__ */ q(b, { className: "h-5 w-5" }),
80
81
  path: "/worker/dashboard",
81
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
82
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
82
83
  },
83
84
  {
84
85
  label: "Schedule",
85
86
  description: "View shifts",
86
- icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
87
+ icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
87
88
  path: "/worker/schedule",
88
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
89
+ color: "bg-status-info-bg-subtle text-status-info-text"
89
90
  },
90
91
  {
91
92
  label: "Earnings",
92
93
  description: "Track pay",
93
- icon: /* @__PURE__ */ q(G, { className: "h-5 w-5" }),
94
+ icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
94
95
  path: "/worker/earnings",
95
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
96
+ color: "bg-status-success-bg-subtle text-status-success-text"
96
97
  },
97
98
  {
98
99
  label: "Performance",
99
100
  description: "Ratings & stats",
100
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
101
+ icon: /* @__PURE__ */ q(z, { className: "h-5 w-5" }),
101
102
  path: "/worker/performance",
102
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
103
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
103
104
  }
104
105
  ],
105
106
  investor: [
106
107
  {
107
108
  label: "Portfolio",
108
109
  description: "Your investments",
109
- icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
110
+ icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
110
111
  path: "/investor/dashboard",
111
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
112
+ color: "bg-status-success-bg-subtle text-status-success-text"
112
113
  },
113
114
  {
114
115
  label: "Opportunities",
115
116
  description: "New investments",
116
- icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
117
+ icon: /* @__PURE__ */ q(w, { className: "h-5 w-5" }),
117
118
  path: "/investor/opportunities",
118
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
119
+ color: "bg-status-info-bg-subtle text-status-info-text"
119
120
  },
120
121
  {
121
122
  label: "Returns",
122
123
  description: "Earnings history",
123
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
124
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
124
125
  path: "/investor/returns",
125
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
126
+ color: "bg-status-success-bg-subtle text-status-success-text"
126
127
  },
127
128
  {
128
129
  label: "Reports",
129
130
  description: "Performance reports",
130
- icon: /* @__PURE__ */ q(C, { className: "h-5 w-5" }),
131
+ icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
131
132
  path: "/investor/reports",
132
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
133
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
133
134
  }
134
135
  ],
135
136
  admin: [
136
137
  {
137
138
  label: "Dashboard",
138
139
  description: "Platform overview",
139
- icon: /* @__PURE__ */ q(k, { className: "h-5 w-5" }),
140
+ icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
140
141
  path: "/admin/dashboard",
141
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
142
+ color: "bg-status-error-bg-subtle text-status-error-text"
142
143
  },
143
144
  {
144
145
  label: "Users",
145
146
  description: "Manage accounts",
146
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
147
+ icon: /* @__PURE__ */ q(U, { className: "h-5 w-5" }),
147
148
  path: "/admin/users",
148
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
149
+ color: "bg-status-info-bg-subtle text-status-info-text"
149
150
  },
150
151
  {
151
152
  label: "Carts",
152
153
  description: "Approve & manage",
153
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
154
+ icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
154
155
  path: "/admin/carts",
155
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
156
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
156
157
  },
157
158
  {
158
159
  label: "Analytics",
159
160
  description: "Revenue reports",
160
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
161
+ icon: /* @__PURE__ */ q(_, { className: "h-5 w-5" }),
161
162
  path: "/admin/analytics",
162
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
163
+ color: "bg-status-success-bg-subtle text-status-success-text"
163
164
  }
164
165
  ]
165
166
  };
166
- function X(e, t, n) {
167
+ function te(e, t, n) {
167
168
  switch (e) {
168
169
  case "customer": return [
169
170
  {
170
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
171
+ icon: /* @__PURE__ */ q(I, { className: "h-5 w-5" }),
171
172
  value: t.length.toString(),
172
173
  label: "Total Orders",
173
174
  trend: "up",
174
175
  trendValue: "+2 this week"
175
176
  },
176
177
  {
177
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
178
+ icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
178
179
  value: (n?.activeProviders ?? 0).toString(),
179
180
  label: "Nearby Providers",
180
181
  trend: "up",
181
182
  trendValue: "+3"
182
183
  },
183
184
  {
184
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
185
+ icon: /* @__PURE__ */ q(z, { className: "h-5 w-5" }),
185
186
  value: (n?.avgRating ?? 0).toFixed(1),
186
187
  label: "Avg. Rating",
187
188
  trend: "up",
188
189
  trendValue: "+0.1"
189
190
  },
190
191
  {
191
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
192
- value: s(t.reduce((e, t) => e + t.total, 0), { minimumFractionDigits: 0 }),
192
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
193
+ value: o(t.reduce((e, t) => e + t.total, 0), { minimumFractionDigits: 0 }),
193
194
  label: "Total Spent",
194
195
  trend: "neutral",
195
196
  trendValue: ""
@@ -197,28 +198,28 @@ function X(e, t, n) {
197
198
  ];
198
199
  case "cart_owner": return [
199
200
  {
200
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
201
+ icon: /* @__PURE__ */ q(I, { className: "h-5 w-5" }),
201
202
  value: "48",
202
203
  label: "Orders Today",
203
204
  trend: "up",
204
205
  trendValue: "+12%"
205
206
  },
206
207
  {
207
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
208
- value: s(12850, { minimumFractionDigits: 0 }),
208
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
209
+ value: o(12850, { minimumFractionDigits: 0 }),
209
210
  label: "Today's Revenue",
210
211
  trend: "up",
211
212
  trendValue: "+8%"
212
213
  },
213
214
  {
214
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
215
+ icon: /* @__PURE__ */ q(z, { className: "h-5 w-5" }),
215
216
  value: "4.6",
216
217
  label: "Cart Rating",
217
218
  trend: "up",
218
219
  trendValue: "+0.2"
219
220
  },
220
221
  {
221
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
222
+ icon: /* @__PURE__ */ q(U, { className: "h-5 w-5" }),
222
223
  value: "5",
223
224
  label: "Active Staff",
224
225
  trend: "neutral",
@@ -227,28 +228,28 @@ function X(e, t, n) {
227
228
  ];
228
229
  case "worker": return [
229
230
  {
230
- icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
231
+ icon: /* @__PURE__ */ q(b, { className: "h-5 w-5" }),
231
232
  value: "5",
232
233
  label: "Tasks Today",
233
234
  trend: "up",
234
235
  trendValue: "+2"
235
236
  },
236
237
  {
237
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
238
- value: s(425, { minimumFractionDigits: 0 }),
238
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
239
+ value: o(425, { minimumFractionDigits: 0 }),
239
240
  label: "Today's Earnings",
240
241
  trend: "up",
241
242
  trendValue: "+15%"
242
243
  },
243
244
  {
244
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
245
+ icon: /* @__PURE__ */ q(z, { className: "h-5 w-5" }),
245
246
  value: "4.7",
246
247
  label: "Rating",
247
248
  trend: "up",
248
249
  trendValue: "+0.1"
249
250
  },
250
251
  {
251
- icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" }),
252
+ icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
252
253
  value: "96.8%",
253
254
  label: "Completion Rate",
254
255
  trend: "up",
@@ -257,29 +258,29 @@ function X(e, t, n) {
257
258
  ];
258
259
  case "investor": return [
259
260
  {
260
- icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
261
+ icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
261
262
  value: "3",
262
263
  label: "Active Investments",
263
264
  trend: "up",
264
265
  trendValue: "+1"
265
266
  },
266
267
  {
267
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
268
- value: s(45e4, { minimumFractionDigits: 0 }),
268
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
269
+ value: o(45e4, { minimumFractionDigits: 0 }),
269
270
  label: "Total Invested",
270
271
  trend: "up",
271
272
  trendValue: ""
272
273
  },
273
274
  {
274
- icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
275
+ icon: /* @__PURE__ */ q(w, { className: "h-5 w-5" }),
275
276
  value: "16.5%",
276
277
  label: "Avg. Returns",
277
278
  trend: "up",
278
279
  trendValue: "+2.1%"
279
280
  },
280
281
  {
281
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
282
- value: s(74250, { minimumFractionDigits: 0 }),
282
+ icon: /* @__PURE__ */ q(_, { className: "h-5 w-5" }),
283
+ value: o(74250, { minimumFractionDigits: 0 }),
283
284
  label: "Total Returns",
284
285
  trend: "up",
285
286
  trendValue: "+8.5%"
@@ -287,29 +288,29 @@ function X(e, t, n) {
287
288
  ];
288
289
  default: return [
289
290
  {
290
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
291
+ icon: /* @__PURE__ */ q(U, { className: "h-5 w-5" }),
291
292
  value: (n?.activeCustomers ?? 0).toLocaleString("en-IN"),
292
293
  label: "Active Customers",
293
294
  trend: "up",
294
295
  trendValue: "+50"
295
296
  },
296
297
  {
297
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
298
+ icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
298
299
  value: (n?.activeProviders ?? 0).toString(),
299
300
  label: "Service Providers",
300
301
  trend: "up",
301
302
  trendValue: "+3"
302
303
  },
303
304
  {
304
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
305
+ icon: /* @__PURE__ */ q(I, { className: "h-5 w-5" }),
305
306
  value: (n?.totalOrders ?? 0).toLocaleString("en-IN"),
306
307
  label: "Total Orders",
307
308
  trend: "up",
308
309
  trendValue: "+12%"
309
310
  },
310
311
  {
311
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
312
- value: s(n?.totalRevenue ?? 0, { minimumFractionDigits: 0 }),
312
+ icon: /* @__PURE__ */ q(D, { className: "h-5 w-5" }),
313
+ value: o(n?.totalRevenue ?? 0, { minimumFractionDigits: 0 }),
313
314
  label: "Total Revenue",
314
315
  trend: "up",
315
316
  trendValue: "+8.5%"
@@ -317,78 +318,78 @@ function X(e, t, n) {
317
318
  ];
318
319
  }
319
320
  }
320
- var Z = [
321
+ var ne = [
321
322
  {
322
323
  label: "Food & Beverage",
323
- icon: /* @__PURE__ */ q(b, { className: "h-6 w-6" }),
324
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
324
+ icon: /* @__PURE__ */ q(y, { className: "h-6 w-6" }),
325
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
325
326
  },
326
327
  {
327
328
  label: "Personal Care & Beauty",
328
- icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" }),
329
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
329
+ icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
330
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
330
331
  },
331
332
  {
332
333
  label: "Repair & Maintenance",
333
- icon: /* @__PURE__ */ q(K, { className: "h-6 w-6" }),
334
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
334
+ icon: /* @__PURE__ */ q(G, { className: "h-6 w-6" }),
335
+ color: "bg-status-info-bg-subtle text-status-info-text"
335
336
  },
336
337
  {
337
338
  label: "Home Services",
338
- icon: /* @__PURE__ */ q(D, { className: "h-6 w-6" }),
339
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
339
+ icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
340
+ color: "bg-status-success-bg-subtle text-status-success-text"
340
341
  },
341
342
  {
342
343
  label: "Clothing & Fashion",
343
- icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" }),
344
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
344
+ icon: /* @__PURE__ */ q(F, { className: "h-6 w-6" }),
345
+ color: "bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] text-accent-purple"
345
346
  },
346
347
  {
347
348
  label: "Health & Wellness",
348
- icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
349
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
349
+ icon: /* @__PURE__ */ q(T, { className: "h-6 w-6" }),
350
+ color: "bg-status-error-bg-subtle text-status-error-text"
350
351
  },
351
352
  {
352
353
  label: "Education & Skills",
353
- icon: /* @__PURE__ */ q(w, { className: "h-6 w-6" }),
354
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
354
+ icon: /* @__PURE__ */ q(C, { className: "h-6 w-6" }),
355
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
355
356
  },
356
357
  {
357
358
  label: "Retail & Merchandise",
358
- icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
359
- color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
359
+ icon: /* @__PURE__ */ q(j, { className: "h-6 w-6" }),
360
+ color: "bg-status-info-bg-subtle text-status-info-text"
360
361
  },
361
362
  {
362
363
  label: "Grocery & Essentials",
363
- icon: /* @__PURE__ */ q(R, { className: "h-6 w-6" }),
364
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
364
+ icon: /* @__PURE__ */ q(L, { className: "h-6 w-6" }),
365
+ color: "bg-status-success-bg-subtle text-status-success-text"
365
366
  }
366
- ], Q = [
367
+ ], re = [
367
368
  {
368
369
  step: 1,
369
370
  title: "Browse Services",
370
371
  description: "Discover local service providers and carts near you.",
371
- icon: /* @__PURE__ */ q(P, { className: "h-6 w-6" })
372
+ icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" })
372
373
  },
373
374
  {
374
375
  step: 2,
375
376
  title: "Place an Order",
376
377
  description: "Select items or services and place your order seamlessly.",
377
- icon: /* @__PURE__ */ q(L, { className: "h-6 w-6" })
378
+ icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" })
378
379
  },
379
380
  {
380
381
  step: 3,
381
382
  title: "Track in Real-time",
382
383
  description: "Get live updates on your order from confirmation to delivery.",
383
- icon: /* @__PURE__ */ q(U, { className: "h-6 w-6" })
384
+ icon: /* @__PURE__ */ q(H, { className: "h-6 w-6" })
384
385
  },
385
386
  {
386
387
  step: 4,
387
388
  title: "Rate & Review",
388
389
  description: "Share your experience and help others find great services.",
389
- icon: /* @__PURE__ */ q(B, { className: "h-6 w-6" })
390
+ icon: /* @__PURE__ */ q(z, { className: "h-6 w-6" })
390
391
  }
391
- ], $ = [
392
+ ], ie = [
392
393
  {
393
394
  id: "ha-1",
394
395
  description: "New order placed at Dosa Express",
@@ -419,145 +420,152 @@ var Z = [
419
420
  time: "5 hours ago",
420
421
  type: "order"
421
422
  }
422
- ], ee = [
423
+ ], ae = [
423
424
  {
424
425
  label: "Service Providers",
425
426
  value: "21+",
426
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" })
427
+ icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" })
427
428
  },
428
429
  {
429
430
  label: "Categories",
430
431
  value: "9",
431
- icon: /* @__PURE__ */ q(M, { className: "h-5 w-5" })
432
+ icon: /* @__PURE__ */ q(j, { className: "h-5 w-5" })
432
433
  },
433
434
  {
434
435
  label: "Happy Customers",
435
436
  value: "534+",
436
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" })
437
+ icon: /* @__PURE__ */ q(U, { className: "h-5 w-5" })
437
438
  },
438
439
  {
439
440
  label: "Orders Completed",
440
441
  value: "1,247+",
441
- icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" })
442
+ icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" })
442
443
  }
443
444
  ];
444
- function te() {
445
- let { navigateTo: v, currentUser: y } = e(), { t: b } = p(), [x, C] = f(""), { providers: w, orders: T, dashboardStats: E } = o(), D = u((e, t) => {
446
- let n = b(e);
445
+ function oe() {
446
+ let { navigateTo: _, currentUser: v } = e(), { t: y } = f(), [b, S] = d(""), { providers: C, orders: w, dashboardStats: T } = a(), E = l((e, t) => {
447
+ let n = y(e);
447
448
  return n === e ? t : n;
448
- }, [b]), k = y?.firstName ?? y?.name ?? "there", M = y?.role ?? "customer", N = {
449
- customer: D("labsofscience.home.role.customer", "Customer"),
450
- cart_owner: D("labsofscience.home.role.cartOwner", "Cart Owner"),
451
- worker: D("labsofscience.home.role.worker", "Worker"),
452
- investor: D("labsofscience.home.role.investor", "Investor"),
453
- admin: D("labsofscience.home.role.admin", "Administrator")
454
- }, F = {
455
- customer: D("labsofscience.home.greeting.customer", "Discover amazing services near you"),
456
- cart_owner: D("labsofscience.home.greeting.cartOwner", "Manage your business and grow"),
457
- worker: D("labsofscience.home.greeting.worker", "Check your tasks and earnings"),
458
- investor: D("labsofscience.home.greeting.investor", "Track your investments and returns"),
459
- admin: D("labsofscience.home.greeting.admin", "Monitor and manage the platform")
460
- }, I = Y[M] ?? Y.customer, L = X(M, T.data ?? [], E.data), R = d(() => {
461
- let e = (w.data ?? []).filter((e) => e.isOpen);
462
- if (x) {
463
- let t = x.toLowerCase();
449
+ }, [y]), O = v?.firstName ?? v?.name ?? "there", j = v?.role ?? "customer", M = {
450
+ customer: E("labsofscience.home.role.customer", "Customer"),
451
+ cart_owner: E("labsofscience.home.role.cartOwner", "Cart Owner"),
452
+ worker: E("labsofscience.home.role.worker", "Worker"),
453
+ investor: E("labsofscience.home.role.investor", "Investor"),
454
+ admin: E("labsofscience.home.role.admin", "Administrator")
455
+ }, P = {
456
+ customer: E("labsofscience.home.greeting.customer", "Discover amazing services near you"),
457
+ cart_owner: E("labsofscience.home.greeting.cartOwner", "Manage your business and grow"),
458
+ worker: E("labsofscience.home.greeting.worker", "Check your tasks and earnings"),
459
+ investor: E("labsofscience.home.greeting.investor", "Track your investments and returns"),
460
+ admin: E("labsofscience.home.greeting.admin", "Monitor and manage the platform")
461
+ }, F = $[j] ?? $.customer, I = te(j, w.data ?? [], T.data), L = u(() => {
462
+ let e = (C.data ?? []).filter((e) => e.isOpen);
463
+ if (b) {
464
+ let t = b.toLowerCase();
464
465
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.category.toLowerCase().includes(t));
465
466
  }
466
467
  return e.sort((e, t) => t.rating - e.rating).slice(0, 6);
467
- }, [w.data, x]), V = d(() => [...T.data ?? []].sort((e, t) => new Date(t.orderDate).getTime() - new Date(e.orderDate).getTime()).slice(0, 3), [T.data]), H = {
468
- order: "text-blue-600 dark:text-blue-400",
469
- review: "text-yellow-600 dark:text-yellow-400",
470
- investment: "text-green-600 dark:text-green-400",
471
- cart: "text-purple-600 dark:text-purple-400"
472
- }, U = (T.data ?? []).length === 0 && !T.isLoading, W = w.isLoading || T.isLoading || E.isLoading, G = w.isError || T.isError || E.isError;
473
- return W ? /* @__PURE__ */ q(n, {
474
- title: D("labsofscience.common.loading", "Loading..."),
468
+ }, [C.data, b]), B = u(() => [...w.data ?? []].sort((e, t) => new Date(t.orderDate).getTime() - new Date(e.orderDate).getTime()).slice(0, 3), [w.data]), V = {
469
+ order: "text-status-info-text",
470
+ review: "text-status-warning-text",
471
+ investment: "text-status-success-text",
472
+ cart: "text-accent-purple"
473
+ }, H = (w.data ?? []).length === 0 && !w.isLoading, U = C.isLoading || w.isLoading || T.isLoading, W = C.isError || w.isError || T.isError;
474
+ return U ? /* @__PURE__ */ q(n, {
475
+ title: E("labsofscience.common.loading", "Loading..."),
475
476
  children: /* @__PURE__ */ q("div", {
476
477
  className: "flex h-[60vh] items-center justify-center",
477
- children: /* @__PURE__ */ q(A, { className: "h-8 w-8 animate-spin text-primary" })
478
+ children: /* @__PURE__ */ q(k, { className: "h-8 w-8 animate-spin text-primary" })
478
479
  })
479
- }) : G ? /* @__PURE__ */ q(n, {
480
- title: D("labsofscience.common.error", "Error"),
480
+ }) : W ? /* @__PURE__ */ q(n, {
481
+ title: E("labsofscience.common.error", "Error"),
481
482
  children: /* @__PURE__ */ J("div", {
482
483
  className: "flex h-[60vh] flex-col items-center justify-center gap-4",
483
484
  children: [
484
- /* @__PURE__ */ q(h, { className: "h-12 w-12 text-destructive" }),
485
+ /* @__PURE__ */ q(m, { className: "h-12 w-12 text-status-error-text" }),
485
486
  /* @__PURE__ */ q("h2", {
486
487
  className: "text-xl font-semibold",
487
- children: D("labsofscience.common.errorLoading", "Error loading data")
488
+ children: E("labsofscience.common.errorLoading", "Error loading data")
488
489
  }),
489
490
  /* @__PURE__ */ q("p", {
490
- className: "text-muted-foreground",
491
- children: D("labsofscience.common.tryAgain", "Please try again later.")
491
+ className: "text-text-secondary",
492
+ children: E("labsofscience.common.tryAgain", "Please try again later.")
492
493
  })
493
494
  ]
494
495
  })
495
496
  }) : /* @__PURE__ */ J(n, {
496
- title: `${D("labsofscience.home.hello", "Hello")}, ${k}!`,
497
- description: F[M],
497
+ hero: !0,
498
+ title: /* @__PURE__ */ J(K, { children: [
499
+ E("labsofscience.home.hello", "Hello"),
500
+ ",",
501
+ " ",
502
+ /* @__PURE__ */ q(Z, { children: O }),
503
+ "!"
504
+ ] }),
505
+ description: P[j],
498
506
  children: [
499
- U && /* @__PURE__ */ q("section", {
500
- className: "mb-6 rounded-xl border border-border bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
507
+ H && /* @__PURE__ */ q("section", {
508
+ className: "mb-6 rounded-xl border border-border-seam bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
501
509
  children: /* @__PURE__ */ J("div", {
502
510
  className: "flex items-start gap-4",
503
511
  children: [/* @__PURE__ */ q("div", {
504
- className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-primary/10",
505
- children: /* @__PURE__ */ q(z, { className: "h-6 w-6 text-primary" })
512
+ className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-action-primary-bg/10",
513
+ children: /* @__PURE__ */ q(R, { className: "h-6 w-6 text-primary" })
506
514
  }), /* @__PURE__ */ J("div", {
507
515
  className: "flex-1",
508
516
  children: [
509
517
  /* @__PURE__ */ q("h2", {
510
- className: "text-lg font-semibold text-foreground",
511
- children: D("labsofscience.home.welcomeTitle", "Welcome to LabsOfScience!")
518
+ className: "text-lg font-semibold text-text-primary",
519
+ children: E("labsofscience.home.welcomeTitle", "Welcome to LabsOfScience!")
512
520
  }),
513
521
  /* @__PURE__ */ q("p", {
514
- className: "mt-1 text-sm text-muted-foreground",
515
- children: D("labsofscience.home.welcomeDescription", "Your local services marketplace. Start by exploring service providers near you or browse categories to find what you need.")
522
+ className: "mt-1 text-sm text-text-secondary",
523
+ children: E("labsofscience.home.welcomeDescription", "Your local services marketplace. Start by exploring service providers near you or browse categories to find what you need.")
516
524
  }),
517
525
  /* @__PURE__ */ J("button", {
518
526
  type: "button",
519
- onClick: () => v("/customer/carts"),
520
- className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
521
- children: [/* @__PURE__ */ q(P, { className: "h-4 w-4" }), D("labsofscience.home.exploreServices", "Explore Services")]
527
+ onClick: () => _("/customer/carts"),
528
+ className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
529
+ children: [/* @__PURE__ */ q(N, { className: "h-4 w-4" }), E("labsofscience.home.exploreServices", "Explore Services")]
522
530
  })
523
531
  ]
524
532
  })]
525
533
  })
526
534
  }),
527
- /* @__PURE__ */ q("section", {
528
- className: "mb-6 rounded-xl border border-border bg-card p-6",
535
+ /* @__PURE__ */ q(Y, {
536
+ className: "mb-6",
529
537
  children: /* @__PURE__ */ J("div", {
530
538
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
531
539
  children: [/* @__PURE__ */ J("div", { children: [
532
540
  /* @__PURE__ */ q("div", {
533
541
  className: "flex items-center gap-2 mb-1",
534
542
  children: /* @__PURE__ */ J("span", {
535
- className: "inline-flex items-center rounded-full bg-primary/10 px-2.5 py-0.5 text-xs font-medium text-primary",
536
- children: [/* @__PURE__ */ q(_, { className: "mr-1 h-3 w-3" }), N[M]]
543
+ className: "inline-flex items-center rounded-full bg-action-primary-bg/10 px-2.5 py-0.5 text-xs font-medium text-primary",
544
+ children: [/* @__PURE__ */ q(g, { className: "mr-1 h-3 w-3" }), M[j]]
537
545
  })
538
546
  }),
539
547
  /* @__PURE__ */ J("h2", {
540
- className: "text-xl font-bold text-foreground",
548
+ className: "text-xl font-bold text-text-primary",
541
549
  children: [
542
- D("labsofscience.home.good", "Good"),
550
+ E("labsofscience.home.good", "Good"),
543
551
  " ",
544
- (/* @__PURE__ */ new Date()).getHours() < 12 ? D("labsofscience.home.time.morning", "morning") : (/* @__PURE__ */ new Date()).getHours() < 17 ? D("labsofscience.home.time.afternoon", "afternoon") : D("labsofscience.home.time.evening", "evening"),
552
+ (/* @__PURE__ */ new Date()).getHours() < 12 ? E("labsofscience.home.time.morning", "morning") : (/* @__PURE__ */ new Date()).getHours() < 17 ? E("labsofscience.home.time.afternoon", "afternoon") : E("labsofscience.home.time.evening", "evening"),
545
553
  ", ",
546
- k
554
+ O
547
555
  ]
548
556
  }),
549
557
  /* @__PURE__ */ q("p", {
550
- className: "mt-1 text-sm text-muted-foreground",
551
- children: F[M]
558
+ className: "mt-1 text-sm text-text-secondary",
559
+ children: P[j]
552
560
  })
553
561
  ] }), /* @__PURE__ */ J("div", {
554
562
  className: "relative w-full sm:w-72",
555
- children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ q("input", {
563
+ children: [/* @__PURE__ */ q(N, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ q("input", {
556
564
  type: "text",
557
- placeholder: D("labsofscience.home.searchPlaceholder", "Search services, carts..."),
558
- value: x,
559
- onChange: (e) => C(e.target.value),
560
- className: "w-full rounded-lg border border-border bg-card py-2.5 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
565
+ placeholder: E("labsofscience.home.searchPlaceholder", "Search services, carts..."),
566
+ value: b,
567
+ onChange: (e) => S(e.target.value),
568
+ className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2.5 pl-10 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
561
569
  })]
562
570
  })]
563
571
  })
@@ -565,30 +573,31 @@ function te() {
565
573
  /* @__PURE__ */ J("section", {
566
574
  className: "mb-8",
567
575
  children: [/* @__PURE__ */ q("h2", {
568
- className: "text-lg font-semibold text-foreground mb-4",
569
- children: D("labsofscience.home.quickStats", "Quick Stats")
576
+ className: "text-lg font-semibold text-text-primary mb-4",
577
+ children: E("labsofscience.home.quickStats", "Quick Stats")
570
578
  }), /* @__PURE__ */ q("div", {
571
579
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
572
- children: L.map((e) => /* @__PURE__ */ q(r, {
580
+ children: I.map((e, t) => /* @__PURE__ */ q(r, {
573
581
  icon: e.icon,
574
582
  value: e.value,
575
583
  label: e.label,
576
584
  trend: e.trend,
577
- trendValue: e.trendValue
585
+ trendValue: e.trendValue,
586
+ featured: t === 0
578
587
  }, e.label))
579
588
  })]
580
589
  }),
581
590
  /* @__PURE__ */ J("section", {
582
591
  className: "mb-8",
583
592
  children: [/* @__PURE__ */ q("h2", {
584
- className: "text-lg font-semibold text-foreground mb-4",
585
- children: D("labsofscience.home.quickActions", "Quick Actions")
593
+ className: "text-lg font-semibold text-text-primary mb-4",
594
+ children: E("labsofscience.home.quickActions", "Quick Actions")
586
595
  }), /* @__PURE__ */ q("div", {
587
596
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
588
- children: I.map((e) => /* @__PURE__ */ J("button", {
597
+ children: F.map((e) => /* @__PURE__ */ J("button", {
589
598
  type: "button",
590
- onClick: () => v(e.path),
591
- className: t("flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
599
+ onClick: () => _(e.path),
600
+ className: t("flex items-start gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
592
601
  children: [
593
602
  /* @__PURE__ */ q("div", {
594
603
  className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
@@ -597,14 +606,14 @@ function te() {
597
606
  /* @__PURE__ */ J("div", {
598
607
  className: "min-w-0 flex-1",
599
608
  children: [/* @__PURE__ */ q("p", {
600
- className: "text-sm font-semibold text-foreground",
609
+ className: "text-sm font-semibold text-text-primary",
601
610
  children: e.label
602
611
  }), /* @__PURE__ */ q("p", {
603
- className: "mt-0.5 text-xs text-muted-foreground",
612
+ className: "mt-0.5 text-xs text-text-secondary",
604
613
  children: e.description
605
614
  })]
606
615
  }),
607
- /* @__PURE__ */ q(g, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-1" })
616
+ /* @__PURE__ */ q(h, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })
608
617
  ]
609
618
  }, e.label))
610
619
  })]
@@ -614,40 +623,40 @@ function te() {
614
623
  children: [/* @__PURE__ */ J("div", {
615
624
  className: "flex items-center justify-between mb-4",
616
625
  children: [/* @__PURE__ */ q("h2", {
617
- className: "text-lg font-semibold text-foreground",
618
- children: x ? D("labsofscience.home.searchResults", "Search Results") : D("labsofscience.home.featuredCarts", "Featured Carts")
626
+ className: "text-lg font-semibold text-text-primary",
627
+ children: b ? E("labsofscience.home.searchResults", "Search Results") : E("labsofscience.home.featuredCarts", "Featured Carts")
619
628
  }), /* @__PURE__ */ J("button", {
620
629
  type: "button",
621
- onClick: () => v("/customer/carts"),
630
+ onClick: () => _("/customer/carts"),
622
631
  className: "flex items-center gap-1 text-sm font-medium text-primary hover:underline",
623
632
  children: [
624
- D("labsofscience.common.viewAll", "View All"),
633
+ E("labsofscience.common.viewAll", "View All"),
625
634
  " ",
626
- /* @__PURE__ */ q(g, { className: "h-3.5 w-3.5" })
635
+ /* @__PURE__ */ q(h, { className: "h-3.5 w-3.5" })
627
636
  ]
628
637
  })]
629
- }), R.length === 0 ? /* @__PURE__ */ q(a, {
630
- icon: /* @__PURE__ */ q(P, { className: "h-10 w-10" }),
631
- title: D("labsofscience.home.noCartsFound", "No carts found"),
632
- description: D("labsofscience.home.noCartsDescription", "Try adjusting your search or browse all categories"),
638
+ }), L.length === 0 ? /* @__PURE__ */ q(ee, {
639
+ illustration: b ? "empty-search" : "empty-data",
640
+ title: E("labsofscience.home.noCartsFound", "No carts found"),
641
+ description: E("labsofscience.home.noCartsDescription", "Try adjusting your search or browse all categories"),
633
642
  action: /* @__PURE__ */ q("button", {
634
643
  type: "button",
635
- onClick: () => C(""),
636
- className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
637
- children: D("labsofscience.home.clearSearch", "Clear Search")
644
+ onClick: () => S(""),
645
+ className: "rounded-lg border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
646
+ children: E("labsofscience.home.clearSearch", "Clear Search")
638
647
  })
639
648
  }) : /* @__PURE__ */ q("div", {
640
649
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
641
- children: R.map((e) => /* @__PURE__ */ J("div", {
650
+ children: L.map((e) => /* @__PURE__ */ J("div", {
642
651
  role: "button",
643
652
  tabIndex: 0,
644
- onClick: () => v(`/customer/cart/${e.id}`),
653
+ onClick: () => _(`/customer/cart/${e.id}`),
645
654
  onKeyDown: (t) => {
646
- (t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/cart/${e.id}`));
655
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), _(`/customer/cart/${e.id}`));
647
656
  },
648
- className: "rounded-lg border border-border bg-card shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
657
+ className: "rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
649
658
  children: [/* @__PURE__ */ J("div", {
650
- className: "relative h-40 bg-muted",
659
+ className: "relative h-40 bg-bg-sunken",
651
660
  children: [
652
661
  /* @__PURE__ */ q("img", {
653
662
  src: e.image,
@@ -662,11 +671,11 @@ function te() {
662
671
  e.isVerified && /* @__PURE__ */ q("div", {
663
672
  className: "absolute top-2 left-2",
664
673
  children: /* @__PURE__ */ J("span", {
665
- className: "inline-flex items-center gap-1 rounded-full bg-blue-500/90 px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
674
+ className: "inline-flex items-center gap-1 rounded-full bg-status-info-bg px-2 py-0.5 text-xs font-medium text-status-info-text backdrop-blur-sm",
666
675
  children: [
667
- /* @__PURE__ */ q(_, { className: "h-3 w-3" }),
676
+ /* @__PURE__ */ q(g, { className: "h-3 w-3" }),
668
677
  " ",
669
- D("labsofscience.home.verified", "Verified")
678
+ E("labsofscience.home.verified", "Verified")
670
679
  ]
671
680
  })
672
681
  }),
@@ -675,7 +684,7 @@ function te() {
675
684
  children: /* @__PURE__ */ J("span", {
676
685
  className: "inline-flex items-center gap-1 rounded-full bg-black/60 px-2 py-0.5 text-xs text-white backdrop-blur-sm",
677
686
  children: [
678
- /* @__PURE__ */ q(S, { className: "h-3 w-3" }),
687
+ /* @__PURE__ */ q(x, { className: "h-3 w-3" }),
679
688
  " ",
680
689
  e.estimatedTime,
681
690
  " min"
@@ -691,49 +700,49 @@ function te() {
691
700
  children: [/* @__PURE__ */ J("div", {
692
701
  className: "min-w-0 flex-1",
693
702
  children: [/* @__PURE__ */ q("h3", {
694
- className: "text-base font-semibold text-foreground truncate",
703
+ className: "text-base font-semibold text-text-primary truncate",
695
704
  children: e.name
696
705
  }), /* @__PURE__ */ q("p", {
697
- className: "mt-0.5 text-sm text-muted-foreground",
706
+ className: "mt-0.5 text-sm text-text-secondary",
698
707
  children: e.category
699
708
  })]
700
709
  }), /* @__PURE__ */ J("div", {
701
- className: "flex items-center gap-1 rounded bg-green-600 px-1.5 py-0.5 ml-2 shrink-0",
702
- children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
710
+ className: "flex items-center gap-1 rounded bg-status-success-bg px-1.5 py-0.5 ml-2 shrink-0",
711
+ children: [/* @__PURE__ */ q(z, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
703
712
  className: "text-xs font-bold text-white",
704
713
  children: e.rating
705
714
  })]
706
715
  })]
707
716
  }),
708
717
  /* @__PURE__ */ J("div", {
709
- className: "mt-3 flex items-center gap-4 text-xs text-muted-foreground",
718
+ className: "mt-3 flex items-center gap-4 text-xs text-text-secondary",
710
719
  children: [
711
720
  /* @__PURE__ */ J("span", {
712
721
  className: "flex items-center gap-1",
713
722
  children: [
714
- /* @__PURE__ */ q(j, { className: "h-3 w-3" }),
723
+ /* @__PURE__ */ q(A, { className: "h-3 w-3" }),
715
724
  " ",
716
- c(e.distance)
725
+ s(e.distance)
717
726
  ]
718
727
  }),
719
728
  /* @__PURE__ */ J("span", {
720
729
  className: "flex items-center gap-1",
721
730
  children: [
722
- /* @__PURE__ */ q(B, { className: "h-3 w-3" }),
731
+ /* @__PURE__ */ q(z, { className: "h-3 w-3" }),
723
732
  " ",
724
733
  e.totalRatings,
725
734
  " ",
726
- D("labsofscience.home.reviews", "reviews")
735
+ E("labsofscience.home.reviews", "reviews")
727
736
  ]
728
737
  }),
729
738
  e.averageOrderValue && /* @__PURE__ */ J("span", {
730
739
  className: "flex items-center gap-1",
731
740
  children: [
732
- /* @__PURE__ */ q(O, { className: "h-3 w-3" }),
741
+ /* @__PURE__ */ q(D, { className: "h-3 w-3" }),
733
742
  " ",
734
- D("labsofscience.home.average", "Avg."),
743
+ E("labsofscience.home.average", "Avg."),
735
744
  " ",
736
- s(e.averageOrderValue, { minimumFractionDigits: 0 })
745
+ o(e.averageOrderValue, { minimumFractionDigits: 0 })
737
746
  ]
738
747
  })
739
748
  ]
@@ -741,7 +750,7 @@ function te() {
741
750
  e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ q("div", {
742
751
  className: "mt-3 flex flex-wrap gap-1.5",
743
752
  children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ q("span", {
744
- className: "inline-flex items-center rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground",
753
+ className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
745
754
  children: e.replace(/_/g, " ")
746
755
  }, e))
747
756
  })
@@ -750,31 +759,31 @@ function te() {
750
759
  }, e.id))
751
760
  })]
752
761
  }),
753
- V.length > 0 && /* @__PURE__ */ J("section", {
762
+ B.length > 0 && /* @__PURE__ */ J("section", {
754
763
  className: "mb-8",
755
764
  children: [/* @__PURE__ */ J("div", {
756
765
  className: "flex items-center justify-between mb-4",
757
766
  children: [/* @__PURE__ */ q("h2", {
758
- className: "text-lg font-semibold text-foreground",
759
- children: D("labsofscience.home.recentOrders", "Recent Orders")
767
+ className: "text-lg font-semibold text-text-primary",
768
+ children: E("labsofscience.home.recentOrders", "Recent Orders")
760
769
  }), /* @__PURE__ */ J("button", {
761
770
  type: "button",
762
- onClick: () => v("/customer/orders"),
771
+ onClick: () => _("/customer/orders"),
763
772
  className: "flex items-center gap-1 text-sm font-medium text-primary hover:underline",
764
773
  children: [
765
- D("labsofscience.common.viewAll", "View All"),
774
+ E("labsofscience.common.viewAll", "View All"),
766
775
  " ",
767
- /* @__PURE__ */ q(g, { className: "h-3.5 w-3.5" })
776
+ /* @__PURE__ */ q(h, { className: "h-3.5 w-3.5" })
768
777
  ]
769
778
  })]
770
779
  }), /* @__PURE__ */ q("div", {
771
- className: "rounded-lg border border-border bg-card divide-y divide-border",
772
- children: V.map((e) => /* @__PURE__ */ J("div", {
780
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
781
+ children: B.map((e) => /* @__PURE__ */ J("div", {
773
782
  role: "button",
774
783
  tabIndex: 0,
775
- onClick: () => v(`/customer/order/${e.id}`),
784
+ onClick: () => _(`/customer/order/${e.id}`),
776
785
  onKeyDown: (t) => {
777
- (t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/order/${e.id}`));
786
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), _(`/customer/order/${e.id}`));
778
787
  },
779
788
  className: "flex items-center gap-4 px-4 py-3 hover:bg-accent/50 transition-colors cursor-pointer",
780
789
  children: [
@@ -788,22 +797,22 @@ function te() {
788
797
  children: [/* @__PURE__ */ J("div", {
789
798
  className: "flex items-center gap-2",
790
799
  children: [/* @__PURE__ */ q("p", {
791
- className: "text-sm font-medium text-foreground truncate",
800
+ className: "text-sm font-medium text-text-primary truncate",
792
801
  children: e.cartName
793
802
  }), /* @__PURE__ */ q(i, { status: e.status })]
794
803
  }), /* @__PURE__ */ q("p", {
795
- className: "text-xs text-muted-foreground mt-0.5",
804
+ className: "text-xs text-text-secondary mt-0.5",
796
805
  children: e.items.map((e) => e.name).join(", ")
797
806
  })]
798
807
  }),
799
808
  /* @__PURE__ */ J("div", {
800
809
  className: "text-right shrink-0",
801
810
  children: [/* @__PURE__ */ q("p", {
802
- className: "text-sm font-semibold text-foreground",
803
- children: s(e.total, { minimumFractionDigits: 0 })
811
+ className: "text-sm font-semibold text-text-primary",
812
+ children: o(e.total, { minimumFractionDigits: 0 })
804
813
  }), /* @__PURE__ */ q("p", {
805
- className: "text-xs text-muted-foreground",
806
- children: l(e.orderDate)
814
+ className: "text-xs text-text-secondary",
815
+ children: c(e.orderDate)
807
816
  })]
808
817
  })
809
818
  ]
@@ -813,30 +822,30 @@ function te() {
813
822
  /* @__PURE__ */ J("section", {
814
823
  className: "mb-8",
815
824
  children: [/* @__PURE__ */ q("h2", {
816
- className: "text-lg font-semibold text-foreground mb-4",
817
- children: D("labsofscience.home.howItWorks", "How It Works")
825
+ className: "text-lg font-semibold text-text-primary mb-4",
826
+ children: E("labsofscience.home.howItWorks", "How It Works")
818
827
  }), /* @__PURE__ */ q("div", {
819
828
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
820
- children: Q.map((e) => /* @__PURE__ */ J("div", {
821
- className: "relative rounded-lg border border-border bg-card p-5 text-center",
829
+ children: re.map((e) => /* @__PURE__ */ J("div", {
830
+ className: "relative rounded-lg border border-border-seam bg-bg-surface p-5 text-center",
822
831
  children: [
823
832
  /* @__PURE__ */ q("div", {
824
833
  className: "absolute -top-3 left-1/2 -translate-x-1/2",
825
834
  children: /* @__PURE__ */ q("span", {
826
- className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-foreground",
835
+ className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
827
836
  children: e.step
828
837
  })
829
838
  }),
830
839
  /* @__PURE__ */ q("div", {
831
- className: "mt-2 flex justify-center text-muted-foreground mb-3",
840
+ className: "mt-2 flex justify-center text-text-secondary mb-3",
832
841
  children: e.icon
833
842
  }),
834
843
  /* @__PURE__ */ q("h3", {
835
- className: "text-sm font-semibold text-foreground",
844
+ className: "text-sm font-semibold text-text-primary",
836
845
  children: e.title
837
846
  }),
838
847
  /* @__PURE__ */ q("p", {
839
- className: "mt-1 text-xs text-muted-foreground",
848
+ className: "mt-1 text-xs text-text-secondary",
840
849
  children: e.description
841
850
  })
842
851
  ]
@@ -846,67 +855,72 @@ function te() {
846
855
  /* @__PURE__ */ J("section", {
847
856
  className: "mb-8",
848
857
  children: [/* @__PURE__ */ q("h2", {
849
- className: "text-lg font-semibold text-foreground mb-4",
850
- children: D("labsofscience.home.browseByCategory", "Browse by Category")
851
- }), /* @__PURE__ */ q("div", {
852
- className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
853
- children: Z.map((e) => /* @__PURE__ */ J("button", {
854
- type: "button",
855
- onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
856
- className: "flex flex-col items-center gap-2 rounded-lg border border-border bg-card p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
857
- children: [/* @__PURE__ */ q("div", {
858
- className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
859
- children: e.icon
860
- }), /* @__PURE__ */ q("span", {
861
- className: "text-xs font-medium text-foreground leading-tight",
862
- children: e.label
863
- })]
864
- }, e.label))
858
+ className: "text-lg font-semibold text-text-primary mb-4",
859
+ children: E("labsofscience.home.browseByCategory", "Browse by Category")
860
+ }), /* @__PURE__ */ q(Q, {
861
+ collapsedHeight: 180,
862
+ label: "Show all categories",
863
+ children: /* @__PURE__ */ q("div", {
864
+ className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
865
+ children: ne.map((e) => /* @__PURE__ */ J("button", {
866
+ type: "button",
867
+ onClick: () => _(`/customer/carts?category=${encodeURIComponent(e.label)}`),
868
+ className: "flex flex-col items-center gap-2 rounded-lg border border-border-seam bg-bg-surface p-4 text-center transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
869
+ children: [/* @__PURE__ */ q("div", {
870
+ className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
871
+ children: e.icon
872
+ }), /* @__PURE__ */ q("span", {
873
+ className: "text-xs font-medium leading-tight text-text-primary",
874
+ children: e.label
875
+ })]
876
+ }, e.label))
877
+ })
865
878
  })]
866
879
  }),
867
880
  /* @__PURE__ */ J("section", {
868
881
  className: "mb-8",
869
882
  children: [/* @__PURE__ */ q("h2", {
870
- className: "text-lg font-semibold text-foreground mb-4",
871
- children: D("labsofscience.home.platformStats", "Platform Stats")
883
+ className: "text-lg font-semibold text-text-primary mb-4",
884
+ children: E("labsofscience.home.platformStats", "Platform Stats")
872
885
  }), /* @__PURE__ */ q("div", {
873
886
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
874
- children: ee.map((e) => /* @__PURE__ */ J("div", {
875
- className: "flex items-center gap-3 rounded-lg border border-border bg-card p-4",
887
+ children: ae.map((e) => /* @__PURE__ */ J(X, {
888
+ treatment: "metric",
889
+ className: "flex items-center gap-3 border-border-seam p-4",
876
890
  children: [/* @__PURE__ */ q("div", {
877
- className: "flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary shrink-0",
891
+ className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[var(--color-accent-soft)] text-text-primary",
878
892
  children: e.icon
879
893
  }), /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q("p", {
880
- className: "text-lg font-bold text-foreground",
894
+ className: "text-lg font-bold tabular-nums text-text-primary",
881
895
  children: e.value
882
896
  }), /* @__PURE__ */ q("p", {
883
- className: "text-xs text-muted-foreground",
897
+ className: "text-xs text-text-secondary",
884
898
  children: e.label
885
899
  })] })]
886
900
  }, e.label))
887
901
  })]
888
902
  }),
889
903
  /* @__PURE__ */ J("section", { children: [/* @__PURE__ */ q("h2", {
890
- className: "text-lg font-semibold text-foreground mb-4",
891
- children: D("labsofscience.home.recentActivity", "Recent Activity")
904
+ className: "text-lg font-semibold text-text-primary mb-4",
905
+ children: E("labsofscience.home.recentActivity", "Recent Activity")
892
906
  }), /* @__PURE__ */ q("div", {
893
- className: "rounded-lg border border-border bg-card divide-y divide-border",
894
- children: $.map((e) => /* @__PURE__ */ J("div", {
907
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
908
+ children: ie.map((e) => /* @__PURE__ */ J("div", {
895
909
  className: "flex items-center gap-3 px-4 py-3",
896
910
  children: [
897
911
  /* @__PURE__ */ q("div", {
898
- className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted",
899
- children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-muted-foreground") })
912
+ className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken",
913
+ children: /* @__PURE__ */ q(p, { className: t("h-4 w-4", V[e.type] ?? "text-text-secondary") })
900
914
  }),
901
915
  /* @__PURE__ */ q("div", {
902
916
  className: "flex-1 min-w-0",
903
917
  children: /* @__PURE__ */ q("p", {
904
- className: "text-sm text-foreground truncate",
918
+ className: "text-sm text-text-primary truncate",
905
919
  children: e.description
906
920
  })
907
921
  }),
908
922
  /* @__PURE__ */ q("span", {
909
- className: "text-xs text-muted-foreground whitespace-nowrap",
923
+ className: "text-xs text-text-secondary whitespace-nowrap",
910
924
  children: e.time
911
925
  })
912
926
  ]
@@ -916,6 +930,6 @@ function te() {
916
930
  });
917
931
  }
918
932
  //#endregion
919
- export { te as HomePage };
933
+ export { oe as HomePage };
920
934
 
921
935
  //# sourceMappingURL=HomePage.js.map