@slyxup/ui 2.4.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +116 -16
  3. package/dist/components/BillingPortal/BillingPortal.d.ts +18 -16
  4. package/dist/components/BillingPortal/BillingPortal.d.ts.map +1 -1
  5. package/dist/components/BillingPortal/BillingPortal.js +9 -55
  6. package/dist/components/BillingPortal/BillingPortal.js.map +1 -1
  7. package/dist/components/CopyField.d.ts +9 -0
  8. package/dist/components/CopyField.d.ts.map +1 -0
  9. package/dist/components/CopyField.js +29 -0
  10. package/dist/components/CopyField.js.map +1 -0
  11. package/dist/components/CurrentPlanCard/CurrentPlanCard.d.ts +30 -0
  12. package/dist/components/CurrentPlanCard/CurrentPlanCard.d.ts.map +1 -0
  13. package/dist/components/CurrentPlanCard/CurrentPlanCard.js +40 -0
  14. package/dist/components/CurrentPlanCard/CurrentPlanCard.js.map +1 -0
  15. package/dist/components/EmptyState.d.ts +10 -0
  16. package/dist/components/EmptyState.d.ts.map +1 -0
  17. package/dist/components/EmptyState.js +8 -0
  18. package/dist/components/EmptyState.js.map +1 -0
  19. package/dist/components/InvoicesTable/InvoicesTable.d.ts +20 -0
  20. package/dist/components/InvoicesTable/InvoicesTable.d.ts.map +1 -0
  21. package/dist/components/InvoicesTable/InvoicesTable.js +33 -0
  22. package/dist/components/InvoicesTable/InvoicesTable.js.map +1 -0
  23. package/dist/components/OtpInput.d.ts +15 -0
  24. package/dist/components/OtpInput.d.ts.map +1 -0
  25. package/dist/components/OtpInput.js +58 -0
  26. package/dist/components/OtpInput.js.map +1 -0
  27. package/dist/components/PasswordStrength.d.ts +11 -0
  28. package/dist/components/PasswordStrength.d.ts.map +1 -0
  29. package/dist/components/PasswordStrength.js +34 -0
  30. package/dist/components/PasswordStrength.js.map +1 -0
  31. package/dist/components/PlanCard/PlanCard.d.ts +29 -0
  32. package/dist/components/PlanCard/PlanCard.d.ts.map +1 -0
  33. package/dist/components/PlanCard/PlanCard.js +46 -0
  34. package/dist/components/PlanCard/PlanCard.js.map +1 -0
  35. package/dist/components/PricingTable/PricingTable.d.ts +18 -15
  36. package/dist/components/PricingTable/PricingTable.d.ts.map +1 -1
  37. package/dist/components/PricingTable/PricingTable.js +16 -47
  38. package/dist/components/PricingTable/PricingTable.js.map +1 -1
  39. package/dist/components/SignIn/SignIn.js +1 -1
  40. package/dist/components/SignIn/SignIn.js.map +1 -1
  41. package/dist/components/SignUp/SignUp.js +1 -1
  42. package/dist/components/SignUp/SignUp.js.map +1 -1
  43. package/dist/components/SubscriptionStatus/SubscriptionStatus.d.ts +12 -0
  44. package/dist/components/SubscriptionStatus/SubscriptionStatus.d.ts.map +1 -0
  45. package/dist/components/SubscriptionStatus/SubscriptionStatus.js +31 -0
  46. package/dist/components/SubscriptionStatus/SubscriptionStatus.js.map +1 -0
  47. package/dist/index.d.ts +13 -5
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +12 -3
  50. package/dist/index.js.map +1 -1
  51. package/dist/lib/scoped-theme.d.ts +10 -0
  52. package/dist/lib/scoped-theme.d.ts.map +1 -0
  53. package/dist/lib/scoped-theme.js +20 -0
  54. package/dist/lib/scoped-theme.js.map +1 -0
  55. package/dist/react/hooks/useBilling.d.ts +23 -1
  56. package/dist/react/hooks/useBilling.d.ts.map +1 -1
  57. package/dist/react/hooks/useBilling.js +43 -4
  58. package/dist/react/hooks/useBilling.js.map +1 -1
  59. package/dist/react/provider/SlyxUpProvider.js +1 -1
  60. package/dist/react/provider/SlyxUpProvider.js.map +1 -1
  61. package/dist/styles.d.ts +1 -1
  62. package/dist/styles.d.ts.map +1 -1
  63. package/dist/styles.js +91 -0
  64. package/dist/styles.js.map +1 -1
  65. package/dist/theme.d.ts.map +1 -1
  66. package/dist/theme.js.map +1 -1
  67. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { injectStyles, CSS } from './styles';
2
2
  export { applyTheme, getTheme, ACCENTS, FONTS, } from './theme';
3
- export { KeyholeMark, GoogleIcon, GitHubIcon, CheckIcon, EyeIcon, EyeOffIcon } from './icons';
3
+ export { KeyholeMark, GoogleIcon, GitHubIcon, CheckIcon, EyeIcon, EyeOffIcon, } from './icons';
4
4
  // All React lives here now (2-SDK model) — provider, context, hooks.
5
5
  export { SlyxUpProvider, } from './react/provider/SlyxUpProvider';
6
6
  export { AuthContext, useAuthContext, } from './react/context/auth-context';
@@ -10,9 +10,13 @@ export { useSession } from './react/hooks/useSession';
10
10
  export { useTwoFactor } from './react/hooks/useTwoFactor';
11
11
  export { useConnectedAccounts } from './react/hooks/useConnectedAccounts';
12
12
  export { useTheme } from './react/hooks/useTheme';
13
- export { useBilling, usePlans, useSubscription, useInvoices, useCheckout, } from './react/hooks/useBilling';
13
+ export { useBilling, usePlans, useSubscription, useInvoices, useCheckout, useTransaction, } from './react/hooks/useBilling';
14
14
  export { SignIn } from './components/SignIn/SignIn';
15
- export { PasswordField } from './components/PasswordField';
15
+ export { PasswordField, } from './components/PasswordField';
16
+ export { OtpInput } from './components/OtpInput';
17
+ export { PasswordStrength, passwordScore, } from './components/PasswordStrength';
18
+ export { CopyField } from './components/CopyField';
19
+ export { EmptyState } from './components/EmptyState';
16
20
  export { SignUp } from './components/SignUp/SignUp';
17
21
  export { UserButton, } from './components/UserButton/UserButton';
18
22
  export { UserProfile, } from './components/UserProfile/UserProfile';
@@ -22,6 +26,11 @@ export { EmailVerification, } from './components/EmailVerification/EmailVerifica
22
26
  export { SocialButtons, } from './components/SocialButtons/SocialButtons';
23
27
  export { BillingPortal, } from './components/BillingPortal/BillingPortal';
24
28
  export { PricingTable, } from './components/PricingTable/PricingTable';
29
+ // Granular billing parts — compose your own layouts without the full portal.
30
+ export { PlanCard, } from './components/PlanCard/PlanCard';
31
+ export { CurrentPlanCard, } from './components/CurrentPlanCard/CurrentPlanCard';
32
+ export { InvoicesTable, } from './components/InvoicesTable/InvoicesTable';
33
+ export { SubscriptionStatus, } from './components/SubscriptionStatus/SubscriptionStatus';
25
34
  export { AdminPanel, } from './components/AdminPanel/AdminPanel';
26
35
  export { initPaddle, openPaddleCheckout } from './lib/paddle';
27
36
  import { useEffect } from 'react';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,OAAO,EACP,KAAK,GAUN,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC9F,qEAAqE;AACrE,OAAO,EACL,cAAc,GAEf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,WAAW,EACX,cAAc,GAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAwB,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACL,UAAU,EACV,QAAQ,EACR,eAAe,EACf,WAAW,EACX,WAAW,GACZ,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,MAAM,EAAoB,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,aAAa,EAA2B,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,MAAM,EAAoB,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,UAAU,GAEX,MAAM,oC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8C,CAAC;AACtD,OAAO,EACL,aAAa,GAGd,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,UAAU,GAEX,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;;GAGG;AACH,MAAM,UAAU,YAAY;IAC1B,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,EAAE,CAAC;IACjB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type SlyxUpTheme } from '../theme';
2
+ /**
3
+ * Apply a SlyxUp theme to exactly one component subtree.
4
+ * Uses the same engine as global `applyTheme()` — accent, mode, radius,
5
+ * primary style, density — scoped to the returned ref's element (which gets
6
+ * `slyxup-root` automatically). No global leakage: siblings and the host
7
+ * app are untouched. Pass `theme` straight from component props.
8
+ */
9
+ export declare function useScopedTheme<T extends HTMLElement = HTMLDivElement>(theme?: SlyxUpTheme): import("react").MutableRefObject<T | null>;
10
+ //# sourceMappingURL=scoped-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoped-theme.d.ts","sourceRoot":"","sources":["../../src/lib/scoped-theme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAExD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,cAAc,EACnE,KAAK,CAAC,EAAE,WAAW,8CAQpB"}
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+ import { useEffect, useRef } from 'react';
3
+ import { applyTheme } from '../theme';
4
+ /**
5
+ * Apply a SlyxUp theme to exactly one component subtree.
6
+ * Uses the same engine as global `applyTheme()` — accent, mode, radius,
7
+ * primary style, density — scoped to the returned ref's element (which gets
8
+ * `slyxup-root` automatically). No global leakage: siblings and the host
9
+ * app are untouched. Pass `theme` straight from component props.
10
+ */
11
+ export function useScopedTheme(theme) {
12
+ const ref = useRef(null);
13
+ useEffect(() => {
14
+ if (!theme || !ref.current)
15
+ return;
16
+ return applyTheme(theme, ref.current);
17
+ }, [theme]);
18
+ return ref;
19
+ }
20
+ //# sourceMappingURL=scoped-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoped-theme.js","sourceRoot":"","sources":["../../src/lib/scoped-theme.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAoB,MAAM,UAAU,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAC5B,KAAmB;IAEnB,MAAM,GAAG,GAAG,MAAM,CAAW,IAAI,CAAC,CAAC;IACnC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,OAAO;YAAE,OAAO;QACnC,OAAO,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACZ,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -17,9 +17,31 @@ export declare function useInvoices(apiUrl?: string): {
17
17
  invoices: Invoice[];
18
18
  loading: boolean;
19
19
  };
20
+ export interface CheckoutHookOptions {
21
+ /** Return target carried through payment → success page. */
22
+ origin?: string;
23
+ openIn?: '_blank' | '_self';
24
+ manualOpen?: boolean;
25
+ }
20
26
  export declare function useCheckout(apiUrl?: string): {
21
- checkout: (planId: string) => Promise<void>;
27
+ checkout: (planId: string, opts?: CheckoutHookOptions) => Promise<import("@slyxup/core").CheckoutResult>;
22
28
  loading: boolean;
23
29
  error: string | null;
24
30
  };
31
+ export interface TransactionStatus {
32
+ id: string;
33
+ status: string;
34
+ paid: boolean;
35
+ checkoutUrl: string | null;
36
+ }
37
+ /**
38
+ * Verify a checkout transaction with Paddle — headless building block for
39
+ * custom success screens. `paid` is true only for completed transactions.
40
+ */
41
+ export declare function useTransaction(transactionId: string | undefined, apiUrl?: string): {
42
+ transaction: TransactionStatus | null;
43
+ loading: boolean;
44
+ error: string | null;
45
+ reload: () => Promise<void>;
46
+ };
25
47
  //# sourceMappingURL=useBilling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBilling.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/useBilling.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAKtB,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM;;EAMzC;AAED,wBAAgB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM;;;;EAsBtE;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,CAAC,EAAE,MAAM;;;;;EAwBhB;AAED,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM;;;EAc1C;AAED,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM;uBAMxB,MAAM;;;EAexB"}
1
+ {"version":3,"file":"useBilling.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/useBilling.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAKtB,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM;;EAMzC;AAED,wBAAgB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM;;;;EAsBtE;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,CAAC,EAAE,MAAM;;;;;EA6BhB;AAED,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM;;;EAc1C;AAED,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM;uBAMxB,MAAM,SAAS,mBAAmB;;;EAgBpD;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,MAAM,CAAC,EAAE,MAAM;;;;;EA8BhB"}
@@ -31,8 +31,13 @@ export function useSubscription(projectId, apiUrl) {
31
31
  const [loading, setLoading] = useState(true);
32
32
  const [error, setError] = useState(null);
33
33
  const reload = useCallback(async () => {
34
+ if (!projectId) {
35
+ setSubscription(null);
36
+ setLoading(false);
37
+ return;
38
+ }
34
39
  try {
35
- const sub = await client.getSubscription();
40
+ const sub = await client.getSubscription(projectId);
36
41
  setSubscription(sub);
37
42
  setError(null);
38
43
  }
@@ -42,7 +47,7 @@ export function useSubscription(projectId, apiUrl) {
42
47
  finally {
43
48
  setLoading(false);
44
49
  }
45
- }, [client]);
50
+ }, [client, projectId]);
46
51
  useEffect(() => {
47
52
  void reload();
48
53
  }, [reload]);
@@ -65,14 +70,15 @@ export function useCheckout(apiUrl) {
65
70
  const { client } = useBilling(apiUrl);
66
71
  const [loading, setLoading] = useState(false);
67
72
  const [error, setError] = useState(null);
68
- const checkout = useCallback(async (planId) => {
73
+ const checkout = useCallback(async (planId, opts) => {
69
74
  setLoading(true);
70
75
  setError(null);
71
76
  try {
72
- await client.checkout(planId); // redirects to Paddle
77
+ return await client.checkout(planId, opts);
73
78
  }
74
79
  catch (e) {
75
80
  setError(e instanceof Error ? e.message : 'Checkout failed');
81
+ throw e;
76
82
  }
77
83
  finally {
78
84
  setLoading(false);
@@ -80,4 +86,37 @@ export function useCheckout(apiUrl) {
80
86
  }, [client]);
81
87
  return { checkout, loading, error };
82
88
  }
89
+ /**
90
+ * Verify a checkout transaction with Paddle — headless building block for
91
+ * custom success screens. `paid` is true only for completed transactions.
92
+ */
93
+ export function useTransaction(transactionId, apiUrl) {
94
+ const { client } = useBilling(apiUrl);
95
+ const [data, setData] = useState(null);
96
+ const [loading, setLoading] = useState(true);
97
+ const [error, setError] = useState(null);
98
+ const reload = useCallback(async () => {
99
+ if (!transactionId) {
100
+ setData(null);
101
+ setLoading(false);
102
+ return;
103
+ }
104
+ setLoading(true);
105
+ try {
106
+ const res = await client.getTransaction(transactionId);
107
+ setData(res);
108
+ setError(null);
109
+ }
110
+ catch (e) {
111
+ setError(e instanceof Error ? e.message : 'Failed');
112
+ }
113
+ finally {
114
+ setLoading(false);
115
+ }
116
+ }, [client, transactionId]);
117
+ useEffect(() => {
118
+ void reload();
119
+ }, [reload]);
120
+ return { transaction: data, loading, error, reload };
121
+ }
83
122
  //# sourceMappingURL=useBilling.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBilling.js","sourceRoot":"","sources":["../../../src/react/hooks/useBilling.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EACL,aAAa,GAId,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElE,MAAM,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC;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E,CAAC;YACX,QAAQ,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QACtD,CAAC;gBAAS,CAAC;YACT,UAAU,CAAC,KAAK,CAAC,CAAC;QACpB,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;IAE5B,SAAS,CAAC,GAAG,EAAE;QACb,KAAK,MAAM,EAAE,CAAC;IAChB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACvD,CAAC"}
@@ -39,7 +39,7 @@ export function SlyxUpProvider({ publishableKey, apiUrl, children, }) {
39
39
  const resolvedApiUrl = apiUrl ?? resolveEnvApiUrl();
40
40
  const client = useMemo(() => {
41
41
  if (!resolvedKey && typeof window !== 'undefined') {
42
- console.warn('[SlyxUp] No publishableKey provided. Tried NEXT_PUBLIC_SLYXUP_PUBLISHABLE_KEY, VITE_SLYXUP_PUBLISHABLE_KEY, REACT_APP_SLYXUP_PUBLISHABLE_KEY, EXPO_PUBLIC_SLYXUP_PUBLISHABLE_KEY, SLYXUP_PUBLISHABLE_KEY. Set one in .env.local or pass publishableKey prop. Get your key: `npx @slyxup/cli keys create --project-id <id> --type publishable`');
42
+ console.warn('[SlyxUp] No publishableKey provided. Tried NEXT_PUBLIC_SLYXUP_PUBLISHABLE_KEY, VITE_SLYXUP_PUBLISHABLE_KEY, REACT_APP_SLYXUP_PUBLISHABLE_KEY, EXPO_PUBLIC_SLYXUP_PUBLISHABLE_KEY, SLYXUP_PUBLISHABLE_KEY. Set one in .env.local or pass publishableKey prop.');
43
43
  }
44
44
  return new SlyxupClient({
45
45
  publishableKey: resolvedKey ?? 'pk_test_missing',
@@ -1 +1 @@
1
- {"version":3,"file":"SlyxUpProvider.js","sourceRoot":"","sources":["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YAAY,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,IAAI;QACvC,MAAM;KACP,CAAC;IAEF,OAAO,KAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAwB,CAAC;AAC/E,CAAC"}
package/dist/styles.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * CSS variables on :root or .slyxup-scope.
5
5
  */
6
6
  export declare const FONT_LINK = "";
7
- export declare const CSS = "\n.slyxup-root {\n /* \u2500\u2500 Tokens \u2500\u2500 */\n --slx-accent: #5b5bd6;\n --slx-accent-hover: #4c4cc4;\n --slx-accent-soft: rgba(91, 91, 214, 0.12);\n --slx-accent-2: #8b5cf6;\n --slx-bg: #ffffff;\n --slx-bg-subtle: #f7f7fb;\n --slx-bg-page: #e9eaf6;\n --slx-ink: #16161d;\n --slx-ink-strong: #0c0c12;\n --slx-muted: #6f6f7b;\n --slx-border: #e3e3ee;\n --slx-border-strong: #d3d3e2;\n --slx-danger: #cc333f;\n --slx-success: #177245;\n --slx-radius-sm: 8px;\n --slx-radius: 10px;\n --slx-radius-lg: 14px;\n --slx-font: inherit;\n --slx-display: inherit;\n --slx-mono: ui-monospace, SFMono-Regular, Menlo, monospace;\n --slx-shadow-card:\n 0 1px 2px rgba(18,18,28,.05),\n 0 8px 24px -6px rgba(18,18,28,.09),\n 0 24px 64px -16px rgba(18,18,28,.13);\n --slx-shadow-pop:\n 0 2px 6px rgba(18,18,28,.08),\n 0 16px 48px -12px rgba(18,18,28,.18);\n\n font-family: var(--slx-font);\n color: var(--slx-ink);\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n font-feature-settings: \"cv11\", \"ss01\";\n}\n@media (prefers-color-scheme: dark) {\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']):not([data-slyxup-theme='light']) {\n --slx-accent: #8484f2;\n --slx-accent-hover: #9696f5;\n --slx-accent-soft: rgba(132, 132, 242, 0.16);\n --slx-bg: #17171f;\n --slx-bg-subtle: #1e1e28;\n --slx-bg-page: #101016;\n --slx-ink: #f0f0f4;\n --slx-ink-strong: #ffffff;\n --slx-muted: #9a9aa6;\n --slx-border: #292935;\n --slx-border-strong: #343442;\n --slx-danger: #f0737d;\n --slx-success: #4ade80;\n --slx-shadow-card:\n 0 1px 2px rgba(0,0,0,.25),\n 0 12px 32px -8px rgba(0,0,0,.5),\n 0 32px 72px -20px rgba(0,0,0,.55);\n --slx-shadow-pop:\n 0 4px 12px rgba(0,0,0,.4),\n 0 24px 56px -12px rgba(0,0,0,.6);\n }\n}\n\n@keyframes slx-shake {\n 10%, 90% { transform: translateX(-1px); }\n 20%, 80% { transform: translateX(2px); }\n 30%, 50%, 70% { transform: translateX(-4px); }\n 40%, 60% { transform: translateX(4px); }\n}\n@keyframes slx-spin { to { transform: rotate(360deg); } }\n@keyframes slx-rise {\n from { opacity: 0; transform: translateY(8px) scale(.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n}\n@keyframes slx-pop {\n 0% { transform: scale(.5); opacity: 0; }\n 60% { transform: scale(1.08); opacity: 1; }\n 100% { transform: scale(1); }\n}\n@media (prefers-reduced-motion: reduce) {\n .slyxup-root * { animation: none !important; transition: none !important; }\n}\n\n/* \u2500\u2500 Card \u2500\u2500 */\n.slx-card {\n width: 100%;\n max-width: 400px;\n background: var(--slx-bg);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius-lg);\n padding: 34px 34px 30px;\n box-shadow: var(--slx-shadow-card);\n box-sizing: border-box;\n animation: slx-rise .38s cubic-bezier(.22,.9,.32,1) both;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-card,\n.slx-card { color: var(--slx-ink); }\n.slx-card-error { animation: slx-shake .45s cubic-bezier(.36,.07,.19,.97) both; }\n\n/* \u2500\u2500 Header / keyhole mark \u2500\u2500 */\n.slx-mark {\n width: 46px; height: 46px; border-radius: 13px;\n display: flex; align-items: center; justify-content: center;\n background: linear-gradient(140deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,.28),\n 0 6px 16px -6px rgba(91,91,214,.55);\n margin-bottom: 20px;\n}\n.slx-mark svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }\n.slx-title {\n font-family: var(--slx-display);\n font-size: 21px; font-weight: 650; letter-spacing: -0.022em;\n color: var(--slx-ink-strong);\n margin: 0 0 6px;\n}\n.slx-subtitle { font-size: 13.5px; color: var(--slx-muted); margin: 0 0 24px; line-height: 1.55; }\n\n/* \u2500\u2500 Fields \u2500\u2500 */\n.slx-field { margin-bottom: 15px; }\n.slx-row {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-bottom: 6px;\n}\n.slx-label {\n display: inline-block;\n font-size: 12.5px; font-weight: 550; letter-spacing: 0.01em;\n color: var(--slx-ink);\n}\n.slx-input {\n width: 100%; box-sizing: border-box;\n font: inherit; font-size: 14px; line-height: 1.4; color: var(--slx-ink);\n background: var(--slx-bg-subtle);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 10px 13px;\n outline: none;\n transition: border-color .15s, box-shadow .15s, background .15s;\n}\n.slx-input::placeholder { color: var(--slx-muted); opacity: .7; }\n.slx-input:hover { border-color: var(--slx-border-strong); }\n.slx-input:focus-visible {\n background: var(--slx-bg);\n border-color: var(--slx-accent);\n box-shadow: 0 0 0 3.5px var(--slx-accent-soft);\n}\n.slx-hint { font-size: 12px; color: var(--slx-muted); margin-top: 5px; }\n.slx-error-text {\n font-size: 13px; color: var(--slx-danger);\n background: color-mix(in srgb, var(--slx-danger) 8%, transparent);\n border: 1px solid color-mix(in srgb, var(--slx-danger) 26%, transparent);\n border-left: 3px solid var(--slx-danger);\n border-radius: var(--slx-radius-sm);\n padding: 10px 12px; margin: 0 0 16px; line-height: 1.45;\n}\n.slx-setup-note {\n font-size: 12px; line-height: 1.45;\n color: #7a5c00;\n background: #fff7dc;\n border: 1px solid #f3e3a0;\n border-radius: var(--slx-radius-sm);\n padding: 9px 11px; margin: 0 0 16px;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-setup-note {\n color: #f5d878; background: rgba(250,204,21,.07); border-color: rgba(250,204,21,.25);\n}\n.slx-setup-note code {\n font-family: var(--slx-mono); font-size: 11px;\n background: rgba(0,0,0,.05); border-radius: 4px; padding: 1px 4px;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-setup-note code { background: rgba(255,255,255,.08); }\n\n/* \u2500\u2500 Primary button \u2500\u2500 */\n.slx-btn {\n width: 100%; box-sizing: border-box;\n font-family: var(--slx-font); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;\n color: #fff; background: linear-gradient(180deg, #23232e 0%, #0a0a0f 100%);\n border: 1px solid #0a0a0f; border-radius: var(--slx-radius);\n padding: 11px 14px; cursor: pointer;\n box-shadow: 0 1px 2px rgba(10,10,15,.35), inset 0 1px 0 rgba(255,255,255,.08);\n display: inline-flex; align-items: center; justify-content: center; gap: 8px;\n transition: filter .15s, transform .06s, box-shadow .15s;\n}\n.slx-btn:hover { filter: brightness(1.22); }\n.slx-btn:active { transform: scale(.985); filter: brightness(.92); }\n.slx-btn:focus-visible { outline: none; box-shadow: 0 0 0 3.5px rgba(10,10,15,.16), 0 0 0 1.5px #0a0a0f; }\n.slx-btn[disabled] { opacity: .55; cursor: not-allowed; }\n@media (prefers-color-scheme: dark) {\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-btn {\n background: linear-gradient(180deg, #ffffff 0%, #ececf1 100%);\n color: #0a0a0f; border-color: #ececf1;\n box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.9);\n }\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-btn:hover { filter: brightness(.94); }\n}\n.slx-spinner {\n width: 15px; height: 15px; flex: none;\n border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;\n border-radius: 50%; animation: slx-spin .7s linear infinite;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-spinner { border-color: rgba(10,10,15,.25); border-top-color: #0a0a0f; }\n\n/* \u2500\u2500 Social \u2500\u2500 */\n.slx-social { display: grid; gap: 9px; margin-bottom: 4px; }\n.slx-social-btn {\n width: 100%; box-sizing: border-box;\n font: inherit; font-size: 13.5px; font-weight: 550;\n color: var(--slx-ink); background: var(--slx-bg);\n border: 1px solid var(--slx-border-strong); border-radius: var(--slx-radius);\n padding: 10px 14px; cursor: pointer;\n display: inline-flex; align-items: center; justify-content: center; gap: 10px;\n transition: background .15s, border-color .15s, transform .06s, box-shadow .15s;\n}\n.slx-social-btn:hover {\n background: var(--slx-bg-subtle);\n border-color: var(--slx-border-strong);\n box-shadow: 0 2px 8px -2px rgba(18,18,28,.12);\n}\n.slx-social-btn:active { transform: scale(.985); }\n.slx-social-btn:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-social-btn svg { flex: none; }\n\n/* \u2500\u2500 Divider & footer \u2500\u2500 */\n.slx-divider {\n display: flex; align-items: center; gap: 14px;\n color: var(--slx-muted); font-size: 11.5px;\n letter-spacing: .04em; text-transform: uppercase;\n margin: 18px 0;\n}\n.slx-divider::before, .slx-divider::after {\n content: \"\"; height: 1px; flex: 1;\n background: linear-gradient(90deg, transparent, var(--slx-border-strong));\n}\n.slx-divider::after { background: linear-gradient(90deg, var(--slx-border-strong), transparent); }\n.slx-footer { font-size: 13px; color: var(--slx-muted); margin-top: 22px; text-align: center; }\n.slx-link {\n color: var(--slx-accent); font-weight: 600; text-decoration: none; cursor: pointer;\n background: none; border: none; font: inherit; font-size: inherit;\n padding: 0; margin: 0;\n}\n.slx-link:hover { text-decoration: underline; color: var(--slx-accent-hover); }\n.slx-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); border-radius: 4px; }\n.slx-forgot { font-size: 12px; }\n\n/* \u2500\u2500 Success state \u2500\u2500 */\n.slx-success-icon {\n width: 48px; height: 48px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n background: color-mix(in srgb, var(--slx-success) 12%, transparent);\n color: var(--slx-success); margin: 4px auto 18px;\n animation: slx-pop .45s cubic-bezier(.22,.9,.32,1) both;\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--slx-success) 6%, transparent);\n}\n\n/* \u2500\u2500 User button \u2500\u2500 */\n.slx-userbtn-wrap { position: relative; display: inline-block; }\n.slx-userbtn-avatar {\n width: 36px; height: 36px; border-radius: 50%;\n border: 1px solid var(--slx-border); cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n font-size: 14px; font-weight: 650; color: #fff;\n background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n padding: 0; overflow: hidden;\n transition: box-shadow .15s, transform .06s;\n}\n.slx-userbtn-avatar:hover { box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n.slx-userbtn-avatar:active { transform: scale(.96); }\n.slx-userbtn-avatar img { width: 100%; height: 100%; object-fit: cover; }\n.slx-userbtn-avatar:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-menu {\n position: absolute; right: 0; top: calc(100% + 8px);\n min-width: 240px;\n background: var(--slx-bg);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius-lg);\n box-shadow: var(--slx-shadow-pop);\n overflow: hidden; z-index: 1000;\n animation: slx-rise .22s cubic-bezier(.22,.9,.32,1) both;\n}\n.slx-menu-header { padding: 14px 16px; border-bottom: 1px solid var(--slx-border); background: var(--slx-bg-subtle); }\n.slx-menu-name { font-size: 14px; font-weight: 600; margin: 0 0 2px; color: var(--slx-ink-strong); }\n.slx-menu-email { font-size: 12.5px; color: var(--slx-muted); margin: 0; word-break: break-all; }\n.slx-menu-item {\n display: block; width: 100%; text-align: left; box-sizing: border-box;\n font: inherit; font-size: 13.5px; color: var(--slx-ink);\n background: none; border: none; padding: 10px 16px; cursor: pointer;\n transition: background .12s;\n}\n.slx-menu-item:hover { background: color-mix(in srgb, var(--slx-ink) 4%, transparent); }\n.slx-menu-item:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--slx-accent-soft); }\n.slx-menu-item-danger { color: var(--slx-danger); }\n.slx-menu-item-danger:hover { background: color-mix(in srgb, var(--slx-danger) 7%, transparent); }\n\n/* \u2500\u2500 Badge (verified etc.) \u2500\u2500 */\n.slx-badge {\n display: inline-flex; align-items: center; gap: 5px;\n font-size: 11px; font-weight: 600; letter-spacing: .02em;\n padding: 2.5px 9px; border-radius: 999px;\n color: var(--slx-success);\n background: color-mix(in srgb, var(--slx-success) 9%, transparent);\n border: 1px solid color-mix(in srgb, var(--slx-success) 30%, transparent);\n}\n.slx-badge-ok { color: var(--slx-success); background: color-mix(in srgb, var(--slx-success) 9%, transparent); border-color: color-mix(in srgb, var(--slx-success) 30%, transparent); }\n.slx-badge-warn { color: #b45309; background: color-mix(in srgb, #f59e0b 10%, transparent); border-color: color-mix(in srgb, #f59e0b 30%, transparent); }\n.slx-badge-accent { color: var(--slx-accent); background: var(--slx-accent-soft); border-color: color-mix(in srgb, var(--slx-accent) 30%, transparent); }\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-badge-warn { color: #fbbf24; }\n\n/* \u2500\u2500 Modal overlay \u2500\u2500 */\n.slx-overlay {\n position: fixed; inset: 0; z-index: 9999;\n display: flex; align-items: center; justify-content: center;\n background: rgba(12, 12, 18, 0.55);\n backdrop-filter: blur(6px);\n animation: slx-rise .2s cubic-bezier(.22,.9,.32,1) both;\n padding: 16px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 UserProfile \u2500\u2500 */\n.slx-profile-modal {\n display: flex; flex-direction: column;\n width: 720px; max-width: calc(100vw - 32px);\n max-height: min(85vh, 720px);\n background: var(--slx-bg);\n border-radius: var(--slx-radius-lg);\n box-shadow: var(--slx-shadow-pop);\n overflow: hidden;\n animation: slx-rise .28s cubic-bezier(.22,.9,.32,1) both;\n box-sizing: border-box;\n}\n.slx-profile-head {\n display: flex; align-items: center; justify-content: space-between;\n padding: 22px 28px 18px;\n border-bottom: 1px solid var(--slx-border);\n flex-shrink: 0;\n background: var(--slx-bg);\n position: relative;\n z-index: 1;\n}\n.slx-profile-title {\n font-family: var(--slx-display);\n font-size: 18px; font-weight: 650; letter-spacing: -0.02em;\n color: var(--slx-ink-strong);\n margin: 0;\n}\n.slx-profile-close {\n width: 32px; height: 32px; border-radius: 8px;\n display: flex; align-items: center; justify-content: center;\n background: none; border: 1px solid var(--slx-border);\n color: var(--slx-muted); cursor: pointer; font-size: 16px;\n transition: background .12s, color .12s, border-color .12s;\n position: relative;\n z-index: 2;\n pointer-events: auto;\n flex-shrink: 0;\n -webkit-tap-highlight-color: transparent;\n touch-action: manipulation;\n}\n.slx-profile-close:hover { background: var(--slx-bg-subtle); color: var(--slx-ink); border-color: var(--slx-border-strong); }\n.slx-profile-close:active { transform: scale(.95); }\n.slx-profile-close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n\n.slx-profile-body {\n display: flex; flex: 1; min-height: 380px;\n overflow: hidden;\n min-width: 0;\n}\n\n/* \u2500\u2500 Left nav \u2500\u2500 */\n.slx-profile-nav {\n width: 200px; flex-shrink: 0;\n display: flex; flex-direction: column; gap: 2px;\n padding: 12px 8px;\n border-right: 1px solid var(--slx-border);\n background: var(--slx-bg-subtle);\n}\n.slx-profile-nav-btn {\n display: flex; align-items: center; gap: 9px;\n font: inherit; font-size: 13.5px; font-weight: 500;\n color: var(--slx-muted); background: none; border: none;\n border-radius: var(--slx-radius-sm);\n padding: 9px 12px; cursor: pointer; text-align: left;\n transition: background .12s, color .12s;\n}\n.slx-profile-nav-btn:hover { background: color-mix(in srgb, var(--slx-ink) 5%, transparent); color: var(--slx-ink); }\n.slx-profile-nav-btn.on { background: var(--slx-bg); color: var(--slx-ink-strong); font-weight: 600; box-shadow: 0 1px 3px rgba(18,18,28,.06); }\n.slx-profile-nav-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--slx-accent-soft); }\n\n/* \u2500\u2500 Content area \u2500\u2500 */\n.slx-profile-content {\n flex: 1; overflow-y: auto; padding: 24px 28px 28px;\n}\n.slx-profile-sec { margin-bottom: 28px; }\n.slx-profile-sec:last-child { margin-bottom: 0; }\n.slx-sec-title {\n font-family: var(--slx-display);\n font-size: 14px; font-weight: 600; letter-spacing: -0.01em;\n color: var(--slx-ink-strong);\n margin: 0 0 14px; padding-bottom: 10px;\n border-bottom: 1px solid var(--slx-border);\n}\n\n/* \u2500\u2500 Avatar \u2500\u2500 */\n.slx-avatar-row {\n display: flex; align-items: center; gap: 16px;\n margin-bottom: 20px;\n}\n.slx-avatar-lg {\n width: 64px; height: 64px; border-radius: 50%;\n flex-shrink: 0;\n display: flex; align-items: center; justify-content: center;\n font-size: 24px; font-weight: 700; color: #fff;\n background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n overflow: hidden;\n box-shadow: 0 2px 8px rgba(91,91,214,.3);\n}\n.slx-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }\n\n/* \u2500\u2500 Row (email etc.) \u2500\u2500 */\n.slx-row-value { font-size: 14px; font-weight: 500; color: var(--slx-ink-strong); margin: 0; }\n.slx-row-label { font-size: 12px; color: var(--slx-muted); margin: 2px 0 0; }\n\n/* \u2500\u2500 Sessions \u2500\u2500 */\n.slx-session {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px 14px; border-radius: var(--slx-radius-sm);\n border: 1px solid var(--slx-border);\n background: var(--slx-bg-subtle);\n margin-bottom: 8px;\n transition: border-color .12s;\n}\n.slx-session:hover { border-color: var(--slx-border-strong); }\n.slx-session-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }\n.slx-session-device { font-size: 13.5px; font-weight: 550; color: var(--slx-ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.slx-session-sub { font-size: 12px; color: var(--slx-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n/* \u2500\u2500 Pagination \u2500\u2500 */\n.slx-pagination {\n display: flex; align-items: center; justify-content: center; gap: 10px;\n margin-top: 14px; padding-top: 14px;\n border-top: 1px solid var(--slx-border);\n}\n.slx-pagination-info { font-size: 12.5px; color: var(--slx-muted); white-space: nowrap; }\n\n/* \u2500\u2500 Danger zone \u2500\u2500 */\n.slx-danger-zone {\n border: 1px solid color-mix(in srgb, var(--slx-danger) 30%, transparent);\n border-radius: var(--slx-radius);\n padding: 18px 20px;\n background: color-mix(in srgb, var(--slx-danger) 4%, transparent);\n}\n.slx-danger-title {\n font-size: 14px; font-weight: 650; color: var(--slx-danger);\n margin: 0 0 6px;\n}\n.slx-danger-desc {\n font-size: 13px; color: var(--slx-muted); line-height: 1.5;\n margin: 0 0 16px;\n}\n.slx-btn-danger-outline {\n font: inherit; font-size: 13px; font-weight: 550;\n color: var(--slx-danger); background: none;\n border: 1px solid color-mix(in srgb, var(--slx-danger) 35%, transparent);\n border-radius: var(--slx-radius-sm);\n padding: 7px 14px; cursor: pointer;\n transition: background .12s, border-color .12s;\n}\n.slx-btn-danger-outline:hover { background: color-mix(in srgb, var(--slx-danger) 8%, transparent); border-color: var(--slx-danger); }\n.slx-btn-danger-outline:active { transform: scale(.98); }\n.slx-btn-danger-outline:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--slx-danger) 20%, transparent); }\n.slx-btn-danger-outline[disabled] { opacity: .5; cursor: not-allowed; }\n\n/* \u2500\u2500 Billing (inside UserProfile) \u2500\u2500 */\n.slx-billing-card {\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 18px 20px;\n background: var(--slx-bg-subtle);\n margin-bottom: 16px;\n}\n.slx-billing-plan { font-size: 15px; font-weight: 650; color: var(--slx-ink-strong); margin: 0 0 4px; }\n.slx-billing-detail { font-size: 13px; color: var(--slx-muted); margin: 2px 0; }\n.slx-billing-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }\n.slx-billing-status-active { color: var(--slx-success); }\n.slx-billing-status-trialing { color: var(--slx-accent); }\n.slx-billing-status-canceled { color: var(--slx-danger); }\n.slx-invoice-row {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px 0; border-bottom: 1px solid var(--slx-border);\n font-size: 13px;\n gap: 8px;\n flex-wrap: wrap;\n}\n.slx-invoice-row:last-child { border-bottom: none; }\n.slx-invoice-date { color: var(--slx-muted); }\n.slx-invoice-amount { font-weight: 600; color: var(--slx-ink-strong); }\n\n/* \u2500\u2500 Billing plans grid (responsive) \u2500\u2500 */\n.slx-billing-plans {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n gap: 12px;\n margin-top: 12px;\n}\n.slx-plan-card {\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 16px;\n background: var(--slx-bg);\n display: flex;\n flex-direction: column;\n position: relative;\n transition: border-color .15s, box-shadow .15s;\n}\n.slx-plan-card:hover { border-color: var(--slx-border-strong); box-shadow: 0 2px 8px rgba(0,0,0,.06); }\n.slx-plan-card.popular { border-color: var(--slx-accent); box-shadow: 0 0 0 1px var(--slx-accent-soft); }\n.slx-plan-badge {\n position: absolute; top: -10px; right: 12px;\n font-size: 10px; font-weight: 700; letter-spacing: .05em;\n color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n padding: 3px 8px; border-radius: 999px;\n}\n.slx-plan-name { font-size: 14px; font-weight: 600; color: var(--slx-ink-strong); margin: 0 0 6px; }\n.slx-plan-price { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; color: var(--slx-ink-strong); }\n.slx-plan-interval { font-size: 13px; color: var(--slx-muted); font-weight: 400; }\n.slx-plan-features { list-style: none; margin: 12px 0 16px; padding: 0; flex: 1; }\n.slx-plan-features li { font-size: 13px; color: var(--slx-ink); padding: 4px 0 4px 20px; position: relative; line-height: 1.45; }\n.slx-plan-features li::before { content: \"\u2713\"; position: absolute; left: 0; color: var(--slx-success); font-weight: 700; font-size: 12px; }\n.slx-plan-cta { width: 100%; margin-top: auto; }\n.slx-billing-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }\n.slx-btn-secondary {\n font: inherit; font-size: 13px; font-weight: 550;\n color: var(--slx-ink); background: var(--slx-bg);\n border: 1px solid var(--slx-border-strong); border-radius: var(--slx-radius-sm);\n padding: 8px 14px; cursor: pointer;\n transition: background .12s, border-color .12s;\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n}\n.slx-btn-secondary:hover { background: var(--slx-bg-subtle); }\n.slx-btn-secondary:active { transform: scale(.98); }\n.slx-btn-secondary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n.slx-btn-secondary[disabled] { opacity: .55; cursor: not-allowed; }\n.slx-billing-empty { text-align: center; padding: 24px 16px; color: var(--slx-muted); font-size: 13px; line-height: 1.5; }\n\n/* \u2500\u2500 Mobile friendliness for UserProfile \u2500\u2500 */\n@media (max-width: 680px) {\n .slx-overlay { align-items: flex-start; padding: 12px; }\n .slx-profile-modal {\n width: 100%; max-width: 100%;\n max-height: calc(100vh - 24px);\n max-height: calc(100dvh - 24px);\n margin: auto;\n border-radius: var(--slx-radius-lg);\n }\n .slx-profile-body { flex-direction: column; min-height: 0; overflow-y: auto; overflow-x: hidden; }\n .slx-profile-nav {\n width: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden;\n border-right: none; border-bottom: 1px solid var(--slx-border);\n padding: 8px; gap: 6px; scrollbar-width: none; -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n flex-shrink: 0;\n }\n .slx-profile-nav::-webkit-scrollbar { display: none; }\n .slx-profile-nav-btn { white-space: nowrap; flex-shrink: 0; font-size: 13px; padding: 8px 12px; }\n .slx-profile-content { padding: 16px; overflow: visible; }\n .slx-profile-head { padding: 16px 16px 12px; }\n .slx-profile-close { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 18px; border-radius: 10px; }\n .slx-avatar-row { gap: 12px; flex-wrap: wrap; }\n .slx-billing-plans { grid-template-columns: 1fr; }\n .slx-session { flex-direction: column; align-items: flex-start; gap: 10px; }\n .slx-session .slx-btn-danger-outline { align-self: stretch; text-align: center; justify-content: center; }\n .slx-pagination { flex-wrap: wrap; gap: 6px; }\n .slx-pagination .slx-btn-secondary { font-size: 12px; padding: 4px 10px; }\n .slx-invoice-row { flex-wrap: wrap; gap: 6px; }\n}\n/* \u2500\u2500 Explicit theme mode (wins over OS preference) \u2500\u2500 */\n.slyxup-root[data-slyxup-theme='dark'] {\n --slx-accent: #8484f2;\n --slx-accent-hover: #9696f5;\n --slx-accent-soft: rgba(132, 132, 242, 0.16);\n --slx-bg: #17171f;\n --slx-bg-subtle: #1e1e28;\n --slx-bg-page: #101016;\n --slx-ink: #f0f0f4;\n --slx-ink-strong: #ffffff;\n --slx-muted: #9a9aa6;\n --slx-border: #292935;\n --slx-border-strong: #343442;\n --slx-danger: #f0737d;\n --slx-success: #4ade80;\n --slx-shadow-card:\n 0 1px 2px rgba(0,0,0,.25),\n 0 12px 32px -8px rgba(0,0,0,.5),\n 0 32px 72px -20px rgba(0,0,0,.55);\n --slx-shadow-pop:\n 0 4px 12px rgba(0,0,0,.4),\n 0 24px 56px -12px rgba(0,0,0,.6);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-btn {\n background: linear-gradient(180deg, #ffffff 0%, #ececf1 100%);\n color: #0a0a0f; border-color: #ececf1;\n box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.9);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-btn:hover { filter: brightness(.94); }\n.slyxup-root[data-slyxup-theme='dark'] .slx-spinner { border-color: rgba(10,10,15,.25); border-top-color: #0a0a0f; }\n.slyxup-root[data-slyxup-theme='dark'] .slx-setup-note {\n color: #f5d878; background: rgba(250,204,21,.07); border-color: rgba(250,204,21,.25);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-setup-note code { background: rgba(255,255,255,.08); }\n.slyxup-root[data-slyxup-theme='dark'] .slx-badge-warn { color: #fbbf24; }\n.slyxup-root[data-slyxup-theme='light'] {\n --slx-bg: #ffffff;\n --slx-bg-subtle: #f7f7fb;\n --slx-bg-page: #e9eaf6;\n --slx-ink: #16161d;\n --slx-ink-strong: #0c0c12;\n --slx-muted: #6f6f7b;\n --slx-border: #e3e3ee;\n --slx-border-strong: #d3d3e2;\n --slx-danger: #cc333f;\n --slx-success: #177245;\n}\n\n/* \u2500\u2500 Accent presets (applyTheme or data-slyxup-accent) \u2500\u2500 */\n.slyxup-root[data-slyxup-accent='mono'] {\n --slx-accent: #101014;\n --slx-accent-hover: #000000;\n --slx-accent-soft: rgba(16, 16, 20, 0.08);\n --slx-accent-2: #3f3f48;\n}\n@media (prefers-color-scheme: dark) {\n .slyxup-root[data-slyxup-accent='mono']:not([data-slyxup-theme='light']) {\n --slx-accent: #fafafa;\n --slx-accent-hover: #ffffff;\n --slx-accent-soft: rgba(250, 250, 250, 0.14);\n --slx-accent-2: #a1a1aa;\n }\n}\n.slyxup-root[data-slyxup-theme='dark'][data-slyxup-accent='mono'] {\n --slx-accent: #fafafa;\n --slx-accent-hover: #ffffff;\n --slx-accent-soft: rgba(250, 250, 250, 0.14);\n --slx-accent-2: #a1a1aa;\n}\n.slyxup-root[data-slyxup-accent='violet'] { --slx-accent: #5b5bd6; --slx-accent-hover: #4c4cc4; --slx-accent-soft: rgba(91,91,214,.12); --slx-accent-2: #8b5cf6; }\n.slyxup-root[data-slyxup-accent='blue'] { --slx-accent: #2563eb; --slx-accent-hover: #1d4ed8; --slx-accent-soft: rgba(37,99,235,.12); --slx-accent-2: #60a5fa; }\n.slyxup-root[data-slyxup-accent='emerald'] { --slx-accent: #059669; --slx-accent-hover: #047857; --slx-accent-soft: rgba(5,150,105,.12); --slx-accent-2: #34d399; }\n.slyxup-root[data-slyxup-accent='amber'] { --slx-accent: #d97706; --slx-accent-hover: #b45309; --slx-accent-soft: rgba(217,119,6,.14); --slx-accent-2: #fbbf24; }\n.slyxup-root[data-slyxup-accent='rose'] { --slx-accent: #e11d48; --slx-accent-hover: #be123c; --slx-accent-soft: rgba(225,29,72,.12); --slx-accent-2: #fb7185; }\n.slyxup-root[data-slyxup-accent='cyan'] { --slx-accent: #0891b2; --slx-accent-hover: #0e7490; --slx-accent-soft: rgba(8,145,178,.12); --slx-accent-2: #22d3ee; }\n\n/* \u2500\u2500 Accent primary button (alternative to the default ink button) \u2500\u2500 */\n.slx-btn-accent {\n background: linear-gradient(180deg, color-mix(in srgb, var(--slx-accent-hover) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n border-color: var(--slx-accent);\n color: #fff;\n box-shadow: 0 1px 2px rgba(18,18,28,.3), inset 0 1px 0 rgba(255,255,255,.18);\n}\n.slx-btn-accent:hover { filter: brightness(1.07); }\n.slx-btn-accent:active { transform: scale(.985); filter: brightness(.95); }\n.slx-btn-accent:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-btn-accent .slx-spinner { border-color: rgba(255,255,255,.35); border-top-color: #fff; }\n\n/* \u2500\u2500 Primary buttons in brand accent (opt-in via data-slyxup-primary='accent') \u2500\u2500 */\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn {\n background: linear-gradient(180deg, color-mix(in srgb, var(--slx-accent-hover) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n border-color: var(--slx-accent);\n color: #fff;\n box-shadow: 0 1px 2px rgba(18, 18, 28, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);\n}\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:hover { filter: brightness(1.07); }\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:active { filter: brightness(0.95); }\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:focus-visible {\n outline: none;\n box-shadow: 0 0 0 3.5px var(--slx-accent-soft);\n}\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn .slx-spinner {\n border-color: rgba(255, 255, 255, 0.35);\n border-top-color: #fff;\n}\n\n/* \u2500\u2500 Auth layouts: centered (default) / split / minimal \u2500\u2500 */\n.slx-form-full { display: contents; }\n.slx-card.slx-layout-split {\n max-width: 780px;\n padding: 0;\n display: grid;\n grid-template-columns: 1fr 1.05fr;\n overflow: hidden;\n}\n.slx-split-brand {\n background: linear-gradient(150deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 130%);\n color: #fff;\n padding: 40px 36px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 0;\n position: relative;\n overflow: hidden;\n}\n.slx-split-brand::after {\n content: '';\n position: absolute;\n width: 280px;\n height: 280px;\n right: -90px;\n bottom: -90px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.09);\n pointer-events: none;\n}\n.slx-split-mark {\n width: 44px;\n height: 44px;\n border-radius: 12px;\n background: rgba(255, 255, 255, 0.16);\n border: 1px solid rgba(255, 255, 255, 0.25);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 22px;\n}\n.slx-split-title {\n font-family: var(--slx-display);\n font-size: 26px;\n font-weight: 700;\n letter-spacing: -0.025em;\n line-height: 1.15;\n margin: 0 0 10px;\n}\n.slx-split-sub { font-size: 14px; line-height: 1.6; opacity: 0.85; margin: 0 0 24px; }\n.slx-split-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }\n.slx-split-points li {\n font-size: 13.5px;\n font-weight: 500;\n padding-left: 28px;\n position: relative;\n line-height: 1.45;\n}\n.slx-split-points li::before {\n content: '\u2713';\n position: absolute;\n left: 0;\n top: 0;\n width: 19px;\n height: 19px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.18);\n font-size: 11px;\n font-weight: 800;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.slx-split-form { padding: 36px 36px 32px; min-width: 0; }\n.slx-card.slx-layout-minimal {\n background: transparent;\n border: none;\n box-shadow: none;\n padding: 10px 6px;\n max-width: 380px;\n animation: none;\n}\n.slx-card.slx-layout-minimal .slx-mark { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; }\n.slx-card.slx-layout-minimal .slx-subtitle { margin-bottom: 20px; }\n.slx-card.slx-layout-minimal .slx-input { background: var(--slx-bg); }\n@media (max-width: 680px) {\n .slx-card.slx-layout-split { grid-template-columns: 1fr; max-width: 440px; }\n .slx-split-brand { padding: 26px 24px; }\n .slx-split-brand::after { display: none; }\n .slx-split-title { font-size: 21px; }\n .slx-split-sub { margin-bottom: 0; }\n .slx-split-points { display: none; }\n .slx-split-form { padding: 26px 22px 24px; }\n}\n\n/* \u2500\u2500 Password field with reveal toggle \u2500\u2500 */\n.slx-input-wrap { position: relative; }\n.slx-input-wrap .slx-input { padding-right: 42px; }\n.slx-pw-toggle {\n position: absolute;\n right: 6px;\n top: 50%;\n transform: translateY(-50%);\n width: 30px;\n height: 30px;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: none;\n border: none;\n color: var(--slx-muted);\n cursor: pointer;\n transition: background 0.12s, color 0.12s;\n}\n.slx-pw-toggle:hover { color: var(--slx-ink); background: color-mix(in srgb, var(--slx-ink) 5%, transparent); }\n.slx-pw-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n\n/* \u2500\u2500 Compact density (opt-in via data-slyxup-density='compact') \u2500\u2500 */\n.slyxup-root[data-slyxup-density='compact'] .slx-card { padding: 24px 24px 20px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-mark { width: 38px; height: 38px; margin-bottom: 14px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-title { font-size: 19px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-subtitle { margin-bottom: 16px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-field { margin-bottom: 10px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-input { padding: 8px 11px; font-size: 13.5px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-btn { padding: 9px 14px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-divider { margin: 14px 0; }\n.slyxup-root[data-slyxup-density='compact'] .slx-footer { margin-top: 16px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-split-form { padding: 24px; }\n\n/* \u2500\u2500 Small-screen polish for auth cards & menus \u2500\u2500 */\n@media (max-width: 460px) {\n .slx-card { padding: 26px 22px 24px; border-radius: var(--slx-radius-lg); }\n .slx-title { font-size: 19px; }\n .slx-menu { min-width: 210px; max-width: calc(100vw - 32px); }\n .slx-social-btn { font-size: 13px; padding: 11px 12px; }\n}\n@media (max-width: 380px) {\n .slx-profile-content { padding: 12px; }\n .slx-profile-head { padding: 12px 12px 10px; }\n .slx-profile-title { font-size: 16px; }\n}\n";
7
+ export declare const CSS = "\n.slyxup-root {\n /* \u2500\u2500 Tokens \u2500\u2500 */\n --slx-accent: #5b5bd6;\n --slx-accent-hover: #4c4cc4;\n --slx-accent-soft: rgba(91, 91, 214, 0.12);\n --slx-accent-2: #8b5cf6;\n --slx-bg: #ffffff;\n --slx-bg-subtle: #f7f7fb;\n --slx-bg-page: #e9eaf6;\n --slx-ink: #16161d;\n --slx-ink-strong: #0c0c12;\n --slx-muted: #6f6f7b;\n --slx-border: #e3e3ee;\n --slx-border-strong: #d3d3e2;\n --slx-danger: #cc333f;\n --slx-success: #177245;\n --slx-radius-sm: 8px;\n --slx-radius: 10px;\n --slx-radius-lg: 14px;\n --slx-font: inherit;\n --slx-display: inherit;\n --slx-mono: ui-monospace, SFMono-Regular, Menlo, monospace;\n --slx-shadow-card:\n 0 1px 2px rgba(18,18,28,.05),\n 0 8px 24px -6px rgba(18,18,28,.09),\n 0 24px 64px -16px rgba(18,18,28,.13);\n --slx-shadow-pop:\n 0 2px 6px rgba(18,18,28,.08),\n 0 16px 48px -12px rgba(18,18,28,.18);\n\n font-family: var(--slx-font);\n color: var(--slx-ink);\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n font-feature-settings: \"cv11\", \"ss01\";\n}\n@media (prefers-color-scheme: dark) {\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']):not([data-slyxup-theme='light']) {\n --slx-accent: #8484f2;\n --slx-accent-hover: #9696f5;\n --slx-accent-soft: rgba(132, 132, 242, 0.16);\n --slx-bg: #17171f;\n --slx-bg-subtle: #1e1e28;\n --slx-bg-page: #101016;\n --slx-ink: #f0f0f4;\n --slx-ink-strong: #ffffff;\n --slx-muted: #9a9aa6;\n --slx-border: #292935;\n --slx-border-strong: #343442;\n --slx-danger: #f0737d;\n --slx-success: #4ade80;\n --slx-shadow-card:\n 0 1px 2px rgba(0,0,0,.25),\n 0 12px 32px -8px rgba(0,0,0,.5),\n 0 32px 72px -20px rgba(0,0,0,.55);\n --slx-shadow-pop:\n 0 4px 12px rgba(0,0,0,.4),\n 0 24px 56px -12px rgba(0,0,0,.6);\n }\n}\n\n@keyframes slx-shake {\n 10%, 90% { transform: translateX(-1px); }\n 20%, 80% { transform: translateX(2px); }\n 30%, 50%, 70% { transform: translateX(-4px); }\n 40%, 60% { transform: translateX(4px); }\n}\n@keyframes slx-spin { to { transform: rotate(360deg); } }\n@keyframes slx-rise {\n from { opacity: 0; transform: translateY(8px) scale(.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n}\n@keyframes slx-pop {\n 0% { transform: scale(.5); opacity: 0; }\n 60% { transform: scale(1.08); opacity: 1; }\n 100% { transform: scale(1); }\n}\n@media (prefers-reduced-motion: reduce) {\n .slyxup-root * { animation: none !important; transition: none !important; }\n}\n\n/* \u2500\u2500 Card \u2500\u2500 */\n.slx-card {\n width: 100%;\n max-width: 400px;\n background: var(--slx-bg);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius-lg);\n padding: 34px 34px 30px;\n box-shadow: var(--slx-shadow-card);\n box-sizing: border-box;\n animation: slx-rise .38s cubic-bezier(.22,.9,.32,1) both;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-card,\n.slx-card { color: var(--slx-ink); }\n.slx-card-error { animation: slx-shake .45s cubic-bezier(.36,.07,.19,.97) both; }\n\n/* \u2500\u2500 Header / keyhole mark \u2500\u2500 */\n.slx-mark {\n width: 46px; height: 46px; border-radius: 13px;\n display: flex; align-items: center; justify-content: center;\n background: linear-gradient(140deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n box-shadow:\n inset 0 1px 0 rgba(255,255,255,.28),\n 0 6px 16px -6px rgba(91,91,214,.55);\n margin-bottom: 20px;\n}\n.slx-mark svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }\n.slx-title {\n font-family: var(--slx-display);\n font-size: 21px; font-weight: 650; letter-spacing: -0.022em;\n color: var(--slx-ink-strong);\n margin: 0 0 6px;\n}\n.slx-subtitle { font-size: 13.5px; color: var(--slx-muted); margin: 0 0 24px; line-height: 1.55; }\n\n/* \u2500\u2500 Fields \u2500\u2500 */\n.slx-field { margin-bottom: 15px; }\n.slx-row {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-bottom: 6px;\n}\n.slx-label {\n display: inline-block;\n font-size: 12.5px; font-weight: 550; letter-spacing: 0.01em;\n color: var(--slx-ink);\n}\n.slx-input {\n width: 100%; box-sizing: border-box;\n font: inherit; font-size: 14px; line-height: 1.4; color: var(--slx-ink);\n background: var(--slx-bg-subtle);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 10px 13px;\n outline: none;\n transition: border-color .15s, box-shadow .15s, background .15s;\n}\n.slx-input::placeholder { color: var(--slx-muted); opacity: .7; }\n.slx-input:hover { border-color: var(--slx-border-strong); }\n.slx-input:focus-visible {\n background: var(--slx-bg);\n border-color: var(--slx-accent);\n box-shadow: 0 0 0 3.5px var(--slx-accent-soft);\n}\n.slx-hint { font-size: 12px; color: var(--slx-muted); margin-top: 5px; }\n.slx-error-text {\n font-size: 13px; color: var(--slx-danger);\n background: color-mix(in srgb, var(--slx-danger) 8%, transparent);\n border: 1px solid color-mix(in srgb, var(--slx-danger) 26%, transparent);\n border-left: 3px solid var(--slx-danger);\n border-radius: var(--slx-radius-sm);\n padding: 10px 12px; margin: 0 0 16px; line-height: 1.45;\n}\n.slx-setup-note {\n font-size: 12px; line-height: 1.45;\n color: #7a5c00;\n background: #fff7dc;\n border: 1px solid #f3e3a0;\n border-radius: var(--slx-radius-sm);\n padding: 9px 11px; margin: 0 0 16px;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-setup-note {\n color: #f5d878; background: rgba(250,204,21,.07); border-color: rgba(250,204,21,.25);\n}\n.slx-setup-note code {\n font-family: var(--slx-mono); font-size: 11px;\n background: rgba(0,0,0,.05); border-radius: 4px; padding: 1px 4px;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-setup-note code { background: rgba(255,255,255,.08); }\n\n/* \u2500\u2500 Primary button \u2500\u2500 */\n.slx-btn {\n width: 100%; box-sizing: border-box;\n font-family: var(--slx-font); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;\n color: #fff; background: linear-gradient(180deg, #23232e 0%, #0a0a0f 100%);\n border: 1px solid #0a0a0f; border-radius: var(--slx-radius);\n padding: 11px 14px; cursor: pointer;\n box-shadow: 0 1px 2px rgba(10,10,15,.35), inset 0 1px 0 rgba(255,255,255,.08);\n display: inline-flex; align-items: center; justify-content: center; gap: 8px;\n transition: filter .15s, transform .06s, box-shadow .15s;\n}\n.slx-btn:hover { filter: brightness(1.22); }\n.slx-btn:active { transform: scale(.985); filter: brightness(.92); }\n.slx-btn:focus-visible { outline: none; box-shadow: 0 0 0 3.5px rgba(10,10,15,.16), 0 0 0 1.5px #0a0a0f; }\n.slx-btn[disabled] { opacity: .55; cursor: not-allowed; }\n@media (prefers-color-scheme: dark) {\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-btn {\n background: linear-gradient(180deg, #ffffff 0%, #ececf1 100%);\n color: #0a0a0f; border-color: #ececf1;\n box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.9);\n }\n .slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-btn:hover { filter: brightness(.94); }\n}\n.slx-spinner {\n width: 15px; height: 15px; flex: none;\n border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;\n border-radius: 50%; animation: slx-spin .7s linear infinite;\n}\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-spinner { border-color: rgba(10,10,15,.25); border-top-color: #0a0a0f; }\n\n/* \u2500\u2500 Social \u2500\u2500 */\n.slx-social { display: grid; gap: 9px; margin-bottom: 4px; }\n.slx-social-btn {\n width: 100%; box-sizing: border-box;\n font: inherit; font-size: 13.5px; font-weight: 550;\n color: var(--slx-ink); background: var(--slx-bg);\n border: 1px solid var(--slx-border-strong); border-radius: var(--slx-radius);\n padding: 10px 14px; cursor: pointer;\n display: inline-flex; align-items: center; justify-content: center; gap: 10px;\n transition: background .15s, border-color .15s, transform .06s, box-shadow .15s;\n}\n.slx-social-btn:hover {\n background: var(--slx-bg-subtle);\n border-color: var(--slx-border-strong);\n box-shadow: 0 2px 8px -2px rgba(18,18,28,.12);\n}\n.slx-social-btn:active { transform: scale(.985); }\n.slx-social-btn:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-social-btn svg { flex: none; }\n\n/* \u2500\u2500 Divider & footer \u2500\u2500 */\n.slx-divider {\n display: flex; align-items: center; gap: 14px;\n color: var(--slx-muted); font-size: 11.5px;\n letter-spacing: .04em; text-transform: uppercase;\n margin: 18px 0;\n}\n.slx-divider::before, .slx-divider::after {\n content: \"\"; height: 1px; flex: 1;\n background: linear-gradient(90deg, transparent, var(--slx-border-strong));\n}\n.slx-divider::after { background: linear-gradient(90deg, var(--slx-border-strong), transparent); }\n.slx-footer { font-size: 13px; color: var(--slx-muted); margin-top: 22px; text-align: center; }\n.slx-link {\n color: var(--slx-accent); font-weight: 600; text-decoration: none; cursor: pointer;\n background: none; border: none; font: inherit; font-size: inherit;\n padding: 0; margin: 0;\n}\n.slx-link:hover { text-decoration: underline; color: var(--slx-accent-hover); }\n.slx-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); border-radius: 4px; }\n.slx-forgot { font-size: 12px; }\n\n/* \u2500\u2500 Success state \u2500\u2500 */\n.slx-success-icon {\n width: 48px; height: 48px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n background: color-mix(in srgb, var(--slx-success) 12%, transparent);\n color: var(--slx-success); margin: 4px auto 18px;\n animation: slx-pop .45s cubic-bezier(.22,.9,.32,1) both;\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--slx-success) 6%, transparent);\n}\n\n/* \u2500\u2500 User button \u2500\u2500 */\n.slx-userbtn-wrap { position: relative; display: inline-block; }\n.slx-userbtn-avatar {\n width: 36px; height: 36px; border-radius: 50%;\n border: 1px solid var(--slx-border); cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n font-size: 14px; font-weight: 650; color: #fff;\n background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n padding: 0; overflow: hidden;\n transition: box-shadow .15s, transform .06s;\n}\n.slx-userbtn-avatar:hover { box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n.slx-userbtn-avatar:active { transform: scale(.96); }\n.slx-userbtn-avatar img { width: 100%; height: 100%; object-fit: cover; }\n.slx-userbtn-avatar:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-menu {\n position: absolute; right: 0; top: calc(100% + 8px);\n min-width: 240px;\n background: var(--slx-bg);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius-lg);\n box-shadow: var(--slx-shadow-pop);\n overflow: hidden; z-index: 1000;\n animation: slx-rise .22s cubic-bezier(.22,.9,.32,1) both;\n}\n.slx-menu-header { padding: 14px 16px; border-bottom: 1px solid var(--slx-border); background: var(--slx-bg-subtle); }\n.slx-menu-name { font-size: 14px; font-weight: 600; margin: 0 0 2px; color: var(--slx-ink-strong); }\n.slx-menu-email { font-size: 12.5px; color: var(--slx-muted); margin: 0; word-break: break-all; }\n.slx-menu-item {\n display: block; width: 100%; text-align: left; box-sizing: border-box;\n font: inherit; font-size: 13.5px; color: var(--slx-ink);\n background: none; border: none; padding: 10px 16px; cursor: pointer;\n transition: background .12s;\n}\n.slx-menu-item:hover { background: color-mix(in srgb, var(--slx-ink) 4%, transparent); }\n.slx-menu-item:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--slx-accent-soft); }\n.slx-menu-item-danger { color: var(--slx-danger); }\n.slx-menu-item-danger:hover { background: color-mix(in srgb, var(--slx-danger) 7%, transparent); }\n\n/* \u2500\u2500 Badge (verified etc.) \u2500\u2500 */\n.slx-badge {\n display: inline-flex; align-items: center; gap: 5px;\n font-size: 11px; font-weight: 600; letter-spacing: .02em;\n padding: 2.5px 9px; border-radius: 999px;\n color: var(--slx-success);\n background: color-mix(in srgb, var(--slx-success) 9%, transparent);\n border: 1px solid color-mix(in srgb, var(--slx-success) 30%, transparent);\n}\n.slx-badge-ok { color: var(--slx-success); background: color-mix(in srgb, var(--slx-success) 9%, transparent); border-color: color-mix(in srgb, var(--slx-success) 30%, transparent); }\n.slx-badge-warn { color: #b45309; background: color-mix(in srgb, #f59e0b 10%, transparent); border-color: color-mix(in srgb, #f59e0b 30%, transparent); }\n.slx-badge-accent { color: var(--slx-accent); background: var(--slx-accent-soft); border-color: color-mix(in srgb, var(--slx-accent) 30%, transparent); }\n.slyxup-root:not(.slyxup-light):not([data-slyxup-theme='light']) .slx-badge-warn { color: #fbbf24; }\n\n/* \u2500\u2500 Modal overlay \u2500\u2500 */\n.slx-overlay {\n position: fixed; inset: 0; z-index: 9999;\n display: flex; align-items: center; justify-content: center;\n background: rgba(12, 12, 18, 0.55);\n backdrop-filter: blur(6px);\n animation: slx-rise .2s cubic-bezier(.22,.9,.32,1) both;\n padding: 16px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 UserProfile \u2500\u2500 */\n.slx-profile-modal {\n display: flex; flex-direction: column;\n width: 720px; max-width: calc(100vw - 32px);\n max-height: min(85vh, 720px);\n background: var(--slx-bg);\n border-radius: var(--slx-radius-lg);\n box-shadow: var(--slx-shadow-pop);\n overflow: hidden;\n animation: slx-rise .28s cubic-bezier(.22,.9,.32,1) both;\n box-sizing: border-box;\n}\n.slx-profile-head {\n display: flex; align-items: center; justify-content: space-between;\n padding: 22px 28px 18px;\n border-bottom: 1px solid var(--slx-border);\n flex-shrink: 0;\n background: var(--slx-bg);\n position: relative;\n z-index: 1;\n}\n.slx-profile-title {\n font-family: var(--slx-display);\n font-size: 18px; font-weight: 650; letter-spacing: -0.02em;\n color: var(--slx-ink-strong);\n margin: 0;\n}\n.slx-profile-close {\n width: 32px; height: 32px; border-radius: 8px;\n display: flex; align-items: center; justify-content: center;\n background: none; border: 1px solid var(--slx-border);\n color: var(--slx-muted); cursor: pointer; font-size: 16px;\n transition: background .12s, color .12s, border-color .12s;\n position: relative;\n z-index: 2;\n pointer-events: auto;\n flex-shrink: 0;\n -webkit-tap-highlight-color: transparent;\n touch-action: manipulation;\n}\n.slx-profile-close:hover { background: var(--slx-bg-subtle); color: var(--slx-ink); border-color: var(--slx-border-strong); }\n.slx-profile-close:active { transform: scale(.95); }\n.slx-profile-close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n\n.slx-profile-body {\n display: flex; flex: 1; min-height: 380px;\n overflow: hidden;\n min-width: 0;\n}\n\n/* \u2500\u2500 Left nav \u2500\u2500 */\n.slx-profile-nav {\n width: 200px; flex-shrink: 0;\n display: flex; flex-direction: column; gap: 2px;\n padding: 12px 8px;\n border-right: 1px solid var(--slx-border);\n background: var(--slx-bg-subtle);\n}\n.slx-profile-nav-btn {\n display: flex; align-items: center; gap: 9px;\n font: inherit; font-size: 13.5px; font-weight: 500;\n color: var(--slx-muted); background: none; border: none;\n border-radius: var(--slx-radius-sm);\n padding: 9px 12px; cursor: pointer; text-align: left;\n transition: background .12s, color .12s;\n}\n.slx-profile-nav-btn:hover { background: color-mix(in srgb, var(--slx-ink) 5%, transparent); color: var(--slx-ink); }\n.slx-profile-nav-btn.on { background: var(--slx-bg); color: var(--slx-ink-strong); font-weight: 600; box-shadow: 0 1px 3px rgba(18,18,28,.06); }\n.slx-profile-nav-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--slx-accent-soft); }\n\n/* \u2500\u2500 Content area \u2500\u2500 */\n.slx-profile-content {\n flex: 1; overflow-y: auto; padding: 24px 28px 28px;\n}\n.slx-profile-sec { margin-bottom: 28px; }\n.slx-profile-sec:last-child { margin-bottom: 0; }\n.slx-sec-title {\n font-family: var(--slx-display);\n font-size: 14px; font-weight: 600; letter-spacing: -0.01em;\n color: var(--slx-ink-strong);\n margin: 0 0 14px; padding-bottom: 10px;\n border-bottom: 1px solid var(--slx-border);\n}\n\n/* \u2500\u2500 Avatar \u2500\u2500 */\n.slx-avatar-row {\n display: flex; align-items: center; gap: 16px;\n margin-bottom: 20px;\n}\n.slx-avatar-lg {\n width: 64px; height: 64px; border-radius: 50%;\n flex-shrink: 0;\n display: flex; align-items: center; justify-content: center;\n font-size: 24px; font-weight: 700; color: #fff;\n background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n overflow: hidden;\n box-shadow: 0 2px 8px rgba(91,91,214,.3);\n}\n.slx-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }\n\n/* \u2500\u2500 Row (email etc.) \u2500\u2500 */\n.slx-row-value { font-size: 14px; font-weight: 500; color: var(--slx-ink-strong); margin: 0; }\n.slx-row-label { font-size: 12px; color: var(--slx-muted); margin: 2px 0 0; }\n\n/* \u2500\u2500 Sessions \u2500\u2500 */\n.slx-session {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px 14px; border-radius: var(--slx-radius-sm);\n border: 1px solid var(--slx-border);\n background: var(--slx-bg-subtle);\n margin-bottom: 8px;\n transition: border-color .12s;\n}\n.slx-session:hover { border-color: var(--slx-border-strong); }\n.slx-session-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }\n.slx-session-device { font-size: 13.5px; font-weight: 550; color: var(--slx-ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.slx-session-sub { font-size: 12px; color: var(--slx-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n/* \u2500\u2500 Pagination \u2500\u2500 */\n.slx-pagination {\n display: flex; align-items: center; justify-content: center; gap: 10px;\n margin-top: 14px; padding-top: 14px;\n border-top: 1px solid var(--slx-border);\n}\n.slx-pagination-info { font-size: 12.5px; color: var(--slx-muted); white-space: nowrap; }\n\n/* \u2500\u2500 Danger zone \u2500\u2500 */\n.slx-danger-zone {\n border: 1px solid color-mix(in srgb, var(--slx-danger) 30%, transparent);\n border-radius: var(--slx-radius);\n padding: 18px 20px;\n background: color-mix(in srgb, var(--slx-danger) 4%, transparent);\n}\n.slx-danger-title {\n font-size: 14px; font-weight: 650; color: var(--slx-danger);\n margin: 0 0 6px;\n}\n.slx-danger-desc {\n font-size: 13px; color: var(--slx-muted); line-height: 1.5;\n margin: 0 0 16px;\n}\n.slx-btn-danger-outline {\n font: inherit; font-size: 13px; font-weight: 550;\n color: var(--slx-danger); background: none;\n border: 1px solid color-mix(in srgb, var(--slx-danger) 35%, transparent);\n border-radius: var(--slx-radius-sm);\n padding: 7px 14px; cursor: pointer;\n transition: background .12s, border-color .12s;\n}\n.slx-btn-danger-outline:hover { background: color-mix(in srgb, var(--slx-danger) 8%, transparent); border-color: var(--slx-danger); }\n.slx-btn-danger-outline:active { transform: scale(.98); }\n.slx-btn-danger-outline:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--slx-danger) 20%, transparent); }\n.slx-btn-danger-outline[disabled] { opacity: .5; cursor: not-allowed; }\n\n/* \u2500\u2500 Billing (inside UserProfile) \u2500\u2500 */\n.slx-billing-card {\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 18px 20px;\n background: var(--slx-bg-subtle);\n margin-bottom: 16px;\n}\n.slx-billing-plan { font-size: 15px; font-weight: 650; color: var(--slx-ink-strong); margin: 0 0 4px; }\n.slx-billing-detail { font-size: 13px; color: var(--slx-muted); margin: 2px 0; }\n.slx-billing-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }\n.slx-billing-status-active { color: var(--slx-success); }\n.slx-billing-status-trialing { color: var(--slx-accent); }\n.slx-billing-status-canceled { color: var(--slx-danger); }\n.slx-invoice-row {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px 0; border-bottom: 1px solid var(--slx-border);\n font-size: 13px;\n gap: 8px;\n flex-wrap: wrap;\n}\n.slx-invoice-row:last-child { border-bottom: none; }\n.slx-invoice-date { color: var(--slx-muted); }\n.slx-invoice-amount { font-weight: 600; color: var(--slx-ink-strong); }\n\n/* \u2500\u2500 Billing plans grid (responsive) \u2500\u2500 */\n.slx-billing-plans {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n gap: 12px;\n margin-top: 12px;\n}\n.slx-plan-card {\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 16px;\n background: var(--slx-bg);\n display: flex;\n flex-direction: column;\n position: relative;\n transition: border-color .15s, box-shadow .15s;\n}\n.slx-plan-card:hover { border-color: var(--slx-border-strong); box-shadow: 0 2px 8px rgba(0,0,0,.06); }\n.slx-plan-card.popular { border-color: var(--slx-accent); box-shadow: 0 0 0 1px var(--slx-accent-soft); }\n.slx-plan-badge {\n position: absolute; top: -10px; right: 12px;\n font-size: 10px; font-weight: 700; letter-spacing: .05em;\n color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12), color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12));\n padding: 3px 8px; border-radius: 999px;\n}\n.slx-plan-name { font-size: 14px; font-weight: 600; color: var(--slx-ink-strong); margin: 0 0 6px; }\n.slx-plan-price { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; color: var(--slx-ink-strong); }\n.slx-plan-interval { font-size: 13px; color: var(--slx-muted); font-weight: 400; }\n.slx-plan-features { list-style: none; margin: 12px 0 16px; padding: 0; flex: 1; }\n.slx-plan-features li { font-size: 13px; color: var(--slx-ink); padding: 4px 0 4px 20px; position: relative; line-height: 1.45; }\n.slx-plan-features li::before { content: \"\u2713\"; position: absolute; left: 0; color: var(--slx-success); font-weight: 700; font-size: 12px; }\n.slx-plan-cta { width: 100%; margin-top: auto; }\n.slx-billing-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }\n.slx-btn-secondary {\n font: inherit; font-size: 13px; font-weight: 550;\n color: var(--slx-ink); background: var(--slx-bg);\n border: 1px solid var(--slx-border-strong); border-radius: var(--slx-radius-sm);\n padding: 8px 14px; cursor: pointer;\n transition: background .12s, border-color .12s;\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n}\n.slx-btn-secondary:hover { background: var(--slx-bg-subtle); }\n.slx-btn-secondary:active { transform: scale(.98); }\n.slx-btn-secondary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n.slx-btn-secondary[disabled] { opacity: .55; cursor: not-allowed; }\n.slx-billing-empty { text-align: center; padding: 24px 16px; color: var(--slx-muted); font-size: 13px; line-height: 1.5; }\n\n/* \u2500\u2500 Mobile friendliness for UserProfile \u2500\u2500 */\n@media (max-width: 680px) {\n .slx-overlay { align-items: flex-start; padding: 12px; }\n .slx-profile-modal {\n width: 100%; max-width: 100%;\n max-height: calc(100vh - 24px);\n max-height: calc(100dvh - 24px);\n margin: auto;\n border-radius: var(--slx-radius-lg);\n }\n .slx-profile-body { flex-direction: column; min-height: 0; overflow-y: auto; overflow-x: hidden; }\n .slx-profile-nav {\n width: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden;\n border-right: none; border-bottom: 1px solid var(--slx-border);\n padding: 8px; gap: 6px; scrollbar-width: none; -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n flex-shrink: 0;\n }\n .slx-profile-nav::-webkit-scrollbar { display: none; }\n .slx-profile-nav-btn { white-space: nowrap; flex-shrink: 0; font-size: 13px; padding: 8px 12px; }\n .slx-profile-content { padding: 16px; overflow: visible; }\n .slx-profile-head { padding: 16px 16px 12px; }\n .slx-profile-close { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 18px; border-radius: 10px; }\n .slx-avatar-row { gap: 12px; flex-wrap: wrap; }\n .slx-billing-plans { grid-template-columns: 1fr; }\n .slx-session { flex-direction: column; align-items: flex-start; gap: 10px; }\n .slx-session .slx-btn-danger-outline { align-self: stretch; text-align: center; justify-content: center; }\n .slx-pagination { flex-wrap: wrap; gap: 6px; }\n .slx-pagination .slx-btn-secondary { font-size: 12px; padding: 4px 10px; }\n .slx-invoice-row { flex-wrap: wrap; gap: 6px; }\n}\n/* \u2500\u2500 Explicit theme mode (wins over OS preference) \u2500\u2500 */\n.slyxup-root[data-slyxup-theme='dark'] {\n --slx-accent: #8484f2;\n --slx-accent-hover: #9696f5;\n --slx-accent-soft: rgba(132, 132, 242, 0.16);\n --slx-bg: #17171f;\n --slx-bg-subtle: #1e1e28;\n --slx-bg-page: #101016;\n --slx-ink: #f0f0f4;\n --slx-ink-strong: #ffffff;\n --slx-muted: #9a9aa6;\n --slx-border: #292935;\n --slx-border-strong: #343442;\n --slx-danger: #f0737d;\n --slx-success: #4ade80;\n --slx-shadow-card:\n 0 1px 2px rgba(0,0,0,.25),\n 0 12px 32px -8px rgba(0,0,0,.5),\n 0 32px 72px -20px rgba(0,0,0,.55);\n --slx-shadow-pop:\n 0 4px 12px rgba(0,0,0,.4),\n 0 24px 56px -12px rgba(0,0,0,.6);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-btn {\n background: linear-gradient(180deg, #ffffff 0%, #ececf1 100%);\n color: #0a0a0f; border-color: #ececf1;\n box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.9);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-btn:hover { filter: brightness(.94); }\n.slyxup-root[data-slyxup-theme='dark'] .slx-spinner { border-color: rgba(10,10,15,.25); border-top-color: #0a0a0f; }\n.slyxup-root[data-slyxup-theme='dark'] .slx-setup-note {\n color: #f5d878; background: rgba(250,204,21,.07); border-color: rgba(250,204,21,.25);\n}\n.slyxup-root[data-slyxup-theme='dark'] .slx-setup-note code { background: rgba(255,255,255,.08); }\n.slyxup-root[data-slyxup-theme='dark'] .slx-badge-warn { color: #fbbf24; }\n.slyxup-root[data-slyxup-theme='light'] {\n --slx-bg: #ffffff;\n --slx-bg-subtle: #f7f7fb;\n --slx-bg-page: #e9eaf6;\n --slx-ink: #16161d;\n --slx-ink-strong: #0c0c12;\n --slx-muted: #6f6f7b;\n --slx-border: #e3e3ee;\n --slx-border-strong: #d3d3e2;\n --slx-danger: #cc333f;\n --slx-success: #177245;\n}\n\n/* \u2500\u2500 Accent presets (applyTheme or data-slyxup-accent) \u2500\u2500 */\n.slyxup-root[data-slyxup-accent='mono'] {\n --slx-accent: #101014;\n --slx-accent-hover: #000000;\n --slx-accent-soft: rgba(16, 16, 20, 0.08);\n --slx-accent-2: #3f3f48;\n}\n@media (prefers-color-scheme: dark) {\n .slyxup-root[data-slyxup-accent='mono']:not([data-slyxup-theme='light']) {\n --slx-accent: #fafafa;\n --slx-accent-hover: #ffffff;\n --slx-accent-soft: rgba(250, 250, 250, 0.14);\n --slx-accent-2: #a1a1aa;\n }\n}\n.slyxup-root[data-slyxup-theme='dark'][data-slyxup-accent='mono'] {\n --slx-accent: #fafafa;\n --slx-accent-hover: #ffffff;\n --slx-accent-soft: rgba(250, 250, 250, 0.14);\n --slx-accent-2: #a1a1aa;\n}\n.slyxup-root[data-slyxup-accent='violet'] { --slx-accent: #5b5bd6; --slx-accent-hover: #4c4cc4; --slx-accent-soft: rgba(91,91,214,.12); --slx-accent-2: #8b5cf6; }\n.slyxup-root[data-slyxup-accent='blue'] { --slx-accent: #2563eb; --slx-accent-hover: #1d4ed8; --slx-accent-soft: rgba(37,99,235,.12); --slx-accent-2: #60a5fa; }\n.slyxup-root[data-slyxup-accent='emerald'] { --slx-accent: #059669; --slx-accent-hover: #047857; --slx-accent-soft: rgba(5,150,105,.12); --slx-accent-2: #34d399; }\n.slyxup-root[data-slyxup-accent='amber'] { --slx-accent: #d97706; --slx-accent-hover: #b45309; --slx-accent-soft: rgba(217,119,6,.14); --slx-accent-2: #fbbf24; }\n.slyxup-root[data-slyxup-accent='rose'] { --slx-accent: #e11d48; --slx-accent-hover: #be123c; --slx-accent-soft: rgba(225,29,72,.12); --slx-accent-2: #fb7185; }\n.slyxup-root[data-slyxup-accent='cyan'] { --slx-accent: #0891b2; --slx-accent-hover: #0e7490; --slx-accent-soft: rgba(8,145,178,.12); --slx-accent-2: #22d3ee; }\n\n/* \u2500\u2500 Accent primary button (alternative to the default ink button) \u2500\u2500 */\n.slx-btn-accent {\n background: linear-gradient(180deg, color-mix(in srgb, var(--slx-accent-hover) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n border-color: var(--slx-accent);\n color: #fff;\n box-shadow: 0 1px 2px rgba(18,18,28,.3), inset 0 1px 0 rgba(255,255,255,.18);\n}\n.slx-btn-accent:hover { filter: brightness(1.07); }\n.slx-btn-accent:active { transform: scale(.985); filter: brightness(.95); }\n.slx-btn-accent:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--slx-accent-soft); }\n.slx-btn-accent .slx-spinner { border-color: rgba(255,255,255,.35); border-top-color: #fff; }\n\n/* \u2500\u2500 Primary buttons in brand accent (opt-in via data-slyxup-primary='accent') \u2500\u2500 */\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn {\n background: linear-gradient(180deg, color-mix(in srgb, var(--slx-accent-hover) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 100%);\n border-color: var(--slx-accent);\n color: #fff;\n box-shadow: 0 1px 2px rgba(18, 18, 28, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);\n}\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:hover { filter: brightness(1.07); }\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:active { filter: brightness(0.95); }\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn:focus-visible {\n outline: none;\n box-shadow: 0 0 0 3.5px var(--slx-accent-soft);\n}\n.slyxup-root[data-slyxup-primary='accent'] .slx-btn .slx-spinner {\n border-color: rgba(255, 255, 255, 0.35);\n border-top-color: #fff;\n}\n\n/* \u2500\u2500 Auth layouts: centered (default) / split / minimal \u2500\u2500 */\n.slx-form-full { display: contents; }\n.slx-card.slx-layout-split {\n max-width: 780px;\n padding: 0;\n display: grid;\n grid-template-columns: 1fr 1.05fr;\n overflow: hidden;\n}\n.slx-split-brand {\n background: linear-gradient(150deg, color-mix(in srgb, var(--slx-accent) 78%, #0c0c12) 0%, color-mix(in srgb, var(--slx-accent-2) 55%, #0c0c12) 130%);\n color: #fff;\n padding: 40px 36px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: 0;\n position: relative;\n overflow: hidden;\n}\n.slx-split-brand::after {\n content: '';\n position: absolute;\n width: 280px;\n height: 280px;\n right: -90px;\n bottom: -90px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.09);\n pointer-events: none;\n}\n.slx-split-mark {\n width: 44px;\n height: 44px;\n border-radius: 12px;\n background: rgba(255, 255, 255, 0.16);\n border: 1px solid rgba(255, 255, 255, 0.25);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 22px;\n}\n.slx-split-title {\n font-family: var(--slx-display);\n font-size: 26px;\n font-weight: 700;\n letter-spacing: -0.025em;\n line-height: 1.15;\n margin: 0 0 10px;\n}\n.slx-split-sub { font-size: 14px; line-height: 1.6; opacity: 0.85; margin: 0 0 24px; }\n.slx-split-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }\n.slx-split-points li {\n font-size: 13.5px;\n font-weight: 500;\n padding-left: 28px;\n position: relative;\n line-height: 1.45;\n}\n.slx-split-points li::before {\n content: '\u2713';\n position: absolute;\n left: 0;\n top: 0;\n width: 19px;\n height: 19px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.18);\n font-size: 11px;\n font-weight: 800;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.slx-split-form { padding: 36px 36px 32px; min-width: 0; }\n.slx-card.slx-layout-minimal {\n background: transparent;\n border: none;\n box-shadow: none;\n padding: 10px 6px;\n max-width: 380px;\n animation: none;\n}\n.slx-card.slx-layout-minimal .slx-mark { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; }\n.slx-card.slx-layout-minimal .slx-subtitle { margin-bottom: 20px; }\n.slx-card.slx-layout-minimal .slx-input { background: var(--slx-bg); }\n@media (max-width: 680px) {\n .slx-card.slx-layout-split { grid-template-columns: 1fr; max-width: 440px; }\n .slx-split-brand { padding: 26px 24px; }\n .slx-split-brand::after { display: none; }\n .slx-split-title { font-size: 21px; }\n .slx-split-sub { margin-bottom: 0; }\n .slx-split-points { display: none; }\n .slx-split-form { padding: 26px 22px 24px; }\n}\n\n/* \u2500\u2500 Password field with reveal toggle \u2500\u2500 */\n.slx-input-wrap { position: relative; }\n.slx-input-wrap .slx-input { padding-right: 42px; }\n.slx-pw-toggle {\n position: absolute;\n right: 6px;\n top: 50%;\n transform: translateY(-50%);\n width: 30px;\n height: 30px;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: none;\n border: none;\n color: var(--slx-muted);\n cursor: pointer;\n transition: background 0.12s, color 0.12s;\n}\n.slx-pw-toggle:hover { color: var(--slx-ink); background: color-mix(in srgb, var(--slx-ink) 5%, transparent); }\n.slx-pw-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--slx-accent-soft); }\n\n/* \u2500\u2500 Compact density (opt-in via data-slyxup-density='compact') \u2500\u2500 */\n.slyxup-root[data-slyxup-density='compact'] .slx-card { padding: 24px 24px 20px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-mark { width: 38px; height: 38px; margin-bottom: 14px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-title { font-size: 19px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-subtitle { margin-bottom: 16px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-field { margin-bottom: 10px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-input { padding: 8px 11px; font-size: 13.5px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-btn { padding: 9px 14px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-divider { margin: 14px 0; }\n.slyxup-root[data-slyxup-density='compact'] .slx-footer { margin-top: 16px; }\n.slyxup-root[data-slyxup-density='compact'] .slx-split-form { padding: 24px; }\n\n/* \u2500\u2500 New primitives: OTP / meter / copy / empty \u2500\u2500 */\n.slx-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n.slx-otp-wrap { margin: 4px 0 15px; }\n.slx-otp {\n display: flex;\n gap: 8px;\n justify-content: space-between;\n border: none;\n margin: 0;\n padding: 0;\n min-width: 0;\n}\n.slx-otp-box.slx-input {\n width: 100%;\n max-width: 52px;\n aspect-ratio: 0.86;\n padding: 0;\n text-align: center;\n font-size: 20px;\n font-weight: 700;\n font-family: var(--slx-display);\n}\n.slx-meter-wrap { display: flex; align-items: center; gap: 10px; margin: 8px 0 15px; min-height: 12px; }\n.slx-meter { display: flex; gap: 4px; flex: 1; }\n.slx-meter i {\n height: 4px;\n flex: 1;\n border-radius: 99px;\n background: var(--slx-border-strong);\n transition: background 0.2s;\n}\n.slx-meter-label { font-size: 12px; font-weight: 600; white-space: nowrap; }\n.slx-copyfield-wrap { margin-bottom: 15px; }\n.slx-copyfield {\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--slx-bg-subtle);\n border: 1px solid var(--slx-border);\n border-radius: var(--slx-radius);\n padding: 6px 6px 6px 13px;\n min-width: 0;\n}\n.slx-copyfield-value {\n flex: 1;\n min-width: 0;\n font-family: var(--slx-mono);\n font-size: 12.5px;\n color: var(--slx-ink);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.slx-copyfield-btn { flex-shrink: 0; }\n.slx-copyfield-btn svg { width: 14px; height: 14px; }\n.slx-empty {\n border: 1px dashed var(--slx-border-strong);\n border-radius: var(--slx-radius-lg);\n padding: 32px 24px;\n text-align: center;\n}\n.slx-empty-icon {\n width: 44px;\n height: 44px;\n border-radius: 12px;\n margin: 0 auto 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--slx-accent-soft);\n color: var(--slx-accent);\n}\n.slx-empty-title { font-size: 14px; font-weight: 650; color: var(--slx-ink-strong); margin: 0 0 4px; }\n.slx-empty-desc { font-size: 13px; color: var(--slx-muted); line-height: 1.55; margin: 0; }\n.slx-empty-action { margin-top: 16px; display: flex; justify-content: center; }\n@media (max-width: 460px) {\n .slx-otp { gap: 6px; }\n .slx-otp-box.slx-input { font-size: 17px; }\n .slx-empty { padding: 24px 18px; }\n}\n\n/* \u2500\u2500 Small-screen polish for auth cards & menus \u2500\u2500 */\n@media (max-width: 460px) {\n .slx-card { padding: 26px 22px 24px; border-radius: var(--slx-radius-lg); }\n .slx-title { font-size: 19px; }\n .slx-menu { min-width: 210px; max-width: calc(100vw - 32px); }\n .slx-social-btn { font-size: 13px; padding: 11px 12px; }\n}\n@media (max-width: 380px) {\n .slx-profile-content { padding: 12px; }\n .slx-profile-head { padding: 12px 12px 10px; }\n .slx-profile-title { font-size: 16px; }\n}\n";
8
8
  /** Inject the SlyxUp stylesheet + fonts once per document. Idempotent + SSR-safe. */
9
9
  export declare function injectStyles(): void;
10
10
  /** Test hook — whether styles are present. */
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,GAAG,sjlCAwzBf,CAAC;AAIF,qFAAqF;AACrF,wBAAgB,YAAY,IAAI,IAAI,CAqBnC;AAED,8CAA8C;AAC9C,wBAAgB,cAAc,IAAI,OAAO,CAExC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,GAAG,w7pCAm5Bf,CAAC;AAIF,qFAAqF;AACrF,wBAAgB,YAAY,IAAI,IAAI,CAqBnC;AAED,8CAA8C;AAC9C,wBAAgB,cAAc,IAAI,OAAO,CAExC"}
package/dist/styles.js CHANGED
@@ -816,6 +816,97 @@ export const CSS = `
816
816
  .slyxup-root[data-slyxup-density='compact'] .slx-footer { margin-top: 16px; }
817
817
  .slyxup-root[data-slyxup-density='compact'] .slx-split-form { padding: 24px; }
818
818
 
819
+ /* ── New primitives: OTP / meter / copy / empty ── */
820
+ .slx-sr-only {
821
+ position: absolute;
822
+ width: 1px;
823
+ height: 1px;
824
+ padding: 0;
825
+ margin: -1px;
826
+ overflow: hidden;
827
+ clip: rect(0, 0, 0, 0);
828
+ white-space: nowrap;
829
+ border: 0;
830
+ }
831
+ .slx-otp-wrap { margin: 4px 0 15px; }
832
+ .slx-otp {
833
+ display: flex;
834
+ gap: 8px;
835
+ justify-content: space-between;
836
+ border: none;
837
+ margin: 0;
838
+ padding: 0;
839
+ min-width: 0;
840
+ }
841
+ .slx-otp-box.slx-input {
842
+ width: 100%;
843
+ max-width: 52px;
844
+ aspect-ratio: 0.86;
845
+ padding: 0;
846
+ text-align: center;
847
+ font-size: 20px;
848
+ font-weight: 700;
849
+ font-family: var(--slx-display);
850
+ }
851
+ .slx-meter-wrap { display: flex; align-items: center; gap: 10px; margin: 8px 0 15px; min-height: 12px; }
852
+ .slx-meter { display: flex; gap: 4px; flex: 1; }
853
+ .slx-meter i {
854
+ height: 4px;
855
+ flex: 1;
856
+ border-radius: 99px;
857
+ background: var(--slx-border-strong);
858
+ transition: background 0.2s;
859
+ }
860
+ .slx-meter-label { font-size: 12px; font-weight: 600; white-space: nowrap; }
861
+ .slx-copyfield-wrap { margin-bottom: 15px; }
862
+ .slx-copyfield {
863
+ display: flex;
864
+ align-items: center;
865
+ gap: 8px;
866
+ background: var(--slx-bg-subtle);
867
+ border: 1px solid var(--slx-border);
868
+ border-radius: var(--slx-radius);
869
+ padding: 6px 6px 6px 13px;
870
+ min-width: 0;
871
+ }
872
+ .slx-copyfield-value {
873
+ flex: 1;
874
+ min-width: 0;
875
+ font-family: var(--slx-mono);
876
+ font-size: 12.5px;
877
+ color: var(--slx-ink);
878
+ white-space: nowrap;
879
+ overflow: hidden;
880
+ text-overflow: ellipsis;
881
+ }
882
+ .slx-copyfield-btn { flex-shrink: 0; }
883
+ .slx-copyfield-btn svg { width: 14px; height: 14px; }
884
+ .slx-empty {
885
+ border: 1px dashed var(--slx-border-strong);
886
+ border-radius: var(--slx-radius-lg);
887
+ padding: 32px 24px;
888
+ text-align: center;
889
+ }
890
+ .slx-empty-icon {
891
+ width: 44px;
892
+ height: 44px;
893
+ border-radius: 12px;
894
+ margin: 0 auto 14px;
895
+ display: flex;
896
+ align-items: center;
897
+ justify-content: center;
898
+ background: var(--slx-accent-soft);
899
+ color: var(--slx-accent);
900
+ }
901
+ .slx-empty-title { font-size: 14px; font-weight: 650; color: var(--slx-ink-strong); margin: 0 0 4px; }
902
+ .slx-empty-desc { font-size: 13px; color: var(--slx-muted); line-height: 1.55; margin: 0; }
903
+ .slx-empty-action { margin-top: 16px; display: flex; justify-content: center; }
904
+ @media (max-width: 460px) {
905
+ .slx-otp { gap: 6px; }
906
+ .slx-otp-box.slx-input { font-size: 17px; }
907
+ .slx-empty { padding: 24px 18px; }
908
+ }
909
+
819
910
  /* ── Small-screen polish for auth cards & menus ── */
820
911
  @media (max-width: 460px) {
821
912
  .slx-card { padding: 26px 22px 24px; border-radius: var(--slx-radius-lg); }
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,EAAE,CAAC;AAE5B,MAAM,CAAC,MAAM,GAAG,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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