@burdenoff/microfe-adaptercloud 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/adaptercloud/components/EmptyState.js +17 -21
  2. package/dist/adaptercloud/components/EmptyState.js.map +1 -1
  3. package/dist/adaptercloud/components/InvestmentCard.js +30 -28
  4. package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
  5. package/dist/adaptercloud/components/MetricsCard.js +21 -15
  6. package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
  7. package/dist/adaptercloud/components/PageLayout.js +38 -19
  8. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  9. package/dist/adaptercloud/components/RatingDisplay.js +3 -3
  10. package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
  11. package/dist/adaptercloud/components/StatusBadge.js +36 -16
  12. package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
  13. package/dist/adaptercloud/pages/HomePage.js +286 -275
  14. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
  16. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
  18. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/adaptercloud/pages/admin/CartManagementPage.js +107 -107
  28. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
  36. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
  40. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
  48. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
  52. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
  54. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
  56. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
  58. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
  66. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
  70. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
  72. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
  76. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
  82. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
  84. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
  86. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
  88. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
  94. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
  98. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
  102. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/dist/adaptercloud/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
@@ -134,32 +134,32 @@ var S = {
134
134
  function C(e) {
135
135
  return e <= 2 ? {
136
136
  label: "Low Risk",
137
- color: "text-green-600 dark:text-green-400"
137
+ color: "text-status-success-text"
138
138
  } : e <= 4 ? {
139
139
  label: "Moderate Risk",
140
- color: "text-yellow-600 dark:text-yellow-400"
140
+ color: "text-status-warning-text"
141
141
  } : {
142
142
  label: "High Risk",
143
- color: "text-red-600 dark:text-red-400"
143
+ color: "text-status-error-text"
144
144
  };
145
145
  }
146
146
  function w(e) {
147
- return e <= 2 ? "bg-green-500" : e <= 4 ? "bg-yellow-500" : "bg-red-500";
147
+ return e <= 2 ? "bg-status-success-bg-subtle" : e <= 4 ? "bg-status-warning-bg-subtle" : "bg-status-error-bg-subtle";
148
148
  }
149
149
  function T(e) {
150
150
  return e >= 8 ? {
151
151
  label: "Well Diversified",
152
- color: "text-green-600 dark:text-green-400"
152
+ color: "text-status-success-text"
153
153
  } : e >= 6 ? {
154
154
  label: "Moderately Diversified",
155
- color: "text-yellow-600 dark:text-yellow-400"
155
+ color: "text-status-warning-text"
156
156
  } : {
157
157
  label: "Poorly Diversified",
158
- color: "text-red-600 dark:text-red-400"
158
+ color: "text-status-error-text"
159
159
  };
160
160
  }
161
161
  function E(e) {
162
- return e >= 8 ? "bg-green-500" : e >= 6 ? "bg-yellow-500" : "bg-red-500";
162
+ return e >= 8 ? "bg-status-success-bg-subtle" : e >= 6 ? "bg-status-warning-bg-subtle" : "bg-status-error-bg-subtle";
163
163
  }
164
164
  function D() {
165
165
  let { navigateTo: D } = e(), [O, k] = s(!0), [A, j] = s("6m"), [M, N] = s(null), [P, F] = s("idle");
@@ -183,7 +183,7 @@ function D() {
183
183
  children: /* @__PURE__ */ x("div", {
184
184
  className: "text-center",
185
185
  children: [/* @__PURE__ */ b("div", { className: "mx-auto mb-4 h-12 w-12 animate-spin rounded-full border-b-2 border-primary" }), /* @__PURE__ */ b("p", {
186
- className: "text-sm text-muted-foreground",
186
+ className: "text-sm text-text-secondary",
187
187
  children: "Loading analytics data..."
188
188
  })]
189
189
  })
@@ -198,7 +198,7 @@ function D() {
198
198
  children: [/* @__PURE__ */ x("select", {
199
199
  value: A,
200
200
  onChange: (e) => j(e.target.value),
201
- className: "rounded-lg border border-border bg-card px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
201
+ className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
202
202
  children: [
203
203
  /* @__PURE__ */ b("option", {
204
204
  value: "1m",
@@ -225,7 +225,7 @@ function D() {
225
225
  type: "button",
226
226
  onClick: I,
227
227
  disabled: P === "exporting",
228
- className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", P === "exporting" ? "cursor-not-allowed bg-muted text-muted-foreground" : P === "done" ? "bg-green-600 text-white" : "bg-primary text-primary-foreground hover:bg-primary/90"),
228
+ className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", P === "exporting" ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : P === "done" ? "bg-status-success-bg-subtle text-white" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
229
229
  children: [/* @__PURE__ */ b(p, { className: "h-4 w-4" }), P === "exporting" ? "Exporting..." : P === "done" ? "Exported!" : "Export Report"]
230
230
  })]
231
231
  }),
@@ -266,27 +266,27 @@ function D() {
266
266
  /* @__PURE__ */ x("div", {
267
267
  className: "mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2",
268
268
  children: [/* @__PURE__ */ x("div", {
269
- className: "flex items-center gap-3 rounded-lg border border-border bg-card p-4",
269
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
270
270
  children: [/* @__PURE__ */ b("div", {
271
- className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-green-500/10",
272
- children: /* @__PURE__ */ b(u, { className: "h-5 w-5 text-green-600 dark:text-green-400" })
271
+ className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-status-success-bg-subtle/10",
272
+ children: /* @__PURE__ */ b(u, { className: "h-5 w-5 text-status-success-text" })
273
273
  }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
274
- className: "text-xs text-muted-foreground",
274
+ className: "text-xs text-text-secondary",
275
275
  children: "Best Performing"
276
276
  }), /* @__PURE__ */ b("p", {
277
- className: "text-sm font-semibold text-green-600 dark:text-green-400",
277
+ className: "text-sm font-semibold text-status-success-text",
278
278
  children: M.portfolioMetrics.bestPerforming
279
279
  })] })]
280
280
  }), /* @__PURE__ */ x("div", {
281
- className: "flex items-center gap-3 rounded-lg border border-border bg-card p-4",
281
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
282
282
  children: [/* @__PURE__ */ b("div", {
283
- className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-red-500/10",
284
- children: /* @__PURE__ */ b(l, { className: "h-5 w-5 text-red-600 dark:text-red-400" })
283
+ className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-status-error-bg-subtle/10",
284
+ children: /* @__PURE__ */ b(l, { className: "h-5 w-5 text-status-error-text" })
285
285
  }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
286
- className: "text-xs text-muted-foreground",
286
+ className: "text-xs text-text-secondary",
287
287
  children: "Worst Performing"
288
288
  }), /* @__PURE__ */ b("p", {
289
- className: "text-sm font-semibold text-foreground",
289
+ className: "text-sm font-semibold text-text-primary",
290
290
  children: M.portfolioMetrics.worstPerforming
291
291
  })] })]
292
292
  })]
@@ -295,33 +295,33 @@ function D() {
295
295
  className: "mt-6 grid grid-cols-1 gap-6 lg:grid-cols-2",
296
296
  children: [/* @__PURE__ */ x("section", { children: [/* @__PURE__ */ x("div", {
297
297
  className: "mb-4 flex items-center gap-2",
298
- children: [/* @__PURE__ */ b(d, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ b("h2", {
299
- className: "text-lg font-semibold text-foreground",
298
+ children: [/* @__PURE__ */ b(d, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ b("h2", {
299
+ className: "text-lg font-semibold text-text-primary",
300
300
  children: "Performance by Cart"
301
301
  })]
302
302
  }), /* @__PURE__ */ b("div", {
303
303
  className: "space-y-3",
304
304
  children: z.map((e, n) => /* @__PURE__ */ x("div", {
305
- className: "flex items-center justify-between rounded-lg border border-border bg-card p-3",
305
+ className: "flex items-center justify-between rounded-lg border border-border-subtle bg-bg-surface p-3",
306
306
  children: [/* @__PURE__ */ x("div", {
307
307
  className: "flex items-center gap-3",
308
308
  children: [/* @__PURE__ */ b("div", {
309
- className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-foreground",
309
+ className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
310
310
  children: n + 1
311
311
  }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
312
- className: "text-sm font-medium text-foreground",
312
+ className: "text-sm font-medium text-text-primary",
313
313
  children: e.cartName
314
314
  }), /* @__PURE__ */ x("p", {
315
- className: "text-xs text-muted-foreground",
315
+ className: "text-xs text-text-secondary",
316
316
  children: [i(e.investedAmount, { minimumFractionDigits: 0 }), " invested"]
317
317
  })] })]
318
318
  }), /* @__PURE__ */ x("div", {
319
319
  className: "text-right",
320
320
  children: [/* @__PURE__ */ x("p", {
321
- className: t("text-sm font-semibold", e.returns >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
321
+ className: t("text-sm font-semibold", e.returns >= 0 ? "text-status-success-text" : "text-status-error-text"),
322
322
  children: [e.returns >= 0 ? "+" : "", i(e.returns, { minimumFractionDigits: 0 })]
323
323
  }), /* @__PURE__ */ x("p", {
324
- className: t("text-xs", e.roi >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
324
+ className: t("text-xs", e.roi >= 0 ? "text-status-success-text" : "text-status-error-text"),
325
325
  children: [
326
326
  e.roi >= 0 ? "+" : "",
327
327
  e.roi,
@@ -332,39 +332,39 @@ function D() {
332
332
  }, e.cartName))
333
333
  })] }), /* @__PURE__ */ x("section", { children: [/* @__PURE__ */ x("div", {
334
334
  className: "mb-4 flex items-center gap-2",
335
- children: [/* @__PURE__ */ b(h, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ b("h2", {
336
- className: "text-lg font-semibold text-foreground",
335
+ children: [/* @__PURE__ */ b(h, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ b("h2", {
336
+ className: "text-lg font-semibold text-text-primary",
337
337
  children: "Category Distribution"
338
338
  })]
339
339
  }), /* @__PURE__ */ b("div", {
340
340
  className: "space-y-4",
341
341
  children: M.performanceByCategory.map((e) => /* @__PURE__ */ x("div", {
342
- className: "rounded-lg border border-border bg-card p-3",
342
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-3",
343
343
  children: [
344
344
  /* @__PURE__ */ x("div", {
345
345
  className: "mb-2 flex items-center justify-between",
346
346
  children: [/* @__PURE__ */ b("span", {
347
- className: "text-sm font-medium text-foreground",
347
+ className: "text-sm font-medium text-text-primary",
348
348
  children: e.category
349
349
  }), /* @__PURE__ */ x("span", {
350
- className: "text-sm text-muted-foreground",
350
+ className: "text-sm text-text-secondary",
351
351
  children: [e.percentage, "%"]
352
352
  })]
353
353
  }),
354
354
  /* @__PURE__ */ b("div", {
355
- className: "mb-2 h-2 w-full overflow-hidden rounded-full bg-muted",
355
+ className: "mb-2 h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
356
356
  children: /* @__PURE__ */ b("div", {
357
- className: "h-full rounded-full bg-primary transition-all duration-300",
357
+ className: "h-full rounded-full bg-action-primary-bg transition-all duration-300",
358
358
  style: { width: `${e.percentage}%` }
359
359
  })
360
360
  }),
361
361
  /* @__PURE__ */ x("div", {
362
362
  className: "flex items-center justify-between",
363
363
  children: [/* @__PURE__ */ x("span", {
364
- className: "text-xs text-muted-foreground",
364
+ className: "text-xs text-text-secondary",
365
365
  children: [i(e.investedAmount, { minimumFractionDigits: 0 }), " invested"]
366
366
  }), /* @__PURE__ */ x("span", {
367
- className: t("text-xs font-semibold", e.returns >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
367
+ className: t("text-xs font-semibold", e.returns >= 0 ? "text-status-success-text" : "text-status-error-text"),
368
368
  children: [e.returns >= 0 ? "+" : "", i(e.returns, { minimumFractionDigits: 0 })]
369
369
  })]
370
370
  })
@@ -376,37 +376,37 @@ function D() {
376
376
  className: "mt-8",
377
377
  children: [/* @__PURE__ */ x("div", {
378
378
  className: "mb-4 flex items-center gap-2",
379
- children: [/* @__PURE__ */ b(f, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ b("h2", {
380
- className: "text-lg font-semibold text-foreground",
379
+ children: [/* @__PURE__ */ b(f, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ b("h2", {
380
+ className: "text-lg font-semibold text-text-primary",
381
381
  children: "Portfolio Growth Trend"
382
382
  })]
383
383
  }), /* @__PURE__ */ b("div", {
384
- className: "overflow-hidden rounded-lg border border-border bg-card",
384
+ className: "overflow-hidden rounded-lg border border-border-subtle bg-bg-surface",
385
385
  children: /* @__PURE__ */ b("div", {
386
386
  className: "overflow-x-auto",
387
387
  children: /* @__PURE__ */ x("table", {
388
388
  className: "w-full",
389
389
  children: [/* @__PURE__ */ b("thead", { children: /* @__PURE__ */ x("tr", {
390
- className: "border-b border-border bg-muted/50",
390
+ className: "border-b border-border-subtle bg-bg-sunken/50",
391
391
  children: [
392
392
  /* @__PURE__ */ b("th", {
393
- className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground sm:px-6",
393
+ className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary sm:px-6",
394
394
  children: "Month"
395
395
  }),
396
396
  /* @__PURE__ */ b("th", {
397
- className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground sm:px-6",
397
+ className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary sm:px-6",
398
398
  children: "Invested"
399
399
  }),
400
400
  /* @__PURE__ */ b("th", {
401
- className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground sm:px-6",
401
+ className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary sm:px-6",
402
402
  children: "Portfolio Value"
403
403
  }),
404
404
  /* @__PURE__ */ b("th", {
405
- className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground sm:px-6",
405
+ className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary sm:px-6",
406
406
  children: "Returns"
407
407
  }),
408
408
  /* @__PURE__ */ b("th", {
409
- className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground sm:px-6",
409
+ className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary sm:px-6",
410
410
  children: "Growth %"
411
411
  })
412
412
  ]
@@ -418,28 +418,28 @@ function D() {
418
418
  className: "hover:bg-accent/50 transition-colors",
419
419
  children: [
420
420
  /* @__PURE__ */ b("td", {
421
- className: "whitespace-nowrap px-4 py-4 text-sm font-medium text-foreground sm:px-6",
421
+ className: "whitespace-nowrap px-4 py-4 text-sm font-medium text-text-primary sm:px-6",
422
422
  children: e.month
423
423
  }),
424
424
  /* @__PURE__ */ b("td", {
425
- className: "whitespace-nowrap px-4 py-4 text-sm text-foreground sm:px-6",
425
+ className: "whitespace-nowrap px-4 py-4 text-sm text-text-primary sm:px-6",
426
426
  children: i(e.invested, { minimumFractionDigits: 0 })
427
427
  }),
428
428
  /* @__PURE__ */ b("td", {
429
- className: "whitespace-nowrap px-4 py-4 text-sm text-foreground sm:px-6",
429
+ className: "whitespace-nowrap px-4 py-4 text-sm text-text-primary sm:px-6",
430
430
  children: i(e.value, { minimumFractionDigits: 0 })
431
431
  }),
432
432
  /* @__PURE__ */ b("td", {
433
433
  className: "whitespace-nowrap px-4 py-4 text-sm sm:px-6",
434
434
  children: /* @__PURE__ */ x("span", {
435
- className: t("font-semibold", e.returns >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
435
+ className: t("font-semibold", e.returns >= 0 ? "text-status-success-text" : "text-status-error-text"),
436
436
  children: [e.returns >= 0 ? "+" : "", i(e.returns, { minimumFractionDigits: 0 })]
437
437
  })
438
438
  }),
439
439
  /* @__PURE__ */ b("td", {
440
440
  className: "whitespace-nowrap px-4 py-4 text-sm sm:px-6",
441
441
  children: /* @__PURE__ */ x("span", {
442
- className: t("font-medium", parseFloat(n) >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
442
+ className: t("font-medium", parseFloat(n) >= 0 ? "text-status-success-text" : "text-status-error-text"),
443
443
  children: [
444
444
  parseFloat(n) >= 0 ? "+" : "",
445
445
  n,
@@ -459,19 +459,19 @@ function D() {
459
459
  className: "mt-8 grid grid-cols-1 gap-6 lg:grid-cols-2",
460
460
  children: [/* @__PURE__ */ x("section", { children: [/* @__PURE__ */ x("div", {
461
461
  className: "mb-4 flex items-center gap-2",
462
- children: [/* @__PURE__ */ b(g, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ b("h2", {
463
- className: "text-lg font-semibold text-foreground",
462
+ children: [/* @__PURE__ */ b(g, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ b("h2", {
463
+ className: "text-lg font-semibold text-text-primary",
464
464
  children: "Risk Analysis"
465
465
  })]
466
466
  }), /* @__PURE__ */ b("div", {
467
- className: "rounded-lg border border-border bg-card p-4 sm:p-6",
467
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
468
468
  children: /* @__PURE__ */ x("div", {
469
469
  className: "space-y-5",
470
470
  children: [
471
471
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
472
472
  className: "mb-2 flex items-center justify-between",
473
473
  children: [/* @__PURE__ */ b("span", {
474
- className: "text-sm text-foreground",
474
+ className: "text-sm text-text-primary",
475
475
  children: "Risk Score"
476
476
  }), /* @__PURE__ */ x("span", {
477
477
  className: t("text-sm font-semibold", L.color),
@@ -483,7 +483,7 @@ function D() {
483
483
  ]
484
484
  })]
485
485
  }), /* @__PURE__ */ b("div", {
486
- className: "h-3 w-full overflow-hidden rounded-full bg-muted",
486
+ className: "h-3 w-full overflow-hidden rounded-full bg-bg-sunken",
487
487
  children: /* @__PURE__ */ b("div", {
488
488
  className: t("h-full rounded-full transition-all duration-300", w(M.riskAnalysis.riskScore)),
489
489
  style: { width: `${M.riskAnalysis.riskScore / 5 * 100}%` }
@@ -492,7 +492,7 @@ function D() {
492
492
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
493
493
  className: "mb-2 flex items-center justify-between",
494
494
  children: [/* @__PURE__ */ b("span", {
495
- className: "text-sm text-foreground",
495
+ className: "text-sm text-text-primary",
496
496
  children: "Diversification"
497
497
  }), /* @__PURE__ */ x("span", {
498
498
  className: t("text-sm font-semibold", R.color),
@@ -504,7 +504,7 @@ function D() {
504
504
  ]
505
505
  })]
506
506
  }), /* @__PURE__ */ b("div", {
507
- className: "h-3 w-full overflow-hidden rounded-full bg-muted",
507
+ className: "h-3 w-full overflow-hidden rounded-full bg-bg-sunken",
508
508
  children: /* @__PURE__ */ b("div", {
509
509
  className: t("h-full rounded-full transition-all duration-300", E(M.riskAnalysis.diversificationScore)),
510
510
  style: { width: `${M.riskAnalysis.diversificationScore / 10 * 100}%` }
@@ -513,37 +513,37 @@ function D() {
513
513
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
514
514
  className: "mb-2 flex items-center justify-between",
515
515
  children: [/* @__PURE__ */ b("span", {
516
- className: "text-sm text-foreground",
516
+ className: "text-sm text-text-primary",
517
517
  children: "Volatility"
518
518
  }), /* @__PURE__ */ x("span", {
519
519
  className: t("text-sm font-semibold", C(M.riskAnalysis.volatilityScore).color),
520
520
  children: [M.riskAnalysis.volatilityScore, "/5"]
521
521
  })]
522
522
  }), /* @__PURE__ */ b("div", {
523
- className: "h-3 w-full overflow-hidden rounded-full bg-muted",
523
+ className: "h-3 w-full overflow-hidden rounded-full bg-bg-sunken",
524
524
  children: /* @__PURE__ */ b("div", {
525
525
  className: t("h-full rounded-full transition-all duration-300", w(M.riskAnalysis.volatilityScore)),
526
526
  style: { width: `${M.riskAnalysis.volatilityScore / 5 * 100}%` }
527
527
  })
528
528
  })] }),
529
529
  /* @__PURE__ */ x("div", {
530
- className: "grid grid-cols-2 gap-3 border-t border-border pt-4",
530
+ className: "grid grid-cols-2 gap-3 border-t border-border-subtle pt-4",
531
531
  children: [/* @__PURE__ */ x("div", {
532
- className: "rounded-lg bg-muted/50 p-3 text-center",
532
+ className: "rounded-lg bg-bg-sunken/50 p-3 text-center",
533
533
  children: [/* @__PURE__ */ b("p", {
534
- className: "text-lg font-bold text-foreground",
534
+ className: "text-lg font-bold text-text-primary",
535
535
  children: M.performanceByCart.length
536
536
  }), /* @__PURE__ */ b("p", {
537
- className: "text-xs text-muted-foreground",
537
+ className: "text-xs text-text-secondary",
538
538
  children: "Active Investments"
539
539
  })]
540
540
  }), /* @__PURE__ */ x("div", {
541
- className: "rounded-lg bg-muted/50 p-3 text-center",
541
+ className: "rounded-lg bg-bg-sunken/50 p-3 text-center",
542
542
  children: [/* @__PURE__ */ b("p", {
543
- className: "text-lg font-bold text-foreground",
543
+ className: "text-lg font-bold text-text-primary",
544
544
  children: M.performanceByCategory.length
545
545
  }), /* @__PURE__ */ b("p", {
546
- className: "text-xs text-muted-foreground",
546
+ className: "text-xs text-text-secondary",
547
547
  children: "Sectors Covered"
548
548
  })]
549
549
  })]
@@ -552,28 +552,28 @@ function D() {
552
552
  })
553
553
  })] }), /* @__PURE__ */ x("section", { children: [/* @__PURE__ */ x("div", {
554
554
  className: "mb-4 flex items-center gap-2",
555
- children: [/* @__PURE__ */ b(m, { className: "h-5 w-5 text-yellow-500" }), /* @__PURE__ */ b("h2", {
556
- className: "text-lg font-semibold text-foreground",
555
+ children: [/* @__PURE__ */ b(m, { className: "h-5 w-5 text-status-warning-text" }), /* @__PURE__ */ b("h2", {
556
+ className: "text-lg font-semibold text-text-primary",
557
557
  children: "Recommendations"
558
558
  })]
559
559
  }), /* @__PURE__ */ x("div", {
560
- className: "rounded-lg border border-border bg-card p-4 sm:p-6",
560
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
561
561
  children: [/* @__PURE__ */ b("div", {
562
562
  className: "space-y-3",
563
563
  children: M.riskAnalysis.recommendations.map((e, t) => /* @__PURE__ */ x("div", {
564
- className: "flex items-start gap-3 rounded-lg border border-border bg-muted/30 p-3",
564
+ className: "flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-sunken/30 p-3",
565
565
  children: [/* @__PURE__ */ b("div", {
566
- className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-foreground",
566
+ className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
567
567
  children: t + 1
568
568
  }), /* @__PURE__ */ b("p", {
569
- className: "text-sm leading-relaxed text-foreground",
569
+ className: "text-sm leading-relaxed text-text-primary",
570
570
  children: e
571
571
  })]
572
572
  }, t))
573
573
  }), /* @__PURE__ */ x("div", {
574
- className: "mt-5 rounded-lg border border-border bg-muted/50 p-4",
574
+ className: "mt-5 rounded-lg border border-border-subtle bg-bg-sunken/50 p-4",
575
575
  children: [/* @__PURE__ */ b("h4", {
576
- className: "mb-2 text-sm font-semibold text-foreground",
576
+ className: "mb-2 text-sm font-semibold text-text-primary",
577
577
  children: "Overall Assessment"
578
578
  }), /* @__PURE__ */ x("div", {
579
579
  className: "space-y-2",
@@ -581,7 +581,7 @@ function D() {
581
581
  /* @__PURE__ */ x("div", {
582
582
  className: "flex items-center justify-between",
583
583
  children: [/* @__PURE__ */ b("span", {
584
- className: "text-xs text-muted-foreground",
584
+ className: "text-xs text-text-secondary",
585
585
  children: "Portfolio Health"
586
586
  }), /* @__PURE__ */ x("div", {
587
587
  className: "flex items-center gap-2",
@@ -593,9 +593,9 @@ function D() {
593
593
  3,
594
594
  4,
595
595
  5
596
- ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 4 ? "bg-green-500" : "bg-muted") }, e))
596
+ ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 4 ? "bg-status-success-bg-subtle" : "bg-bg-sunken") }, e))
597
597
  }), /* @__PURE__ */ b("span", {
598
- className: "text-xs font-medium text-foreground",
598
+ className: "text-xs font-medium text-text-primary",
599
599
  children: "4/5"
600
600
  })]
601
601
  })]
@@ -603,7 +603,7 @@ function D() {
603
603
  /* @__PURE__ */ x("div", {
604
604
  className: "flex items-center justify-between",
605
605
  children: [/* @__PURE__ */ b("span", {
606
- className: "text-xs text-muted-foreground",
606
+ className: "text-xs text-text-secondary",
607
607
  children: "Growth Potential"
608
608
  }), /* @__PURE__ */ x("div", {
609
609
  className: "flex items-center gap-2",
@@ -615,9 +615,9 @@ function D() {
615
615
  3,
616
616
  4,
617
617
  5
618
- ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 3 ? "bg-yellow-500" : "bg-muted") }, e))
618
+ ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 3 ? "bg-status-warning-bg-subtle" : "bg-bg-sunken") }, e))
619
619
  }), /* @__PURE__ */ b("span", {
620
- className: "text-xs font-medium text-foreground",
620
+ className: "text-xs font-medium text-text-primary",
621
621
  children: "3/5"
622
622
  })]
623
623
  })]
@@ -625,7 +625,7 @@ function D() {
625
625
  /* @__PURE__ */ x("div", {
626
626
  className: "flex items-center justify-between",
627
627
  children: [/* @__PURE__ */ b("span", {
628
- className: "text-xs text-muted-foreground",
628
+ className: "text-xs text-text-secondary",
629
629
  children: "Income Stability"
630
630
  }), /* @__PURE__ */ x("div", {
631
631
  className: "flex items-center gap-2",
@@ -637,9 +637,9 @@ function D() {
637
637
  3,
638
638
  4,
639
639
  5
640
- ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 4 ? "bg-green-500" : "bg-muted") }, e))
640
+ ].map((e) => /* @__PURE__ */ b("div", { className: t("h-2 w-4 rounded-sm", e <= 4 ? "bg-status-success-bg-subtle" : "bg-bg-sunken") }, e))
641
641
  }), /* @__PURE__ */ b("span", {
642
- className: "text-xs font-medium text-foreground",
642
+ className: "text-xs font-medium text-text-primary",
643
643
  children: "4/5"
644
644
  })]
645
645
  })]
@@ -655,19 +655,19 @@ function D() {
655
655
  /* @__PURE__ */ x("button", {
656
656
  type: "button",
657
657
  onClick: () => D("/investor/portfolio"),
658
- className: "flex items-center gap-2 rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
658
+ className: "flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
659
659
  children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "View Portfolio"]
660
660
  }),
661
661
  /* @__PURE__ */ x("button", {
662
662
  type: "button",
663
663
  onClick: () => D("/investor/opportunities"),
664
- className: "flex items-center gap-2 rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
664
+ className: "flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
665
665
  children: [/* @__PURE__ */ b(_, { className: "h-4 w-4" }), "Browse Opportunities"]
666
666
  }),
667
667
  /* @__PURE__ */ x("button", {
668
668
  type: "button",
669
669
  onClick: () => D("/investor/investments"),
670
- className: "flex items-center gap-2 rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
670
+ className: "flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
671
671
  children: [/* @__PURE__ */ b(y, { className: "h-4 w-4" }), "My Investments"]
672
672
  })
673
673
  ]