@almadar/ui 2.25.4 → 2.26.0

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.
@@ -1543,28 +1543,28 @@ var marginYStyles = {
1543
1543
  };
1544
1544
  var bgStyles = {
1545
1545
  transparent: "bg-transparent",
1546
- primary: "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
1547
- secondary: "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
1548
- muted: "bg-[var(--color-muted)] text-[var(--color-foreground)]",
1549
- accent: "bg-[var(--color-accent)] text-[var(--color-accent-foreground)]",
1550
- surface: "bg-[var(--color-card)]",
1551
- overlay: "bg-[var(--color-card)]/80 backdrop-blur-sm"
1546
+ primary: "bg-primary text-primary-foreground",
1547
+ secondary: "bg-secondary text-secondary-foreground",
1548
+ muted: "bg-muted text-foreground",
1549
+ accent: "bg-accent text-accent-foreground",
1550
+ surface: "bg-card",
1551
+ overlay: "bg-card/80 backdrop-blur-sm"
1552
1552
  };
1553
1553
  var roundedStyles = {
1554
1554
  none: "rounded-none",
1555
- sm: "rounded-[var(--radius-sm)]",
1556
- md: "rounded-[var(--radius-md)]",
1557
- lg: "rounded-[var(--radius-lg)]",
1558
- xl: "rounded-[var(--radius-xl)]",
1559
- "2xl": "rounded-[var(--radius-xl)]",
1560
- full: "rounded-[var(--radius-full)]"
1555
+ sm: "rounded-sm",
1556
+ md: "rounded-md",
1557
+ lg: "rounded-lg",
1558
+ xl: "rounded-xl",
1559
+ "2xl": "rounded-xl",
1560
+ full: "rounded-full"
1561
1561
  };
1562
1562
  var shadowStyles = {
1563
1563
  none: "shadow-none",
1564
- sm: "shadow-[var(--shadow-sm)]",
1565
- md: "shadow-[var(--shadow-main)]",
1566
- lg: "shadow-[var(--shadow-lg)]",
1567
- xl: "shadow-[var(--shadow-lg)]"
1564
+ sm: "shadow-sm",
1565
+ md: "shadow",
1566
+ lg: "shadow-lg",
1567
+ xl: "shadow-lg"
1568
1568
  };
1569
1569
  var displayStyles = {
1570
1570
  block: "block",
@@ -1652,7 +1652,7 @@ var Box = React114__namespace.default.forwardRef(
1652
1652
  // Background
1653
1653
  bgStyles[bg],
1654
1654
  // Border - uses theme variables
1655
- border && "border-[length:var(--border-width)] border-[var(--color-border)]",
1655
+ border && "border-[length:var(--border-width)] border-border",
1656
1656
  // Rounded
1657
1657
  roundedStyles[rounded],
1658
1658
  // Shadow
@@ -1681,30 +1681,30 @@ var Box = React114__namespace.default.forwardRef(
1681
1681
  );
1682
1682
  Box.displayName = "Box";
1683
1683
  var variantStyles = {
1684
- h1: "text-4xl font-bold tracking-tight text-[var(--color-foreground)]",
1685
- h2: "text-3xl font-bold tracking-tight text-[var(--color-foreground)]",
1686
- h3: "text-2xl font-bold text-[var(--color-foreground)]",
1687
- h4: "text-xl font-bold text-[var(--color-foreground)]",
1688
- h5: "text-lg font-bold text-[var(--color-foreground)]",
1689
- h6: "text-base font-bold text-[var(--color-foreground)]",
1690
- heading: "text-2xl font-bold text-[var(--color-foreground)]",
1691
- subheading: "text-lg font-semibold text-[var(--color-foreground)]",
1692
- body1: "text-base font-normal text-[var(--color-foreground)]",
1693
- body2: "text-sm font-normal text-[var(--color-foreground)]",
1694
- body: "text-base font-normal text-[var(--color-foreground)]",
1695
- caption: "text-xs font-normal text-[var(--color-muted-foreground)]",
1696
- overline: "text-xs uppercase tracking-wide font-bold text-[var(--color-muted-foreground)]",
1697
- small: "text-sm font-normal text-[var(--color-foreground)]",
1698
- large: "text-lg font-medium text-[var(--color-foreground)]",
1699
- label: "text-sm font-medium text-[var(--color-foreground)]"
1684
+ h1: "text-4xl font-bold tracking-tight text-foreground",
1685
+ h2: "text-3xl font-bold tracking-tight text-foreground",
1686
+ h3: "text-2xl font-bold text-foreground",
1687
+ h4: "text-xl font-bold text-foreground",
1688
+ h5: "text-lg font-bold text-foreground",
1689
+ h6: "text-base font-bold text-foreground",
1690
+ heading: "text-2xl font-bold text-foreground",
1691
+ subheading: "text-lg font-semibold text-foreground",
1692
+ body1: "text-base font-normal text-foreground",
1693
+ body2: "text-sm font-normal text-foreground",
1694
+ body: "text-base font-normal text-foreground",
1695
+ caption: "text-xs font-normal text-muted-foreground",
1696
+ overline: "text-xs uppercase tracking-wide font-bold text-muted-foreground",
1697
+ small: "text-sm font-normal text-foreground",
1698
+ large: "text-lg font-medium text-foreground",
1699
+ label: "text-sm font-medium text-foreground"
1700
1700
  };
1701
1701
  var colorStyles = {
1702
- primary: "text-[var(--color-foreground)]",
1703
- secondary: "text-[var(--color-muted-foreground)]",
1704
- muted: "text-[var(--color-muted-foreground)]",
1705
- error: "text-[var(--color-error)]",
1706
- success: "text-[var(--color-success)]",
1707
- warning: "text-[var(--color-warning)]",
1702
+ primary: "text-foreground",
1703
+ secondary: "text-muted-foreground",
1704
+ muted: "text-muted-foreground",
1705
+ error: "text-error",
1706
+ success: "text-success",
1707
+ warning: "text-warning",
1708
1708
  inherit: "text-inherit"
1709
1709
  };
1710
1710
  var weightStyles = {
@@ -2393,7 +2393,7 @@ var Modal = ({
2393
2393
  isDragging.current = false;
2394
2394
  setDragY(0);
2395
2395
  },
2396
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-10 h-1 rounded-full bg-[var(--color-border)]" })
2396
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-10 h-1 rounded-full bg-border" })
2397
2397
  }
2398
2398
  ),
2399
2399
  (title || showCloseButton) && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -2401,7 +2401,7 @@ var Modal = ({
2401
2401
  {
2402
2402
  className: cn(
2403
2403
  "px-6 py-4 flex items-center justify-between",
2404
- "border-b-[length:var(--border-width)] border-[var(--color-border)]"
2404
+ "border-b-[length:var(--border-width)] border-border"
2405
2405
  ),
2406
2406
  children: [
2407
2407
  title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", as: "h2", id: "modal-title", children: title }),
@@ -2412,8 +2412,8 @@ var Modal = ({
2412
2412
  onClick: handleClose,
2413
2413
  "data-event": "CLOSE",
2414
2414
  className: cn(
2415
- "p-1 transition-colors rounded-[var(--radius-sm)]",
2416
- "hover:bg-[var(--color-muted)]"
2415
+ "p-1 transition-colors rounded-sm",
2416
+ "hover:bg-muted"
2417
2417
  ),
2418
2418
  "aria-label": "Close modal",
2419
2419
  children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.X, size: "md" })
@@ -2427,8 +2427,8 @@ var Modal = ({
2427
2427
  "div",
2428
2428
  {
2429
2429
  className: cn(
2430
- "px-6 py-4 bg-[var(--color-muted)]",
2431
- "border-t-[length:var(--border-width)] border-[var(--color-border)]"
2430
+ "px-6 py-4 bg-muted",
2431
+ "border-t-[length:var(--border-width)] border-border"
2432
2432
  ),
2433
2433
  children: footer
2434
2434
  }
@@ -2549,7 +2549,7 @@ var Drawer = ({
2549
2549
  {
2550
2550
  className: cn(
2551
2551
  "px-6 py-4 flex items-center justify-between shrink-0",
2552
- "border-b-[length:var(--border-width)] border-[var(--color-border)]"
2552
+ "border-b-[length:var(--border-width)] border-border"
2553
2553
  ),
2554
2554
  children: [
2555
2555
  title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", as: "h2", id: "drawer-title", children: title }),
@@ -2559,8 +2559,8 @@ var Drawer = ({
2559
2559
  type: "button",
2560
2560
  onClick: handleClose,
2561
2561
  className: cn(
2562
- "p-1 transition-colors rounded-[var(--radius-sm)]",
2563
- "hover:bg-[var(--color-muted)]",
2562
+ "p-1 transition-colors rounded-sm",
2563
+ "hover:bg-muted",
2564
2564
  !title && "ml-auto"
2565
2565
  ),
2566
2566
  "aria-label": "Close drawer",
@@ -2575,8 +2575,8 @@ var Drawer = ({
2575
2575
  "div",
2576
2576
  {
2577
2577
  className: cn(
2578
- "px-6 py-4 shrink-0 bg-[var(--color-muted)]",
2579
- "border-t-[length:var(--border-width)] border-[var(--color-border)]"
2578
+ "px-6 py-4 shrink-0 bg-muted",
2579
+ "border-t-[length:var(--border-width)] border-border"
2580
2580
  ),
2581
2581
  children: footer
2582
2582
  }
@@ -2613,49 +2613,49 @@ var Drawer = ({
2613
2613
  Drawer.displayName = "Drawer";
2614
2614
  var variantStyles2 = {
2615
2615
  primary: [
2616
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
2616
+ "bg-primary text-primary-foreground",
2617
2617
  "border-none",
2618
- "shadow-[var(--shadow-sm)]",
2619
- "hover:bg-[var(--color-primary-hover)] hover:shadow-[var(--shadow-hover)]",
2620
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2618
+ "shadow-sm",
2619
+ "hover:bg-primary-hover hover:shadow-lg",
2620
+ "active:scale-[var(--active-scale)] active:shadow-sm"
2621
2621
  ].join(" "),
2622
2622
  secondary: [
2623
- "bg-transparent text-[var(--color-accent)]",
2624
- "border border-[var(--color-accent)]",
2625
- "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
2623
+ "bg-transparent text-accent",
2624
+ "border border-accent",
2625
+ "hover:bg-accent hover:text-white hover:border-accent",
2626
2626
  "active:scale-[var(--active-scale)]"
2627
2627
  ].join(" "),
2628
2628
  ghost: [
2629
- "bg-transparent text-[var(--color-muted-foreground)]",
2630
- "hover:text-[var(--color-foreground)] hover:bg-[var(--color-muted)]",
2629
+ "bg-transparent text-muted-foreground",
2630
+ "hover:text-foreground hover:bg-muted",
2631
2631
  "active:scale-[var(--active-scale)]"
2632
2632
  ].join(" "),
2633
2633
  danger: [
2634
- "bg-[var(--color-surface)] text-[var(--color-error)]",
2635
- "border-[length:var(--border-width)] border-[var(--color-error)]",
2636
- "shadow-[var(--shadow-sm)]",
2637
- "hover:bg-[var(--color-error)] hover:text-[var(--color-error-foreground)] hover:shadow-[var(--shadow-hover)]",
2638
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2634
+ "bg-surface text-error",
2635
+ "border-[length:var(--border-width)] border-error",
2636
+ "shadow-sm",
2637
+ "hover:bg-error hover:text-error-foreground hover:shadow-lg",
2638
+ "active:scale-[var(--active-scale)] active:shadow-sm"
2639
2639
  ].join(" "),
2640
2640
  success: [
2641
- "bg-[var(--color-surface)] text-[var(--color-success)]",
2642
- "border-[length:var(--border-width)] border-[var(--color-success)]",
2643
- "shadow-[var(--shadow-sm)]",
2644
- "hover:bg-[var(--color-success)] hover:text-[var(--color-success-foreground)] hover:shadow-[var(--shadow-hover)]",
2645
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2641
+ "bg-surface text-success",
2642
+ "border-[length:var(--border-width)] border-success",
2643
+ "shadow-sm",
2644
+ "hover:bg-success hover:text-success-foreground hover:shadow-lg",
2645
+ "active:scale-[var(--active-scale)] active:shadow-sm"
2646
2646
  ].join(" "),
2647
2647
  warning: [
2648
- "bg-[var(--color-surface)] text-[var(--color-warning)]",
2649
- "border-[length:var(--border-width)] border-[var(--color-warning)]",
2650
- "shadow-[var(--shadow-sm)]",
2651
- "hover:bg-[var(--color-warning)] hover:text-[var(--color-warning-foreground)] hover:shadow-[var(--shadow-hover)]",
2652
- "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2648
+ "bg-surface text-warning",
2649
+ "border-[length:var(--border-width)] border-warning",
2650
+ "shadow-sm",
2651
+ "hover:bg-warning hover:text-warning-foreground hover:shadow-lg",
2652
+ "active:scale-[var(--active-scale)] active:shadow-sm"
2653
2653
  ].join(" "),
2654
2654
  // "default" is an alias for secondary
2655
2655
  default: [
2656
- "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
2657
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
2658
- "hover:bg-[var(--color-secondary-hover)]",
2656
+ "bg-secondary text-secondary-foreground",
2657
+ "border-[length:var(--border-width-thin)] border-border",
2658
+ "hover:bg-secondary-hover",
2659
2659
  "active:scale-[var(--active-scale)]"
2660
2660
  ].join(" ")
2661
2661
  };
@@ -2726,10 +2726,10 @@ var Button = React114__namespace.default.forwardRef(
2726
2726
  className: cn(
2727
2727
  "inline-flex items-center justify-center gap-2",
2728
2728
  "font-[var(--font-weight-medium)]",
2729
- "rounded-[var(--radius-sm)]",
2729
+ "rounded-sm",
2730
2730
  "cursor-pointer",
2731
2731
  "transition-all duration-[var(--transition-normal)]",
2732
- "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
2732
+ "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
2733
2733
  "disabled:opacity-50 disabled:cursor-not-allowed",
2734
2734
  variantStyles2[variant],
2735
2735
  sizeStyles2[size],
@@ -2750,34 +2750,34 @@ var Button = React114__namespace.default.forwardRef(
2750
2750
  Button.displayName = "Button";
2751
2751
  var variantStyles3 = {
2752
2752
  default: [
2753
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
2754
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]"
2753
+ "bg-muted text-foreground",
2754
+ "border-[length:var(--border-width-thin)] border-border"
2755
2755
  ].join(" "),
2756
- primary: "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
2757
- secondary: "bg-[var(--color-secondary)] text-[var(--color-secondary-foreground)]",
2756
+ primary: "bg-primary text-primary-foreground",
2757
+ secondary: "bg-secondary text-secondary-foreground",
2758
2758
  success: [
2759
- "bg-[var(--color-surface)] text-[var(--color-success)]",
2760
- "border-[length:var(--border-width)] border-[var(--color-success)]"
2759
+ "bg-surface text-success",
2760
+ "border-[length:var(--border-width)] border-success"
2761
2761
  ].join(" "),
2762
2762
  warning: [
2763
- "bg-[var(--color-surface)] text-[var(--color-warning)]",
2764
- "border-[length:var(--border-width)] border-[var(--color-warning)]"
2763
+ "bg-surface text-warning",
2764
+ "border-[length:var(--border-width)] border-warning"
2765
2765
  ].join(" "),
2766
2766
  danger: [
2767
- "bg-[var(--color-surface)] text-[var(--color-error)]",
2768
- "border-[length:var(--border-width)] border-[var(--color-error)]"
2767
+ "bg-surface text-error",
2768
+ "border-[length:var(--border-width)] border-error"
2769
2769
  ].join(" "),
2770
2770
  error: [
2771
- "bg-[var(--color-surface)] text-[var(--color-error)]",
2772
- "border-[length:var(--border-width)] border-[var(--color-error)]"
2771
+ "bg-surface text-error",
2772
+ "border-[length:var(--border-width)] border-error"
2773
2773
  ].join(" "),
2774
2774
  info: [
2775
- "bg-[var(--color-surface)] text-[var(--color-info)]",
2776
- "border-[length:var(--border-width)] border-[var(--color-info)]"
2775
+ "bg-surface text-info",
2776
+ "border-[length:var(--border-width)] border-info"
2777
2777
  ].join(" "),
2778
2778
  neutral: [
2779
- "bg-[var(--color-muted)] text-[var(--color-muted-foreground)]",
2780
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]"
2779
+ "bg-muted text-muted-foreground",
2780
+ "border-[length:var(--border-width-thin)] border-border"
2781
2781
  ].join(" ")
2782
2782
  };
2783
2783
  var sizeStyles3 = {
@@ -2797,7 +2797,7 @@ var Badge = React114__namespace.default.forwardRef(
2797
2797
  {
2798
2798
  ref,
2799
2799
  className: cn(
2800
- "inline-flex items-center gap-1 font-bold rounded-[var(--radius-sm)]",
2800
+ "inline-flex items-center gap-1 font-bold rounded-sm",
2801
2801
  variantStyles3[variant],
2802
2802
  sizeStyles3[size],
2803
2803
  className
@@ -2813,10 +2813,10 @@ var Badge = React114__namespace.default.forwardRef(
2813
2813
  );
2814
2814
  Badge.displayName = "Badge";
2815
2815
  var variantClasses = {
2816
- success: "bg-[var(--color-card)] border-[length:var(--border-width)] border-[var(--color-success)]",
2817
- error: "bg-[var(--color-card)] border-[length:var(--border-width)] border-[var(--color-error)]",
2818
- info: "bg-[var(--color-card)] border-[length:var(--border-width)] border-[var(--color-info)]",
2819
- warning: "bg-[var(--color-card)] border-[length:var(--border-width)] border-[var(--color-warning)]"
2816
+ success: "bg-card border-[length:var(--border-width)] border-success",
2817
+ error: "bg-card border-[length:var(--border-width)] border-error",
2818
+ info: "bg-card border-[length:var(--border-width)] border-info",
2819
+ warning: "bg-card border-[length:var(--border-width)] border-warning"
2820
2820
  };
2821
2821
  var iconMap = {
2822
2822
  success: LucideIcons.CheckCircle,
@@ -2825,10 +2825,10 @@ var iconMap = {
2825
2825
  warning: LucideIcons.AlertTriangle
2826
2826
  };
2827
2827
  var iconColors = {
2828
- success: "text-[var(--color-success)]",
2829
- error: "text-[var(--color-error)]",
2830
- info: "text-[var(--color-info)]",
2831
- warning: "text-[var(--color-warning)]"
2828
+ success: "text-success",
2829
+ error: "text-error",
2830
+ info: "text-info",
2831
+ warning: "text-warning"
2832
2832
  };
2833
2833
  var Toast = ({
2834
2834
  variant = "info",
@@ -2866,8 +2866,8 @@ var Toast = ({
2866
2866
  "div",
2867
2867
  {
2868
2868
  className: cn(
2869
- "border-l-4 p-4 shadow-[var(--shadow-main)] min-w-[300px] max-w-md",
2870
- "rounded-[var(--radius-sm)]",
2869
+ "border-l-4 p-4 shadow min-w-[300px] max-w-md",
2870
+ "rounded-sm",
2871
2871
  variantClasses[variant],
2872
2872
  className
2873
2873
  ),
@@ -2894,9 +2894,9 @@ var Toast = ({
2894
2894
  type: "button",
2895
2895
  onClick: handleDismiss,
2896
2896
  className: cn(
2897
- "flex-shrink-0 p-1 transition-colors rounded-[var(--radius-sm)]",
2898
- "hover:bg-[var(--color-muted)]",
2899
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2"
2897
+ "flex-shrink-0 p-1 transition-colors rounded-sm",
2898
+ "hover:bg-muted",
2899
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
2900
2900
  ),
2901
2901
  "aria-label": "Dismiss toast",
2902
2902
  children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.X, size: "sm" })
@@ -2929,21 +2929,21 @@ var Input = React114__namespace.default.forwardRef(
2929
2929
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "h-4 w-4" });
2930
2930
  const showClearButton = clearable && value && String(value).length > 0;
2931
2931
  const baseClassName = cn(
2932
- "block w-full rounded-[var(--radius-sm)] transition-all duration-[var(--transition-fast)]",
2933
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
2932
+ "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
2933
+ "border-[length:var(--border-width-thin)] border-border",
2934
2934
  "px-3 py-2 text-sm",
2935
- "bg-[var(--color-card)] hover:bg-[var(--color-muted)] focus:bg-[var(--color-card)]",
2936
- "text-[var(--color-foreground)] placeholder:text-[var(--color-muted-foreground)]",
2937
- "focus:outline-none focus:ring-1 focus:ring-[var(--color-ring)] focus:border-[var(--color-ring)]",
2938
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-muted)]",
2939
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)] focus:ring-[var(--color-error)]" : "",
2935
+ "bg-card hover:bg-muted focus:bg-card",
2936
+ "text-foreground placeholder:text-muted-foreground",
2937
+ "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
2938
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-muted",
2939
+ error ? "border-error focus:border-error focus:ring-error" : "",
2940
2940
  resolvedLeftIcon && "pl-10",
2941
2941
  (rightIcon || showClearButton) && "pr-10",
2942
2942
  className
2943
2943
  );
2944
2944
  if (type === "select") {
2945
2945
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
2946
- resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
2946
+ resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
2947
2947
  /* @__PURE__ */ jsxRuntime.jsxs(
2948
2948
  "select",
2949
2949
  {
@@ -2958,7 +2958,7 @@ var Input = React114__namespace.default.forwardRef(
2958
2958
  ]
2959
2959
  }
2960
2960
  ),
2961
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4" }) })
2961
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4" }) })
2962
2962
  ] });
2963
2963
  }
2964
2964
  if (type === "textarea") {
@@ -2983,9 +2983,9 @@ var Input = React114__namespace.default.forwardRef(
2983
2983
  checked: props.checked,
2984
2984
  onChange,
2985
2985
  className: cn(
2986
- "h-4 w-4 rounded-[var(--radius-sm)]",
2987
- "border-[var(--color-border)]",
2988
- "text-[var(--color-primary)] focus:ring-[var(--color-ring)]",
2986
+ "h-4 w-4 rounded-sm",
2987
+ "border-border",
2988
+ "text-primary focus:ring-ring",
2989
2989
  "disabled:opacity-50 disabled:cursor-not-allowed",
2990
2990
  className
2991
2991
  ),
@@ -2994,7 +2994,7 @@ var Input = React114__namespace.default.forwardRef(
2994
2994
  );
2995
2995
  }
2996
2996
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
2997
- resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-[var(--color-muted-foreground)]", children: resolvedLeftIcon }),
2997
+ resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-muted-foreground", children: resolvedLeftIcon }),
2998
2998
  /* @__PURE__ */ jsxRuntime.jsx(
2999
2999
  "input",
3000
3000
  {
@@ -3011,11 +3011,11 @@ var Input = React114__namespace.default.forwardRef(
3011
3011
  {
3012
3012
  type: "button",
3013
3013
  onClick: onClear,
3014
- className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
3014
+ className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground hover:text-foreground",
3015
3015
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4" })
3016
3016
  }
3017
3017
  ),
3018
- rightIcon && !showClearButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-[var(--color-muted-foreground)]", children: rightIcon })
3018
+ rightIcon && !showClearButton && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground", children: rightIcon })
3019
3019
  ] });
3020
3020
  }
3021
3021
  );
@@ -3027,13 +3027,13 @@ var Label = React114__namespace.default.forwardRef(
3027
3027
  {
3028
3028
  ref,
3029
3029
  className: cn(
3030
- "block text-sm font-bold text-[var(--color-foreground)]",
3030
+ "block text-sm font-bold text-foreground",
3031
3031
  className
3032
3032
  ),
3033
3033
  ...props,
3034
3034
  children: [
3035
3035
  children,
3036
- required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[var(--color-error)] ml-1", children: "*" })
3036
+ required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-error ml-1", children: "*" })
3037
3037
  ]
3038
3038
  }
3039
3039
  );
@@ -3047,14 +3047,14 @@ var Textarea = React114__namespace.default.forwardRef(
3047
3047
  {
3048
3048
  ref,
3049
3049
  className: cn(
3050
- "block w-full border-[length:var(--border-width)] shadow-[var(--shadow-sm)]",
3051
- "px-3 py-2 text-sm text-[var(--color-foreground)]",
3052
- "bg-[var(--color-card)]",
3050
+ "block w-full border-[length:var(--border-width)] shadow-sm",
3051
+ "px-3 py-2 text-sm text-foreground",
3052
+ "bg-card",
3053
3053
  "placeholder:text-[var(--color-placeholder)]",
3054
- "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-[var(--color-ring)]",
3055
- "disabled:bg-[var(--color-muted)] disabled:text-[var(--color-muted-foreground)] disabled:cursor-not-allowed",
3054
+ "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
3055
+ "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
3056
3056
  "resize-y min-h-[80px]",
3057
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)]" : "border-[var(--color-border)] focus:border-[var(--color-primary)]",
3057
+ error ? "border-error focus:border-error" : "border-border focus:border-primary",
3058
3058
  className
3059
3059
  ),
3060
3060
  ...props
@@ -3071,12 +3071,12 @@ var Select = React114__namespace.default.forwardRef(
3071
3071
  {
3072
3072
  ref,
3073
3073
  className: cn(
3074
- "block w-full border-[length:var(--border-width)] shadow-[var(--shadow-sm)] appearance-none",
3075
- "px-3 py-2 pr-10 text-sm text-[var(--color-foreground)] font-medium",
3076
- "bg-[var(--color-card)]",
3077
- "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-[var(--color-ring)]",
3078
- "disabled:bg-[var(--color-muted)] disabled:text-[var(--color-muted-foreground)] disabled:cursor-not-allowed",
3079
- error ? "border-[var(--color-error)] focus:border-[var(--color-error)]" : "border-[var(--color-border)] focus:border-[var(--color-primary)]",
3074
+ "block w-full border-[length:var(--border-width)] shadow-sm appearance-none",
3075
+ "px-3 py-2 pr-10 text-sm text-foreground font-medium",
3076
+ "bg-card",
3077
+ "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
3078
+ "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
3079
+ error ? "border-error focus:border-error" : "border-border focus:border-primary",
3080
3080
  className
3081
3081
  ),
3082
3082
  ...props,
@@ -3094,7 +3094,7 @@ var Select = React114__namespace.default.forwardRef(
3094
3094
  ]
3095
3095
  }
3096
3096
  ),
3097
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4 text-[var(--color-foreground)]" }) })
3097
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-4 w-4 text-foreground" }) })
3098
3098
  ] });
3099
3099
  }
3100
3100
  );
@@ -3110,9 +3110,9 @@ var Checkbox = React114__namespace.default.forwardRef(
3110
3110
  type: "checkbox",
3111
3111
  id: inputId,
3112
3112
  className: cn(
3113
- "peer h-4 w-4 border-[length:var(--border-width)] border-[var(--color-border)]",
3114
- "accent-[var(--color-primary)] focus:ring-[var(--color-ring)] focus:ring-offset-0",
3115
- "bg-[var(--color-card)] checked:bg-[var(--color-primary)]",
3113
+ "peer h-4 w-4 border-[length:var(--border-width)] border-border",
3114
+ "accent-primary focus:ring-ring focus:ring-offset-0",
3115
+ "bg-card checked:bg-primary",
3116
3116
  "disabled:opacity-50 disabled:cursor-not-allowed",
3117
3117
  className
3118
3118
  ),
@@ -3123,7 +3123,7 @@ var Checkbox = React114__namespace.default.forwardRef(
3123
3123
  "label",
3124
3124
  {
3125
3125
  htmlFor: inputId,
3126
- className: "ml-2 text-sm text-[var(--color-foreground)] font-medium cursor-pointer select-none",
3126
+ className: "ml-2 text-sm text-foreground font-medium cursor-pointer select-none",
3127
3127
  children: label
3128
3128
  }
3129
3129
  )
@@ -3133,34 +3133,34 @@ var Checkbox = React114__namespace.default.forwardRef(
3133
3133
  Checkbox.displayName = "Checkbox";
3134
3134
  var variantStyles4 = {
3135
3135
  default: [
3136
- "bg-[var(--color-card)]",
3137
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3138
- "shadow-[var(--shadow-sm)]",
3136
+ "bg-card",
3137
+ "border-[length:var(--border-width)] border-border",
3138
+ "shadow-sm",
3139
3139
  "transition-all duration-[var(--transition-normal)]",
3140
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3140
+ "hover:shadow-lg hover:-translate-y-0.5"
3141
3141
  ].join(" "),
3142
3142
  bordered: [
3143
- "bg-[var(--color-card)]",
3144
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3145
- "shadow-[var(--shadow-sm)]",
3143
+ "bg-card",
3144
+ "border-[length:var(--border-width)] border-border",
3145
+ "shadow-sm",
3146
3146
  "transition-all duration-[var(--transition-normal)]",
3147
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3147
+ "hover:shadow-lg hover:-translate-y-0.5"
3148
3148
  ].join(" "),
3149
3149
  elevated: [
3150
- "bg-[var(--color-card)]",
3151
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3152
- "shadow-[var(--shadow-main)]",
3150
+ "bg-card",
3151
+ "border-[length:var(--border-width)] border-border",
3152
+ "shadow",
3153
3153
  "transition-all duration-[var(--transition-normal)]",
3154
- "hover:shadow-[var(--shadow-hover)] hover:-translate-y-0.5"
3154
+ "hover:shadow-lg hover:-translate-y-0.5"
3155
3155
  ].join(" "),
3156
3156
  // Interactive variant with theme-specific hover effects
3157
3157
  interactive: [
3158
- "bg-[var(--color-card)]",
3159
- "border-[length:var(--border-width)] border-[var(--color-border)]",
3160
- "shadow-[var(--shadow-main)]",
3158
+ "bg-card",
3159
+ "border-[length:var(--border-width)] border-border",
3160
+ "shadow",
3161
3161
  "cursor-pointer",
3162
3162
  "transition-all duration-[var(--transition-normal)]",
3163
- "hover:shadow-[var(--shadow-hover)]"
3163
+ "hover:shadow-lg"
3164
3164
  ].join(" ")
3165
3165
  };
3166
3166
  var paddingStyles2 = {
@@ -3171,9 +3171,9 @@ var paddingStyles2 = {
3171
3171
  };
3172
3172
  var shadowStyles2 = {
3173
3173
  none: "shadow-none",
3174
- sm: "shadow-[var(--shadow-sm)]",
3175
- md: "shadow-[var(--shadow-main)]",
3176
- lg: "shadow-[var(--shadow-lg)]"
3174
+ sm: "shadow-sm",
3175
+ md: "shadow",
3176
+ lg: "shadow-lg"
3177
3177
  };
3178
3178
  var Card = React114__namespace.default.forwardRef(
3179
3179
  ({
@@ -3191,7 +3191,7 @@ var Card = React114__namespace.default.forwardRef(
3191
3191
  {
3192
3192
  ref,
3193
3193
  className: cn(
3194
- "rounded-[var(--radius-md)]",
3194
+ "rounded-md",
3195
3195
  "transition-all duration-[var(--transition-normal)]",
3196
3196
  variantStyles4[variant],
3197
3197
  paddingStyles2[padding],
@@ -3201,8 +3201,8 @@ var Card = React114__namespace.default.forwardRef(
3201
3201
  ...props,
3202
3202
  children: [
3203
3203
  (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
3204
- title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-[var(--color-card-foreground)] font-[var(--font-weight-bold)]", children: title }),
3205
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-[var(--color-muted-foreground)] mt-1", children: subtitle })
3204
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
3205
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
3206
3206
  ] }),
3207
3207
  children
3208
3208
  ]
@@ -3218,7 +3218,7 @@ var CardTitle = React114__namespace.default.forwardRef(({ className, ...props },
3218
3218
  {
3219
3219
  ref,
3220
3220
  className: cn(
3221
- "text-lg text-[var(--color-card-foreground)]",
3221
+ "text-lg text-card-foreground",
3222
3222
  "font-[var(--font-weight-bold)]",
3223
3223
  className
3224
3224
  ),
@@ -3251,7 +3251,7 @@ var Spinner = React114__namespace.default.forwardRef(
3251
3251
  "div",
3252
3252
  {
3253
3253
  ref,
3254
- className: cn("text-[var(--color-foreground)]", className),
3254
+ className: cn("text-foreground", className),
3255
3255
  ...props,
3256
3256
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Loader2, { className: cn("animate-spin", sizeStyles4[size]) })
3257
3257
  }
@@ -3281,10 +3281,10 @@ var statusSizeClasses = {
3281
3281
  xl: "w-4 h-4"
3282
3282
  };
3283
3283
  var statusClasses = {
3284
- online: "bg-[var(--color-success)]",
3285
- offline: "bg-[var(--color-muted-foreground)]",
3286
- away: "bg-[var(--color-warning)]",
3287
- busy: "bg-[var(--color-error)]"
3284
+ online: "bg-success",
3285
+ offline: "bg-muted-foreground",
3286
+ away: "bg-warning",
3287
+ busy: "bg-error"
3288
3288
  };
3289
3289
  var badgeSizeClasses = {
3290
3290
  xs: "w-3 h-3 text-[8px]",
@@ -3319,7 +3319,7 @@ var Avatar = ({
3319
3319
  const hasImage = !!src;
3320
3320
  const hasInitials = !!initials;
3321
3321
  const hasIcon = !!Icon3;
3322
- const getInitialsBackground = () => "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]";
3322
+ const getInitialsBackground = () => "bg-primary text-primary-foreground";
3323
3323
  const isClickable = action || onClick;
3324
3324
  const handleClick = () => {
3325
3325
  if (action) {
@@ -3333,7 +3333,7 @@ var Avatar = ({
3333
3333
  {
3334
3334
  className: cn(
3335
3335
  "relative inline-flex items-center justify-center",
3336
- "bg-[var(--color-muted)] border-[length:var(--border-width)] border-[var(--color-border)]",
3336
+ "bg-muted border-[length:var(--border-width)] border-border",
3337
3337
  "overflow-hidden",
3338
3338
  sizeClasses3[size],
3339
3339
  isClickable && "cursor-pointer hover:bg-[var(--color-surface-hover)] transition-colors",
@@ -3366,7 +3366,7 @@ var Avatar = ({
3366
3366
  Icon3,
3367
3367
  {
3368
3368
  className: cn(
3369
- "text-[var(--color-foreground)]",
3369
+ "text-foreground",
3370
3370
  iconSizeClasses[size]
3371
3371
  )
3372
3372
  }
@@ -3374,7 +3374,7 @@ var Avatar = ({
3374
3374
  LucideIcons.User,
3375
3375
  {
3376
3376
  className: cn(
3377
- "text-[var(--color-foreground)]",
3377
+ "text-foreground",
3378
3378
  iconSizeClasses[size]
3379
3379
  )
3380
3380
  }
@@ -3385,7 +3385,7 @@ var Avatar = ({
3385
3385
  "div",
3386
3386
  {
3387
3387
  className: cn(
3388
- "absolute bottom-0 right-0 border-2 border-[var(--color-card)]",
3388
+ "absolute bottom-0 right-0 border-2 border-card",
3389
3389
  statusClasses[status],
3390
3390
  statusSizeClasses[size]
3391
3391
  ),
@@ -3397,8 +3397,8 @@ var Avatar = ({
3397
3397
  {
3398
3398
  className: cn(
3399
3399
  "absolute -top-1 -right-1 flex items-center justify-center",
3400
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)] font-bold",
3401
- "border-2 border-[var(--color-card)]",
3400
+ "bg-primary text-primary-foreground font-bold",
3401
+ "border-2 border-card",
3402
3402
  badgeSizeClasses[size]
3403
3403
  ),
3404
3404
  "aria-label": `Badge: ${badge}`,
@@ -3454,7 +3454,7 @@ var Divider = ({
3454
3454
  "div",
3455
3455
  {
3456
3456
  className: cn(
3457
- "w-0 h-full border-l border-[var(--color-border)]",
3457
+ "w-0 h-full border-l border-border",
3458
3458
  variantStyles5[variant],
3459
3459
  className
3460
3460
  ),
@@ -3475,17 +3475,17 @@ var Divider = ({
3475
3475
  "div",
3476
3476
  {
3477
3477
  className: cn(
3478
- "flex-1 h-0 border-t border-[var(--color-border)]",
3478
+ "flex-1 h-0 border-t border-border",
3479
3479
  variantStyles5[variant]
3480
3480
  )
3481
3481
  }
3482
3482
  ),
3483
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-[var(--color-foreground)] font-bold uppercase tracking-wide", children: label }),
3483
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-foreground font-bold uppercase tracking-wide", children: label }),
3484
3484
  /* @__PURE__ */ jsxRuntime.jsx(
3485
3485
  "div",
3486
3486
  {
3487
3487
  className: cn(
3488
- "flex-1 h-0 border-t border-[var(--color-border)]",
3488
+ "flex-1 h-0 border-t border-border",
3489
3489
  variantStyles5[variant]
3490
3490
  )
3491
3491
  }
@@ -3498,7 +3498,7 @@ var Divider = ({
3498
3498
  "div",
3499
3499
  {
3500
3500
  className: cn(
3501
- "w-full h-0 border-t border-[var(--color-border)] my-4",
3501
+ "w-full h-0 border-t border-border my-4",
3502
3502
  variantStyles5[variant],
3503
3503
  className
3504
3504
  ),
@@ -3509,11 +3509,11 @@ var Divider = ({
3509
3509
  };
3510
3510
  Divider.displayName = "Divider";
3511
3511
  var colorClasses = {
3512
- default: "bg-[var(--color-primary)]",
3513
- primary: "bg-[var(--color-primary)]",
3514
- success: "bg-[var(--color-success)]",
3515
- warning: "bg-[var(--color-warning)]",
3516
- danger: "bg-[var(--color-error)]"
3512
+ default: "bg-primary",
3513
+ primary: "bg-primary",
3514
+ success: "bg-success",
3515
+ warning: "bg-warning",
3516
+ danger: "bg-error"
3517
3517
  };
3518
3518
  var circularSizeClasses = {
3519
3519
  sm: "w-16 h-16",
@@ -3539,13 +3539,13 @@ var ProgressBar = ({
3539
3539
  if (progressType === "linear") {
3540
3540
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full", className), children: [
3541
3541
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-1.5", children: [
3542
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold text-[var(--color-foreground)]", children: label }),
3543
- effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-[var(--color-foreground)] font-medium", children: [
3542
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold text-foreground", children: label }),
3543
+ effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-foreground font-medium", children: [
3544
3544
  Math.round(percentage),
3545
3545
  "%"
3546
3546
  ] })
3547
3547
  ] }),
3548
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-2 bg-[var(--color-muted)] border border-[var(--color-border)] overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
3548
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-2 bg-muted border border-border overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
3549
3549
  "div",
3550
3550
  {
3551
3551
  className: cn(
@@ -3589,7 +3589,7 @@ var ProgressBar = ({
3589
3589
  stroke: "currentColor",
3590
3590
  strokeWidth: "8",
3591
3591
  fill: "none",
3592
- className: "text-[var(--color-muted)]"
3592
+ className: "text-muted"
3593
3593
  }
3594
3594
  ),
3595
3595
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3613,7 +3613,7 @@ var ProgressBar = ({
3613
3613
  ]
3614
3614
  }
3615
3615
  ),
3616
- effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-bold text-[var(--color-foreground)]", children: [
3616
+ effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-bold text-foreground", children: [
3617
3617
  Math.round(percentage),
3618
3618
  "%"
3619
3619
  ] }) })
@@ -3627,8 +3627,8 @@ var ProgressBar = ({
3627
3627
  const partialStep = value % stepValue / stepValue;
3628
3628
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full", className), children: [
3629
3629
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
3630
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-[var(--color-foreground)]", children: label }),
3631
- effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-[var(--color-muted-foreground)]", children: [
3630
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: label }),
3631
+ effectiveShowPercentage && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-muted-foreground", children: [
3632
3632
  Math.round(percentage),
3633
3633
  "%"
3634
3634
  ] })
@@ -3639,7 +3639,7 @@ var ProgressBar = ({
3639
3639
  return /* @__PURE__ */ jsxRuntime.jsx(
3640
3640
  "div",
3641
3641
  {
3642
- className: "flex-1 h-2 bg-[var(--color-muted)] border border-[var(--color-border)] overflow-hidden",
3642
+ className: "flex-1 h-2 bg-muted border border-border overflow-hidden",
3643
3643
  children: /* @__PURE__ */ jsxRuntime.jsx(
3644
3644
  "div",
3645
3645
  {
@@ -3710,8 +3710,8 @@ var Radio = React114__namespace.default.forwardRef(
3710
3710
  "flex items-center justify-center",
3711
3711
  "border-[length:var(--border-width)] transition-all cursor-pointer",
3712
3712
  sizeClasses6[size],
3713
- hasError ? "border-[var(--color-error)] peer-focus:ring-[var(--color-error)]/20" : "border-[var(--color-border)] peer-focus:ring-[var(--color-ring)]/20",
3714
- checked ? hasError ? "border-[var(--color-error)]" : "border-[var(--color-primary)] bg-[var(--color-primary)]" : "",
3713
+ hasError ? "border-error peer-focus:ring-error/20" : "border-border peer-focus:ring-ring/20",
3714
+ checked ? hasError ? "border-error" : "border-primary bg-primary" : "",
3715
3715
  "peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-offset-2",
3716
3716
  disabled && "opacity-50 cursor-not-allowed",
3717
3717
  !disabled && "hover:border-[var(--color-border-hover)]"
@@ -3722,7 +3722,7 @@ var Radio = React114__namespace.default.forwardRef(
3722
3722
  className: cn(
3723
3723
  "transition-all",
3724
3724
  dotSizeClasses[size],
3725
- hasError ? "bg-[var(--color-error)]" : "bg-[var(--color-primary-foreground)]"
3725
+ hasError ? "bg-error" : "bg-primary-foreground"
3726
3726
  )
3727
3727
  }
3728
3728
  )
@@ -3735,7 +3735,7 @@ var Radio = React114__namespace.default.forwardRef(
3735
3735
  htmlFor: radioId,
3736
3736
  className: cn(
3737
3737
  "block text-sm font-medium cursor-pointer select-none",
3738
- hasError ? "text-[var(--color-error)]" : "text-[var(--color-foreground)]",
3738
+ hasError ? "text-error" : "text-foreground",
3739
3739
  disabled && "opacity-50 cursor-not-allowed"
3740
3740
  ),
3741
3741
  children: label
@@ -3747,7 +3747,7 @@ var Radio = React114__namespace.default.forwardRef(
3747
3747
  "p",
3748
3748
  {
3749
3749
  id: `${radioId}-error`,
3750
- className: "text-sm text-[var(--color-error)] font-medium",
3750
+ className: "text-sm text-error font-medium",
3751
3751
  role: "alert",
3752
3752
  children: error
3753
3753
  }
@@ -3756,7 +3756,7 @@ var Radio = React114__namespace.default.forwardRef(
3756
3756
  "p",
3757
3757
  {
3758
3758
  id: `${radioId}-helper`,
3759
- className: "text-sm text-[var(--color-muted-foreground)]",
3759
+ className: "text-sm text-muted-foreground",
3760
3760
  children: helperText
3761
3761
  }
3762
3762
  )
@@ -3966,14 +3966,14 @@ var TextHighlight = ({
3966
3966
  const typeStyles2 = {
3967
3967
  question: cn(
3968
3968
  // Blue border for questions
3969
- "bg-[var(--color-card)] border-b-2 border-primary-600",
3970
- "hover:bg-[var(--color-muted)]",
3969
+ "bg-card border-b-2 border-primary-600",
3970
+ "hover:bg-muted",
3971
3971
  isActive && "bg-primary-100 ring-2 ring-primary-600"
3972
3972
  ),
3973
3973
  note: cn(
3974
3974
  // Yellow border for notes
3975
- "bg-[var(--color-card)] border-b-2 border-amber-500",
3976
- "hover:bg-[var(--color-muted)]",
3975
+ "bg-card border-b-2 border-amber-500",
3976
+ "hover:bg-muted",
3977
3977
  isActive && "bg-amber-100 ring-2 ring-amber-500"
3978
3978
  )
3979
3979
  };
@@ -4034,9 +4034,9 @@ var ThemeToggle = ({
4034
4034
  onClick: toggleMode,
4035
4035
  className: cn(
4036
4036
  "inline-flex items-center justify-center gap-2",
4037
- "text-[var(--color-foreground)]",
4038
- "hover:bg-[var(--color-muted)] border-[length:var(--border-width)] border-transparent hover:border-[var(--color-border)]",
4039
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2",
4037
+ "text-foreground",
4038
+ "hover:bg-muted border-[length:var(--border-width)] border-transparent hover:border-border",
4039
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
4040
4040
  "transition-colors duration-200",
4041
4041
  sizeClasses4[size],
4042
4042
  className
@@ -4047,12 +4047,12 @@ var ThemeToggle = ({
4047
4047
  isDark ? /* @__PURE__ */ jsxRuntime.jsx(
4048
4048
  LucideIcons.Sun,
4049
4049
  {
4050
- className: cn(iconSizes[size], "text-[var(--color-foreground)]")
4050
+ className: cn(iconSizes[size], "text-foreground")
4051
4051
  }
4052
4052
  ) : /* @__PURE__ */ jsxRuntime.jsx(
4053
4053
  LucideIcons.Moon,
4054
4054
  {
4055
- className: cn(iconSizes[size], "text-[var(--color-foreground)]")
4055
+ className: cn(iconSizes[size], "text-foreground")
4056
4056
  }
4057
4057
  ),
4058
4058
  showLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: isDark ? "Light" : "Dark" })
@@ -4133,10 +4133,10 @@ var positionStyles2 = {
4133
4133
  right: "left-full top-1/2 -translate-y-1/2 ml-2"
4134
4134
  };
4135
4135
  var arrowStyles = {
4136
- top: "top-full left-1/2 -translate-x-1/2 border-t-[var(--color-foreground)] border-l-transparent border-r-transparent border-b-transparent",
4137
- bottom: "bottom-full left-1/2 -translate-x-1/2 border-b-[var(--color-foreground)] border-l-transparent border-r-transparent border-t-transparent",
4138
- left: "left-full top-1/2 -translate-y-1/2 border-l-[var(--color-foreground)] border-t-transparent border-b-transparent border-r-transparent",
4139
- right: "right-full top-1/2 -translate-y-1/2 border-r-[var(--color-foreground)] border-t-transparent border-b-transparent border-l-transparent"
4136
+ top: "top-full left-1/2 -translate-x-1/2 border-t-foreground border-l-transparent border-r-transparent border-b-transparent",
4137
+ bottom: "bottom-full left-1/2 -translate-x-1/2 border-b-foreground border-l-transparent border-r-transparent border-t-transparent",
4138
+ left: "left-full top-1/2 -translate-y-1/2 border-l-foreground border-t-transparent border-b-transparent border-r-transparent",
4139
+ right: "right-full top-1/2 -translate-y-1/2 border-r-foreground border-t-transparent border-b-transparent border-l-transparent"
4140
4140
  };
4141
4141
  var LawReferenceTooltip = ({
4142
4142
  reference,
@@ -4180,7 +4180,7 @@ var LawReferenceTooltip = ({
4180
4180
  shadow: "lg",
4181
4181
  position: "absolute",
4182
4182
  className: cn(
4183
- "z-50 w-64 bg-[var(--color-foreground)] text-[var(--color-background)]",
4183
+ "z-50 w-64 bg-foreground text-background",
4184
4184
  positionStyles2[position]
4185
4185
  ),
4186
4186
  role: "tooltip",
@@ -4203,17 +4203,17 @@ var LawReferenceTooltip = ({
4203
4203
  Typography,
4204
4204
  {
4205
4205
  variant: "caption",
4206
- className: "text-[var(--color-muted-foreground)]",
4206
+ className: "text-muted-foreground",
4207
4207
  children: reference.lawName
4208
4208
  }
4209
4209
  ),
4210
4210
  reference.clause && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4211
- /* @__PURE__ */ jsxRuntime.jsx(Divider, { className: "border-[var(--color-border)]" }),
4211
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, { className: "border-border" }),
4212
4212
  /* @__PURE__ */ jsxRuntime.jsx(
4213
4213
  Typography,
4214
4214
  {
4215
4215
  variant: "caption",
4216
- className: "text-[var(--color-background)] leading-relaxed",
4216
+ className: "text-background leading-relaxed",
4217
4217
  children: reference.clause
4218
4218
  }
4219
4219
  )
@@ -4263,7 +4263,7 @@ function DayCell({
4263
4263
  Box,
4264
4264
  {
4265
4265
  className: cn(
4266
- "p-2 text-center cursor-pointer hover:bg-[var(--color-muted)] transition-colors",
4266
+ "p-2 text-center cursor-pointer hover:bg-muted transition-colors",
4267
4267
  isToday && "bg-blue-500/10",
4268
4268
  className
4269
4269
  ),
@@ -4275,7 +4275,7 @@ function DayCell({
4275
4275
  variant: "small",
4276
4276
  className: cn(
4277
4277
  "font-medium",
4278
- isToday ? "text-blue-600" : "text-[var(--color-muted-foreground)]"
4278
+ isToday ? "text-blue-600" : "text-muted-foreground"
4279
4279
  ),
4280
4280
  children: dayAbbr
4281
4281
  }
@@ -4311,8 +4311,8 @@ function TimeSlotCell({
4311
4311
  Box,
4312
4312
  {
4313
4313
  className: cn(
4314
- "p-1 min-h-[60px] cursor-pointer hover:bg-[var(--color-muted)] transition-colors",
4315
- isOccupied && "bg-[var(--color-muted)]/30",
4314
+ "p-1 min-h-[60px] cursor-pointer hover:bg-muted transition-colors",
4315
+ isOccupied && "bg-muted/30",
4316
4316
  className
4317
4317
  ),
4318
4318
  onClick: handleClick,
@@ -4322,20 +4322,20 @@ function TimeSlotCell({
4322
4322
  }
4323
4323
  TimeSlotCell.displayName = "TimeSlotCell";
4324
4324
  var statusColors = {
4325
- online: "bg-[var(--color-success)]",
4326
- offline: "bg-[var(--color-muted-foreground)]",
4327
- away: "bg-[var(--color-warning)]",
4328
- busy: "bg-[var(--color-error)]",
4329
- warning: "bg-[var(--color-warning)]",
4330
- critical: "bg-[var(--color-error)]"
4325
+ online: "bg-success",
4326
+ offline: "bg-muted-foreground",
4327
+ away: "bg-warning",
4328
+ busy: "bg-error",
4329
+ warning: "bg-warning",
4330
+ critical: "bg-error"
4331
4331
  };
4332
4332
  var pulseRingColors = {
4333
- online: "ring-[var(--color-success)]",
4334
- offline: "ring-[var(--color-muted-foreground)]",
4335
- away: "ring-[var(--color-warning)]",
4336
- busy: "ring-[var(--color-error)]",
4337
- warning: "ring-[var(--color-warning)]",
4338
- critical: "ring-[var(--color-error)]"
4333
+ online: "ring-success",
4334
+ offline: "ring-muted-foreground",
4335
+ away: "ring-warning",
4336
+ busy: "ring-error",
4337
+ warning: "ring-warning",
4338
+ critical: "ring-error"
4339
4339
  };
4340
4340
  var sizeStyles5 = {
4341
4341
  sm: "w-2 h-2",
@@ -4379,10 +4379,10 @@ function resolveDirection(value, direction) {
4379
4379
  return value > 0 ? "up" : "down";
4380
4380
  }
4381
4381
  function resolveColor(dir, invert) {
4382
- if (dir === "flat") return "text-[var(--color-muted-foreground)]";
4382
+ if (dir === "flat") return "text-muted-foreground";
4383
4383
  const isPositive = dir === "up";
4384
4384
  const isGood = invert ? !isPositive : isPositive;
4385
- return isGood ? "text-[var(--color-success)]" : "text-[var(--color-error)]";
4385
+ return isGood ? "text-success" : "text-error";
4386
4386
  }
4387
4387
  var iconMap2 = {
4388
4388
  up: LucideIcons.TrendingUp,
@@ -4500,7 +4500,7 @@ var RangeSlider = React114__namespace.default.forwardRef(
4500
4500
  "div",
4501
4501
  {
4502
4502
  className: cn(
4503
- "absolute inset-x-0 rounded-full bg-[var(--color-muted)]",
4503
+ "absolute inset-x-0 rounded-full bg-muted",
4504
4504
  trackSizes[size]
4505
4505
  ),
4506
4506
  style: { top: "50%", transform: "translateY(-50%)" }
@@ -4510,7 +4510,7 @@ var RangeSlider = React114__namespace.default.forwardRef(
4510
4510
  "div",
4511
4511
  {
4512
4512
  className: cn(
4513
- "absolute rounded-full bg-[var(--color-muted-foreground)] opacity-30",
4513
+ "absolute rounded-full bg-muted-foreground opacity-30",
4514
4514
  trackSizes[size]
4515
4515
  ),
4516
4516
  style: {
@@ -4525,7 +4525,7 @@ var RangeSlider = React114__namespace.default.forwardRef(
4525
4525
  "div",
4526
4526
  {
4527
4527
  className: cn(
4528
- "absolute rounded-full bg-[var(--color-primary)]",
4528
+ "absolute rounded-full bg-primary",
4529
4529
  trackSizes[size]
4530
4530
  ),
4531
4531
  style: {
@@ -4587,9 +4587,9 @@ var RangeSlider = React114__namespace.default.forwardRef(
4587
4587
  "div",
4588
4588
  {
4589
4589
  className: cn(
4590
- "absolute rounded-full bg-[var(--color-primary-foreground)]",
4591
- "border-2 border-[var(--color-primary)]",
4592
- "shadow-[var(--shadow-sm)]",
4590
+ "absolute rounded-full bg-primary-foreground",
4591
+ "border-2 border-primary",
4592
+ "shadow-sm",
4593
4593
  "pointer-events-none",
4594
4594
  "transition-transform duration-100",
4595
4595
  isDragging && "scale-110",
@@ -4607,7 +4607,7 @@ var RangeSlider = React114__namespace.default.forwardRef(
4607
4607
  {
4608
4608
  className: cn(
4609
4609
  "absolute -top-8 px-2 py-0.5 rounded",
4610
- "bg-[var(--color-foreground)] text-[var(--color-background)]",
4610
+ "bg-foreground text-background",
4611
4611
  "text-xs font-medium whitespace-nowrap",
4612
4612
  "pointer-events-none"
4613
4613
  ),
@@ -4624,7 +4624,7 @@ var RangeSlider = React114__namespace.default.forwardRef(
4624
4624
  return /* @__PURE__ */ jsxRuntime.jsx(
4625
4625
  "div",
4626
4626
  {
4627
- className: "absolute w-px h-1.5 bg-[var(--color-muted-foreground)]",
4627
+ className: "absolute w-px h-1.5 bg-muted-foreground",
4628
4628
  style: { left: `${tickPercent}%` }
4629
4629
  },
4630
4630
  i
@@ -4877,7 +4877,7 @@ var TypewriterText = ({
4877
4877
  !isComplete && /* @__PURE__ */ jsxRuntime.jsx(
4878
4878
  "span",
4879
4879
  {
4880
- className: "inline-block w-[2px] h-[1em] bg-[var(--color-foreground)] ml-[1px] align-text-bottom animate-pulse",
4880
+ className: "inline-block w-[2px] h-[1em] bg-foreground ml-[1px] align-text-bottom animate-pulse",
4881
4881
  "aria-hidden": "true"
4882
4882
  }
4883
4883
  )
@@ -4886,8 +4886,8 @@ var TypewriterText = ({
4886
4886
  TypewriterText.displayName = "TypewriterText";
4887
4887
  var backgroundClasses = {
4888
4888
  default: "",
4889
- alt: "bg-[var(--color-surface)]",
4890
- dark: "bg-[var(--color-foreground)] text-[var(--color-background)]",
4889
+ alt: "bg-surface",
4890
+ dark: "bg-foreground text-background",
4891
4891
  gradient: [
4892
4892
  "bg-gradient-to-b",
4893
4893
  "from-[var(--color-primary)]/5",
@@ -5991,9 +5991,9 @@ var ErrorState = ({
5991
5991
  className
5992
5992
  ),
5993
5993
  children: [
5994
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mb-4 rounded-[var(--radius-full)] bg-[var(--color-error)]/10 p-3", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertCircle, { className: "h-8 w-8 text-[var(--color-error)]" }) }),
5995
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-medium text-[var(--color-foreground)]", children: resolvedTitle }),
5996
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-[var(--color-muted-foreground)] max-w-sm", children: resolvedMessage }),
5994
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mb-4 rounded-full bg-error/10 p-3", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertCircle, { className: "h-8 w-8 text-error" }) }),
5995
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-medium text-foreground", children: resolvedTitle }),
5996
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-muted-foreground max-w-sm", children: resolvedMessage }),
5997
5997
  (onRetry || retryEvent) && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "secondary", className: "mt-4", onClick: handleRetry, children: t("error.retry") })
5998
5998
  ]
5999
5999
  }
@@ -6041,7 +6041,7 @@ var ErrorBoundary = class extends React114__namespace.default.Component {
6041
6041
  }
6042
6042
  };
6043
6043
  __publicField(ErrorBoundary, "displayName", "ErrorBoundary");
6044
- var pulseClass = "animate-pulse bg-[var(--color-muted)]/60 rounded";
6044
+ var pulseClass = "animate-pulse bg-muted/60 rounded";
6045
6045
  function SkeletonLine({ className }) {
6046
6046
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn(pulseClass, "h-4", className) });
6047
6047
  }
@@ -6055,20 +6055,20 @@ function HeaderSkeleton({ className }) {
6055
6055
  /* @__PURE__ */ jsxRuntime.jsx(SkeletonLine, { className: "w-64" })
6056
6056
  ] }),
6057
6057
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", children: [
6058
- /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-9 w-24 rounded-[var(--radius-md)]" }),
6059
- /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-9 w-32 rounded-[var(--radius-md)]" })
6058
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-9 w-24 rounded-md" }),
6059
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-9 w-32 rounded-md" })
6060
6060
  ] })
6061
6061
  ] });
6062
6062
  }
6063
6063
  function TableSkeleton({ rows = 5, columns = 4, className }) {
6064
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: cn("border border-[var(--color-border)] rounded-[var(--radius-lg)] overflow-hidden", className), children: [
6065
- /* @__PURE__ */ jsxRuntime.jsx(HStack, { className: "px-4 py-3 bg-[var(--color-muted)]/30 border-b border-[var(--color-border)]", children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-4 flex-1 mx-2" }, i)) }),
6064
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: cn("border border-border rounded-lg overflow-hidden", className), children: [
6065
+ /* @__PURE__ */ jsxRuntime.jsx(HStack, { className: "px-4 py-3 bg-muted/30 border-b border-border", children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-4 flex-1 mx-2" }, i)) }),
6066
6066
  Array.from({ length: rows }).map((_, rowIdx) => /* @__PURE__ */ jsxRuntime.jsx(
6067
6067
  HStack,
6068
6068
  {
6069
6069
  className: cn(
6070
6070
  "px-4 py-3",
6071
- rowIdx < rows - 1 && "border-b border-[var(--color-border)]"
6071
+ rowIdx < rows - 1 && "border-b border-border"
6072
6072
  ),
6073
6073
  children: Array.from({ length: columns }).map((_2, colIdx) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonLine, { className: "flex-1 mx-2" }, colIdx))
6074
6074
  },
@@ -6081,11 +6081,11 @@ function FormSkeleton({ fields = 4, className }) {
6081
6081
  /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-6 w-40" }),
6082
6082
  Array.from({ length: fields }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
6083
6083
  /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-4 w-24" }),
6084
- /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-full rounded-[var(--radius-md)]" })
6084
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-full rounded-md" })
6085
6085
  ] }, i)),
6086
6086
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", className: "justify-end pt-2", children: [
6087
- /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-20 rounded-[var(--radius-md)]" }),
6088
- /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-24 rounded-[var(--radius-md)]" })
6087
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-20 rounded-md" }),
6088
+ /* @__PURE__ */ jsxRuntime.jsx(SkeletonBlock, { className: "h-10 w-24 rounded-md" })
6089
6089
  ] })
6090
6090
  ] });
6091
6091
  }
@@ -6095,7 +6095,7 @@ function CardSkeleton({ className }) {
6095
6095
  {
6096
6096
  gap: "md",
6097
6097
  className: cn(
6098
- "p-5 border border-[var(--color-border)] rounded-[var(--radius-lg)]",
6098
+ "p-5 border border-border rounded-lg",
6099
6099
  className
6100
6100
  ),
6101
6101
  children: [
@@ -6225,16 +6225,16 @@ function isPortalSlot(slot) {
6225
6225
  }
6226
6226
  React114.createContext(null);
6227
6227
  var variantBorderClasses = {
6228
- info: "border-[var(--color-info)]",
6229
- success: "border-[var(--color-success)]",
6230
- warning: "border-[var(--color-warning)]",
6231
- error: "border-[var(--color-error)]"
6228
+ info: "border-info",
6229
+ success: "border-success",
6230
+ warning: "border-warning",
6231
+ error: "border-error"
6232
6232
  };
6233
6233
  var variantIconColors = {
6234
- info: "text-[var(--color-info)]",
6235
- success: "text-[var(--color-success)]",
6236
- warning: "text-[var(--color-warning)]",
6237
- error: "text-[var(--color-error)]"
6234
+ info: "text-info",
6235
+ success: "text-success",
6236
+ warning: "text-warning",
6237
+ error: "text-error"
6238
6238
  };
6239
6239
  var iconMap3 = {
6240
6240
  info: LucideIcons.Info,
@@ -6291,8 +6291,8 @@ var Alert = ({
6291
6291
  type: "button",
6292
6292
  onClick: handleDismiss,
6293
6293
  className: cn(
6294
- "flex-shrink-0 p-1 transition-colors rounded-[var(--radius-sm)]",
6295
- "hover:bg-[var(--color-muted)]"
6294
+ "flex-shrink-0 p-1 transition-colors rounded-sm",
6295
+ "hover:bg-muted"
6296
6296
  ),
6297
6297
  "aria-label": "Dismiss alert",
6298
6298
  children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.X, size: "sm" })
@@ -6310,10 +6310,10 @@ var positionClasses = {
6310
6310
  right: "left-full top-1/2 -translate-y-1/2 ml-2"
6311
6311
  };
6312
6312
  var arrowClasses = {
6313
- top: "top-full left-1/2 -translate-x-1/2 border-t-[var(--color-primary)] border-l-transparent border-r-transparent border-b-transparent",
6314
- bottom: "bottom-full left-1/2 -translate-x-1/2 border-b-[var(--color-primary)] border-l-transparent border-r-transparent border-t-transparent",
6315
- left: "left-full top-1/2 -translate-y-1/2 border-l-[var(--color-primary)] border-t-transparent border-b-transparent border-r-transparent",
6316
- right: "right-full top-1/2 -translate-y-1/2 border-r-[var(--color-primary)] border-t-transparent border-b-transparent border-l-transparent"
6313
+ top: "top-full left-1/2 -translate-x-1/2 border-t-primary border-l-transparent border-r-transparent border-b-transparent",
6314
+ bottom: "bottom-full left-1/2 -translate-x-1/2 border-b-primary border-l-transparent border-r-transparent border-t-transparent",
6315
+ left: "left-full top-1/2 -translate-y-1/2 border-l-primary border-t-transparent border-b-transparent border-r-transparent",
6316
+ right: "right-full top-1/2 -translate-y-1/2 border-r-primary border-t-transparent border-b-transparent border-l-transparent"
6317
6317
  };
6318
6318
  var Tooltip = ({
6319
6319
  content,
@@ -6377,8 +6377,8 @@ var Tooltip = ({
6377
6377
  ref: tooltipRef,
6378
6378
  className: cn(
6379
6379
  "fixed z-50 px-3 py-2 max-w-xs",
6380
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
6381
- "shadow-[var(--shadow-sm)] rounded-[var(--radius-sm)]",
6380
+ "bg-primary text-primary-foreground",
6381
+ "shadow-sm rounded-sm",
6382
6382
  "text-sm pointer-events-none",
6383
6383
  "break-words whitespace-normal",
6384
6384
  "h-auto min-h-fit",
@@ -6392,7 +6392,7 @@ var Tooltip = ({
6392
6392
  },
6393
6393
  role: "tooltip",
6394
6394
  children: [
6395
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full break-words whitespace-normal h-auto", children: typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-primary-foreground)] break-words whitespace-normal", children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words whitespace-normal", children: content }) }),
6395
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full break-words whitespace-normal h-auto", children: typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-primary-foreground break-words whitespace-normal", children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words whitespace-normal", children: content }) }),
6396
6396
  showArrow && /* @__PURE__ */ jsxRuntime.jsx(
6397
6397
  "div",
6398
6398
  {
@@ -6493,7 +6493,7 @@ var Popover = ({
6493
6493
  ref: popoverRef,
6494
6494
  className: cn(
6495
6495
  "fixed z-50 p-4",
6496
- "bg-[var(--color-card)] border-2 border-[var(--color-border)] shadow-[var(--shadow-lg)]",
6496
+ "bg-card border-2 border-border shadow-lg",
6497
6497
  positionClasses2[position],
6498
6498
  className
6499
6499
  ),
@@ -6591,10 +6591,10 @@ var Menu = ({
6591
6591
  }
6592
6592
  );
6593
6593
  const menuContainerStyles = cn(
6594
- "bg-[var(--color-card)]",
6595
- "border-[length:var(--border-width)] border-[var(--color-border)]",
6596
- "shadow-[var(--shadow-main)]",
6597
- "rounded-[var(--radius-sm)]",
6594
+ "bg-card",
6595
+ "border-[length:var(--border-width)] border-border",
6596
+ "shadow",
6597
+ "rounded-sm",
6598
6598
  "min-w-[200px] py-1"
6599
6599
  );
6600
6600
  const renderMenuItem = (item, hasSubMenu, index) => {
@@ -6611,11 +6611,11 @@ var Menu = ({
6611
6611
  className: cn(
6612
6612
  "w-full flex items-center justify-between gap-3 px-4 py-2 text-left",
6613
6613
  "text-sm transition-colors",
6614
- "hover:bg-[var(--color-muted)]",
6615
- "focus:outline-none focus:bg-[var(--color-muted)]",
6614
+ "hover:bg-muted",
6615
+ "focus:outline-none focus:bg-muted",
6616
6616
  "disabled:opacity-50 disabled:cursor-not-allowed",
6617
6617
  item.disabled && "cursor-not-allowed",
6618
- isDanger && "text-[var(--color-error)] hover:bg-[var(--color-error)]/10"
6618
+ isDanger && "text-error hover:bg-error/10"
6619
6619
  ),
6620
6620
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
6621
6621
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm", className: "flex-shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm", className: "flex-shrink-0" })),
@@ -6740,7 +6740,7 @@ var Accordion = ({
6740
6740
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("w-full", className), children: normalizedItems.map((item, index) => {
6741
6741
  const isOpen = openItemsSet.has(item.id);
6742
6742
  const isDisabled = item.disabled;
6743
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: index > 0 ? "mt-2" : "", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-2 border-[var(--color-border)] overflow-hidden", children: [
6743
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: index > 0 ? "mt-2" : "", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-2 border-border overflow-hidden", children: [
6744
6744
  /* @__PURE__ */ jsxRuntime.jsxs(
6745
6745
  "button",
6746
6746
  {
@@ -6749,12 +6749,12 @@ var Accordion = ({
6749
6749
  disabled: isDisabled,
6750
6750
  className: cn(
6751
6751
  "w-full flex items-center justify-between px-4 py-3",
6752
- "bg-[var(--color-card)]",
6753
- "hover:bg-[var(--color-muted)]",
6752
+ "bg-card",
6753
+ "hover:bg-muted",
6754
6754
  "transition-colors duration-200",
6755
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-inset",
6755
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-inset",
6756
6756
  "disabled:opacity-50 disabled:cursor-not-allowed",
6757
- isOpen && "bg-[var(--color-muted)] font-bold"
6757
+ isOpen && "bg-muted font-bold"
6758
6758
  ),
6759
6759
  "aria-expanded": isOpen,
6760
6760
  "aria-controls": `accordion-content-${item.id}`,
@@ -6778,7 +6778,7 @@ var Accordion = ({
6778
6778
  "div",
6779
6779
  {
6780
6780
  id: `accordion-content-${item.id}`,
6781
- className: "px-4 py-3 bg-[var(--color-card)] border-t-2 border-[var(--color-border)]",
6781
+ className: "px-4 py-3 bg-card border-t-2 border-border",
6782
6782
  children: item.content
6783
6783
  }
6784
6784
  )
@@ -6931,7 +6931,7 @@ var FloatingActionButton = ({
6931
6931
  size: "lg",
6932
6932
  icon: resolvedAction.icon,
6933
6933
  onClick: resolvedAction.onClick,
6934
- className: "rounded-[var(--radius-full)] shadow-[var(--shadow-lg)]",
6934
+ className: "rounded-full shadow-lg",
6935
6935
  "aria-label": resolvedAction.label || "Action",
6936
6936
  children: resolvedAction.label && /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", className: "sr-only", children: resolvedAction.label })
6937
6937
  }
@@ -6976,7 +6976,7 @@ var FloatingActionButton = ({
6976
6976
  transitionDelay: `${index * 50}ms`
6977
6977
  },
6978
6978
  children: [
6979
- position.includes("right") && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-foreground)] dark:text-[var(--color-foreground)] bg-[var(--color-card)] dark:bg-[var(--color-card)] px-2 py-1 rounded shadow-[var(--shadow-sm)] whitespace-nowrap", children: actionItem.label }),
6979
+ position.includes("right") && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-foreground dark:text-foreground bg-card dark:bg-card px-2 py-1 rounded shadow-sm whitespace-nowrap", children: actionItem.label }),
6980
6980
  /* @__PURE__ */ jsxRuntime.jsx(
6981
6981
  Button,
6982
6982
  {
@@ -6988,12 +6988,12 @@ var FloatingActionButton = ({
6988
6988
  if (actionItem.event) eventBus.emit(`UI:${actionItem.event}`, { actionId: actionItem.id });
6989
6989
  actionItem.onClick?.();
6990
6990
  },
6991
- className: "rounded-[var(--radius-full)] shadow-[var(--shadow-lg)]",
6991
+ className: "rounded-full shadow-lg",
6992
6992
  "aria-label": actionItem.label,
6993
6993
  children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", className: "sr-only", children: actionItem.label })
6994
6994
  }
6995
6995
  ),
6996
- position.includes("left") && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-foreground)] dark:text-[var(--color-foreground)] bg-[var(--color-card)] dark:bg-[var(--color-card)] px-2 py-1 rounded shadow-[var(--shadow-sm)] whitespace-nowrap", children: actionItem.label })
6996
+ position.includes("left") && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-foreground dark:text-foreground bg-card dark:bg-card px-2 py-1 rounded shadow-sm whitespace-nowrap", children: actionItem.label })
6997
6997
  ]
6998
6998
  },
6999
6999
  actionItem.id
@@ -7007,7 +7007,7 @@ var FloatingActionButton = ({
7007
7007
  size: "lg",
7008
7008
  icon: isExpanded ? LucideIcons.X : LucideIcons.Plus,
7009
7009
  onClick: handleMainClick,
7010
- className: "rounded-[var(--radius-full)] shadow-[var(--shadow-lg)] transition-all duration-300",
7010
+ className: "rounded-full shadow-lg transition-all duration-300",
7011
7011
  "aria-label": isExpanded ? "Close actions" : "Open actions",
7012
7012
  "aria-expanded": isExpanded,
7013
7013
  children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", className: "sr-only", children: isExpanded ? t("common.close") : t("common.open") })
@@ -7777,7 +7777,7 @@ var AuthLayout = ({
7777
7777
  children: [
7778
7778
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute inset-0 bg-gradient-to-br from-primary-600/90 to-primary-800/90" }),
7779
7779
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "relative z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(reactRouterDom.Link, { to: "/", className: "flex items-center gap-3", children: [
7780
- logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 h-10 bg-white/20 rounded-[var(--radius-xl)] flex items-center justify-center backdrop-blur", children: /* @__PURE__ */ jsxRuntime.jsx(
7780
+ logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 h-10 bg-white/20 rounded-xl flex items-center justify-center backdrop-blur", children: /* @__PURE__ */ jsxRuntime.jsx(
7781
7781
  Typography,
7782
7782
  {
7783
7783
  variant: "body1",
@@ -7814,7 +7814,7 @@ var AuthLayout = ({
7814
7814
  children: "Sign in to access your dashboard and manage your account."
7815
7815
  }
7816
7816
  ),
7817
- /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "mt-12 p-6 bg-white/10 rounded-[var(--radius-xl)] backdrop-blur", children: [
7817
+ /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "mt-12 p-6 bg-white/10 rounded-xl backdrop-blur", children: [
7818
7818
  /* @__PURE__ */ jsxRuntime.jsx(
7819
7819
  Typography,
7820
7820
  {
@@ -7824,7 +7824,7 @@ var AuthLayout = ({
7824
7824
  }
7825
7825
  ),
7826
7826
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "mt-4", gap: "sm", align: "center", children: [
7827
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 h-10 bg-white/20 rounded-[var(--radius-full)]" }),
7827
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 h-10 bg-white/20 rounded-full" }),
7828
7828
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", children: [
7829
7829
  /* @__PURE__ */ jsxRuntime.jsx(
7830
7830
  Typography,
@@ -7846,8 +7846,8 @@ var AuthLayout = ({
7846
7846
  ] })
7847
7847
  ] })
7848
7848
  ] }) }),
7849
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute -bottom-32 -right-32 w-96 h-96 bg-white/5 rounded-[var(--radius-full)]" }),
7850
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute -top-16 -right-16 w-64 h-64 bg-white/5 rounded-[var(--radius-full)]" })
7849
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute -bottom-32 -right-32 w-96 h-96 bg-white/5 rounded-full" }),
7850
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute -top-16 -right-16 w-64 h-64 bg-white/5 rounded-full" })
7851
7851
  ]
7852
7852
  }
7853
7853
  ),
@@ -7856,11 +7856,11 @@ var AuthLayout = ({
7856
7856
  {
7857
7857
  className: cn(
7858
7858
  "flex-1 flex items-center justify-center p-6 sm:p-12",
7859
- "bg-[var(--color-background)]"
7859
+ "bg-background"
7860
7860
  ),
7861
7861
  children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "w-full max-w-md", children: [
7862
7862
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "lg:hidden mb-8 text-center", children: /* @__PURE__ */ jsxRuntime.jsxs(reactRouterDom.Link, { to: "/", className: "inline-flex items-center gap-3", children: [
7863
- logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-12 h-12 bg-primary-600 rounded-[var(--radius-xl)] flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
7863
+ logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-12 h-12 bg-primary-600 rounded-xl flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
7864
7864
  Typography,
7865
7865
  {
7866
7866
  variant: "body1",
@@ -7872,7 +7872,7 @@ var AuthLayout = ({
7872
7872
  Typography,
7873
7873
  {
7874
7874
  variant: "body1",
7875
- className: "text-2xl font-bold text-[var(--color-foreground)]",
7875
+ className: "text-2xl font-bold text-foreground",
7876
7876
  children: appName
7877
7877
  }
7878
7878
  )
@@ -7901,13 +7901,13 @@ var LoadingState = ({
7901
7901
  ),
7902
7902
  children: [
7903
7903
  /* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "lg" }),
7904
- title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "mt-4 text-lg font-semibold text-[var(--color-foreground)]", children: title }),
7904
+ title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "mt-4 text-lg font-semibold text-foreground", children: title }),
7905
7905
  /* @__PURE__ */ jsxRuntime.jsx(
7906
7906
  Typography,
7907
7907
  {
7908
7908
  variant: "small",
7909
7909
  className: cn(
7910
- "text-[var(--color-muted-foreground)]",
7910
+ "text-muted-foreground",
7911
7911
  title ? "mt-2" : "mt-4"
7912
7912
  ),
7913
7913
  children: displayMessage
@@ -9042,7 +9042,7 @@ function BattleBoard({
9042
9042
  ]
9043
9043
  );
9044
9044
  const shakeStyle = isShaking ? { animation: "battle-shake 0.3s ease-in-out" } : {};
9045
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("battle-board relative min-h-[600px] bg-[var(--color-background)]", className), gap: "none", children: [
9045
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("battle-board relative min-h-[600px] bg-background", className), gap: "none", children: [
9046
9046
  /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
9047
9047
  @keyframes battle-shake {
9048
9048
  0%, 100% { transform: translate(0, 0); }
@@ -9341,7 +9341,7 @@ var MarkdownContent = React114__namespace.default.memo(
9341
9341
  "blockquote",
9342
9342
  {
9343
9343
  ...props,
9344
- className: "border-l-4 border-blue-500 pl-4 italic text-[var(--color-foreground)] my-4",
9344
+ className: "border-l-4 border-blue-500 pl-4 italic text-foreground my-4",
9345
9345
  children
9346
9346
  }
9347
9347
  );
@@ -9416,7 +9416,7 @@ var CodeBlock = React114__namespace.default.memo(
9416
9416
  variant: "ghost",
9417
9417
  size: "sm",
9418
9418
  onClick: handleCopy,
9419
- className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-[var(--color-muted-foreground)] hover:text-white",
9419
+ className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-muted-foreground hover:text-white",
9420
9420
  "aria-label": "Copy code",
9421
9421
  children: copied ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Check, { size: 16, className: "text-green-400" }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Copy, { size: 16 })
9422
9422
  }
@@ -9493,10 +9493,10 @@ function Card2({
9493
9493
  "div",
9494
9494
  {
9495
9495
  className: `
9496
- bg-[var(--color-card)]
9497
- border border-[var(--color-border)]
9498
- rounded-[var(--radius-md)] shadow-[var(--shadow-sm)]
9499
- ${isClickable ? "cursor-pointer hover:shadow-[var(--shadow-hover)] transition-shadow" : ""}
9496
+ bg-card
9497
+ border border-border
9498
+ rounded-md shadow-sm
9499
+ ${isClickable ? "cursor-pointer hover:shadow-lg transition-shadow" : ""}
9500
9500
  ${className}
9501
9501
  `,
9502
9502
  onClick: isClickable ? handleClick : void 0,
@@ -9520,11 +9520,11 @@ function Card2({
9520
9520
  ) }),
9521
9521
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", children: [
9522
9522
  (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3", children: [
9523
- title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-[var(--color-card-foreground)]", children: title }),
9524
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-[var(--color-muted-foreground)] mt-1", children: subtitle })
9523
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-card-foreground", children: title }),
9524
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
9525
9525
  ] }),
9526
- children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[var(--color-card-foreground)]", children }),
9527
- actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2 mt-4 pt-4 border-t border-[var(--color-border)]", children: actions.map((action2, index) => /* @__PURE__ */ jsxRuntime.jsx(
9526
+ children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-card-foreground", children }),
9527
+ actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2 mt-4 pt-4 border-t border-border", children: actions.map((action2, index) => /* @__PURE__ */ jsxRuntime.jsx(
9528
9528
  "button",
9529
9529
  {
9530
9530
  onClick: (e) => {
@@ -9534,9 +9534,9 @@ function Card2({
9534
9534
  },
9535
9535
  disabled: action2.disabled,
9536
9536
  className: `
9537
- px-3 py-1.5 text-sm font-medium rounded-[var(--radius-sm)]
9537
+ px-3 py-1.5 text-sm font-medium rounded-sm
9538
9538
  transition-colors
9539
- ${action2.variant === "primary" ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)] hover:bg-[var(--color-primary-hover)] disabled:opacity-50" : action2.variant === "danger" ? "bg-[var(--color-error)] text-[var(--color-error-foreground)] hover:opacity-90 disabled:opacity-50" : "bg-[var(--color-muted)] text-[var(--color-foreground)] hover:bg-[var(--color-surface-hover)]"}
9539
+ ${action2.variant === "primary" ? "bg-primary text-primary-foreground hover:bg-primary-hover disabled:opacity-50" : action2.variant === "danger" ? "bg-error text-error-foreground hover:opacity-90 disabled:opacity-50" : "bg-muted text-foreground hover:bg-[var(--color-surface-hover)]"}
9540
9540
  disabled:cursor-not-allowed
9541
9541
  `,
9542
9542
  children: action2.label
@@ -9561,7 +9561,7 @@ var QuizBlock = ({
9561
9561
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.HelpCircle, size: "sm", className: "text-blue-500 mt-0.5 shrink-0" }),
9562
9562
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "font-medium", children: question })
9563
9563
  ] }),
9564
- revealed ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "pl-7 pt-2 border-t border-gray-200 dark:border-gray-700", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-[var(--color-muted-foreground)]", children: answer }) }) : null,
9564
+ revealed ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "pl-7 pt-2 border-t border-gray-200 dark:border-gray-700", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-muted-foreground", children: answer }) }) : null,
9565
9565
  /* @__PURE__ */ jsxRuntime.jsx(
9566
9566
  Button,
9567
9567
  {
@@ -11199,7 +11199,7 @@ var BookCoverPage = ({
11199
11199
  Typography,
11200
11200
  {
11201
11201
  variant: "h2",
11202
- className: "text-xl text-[var(--color-muted-foreground)]",
11202
+ className: "text-xl text-muted-foreground",
11203
11203
  children: subtitle
11204
11204
  }
11205
11205
  ),
@@ -11207,7 +11207,7 @@ var BookCoverPage = ({
11207
11207
  Typography,
11208
11208
  {
11209
11209
  variant: "body",
11210
- className: "text-[var(--color-muted-foreground)] mt-4",
11210
+ className: "text-muted-foreground mt-4",
11211
11211
  children: author
11212
11212
  }
11213
11213
  )
@@ -11243,7 +11243,7 @@ var BookNavBar = ({
11243
11243
  Box,
11244
11244
  {
11245
11245
  className: cn(
11246
- "sticky bottom-0 bg-[var(--color-background)] border-t border-[var(--color-border)] print:hidden z-10",
11246
+ "sticky bottom-0 bg-background border-t border-border print:hidden z-10",
11247
11247
  className
11248
11248
  ),
11249
11249
  style: { direction },
@@ -11275,7 +11275,7 @@ var BookNavBar = ({
11275
11275
  Typography,
11276
11276
  {
11277
11277
  variant: "caption",
11278
- className: "text-center block truncate text-[var(--color-muted-foreground)]",
11278
+ className: "text-center block truncate text-muted-foreground",
11279
11279
  children: chapterTitle
11280
11280
  }
11281
11281
  ),
@@ -11409,15 +11409,15 @@ var EmptyState = ({
11409
11409
  Box,
11410
11410
  {
11411
11411
  className: cn(
11412
- "mb-4 rounded-[var(--radius-full)] p-3",
11413
- isDestructive ? "bg-[var(--color-error)]/10" : isSuccess ? "bg-[var(--color-success)]/10" : "bg-[var(--color-muted)]"
11412
+ "mb-4 rounded-full p-3",
11413
+ isDestructive ? "bg-error/10" : isSuccess ? "bg-success/10" : "bg-muted"
11414
11414
  ),
11415
11415
  children: /* @__PURE__ */ jsxRuntime.jsx(
11416
11416
  Icon3,
11417
11417
  {
11418
11418
  className: cn(
11419
11419
  "h-8 w-8",
11420
- isDestructive ? "text-[var(--color-error)]" : isSuccess ? "text-[var(--color-success)]" : "text-[var(--color-muted-foreground)]"
11420
+ isDestructive ? "text-error" : isSuccess ? "text-success" : "text-muted-foreground"
11421
11421
  )
11422
11422
  }
11423
11423
  )
@@ -11429,12 +11429,12 @@ var EmptyState = ({
11429
11429
  variant: "h3",
11430
11430
  className: cn(
11431
11431
  "text-lg font-medium",
11432
- isDestructive ? "text-[var(--color-error)]" : isSuccess ? "text-[var(--color-success)]" : "text-[var(--color-foreground)]"
11432
+ isDestructive ? "text-error" : isSuccess ? "text-success" : "text-foreground"
11433
11433
  ),
11434
11434
  children: displayText
11435
11435
  }
11436
11436
  ),
11437
- description && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-[var(--color-muted-foreground)] max-w-sm", children: description }),
11437
+ description && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "mt-1 text-muted-foreground max-w-sm", children: description }),
11438
11438
  actionLabel && (onAction || actionEvent) && /* @__PURE__ */ jsxRuntime.jsx(
11439
11439
  Button,
11440
11440
  {
@@ -11583,7 +11583,7 @@ var BookViewer = ({
11583
11583
  const currentChapterId = currentPage >= 2 ? chapters[currentPage - 2]?.id : void 0;
11584
11584
  const currentChapterTitle = currentPage >= 2 ? chapters[currentPage - 2]?.title : void 0;
11585
11585
  if (!book) return /* @__PURE__ */ jsxRuntime.jsx(EmptyState, { message: t("book.noData") });
11586
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("relative h-full overflow-hidden bg-[var(--color-background)]", className), children: [
11586
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("relative h-full overflow-hidden bg-background", className), children: [
11587
11587
  /* @__PURE__ */ jsxRuntime.jsxs(
11588
11588
  Box,
11589
11589
  {
@@ -11921,7 +11921,7 @@ var Breadcrumb = ({
11921
11921
  href: item.href || item.path,
11922
11922
  className: cn(
11923
11923
  "flex items-center gap-1.5 transition-colors",
11924
- isLast ? "text-[var(--color-foreground)] font-bold" : "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]"
11924
+ isLast ? "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
11925
11925
  ),
11926
11926
  "aria-current": isLast ? "page" : void 0,
11927
11927
  children: [
@@ -11946,8 +11946,8 @@ var Breadcrumb = ({
11946
11946
  },
11947
11947
  className: cn(
11948
11948
  "flex items-center gap-1.5 transition-colors",
11949
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2",
11950
- isLast ? "text-[var(--color-foreground)] font-bold cursor-default" : "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]"
11949
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
11950
+ isLast ? "text-foreground font-bold cursor-default" : "text-muted-foreground hover:text-foreground"
11951
11951
  ),
11952
11952
  "aria-current": isLast ? "page" : void 0,
11953
11953
  disabled: isLast,
@@ -11969,7 +11969,7 @@ var Breadcrumb = ({
11969
11969
  {
11970
11970
  icon: separator,
11971
11971
  size: "sm",
11972
- className: "text-[var(--color-muted-foreground)]"
11972
+ className: "text-muted-foreground"
11973
11973
  }
11974
11974
  )
11975
11975
  ] }, index);
@@ -12047,13 +12047,13 @@ function BuilderBoard({
12047
12047
  backgroundPosition: "center"
12048
12048
  },
12049
12049
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", className: "p-4", children: [
12050
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
12050
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
12051
12051
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
12052
12052
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", weight: "bold", children: entity.title }),
12053
12053
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.description })
12054
12054
  ] }) }),
12055
12055
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
12056
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("builder.components") }),
12056
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("builder.components") }),
12057
12057
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "flex-wrap", children: [
12058
12058
  availableComponents.map((comp) => /* @__PURE__ */ jsxRuntime.jsxs(
12059
12059
  Button,
@@ -12072,11 +12072,11 @@ function BuilderBoard({
12072
12072
  },
12073
12073
  comp.id
12074
12074
  )),
12075
- availableComponents.length === 0 && !submitted && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: t("builder.allPlaced") })
12075
+ availableComponents.length === 0 && !submitted && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: t("builder.allPlaced") })
12076
12076
  ] })
12077
12077
  ] }) }),
12078
12078
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
12079
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("builder.blueprint") }),
12079
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("builder.blueprint") }),
12080
12080
  /* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "sm", children: slots.map((slot) => {
12081
12081
  const placedComp = placements[slot.id] ? getComponentById(placements[slot.id]) : null;
12082
12082
  const result = results.find((r) => r.slot.id === slot.id);
@@ -12085,12 +12085,12 @@ function BuilderBoard({
12085
12085
  {
12086
12086
  gap: "sm",
12087
12087
  align: "center",
12088
- className: `p-3 border-2 rounded ${result ? result.correct ? "border-green-500" : "border-red-500" : selectedComponent ? "border-dashed border-[var(--color-foreground)] cursor-pointer" : "border-[var(--color-border)]"}`,
12088
+ className: `p-3 border-2 rounded ${result ? result.correct ? "border-green-500" : "border-red-500" : selectedComponent ? "border-dashed border-foreground cursor-pointer" : "border-border"}`,
12089
12089
  onClick: () => handlePlaceComponent(slot.id),
12090
12090
  children: [
12091
12091
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "flex-1", children: [
12092
12092
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", weight: "medium", children: slot.label }),
12093
- slot.description && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: slot.description })
12093
+ slot.description && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: slot.description })
12094
12094
  ] }),
12095
12095
  placedComp ? /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
12096
12096
  /* @__PURE__ */ jsxRuntime.jsxs(Badge, { size: "sm", onClick: () => handleRemoveFromSlot(slot.id), children: [
@@ -12101,7 +12101,7 @@ function BuilderBoard({
12101
12101
  placedComp.label
12102
12102
  ] }),
12103
12103
  result && /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: result.correct ? LucideIcons.CheckCircle : LucideIcons.XCircle, size: "sm", className: result.correct ? "text-green-600" : "text-red-600" })
12104
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: t("builder.empty") })
12104
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: t("builder.empty") })
12105
12105
  ]
12106
12106
  },
12107
12107
  slot.id
@@ -12350,7 +12350,7 @@ function CalendarGrid({
12350
12350
  onPointerCancel: swipe.onPointerCancel
12351
12351
  } : {},
12352
12352
  children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "min-w-[800px]", children: [
12353
- /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "grid grid-cols-8 border-b border-[var(--color-border)]", children: [
12353
+ /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "grid grid-cols-8 border-b border-border", children: [
12354
12354
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "p-2" }),
12355
12355
  weekDays.map((day) => {
12356
12356
  const isToday = day.toDateString() === (/* @__PURE__ */ new Date()).toDateString();
@@ -12358,7 +12358,7 @@ function CalendarGrid({
12358
12358
  return /* @__PURE__ */ jsxRuntime.jsxs(
12359
12359
  Box,
12360
12360
  {
12361
- className: "border-l border-[var(--color-border)]",
12361
+ className: "border-l border-border",
12362
12362
  children: [
12363
12363
  /* @__PURE__ */ jsxRuntime.jsx(
12364
12364
  DayCell,
@@ -12378,13 +12378,13 @@ function CalendarGrid({
12378
12378
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "max-h-[500px] overflow-y-auto", children: resolvedTimeSlots.map((time) => /* @__PURE__ */ jsxRuntime.jsxs(
12379
12379
  Box,
12380
12380
  {
12381
- className: "grid grid-cols-8 border-b border-[var(--color-border)]",
12381
+ className: "grid grid-cols-8 border-b border-border",
12382
12382
  children: [
12383
12383
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "p-2 text-right pr-3", children: /* @__PURE__ */ jsxRuntime.jsx(
12384
12384
  Typography,
12385
12385
  {
12386
12386
  variant: "small",
12387
- className: "text-[var(--color-muted-foreground)]",
12387
+ className: "text-muted-foreground",
12388
12388
  children: time
12389
12389
  }
12390
12390
  ) }),
@@ -12400,7 +12400,7 @@ function CalendarGrid({
12400
12400
  isOccupied: slotEvents.length > 0,
12401
12401
  onClick: () => handleSlotClick(day, time),
12402
12402
  className: cn(
12403
- "border-l border-[var(--color-border)]",
12403
+ "border-l border-border",
12404
12404
  isToday && "bg-blue-50/30"
12405
12405
  ),
12406
12406
  ...longPressEvent ? {
@@ -13951,16 +13951,16 @@ var CardGrid = ({
13951
13951
  return children;
13952
13952
  }
13953
13953
  if (isLoading) {
13954
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-8 text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: "Loading items..." }) });
13954
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-8 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: "Loading items..." }) });
13955
13955
  }
13956
13956
  if (error) {
13957
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-8 text-[var(--color-error)]", children: /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "body", color: "error", children: [
13957
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-8 text-error", children: /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "body", color: "error", children: [
13958
13958
  "Error loading items: ",
13959
13959
  error.message
13960
13960
  ] }) });
13961
13961
  }
13962
13962
  if (normalizedData.length === 0) {
13963
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-12 text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: t("empty.noItems") || "No items found" }) });
13963
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "col-span-full text-center py-12 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: t("empty.noItems") || "No items found" }) });
13964
13964
  }
13965
13965
  return normalizedData.map((item, index) => {
13966
13966
  const itemData = item;
@@ -13972,9 +13972,9 @@ var CardGrid = ({
13972
13972
  {
13973
13973
  "data-entity-row": true,
13974
13974
  className: cn(
13975
- "bg-[var(--color-card)] rounded-[var(--radius-lg)] border border-[var(--color-border)]",
13976
- "shadow-[var(--shadow-sm)] hover:shadow-[var(--shadow-hover)]",
13977
- "cursor-pointer hover:border-[var(--color-primary)] transition-all",
13975
+ "bg-card rounded-lg border border-border",
13976
+ "shadow-sm hover:shadow-lg",
13977
+ "cursor-pointer hover:border-primary transition-all",
13978
13978
  "flex flex-col"
13979
13979
  ),
13980
13980
  action: "VIEW",
@@ -13983,7 +13983,7 @@ var CardGrid = ({
13983
13983
  imageField && (() => {
13984
13984
  const imgUrl = getNestedValue(itemData, imageField);
13985
13985
  if (!imgUrl || typeof imgUrl !== "string") return null;
13986
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full aspect-video overflow-hidden rounded-t-[var(--radius-lg)]", children: /* @__PURE__ */ jsxRuntime.jsx(
13986
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full aspect-video overflow-hidden rounded-t-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
13987
13987
  "img",
13988
13988
  {
13989
13989
  src: imgUrl,
@@ -14005,7 +14005,7 @@ var CardGrid = ({
14005
14005
  size: "sm",
14006
14006
  onClick: handleActionClick(action, itemData),
14007
14007
  "data-testid": action.event ? `action-${action.event}` : void 0,
14008
- className: "text-[var(--color-error)] hover:bg-[var(--color-error)]/10 px-2",
14008
+ className: "text-error hover:bg-error/10 px-2",
14009
14009
  children: action.label
14010
14010
  },
14011
14011
  actionIdx
@@ -14028,7 +14028,7 @@ var CardGrid = ({
14028
14028
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-right truncate max-w-[60%]", children: displayValue })
14029
14029
  ] }, field);
14030
14030
  }) }) }),
14031
- primaryActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 mt-auto border-t border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", className: "justify-end", children: primaryActions.map((action, actionIdx) => /* @__PURE__ */ jsxRuntime.jsx(
14031
+ primaryActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 mt-auto border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", className: "justify-end", children: primaryActions.map((action, actionIdx) => /* @__PURE__ */ jsxRuntime.jsx(
14032
14032
  Button,
14033
14033
  {
14034
14034
  variant: action.variant === "primary" ? "primary" : "ghost",
@@ -14246,10 +14246,10 @@ var Carousel = ({
14246
14246
  "aria-label": "Previous slide",
14247
14247
  className: cn(
14248
14248
  "rounded-full",
14249
- "bg-[var(--color-surface)]/80",
14249
+ "bg-surface/80",
14250
14250
  "backdrop-blur-sm",
14251
- "shadow-[var(--shadow-sm)]",
14252
- "hover:bg-[var(--color-surface)]"
14251
+ "shadow-sm",
14252
+ "hover:bg-surface"
14253
14253
  ),
14254
14254
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronLeft, { className: "w-5 h-5" })
14255
14255
  }
@@ -14270,10 +14270,10 @@ var Carousel = ({
14270
14270
  "aria-label": "Next slide",
14271
14271
  className: cn(
14272
14272
  "rounded-full",
14273
- "bg-[var(--color-surface)]/80",
14273
+ "bg-surface/80",
14274
14274
  "backdrop-blur-sm",
14275
- "shadow-[var(--shadow-sm)]",
14276
- "hover:bg-[var(--color-surface)]"
14275
+ "shadow-sm",
14276
+ "hover:bg-surface"
14277
14277
  ),
14278
14278
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-5 h-5" })
14279
14279
  }
@@ -14391,7 +14391,7 @@ function CastleBoard({
14391
14391
  }),
14392
14392
  [hoveredTile, hoveredFeature, hoveredUnit, selectedFeature, clearSelection, tileToScreen, scale]
14393
14393
  );
14394
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("castle-board min-h-screen flex flex-col bg-[var(--color-background)]", className), children: [
14394
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("castle-board min-h-screen flex flex-col bg-background", className), children: [
14395
14395
  header && header(ctx),
14396
14396
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 overflow-hidden", children: [
14397
14397
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto p-4 relative", children: [
@@ -14414,7 +14414,7 @@ function CastleBoard({
14414
14414
  ),
14415
14415
  overlay && overlay(ctx)
14416
14416
  ] }),
14417
- sidePanel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-96 shrink-0 border-l border-[var(--color-border)] bg-[var(--color-surface)] overflow-y-auto", children: sidePanel(ctx) })
14417
+ sidePanel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-96 shrink-0 border-l border-border bg-surface overflow-y-auto", children: sidePanel(ctx) })
14418
14418
  ] }),
14419
14419
  footer && footer(ctx)
14420
14420
  ] });
@@ -14459,7 +14459,7 @@ var BarChart = ({ data, height, showValues }) => {
14459
14459
  Box,
14460
14460
  {
14461
14461
  className: cn(
14462
- "w-full rounded-t-[var(--radius-sm)] transition-all duration-500 ease-out min-h-[4px]"
14462
+ "w-full rounded-t-sm transition-all duration-500 ease-out min-h-[4px]"
14463
14463
  ),
14464
14464
  style: {
14465
14465
  height: `${barHeight}%`,
@@ -14547,7 +14547,7 @@ var PieChart = ({ data, height, showValues, donut = false }) => {
14547
14547
  /* @__PURE__ */ jsxRuntime.jsx(
14548
14548
  Box,
14549
14549
  {
14550
- className: "w-3 h-3 rounded-[var(--radius-sm)] flex-shrink-0",
14550
+ className: "w-3 h-3 rounded-sm flex-shrink-0",
14551
14551
  style: { backgroundColor: seg.color }
14552
14552
  }
14553
14553
  ),
@@ -14685,7 +14685,7 @@ var Chart = ({
14685
14685
  /* @__PURE__ */ jsxRuntime.jsx(
14686
14686
  Box,
14687
14687
  {
14688
- className: "w-3 h-3 rounded-[var(--radius-full)] flex-shrink-0",
14688
+ className: "w-3 h-3 rounded-full flex-shrink-0",
14689
14689
  style: { backgroundColor: s.color || CHART_COLORS[idx % CHART_COLORS.length] }
14690
14690
  }
14691
14691
  ),
@@ -14712,7 +14712,7 @@ var ChartLegend = ({
14712
14712
  }
14713
14713
  }
14714
14714
  ),
14715
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-muted-foreground)]", children: item.label })
14715
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-muted-foreground", children: item.label })
14716
14716
  ] }, item.label)) });
14717
14717
  };
14718
14718
  ChartLegend.displayName = "ChartLegend";
@@ -14781,13 +14781,13 @@ function ClassifierBoard({
14781
14781
  backgroundPosition: "center"
14782
14782
  },
14783
14783
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", className: "p-4", children: [
14784
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
14784
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
14785
14785
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
14786
14786
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", weight: "bold", children: entity.title }),
14787
14787
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.description })
14788
14788
  ] }) }),
14789
14789
  unassignedItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
14790
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("classifier.itemsToSort") }),
14790
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("classifier.itemsToSort") }),
14791
14791
  /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", className: "flex-wrap", children: unassignedItems.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(Badge, { size: "md", className: "cursor-pointer", children: [
14792
14792
  item.iconUrl && /* @__PURE__ */ jsxRuntime.jsx("img", { src: item.iconUrl, alt: "", className: "w-4 h-4 object-contain inline-block" }),
14793
14793
  item.label
@@ -14837,7 +14837,7 @@ function ClassifierBoard({
14837
14837
  submitted && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", align: "center", children: [
14838
14838
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: allCorrect ? LucideIcons.CheckCircle : LucideIcons.XCircle, size: "lg", className: allCorrect ? "text-green-600" : "text-red-600" }),
14839
14839
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", weight: "bold", children: allCorrect ? entity.successMessage ?? t("classifier.allCorrect") : `${correctCount}/${items.length} ${t("classifier.correct")}` }),
14840
- !allCorrect && entity.failMessage && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-[var(--color-muted-foreground)]", children: entity.failMessage })
14840
+ !allCorrect && entity.failMessage && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-muted-foreground", children: entity.failMessage })
14841
14841
  ] }) }),
14842
14842
  showHint && entity.hint && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4 border-l-4 border-l-yellow-500", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.hint }) }),
14843
14843
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", justify: "center", children: [
@@ -14939,17 +14939,17 @@ var Tabs = ({
14939
14939
  const variantClasses2 = {
14940
14940
  default: [
14941
14941
  "border-b-[length:var(--border-width)] border-transparent",
14942
- "hover:border-[var(--color-muted-foreground)]",
14943
- "data-[active=true]:border-[var(--color-primary)]"
14942
+ "hover:border-muted-foreground",
14943
+ "data-[active=true]:border-primary"
14944
14944
  ].join(" "),
14945
14945
  pills: [
14946
- "rounded-[var(--radius-sm)]",
14947
- "data-[active=true]:bg-[var(--color-primary)]",
14948
- "data-[active=true]:text-[var(--color-primary-foreground)]"
14946
+ "rounded-sm",
14947
+ "data-[active=true]:bg-primary",
14948
+ "data-[active=true]:text-primary-foreground"
14949
14949
  ].join(" "),
14950
14950
  underline: [
14951
14951
  "border-b-[length:var(--border-width)] border-transparent",
14952
- "data-[active=true]:border-[var(--color-primary)]"
14952
+ "data-[active=true]:border-primary"
14953
14953
  ].join(" ")
14954
14954
  };
14955
14955
  return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: cn("w-full", className), children: [
@@ -14959,8 +14959,8 @@ var Tabs = ({
14959
14959
  role: "tablist",
14960
14960
  className: cn(
14961
14961
  "flex",
14962
- orientation === "horizontal" ? "flex-row border-b-[length:var(--border-width)] border-[var(--color-border)]" : "flex-col border-r-[length:var(--border-width)] border-[var(--color-border)]",
14963
- variant === "pills" && "gap-1 p-1 bg-[var(--color-muted)] border-0 rounded-[var(--radius-md)]",
14962
+ orientation === "horizontal" ? "flex-row border-b-[length:var(--border-width)] border-border" : "flex-col border-r-[length:var(--border-width)] border-border",
14963
+ variant === "pills" && "gap-1 p-1 bg-muted border-0 rounded-md",
14964
14964
  variant === "underline" && orientation === "vertical" && "border-b-0"
14965
14965
  ),
14966
14966
  children: safeItems.map((item, index) => {
@@ -14982,10 +14982,10 @@ var Tabs = ({
14982
14982
  "data-active": isActive,
14983
14983
  className: cn(
14984
14984
  "flex items-center gap-2 px-4 py-2 text-sm font-medium transition-all",
14985
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2",
14985
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
14986
14986
  isDisabled && "opacity-50 cursor-not-allowed",
14987
14987
  variantClasses2[variant],
14988
- isActive ? variant === "pills" ? "text-[var(--color-primary-foreground)] font-bold" : "text-[var(--color-foreground)] font-bold" : "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]"
14988
+ isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
14989
14989
  ),
14990
14990
  children: [
14991
14991
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" }),
@@ -15034,19 +15034,19 @@ function generateDiff(oldVal, newVal) {
15034
15034
  }
15035
15035
  var DIFF_STYLES = {
15036
15036
  add: {
15037
- bg: "bg-[var(--color-success)]/10",
15037
+ bg: "bg-success/10",
15038
15038
  prefix: "+",
15039
- text: "text-[var(--color-success)]"
15039
+ text: "text-success"
15040
15040
  },
15041
15041
  remove: {
15042
- bg: "bg-[var(--color-error)]/10",
15042
+ bg: "bg-error/10",
15043
15043
  prefix: "-",
15044
- text: "text-[var(--color-error)]"
15044
+ text: "text-error"
15045
15045
  },
15046
15046
  context: {
15047
15047
  bg: "",
15048
15048
  prefix: " ",
15049
- text: "text-[var(--color-foreground)]"
15049
+ text: "text-foreground"
15050
15050
  }
15051
15051
  };
15052
15052
  var CodeViewer = ({
@@ -15130,7 +15130,7 @@ var CodeViewer = ({
15130
15130
  );
15131
15131
  }
15132
15132
  return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("overflow-hidden", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", children: [
15133
- tabItems && tabItems.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(
15133
+ tabItems && tabItems.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "border-b border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
15134
15134
  Tabs,
15135
15135
  {
15136
15136
  tabs: tabItems,
@@ -15147,10 +15147,10 @@ var CodeViewer = ({
15147
15147
  gap: "sm",
15148
15148
  align: "center",
15149
15149
  justify: "between",
15150
- className: "px-4 py-2 border-b border-[var(--color-border)] bg-[var(--color-muted)]/30",
15150
+ className: "px-4 py-2 border-b border-border bg-muted/30",
15151
15151
  children: [
15152
15152
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "center", children: [
15153
- /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: mode === "diff" ? LucideIcons.FileText : LucideIcons.Code, size: "sm", className: "text-[var(--color-muted-foreground)]" }),
15153
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: mode === "diff" ? LucideIcons.FileText : LucideIcons.Code, size: "sm", className: "text-muted-foreground" }),
15154
15154
  title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "medium", className: "truncate", children: title }),
15155
15155
  activeLanguage && activeLanguage !== "text" && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", children: activeLanguage })
15156
15156
  ] }),
@@ -15162,7 +15162,7 @@ var CodeViewer = ({
15162
15162
  size: "sm",
15163
15163
  icon: LucideIcons.WrapText,
15164
15164
  onClick: () => setWrap(!wrap),
15165
- className: cn(wrap && "text-[var(--color-primary)]")
15165
+ className: cn(wrap && "text-primary")
15166
15166
  }
15167
15167
  ),
15168
15168
  showCopy && /* @__PURE__ */ jsxRuntime.jsx(
@@ -15172,7 +15172,7 @@ var CodeViewer = ({
15172
15172
  size: "sm",
15173
15173
  icon: copied ? LucideIcons.Check : LucideIcons.Copy,
15174
15174
  onClick: handleCopy,
15175
- className: cn(copied && "text-[var(--color-success)]")
15175
+ className: cn(copied && "text-success")
15176
15176
  }
15177
15177
  ),
15178
15178
  actions?.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -15192,7 +15192,7 @@ var CodeViewer = ({
15192
15192
  /* @__PURE__ */ jsxRuntime.jsx(
15193
15193
  Box,
15194
15194
  {
15195
- className: "overflow-auto bg-[var(--color-muted)]/20",
15195
+ className: "overflow-auto bg-muted/20",
15196
15196
  style: { maxHeight },
15197
15197
  children: diffLines ? (
15198
15198
  /* Diff mode */
@@ -15227,7 +15227,7 @@ var CodeViewer = ({
15227
15227
  }) })
15228
15228
  ) : (
15229
15229
  /* Code mode */
15230
- /* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: "font-mono text-xs", children: lines.map((line, idx) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "none", align: "start", className: "px-4 py-0.5 hover:bg-[var(--color-muted)]/50", children: [
15230
+ /* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: "font-mono text-xs", children: lines.map((line, idx) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "none", align: "start", className: "px-4 py-0.5 hover:bg-muted/50", children: [
15231
15231
  showLineNumbers && /* @__PURE__ */ jsxRuntime.jsx(
15232
15232
  Typography,
15233
15233
  {
@@ -15299,7 +15299,7 @@ function CombatLog({
15299
15299
  const safeEvents = events2 ?? [];
15300
15300
  const visibleEvents = safeEvents.slice(-maxVisible);
15301
15301
  return /* @__PURE__ */ jsxRuntime.jsxs(Card, { variant: "default", className: cn("flex flex-col", className), children: [
15302
- /* @__PURE__ */ jsxRuntime.jsx(Box, { padding: "sm", border: true, className: "border-b-2 border-x-0 border-t-0 border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { display: "flex", className: "items-center justify-between", children: [
15302
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { padding: "sm", border: true, className: "border-b-2 border-x-0 border-t-0 border-border", children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { display: "flex", className: "items-center justify-between", children: [
15303
15303
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body2", className: "font-bold", children: title }),
15304
15304
  /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "neutral", size: "sm", children: [
15305
15305
  safeEvents.length,
@@ -15316,7 +15316,7 @@ function CombatLog({
15316
15316
  display: "flex",
15317
15317
  padding: "xs",
15318
15318
  rounded: "sm",
15319
- className: cn("items-start gap-2 hover:bg-[var(--color-muted)] transition-colors", eventType === "death" && "opacity-60"),
15319
+ className: cn("items-start gap-2 hover:bg-muted transition-colors", eventType === "death" && "opacity-60"),
15320
15320
  children: [
15321
15321
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("flex-shrink-0 mt-0.5", colorClass), children: /* @__PURE__ */ jsxRuntime.jsx(EventIcon, { className: "h-4 w-4" }) }),
15322
15322
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex-1 min-w-0", children: [
@@ -15338,26 +15338,26 @@ CombatLog.displayName = "CombatLog";
15338
15338
  var variantConfig = {
15339
15339
  danger: {
15340
15340
  icon: LucideIcons.Trash2,
15341
- iconBg: "bg-[var(--color-error)]",
15342
- iconColor: "text-[var(--color-error-foreground)]",
15341
+ iconBg: "bg-error",
15342
+ iconColor: "text-error-foreground",
15343
15343
  confirmVariant: "primary"
15344
15344
  },
15345
15345
  warning: {
15346
15346
  icon: LucideIcons.AlertTriangle,
15347
- iconBg: "bg-[var(--color-warning)]",
15348
- iconColor: "text-[var(--color-warning-foreground)]",
15347
+ iconBg: "bg-warning",
15348
+ iconColor: "text-warning-foreground",
15349
15349
  confirmVariant: "primary"
15350
15350
  },
15351
15351
  info: {
15352
15352
  icon: LucideIcons.Check,
15353
- iconBg: "bg-[var(--color-info)]",
15354
- iconColor: "text-[var(--color-info-foreground)]",
15353
+ iconBg: "bg-info",
15354
+ iconColor: "text-info-foreground",
15355
15355
  confirmVariant: "primary"
15356
15356
  },
15357
15357
  default: {
15358
15358
  icon: LucideIcons.Check,
15359
- iconBg: "bg-[var(--color-primary)]",
15360
- iconColor: "text-[var(--color-primary-foreground)]",
15359
+ iconBg: "bg-primary",
15360
+ iconColor: "text-primary-foreground",
15361
15361
  confirmVariant: "primary"
15362
15362
  }
15363
15363
  };
@@ -15428,7 +15428,7 @@ var ConfirmDialog = ({
15428
15428
  Typography,
15429
15429
  {
15430
15430
  variant: "body2",
15431
- className: "text-[var(--color-muted-foreground)]",
15431
+ className: "text-muted-foreground",
15432
15432
  children: resolvedMessage
15433
15433
  }
15434
15434
  ) : resolvedMessage
@@ -15506,7 +15506,7 @@ function CounterStandard({
15506
15506
  Typography,
15507
15507
  {
15508
15508
  variant: "h2",
15509
- className: "text-[var(--color-muted-foreground)]",
15509
+ className: "text-muted-foreground",
15510
15510
  children: title
15511
15511
  }
15512
15512
  ),
@@ -15573,7 +15573,7 @@ function CounterFull({
15573
15573
  Typography,
15574
15574
  {
15575
15575
  variant: "h2",
15576
- className: "text-[var(--color-muted-foreground)]",
15576
+ className: "text-muted-foreground",
15577
15577
  children: title
15578
15578
  }
15579
15579
  ),
@@ -15778,7 +15778,7 @@ function CustomPattern({
15778
15778
  {
15779
15779
  className: cn(
15780
15780
  classes,
15781
- "p-4 border border-dashed border-[var(--color-error)]/50 text-[var(--color-error)]"
15781
+ "p-4 border border-dashed border-error/50 text-error"
15782
15782
  ),
15783
15783
  children: [
15784
15784
  "Unknown component: ",
@@ -16036,7 +16036,7 @@ var DashboardGrid = ({
16036
16036
  Box,
16037
16037
  {
16038
16038
  className: cn(
16039
- "border-2 border-[var(--color-border)] bg-[var(--color-card)]",
16039
+ "border-2 border-border bg-card",
16040
16040
  colSpanStyles[cell.colSpan ?? 1],
16041
16041
  rowSpanStyles[cell.rowSpan ?? 1]
16042
16042
  ),
@@ -16066,11 +16066,11 @@ var DashboardLayout = ({
16066
16066
  const user = userProp || (null);
16067
16067
  const { t } = useTranslate();
16068
16068
  const handleSignOut = onSignOutProp || authSignOut;
16069
- return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "min-h-screen bg-[var(--color-background)] dark:bg-[var(--color-background)]", children: [
16069
+ return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "min-h-screen bg-background dark:bg-background", children: [
16070
16070
  sidebarOpen && /* @__PURE__ */ jsxRuntime.jsx(
16071
16071
  Box,
16072
16072
  {
16073
- className: "fixed inset-0 bg-[var(--color-foreground)]/50 dark:bg-[var(--color-foreground)]/70 z-20 lg:hidden",
16073
+ className: "fixed inset-0 bg-foreground/50 dark:bg-foreground/70 z-20 lg:hidden",
16074
16074
  onClick: () => setSidebarOpen(false)
16075
16075
  }
16076
16076
  ),
@@ -16079,7 +16079,7 @@ var DashboardLayout = ({
16079
16079
  {
16080
16080
  as: "aside",
16081
16081
  className: cn(
16082
- "fixed inset-y-0 left-0 z-30 w-64 bg-[var(--color-card)] dark:bg-[var(--color-card)] border-r border-[var(--color-border)] dark:border-[var(--color-border)]",
16082
+ "fixed inset-y-0 left-0 z-30 w-64 bg-card dark:bg-card border-r border-border dark:border-border",
16083
16083
  "transform transition-transform duration-200 ease-in-out lg:translate-x-0",
16084
16084
  sidebarOpen ? "translate-x-0" : "-translate-x-full"
16085
16085
  ),
@@ -16089,10 +16089,10 @@ var DashboardLayout = ({
16089
16089
  {
16090
16090
  align: "center",
16091
16091
  justify: "between",
16092
- className: "h-16 px-4 border-b border-[var(--color-border)] dark:border-[var(--color-border)]",
16092
+ className: "h-16 px-4 border-b border-border dark:border-border",
16093
16093
  children: [
16094
16094
  /* @__PURE__ */ jsxRuntime.jsxs(reactRouterDom.Link, { to: "/", className: "flex items-center gap-2", children: [
16095
- logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-8 h-8 bg-primary-600 rounded-[var(--radius-lg)] flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
16095
+ logo || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-8 h-8 bg-primary-600 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
16096
16096
  Typography,
16097
16097
  {
16098
16098
  variant: "small",
@@ -16105,7 +16105,7 @@ var DashboardLayout = ({
16105
16105
  Typography,
16106
16106
  {
16107
16107
  variant: "label",
16108
- className: "font-semibold text-[var(--color-foreground)] dark:text-[var(--color-foreground)]",
16108
+ className: "font-semibold text-foreground dark:text-foreground",
16109
16109
  as: "span",
16110
16110
  children: appName
16111
16111
  }
@@ -16115,7 +16115,7 @@ var DashboardLayout = ({
16115
16115
  Button,
16116
16116
  {
16117
16117
  variant: "ghost",
16118
- className: "lg:hidden p-2 rounded-[var(--radius-md)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)] text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)]",
16118
+ className: "lg:hidden p-2 rounded-md hover:bg-muted dark:hover:bg-muted text-muted-foreground dark:text-muted-foreground",
16119
16119
  onClick: () => setSidebarOpen(false),
16120
16120
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-5 w-5" })
16121
16121
  }
@@ -16139,11 +16139,11 @@ var DashboardLayout = ({
16139
16139
  ))
16140
16140
  }
16141
16141
  ),
16142
- sidebarFooter || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "p-4 border-t border-[var(--color-border)] dark:border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsxs(
16142
+ sidebarFooter || /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "p-4 border-t border-border dark:border-border", children: /* @__PURE__ */ jsxRuntime.jsxs(
16143
16143
  reactRouterDom.Link,
16144
16144
  {
16145
16145
  to: "/settings",
16146
- className: "flex items-center gap-3 px-3 py-2 text-sm text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)] rounded-[var(--radius-lg)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)]",
16146
+ className: "flex items-center gap-3 px-3 py-2 text-sm text-muted-foreground dark:text-muted-foreground rounded-lg hover:bg-muted dark:hover:bg-muted",
16147
16147
  children: [
16148
16148
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Settings, { className: "h-5 w-5" }),
16149
16149
  t("common.settings")
@@ -16158,7 +16158,7 @@ var DashboardLayout = ({
16158
16158
  Box,
16159
16159
  {
16160
16160
  as: "header",
16161
- className: "sticky top-0 z-20 h-16 bg-[var(--color-card)] dark:bg-[var(--color-card)] border-b border-[var(--color-border)] dark:border-[var(--color-border)]",
16161
+ className: "sticky top-0 z-20 h-16 bg-card dark:bg-card border-b border-border dark:border-border",
16162
16162
  children: /* @__PURE__ */ jsxRuntime.jsxs(
16163
16163
  HStack,
16164
16164
  {
@@ -16170,14 +16170,14 @@ var DashboardLayout = ({
16170
16170
  Button,
16171
16171
  {
16172
16172
  variant: "ghost",
16173
- className: "lg:hidden p-2 rounded-[var(--radius-md)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)] text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)] touch-manipulation min-h-[44px] min-w-[44px] flex items-center justify-center",
16173
+ className: "lg:hidden p-2 rounded-md hover:bg-muted dark:hover:bg-muted text-muted-foreground dark:text-muted-foreground touch-manipulation min-h-[44px] min-w-[44px] flex items-center justify-center",
16174
16174
  onClick: () => setSidebarOpen(true),
16175
16175
  "aria-label": "Open sidebar",
16176
16176
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Menu, { className: "h-5 w-5" })
16177
16177
  }
16178
16178
  ),
16179
16179
  showSearch && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "hidden sm:block flex-1 max-w-md", children: /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "relative", children: [
16180
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)]" }),
16180
+ /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground dark:text-muted-foreground" }),
16181
16181
  /* @__PURE__ */ jsxRuntime.jsx(
16182
16182
  Input,
16183
16183
  {
@@ -16194,14 +16194,14 @@ var DashboardLayout = ({
16194
16194
  Button,
16195
16195
  {
16196
16196
  variant: "ghost",
16197
- className: "relative p-2 rounded-[var(--radius-full)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)]",
16197
+ className: "relative p-2 rounded-full hover:bg-muted dark:hover:bg-muted",
16198
16198
  children: [
16199
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Bell, { className: "h-5 w-5 text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)]" }),
16199
+ /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Bell, { className: "h-5 w-5 text-muted-foreground dark:text-muted-foreground" }),
16200
16200
  /* @__PURE__ */ jsxRuntime.jsx(
16201
16201
  Box,
16202
16202
  {
16203
16203
  as: "span",
16204
- className: "absolute top-1 right-1 w-2 h-2 bg-[var(--color-error)] rounded-[var(--radius-full)]"
16204
+ className: "absolute top-1 right-1 w-2 h-2 bg-error rounded-full"
16205
16205
  }
16206
16206
  )
16207
16207
  ]
@@ -16212,7 +16212,7 @@ var DashboardLayout = ({
16212
16212
  Button,
16213
16213
  {
16214
16214
  variant: "ghost",
16215
- className: "flex items-center gap-2 p-2 rounded-[var(--radius-lg)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)]",
16215
+ className: "flex items-center gap-2 p-2 rounded-lg hover:bg-muted dark:hover:bg-muted",
16216
16216
  onClick: () => setUserMenuOpen(!userMenuOpen),
16217
16217
  children: [
16218
16218
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -16228,12 +16228,12 @@ var DashboardLayout = ({
16228
16228
  Typography,
16229
16229
  {
16230
16230
  variant: "small",
16231
- className: "hidden sm:block text-sm font-medium text-[var(--color-foreground)] dark:text-[var(--color-foreground)]",
16231
+ className: "hidden sm:block text-sm font-medium text-foreground dark:text-foreground",
16232
16232
  as: "span",
16233
16233
  children: user.name
16234
16234
  }
16235
16235
  ),
16236
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "hidden sm:block h-4 w-4 text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)]" })
16236
+ /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "hidden sm:block h-4 w-4 text-muted-foreground dark:text-muted-foreground" })
16237
16237
  ]
16238
16238
  }
16239
16239
  ),
@@ -16245,13 +16245,13 @@ var DashboardLayout = ({
16245
16245
  onClick: () => setUserMenuOpen(false)
16246
16246
  }
16247
16247
  ),
16248
- /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "absolute right-0 mt-2 w-48 bg-[var(--color-card)] dark:bg-[var(--color-card)] rounded-[var(--radius-lg)] shadow-[var(--shadow-lg)] border border-[var(--color-border)] dark:border-[var(--color-border)] py-1 z-30", children: [
16249
- /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "px-4 py-2 border-b border-[var(--color-border)] dark:border-[var(--color-border)]", children: [
16248
+ /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "absolute right-0 mt-2 w-48 bg-card dark:bg-card rounded-lg shadow-lg border border-border dark:border-border py-1 z-30", children: [
16249
+ /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "px-4 py-2 border-b border-border dark:border-border", children: [
16250
16250
  /* @__PURE__ */ jsxRuntime.jsx(
16251
16251
  Typography,
16252
16252
  {
16253
16253
  variant: "small",
16254
- className: "text-sm font-medium text-[var(--color-foreground)] dark:text-[var(--color-foreground)]",
16254
+ className: "text-sm font-medium text-foreground dark:text-foreground",
16255
16255
  as: "p",
16256
16256
  children: user.name
16257
16257
  }
@@ -16260,7 +16260,7 @@ var DashboardLayout = ({
16260
16260
  Typography,
16261
16261
  {
16262
16262
  variant: "caption",
16263
- className: "text-xs text-[var(--color-muted-foreground)] dark:text-[var(--color-muted-foreground)]",
16263
+ className: "text-xs text-muted-foreground dark:text-muted-foreground",
16264
16264
  as: "p",
16265
16265
  children: user.email
16266
16266
  }
@@ -16270,7 +16270,7 @@ var DashboardLayout = ({
16270
16270
  reactRouterDom.Link,
16271
16271
  {
16272
16272
  to: "/settings",
16273
- className: "flex items-center gap-2 px-4 py-2 text-sm text-[var(--color-foreground)] dark:text-[var(--color-foreground)] hover:bg-[var(--color-muted)] dark:hover:bg-[var(--color-muted)]",
16273
+ className: "flex items-center gap-2 px-4 py-2 text-sm text-foreground dark:text-foreground hover:bg-muted dark:hover:bg-muted",
16274
16274
  children: [
16275
16275
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Settings, { className: "h-4 w-4" }),
16276
16276
  t("common.settings")
@@ -16285,7 +16285,7 @@ var DashboardLayout = ({
16285
16285
  setUserMenuOpen(false);
16286
16286
  handleSignOut?.();
16287
16287
  },
16288
- className: "w-full flex items-center gap-2 px-4 py-2 text-sm text-[var(--color-error)] dark:text-[var(--color-error)] hover:bg-[var(--color-error)]/10 dark:hover:bg-[var(--color-error)]/20",
16288
+ className: "w-full flex items-center gap-2 px-4 py-2 text-sm text-error dark:text-error hover:bg-error/10 dark:hover:bg-error/20",
16289
16289
  children: [
16290
16290
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.LogOut, { className: "h-4 w-4" }),
16291
16291
  t("auth.signOut")
@@ -16313,15 +16313,15 @@ var NavLink = ({
16313
16313
  const isActive = currentPath === item.href || currentPath.startsWith(item.href + "/");
16314
16314
  const iconClassName = cn(
16315
16315
  "h-5 w-5",
16316
- isActive ? "text-[var(--color-primary-foreground)]" : "text-[var(--color-muted-foreground)]"
16316
+ isActive ? "text-primary-foreground" : "text-muted-foreground"
16317
16317
  );
16318
16318
  return /* @__PURE__ */ jsxRuntime.jsxs(
16319
16319
  reactRouterDom.Link,
16320
16320
  {
16321
16321
  to: item.href,
16322
16322
  className: cn(
16323
- "flex items-center gap-3 px-3 py-2 rounded-[var(--radius-lg)] text-sm font-medium transition-colors",
16324
- isActive ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)] shadow-[var(--shadow-sm)]" : "text-[var(--color-muted-foreground)] hover:bg-[var(--color-muted)] hover:text-[var(--color-foreground)]"
16323
+ "flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors",
16324
+ isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:bg-muted hover:text-foreground"
16325
16325
  ),
16326
16326
  children: [
16327
16327
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, className: iconClassName }) : /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: iconClassName })),
@@ -16464,14 +16464,14 @@ var DataGrid = ({
16464
16464
  const allSelected = allIds.length > 0 && allIds.every((id) => selectedIds.has(id));
16465
16465
  const someSelected = selectedIds.size > 0;
16466
16466
  return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
16467
- selectable && someSelected && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "items-center px-2 py-2 bg-[var(--color-muted)] rounded-[var(--radius-sm)]", children: [
16467
+ selectable && someSelected && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "items-center px-2 py-2 bg-muted rounded-sm", children: [
16468
16468
  /* @__PURE__ */ jsxRuntime.jsx(
16469
16469
  "input",
16470
16470
  {
16471
16471
  type: "checkbox",
16472
16472
  checked: allSelected,
16473
16473
  onChange: toggleAll,
16474
- className: "w-4 h-4 accent-[var(--color-primary)]",
16474
+ className: "w-4 h-4 accent-primary",
16475
16475
  "aria-label": "Select all"
16476
16476
  }
16477
16477
  ),
@@ -16497,12 +16497,12 @@ var DataGrid = ({
16497
16497
  "data-entity-row": true,
16498
16498
  "data-entity-id": id,
16499
16499
  className: cn(
16500
- "bg-[var(--color-card)] rounded-[var(--radius-lg)]",
16501
- "border border-[var(--color-border)]",
16502
- "shadow-[var(--shadow-sm)] hover:shadow-[var(--shadow-hover)]",
16503
- "hover:border-[var(--color-primary)] transition-all",
16500
+ "bg-card rounded-lg",
16501
+ "border border-border",
16502
+ "shadow-sm hover:shadow-lg",
16503
+ "hover:border-primary transition-all",
16504
16504
  "p-4",
16505
- isSelected && "ring-2 ring-[var(--color-primary)] border-[var(--color-primary)]"
16505
+ isSelected && "ring-2 ring-primary border-primary"
16506
16506
  ),
16507
16507
  children: children(itemData, index)
16508
16508
  },
@@ -16516,18 +16516,18 @@ var DataGrid = ({
16516
16516
  "data-entity-row": true,
16517
16517
  "data-entity-id": id,
16518
16518
  className: cn(
16519
- "bg-[var(--color-card)] rounded-[var(--radius-lg)]",
16520
- "border border-[var(--color-border)]",
16521
- "shadow-[var(--shadow-sm)] hover:shadow-[var(--shadow-hover)]",
16522
- "hover:border-[var(--color-primary)] transition-all",
16519
+ "bg-card rounded-lg",
16520
+ "border border-border",
16521
+ "shadow-sm hover:shadow-lg",
16522
+ "hover:border-primary transition-all",
16523
16523
  "flex flex-col",
16524
- isSelected && "ring-2 ring-[var(--color-primary)] border-[var(--color-primary)]"
16524
+ isSelected && "ring-2 ring-primary border-primary"
16525
16525
  ),
16526
16526
  children: [
16527
16527
  imageField && (() => {
16528
16528
  const imgUrl = getNestedValue(itemData, imageField);
16529
16529
  if (!imgUrl || typeof imgUrl !== "string") return null;
16530
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full aspect-video overflow-hidden rounded-t-[var(--radius-lg)]", children: /* @__PURE__ */ jsxRuntime.jsx(
16530
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full aspect-video overflow-hidden rounded-t-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
16531
16531
  "img",
16532
16532
  {
16533
16533
  src: imgUrl,
@@ -16545,13 +16545,13 @@ var DataGrid = ({
16545
16545
  checked: isSelected,
16546
16546
  onChange: () => toggleSelection(id),
16547
16547
  onClick: (e) => e.stopPropagation(),
16548
- className: "w-4 h-4 mt-1 flex-shrink-0 accent-[var(--color-primary)]",
16548
+ className: "w-4 h-4 mt-1 flex-shrink-0 accent-primary",
16549
16549
  "aria-label": `Select ${titleValue !== void 0 ? String(titleValue) : "item"}`
16550
16550
  }
16551
16551
  ),
16552
16552
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", className: "flex-1 min-w-0", children: [
16553
16553
  titleValue !== void 0 && titleValue !== null && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", className: "items-center", children: [
16554
- titleField?.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: titleField.icon, size: "sm", className: "text-[var(--color-primary)] flex-shrink-0" }),
16554
+ titleField?.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: titleField.icon, size: "sm", className: "text-primary flex-shrink-0" }),
16555
16555
  /* @__PURE__ */ jsxRuntime.jsx(
16556
16556
  Typography,
16557
16557
  {
@@ -16577,7 +16577,7 @@ var DataGrid = ({
16577
16577
  size: "sm",
16578
16578
  onClick: handleActionClick(action, itemData),
16579
16579
  "data-testid": `action-${action.event}`,
16580
- className: "text-[var(--color-error)] hover:bg-[var(--color-error)]/10 px-2",
16580
+ className: "text-error hover:bg-error/10 px-2",
16581
16581
  children: [
16582
16582
  action.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: action.icon, size: "xs" }),
16583
16583
  action.label
@@ -16592,7 +16592,7 @@ var DataGrid = ({
16592
16592
  if (field.format === "boolean") {
16593
16593
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "justify-between items-center", children: [
16594
16594
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", className: "items-center", children: [
16595
- field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-[var(--color-muted-foreground)]" }),
16595
+ field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-muted-foreground" }),
16596
16596
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", color: "secondary", children: field.label ?? fieldLabel2(field.name) })
16597
16597
  ] }),
16598
16598
  /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: value ? "success" : "neutral", children: value ? t("common.yes") || "Yes" : t("common.no") || "No" })
@@ -16600,7 +16600,7 @@ var DataGrid = ({
16600
16600
  }
16601
16601
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "justify-between items-center", children: [
16602
16602
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", className: "items-center", children: [
16603
- field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-[var(--color-muted-foreground)]" }),
16603
+ field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-muted-foreground" }),
16604
16604
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", color: "secondary", children: field.label ?? fieldLabel2(field.name) })
16605
16605
  ] }),
16606
16606
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -16613,7 +16613,7 @@ var DataGrid = ({
16613
16613
  )
16614
16614
  ] }, field.name);
16615
16615
  }) }) }),
16616
- primaryActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 mt-auto border-t border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", className: "justify-end", children: primaryActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
16616
+ primaryActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 mt-auto border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", className: "justify-end", children: primaryActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
16617
16617
  Button,
16618
16618
  {
16619
16619
  variant: action.variant === "primary" ? "primary" : "ghost",
@@ -16793,7 +16793,7 @@ var DataList = ({
16793
16793
  {
16794
16794
  className: cn(
16795
16795
  "max-w-[75%] px-4 py-2",
16796
- isSent ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)] rounded-2xl rounded-br-sm" : "bg-[var(--color-muted)] text-[var(--color-foreground)] rounded-2xl rounded-bl-sm"
16796
+ isSent ? "bg-primary text-primary-foreground rounded-2xl rounded-br-sm" : "bg-muted text-foreground rounded-2xl rounded-bl-sm"
16797
16797
  ),
16798
16798
  children: [
16799
16799
  !isSent && senderField && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "font-semibold mb-0.5", children: sender }),
@@ -16804,7 +16804,7 @@ var DataList = ({
16804
16804
  variant: "caption",
16805
16805
  className: cn(
16806
16806
  "mt-1 text-[0.65rem]",
16807
- isSent ? "opacity-70" : "text-[var(--color-muted-foreground)]"
16807
+ isSent ? "opacity-70" : "text-muted-foreground"
16808
16808
  ),
16809
16809
  children: formatDate3(timestamp)
16810
16810
  }
@@ -16831,8 +16831,8 @@ var DataList = ({
16831
16831
  className: cn(
16832
16832
  "group flex items-center gap-4 transition-all duration-200",
16833
16833
  isCompact ? "px-4 py-2" : "px-6 py-4",
16834
- "hover:bg-[var(--color-muted)]/80",
16835
- !isCard && !isCompact && "rounded-[var(--radius-lg)] border border-transparent hover:border-[var(--color-border)]"
16834
+ "hover:bg-muted/80",
16835
+ !isCard && !isCompact && "rounded-lg border border-transparent hover:border-border"
16836
16836
  ),
16837
16837
  children: [
16838
16838
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 min-w-0", children: children(itemData, index) }),
@@ -16852,7 +16852,7 @@ var DataList = ({
16852
16852
  onClick: handleActionClick(action, itemData),
16853
16853
  "data-testid": `action-${action.event}`,
16854
16854
  className: cn(
16855
- action.variant === "danger" && "text-[var(--color-error)] hover:bg-[var(--color-error)]/10"
16855
+ action.variant === "danger" && "text-error hover:bg-error/10"
16856
16856
  ),
16857
16857
  children: [
16858
16858
  action.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
@@ -16866,7 +16866,7 @@ var DataList = ({
16866
16866
  ]
16867
16867
  }
16868
16868
  ),
16869
- isCard && !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mx-6 border-b border-[var(--color-border)]/40" })
16869
+ isCard && !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mx-6 border-b border-border/40" })
16870
16870
  ] }, id2);
16871
16871
  }
16872
16872
  const id = itemData.id || String(index);
@@ -16878,8 +16878,8 @@ var DataList = ({
16878
16878
  className: cn(
16879
16879
  "group flex items-center gap-4 transition-all duration-200",
16880
16880
  isCompact ? "px-4 py-2" : "px-6 py-4",
16881
- "hover:bg-[var(--color-muted)]/80",
16882
- !isCard && !isCompact && "rounded-[var(--radius-lg)] border border-transparent hover:border-[var(--color-border)]"
16881
+ "hover:bg-muted/80",
16882
+ !isCard && !isCompact && "rounded-lg border border-transparent hover:border-border"
16883
16883
  ),
16884
16884
  children: [
16885
16885
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex-1 min-w-0", children: [
@@ -16889,7 +16889,7 @@ var DataList = ({
16889
16889
  {
16890
16890
  name: titleField.icon,
16891
16891
  size: isCompact ? "xs" : "sm",
16892
- className: "text-[var(--color-primary)] flex-shrink-0"
16892
+ className: "text-primary flex-shrink-0"
16893
16893
  }
16894
16894
  ),
16895
16895
  titleValue !== void 0 && titleValue !== null && /* @__PURE__ */ jsxRuntime.jsx(
@@ -16913,7 +16913,7 @@ var DataList = ({
16913
16913
  const value = getNestedValue(itemData, field.name);
16914
16914
  if (value === void 0 || value === null || value === "") return null;
16915
16915
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", className: "items-center", children: [
16916
- field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-[var(--color-muted-foreground)]" }),
16916
+ field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-muted-foreground" }),
16917
16917
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", color: "secondary", children: [
16918
16918
  field.label ?? fieldLabel3(field.name),
16919
16919
  ":"
@@ -16926,7 +16926,7 @@ var DataList = ({
16926
16926
  if (typeof value !== "number") return null;
16927
16927
  return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "mt-2 max-w-xs", children: [
16928
16928
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", className: "items-center mb-1", children: [
16929
- field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-[var(--color-muted-foreground)]" }),
16929
+ field.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: field.icon, size: "xs", className: "text-muted-foreground" }),
16930
16930
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", color: "secondary", children: field.label ?? fieldLabel3(field.name) })
16931
16931
  ] }),
16932
16932
  /* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { value, max: 100 })
@@ -16949,7 +16949,7 @@ var DataList = ({
16949
16949
  onClick: handleActionClick(action, itemData),
16950
16950
  "data-testid": `action-${action.event}`,
16951
16951
  className: cn(
16952
- action.variant === "danger" && "text-[var(--color-error)] hover:bg-[var(--color-error)]/10"
16952
+ action.variant === "danger" && "text-error hover:bg-error/10"
16953
16953
  ),
16954
16954
  children: [
16955
16955
  action.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
@@ -16963,14 +16963,14 @@ var DataList = ({
16963
16963
  ]
16964
16964
  }
16965
16965
  ),
16966
- isCard && !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mx-6 border-b border-[var(--color-border)]/40" })
16966
+ isCard && !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mx-6 border-b border-border/40" })
16967
16967
  ] }, id);
16968
16968
  };
16969
16969
  return /* @__PURE__ */ jsxRuntime.jsxs(
16970
16970
  Box,
16971
16971
  {
16972
16972
  className: cn(
16973
- isCard && "bg-[var(--color-card)] rounded-[var(--radius-xl)] border border-[var(--color-border)] shadow-[var(--shadow-lg)] overflow-hidden",
16973
+ isCard && "bg-card rounded-xl border border-border shadow-lg overflow-hidden",
16974
16974
  !isCard && gapClass,
16975
16975
  className
16976
16976
  ),
@@ -17091,9 +17091,9 @@ var FilterGroup = ({
17091
17091
  const activeFilterCount = Object.keys(selectedValues).length;
17092
17092
  if (variant === "pills") {
17093
17093
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
17094
- showIcon && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4 text-[var(--color-muted-foreground)]" }),
17094
+ showIcon && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4 text-muted-foreground" }),
17095
17095
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
17096
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-[var(--font-weight-medium)] text-[var(--color-muted-foreground)]", children: [
17096
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-[var(--font-weight-medium)] text-muted-foreground", children: [
17097
17097
  filter.label,
17098
17098
  ":"
17099
17099
  ] }),
@@ -17101,7 +17101,7 @@ var FilterGroup = ({
17101
17101
  HStack,
17102
17102
  {
17103
17103
  gap: "none",
17104
- className: "rounded-[var(--radius-sm)] overflow-hidden border-[length:var(--border-width)] border-[var(--color-border)]",
17104
+ className: "rounded-sm overflow-hidden border-[length:var(--border-width)] border-border",
17105
17105
  children: [
17106
17106
  /* @__PURE__ */ jsxRuntime.jsx(
17107
17107
  "button",
@@ -17110,7 +17110,7 @@ var FilterGroup = ({
17110
17110
  onClick: () => handleFilterSelect(filter.field, null),
17111
17111
  className: cn(
17112
17112
  "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
17113
- !selectedValues[filter.field] ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]" : "bg-[var(--color-card)] text-[var(--color-muted-foreground)] hover:bg-[var(--color-muted)]"
17113
+ !selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
17114
17114
  ),
17115
17115
  children: "All"
17116
17116
  }
@@ -17122,8 +17122,8 @@ var FilterGroup = ({
17122
17122
  onClick: () => handleFilterSelect(filter.field, option),
17123
17123
  className: cn(
17124
17124
  "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
17125
- "border-l-[length:var(--border-width)] border-[var(--color-border)]",
17126
- selectedValues[filter.field] === option ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]" : "bg-[var(--color-card)] text-[var(--color-muted-foreground)] hover:bg-[var(--color-muted)]"
17125
+ "border-l-[length:var(--border-width)] border-border",
17126
+ selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
17127
17127
  ),
17128
17128
  children: option
17129
17129
  },
@@ -17147,12 +17147,12 @@ var FilterGroup = ({
17147
17147
  }
17148
17148
  if (variant === "vertical") {
17149
17149
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
17150
- showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-[var(--color-muted-foreground)]", children: [
17150
+ showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
17151
17151
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4" }),
17152
17152
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
17153
17153
  ] }),
17154
17154
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
17155
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-[var(--color-muted-foreground)] uppercase tracking-wide", children: filter.label }),
17155
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
17156
17156
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
17157
17157
  Input,
17158
17158
  {
@@ -17221,7 +17221,7 @@ var FilterGroup = ({
17221
17221
  }
17222
17222
  if (variant === "compact") {
17223
17223
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "center", className: cn("flex-wrap", className), children: [
17224
- showIcon && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4 text-[var(--color-muted-foreground)]" }),
17224
+ showIcon && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4 text-muted-foreground" }),
17225
17225
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
17226
17226
  Input,
17227
17227
  {
@@ -17245,7 +17245,7 @@ var FilterGroup = ({
17245
17245
  className: "text-sm min-w-[100px]"
17246
17246
  }
17247
17247
  ),
17248
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[var(--color-muted-foreground)]", children: "-" }),
17248
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "-" }),
17249
17249
  /* @__PURE__ */ jsxRuntime.jsx(
17250
17250
  Input,
17251
17251
  {
@@ -17301,9 +17301,9 @@ var FilterGroup = ({
17301
17301
  "div",
17302
17302
  {
17303
17303
  className: cn(
17304
- "p-4 rounded-[var(--radius-md)]",
17305
- "bg-[var(--color-card)]",
17306
- "border-[length:var(--border-width)] border-[var(--color-border)]",
17304
+ "p-4 rounded-md",
17305
+ "bg-card",
17306
+ "border-[length:var(--border-width)] border-border",
17307
17307
  className
17308
17308
  ),
17309
17309
  children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
@@ -17312,7 +17312,7 @@ var FilterGroup = ({
17312
17312
  {
17313
17313
  gap: "xs",
17314
17314
  align: "center",
17315
- className: "text-[var(--color-muted-foreground)]",
17315
+ className: "text-muted-foreground",
17316
17316
  children: [
17317
17317
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Filter, { className: "h-4 w-4" }),
17318
17318
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
@@ -17320,7 +17320,7 @@ var FilterGroup = ({
17320
17320
  }
17321
17321
  ),
17322
17322
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
17323
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-[var(--color-muted-foreground)] uppercase tracking-wide", children: filter.label }),
17323
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
17324
17324
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
17325
17325
  Input,
17326
17326
  {
@@ -17347,7 +17347,7 @@ var FilterGroup = ({
17347
17347
  className: "min-w-[130px]"
17348
17348
  }
17349
17349
  ),
17350
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[var(--color-muted-foreground)]", children: "-" }),
17350
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "-" }),
17351
17351
  /* @__PURE__ */ jsxRuntime.jsx(
17352
17352
  Input,
17353
17353
  {
@@ -17493,8 +17493,8 @@ var InputGroup = ({
17493
17493
  {
17494
17494
  className: cn(
17495
17495
  "flex items-center justify-center px-3",
17496
- "bg-[var(--color-muted)] dark:bg-[var(--color-muted)]",
17497
- "border border-[var(--color-border)] dark:border-[var(--color-border)]",
17496
+ "bg-muted dark:bg-muted",
17497
+ "border border-border dark:border-border",
17498
17498
  position === "left" ? "rounded-l-lg border-r-0" : "rounded-r-lg border-l-0"
17499
17499
  ),
17500
17500
  children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: addon, size: "sm" })
@@ -17506,9 +17506,9 @@ var InputGroup = ({
17506
17506
  {
17507
17507
  className: cn(
17508
17508
  "flex items-center justify-center px-3",
17509
- "bg-[var(--color-muted)] dark:bg-[var(--color-muted)]",
17510
- "border border-[var(--color-border)] dark:border-[var(--color-border)]",
17511
- "text-[var(--color-foreground)] dark:text-[var(--color-foreground)]",
17509
+ "bg-muted dark:bg-muted",
17510
+ "border border-border dark:border-border",
17511
+ "text-foreground dark:text-foreground",
17512
17512
  position === "left" ? "rounded-l-lg border-r-0" : "rounded-r-lg border-l-0"
17513
17513
  ),
17514
17514
  children: typeof addon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", children: addon }) : addon
@@ -17674,7 +17674,7 @@ var RelationSelect = ({
17674
17674
  {
17675
17675
  variant: "body",
17676
17676
  className: cn(
17677
- !selectedOption && "text-[var(--color-muted-foreground)]"
17677
+ !selectedOption && "text-muted-foreground"
17678
17678
  ),
17679
17679
  children: isLoading ? /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
17680
17680
  /* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "sm" }),
@@ -17687,16 +17687,16 @@ var RelationSelect = ({
17687
17687
  Box,
17688
17688
  {
17689
17689
  as: "button",
17690
- className: "p-0.5 hover:bg-[var(--color-muted)] rounded cursor-pointer",
17690
+ className: "p-0.5 hover:bg-muted rounded cursor-pointer",
17691
17691
  onClick: handleClear,
17692
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4 text-[var(--color-muted-foreground)]" })
17692
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4 text-muted-foreground" })
17693
17693
  }
17694
17694
  ),
17695
17695
  /* @__PURE__ */ jsxRuntime.jsx(
17696
17696
  LucideIcons.ChevronDown,
17697
17697
  {
17698
17698
  className: cn(
17699
- "h-4 w-4 text-[var(--color-muted-foreground)] transition-transform",
17699
+ "h-4 w-4 text-muted-foreground transition-transform",
17700
17700
  isOpen && "transform rotate-180"
17701
17701
  )
17702
17702
  }
@@ -17715,7 +17715,7 @@ var RelationSelect = ({
17715
17715
  shadow: "lg",
17716
17716
  className: "z-50 w-full mt-1",
17717
17717
  children: [
17718
- /* @__PURE__ */ jsxRuntime.jsx(Box, { padding: "sm", className: "border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(
17718
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { padding: "sm", className: "border-b border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
17719
17719
  Input,
17720
17720
  {
17721
17721
  ref: searchInputRef,
@@ -17744,7 +17744,7 @@ var RelationSelect = ({
17744
17744
  paddingX: "sm",
17745
17745
  paddingY: "sm",
17746
17746
  className: cn(
17747
- "text-left text-sm hover:bg-[var(--color-muted)] focus:outline-none focus:bg-[var(--color-muted)]",
17747
+ "text-left text-sm hover:bg-muted focus:outline-none focus:bg-muted",
17748
17748
  option.value === value && "bg-primary-50 text-primary-700",
17749
17749
  option.disabled && "opacity-50 cursor-not-allowed"
17750
17750
  ),
@@ -17883,8 +17883,8 @@ var SidePanel = ({
17883
17883
  {
17884
17884
  className: cn(
17885
17885
  "fixed top-16 lg:top-0 bottom-0 z-[60]",
17886
- "bg-[var(--color-card)]",
17887
- "border-l-2 border-[var(--color-border)]",
17886
+ "bg-card",
17887
+ "border-l-2 border-border",
17888
17888
  position === "left" && "border-l-0 border-r-2",
17889
17889
  "flex flex-col",
17890
17890
  "transition-transform duration-300 ease-in-out",
@@ -17893,7 +17893,7 @@ var SidePanel = ({
17893
17893
  className
17894
17894
  ),
17895
17895
  children: [
17896
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between p-4 border-b-2 border-[var(--color-border)] sticky top-0 bg-[var(--color-card)] z-10", children: [
17896
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between p-4 border-b-2 border-border sticky top-0 bg-card z-10", children: [
17897
17897
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h6", children: title }),
17898
17898
  /* @__PURE__ */ jsxRuntime.jsx(
17899
17899
  Button,
@@ -17937,7 +17937,7 @@ var WizardProgress = ({
17937
17937
  {
17938
17938
  border: true,
17939
17939
  className: cn(
17940
- "border-b-2 border-x-0 border-t-0 border-[var(--color-border)]",
17940
+ "border-b-2 border-x-0 border-t-0 border-border",
17941
17941
  compact ? "px-4 py-2" : "px-6 py-4",
17942
17942
  className
17943
17943
  ),
@@ -17952,11 +17952,11 @@ var WizardProgress = ({
17952
17952
  disabled: !isCompleted || !allowNavigation,
17953
17953
  className: cn(
17954
17954
  "flex items-center justify-center text-sm font-bold transition-colors",
17955
- "border-2 border-[var(--color-border)]",
17955
+ "border-2 border-border",
17956
17956
  compact ? "w-6 h-6" : "w-8 h-8",
17957
- isActive && "bg-[var(--color-foreground)] text-[var(--color-background)]",
17958
- isCompleted && "bg-[var(--color-foreground)] text-[var(--color-background)] cursor-pointer hover:bg-[var(--color-muted-foreground)]",
17959
- !isActive && !isCompleted && "bg-[var(--color-card)] text-[var(--color-foreground)]"
17957
+ isActive && "bg-foreground text-background",
17958
+ isCompleted && "bg-foreground text-background cursor-pointer hover:bg-muted-foreground",
17959
+ !isActive && !isCompleted && "bg-card text-foreground"
17960
17960
  ),
17961
17961
  children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Check, size: "sm" }) : index + 1
17962
17962
  }
@@ -17966,7 +17966,7 @@ var WizardProgress = ({
17966
17966
  {
17967
17967
  className: cn(
17968
17968
  "hidden md:block",
17969
- isActive ? "text-[var(--color-foreground)] font-bold" : "text-[var(--color-muted-foreground)]"
17969
+ isActive ? "text-foreground font-bold" : "text-muted-foreground"
17970
17970
  ),
17971
17971
  children: /* @__PURE__ */ jsxRuntime.jsx(
17972
17972
  Typography,
@@ -17983,7 +17983,7 @@ var WizardProgress = ({
17983
17983
  {
17984
17984
  className: cn(
17985
17985
  "flex-1 h-0.5",
17986
- index < currentStep ? "bg-[var(--color-foreground)]" : "bg-[var(--color-muted)]"
17986
+ index < currentStep ? "bg-foreground" : "bg-muted"
17987
17987
  )
17988
17988
  }
17989
17989
  )
@@ -18055,7 +18055,7 @@ var WizardNavigation = ({
18055
18055
  {
18056
18056
  border: true,
18057
18057
  className: cn(
18058
- "border-t-2 border-x-0 border-b-0 border-[var(--color-border)] flex justify-between items-center",
18058
+ "border-t-2 border-x-0 border-b-0 border-border flex justify-between items-center",
18059
18059
  compact ? "px-4 py-2" : "px-6 py-4",
18060
18060
  className
18061
18061
  ),
@@ -18154,7 +18154,7 @@ var RepeatableFormSection = ({
18154
18154
  {
18155
18155
  justify: "between",
18156
18156
  align: "center",
18157
- className: "pb-2 border-b border-[var(--color-border)]",
18157
+ className: "pb-2 border-b border-border",
18158
18158
  children: [
18159
18159
  /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", align: "center", children: item.addedInState && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", color: "muted", children: [
18160
18160
  "Added in:",
@@ -18174,7 +18174,7 @@ var RepeatableFormSection = ({
18174
18174
  }
18175
18175
  ),
18176
18176
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "start", children: [
18177
- allowReorder && !readOnly && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "pt-2 cursor-move text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "grip-vertical", size: "md" }) }),
18177
+ allowReorder && !readOnly && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "pt-2 cursor-move text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "grip-vertical", size: "md" }) }),
18178
18178
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1", children: renderItem(item, index) }),
18179
18179
  canRemove && /* @__PURE__ */ jsxRuntime.jsx(
18180
18180
  Button,
@@ -18182,7 +18182,7 @@ var RepeatableFormSection = ({
18182
18182
  variant: "ghost",
18183
18183
  size: "sm",
18184
18184
  onClick: () => handleRemove(item.id, index),
18185
- className: "text-[var(--color-error)] hover:text-[var(--color-error)] hover:bg-[var(--color-error)]/10",
18185
+ className: "text-error hover:text-error hover:bg-error/10",
18186
18186
  children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "trash-2", size: "sm" })
18187
18187
  }
18188
18188
  )
@@ -18225,15 +18225,15 @@ var ViolationAlert = ({
18225
18225
  actionType: "measure"
18226
18226
  };
18227
18227
  const effectiveSeverity = severity ?? (resolvedViolation.actionType === "measure" ? "warning" : "error");
18228
- const bgColor = effectiveSeverity === "warning" ? "bg-[var(--color-warning)]/10 border-[var(--color-warning)]/30" : "bg-[var(--color-error)]/10 border-[var(--color-error)]/30";
18229
- const textColor = effectiveSeverity === "warning" ? "text-[var(--color-warning)]" : "text-[var(--color-error)]";
18230
- const iconColor = effectiveSeverity === "warning" ? "text-[var(--color-warning)]" : "text-[var(--color-error)]";
18228
+ const bgColor = effectiveSeverity === "warning" ? "bg-warning/10 border-warning/30" : "bg-error/10 border-error/30";
18229
+ const textColor = effectiveSeverity === "warning" ? "text-warning" : "text-error";
18230
+ const iconColor = effectiveSeverity === "warning" ? "text-warning" : "text-error";
18231
18231
  if (compact) {
18232
18232
  return /* @__PURE__ */ jsxRuntime.jsx(
18233
18233
  Box,
18234
18234
  {
18235
18235
  className: cn(
18236
- "px-3 py-2 rounded-[var(--radius-md)] border",
18236
+ "px-3 py-2 rounded-md border",
18237
18237
  bgColor,
18238
18238
  className
18239
18239
  ),
@@ -18280,7 +18280,7 @@ var ViolationAlert = ({
18280
18280
  Box,
18281
18281
  {
18282
18282
  className: cn(
18283
- "p-4 rounded-[var(--radius-lg)] border",
18283
+ "p-4 rounded-lg border",
18284
18284
  bgColor,
18285
18285
  className
18286
18286
  ),
@@ -18328,7 +18328,7 @@ var ViolationAlert = ({
18328
18328
  {
18329
18329
  className: cn(
18330
18330
  "pt-2 border-t",
18331
- effectiveSeverity === "warning" ? "border-[var(--color-warning)]/30" : "border-[var(--color-error)]/30"
18331
+ effectiveSeverity === "warning" ? "border-warning/30" : "border-error/30"
18332
18332
  ),
18333
18333
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", children: [
18334
18334
  resolvedViolation.adminAction && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
@@ -18409,7 +18409,7 @@ var FormSectionHeader = ({
18409
18409
  Box,
18410
18410
  {
18411
18411
  className: cn(
18412
- "px-4 py-3 bg-[var(--color-muted)] rounded-t-lg",
18412
+ "px-4 py-3 bg-muted rounded-t-lg",
18413
18413
  isClickable && "cursor-pointer hover:bg-[var(--color-surface-hover)] transition-colors",
18414
18414
  className
18415
18415
  ),
@@ -18421,7 +18421,7 @@ var FormSectionHeader = ({
18421
18421
  {
18422
18422
  name: icon,
18423
18423
  size: "md",
18424
- className: "text-[var(--color-muted-foreground)]"
18424
+ className: "text-muted-foreground"
18425
18425
  }
18426
18426
  ),
18427
18427
  statusIcon && /* @__PURE__ */ jsxRuntime.jsx(
@@ -18429,7 +18429,7 @@ var FormSectionHeader = ({
18429
18429
  {
18430
18430
  name: statusIcon,
18431
18431
  size: "md",
18432
- className: hasErrors ? "text-[var(--color-error)]" : "text-[var(--color-success)]"
18432
+ className: hasErrors ? "text-error" : "text-success"
18433
18433
  }
18434
18434
  ),
18435
18435
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { children: [
@@ -18445,7 +18445,7 @@ var FormSectionHeader = ({
18445
18445
  name: "chevron-down",
18446
18446
  size: "md",
18447
18447
  className: cn(
18448
- "text-[var(--color-muted-foreground)] transition-transform",
18448
+ "text-muted-foreground transition-transform",
18449
18449
  isCollapsed && "-rotate-90"
18450
18450
  )
18451
18451
  }
@@ -18563,7 +18563,7 @@ var LineChart2 = ({
18563
18563
  return `${linePath} L ${last.x} ${bottom} L ${first.x} ${bottom} Z`;
18564
18564
  }, [linePath, points, height, showArea]);
18565
18565
  if (safeData.length === 0) {
18566
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("flex items-center justify-center text-[var(--color-muted-foreground)]", className), style: { width, height }, children: "No data" });
18566
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("flex items-center justify-center text-muted-foreground", className), style: { width, height }, children: "No data" });
18567
18567
  }
18568
18568
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn(className), children: /* @__PURE__ */ jsxRuntime.jsxs(
18569
18569
  "svg",
@@ -20455,13 +20455,13 @@ var GraphView = ({
20455
20455
  [onNodeClick]
20456
20456
  );
20457
20457
  if (nodes.length === 0) {
20458
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("flex items-center justify-center", className), style: { width: w, height: h }, children: /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "text-[var(--color-muted-foreground)] text-sm", children: "No graph data" }) });
20458
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("flex items-center justify-center", className), style: { width: w, height: h }, children: /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "text-muted-foreground text-sm", children: "No graph data" }) });
20459
20459
  }
20460
20460
  return /* @__PURE__ */ jsxRuntime.jsx(
20461
20461
  Box,
20462
20462
  {
20463
20463
  ref: containerRef,
20464
- className: cn("relative overflow-hidden rounded-lg border border-[var(--color-border)] bg-[var(--color-card)]", className),
20464
+ className: cn("relative overflow-hidden rounded-lg border border-border bg-card", className),
20465
20465
  style: { width: propWidth ?? "100%", height: h },
20466
20466
  children: /* @__PURE__ */ jsxRuntime.jsxs(
20467
20467
  "svg",
@@ -20646,9 +20646,9 @@ var NumberStepper = ({
20646
20646
  {
20647
20647
  className: cn(
20648
20648
  "inline-flex items-center",
20649
- "rounded-[var(--radius-sm)]",
20650
- "border-[length:var(--border-width)] border-[var(--color-border)]",
20651
- "bg-[var(--color-surface)]",
20649
+ "rounded-sm",
20650
+ "border-[length:var(--border-width)] border-border",
20651
+ "bg-surface",
20652
20652
  disabled && "opacity-50 cursor-not-allowed",
20653
20653
  className
20654
20654
  ),
@@ -20668,13 +20668,13 @@ var NumberStepper = ({
20668
20668
  disabled: disabled || isAtMin,
20669
20669
  className: cn(
20670
20670
  "inline-flex items-center justify-center",
20671
- "rounded-l-[var(--radius-sm)]",
20672
- "text-[var(--color-foreground)]",
20673
- "hover:bg-[var(--color-muted)]",
20674
- "active:bg-[var(--color-muted)]",
20671
+ "rounded-l-sm",
20672
+ "text-foreground",
20673
+ "hover:bg-muted",
20674
+ "active:bg-muted",
20675
20675
  "transition-colors duration-100",
20676
20676
  "disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent",
20677
- "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-inset",
20677
+ "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-inset",
20678
20678
  styles.button
20679
20679
  ),
20680
20680
  "aria-label": "Decrease",
@@ -20686,8 +20686,8 @@ var NumberStepper = ({
20686
20686
  {
20687
20687
  className: cn(
20688
20688
  "text-center font-medium tabular-nums",
20689
- "text-[var(--color-foreground)]",
20690
- "border-x-[length:var(--border-width)] border-[var(--color-border)]",
20689
+ "text-foreground",
20690
+ "border-x-[length:var(--border-width)] border-border",
20691
20691
  "px-1 select-none",
20692
20692
  styles.text
20693
20693
  ),
@@ -20709,13 +20709,13 @@ var NumberStepper = ({
20709
20709
  disabled: disabled || isAtMax,
20710
20710
  className: cn(
20711
20711
  "inline-flex items-center justify-center",
20712
- "rounded-r-[var(--radius-sm)]",
20713
- "text-[var(--color-foreground)]",
20714
- "hover:bg-[var(--color-muted)]",
20715
- "active:bg-[var(--color-muted)]",
20712
+ "rounded-r-sm",
20713
+ "text-foreground",
20714
+ "hover:bg-muted",
20715
+ "active:bg-muted",
20716
20716
  "transition-colors duration-100",
20717
20717
  "disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent",
20718
- "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-inset",
20718
+ "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-inset",
20719
20719
  styles.button
20720
20720
  ),
20721
20721
  "aria-label": "Increase",
@@ -20826,7 +20826,7 @@ var StarRating = ({
20826
20826
  {
20827
20827
  className: cn(
20828
20828
  styles.star,
20829
- "text-[var(--color-muted)]",
20829
+ "text-muted",
20830
20830
  "transition-colors duration-100"
20831
20831
  ),
20832
20832
  strokeWidth: 1.5
@@ -20838,7 +20838,7 @@ var StarRating = ({
20838
20838
  className: cn(
20839
20839
  styles.star,
20840
20840
  "absolute inset-0",
20841
- "text-[var(--color-warning)] fill-[var(--color-warning)]",
20841
+ "text-warning fill-warning",
20842
20842
  "transition-colors duration-100"
20843
20843
  ),
20844
20844
  strokeWidth: 1.5,
@@ -20979,14 +20979,14 @@ var UploadDropZone = ({
20979
20979
  {
20980
20980
  className: cn(
20981
20981
  "relative flex flex-col items-center justify-center",
20982
- "p-8 rounded-[var(--radius-sm)]",
20982
+ "p-8 rounded-sm",
20983
20983
  "border-2 border-dashed",
20984
20984
  "transition-colors duration-150",
20985
20985
  "cursor-pointer",
20986
- isDragOver ? "border-[var(--color-primary)] bg-[var(--color-primary)] bg-opacity-5" : "border-[var(--color-border)] bg-[var(--color-surface)]",
20987
- error && "border-[var(--color-error)]",
20986
+ isDragOver ? "border-primary bg-primary bg-opacity-5" : "border-border bg-surface",
20987
+ error && "border-error",
20988
20988
  disabled && "opacity-50 cursor-not-allowed",
20989
- "hover:border-[var(--color-primary)] hover:bg-[var(--color-muted)]",
20989
+ "hover:border-primary hover:bg-muted",
20990
20990
  className
20991
20991
  ),
20992
20992
  onDragOver: handleDragOver,
@@ -21016,7 +21016,7 @@ var UploadDropZone = ({
21016
21016
  "aria-hidden": "true"
21017
21017
  }
21018
21018
  ),
21019
- error ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.FileWarning, size: "lg", className: "text-[var(--color-error)] mb-2" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Upload, size: "lg", className: "text-[var(--color-muted-foreground)] mb-2" }),
21019
+ error ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.FileWarning, size: "lg", className: "text-error mb-2" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Upload, size: "lg", className: "text-muted-foreground mb-2" }),
21020
21020
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body1", className: "text-center font-medium mb-1", children: isDragOver ? "Drop files here" : label }),
21021
21021
  error ? /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", color: "error", className: "text-center", children: error }) : /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", color: "muted", className: "text-center", children: description ?? defaultDescription })
21022
21022
  ]
@@ -21232,20 +21232,20 @@ function formatValue3(value, format, max) {
21232
21232
  return formatted;
21233
21233
  }
21234
21234
  var variantColor = {
21235
- default: "text-[var(--color-foreground)]",
21236
- primary: "text-[var(--color-primary)]",
21237
- success: "text-[var(--color-success)]",
21238
- warning: "text-[var(--color-warning)]",
21239
- error: "text-[var(--color-error)]",
21240
- info: "text-[var(--color-info)]"
21235
+ default: "text-foreground",
21236
+ primary: "text-primary",
21237
+ success: "text-success",
21238
+ warning: "text-warning",
21239
+ error: "text-error",
21240
+ info: "text-info"
21241
21241
  };
21242
21242
  var StatDisplay = ({
21243
21243
  label,
21244
21244
  value,
21245
21245
  max,
21246
21246
  icon: iconProp,
21247
- iconBg = "bg-[var(--color-muted)]",
21248
- iconColor = "text-[var(--color-foreground)]",
21247
+ iconBg = "bg-muted",
21248
+ iconColor = "text-foreground",
21249
21249
  format,
21250
21250
  size = "md",
21251
21251
  variant = "default",
@@ -21264,8 +21264,8 @@ var StatDisplay = ({
21264
21264
  }
21265
21265
  if (isLoading) {
21266
21266
  return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn(padSizes[size], className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", className: "animate-pulse", children: [
21267
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-3 bg-[var(--color-muted)] rounded w-16" }),
21268
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-6 bg-[var(--color-muted)] rounded w-12" })
21267
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-3 bg-muted rounded w-16" }),
21268
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-6 bg-muted rounded w-12" })
21269
21269
  ] }) });
21270
21270
  }
21271
21271
  if (compact) {
@@ -21281,7 +21281,7 @@ var StatDisplay = ({
21281
21281
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "overline", color: "secondary", children: label }),
21282
21282
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", className: cn("font-bold", valueSizes[size], variantColor[variant]), children: displayValue })
21283
21283
  ] }),
21284
- (ResolvedIcon || typeof iconProp !== "string" && iconProp) && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("p-3 rounded-[var(--radius-md)]", iconBg), children: ResolvedIcon ? /* @__PURE__ */ jsxRuntime.jsx(ResolvedIcon, { className: cn(iconSizes2[size], iconColor) }) : iconProp })
21284
+ (ResolvedIcon || typeof iconProp !== "string" && iconProp) && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn("p-3 rounded-md", iconBg), children: ResolvedIcon ? /* @__PURE__ */ jsxRuntime.jsx(ResolvedIcon, { className: cn(iconSizes2[size], iconColor) }) : iconProp })
21285
21285
  ] }) });
21286
21286
  };
21287
21287
  StatDisplay.displayName = "StatDisplay";
@@ -21439,8 +21439,8 @@ var Meter = ({
21439
21439
  Box,
21440
21440
  {
21441
21441
  className: cn(
21442
- "h-2 flex-1 rounded-[var(--radius-sm)] transition-all duration-300",
21443
- !isActive && "bg-[var(--color-muted)]"
21442
+ "h-2 flex-1 rounded-sm transition-all duration-300",
21443
+ !isActive && "bg-muted"
21444
21444
  ),
21445
21445
  style: isActive ? { backgroundColor: segColor } : void 0
21446
21446
  },
@@ -21455,10 +21455,10 @@ var Meter = ({
21455
21455
  label && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", color: "secondary", weight: "medium", children: label }),
21456
21456
  showValue && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "tabular-nums", children: displayValue })
21457
21457
  ] }),
21458
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-3 bg-[var(--color-muted)] rounded-[var(--radius-full)] overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
21458
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-3 bg-muted rounded-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
21459
21459
  Box,
21460
21460
  {
21461
- className: "h-full rounded-[var(--radius-full)] transition-all duration-500 ease-out",
21461
+ className: "h-full rounded-full transition-all duration-500 ease-out",
21462
21462
  style: {
21463
21463
  width: `${percentage}%`,
21464
21464
  backgroundColor: activeColor
@@ -21644,7 +21644,7 @@ var SwipeableRow = ({
21644
21644
  transition: isSwiping ? "none" : "transform 200ms ease-out"
21645
21645
  },
21646
21646
  className: cn(
21647
- "relative bg-[var(--color-surface)]",
21647
+ "relative bg-surface",
21648
21648
  "select-none"
21649
21649
  ),
21650
21650
  onPointerDown: handlePointerDown,
@@ -21708,8 +21708,8 @@ function SortableListInner({
21708
21708
  {
21709
21709
  className: cn(
21710
21710
  "flex items-center justify-center",
21711
- "text-[var(--color-muted-foreground)]",
21712
- "hover:text-[var(--color-foreground)]",
21711
+ "text-muted-foreground",
21712
+ "hover:text-foreground",
21713
21713
  "transition-colors duration-100",
21714
21714
  "px-1"
21715
21715
  ),
@@ -21727,7 +21727,7 @@ function SortableListInner({
21727
21727
  showDropIndicator && /* @__PURE__ */ jsxRuntime.jsx(
21728
21728
  Box,
21729
21729
  {
21730
- className: "h-0.5 bg-[var(--color-primary)] rounded-full",
21730
+ className: "h-0.5 bg-primary rounded-full",
21731
21731
  style: { margin: "0 8px" }
21732
21732
  }
21733
21733
  ),
@@ -21831,7 +21831,7 @@ var PullToRefresh = ({
21831
21831
  {
21832
21832
  size: pullProgress >= 0.5 ? "md" : "sm",
21833
21833
  className: cn(
21834
- "text-[var(--color-primary)]",
21834
+ "text-primary",
21835
21835
  isRefreshing && "animate-spin"
21836
21836
  )
21837
21837
  }
@@ -22035,14 +22035,14 @@ function DataTable({
22035
22035
  Box,
22036
22036
  {
22037
22037
  className: cn(
22038
- "bg-[var(--color-card)] border-2 border-[var(--color-border)] rounded-none overflow-hidden",
22038
+ "bg-card border-2 border-border rounded-none overflow-hidden",
22039
22039
  className
22040
22040
  ),
22041
22041
  children: [
22042
- (searchable || bulkActions || headerActions) && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "px-4 py-3 border-b-2 border-[var(--color-border)] flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4", children: [
22042
+ (searchable || bulkActions || headerActions) && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "px-4 py-3 border-b-2 border-border flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4", children: [
22043
22043
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex-col sm:flex-row items-stretch sm:items-center gap-3", children: [
22044
22044
  searchable && /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "relative", children: [
22045
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-[var(--color-muted-foreground)]" }),
22045
+ /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
22046
22046
  /* @__PURE__ */ jsxRuntime.jsx(
22047
22047
  Input,
22048
22048
  {
@@ -22054,12 +22054,12 @@ function DataTable({
22054
22054
  }
22055
22055
  )
22056
22056
  ] }),
22057
- bulkActions && selectedIds.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "items-center gap-2 pl-0 sm:pl-3 border-l-0 sm:border-l border-[var(--color-border)]", children: [
22057
+ bulkActions && selectedIds.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "items-center gap-2 pl-0 sm:pl-3 border-l-0 sm:border-l border-border", children: [
22058
22058
  /* @__PURE__ */ jsxRuntime.jsx(
22059
22059
  Typography,
22060
22060
  {
22061
22061
  variant: "small",
22062
- className: "text-[var(--color-muted-foreground)] whitespace-nowrap",
22062
+ className: "text-muted-foreground whitespace-nowrap",
22063
22063
  children: t("table.bulk.selected", {
22064
22064
  count: String(selectedIds.length)
22065
22065
  })
@@ -22081,7 +22081,7 @@ function DataTable({
22081
22081
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex sm:ml-auto", children: headerActions })
22082
22082
  ] }),
22083
22083
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full", children: [
22084
- /* @__PURE__ */ jsxRuntime.jsx("thead", { className: "bg-[var(--color-table-header)] border-b-2 border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
22084
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { className: "bg-[var(--color-table-header)] border-b-2 border-border", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
22085
22085
  selectable && /* @__PURE__ */ jsxRuntime.jsx("th", { className: "w-12 px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx(
22086
22086
  Checkbox,
22087
22087
  {
@@ -22095,7 +22095,7 @@ function DataTable({
22095
22095
  {
22096
22096
  "data-column": String(col.key),
22097
22097
  className: cn(
22098
- "px-4 py-3 text-left text-xs font-bold text-[var(--color-foreground)] uppercase tracking-wider whitespace-nowrap",
22098
+ "px-4 py-3 text-left text-xs font-bold text-foreground uppercase tracking-wider whitespace-nowrap",
22099
22099
  col.sortable && "cursor-pointer select-none hover:bg-[var(--color-table-row-hover)]"
22100
22100
  ),
22101
22101
  style: { width: col.width },
@@ -22120,7 +22120,7 @@ function DataTable({
22120
22120
  Typography,
22121
22121
  {
22122
22122
  variant: "small",
22123
- className: "text-[var(--color-muted-foreground)]",
22123
+ className: "text-muted-foreground",
22124
22124
  children: t("common.loading")
22125
22125
  }
22126
22126
  )
@@ -22130,7 +22130,7 @@ function DataTable({
22130
22130
  "td",
22131
22131
  {
22132
22132
  colSpan: normalizedColumns.length + (selectable ? 1 : 0) + (rowActions ? 1 : 0),
22133
- className: "px-4 py-12 text-center text-[var(--color-error)]",
22133
+ className: "px-4 py-12 text-center text-error",
22134
22134
  children: [
22135
22135
  t("error.generic") + ": ",
22136
22136
  error.message
@@ -22158,7 +22158,7 @@ function DataTable({
22158
22158
  "data-entity-row": true,
22159
22159
  className: cn(
22160
22160
  "border-b border-[var(--color-table-border)] last:border-0 hover:bg-[var(--color-table-row-hover)] transition-colors",
22161
- selectedIds.includes(row.id) && "bg-[var(--color-primary)]/10 font-medium",
22161
+ selectedIds.includes(row.id) && "bg-primary/10 font-medium",
22162
22162
  isRowClickable && "cursor-pointer"
22163
22163
  ),
22164
22164
  onClick: () => isRowClickable && handleRowClick(row),
@@ -22179,7 +22179,7 @@ function DataTable({
22179
22179
  "td",
22180
22180
  {
22181
22181
  "data-column": String(col.key),
22182
- className: "px-4 py-3 text-sm text-[var(--color-foreground)] whitespace-nowrap sm:whitespace-normal",
22182
+ className: "px-4 py-3 text-sm text-foreground whitespace-nowrap sm:whitespace-normal",
22183
22183
  children: col.render ? col.render(cellValue, row, rowIndex) : (() => {
22184
22184
  const boolVal = asBooleanValue2(cellValue);
22185
22185
  if (boolVal !== null) {
@@ -22196,14 +22196,14 @@ function DataTable({
22196
22196
  Button,
22197
22197
  {
22198
22198
  variant: "ghost",
22199
- className: "p-1 rounded hover:bg-[var(--color-muted)]",
22199
+ className: "p-1 rounded hover:bg-muted",
22200
22200
  onClick: (e) => {
22201
22201
  e.stopPropagation();
22202
22202
  setOpenActionMenu(
22203
22203
  openActionMenu === row.id ? null : row.id
22204
22204
  );
22205
22205
  },
22206
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "h-4 w-4 text-[var(--color-muted-foreground)]" })
22206
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "h-4 w-4 text-muted-foreground" })
22207
22207
  }
22208
22208
  ),
22209
22209
  openActionMenu === row.id && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -22217,7 +22217,7 @@ function DataTable({
22217
22217
  }
22218
22218
  }
22219
22219
  ),
22220
- /* @__PURE__ */ jsxRuntime.jsx(VStack, { className: "absolute right-0 mt-1 w-48 bg-[var(--color-card)] rounded-[var(--radius-lg)] shadow-[var(--shadow-lg)] border border-[var(--color-border)] py-1 z-50", children: (rowActions ?? []).filter(
22220
+ /* @__PURE__ */ jsxRuntime.jsx(VStack, { className: "absolute right-0 mt-1 w-48 bg-card rounded-lg shadow-lg border border-border py-1 z-50", children: (rowActions ?? []).filter(
22221
22221
  (action) => !action.show || action.show(row)
22222
22222
  ).map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
22223
22223
  Button,
@@ -22227,7 +22227,7 @@ function DataTable({
22227
22227
  "data-testid": action.event ? `action-${action.event}` : void 0,
22228
22228
  className: cn(
22229
22229
  "w-full flex items-center gap-2 px-4 py-2 text-sm",
22230
- action.variant === "danger" ? "text-[var(--color-error)] hover:bg-[var(--color-error)]/10" : "text-[var(--color-foreground)] hover:bg-[var(--color-muted)]"
22230
+ action.variant === "danger" ? "text-error hover:bg-error/10" : "text-foreground hover:bg-muted"
22231
22231
  ),
22232
22232
  onClick: (e) => {
22233
22233
  e.stopPropagation();
@@ -22248,7 +22248,7 @@ function DataTable({
22248
22248
  row.id
22249
22249
  )) })
22250
22250
  ] }) }),
22251
- totalCount !== void 0 && totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 border-t-2 border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(
22251
+ totalCount !== void 0 && totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-4 py-3 border-t-2 border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
22252
22252
  Pagination,
22253
22253
  {
22254
22254
  currentPage,
@@ -22322,14 +22322,14 @@ function DebuggerBoard({
22322
22322
  backgroundPosition: "center"
22323
22323
  },
22324
22324
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", className: "p-4", children: [
22325
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
22325
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
22326
22326
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
22327
22327
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
22328
22328
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Bug, size: "sm" }),
22329
22329
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", weight: "bold", children: entity.title })
22330
22330
  ] }),
22331
22331
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.description }),
22332
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: t("debugger.findBugs", { count: String(entity.bugCount) }) })
22332
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: t("debugger.findBugs", { count: String(entity.bugCount) }) })
22333
22333
  ] }) }),
22334
22334
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-0 overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", children: lines.map((line, i) => {
22335
22335
  const isFlagged = flaggedLines.has(line.id);
@@ -22346,10 +22346,10 @@ function DebuggerBoard({
22346
22346
  {
22347
22347
  gap: "none",
22348
22348
  align: "stretch",
22349
- className: `border-b border-[var(--color-border)] cursor-pointer hover:bg-[var(--color-muted)] ${lineStyle}`,
22349
+ className: `border-b border-border cursor-pointer hover:bg-muted ${lineStyle}`,
22350
22350
  onClick: () => toggleLine(line.id),
22351
22351
  children: [
22352
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 flex-shrink-0 flex items-center justify-center border-r border-[var(--color-border)] text-[var(--color-muted-foreground)]", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", children: i + 1 }) }),
22352
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-10 flex-shrink-0 flex items-center justify-center border-r border-border text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", children: i + 1 }) }),
22353
22353
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 px-3 py-1.5 font-mono text-sm whitespace-pre", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "font-mono text-sm", children: line.content }) }),
22354
22354
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "w-8 flex-shrink-0 flex items-center justify-center", children: [
22355
22355
  isFlagged && /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Bug, size: "xs", className: "text-red-600" }),
@@ -22373,7 +22373,7 @@ function DebuggerBoard({
22373
22373
  ),
22374
22374
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", children: [
22375
22375
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", weight: "bold", className: "font-mono", children: line.content.trim() }),
22376
- line.explanation && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: line.explanation })
22376
+ line.explanation && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: line.explanation })
22377
22377
  ] })
22378
22378
  ] }, line.id))
22379
22379
  ] }) }),
@@ -22457,7 +22457,7 @@ function renderRichFieldValue(value, fieldName, fieldType) {
22457
22457
  {
22458
22458
  src: str,
22459
22459
  alt: formatFieldLabel(fieldName),
22460
- className: "max-w-full max-h-64 rounded-[var(--radius-md)] object-contain",
22460
+ className: "max-w-full max-h-64 rounded-md object-contain",
22461
22461
  loading: "lazy"
22462
22462
  }
22463
22463
  ) });
@@ -22468,7 +22468,7 @@ function renderRichFieldValue(value, fieldName, fieldType) {
22468
22468
  case "richtext":
22469
22469
  return /* @__PURE__ */ jsxRuntime.jsx(React114.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "break-words", children: str }), children: /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "prose prose-sm max-w-none dark:prose-invert", children: /* @__PURE__ */ jsxRuntime.jsx(ReactMarkdown2, { children: str }) }) });
22470
22470
  case "code":
22471
- return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mt-1 rounded-[var(--radius-md)] bg-[var(--color-muted)] p-3 overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "text-sm font-mono whitespace-pre-wrap break-words m-0", children: /* @__PURE__ */ jsxRuntime.jsx("code", { children: str }) }) });
22471
+ return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mt-1 rounded-md bg-muted p-3 overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "text-sm font-mono whitespace-pre-wrap break-words m-0", children: /* @__PURE__ */ jsxRuntime.jsx("code", { children: str }) }) });
22472
22472
  case "html":
22473
22473
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mt-1 prose prose-sm max-w-none dark:prose-invert break-words", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: str }) });
22474
22474
  case "date":
@@ -22790,7 +22790,7 @@ var DetailPanel = ({
22790
22790
  {
22791
22791
  icon: field.icon,
22792
22792
  size: "md",
22793
- className: "text-[var(--color-muted-foreground)] mt-1"
22793
+ className: "text-muted-foreground mt-1"
22794
22794
  }
22795
22795
  ),
22796
22796
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", flex: true, className: "min-w-0", children: [
@@ -22816,7 +22816,7 @@ var DetailPanel = ({
22816
22816
  Box,
22817
22817
  {
22818
22818
  className: cn(
22819
- slideOver && "fixed inset-y-0 right-0 w-full max-w-2xl bg-[var(--color-card)] shadow-[var(--shadow-lg)] z-50 overflow-y-auto p-6",
22819
+ slideOver && "fixed inset-y-0 right-0 w-full max-w-2xl bg-card shadow-lg z-50 overflow-y-auto p-6",
22820
22820
  className
22821
22821
  ),
22822
22822
  children: content
@@ -22948,7 +22948,7 @@ var DocumentViewer = ({
22948
22948
  );
22949
22949
  };
22950
22950
  return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("overflow-hidden", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", children: [
22951
- tabItems && tabItems.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(
22951
+ tabItems && tabItems.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "border-b border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
22952
22952
  Tabs,
22953
22953
  {
22954
22954
  tabs: tabItems,
@@ -22965,10 +22965,10 @@ var DocumentViewer = ({
22965
22965
  gap: "sm",
22966
22966
  align: "center",
22967
22967
  justify: "between",
22968
- className: "px-4 py-2 border-b border-[var(--color-border)] bg-[var(--color-muted)]/30",
22968
+ className: "px-4 py-2 border-b border-border bg-muted/30",
22969
22969
  children: [
22970
22970
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "center", children: [
22971
- /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.FileText, size: "sm", className: "text-[var(--color-muted-foreground)]" }),
22971
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.FileText, size: "sm", className: "text-muted-foreground" }),
22972
22972
  title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "medium", className: "truncate max-w-[200px]", children: title })
22973
22973
  ] }),
22974
22974
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
@@ -22979,7 +22979,7 @@ var DocumentViewer = ({
22979
22979
  ] }),
22980
22980
  /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: LucideIcons.ZoomIn, onClick: handleZoomIn }),
22981
22981
  totalPages && totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22982
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-px h-4 bg-[var(--color-border)] mx-1" }),
22982
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-px h-4 bg-border mx-1" }),
22983
22983
  /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: LucideIcons.ChevronLeft, onClick: handlePagePrev, disabled: currentPage <= 1 }),
22984
22984
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", color: "secondary", className: "tabular-nums", children: [
22985
22985
  currentPage,
@@ -22988,7 +22988,7 @@ var DocumentViewer = ({
22988
22988
  ] }),
22989
22989
  /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: LucideIcons.ChevronRight, onClick: handlePageNext, disabled: currentPage >= totalPages })
22990
22990
  ] }),
22991
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-px h-4 bg-[var(--color-border)] mx-1" }),
22991
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-px h-4 bg-border mx-1" }),
22992
22992
  showDownload && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: LucideIcons.Download, onClick: handleDownload }),
22993
22993
  showPrint && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: LucideIcons.Printer, onClick: handlePrint }),
22994
22994
  actions?.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -23005,7 +23005,7 @@ var DocumentViewer = ({
23005
23005
  ]
23006
23006
  }
23007
23007
  ),
23008
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full overflow-hidden bg-[var(--color-muted)]/20", children: renderContent() })
23008
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full overflow-hidden bg-muted/20", children: renderContent() })
23009
23009
  ] }) });
23010
23010
  };
23011
23011
  DocumentViewer.displayName = "DocumentViewer";
@@ -23549,7 +23549,7 @@ function EventHandlerBoard({
23549
23549
  backgroundPosition: "center"
23550
23550
  },
23551
23551
  children: [
23552
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
23552
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
23553
23553
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", children: [
23554
23554
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", className: "text-foreground", children: entity.title }),
23555
23555
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body2", className: "text-muted-foreground", children: entity.description }),
@@ -23936,8 +23936,8 @@ var Form = ({
23936
23936
  Box,
23937
23937
  {
23938
23938
  className: cn(
23939
- "px-4 py-3 bg-[var(--color-muted)] flex items-center justify-between",
23940
- section.collapsible && "cursor-pointer hover:bg-[var(--color-muted)]/80"
23939
+ "px-4 py-3 bg-muted flex items-center justify-between",
23940
+ section.collapsible && "cursor-pointer hover:bg-muted/80"
23941
23941
  ),
23942
23942
  onClick: section.collapsible ? () => toggleSection(section.id) : void 0,
23943
23943
  children: [
@@ -23948,7 +23948,7 @@ var Form = ({
23948
23948
  name: "chevron-down",
23949
23949
  size: "md",
23950
23950
  className: cn(
23951
- "text-[var(--color-muted-foreground)] transition-transform",
23951
+ "text-muted-foreground transition-transform",
23952
23952
  isCollapsed && "rotate-180"
23953
23953
  )
23954
23954
  }
@@ -24598,7 +24598,7 @@ var GameTemplate = ({
24598
24598
  {
24599
24599
  padding: "md",
24600
24600
  border: true,
24601
- className: "border-b-2 border-x-0 border-t-0 border-[var(--color-border)] flex items-center justify-between",
24601
+ className: "border-b-2 border-x-0 border-t-0 border-border flex items-center justify-between",
24602
24602
  children: [
24603
24603
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", children: title }),
24604
24604
  controls && /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "center", children: [
@@ -24640,7 +24640,7 @@ var GameTemplate = ({
24640
24640
  {
24641
24641
  position: "relative",
24642
24642
  fullWidth: true,
24643
- className: "flex-1 bg-[var(--color-muted)]",
24643
+ className: "flex-1 bg-muted",
24644
24644
  children: [
24645
24645
  children,
24646
24646
  hud && /* @__PURE__ */ jsxRuntime.jsx(
@@ -24662,14 +24662,14 @@ var GameTemplate = ({
24662
24662
  border: true,
24663
24663
  shadow: "sm",
24664
24664
  overflow: "auto",
24665
- className: "w-full lg:w-80 lg:border-l-2 lg:border-t-0 border-t-2 border-[var(--color-border)]",
24665
+ className: "w-full lg:w-80 lg:border-l-2 lg:border-t-0 border-t-2 border-border",
24666
24666
  children: [
24667
24667
  /* @__PURE__ */ jsxRuntime.jsx(
24668
24668
  Box,
24669
24669
  {
24670
24670
  padding: "md",
24671
24671
  border: true,
24672
- className: "border-b-2 border-x-0 border-t-0 border-[var(--color-border)]",
24672
+ className: "border-b-2 border-x-0 border-t-0 border-border",
24673
24673
  children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h6", children: "Debug Panel" })
24674
24674
  }
24675
24675
  ),
@@ -24697,7 +24697,7 @@ var GenericAppTemplate = ({
24697
24697
  {
24698
24698
  padding: "md",
24699
24699
  border: true,
24700
- className: "border-b-2 border-x-0 border-t-0 border-[var(--color-border)] flex items-center justify-between flex-shrink-0",
24700
+ className: "border-b-2 border-x-0 border-t-0 border-border flex items-center justify-between flex-shrink-0",
24701
24701
  children: [
24702
24702
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { children: [
24703
24703
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", children: title }),
@@ -24714,7 +24714,7 @@ var GenericAppTemplate = ({
24714
24714
  padding: "md",
24715
24715
  border: true,
24716
24716
  bg: "muted",
24717
- className: "border-t-2 border-x-0 border-b-0 border-[var(--color-border)] flex-shrink-0",
24717
+ className: "border-t-2 border-x-0 border-b-0 border-border flex-shrink-0",
24718
24718
  children: footer
24719
24719
  }
24720
24720
  )
@@ -24962,7 +24962,7 @@ var GraphCanvas = ({
24962
24962
  gap: "sm",
24963
24963
  align: "center",
24964
24964
  justify: "between",
24965
- className: "px-4 py-2 border-b border-[var(--color-border)]",
24965
+ className: "px-4 py-2 border-b border-border",
24966
24966
  children: [
24967
24967
  title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h6", weight: "semibold", children: title }),
24968
24968
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
@@ -24985,7 +24985,7 @@ var GraphCanvas = ({
24985
24985
  ]
24986
24986
  }
24987
24987
  ),
24988
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full bg-[var(--color-background)]", children: /* @__PURE__ */ jsxRuntime.jsx(
24988
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
24989
24989
  "canvas",
24990
24990
  {
24991
24991
  ref: canvasRef,
@@ -25009,11 +25009,11 @@ var GraphCanvas = ({
25009
25009
  }
25010
25010
  }
25011
25011
  ) }),
25012
- groups.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "md", className: "px-4 py-2 border-t border-[var(--color-border)]", wrap: true, children: groups.map((group, idx) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
25012
+ groups.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "md", className: "px-4 py-2 border-t border-border", wrap: true, children: groups.map((group, idx) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
25013
25013
  /* @__PURE__ */ jsxRuntime.jsx(
25014
25014
  Box,
25015
25015
  {
25016
- className: "w-3 h-3 rounded-[var(--radius-full)] flex-shrink-0",
25016
+ className: "w-3 h-3 rounded-full flex-shrink-0",
25017
25017
  style: { backgroundColor: GROUP_COLORS2[idx % GROUP_COLORS2.length] }
25018
25018
  }
25019
25019
  ),
@@ -25050,8 +25050,8 @@ var Header = ({
25050
25050
  {
25051
25051
  as: "header",
25052
25052
  className: cn(
25053
- "h-16 border-b border-[var(--color-border)]",
25054
- "flex items-center px-4 justify-between bg-[var(--color-card)]",
25053
+ "h-16 border-b border-border",
25054
+ "flex items-center px-4 justify-between bg-card",
25055
25055
  sticky && "sticky top-0 z-50",
25056
25056
  variant === "mobile" && "lg:hidden",
25057
25057
  className
@@ -25063,7 +25063,7 @@ var Header = ({
25063
25063
  {
25064
25064
  variant: "ghost",
25065
25065
  onClick: onMenuToggle,
25066
- className: "p-2 -ml-2 text-[var(--color-foreground)] hover:bg-[var(--color-muted)] transition-colors",
25066
+ className: "p-2 -ml-2 text-foreground hover:bg-muted transition-colors",
25067
25067
  "aria-label": isMenuOpen ? "Close menu" : "Open menu",
25068
25068
  children: isMenuOpen ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 24 }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Menu, { size: 24 })
25069
25069
  }
@@ -25084,7 +25084,7 @@ var Header = ({
25084
25084
  Typography,
25085
25085
  {
25086
25086
  variant: "h5",
25087
- className: "text-lg font-bold text-[var(--color-foreground)]",
25087
+ className: "text-lg font-bold text-foreground",
25088
25088
  children: brandName
25089
25089
  }
25090
25090
  )
@@ -25103,8 +25103,8 @@ var Header = ({
25103
25103
  variant: "ghost",
25104
25104
  onClick: item.onClick,
25105
25105
  className: cn(
25106
- "flex items-center gap-2 px-3 py-2 rounded-[var(--radius-lg)] transition-colors",
25107
- item.active ? "bg-[var(--color-primary)]/10 text-[var(--color-primary)]" : "text-[var(--color-muted-foreground)] hover:bg-[var(--color-muted)] hover:text-[var(--color-foreground)]"
25106
+ "flex items-center gap-2 px-3 py-2 rounded-lg transition-colors",
25107
+ item.active ? "bg-primary/10 text-primary" : "text-muted-foreground hover:bg-muted hover:text-foreground"
25108
25108
  ),
25109
25109
  children: [
25110
25110
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(item.icon, { size: 18 }),
@@ -25125,9 +25125,9 @@ var Header = ({
25125
25125
  variant: "ghost",
25126
25126
  onClick: onUserClick,
25127
25127
  className: cn(
25128
- "w-8 h-8 rounded-[var(--radius-full)] bg-[var(--color-primary)]/10 flex items-center justify-center",
25129
- "text-[var(--color-primary)] font-bold text-xs",
25130
- "hover:ring-2 hover:ring-[var(--color-ring)] transition-all",
25128
+ "w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center",
25129
+ "text-primary font-bold text-xs",
25130
+ "hover:ring-2 hover:ring-ring transition-all",
25131
25131
  onUserClick && "cursor-pointer"
25132
25132
  ),
25133
25133
  children: userAvatar?.src ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -25152,52 +25152,52 @@ function normalizeFields2(fields) {
25152
25152
  }
25153
25153
  var STATUS_STYLES2 = {
25154
25154
  complete: {
25155
- bg: "bg-[var(--color-success)]/10",
25156
- text: "text-[var(--color-success)]",
25157
- dot: "bg-[var(--color-success)] ring-4 ring-[var(--color-success)]/20",
25158
- border: "border-[var(--color-success)]/30"
25155
+ bg: "bg-success/10",
25156
+ text: "text-success",
25157
+ dot: "bg-success ring-4 ring-success/20",
25158
+ border: "border-success/30"
25159
25159
  },
25160
25160
  active: {
25161
- bg: "bg-[var(--color-info)]/10",
25162
- text: "text-[var(--color-info)]",
25163
- dot: "bg-[var(--color-info)] ring-4 ring-[var(--color-info)]/20",
25164
- border: "border-[var(--color-info)]/30"
25161
+ bg: "bg-info/10",
25162
+ text: "text-info",
25163
+ dot: "bg-info ring-4 ring-info/20",
25164
+ border: "border-info/30"
25165
25165
  },
25166
25166
  pending: {
25167
- bg: "bg-[var(--color-warning)]/10",
25168
- text: "text-[var(--color-warning)]",
25169
- dot: "bg-[var(--color-warning)] ring-4 ring-[var(--color-warning)]/20",
25170
- border: "border-[var(--color-warning)]/30"
25167
+ bg: "bg-warning/10",
25168
+ text: "text-warning",
25169
+ dot: "bg-warning ring-4 ring-warning/20",
25170
+ border: "border-warning/30"
25171
25171
  },
25172
25172
  blocked: {
25173
- bg: "bg-[var(--color-error)]/10",
25174
- text: "text-[var(--color-error)]",
25175
- dot: "bg-[var(--color-error)] ring-4 ring-[var(--color-error)]/20",
25176
- border: "border-[var(--color-error)]/30"
25173
+ bg: "bg-error/10",
25174
+ text: "text-error",
25175
+ dot: "bg-error ring-4 ring-error/20",
25176
+ border: "border-error/30"
25177
25177
  },
25178
25178
  high: {
25179
- bg: "bg-[var(--color-warning)]/10",
25180
- text: "text-[var(--color-warning)]",
25181
- dot: "bg-[var(--color-warning)] ring-4 ring-[var(--color-warning)]/20",
25182
- border: "border-[var(--color-warning)]/30"
25179
+ bg: "bg-warning/10",
25180
+ text: "text-warning",
25181
+ dot: "bg-warning ring-4 ring-warning/20",
25182
+ border: "border-warning/30"
25183
25183
  },
25184
25184
  medium: {
25185
- bg: "bg-[var(--color-accent)]/10",
25186
- text: "text-[var(--color-accent)]",
25187
- dot: "bg-[var(--color-accent)] ring-4 ring-[var(--color-accent)]/20",
25188
- border: "border-[var(--color-accent)]/30"
25185
+ bg: "bg-accent/10",
25186
+ text: "text-accent",
25187
+ dot: "bg-accent ring-4 ring-accent/20",
25188
+ border: "border-accent/30"
25189
25189
  },
25190
25190
  low: {
25191
- bg: "bg-[var(--color-muted)]",
25192
- text: "text-[var(--color-muted-foreground)]",
25193
- dot: "bg-[var(--color-muted-foreground)] ring-4 ring-[var(--color-muted-foreground)]/20",
25194
- border: "border-[var(--color-border)]"
25191
+ bg: "bg-muted",
25192
+ text: "text-muted-foreground",
25193
+ dot: "bg-muted-foreground ring-4 ring-muted-foreground/20",
25194
+ border: "border-border"
25195
25195
  },
25196
25196
  default: {
25197
- bg: "bg-[var(--color-muted)]",
25198
- text: "text-[var(--color-muted-foreground)]",
25199
- dot: "bg-[var(--color-muted-foreground)] ring-4 ring-[var(--color-muted-foreground)]/20",
25200
- border: "border-[var(--color-border)]"
25197
+ bg: "bg-muted",
25198
+ text: "text-muted-foreground",
25199
+ dot: "bg-muted-foreground ring-4 ring-muted-foreground/20",
25200
+ border: "border-border"
25201
25201
  }
25202
25202
  };
25203
25203
  function getStatusStyle(fieldName, value) {
@@ -25257,8 +25257,8 @@ var StatusBadge = ({
25257
25257
  {
25258
25258
  as: "span",
25259
25259
  className: cn(
25260
- "inline-flex items-center gap-2 px-2.5 py-1 rounded-[var(--radius-full)] text-xs font-semibold tracking-wide",
25261
- "border shadow-[var(--shadow-sm)] backdrop-blur-sm transition-colors",
25260
+ "inline-flex items-center gap-2 px-2.5 py-1 rounded-full text-xs font-semibold tracking-wide",
25261
+ "border shadow-sm backdrop-blur-sm transition-colors",
25262
25262
  style.bg,
25263
25263
  style.text,
25264
25264
  style.border
@@ -25269,7 +25269,7 @@ var StatusBadge = ({
25269
25269
  {
25270
25270
  as: "span",
25271
25271
  className: cn(
25272
- "w-1.5 h-1.5 rounded-[var(--radius-full)] shadow-[var(--shadow-sm)]",
25272
+ "w-1.5 h-1.5 rounded-full shadow-sm",
25273
25273
  style.dot
25274
25274
  )
25275
25275
  }
@@ -25282,12 +25282,12 @@ var StatusBadge = ({
25282
25282
  var ProgressIndicator = ({ value }) => {
25283
25283
  const clampedValue = Math.min(100, Math.max(0, value));
25284
25284
  return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center gap-2 min-w-[100px]", children: [
25285
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 h-1.5 bg-[var(--color-muted)] rounded-[var(--radius-full)] overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
25285
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "flex-1 h-1.5 bg-muted rounded-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
25286
25286
  Box,
25287
25287
  {
25288
25288
  className: cn(
25289
- "h-full rounded-[var(--radius-full)] transition-all duration-500",
25290
- clampedValue >= 100 ? "bg-[var(--color-success)]" : clampedValue >= 70 ? "bg-[var(--color-info)]" : clampedValue >= 40 ? "bg-[var(--color-warning)]" : "bg-[var(--color-muted-foreground)]"
25289
+ "h-full rounded-full transition-all duration-500",
25290
+ clampedValue >= 100 ? "bg-success" : clampedValue >= 70 ? "bg-info" : clampedValue >= 40 ? "bg-warning" : "bg-muted-foreground"
25291
25291
  ),
25292
25292
  style: { width: `${clampedValue}%` }
25293
25293
  }
@@ -25296,7 +25296,7 @@ var ProgressIndicator = ({ value }) => {
25296
25296
  Typography,
25297
25297
  {
25298
25298
  as: "span",
25299
- className: "text-xs font-medium text-[var(--color-muted-foreground)] tabular-nums w-8 text-right",
25299
+ className: "text-xs font-medium text-muted-foreground tabular-nums w-8 text-right",
25300
25300
  children: [
25301
25301
  clampedValue,
25302
25302
  "%"
@@ -25460,9 +25460,9 @@ var List2 = ({
25460
25460
  "transition-all duration-300 ease-out",
25461
25461
  hasExplicitClick && "cursor-pointer",
25462
25462
  // Hover state
25463
- "hover:bg-[var(--color-muted)]/80",
25463
+ "hover:bg-muted/80",
25464
25464
  // Selected state
25465
- isSelected && "bg-[var(--color-primary)]/10 shadow-inner",
25465
+ isSelected && "bg-primary/10 shadow-inner",
25466
25466
  item.disabled && "opacity-50 cursor-not-allowed grayscale"
25467
25467
  ),
25468
25468
  action: rowAction,
@@ -25481,7 +25481,7 @@ var List2 = ({
25481
25481
  onChange: (e) => handleSelect(item.id, e.target.checked),
25482
25482
  className: cn(
25483
25483
  "transition-transform active:scale-95",
25484
- isSelected ? "border-[var(--color-primary)] bg-[var(--color-primary)]" : "border-[var(--color-border)]"
25484
+ isSelected ? "border-primary bg-primary" : "border-border"
25485
25485
  )
25486
25486
  }
25487
25487
  )
@@ -25494,9 +25494,9 @@ var List2 = ({
25494
25494
  {
25495
25495
  as: "h3",
25496
25496
  className: cn(
25497
- "text-[15px] font-semibold text-[var(--color-foreground)] truncate flex-1",
25497
+ "text-[15px] font-semibold text-foreground truncate flex-1",
25498
25498
  "tracking-tight leading-snug",
25499
- item.completed && "line-through text-[var(--color-muted-foreground)]"
25499
+ item.completed && "line-through text-muted-foreground"
25500
25500
  ),
25501
25501
  children: item.title || "Untitled"
25502
25502
  }
@@ -25518,7 +25518,7 @@ var List2 = ({
25518
25518
  )
25519
25519
  ] })
25520
25520
  ] }),
25521
- /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-[13px] font-medium text-[var(--color-muted-foreground)]", children: [
25521
+ /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-[13px] font-medium text-muted-foreground", children: [
25522
25522
  dateFields.slice(0, 1).map((field) => {
25523
25523
  const value = item._fields?.[field];
25524
25524
  if (!value) return null;
@@ -25526,7 +25526,7 @@ var List2 = ({
25526
25526
  Typography,
25527
25527
  {
25528
25528
  as: "span",
25529
- className: "flex items-center gap-2 text-[var(--color-muted-foreground)] group-hover:text-[var(--color-foreground)] transition-colors",
25529
+ className: "flex items-center gap-2 text-muted-foreground group-hover:text-foreground transition-colors",
25530
25530
  children: [
25531
25531
  /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Calendar, { className: "w-3.5 h-3.5" }),
25532
25532
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", children: formatValue4(value, field) })
@@ -25542,13 +25542,13 @@ var List2 = ({
25542
25542
  Typography,
25543
25543
  {
25544
25544
  as: "span",
25545
- className: "truncate flex items-center gap-1.5 text-[var(--color-muted-foreground)]",
25545
+ className: "truncate flex items-center gap-1.5 text-muted-foreground",
25546
25546
  children: [
25547
25547
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { as: "span", className: "opacity-75", children: [
25548
25548
  formatFieldLabel2(field),
25549
25549
  ":"
25550
25550
  ] }),
25551
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", className: "text-[var(--color-foreground)]", children: formatValue4(value, field) })
25551
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { as: "span", className: "text-foreground", children: formatValue4(value, field) })
25552
25552
  ]
25553
25553
  },
25554
25554
  field
@@ -25571,9 +25571,9 @@ var List2 = ({
25571
25571
  variant: "ghost",
25572
25572
  action: editAction.event,
25573
25573
  className: cn(
25574
- "p-2 rounded-[var(--radius-lg)] transition-all duration-200",
25575
- "hover:bg-[var(--color-primary)]/10 hover:text-[var(--color-primary)]",
25576
- "text-[var(--color-muted-foreground)]",
25574
+ "p-2 rounded-lg transition-all duration-200",
25575
+ "hover:bg-primary/10 hover:text-primary",
25576
+ "text-muted-foreground",
25577
25577
  "active:scale-95"
25578
25578
  ),
25579
25579
  title: editAction.label,
@@ -25587,9 +25587,9 @@ var List2 = ({
25587
25587
  variant: "ghost",
25588
25588
  action: viewAction.event,
25589
25589
  className: cn(
25590
- "p-2 rounded-[var(--radius-lg)] transition-all duration-200",
25591
- "hover:bg-[var(--color-muted)] hover:text-[var(--color-foreground)]",
25592
- "text-[var(--color-muted-foreground)]",
25590
+ "p-2 rounded-lg transition-all duration-200",
25591
+ "hover:bg-muted hover:text-foreground",
25592
+ "text-muted-foreground",
25593
25593
  "active:scale-95"
25594
25594
  ),
25595
25595
  title: viewAction.label,
@@ -25609,9 +25609,9 @@ var List2 = ({
25609
25609
  {
25610
25610
  variant: "ghost",
25611
25611
  className: cn(
25612
- "p-2 rounded-[var(--radius-lg)] transition-all duration-200",
25613
- "hover:bg-[var(--color-muted)] hover:shadow-[var(--shadow-sm)]",
25614
- "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
25612
+ "p-2 rounded-lg transition-all duration-200",
25613
+ "hover:bg-muted hover:shadow-sm",
25614
+ "text-muted-foreground hover:text-foreground",
25615
25615
  "active:scale-95"
25616
25616
  ),
25617
25617
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "w-4 h-4" })
@@ -25622,14 +25622,14 @@ var List2 = ({
25622
25622
  }
25623
25623
  ) : null;
25624
25624
  })(),
25625
- hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-[var(--color-muted-foreground)]/50 group-hover:text-[var(--color-muted-foreground)] group-hover:translate-x-0.5 transition-all" })
25625
+ hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
25626
25626
  ]
25627
25627
  }
25628
25628
  )
25629
25629
  ]
25630
25630
  }
25631
25631
  ),
25632
- !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "ml-[calc(1.5rem)] mr-6 border-b border-[var(--color-border)]/40" })
25632
+ !isLast && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "ml-[calc(1.5rem)] mr-6 border-b border-border/40" })
25633
25633
  ] }, item.id);
25634
25634
  };
25635
25635
  if (safeItems.length === 0) {
@@ -25648,11 +25648,11 @@ var List2 = ({
25648
25648
  {
25649
25649
  className: cn(
25650
25650
  // Container with refined styling
25651
- "bg-[var(--color-card)] backdrop-blur-sm",
25652
- "rounded-[var(--radius-xl)]",
25651
+ "bg-card backdrop-blur-sm",
25652
+ "rounded-xl",
25653
25653
  // Increased rounding
25654
- "border border-[var(--color-border)]",
25655
- "shadow-[var(--shadow-lg)]",
25654
+ "border border-border",
25655
+ "shadow-lg",
25656
25656
  // Softer, improved shadow
25657
25657
  "overflow-hidden",
25658
25658
  className
@@ -25664,11 +25664,11 @@ var List2 = ({
25664
25664
  );
25665
25665
  };
25666
25666
  List2.displayName = "List";
25667
- var DefaultEmptyDetail = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full border-2 border-dashed border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(
25667
+ var DefaultEmptyDetail = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full border-2 border-dashed border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
25668
25668
  Typography,
25669
25669
  {
25670
25670
  variant: "body2",
25671
- className: "text-[var(--color-muted-foreground)]",
25671
+ className: "text-muted-foreground",
25672
25672
  children: "Select an item to view details"
25673
25673
  }
25674
25674
  ) });
@@ -25696,7 +25696,7 @@ var MasterDetail = ({
25696
25696
  "div",
25697
25697
  {
25698
25698
  className: cn(
25699
- "border-r-2 border-[var(--color-border)] overflow-auto",
25699
+ "border-r-2 border-border overflow-auto",
25700
25700
  masterClassName
25701
25701
  ),
25702
25702
  children: master
@@ -25832,9 +25832,9 @@ var MediaGallery = ({
25832
25832
  Box,
25833
25833
  {
25834
25834
  className: cn(
25835
- "group relative overflow-hidden rounded-[var(--radius-md)] cursor-pointer",
25835
+ "group relative overflow-hidden rounded-md cursor-pointer",
25836
25836
  "border-2 transition-all duration-200",
25837
- isSelected ? "border-[var(--color-primary)] ring-2 ring-[var(--color-primary)]/30" : "border-transparent hover:border-[var(--color-border)]",
25837
+ isSelected ? "border-primary ring-2 ring-primary/30" : "border-transparent hover:border-border",
25838
25838
  ASPECT_CLASSES[aspectRatio]
25839
25839
  ),
25840
25840
  onClick: () => handleItemClick(item),
@@ -25852,7 +25852,7 @@ var MediaGallery = ({
25852
25852
  Box,
25853
25853
  {
25854
25854
  className: cn(
25855
- "absolute inset-0 bg-[var(--color-foreground)]/0 group-hover:bg-[var(--color-foreground)]/20",
25855
+ "absolute inset-0 bg-foreground/0 group-hover:bg-foreground/20",
25856
25856
  "transition-colors duration-200 flex items-center justify-center"
25857
25857
  ),
25858
25858
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -25866,7 +25866,7 @@ var MediaGallery = ({
25866
25866
  }
25867
25867
  ),
25868
25868
  item.caption && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black/60 to-transparent", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white truncate", children: item.caption }) }),
25869
- selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-[var(--radius-full)] bg-[var(--color-primary)] flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-[10px]", children: "\u2713" }) })
25869
+ selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-[10px]", children: "\u2713" }) })
25870
25870
  ]
25871
25871
  },
25872
25872
  item.id
@@ -25878,7 +25878,7 @@ var MediaGallery = ({
25878
25878
  lightboxItem && /* @__PURE__ */ jsxRuntime.jsx(
25879
25879
  Box,
25880
25880
  {
25881
- className: "fixed inset-0 z-50 bg-[var(--color-background)]/80 backdrop-blur-sm flex items-center justify-center",
25881
+ className: "fixed inset-0 z-50 bg-background/80 backdrop-blur-sm flex items-center justify-center",
25882
25882
  action: "LIGHTBOX_CLOSE",
25883
25883
  children: /* @__PURE__ */ jsxRuntime.jsxs(
25884
25884
  VStack,
@@ -25903,7 +25903,7 @@ var MediaGallery = ({
25903
25903
  {
25904
25904
  src: lightboxItem.src,
25905
25905
  alt: lightboxItem.alt || lightboxItem.caption || "",
25906
- className: "max-w-full max-h-[80vh] object-contain rounded-[var(--radius-md)]"
25906
+ className: "max-w-full max-h-[80vh] object-contain rounded-md"
25907
25907
  }
25908
25908
  ),
25909
25909
  lightboxItem.caption && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-white mt-3 text-center", children: lightboxItem.caption })
@@ -26094,7 +26094,7 @@ function NegotiatorBoard({
26094
26094
  backgroundPosition: "center"
26095
26095
  },
26096
26096
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", className: "p-4", children: [
26097
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
26097
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
26098
26098
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
26099
26099
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", weight: "bold", children: entity.title }),
26100
26100
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.description }),
@@ -26109,16 +26109,16 @@ function NegotiatorBoard({
26109
26109
  ] }) }),
26110
26110
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", justify: "center", children: [
26111
26111
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4 flex-1 text-center", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", align: "center", children: [
26112
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: t("negotiator.you") }),
26112
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: t("negotiator.you") }),
26113
26113
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", weight: "bold", children: playerTotal })
26114
26114
  ] }) }),
26115
26115
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4 flex-1 text-center", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", align: "center", children: [
26116
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: t("negotiator.opponent") }),
26116
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: t("negotiator.opponent") }),
26117
26117
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", weight: "bold", children: opponentTotal })
26118
26118
  ] }) })
26119
26119
  ] }),
26120
26120
  !isComplete && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
26121
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("negotiator.chooseAction") }),
26121
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("negotiator.chooseAction") }),
26122
26122
  /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", justify: "center", className: "flex-wrap", children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
26123
26123
  Button,
26124
26124
  {
@@ -26130,21 +26130,21 @@ function NegotiatorBoard({
26130
26130
  )) })
26131
26131
  ] }) }),
26132
26132
  history.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
26133
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("negotiator.history") }),
26133
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("negotiator.history") }),
26134
26134
  history.map((round) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", align: "center", className: "text-sm", children: [
26135
26135
  /* @__PURE__ */ jsxRuntime.jsxs(Badge, { size: "sm", children: [
26136
26136
  "R",
26137
26137
  round.round
26138
26138
  ] }),
26139
26139
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", children: getActionLabel(round.playerAction) }),
26140
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: "vs" }),
26140
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-muted-foreground", children: "vs" }),
26141
26141
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", children: getActionLabel(round.opponentAction) }),
26142
26142
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.ArrowRight, size: "xs" }),
26143
26143
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", weight: "bold", className: "text-green-600", children: [
26144
26144
  "+",
26145
26145
  round.playerPayoff
26146
26146
  ] }),
26147
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: [
26147
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-muted-foreground", children: [
26148
26148
  "/ +",
26149
26149
  round.opponentPayoff
26150
26150
  ] })
@@ -26153,7 +26153,7 @@ function NegotiatorBoard({
26153
26153
  isComplete && /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", align: "center", children: [
26154
26154
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.CheckCircle, size: "lg", className: won ? "text-green-600" : "text-red-600" }),
26155
26155
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", weight: "bold", children: won ? entity.successMessage ?? t("negotiator.success") : entity.failMessage ?? t("negotiator.failed") }),
26156
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: [
26156
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-muted-foreground", children: [
26157
26157
  t("negotiator.finalScore"),
26158
26158
  ": ",
26159
26159
  playerTotal,
@@ -26343,7 +26343,7 @@ var DumbbellOrbital = ({
26343
26343
  config.hasNode && /* @__PURE__ */ jsxRuntime.jsx(
26344
26344
  Box,
26345
26345
  {
26346
- className: "absolute rounded-[var(--radius-full)] bg-[var(--color-foreground)]",
26346
+ className: "absolute rounded-full bg-foreground",
26347
26347
  style: {
26348
26348
  width: size * 0.06,
26349
26349
  height: size * 0.06,
@@ -26404,7 +26404,7 @@ var CloverleafOrbital = ({
26404
26404
  /* @__PURE__ */ jsxRuntime.jsx(
26405
26405
  Box,
26406
26406
  {
26407
- className: "absolute rounded-[var(--radius-full)] bg-[var(--color-foreground)]",
26407
+ className: "absolute rounded-full bg-foreground",
26408
26408
  style: {
26409
26409
  width: size * 0.08,
26410
26410
  height: size * 0.08,
@@ -26525,7 +26525,7 @@ var OrbitalVisualization = ({
26525
26525
  }
26526
26526
  ),
26527
26527
  showLabel && /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "mt-4 text-center", children: [
26528
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-lg font-semibold text-[var(--color-foreground)]", children: config.name }),
26528
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-lg font-semibold text-foreground", children: config.name }),
26529
26529
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", color: "muted", children: [
26530
26530
  "Complexity: ",
26531
26531
  complexity,
@@ -26579,11 +26579,11 @@ var PageHeader = ({
26579
26579
  }
26580
26580
  };
26581
26581
  const statusColors2 = {
26582
- default: "bg-[var(--color-muted)] text-[var(--color-foreground)]",
26583
- success: "bg-[var(--color-success)]/10 text-[var(--color-success)]",
26584
- warning: "bg-[var(--color-warning)]/10 text-[var(--color-warning)]",
26585
- danger: "bg-[var(--color-error)]/10 text-[var(--color-error)]",
26586
- info: "bg-[var(--color-info)]/10 text-[var(--color-info)]"
26582
+ default: "bg-muted text-foreground",
26583
+ success: "bg-success/10 text-success",
26584
+ warning: "bg-warning/10 text-warning",
26585
+ danger: "bg-error/10 text-error",
26586
+ info: "bg-info/10 text-info"
26587
26587
  };
26588
26588
  return /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: cn("mb-6", className), children: [
26589
26589
  breadcrumbs && breadcrumbs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "nav", className: "mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "ol", className: "flex items-center gap-2 text-sm", children: breadcrumbs.map((crumb, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React114__namespace.default.Fragment, { children: [
@@ -26592,10 +26592,10 @@ var PageHeader = ({
26592
26592
  "a",
26593
26593
  {
26594
26594
  href: crumb.href,
26595
- className: "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)]",
26595
+ className: "text-muted-foreground hover:text-foreground",
26596
26596
  children: crumb.label
26597
26597
  }
26598
- ) : /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-foreground)] font-medium", children: crumb.label })
26598
+ ) : /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-foreground font-medium", children: crumb.label })
26599
26599
  ] }, idx)) }) }),
26600
26600
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-start justify-between gap-4", children: [
26601
26601
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-start gap-4", children: [
@@ -26604,19 +26604,19 @@ var PageHeader = ({
26604
26604
  {
26605
26605
  variant: "ghost",
26606
26606
  onClick: handleBack,
26607
- className: "mt-1 p-2 rounded-[var(--radius-lg)]",
26608
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ArrowLeft, { className: "h-5 w-5 text-[var(--color-muted-foreground)]" })
26607
+ className: "mt-1 p-2 rounded-lg",
26608
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ArrowLeft, { className: "h-5 w-5 text-muted-foreground" })
26609
26609
  }
26610
26610
  ),
26611
26611
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { children: [
26612
26612
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center gap-3", children: [
26613
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h1", className: "text-2xl font-bold text-[var(--color-foreground)]", children: title != null ? String(title) : "" }),
26613
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h1", className: "text-2xl font-bold text-foreground", children: title != null ? String(title) : "" }),
26614
26614
  status && /* @__PURE__ */ jsxRuntime.jsx(
26615
26615
  Typography,
26616
26616
  {
26617
26617
  variant: "small",
26618
26618
  className: cn(
26619
- "px-2.5 py-1 rounded-[var(--radius-full)] text-xs font-medium",
26619
+ "px-2.5 py-1 rounded-full text-xs font-medium",
26620
26620
  statusColors2[status.variant || "default"]
26621
26621
  ),
26622
26622
  children: status.label
@@ -26641,14 +26641,14 @@ var PageHeader = ({
26641
26641
  `action-${idx}`
26642
26642
  )) })
26643
26643
  ] }),
26644
- tabs && tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mt-6 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "nav", className: "flex gap-6", children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(
26644
+ tabs && tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "mt-6 border-b border-border", children: /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "nav", className: "flex gap-6", children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(
26645
26645
  Button,
26646
26646
  {
26647
26647
  variant: "ghost",
26648
26648
  onClick: () => onTabChange?.(tab.value),
26649
26649
  className: cn(
26650
26650
  "pb-3 text-sm font-bold border-b-2 transition-colors rounded-none",
26651
- activeTab === tab.value ? "border-[var(--color-primary)] text-[var(--color-foreground)]" : "border-transparent text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] hover:border-[var(--color-border)]"
26651
+ activeTab === tab.value ? "border-primary text-foreground" : "border-transparent text-muted-foreground hover:text-foreground hover:border-border"
26652
26652
  ),
26653
26653
  children: [
26654
26654
  tab.label,
@@ -26657,8 +26657,8 @@ var PageHeader = ({
26657
26657
  {
26658
26658
  variant: "small",
26659
26659
  className: cn(
26660
- "ml-2 px-2 py-0.5 rounded-[var(--radius-full)] text-xs",
26661
- activeTab === tab.value ? "bg-[var(--color-primary)]/10 text-[var(--color-primary)]" : "bg-[var(--color-muted)] text-[var(--color-muted-foreground)]"
26660
+ "ml-2 px-2 py-0.5 rounded-full text-xs",
26661
+ activeTab === tab.value ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
26662
26662
  ),
26663
26663
  children: tab.count
26664
26664
  }
@@ -27817,16 +27817,16 @@ var paddingStyles4 = {
27817
27817
  var variantStyles8 = {
27818
27818
  default: "",
27819
27819
  card: [
27820
- "bg-[var(--color-card)]",
27821
- "border-[length:var(--border-width)] border-[var(--color-border)]",
27822
- "shadow-[var(--shadow-main)]",
27823
- "rounded-[var(--radius-md)]"
27820
+ "bg-card",
27821
+ "border-[length:var(--border-width)] border-border",
27822
+ "shadow",
27823
+ "rounded-md"
27824
27824
  ].join(" "),
27825
27825
  bordered: [
27826
- "border-[length:var(--border-width)] border-[var(--color-border)]",
27827
- "rounded-[var(--radius-md)]"
27826
+ "border-[length:var(--border-width)] border-border",
27827
+ "rounded-md"
27828
27828
  ].join(" "),
27829
- filled: "bg-[var(--color-muted)] rounded-[var(--radius-md)]"
27829
+ filled: "bg-muted rounded-md"
27830
27830
  };
27831
27831
  var Section = ({
27832
27832
  title,
@@ -27857,7 +27857,7 @@ var Section = ({
27857
27857
  {
27858
27858
  className: cn(
27859
27859
  "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-2 sm:gap-4",
27860
- divider && "pb-4 mb-4 border-b-[length:var(--border-width)] border-[var(--color-border)]",
27860
+ divider && "pb-4 mb-4 border-b-[length:var(--border-width)] border-border",
27861
27861
  !divider && "mb-4",
27862
27862
  headerClassName
27863
27863
  ),
@@ -27867,7 +27867,7 @@ var Section = ({
27867
27867
  Typography,
27868
27868
  {
27869
27869
  variant: "h4",
27870
- className: "text-[var(--color-foreground)] font-semibold",
27870
+ className: "text-foreground font-semibold",
27871
27871
  children: title
27872
27872
  }
27873
27873
  ),
@@ -28292,7 +28292,7 @@ function SequencerBoard({
28292
28292
  backgroundPosition: "center"
28293
28293
  },
28294
28294
  children: [
28295
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
28295
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
28296
28296
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", children: [
28297
28297
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", className: "text-foreground", children: entity.title }),
28298
28298
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body2", className: "text-muted-foreground", children: entity.description })
@@ -28364,15 +28364,15 @@ var SidebarNavItem = ({ item, collapsed }) => {
28364
28364
  onClick: item.onClick,
28365
28365
  className: cn(
28366
28366
  "w-full flex items-center gap-3 px-3 py-2.5 transition-all duration-[var(--transition-fast)] group relative",
28367
- "rounded-[var(--radius-sm)] border-[length:var(--border-width-thin)] border-transparent",
28367
+ "rounded-sm border-[length:var(--border-width-thin)] border-transparent",
28368
28368
  isActive ? [
28369
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
28370
- "font-medium shadow-[var(--shadow-sm)]",
28371
- "border-[var(--color-primary)] translate-x-1 -translate-y-0.5"
28369
+ "bg-primary text-primary-foreground",
28370
+ "font-medium shadow-sm",
28371
+ "border-primary translate-x-1 -translate-y-0.5"
28372
28372
  ].join(" ") : [
28373
- "text-[var(--color-foreground)]",
28374
- "hover:bg-[var(--color-muted)] hover:border-[var(--color-border)]",
28375
- "active:bg-[var(--color-primary)] active:text-[var(--color-primary-foreground)]"
28373
+ "text-foreground",
28374
+ "hover:bg-muted hover:border-border",
28375
+ "active:bg-primary active:text-primary-foreground"
28376
28376
  ].join(" ")
28377
28377
  ),
28378
28378
  title: collapsed ? item.label : void 0,
@@ -28383,7 +28383,7 @@ var SidebarNavItem = ({ item, collapsed }) => {
28383
28383
  size: 20,
28384
28384
  className: cn(
28385
28385
  "min-w-[20px] flex-shrink-0",
28386
- isActive && "text-[var(--color-primary-foreground)]"
28386
+ isActive && "text-primary-foreground"
28387
28387
  )
28388
28388
  }
28389
28389
  ),
@@ -28392,9 +28392,9 @@ var SidebarNavItem = ({ item, collapsed }) => {
28392
28392
  collapsed && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: cn(
28393
28393
  "absolute left-full ml-2 px-2 py-1 text-xs opacity-0 group-hover:opacity-100",
28394
28394
  "pointer-events-none whitespace-nowrap z-50 transition-opacity",
28395
- "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
28396
- "border-[length:var(--border-width-thin)] border-[var(--color-border)]",
28397
- "rounded-[var(--radius-sm)]"
28395
+ "bg-primary text-primary-foreground",
28396
+ "border-[length:var(--border-width-thin)] border-border",
28397
+ "rounded-sm"
28398
28398
  ), children: item.label })
28399
28399
  ]
28400
28400
  }
@@ -28445,13 +28445,13 @@ var Sidebar = ({
28445
28445
  as: "aside",
28446
28446
  className: cn(
28447
28447
  "flex flex-col h-full",
28448
- "bg-[var(--color-card)] border-r border-[var(--color-border)]",
28448
+ "bg-card border-r border-border",
28449
28449
  "transition-all duration-300 ease-in-out",
28450
28450
  collapsed ? "w-20" : "w-64",
28451
28451
  className
28452
28452
  ),
28453
28453
  children: [
28454
- /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "h-16 flex items-center justify-between px-4 border-b border-[var(--color-border)] flex-shrink-0", children: [
28454
+ /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "h-16 flex items-center justify-between px-4 border-b border-border flex-shrink-0", children: [
28455
28455
  /* @__PURE__ */ jsxRuntime.jsxs(
28456
28456
  Box,
28457
28457
  {
@@ -28461,8 +28461,8 @@ var Sidebar = ({
28461
28461
  ),
28462
28462
  onClick: handleLogoClick,
28463
28463
  children: [
28464
- logo ? typeof logo === "string" ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: brandName, className: "h-8 w-8" }) : logo : logoSrc ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logoSrc, alt: brandName, className: "h-8 w-8" }) : /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-8 w-8 bg-[var(--color-primary)] flex items-center justify-center rounded-[var(--radius-sm)]", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-[var(--color-primary-foreground)] font-bold text-sm", children: "K" }) }),
28465
- !collapsed && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-xl font-bold text-[var(--color-foreground)]", children: brandName })
28464
+ logo ? typeof logo === "string" ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: brandName, className: "h-8 w-8" }) : logo : logoSrc ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logoSrc, alt: brandName, className: "h-8 w-8" }) : /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-8 w-8 bg-primary flex items-center justify-center rounded-sm", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-primary-foreground font-bold text-sm", children: "K" }) }),
28465
+ !collapsed && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: "text-xl font-bold text-foreground", children: brandName })
28466
28466
  ]
28467
28467
  }
28468
28468
  ),
@@ -28472,8 +28472,8 @@ var Sidebar = ({
28472
28472
  variant: "ghost",
28473
28473
  onClick: handleToggle,
28474
28474
  className: cn(
28475
- "p-1.5 hover:bg-[var(--color-muted)] text-[var(--color-foreground)] hidden lg:block",
28476
- "rounded-[var(--radius-sm)]",
28475
+ "p-1.5 hover:bg-muted text-foreground hidden lg:block",
28476
+ "rounded-sm",
28477
28477
  collapsed && "mx-auto"
28478
28478
  ),
28479
28479
  title: collapsed ? t("sidebar.expand") : t("sidebar.collapse"),
@@ -28485,7 +28485,7 @@ var Sidebar = ({
28485
28485
  {
28486
28486
  variant: "ghost",
28487
28487
  onClick: handleClose,
28488
- className: "p-1.5 hover:bg-[var(--color-muted)] text-[var(--color-foreground)] lg:hidden rounded-[var(--radius-sm)]",
28488
+ className: "p-1.5 hover:bg-muted text-foreground lg:hidden rounded-sm",
28489
28489
  "aria-label": t("sidebar.close"),
28490
28490
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 18 })
28491
28491
  }
@@ -28499,7 +28499,7 @@ var Sidebar = ({
28499
28499
  },
28500
28500
  item.id
28501
28501
  )) }),
28502
- (footerContent || userSection) && /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "p-3 border-t border-[var(--color-border)] space-y-1 flex-shrink-0", children: [
28502
+ (footerContent || userSection) && /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "p-3 border-t border-border space-y-1 flex-shrink-0", children: [
28503
28503
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: cn(
28504
28504
  "flex items-center",
28505
28505
  collapsed ? "justify-center flex-col gap-4" : "justify-between px-2"
@@ -28512,7 +28512,7 @@ var Sidebar = ({
28512
28512
  {
28513
28513
  variant: "ghost",
28514
28514
  onClick: handleToggle,
28515
- className: "w-full flex justify-center p-2 mt-2 text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] lg:hidden",
28515
+ className: "w-full flex justify-center p-2 mt-2 text-muted-foreground hover:text-foreground lg:hidden",
28516
28516
  children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 20 })
28517
28517
  }
28518
28518
  )
@@ -28646,8 +28646,8 @@ var SignaturePad = ({
28646
28646
  Box,
28647
28647
  {
28648
28648
  className: cn(
28649
- "w-full rounded-[var(--radius-md)] border border-[var(--color-border)]",
28650
- "bg-[var(--color-background)]",
28649
+ "w-full rounded-md border border-border",
28650
+ "bg-background",
28651
28651
  readOnly && "opacity-60 cursor-not-allowed",
28652
28652
  !readOnly && "cursor-crosshair"
28653
28653
  ),
@@ -29091,13 +29091,13 @@ function SimulatorBoard({
29091
29091
  backgroundPosition: "center"
29092
29092
  },
29093
29093
  children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "lg", className: "p-4", children: [
29094
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
29094
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
29095
29095
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", children: [
29096
29096
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", weight: "bold", children: entity.title }),
29097
29097
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", children: entity.description })
29098
29098
  ] }) }),
29099
29099
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
29100
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: t("simulator.parameters") }),
29100
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: t("simulator.parameters") }),
29101
29101
  parameters.map((param) => /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", children: [
29102
29102
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { justify: "between", align: "center", children: [
29103
29103
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", weight: "medium", children: param.label }),
@@ -29117,16 +29117,16 @@ function SimulatorBoard({
29117
29117
  value: values[param.id],
29118
29118
  onChange: (e) => handleParameterChange(param.id, Number(e.target.value)),
29119
29119
  disabled: submitted,
29120
- className: "w-full accent-[var(--color-foreground)]"
29120
+ className: "w-full accent-foreground"
29121
29121
  }
29122
29122
  ),
29123
29123
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { justify: "between", children: [
29124
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: [
29124
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-muted-foreground", children: [
29125
29125
  param.min,
29126
29126
  " ",
29127
29127
  param.unit
29128
29128
  ] }),
29129
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: [
29129
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-muted-foreground", children: [
29130
29130
  param.max,
29131
29131
  " ",
29132
29132
  param.unit
@@ -29135,7 +29135,7 @@ function SimulatorBoard({
29135
29135
  ] }, param.id))
29136
29136
  ] }) }),
29137
29137
  /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", align: "center", children: [
29138
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-[var(--color-muted-foreground)]", children: entity.outputLabel }),
29138
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: "bold", className: "uppercase tracking-wider text-muted-foreground", children: entity.outputLabel }),
29139
29139
  /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "h3", weight: "bold", children: [
29140
29140
  output.toFixed(2),
29141
29141
  " ",
@@ -29145,7 +29145,7 @@ function SimulatorBoard({
29145
29145
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: isCorrect ? LucideIcons.CheckCircle : LucideIcons.XCircle, size: "sm", className: isCorrect ? "text-green-600" : "text-red-600" }),
29146
29146
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", className: isCorrect ? "text-green-600" : "text-red-600", children: isCorrect ? entity.successMessage ?? t("simulator.correct") : entity.failMessage ?? t("simulator.incorrect") })
29147
29147
  ] }),
29148
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[var(--color-muted-foreground)]", children: [
29148
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-muted-foreground", children: [
29149
29149
  t("simulator.target"),
29150
29150
  ": ",
29151
29151
  targetValue,
@@ -29310,8 +29310,8 @@ var SplitPane = ({
29310
29310
  {
29311
29311
  onMouseDown: handleMouseDown,
29312
29312
  className: cn(
29313
- "flex-shrink-0 bg-[var(--color-border)] transition-colors",
29314
- isHorizontal ? "w-1 cursor-col-resize hover:w-1.5 hover:bg-[var(--color-muted-foreground)]" : "h-1 cursor-row-resize hover:h-1.5 hover:bg-[var(--color-muted-foreground)]"
29313
+ "flex-shrink-0 bg-border transition-colors",
29314
+ isHorizontal ? "w-1 cursor-col-resize hover:w-1.5 hover:bg-muted-foreground" : "h-1 cursor-row-resize hover:h-1.5 hover:bg-muted-foreground"
29315
29315
  )
29316
29316
  }
29317
29317
  ),
@@ -29331,8 +29331,8 @@ var StatCard = ({
29331
29331
  trendDirection: manualDirection,
29332
29332
  invertTrend = false,
29333
29333
  icon: iconProp,
29334
- iconBg = "bg-[var(--color-muted)]",
29335
- iconColor = "text-[var(--color-foreground)]",
29334
+ iconBg = "bg-muted",
29335
+ iconColor = "text-foreground",
29336
29336
  subtitle,
29337
29337
  action,
29338
29338
  className,
@@ -29420,8 +29420,8 @@ var StatCard = ({
29420
29420
  className: cn("grid gap-4", className),
29421
29421
  style: { gridTemplateColumns: `repeat(${schemaStats.length}, 1fr)` },
29422
29422
  children: schemaStats.map((_, idx) => /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", className: "animate-pulse", children: [
29423
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-3 bg-[var(--color-muted)] rounded w-16" }),
29424
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-6 bg-[var(--color-muted)] rounded w-12" })
29423
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-3 bg-muted rounded w-16" }),
29424
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-6 bg-muted rounded w-12" })
29425
29425
  ] }) }, idx))
29426
29426
  }
29427
29427
  );
@@ -29452,9 +29452,9 @@ var StatCard = ({
29452
29452
  }
29453
29453
  if (isLoading) {
29454
29454
  return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "sm", className: "animate-pulse", children: [
29455
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-4 bg-[var(--color-muted)] rounded w-24" }),
29456
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-8 bg-[var(--color-muted)] rounded w-32" }),
29457
- /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-4 bg-[var(--color-muted)] rounded w-20" })
29455
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-4 bg-muted rounded w-24" }),
29456
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-8 bg-muted rounded w-32" }),
29457
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "h-4 bg-muted rounded w-20" })
29458
29458
  ] }) });
29459
29459
  }
29460
29460
  return /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: cn("p-6", className), children: [
@@ -29470,7 +29470,7 @@ var StatCard = ({
29470
29470
  gap: "none",
29471
29471
  className: cn(
29472
29472
  "gap-0.5 text-sm font-bold",
29473
- isPositive ? "text-[var(--color-success)]" : trendDirection === "neutral" ? "text-[var(--color-muted-foreground)]" : "text-[var(--color-error)]"
29473
+ isPositive ? "text-success" : trendDirection === "neutral" ? "text-muted-foreground" : "text-error"
29474
29474
  ),
29475
29475
  children: [
29476
29476
  /* @__PURE__ */ jsxRuntime.jsx(TrendIcon, { className: "h-4 w-4" }),
@@ -29520,7 +29520,7 @@ var StatCard = ({
29520
29520
  {
29521
29521
  variant: "ghost",
29522
29522
  onClick: handleActionClick,
29523
- className: "mt-4 text-sm font-bold text-[var(--color-foreground)] hover:underline",
29523
+ className: "mt-4 text-sm font-bold text-foreground hover:underline",
29524
29524
  "data-testid": action.event ? `action-${action.event}` : void 0,
29525
29525
  children: [
29526
29526
  action.label,
@@ -29846,7 +29846,7 @@ function StateArchitectBoard({
29846
29846
  backgroundPosition: "center"
29847
29847
  },
29848
29848
  children: [
29849
- entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-[var(--color-muted)] to-[var(--color-accent)] opacity-60" }) : null,
29849
+ entity.headerImage && !headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: entity.headerImage, alt: "", onError: () => setHeaderError(true), className: "w-full h-full object-cover" }) }) : entity.headerImage && headerError ? /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "w-full h-32 rounded-lg bg-gradient-to-br from-muted to-accent opacity-60" }) : null,
29850
29850
  /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "xs", children: [
29851
29851
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", className: "text-foreground", children: entity.title }),
29852
29852
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body2", className: "text-muted-foreground", children: entity.description }),
@@ -30017,7 +30017,7 @@ var TabbedContainer = ({
30017
30017
  [controlledActiveTab, onTabChange]
30018
30018
  );
30019
30019
  const activeTabDef = safeTabs.find((tab) => tab.id === activeTab);
30020
- const activeContent = activeTabDef?.content || (activeTabDef?.sectionId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 text-[var(--color-muted-foreground)]", children: [
30020
+ const activeContent = activeTabDef?.content || (activeTabDef?.sectionId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 text-muted-foreground", children: [
30021
30021
  "Section: ",
30022
30022
  activeTabDef.sectionId
30023
30023
  ] }) : null);
@@ -30037,7 +30037,7 @@ var TabbedContainer = ({
30037
30037
  role: "tablist",
30038
30038
  className: cn(
30039
30039
  "flex flex-shrink-0",
30040
- isVertical ? "flex-col border-r-2 border-[var(--color-border)]" : "flex-row border-b-2 border-[var(--color-border)]"
30040
+ isVertical ? "flex-col border-r-2 border-border" : "flex-row border-b-2 border-border"
30041
30041
  ),
30042
30042
  children: safeTabs.map((tab) => {
30043
30043
  const isActive = tab.id === activeTab;
@@ -30053,9 +30053,9 @@ var TabbedContainer = ({
30053
30053
  onClick: () => !isDisabled && handleTabChange(tab.id),
30054
30054
  className: cn(
30055
30055
  "flex items-center gap-2 px-4 py-3 text-sm font-medium transition-colors",
30056
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-2",
30056
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
30057
30057
  "disabled:opacity-50 disabled:cursor-not-allowed",
30058
- isActive ? "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]" : "bg-[var(--color-card)] text-[var(--color-foreground)] hover:bg-[var(--color-muted)]",
30058
+ isActive ? "bg-primary text-primary-foreground" : "bg-card text-foreground hover:bg-muted",
30059
30059
  isVertical ? "justify-start" : "justify-center"
30060
30060
  ),
30061
30061
  children: [
@@ -30073,7 +30073,7 @@ var TabbedContainer = ({
30073
30073
  {
30074
30074
  className: cn(
30075
30075
  "px-1.5 py-0.5 text-xs font-medium rounded",
30076
- isActive ? "bg-[var(--color-primary-foreground)] text-[var(--color-primary)]" : "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]"
30076
+ isActive ? "bg-primary-foreground text-primary" : "bg-primary text-primary-foreground"
30077
30077
  ),
30078
30078
  children: tab.badge
30079
30079
  }
@@ -30195,7 +30195,7 @@ var Table = ({
30195
30195
  "th",
30196
30196
  {
30197
30197
  className: cn(
30198
- "px-4 py-3 text-left text-xs font-bold text-[var(--color-foreground)] uppercase tracking-wider bg-[var(--color-table-header)]",
30198
+ "px-4 py-3 text-left text-xs font-bold text-foreground uppercase tracking-wider bg-[var(--color-table-header)]",
30199
30199
  sortable && column.sortable && "cursor-pointer hover:bg-[var(--color-table-row-hover)]"
30200
30200
  ),
30201
30201
  style: { width: column.width },
@@ -30284,23 +30284,23 @@ var Table = ({
30284
30284
  Table.displayName = "Table";
30285
30285
  var STATUS_STYLES3 = {
30286
30286
  complete: {
30287
- dotColor: "text-[var(--color-success)]",
30288
- lineColor: "bg-[var(--color-success)]",
30287
+ dotColor: "text-success",
30288
+ lineColor: "bg-success",
30289
30289
  icon: LucideIcons.CheckCircle2
30290
30290
  },
30291
30291
  active: {
30292
- dotColor: "text-[var(--color-primary)]",
30293
- lineColor: "bg-[var(--color-primary)]",
30292
+ dotColor: "text-primary",
30293
+ lineColor: "bg-primary",
30294
30294
  icon: LucideIcons.Clock
30295
30295
  },
30296
30296
  pending: {
30297
- dotColor: "text-[var(--color-muted-foreground)]",
30298
- lineColor: "bg-[var(--color-border)]",
30297
+ dotColor: "text-muted-foreground",
30298
+ lineColor: "bg-border",
30299
30299
  icon: LucideIcons.Circle
30300
30300
  },
30301
30301
  error: {
30302
- dotColor: "text-[var(--color-error)]",
30303
- lineColor: "bg-[var(--color-error)]",
30302
+ dotColor: "text-error",
30303
+ lineColor: "bg-error",
30304
30304
  icon: LucideIcons.AlertCircle
30305
30305
  }
30306
30306
  };
@@ -30380,7 +30380,7 @@ var Timeline = ({
30380
30380
  {
30381
30381
  icon: ItemIcon,
30382
30382
  size: "sm",
30383
- className: cn(style.dotColor, "z-10 bg-[var(--color-card)]")
30383
+ className: cn(style.dotColor, "z-10 bg-card")
30384
30384
  }
30385
30385
  ),
30386
30386
  !isLast && /* @__PURE__ */ jsxRuntime.jsx(
@@ -30685,7 +30685,7 @@ var WizardContainer = ({
30685
30685
  {
30686
30686
  border: true,
30687
30687
  className: cn(
30688
- "border-b-2 border-x-0 border-t-0 border-[var(--color-border)]",
30688
+ "border-b-2 border-x-0 border-t-0 border-border",
30689
30689
  compact ? "px-4 py-2" : "px-6 py-4"
30690
30690
  ),
30691
30691
  children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "sm", align: "center", className: "flex-wrap", children: steps.map((step, index) => {
@@ -30701,10 +30701,10 @@ var WizardContainer = ({
30701
30701
  disabled: !isCompleted || !allowBack,
30702
30702
  className: cn(
30703
30703
  "w-8 h-8 flex items-center justify-center text-sm font-bold transition-colors",
30704
- "border-2 border-[var(--color-border)]",
30705
- isActive && "bg-[var(--color-primary)] text-[var(--color-primary-foreground)]",
30706
- isCompleted && "bg-[var(--color-primary)] text-[var(--color-primary-foreground)] cursor-pointer hover:bg-[var(--color-primary-hover)]",
30707
- !isActive && !isCompleted && "bg-[var(--color-card)] text-[var(--color-foreground)]"
30704
+ "border-2 border-border",
30705
+ isActive && "bg-primary text-primary-foreground",
30706
+ isCompleted && "bg-primary text-primary-foreground cursor-pointer hover:bg-primary-hover",
30707
+ !isActive && !isCompleted && "bg-card text-foreground"
30708
30708
  ),
30709
30709
  children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: LucideIcons.Check, size: "sm" }) : index + 1
30710
30710
  }
@@ -30714,7 +30714,7 @@ var WizardContainer = ({
30714
30714
  {
30715
30715
  className: cn(
30716
30716
  "hidden md:block",
30717
- isActive ? "text-[var(--color-foreground)] font-bold" : "text-[var(--color-muted-foreground)]"
30717
+ isActive ? "text-foreground font-bold" : "text-muted-foreground"
30718
30718
  ),
30719
30719
  children: /* @__PURE__ */ jsxRuntime.jsx(
30720
30720
  Typography,
@@ -30731,7 +30731,7 @@ var WizardContainer = ({
30731
30731
  {
30732
30732
  className: cn(
30733
30733
  "flex-1 h-0.5",
30734
- index < currentStep ? "bg-[var(--color-primary)]" : "bg-[var(--color-border)]"
30734
+ index < currentStep ? "bg-primary" : "bg-border"
30735
30735
  )
30736
30736
  }
30737
30737
  )
@@ -30745,14 +30745,14 @@ var WizardContainer = ({
30745
30745
  paddingX: "lg",
30746
30746
  paddingY: "md",
30747
30747
  border: true,
30748
- className: "border-b-2 border-x-0 border-t-0 border-[var(--color-border)]",
30748
+ className: "border-b-2 border-x-0 border-t-0 border-border",
30749
30749
  children: [
30750
30750
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h4", as: "h2", children: currentStepData.title ?? currentStepData.name ?? `Step ${currentStep + 1}` }),
30751
30751
  currentStepData.description && /* @__PURE__ */ jsxRuntime.jsx(
30752
30752
  Typography,
30753
30753
  {
30754
30754
  variant: "body2",
30755
- className: "text-[var(--color-muted-foreground)] mt-1",
30755
+ className: "text-muted-foreground mt-1",
30756
30756
  children: currentStepData.description
30757
30757
  }
30758
30758
  )
@@ -30765,7 +30765,7 @@ var WizardContainer = ({
30765
30765
  {
30766
30766
  border: true,
30767
30767
  className: cn(
30768
- "border-t-2 border-x-0 border-b-0 border-[var(--color-border)] flex justify-between",
30768
+ "border-t-2 border-x-0 border-b-0 border-border flex justify-between",
30769
30769
  compact ? "px-4 py-2" : "px-6 py-4"
30770
30770
  ),
30771
30771
  children: [
@@ -30785,7 +30785,7 @@ var WizardContainer = ({
30785
30785
  Typography,
30786
30786
  {
30787
30787
  variant: "caption",
30788
- className: "text-[var(--color-muted-foreground)]",
30788
+ className: "text-muted-foreground",
30789
30789
  children: t("wizard.stepOf", { current: String(currentStep + 1), total: String(steps.length) })
30790
30790
  }
30791
30791
  ) }),
@@ -30994,7 +30994,7 @@ function WorldMapBoard({
30994
30994
  if (isLoading || !resolved) {
30995
30995
  return /* @__PURE__ */ jsxRuntime.jsx(LoadingState, { message: "Loading map..." });
30996
30996
  }
30997
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("world-map-board min-h-screen bg-[var(--color-background)]", className), gap: "none", children: [
30997
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack, { className: cn("world-map-board min-h-screen bg-background", className), gap: "none", children: [
30998
30998
  header && header(ctx),
30999
30999
  /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex-1 overflow-hidden", gap: "none", children: [
31000
31000
  /* @__PURE__ */ jsxRuntime.jsxs(Stack, { className: "flex-1 overflow-auto p-4 relative", children: [
@@ -31025,7 +31025,7 @@ function WorldMapBoard({
31025
31025
  ),
31026
31026
  overlay && overlay(ctx)
31027
31027
  ] }),
31028
- sidePanel && /* @__PURE__ */ jsxRuntime.jsx(Stack, { className: "w-80 shrink-0 border-l border-[var(--color-border)] bg-[var(--color-surface)] overflow-y-auto p-4", children: sidePanel(ctx) })
31028
+ sidePanel && /* @__PURE__ */ jsxRuntime.jsx(Stack, { className: "w-80 shrink-0 border-l border-border bg-surface overflow-y-auto p-4", children: sidePanel(ctx) })
31029
31029
  ] }),
31030
31030
  footer && footer(ctx)
31031
31031
  ] });
@@ -31425,13 +31425,13 @@ function renderContainedPortal(slot, content, onDismiss) {
31425
31425
  className: "pointer-events-auto max-w-[calc(100%-2rem)] max-h-full overflow-auto flex flex-col",
31426
31426
  onClick: (e) => e.stopPropagation(),
31427
31427
  children: [
31428
- content.props.title ? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center justify-between p-4 border-b border-[var(--color-border)]", children: [
31428
+ content.props.title ? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center justify-between p-4 border-b border-border", children: [
31429
31429
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-semibold", children: String(content.props.title) }),
31430
31430
  /* @__PURE__ */ jsxRuntime.jsx(
31431
31431
  Box,
31432
31432
  {
31433
31433
  as: "button",
31434
- className: "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] cursor-pointer",
31434
+ className: "text-muted-foreground hover:text-foreground cursor-pointer",
31435
31435
  onClick: onDismiss,
31436
31436
  children: "\u2715"
31437
31437
  }
@@ -31459,13 +31459,13 @@ function renderContainedPortal(slot, content, onDismiss) {
31459
31459
  ),
31460
31460
  onClick: (e) => e.stopPropagation(),
31461
31461
  children: [
31462
- content.props.title ? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center justify-between p-4 border-b border-[var(--color-border)]", children: [
31462
+ content.props.title ? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "flex items-center justify-between p-4 border-b border-border", children: [
31463
31463
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h3", className: "text-lg font-semibold", children: String(content.props.title) }),
31464
31464
  /* @__PURE__ */ jsxRuntime.jsx(
31465
31465
  Box,
31466
31466
  {
31467
31467
  as: "button",
31468
- className: "text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] cursor-pointer",
31468
+ className: "text-muted-foreground hover:text-foreground cursor-pointer",
31469
31469
  onClick: onDismiss,
31470
31470
  children: "\u2715"
31471
31471
  }
@@ -31491,7 +31491,7 @@ function renderContainedPortal(slot, content, onDismiss) {
31491
31491
  return /* @__PURE__ */ jsxRuntime.jsx(
31492
31492
  Box,
31493
31493
  {
31494
- className: "absolute inset-0 z-50 bg-[var(--color-foreground)]/50 flex items-center justify-center overflow-auto",
31494
+ className: "absolute inset-0 z-50 bg-foreground/50 flex items-center justify-center overflow-auto",
31495
31495
  onClick: onDismiss,
31496
31496
  children: /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "max-h-full overflow-auto", onClick: (e) => e.stopPropagation(), children: slotContent })
31497
31497
  }
@@ -31722,7 +31722,7 @@ function SlotPortal({
31722
31722
  wrapper = /* @__PURE__ */ jsxRuntime.jsx(
31723
31723
  Box,
31724
31724
  {
31725
- className: "fixed inset-0 z-50 bg-[var(--color-foreground)]/50 flex items-center justify-center",
31725
+ className: "fixed inset-0 z-50 bg-foreground/50 flex items-center justify-center",
31726
31726
  onClick: onDismiss,
31727
31727
  children: /* @__PURE__ */ jsxRuntime.jsx(Box, { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content, onDismiss }) })
31728
31728
  }
@@ -31824,7 +31824,7 @@ function SlotContentRenderer({
31824
31824
  className: "slot-content",
31825
31825
  "data-pattern": content.pattern,
31826
31826
  "data-id": content.id,
31827
- children: content.props.children ?? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "p-4 text-sm text-[var(--color-muted-foreground)] border border-dashed border-[var(--color-border)] rounded", children: [
31827
+ children: content.props.children ?? /* @__PURE__ */ jsxRuntime.jsxs(Box, { className: "p-4 text-sm text-muted-foreground border border-dashed border-border rounded", children: [
31828
31828
  "Unknown pattern: ",
31829
31829
  content.pattern,
31830
31830
  content.sourceTrait && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", className: "ml-2", children: [