@abhir9/pd-design-system 0.1.17 → 0.1.19

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.
package/dist/index.css CHANGED
@@ -1,951 +1,666 @@
1
- *, ::before, ::after {
2
- --tw-border-spacing-x: 0;
3
- --tw-border-spacing-y: 0;
4
- --tw-translate-x: 0;
5
- --tw-translate-y: 0;
6
- --tw-rotate: 0;
7
- --tw-skew-x: 0;
8
- --tw-skew-y: 0;
9
- --tw-scale-x: 1;
10
- --tw-scale-y: 1;
11
- --tw-pan-x: ;
12
- --tw-pan-y: ;
13
- --tw-pinch-zoom: ;
14
- --tw-scroll-snap-strictness: proximity;
15
- --tw-gradient-from-position: ;
16
- --tw-gradient-via-position: ;
17
- --tw-gradient-to-position: ;
18
- --tw-ordinal: ;
19
- --tw-slashed-zero: ;
20
- --tw-numeric-figure: ;
21
- --tw-numeric-spacing: ;
22
- --tw-numeric-fraction: ;
23
- --tw-ring-inset: ;
24
- --tw-ring-offset-width: 0px;
25
- --tw-ring-offset-color: #fff;
26
- --tw-ring-color: rgb(59 130 246 / 0.5);
27
- --tw-ring-offset-shadow: 0 0 #0000;
28
- --tw-ring-shadow: 0 0 #0000;
29
- --tw-shadow: 0 0 #0000;
30
- --tw-shadow-colored: 0 0 #0000;
31
- --tw-blur: ;
32
- --tw-brightness: ;
33
- --tw-contrast: ;
34
- --tw-grayscale: ;
35
- --tw-hue-rotate: ;
36
- --tw-invert: ;
37
- --tw-saturate: ;
38
- --tw-sepia: ;
39
- --tw-drop-shadow: ;
40
- --tw-backdrop-blur: ;
41
- --tw-backdrop-brightness: ;
42
- --tw-backdrop-contrast: ;
43
- --tw-backdrop-grayscale: ;
44
- --tw-backdrop-hue-rotate: ;
45
- --tw-backdrop-invert: ;
46
- --tw-backdrop-opacity: ;
47
- --tw-backdrop-saturate: ;
48
- --tw-backdrop-sepia: ;
49
- --tw-contain-size: ;
50
- --tw-contain-layout: ;
51
- --tw-contain-paint: ;
52
- --tw-contain-style: ;
53
- }
54
-
55
- ::backdrop {
56
- --tw-border-spacing-x: 0;
57
- --tw-border-spacing-y: 0;
58
- --tw-translate-x: 0;
59
- --tw-translate-y: 0;
60
- --tw-rotate: 0;
61
- --tw-skew-x: 0;
62
- --tw-skew-y: 0;
63
- --tw-scale-x: 1;
64
- --tw-scale-y: 1;
65
- --tw-pan-x: ;
66
- --tw-pan-y: ;
67
- --tw-pinch-zoom: ;
68
- --tw-scroll-snap-strictness: proximity;
69
- --tw-gradient-from-position: ;
70
- --tw-gradient-via-position: ;
71
- --tw-gradient-to-position: ;
72
- --tw-ordinal: ;
73
- --tw-slashed-zero: ;
74
- --tw-numeric-figure: ;
75
- --tw-numeric-spacing: ;
76
- --tw-numeric-fraction: ;
77
- --tw-ring-inset: ;
78
- --tw-ring-offset-width: 0px;
79
- --tw-ring-offset-color: #fff;
80
- --tw-ring-color: rgb(59 130 246 / 0.5);
81
- --tw-ring-offset-shadow: 0 0 #0000;
82
- --tw-ring-shadow: 0 0 #0000;
83
- --tw-shadow: 0 0 #0000;
84
- --tw-shadow-colored: 0 0 #0000;
85
- --tw-blur: ;
86
- --tw-brightness: ;
87
- --tw-contrast: ;
88
- --tw-grayscale: ;
89
- --tw-hue-rotate: ;
90
- --tw-invert: ;
91
- --tw-saturate: ;
92
- --tw-sepia: ;
93
- --tw-drop-shadow: ;
94
- --tw-backdrop-blur: ;
95
- --tw-backdrop-brightness: ;
96
- --tw-backdrop-contrast: ;
97
- --tw-backdrop-grayscale: ;
98
- --tw-backdrop-hue-rotate: ;
99
- --tw-backdrop-invert: ;
100
- --tw-backdrop-opacity: ;
101
- --tw-backdrop-saturate: ;
102
- --tw-backdrop-sepia: ;
103
- --tw-contain-size: ;
104
- --tw-contain-layout: ;
105
- --tw-contain-paint: ;
106
- --tw-contain-style: ;
107
- }/*
108
- ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
109
- *//*
110
- 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
111
- 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
112
- */
113
-
114
- *,
115
- ::before,
116
- ::after {
117
- box-sizing: border-box; /* 1 */
118
- border-width: 0; /* 2 */
119
- border-style: solid; /* 2 */
120
- border-color: #e5e7eb; /* 2 */
121
- }
122
-
123
- ::before,
124
- ::after {
125
- --tw-content: '';
126
- }
127
-
128
- /*
129
- 1. Use a consistent sensible line-height in all browsers.
130
- 2. Prevent adjustments of font size after orientation changes in iOS.
131
- 3. Use a more readable tab size.
132
- 4. Use the user's configured `sans` font-family by default.
133
- 5. Use the user's configured `sans` font-feature-settings by default.
134
- 6. Use the user's configured `sans` font-variation-settings by default.
135
- 7. Disable tap highlights on iOS
136
- */
137
-
138
- html,
139
- :host {
140
- line-height: 1.5; /* 1 */
141
- -webkit-text-size-adjust: 100%; /* 2 */
142
- -moz-tab-size: 4; /* 3 */
143
- -o-tab-size: 4;
144
- tab-size: 4; /* 3 */
145
- font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
146
- font-feature-settings: normal; /* 5 */
147
- font-variation-settings: normal; /* 6 */
148
- -webkit-tap-highlight-color: transparent; /* 7 */
149
- }
150
-
151
- /*
152
- 1. Remove the margin in all browsers.
153
- 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
154
- */
155
-
156
- body {
157
- margin: 0; /* 1 */
158
- line-height: inherit; /* 2 */
159
- }
160
-
161
- /*
162
- 1. Add the correct height in Firefox.
163
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
164
- 3. Ensure horizontal rules are visible by default.
165
- */
166
-
167
- hr {
168
- height: 0; /* 1 */
169
- color: inherit; /* 2 */
170
- border-top-width: 1px; /* 3 */
171
- }
172
-
173
- /*
174
- Add the correct text decoration in Chrome, Edge, and Safari.
175
- */
176
-
177
- abbr:where([title]) {
178
- -webkit-text-decoration: underline dotted;
179
- text-decoration: underline dotted;
180
- }
181
-
182
- /*
183
- Remove the default font size and weight for headings.
184
- */
185
-
186
- h1,
187
- h2,
188
- h3,
189
- h4,
190
- h5,
191
- h6 {
192
- font-size: inherit;
193
- font-weight: inherit;
194
- }
195
-
196
- /*
197
- Reset links to optimize for opt-in styling instead of opt-out.
198
- */
199
-
200
- a {
1
+ /* all tokens scoped under .pd-root */
2
+ /* This file is auto-generated from src/tokens/base.ts and src/tokens/semantic.ts */
3
+ /* DO NOT EDIT MANUALLY - Run: npm run generate:tokens-css */
4
+ .pd-root {
5
+ /* Core semantic tokens - using exact hex values from TypeScript tokens */
6
+ /* These are converted to HSL format for shadcn-style compatibility */
7
+ --pd-background: 0 0% 100%;
8
+ --pd-foreground: 240 10% 10%;
9
+
10
+ --pd-primary: 240 6% 40%;
11
+ --pd-primary-foreground: 0 0% 100%;
12
+
13
+ --pd-secondary: 0 0% 93%;
14
+ --pd-secondary-foreground: 240 10% 10%;
15
+
16
+ --pd-muted: 0 0% 93%;
17
+ --pd-muted-foreground: 240 2% 75%;
18
+
19
+ --pd-border: 240 2% 75%;
20
+ --pd-input: 240 2% 75%;
21
+ --pd-ring: 240 6% 40%;
22
+
23
+ --pd-radius: 0.375rem;
24
+
25
+ /* Extended tokens - using exact hex values from TypeScript tokens */
26
+ --pd-accent: #EDEDED;
27
+ --pd-accent-foreground: #17171C;
28
+ --pd-background-green: #E0FFEC;
29
+ --pd-background-green-on-hover: #BDFFD5;
30
+ --pd-background-info: #EBF1FF;
31
+ --pd-background-info-on-hover: #99B7FF;
32
+ --pd-background-invert: #09090B;
33
+ --pd-background-invert-light: #17171C;
34
+ --pd-background-low: #EDEDED;
35
+ --pd-background-low-on-hover: #DFDFE2;
36
+ --pd-background-orange: #FFF3EB;
37
+ --pd-background-orange-on-hover: #FFE1CC;
38
+ --pd-background-primary: #FFFFFF;
39
+ --pd-background-red: #FDF2F4;
40
+ --pd-background-red-on-hover: #FADBE1;
41
+ --pd-background-secondary: #EDEDED;
42
+ --pd-background-system: #FAFAFA;
43
+ --pd-background-tertiary: #DFDFE2;
44
+ --pd-background-yellow: #FFF3EB;
45
+ --pd-background-yellow-on-hover: #FFE1CC;
46
+ --pd-border-blue: #3772FF;
47
+ --pd-border-blue-on-hover: #003FD6;
48
+ --pd-border-blue-subtle: #99B7FF;
49
+ --pd-border-green: #00E052;
50
+ --pd-border-green-on-hover: #00B241;
51
+ --pd-border-green-subtle: #8AFFB5;
52
+ --pd-border-invert: #09090B;
53
+ --pd-border-on-color: #FFFFFF;
54
+ --pd-border-orange: #D65700;
55
+ --pd-border-orange-on-hover: #AD4700;
56
+ --pd-border-orange-subtle: #FFC9A3;
57
+ --pd-border-primary: #BEBEC1;
58
+ --pd-border-red: #C41C3B;
59
+ --pd-border-red-on-hover: #A11730;
60
+ --pd-border-red-subtle: #F6C1CA;
61
+ --pd-border-secondary: #DFDFE2;
62
+ --pd-border-subtle: #DFDFE2;
63
+ --pd-border-yellow: #F09700;
64
+ --pd-border-yellow-on-hover: #D68700;
65
+ --pd-border-yellow-subtle: #FFD999;
66
+ --pd-card: #EDEDED;
67
+ --pd-card-foreground: #17171C;
68
+ --pd-color-black: #09090B;
69
+ --pd-color-white: #FFFFFF;
70
+ --pd-content-always-black: #09090B;
71
+ --pd-content-always-white: #FFFFFF;
72
+ --pd-content-blue: #3772FF;
73
+ --pd-content-blue-disabled: #709AFF;
74
+ --pd-content-blue-on-hover: #004BFF;
75
+ --pd-content-green: #00B241;
76
+ --pd-content-green-disabled: #5CFF98;
77
+ --pd-content-green-on-hover: #00E052;
78
+ --pd-content-on-color: #FFFFFF;
79
+ --pd-content-on-color-inverse: #09090B;
80
+ --pd-content-orange: #D65700;
81
+ --pd-content-orange-disabled: #EC9C64;
82
+ --pd-content-orange-on-hover: #AD4700;
83
+ --pd-content-primary: #17171C;
84
+ --pd-content-red: #C41C3B;
85
+ --pd-content-red-disabled: #E15C5C;
86
+ --pd-content-red-on-hover: #A11730;
87
+ --pd-content-secondary: #60606C;
88
+ --pd-content-subtle: #BEBEC1;
89
+ --pd-content-yellow: #F09700;
90
+ --pd-content-yellow-disabled: #FFCA70;
91
+ --pd-content-yellow-on-hover: #D68700;
92
+ --pd-destructive: #C41C3B;
93
+ --pd-destructive-foreground: #FFFFFF;
94
+ --pd-font-mono: Gist Mono, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
95
+ --pd-font-sans: Gist, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
96
+ --pd-font-size2xl: 1.5rem;
97
+ --pd-font-size3xl: 1.875rem;
98
+ --pd-font-size4xl: 2.25rem;
99
+ --pd-font-size5xl: 3rem;
100
+ --pd-font-size-base: 1rem;
101
+ --pd-font-size-lg: 1.125rem;
102
+ --pd-font-size-sm: 0.875rem;
103
+ --pd-font-size-xl: 1.25rem;
104
+ --pd-font-size-xs: 0.75rem;
105
+ --pd-font-weight-bold: 700;
106
+ --pd-font-weight-medium: 500;
107
+ --pd-font-weight-normal: 400;
108
+ --pd-font-weight-semibold: 600;
109
+ --pd-input: #BEBEC1;
110
+ --pd-intent-danger: #C41C3B;
111
+ --pd-intent-danger-active: #7D1225;
112
+ --pd-intent-danger-bg: #FDF2F4;
113
+ --pd-intent-danger-bg-active: #FADBE1;
114
+ --pd-intent-danger-bg-hover: #FADBE1;
115
+ --pd-intent-danger-border: #C41C3B;
116
+ --pd-intent-danger-hover: #A11730;
117
+ --pd-intent-danger-text: #C41C3B;
118
+ --pd-intent-neutral: #60606C;
119
+ --pd-intent-neutral-active: #2F2F37;
120
+ --pd-intent-neutral-bg: #EDEDED;
121
+ --pd-intent-neutral-bg-active: #DFDFE2;
122
+ --pd-intent-neutral-bg-hover: #DFDFE2;
123
+ --pd-intent-neutral-border: #BEBEC1;
124
+ --pd-intent-neutral-hover: #4E4E5A;
125
+ --pd-intent-neutral-text: #17171C;
126
+ --pd-intent-primary: #60606C;
127
+ --pd-intent-primary-active: #2F2F37;
128
+ --pd-intent-primary-bg: #EDEDED;
129
+ --pd-intent-primary-bg-active: #DFDFE2;
130
+ --pd-intent-primary-bg-hover: #DFDFE2;
131
+ --pd-intent-primary-border: #BEBEC1;
132
+ --pd-intent-primary-hover: #4E4E5A;
133
+ --pd-intent-primary-text: #17171C;
134
+ --pd-intent-success: #00E052;
135
+ --pd-intent-success-active: #008A32;
136
+ --pd-intent-success-bg: #E0FFEC;
137
+ --pd-intent-success-bg-active: #8AFFB5;
138
+ --pd-intent-success-bg-hover: #BDFFD5;
139
+ --pd-intent-success-border: #00E052;
140
+ --pd-intent-success-hover: #00B241;
141
+ --pd-intent-success-text: #00B241;
142
+ --pd-intent-warning: #F09700;
143
+ --pd-intent-warning-active: #7A4D00;
144
+ --pd-intent-warning-bg: #FFF3EB;
145
+ --pd-intent-warning-bg-active: #FFE8C2;
146
+ --pd-intent-warning-bg-hover: #FFE1CC;
147
+ --pd-intent-warning-border: #F09700;
148
+ --pd-intent-warning-hover: #D68700;
149
+ --pd-intent-warning-text: #F09700;
150
+ --pd-line-height-normal: 1.5;
151
+ --pd-line-height-relaxed: 1.75;
152
+ --pd-line-height-tight: 1.25;
153
+ --pd-muted: #EDEDED;
154
+ --pd-muted-foreground: #BEBEC1;
155
+ --pd-popover: #EDEDED;
156
+ --pd-popover-foreground: #17171C;
157
+ --pd-primary: #60606C;
158
+ --pd-primary-foreground: #FFFFFF;
159
+ --pd-radius2xl: 1rem;
160
+ --pd-radius3xl: 1.5rem;
161
+ --pd-radius-base: 0.25rem;
162
+ --pd-radius-full: 9999px;
163
+ --pd-radius-lg: 0.5rem;
164
+ --pd-radius-md: 0.375rem;
165
+ --pd-radius-none: 0;
166
+ --pd-radius-sm: 0.125rem;
167
+ --pd-radius-xl: 0.75rem;
168
+ --pd-ring: #60606C;
169
+ --pd-secondary: #EDEDED;
170
+ --pd-secondary-foreground: #17171C;
171
+ --pd-shadow2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
172
+ --pd-shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
173
+ --pd-shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
174
+ --pd-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
175
+ --pd-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
176
+ --pd-shadow-none: none;
177
+ --pd-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
178
+ --pd-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
179
+ --pd-spacing0: 0;
180
+ --pd-spacing1: 0.25rem;
181
+ --pd-spacing10: 2.5rem;
182
+ --pd-spacing12: 3rem;
183
+ --pd-spacing16: 4rem;
184
+ --pd-spacing2: 0.5rem;
185
+ --pd-spacing20: 5rem;
186
+ --pd-spacing24: 6rem;
187
+ --pd-spacing3: 0.75rem;
188
+ --pd-spacing4: 1rem;
189
+ --pd-spacing5: 1.25rem;
190
+ --pd-spacing6: 1.5rem;
191
+ --pd-spacing8: 2rem;
192
+ --pd-surface-base: #FFFFFF;
193
+ --pd-surface-base-border: #BEBEC1;
194
+ --pd-surface-elevated: #EDEDED;
195
+ --pd-surface-elevated-border: #DFDFE2;
196
+ --pd-surface-overlay: rgba(0, 0, 0, 0.5);
197
+ --pd-text-body: #17171C;
198
+ --pd-text-disabled: #BEBEC1;
199
+ --pd-text-heading: #17171C;
200
+ --pd-text-muted: #BEBEC1;
201
+ --pd-z-dropdown: 1000;
202
+ --pd-z-fixed: 1030;
203
+ --pd-z-modal: 1050;
204
+ --pd-z-modal-backdrop: 1040;
205
+ --pd-z-popover: 1060;
206
+ --pd-z-sticky: 1020;
207
+ --pd-z-tooltip: 1070;
208
+
209
+ /* Legacy token mappings for backward compatibility */
210
+ --accent: var(--pd-accent);
211
+ --accent-foreground: var(--pd-accent-foreground);
212
+ --background: var(--pd-background-primary);
213
+ --background-green: var(--pd-background-green);
214
+ --background-green-on-hover: var(--pd-background-green-on-hover);
215
+ --background-info: var(--pd-background-info);
216
+ --background-info-on-hover: var(--pd-background-info-on-hover);
217
+ --background-invert: var(--pd-background-invert);
218
+ --background-invert-light: var(--pd-background-invert-light);
219
+ --background-low: var(--pd-background-low);
220
+ --background-low-on-hover: var(--pd-background-low-on-hover);
221
+ --background-orange: var(--pd-background-orange);
222
+ --background-orange-on-hover: var(--pd-background-orange-on-hover);
223
+ --background-primary: var(--pd-background-primary);
224
+ --background-red: var(--pd-background-red);
225
+ --background-red-on-hover: var(--pd-background-red-on-hover);
226
+ --background-secondary: var(--pd-background-secondary);
227
+ --background-system: var(--pd-background-system);
228
+ --background-tertiary: var(--pd-background-tertiary);
229
+ --background-yellow: var(--pd-background-yellow);
230
+ --background-yellow-on-hover: var(--pd-background-yellow-on-hover);
231
+ --border: var(--pd-border-primary);
232
+ --border-blue: var(--pd-border-blue);
233
+ --border-blue-on-hover: var(--pd-border-blue-on-hover);
234
+ --border-blue-subtle: var(--pd-border-blue-subtle);
235
+ --border-green: var(--pd-border-green);
236
+ --border-green-on-hover: var(--pd-border-green-on-hover);
237
+ --border-green-subtle: var(--pd-border-green-subtle);
238
+ --border-invert: var(--pd-border-invert);
239
+ --border-on-color: var(--pd-border-on-color);
240
+ --border-orange: var(--pd-border-orange);
241
+ --border-orange-on-hover: var(--pd-border-orange-on-hover);
242
+ --border-orange-subtle: var(--pd-border-orange-subtle);
243
+ --border-primary: var(--pd-border-primary);
244
+ --border-red: var(--pd-border-red);
245
+ --border-red-on-hover: var(--pd-border-red-on-hover);
246
+ --border-red-subtle: var(--pd-border-red-subtle);
247
+ --border-secondary: var(--pd-border-secondary);
248
+ --border-subtle: var(--pd-border-subtle);
249
+ --border-yellow: var(--pd-border-yellow);
250
+ --border-yellow-on-hover: var(--pd-border-yellow-on-hover);
251
+ --border-yellow-subtle: var(--pd-border-yellow-subtle);
252
+ --card: var(--pd-card);
253
+ --card-foreground: var(--pd-card-foreground);
254
+ --color-black: var(--pd-color-black);
255
+ --color-white: var(--pd-color-white);
256
+ --content-always-black: var(--pd-content-always-black);
257
+ --content-always-white: var(--pd-content-always-white);
258
+ --content-blue: var(--pd-content-blue);
259
+ --content-blue-disabled: var(--pd-content-blue-disabled);
260
+ --content-blue-on-hover: var(--pd-content-blue-on-hover);
261
+ --content-green: var(--pd-content-green);
262
+ --content-green-disabled: var(--pd-content-green-disabled);
263
+ --content-green-on-hover: var(--pd-content-green-on-hover);
264
+ --content-on-color: var(--pd-content-on-color);
265
+ --content-on-color-inverse: var(--pd-content-on-color-inverse);
266
+ --content-orange: var(--pd-content-orange);
267
+ --content-orange-disabled: var(--pd-content-orange-disabled);
268
+ --content-orange-on-hover: var(--pd-content-orange-on-hover);
269
+ --content-primary: var(--pd-content-primary);
270
+ --content-red: var(--pd-content-red);
271
+ --content-red-disabled: var(--pd-content-red-disabled);
272
+ --content-red-on-hover: var(--pd-content-red-on-hover);
273
+ --content-secondary: var(--pd-content-secondary);
274
+ --content-subtle: var(--pd-content-subtle);
275
+ --content-yellow: var(--pd-content-yellow);
276
+ --content-yellow-disabled: var(--pd-content-yellow-disabled);
277
+ --content-yellow-on-hover: var(--pd-content-yellow-on-hover);
278
+ --destructive: var(--pd-destructive);
279
+ --destructive-foreground: var(--pd-destructive-foreground);
280
+ --font-mono: var(--pd-font-mono);
281
+ --font-sans: var(--pd-font-sans);
282
+ --font-size-2xl: var(--pd-font-size-2xl);
283
+ --font-size-3xl: var(--pd-font-size-3xl);
284
+ --font-size-4xl: var(--pd-font-size-4xl);
285
+ --font-size-5xl: var(--pd-font-size-5xl);
286
+ --font-size-base: var(--pd-font-size-base);
287
+ --font-size-lg: var(--pd-font-size-lg);
288
+ --font-size-sm: var(--pd-font-size-sm);
289
+ --font-size-xl: var(--pd-font-size-xl);
290
+ --font-size-xs: var(--pd-font-size-xs);
291
+ --font-weight-bold: var(--pd-font-weight-bold);
292
+ --font-weight-medium: var(--pd-font-weight-medium);
293
+ --font-weight-normal: var(--pd-font-weight-normal);
294
+ --font-weight-semibold: var(--pd-font-weight-semibold);
295
+ --foreground: var(--pd-foreground);
296
+ --input: var(--pd-input);
297
+ --intent-danger: var(--pd-intent-danger);
298
+ --intent-danger-active: var(--pd-intent-danger-active);
299
+ --intent-danger-bg: var(--pd-intent-danger-bg);
300
+ --intent-danger-bg-active: var(--pd-intent-danger-bg-active);
301
+ --intent-danger-bg-hover: var(--pd-intent-danger-bg-hover);
302
+ --intent-danger-border: var(--pd-intent-danger-border);
303
+ --intent-danger-hover: var(--pd-intent-danger-hover);
304
+ --intent-danger-text: var(--pd-intent-danger-text);
305
+ --intent-neutral: var(--pd-intent-neutral);
306
+ --intent-neutral-active: var(--pd-intent-neutral-active);
307
+ --intent-neutral-bg: var(--pd-intent-neutral-bg);
308
+ --intent-neutral-bg-active: var(--pd-intent-neutral-bg-active);
309
+ --intent-neutral-bg-hover: var(--pd-intent-neutral-bg-hover);
310
+ --intent-neutral-border: var(--pd-intent-neutral-border);
311
+ --intent-neutral-hover: var(--pd-intent-neutral-hover);
312
+ --intent-neutral-text: var(--pd-intent-neutral-text);
313
+ --intent-primary: var(--pd-intent-primary);
314
+ --intent-primary-active: var(--pd-intent-primary-active);
315
+ --intent-primary-bg: var(--pd-intent-primary-bg);
316
+ --intent-primary-bg-active: var(--pd-intent-primary-bg-active);
317
+ --intent-primary-bg-hover: var(--pd-intent-primary-bg-hover);
318
+ --intent-primary-border: var(--pd-intent-primary-border);
319
+ --intent-primary-hover: var(--pd-intent-primary-hover);
320
+ --intent-primary-text: var(--pd-intent-primary-text);
321
+ --intent-success: var(--pd-intent-success);
322
+ --intent-success-active: var(--pd-intent-success-active);
323
+ --intent-success-bg: var(--pd-intent-success-bg);
324
+ --intent-success-bg-active: var(--pd-intent-success-bg-active);
325
+ --intent-success-bg-hover: var(--pd-intent-success-bg-hover);
326
+ --intent-success-border: var(--pd-intent-success-border);
327
+ --intent-success-hover: var(--pd-intent-success-hover);
328
+ --intent-success-text: var(--pd-intent-success-text);
329
+ --intent-warning: var(--pd-intent-warning);
330
+ --intent-warning-active: var(--pd-intent-warning-active);
331
+ --intent-warning-bg: var(--pd-intent-warning-bg);
332
+ --intent-warning-bg-active: var(--pd-intent-warning-bg-active);
333
+ --intent-warning-bg-hover: var(--pd-intent-warning-bg-hover);
334
+ --intent-warning-border: var(--pd-intent-warning-border);
335
+ --intent-warning-hover: var(--pd-intent-warning-hover);
336
+ --intent-warning-text: var(--pd-intent-warning-text);
337
+ --line-height-normal: var(--pd-line-height-normal);
338
+ --line-height-relaxed: var(--pd-line-height-relaxed);
339
+ --line-height-tight: var(--pd-line-height-tight);
340
+ --muted: var(--pd-muted);
341
+ --muted-foreground: var(--pd-muted-foreground);
342
+ --popover: var(--pd-popover);
343
+ --popover-foreground: var(--pd-popover-foreground);
344
+ --primary: var(--pd-primary);
345
+ --primary-foreground: var(--pd-primary-foreground);
346
+ --radius: var(--pd-radius);
347
+ --radius-2xl: var(--pd-radius-2xl);
348
+ --radius-3xl: var(--pd-radius-3xl);
349
+ --radius-base: var(--pd-radius-base);
350
+ --radius-full: var(--pd-radius-full);
351
+ --radius-lg: var(--pd-radius-lg);
352
+ --radius-md: var(--pd-radius-md);
353
+ --radius-none: var(--pd-radius-none);
354
+ --radius-sm: var(--pd-radius-sm);
355
+ --radius-xl: var(--pd-radius-xl);
356
+ --ring: var(--pd-ring);
357
+ --secondary: var(--pd-secondary);
358
+ --secondary-foreground: var(--pd-secondary-foreground);
359
+ --shadow-2xl: var(--pd-shadow-2xl);
360
+ --shadow-base: var(--pd-shadow-base);
361
+ --shadow-inner: var(--pd-shadow-inner);
362
+ --shadow-lg: var(--pd-shadow-lg);
363
+ --shadow-md: var(--pd-shadow-md);
364
+ --shadow-none: var(--pd-shadow-none);
365
+ --shadow-sm: var(--pd-shadow-sm);
366
+ --shadow-xl: var(--pd-shadow-xl);
367
+ --spacing-0: var(--pd-spacing-0);
368
+ --spacing-1: var(--pd-spacing-1);
369
+ --spacing-10: var(--pd-spacing-10);
370
+ --spacing-12: var(--pd-spacing-12);
371
+ --spacing-16: var(--pd-spacing-16);
372
+ --spacing-2: var(--pd-spacing-2);
373
+ --spacing-20: var(--pd-spacing-20);
374
+ --spacing-24: var(--pd-spacing-24);
375
+ --spacing-3: var(--pd-spacing-3);
376
+ --spacing-4: var(--pd-spacing-4);
377
+ --spacing-5: var(--pd-spacing-5);
378
+ --spacing-6: var(--pd-spacing-6);
379
+ --spacing-8: var(--pd-spacing-8);
380
+ --surface-base: var(--pd-surface-base);
381
+ --surface-base-border: var(--pd-surface-base-border);
382
+ --surface-elevated: var(--pd-surface-elevated);
383
+ --surface-elevated-border: var(--pd-surface-elevated-border);
384
+ --surface-overlay: var(--pd-surface-overlay);
385
+ --text-body: var(--pd-text-body);
386
+ --text-disabled: var(--pd-text-disabled);
387
+ --text-heading: var(--pd-text-heading);
388
+ --text-muted: var(--pd-text-muted);
389
+ --z-dropdown: var(--pd-z-dropdown);
390
+ --z-fixed: var(--pd-z-fixed);
391
+ --z-modal: var(--pd-z-modal);
392
+ --z-modal-backdrop: var(--pd-z-modal-backdrop);
393
+ --z-popover: var(--pd-z-popover);
394
+ --z-sticky: var(--pd-z-sticky);
395
+ --z-tooltip: var(--pd-z-tooltip);
396
+ }
397
+ /* ✅ dark theme also scoped */
398
+ .pd-root.pd-dark {
399
+ /* Core semantic tokens - dark mode */
400
+ --pd-background: 240 10% 4%;
401
+ --pd-foreground: 240 5% 88%;
402
+
403
+ --pd-primary: 240 5% 88%;
404
+ --pd-primary-foreground: 240 10% 4%;
405
+
406
+ --pd-secondary: 240 10% 10%;
407
+ --pd-secondary-foreground: 240 5% 88%;
408
+
409
+ --pd-muted: 240 10% 10%;
410
+ --pd-muted-foreground: 240 7% 33%;
411
+
412
+ --pd-border: 240 7% 33%;
413
+ --pd-input: 240 7% 33%;
414
+ --pd-ring: 240 5% 52%;
415
+
416
+ --pd-accent: #17171C;
417
+ --pd-accent-foreground: #DFDFE2;
418
+ --pd-background-green: #00471A;
419
+ --pd-background-green-on-hover: #006625;
420
+ --pd-background-info: #00123D;
421
+ --pd-background-info-on-hover: #001E66;
422
+ --pd-background-invert: #FFFFFF;
423
+ --pd-background-invert-light: #DFDFE2;
424
+ --pd-background-low: #17171C;
425
+ --pd-background-low-on-hover: #2F2F37;
426
+ --pd-background-orange: #331500;
427
+ --pd-background-orange-on-hover: #5C2500;
428
+ --pd-background-primary: #09090B;
429
+ --pd-background-red: #2D060D;
430
+ --pd-background-red-on-hover: #4C0B17;
431
+ --pd-background-secondary: #17171C;
432
+ --pd-background-system: #09090B;
433
+ --pd-background-tertiary: #2F2F37;
434
+ --pd-background-yellow: #3D2600;
435
+ --pd-background-yellow-on-hover: #5C3A00;
436
+ --pd-border-blue: #709AFF;
437
+ --pd-border-blue-on-hover: #3772FF;
438
+ --pd-border-blue-subtle: #002680;
439
+ --pd-border-green: #00E052;
440
+ --pd-border-green-on-hover: #00B241;
441
+ --pd-border-green-subtle: #006625;
442
+ --pd-border-invert: #FFFFFF;
443
+ --pd-border-on-color: #09090B;
444
+ --pd-border-orange: #EC9C64;
445
+ --pd-border-orange-on-hover: #FF6800;
446
+ --pd-border-orange-subtle: #5C2500;
447
+ --pd-border-primary: #4E4E5A;
448
+ --pd-border-red: #E15C5C;
449
+ --pd-border-red-on-hover: #E12D4E;
450
+ --pd-border-red-subtle: #4C0B17;
451
+ --pd-border-secondary: #2F2F37;
452
+ --pd-border-subtle: #2F2F37;
453
+ --pd-border-yellow: #FFCA70;
454
+ --pd-border-yellow-on-hover: #FFAD22;
455
+ --pd-border-yellow-subtle: #5C3A00;
456
+ --pd-card: #17171C;
457
+ --pd-card-foreground: #DFDFE2;
458
+ --pd-color-black: #09090B;
459
+ --pd-color-white: #FFFFFF;
460
+ --pd-content-always-black: #09090B;
461
+ --pd-content-always-white: #FFFFFF;
462
+ --pd-content-blue: #709AFF;
463
+ --pd-content-blue-disabled: #002680;
464
+ --pd-content-blue-on-hover: #3772FF;
465
+ --pd-content-green: #00E052;
466
+ --pd-content-green-disabled: #008A32;
467
+ --pd-content-green-on-hover: #09FF63;
468
+ --pd-content-on-color: #09090B;
469
+ --pd-content-on-color-inverse: #FFFFFF;
470
+ --pd-content-orange: #EC9C64;
471
+ --pd-content-orange-disabled: #7A3200;
472
+ --pd-content-orange-on-hover: #FFC9A3;
473
+ --pd-content-primary: #DFDFE2;
474
+ --pd-content-red: #E15C5C;
475
+ --pd-content-red-disabled: #7D1225;
476
+ --pd-content-red-on-hover: #F6C1CA;
477
+ --pd-content-secondary: #7E7E8B;
478
+ --pd-content-subtle: #4E4E5A;
479
+ --pd-content-yellow: #FFCA70;
480
+ --pd-content-yellow-disabled: #7A4D00;
481
+ --pd-content-yellow-on-hover: #FFD999;
482
+ --pd-destructive: #E15C5C;
483
+ --pd-destructive-foreground: #FFFFFF;
484
+ --pd-font-mono: Gist Mono, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
485
+ --pd-font-sans: Gist, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
486
+ --pd-font-size2xl: 1.5rem;
487
+ --pd-font-size3xl: 1.875rem;
488
+ --pd-font-size4xl: 2.25rem;
489
+ --pd-font-size5xl: 3rem;
490
+ --pd-font-size-base: 1rem;
491
+ --pd-font-size-lg: 1.125rem;
492
+ --pd-font-size-sm: 0.875rem;
493
+ --pd-font-size-xl: 1.25rem;
494
+ --pd-font-size-xs: 0.75rem;
495
+ --pd-font-weight-bold: 700;
496
+ --pd-font-weight-medium: 500;
497
+ --pd-font-weight-normal: 400;
498
+ --pd-font-weight-semibold: 600;
499
+ --pd-input: #4E4E5A;
500
+ --pd-intent-danger: #E15C5C;
501
+ --pd-intent-danger-active: #E12D4E;
502
+ --pd-intent-danger-bg: #2D060D;
503
+ --pd-intent-danger-bg-active: #4C0B17;
504
+ --pd-intent-danger-bg-hover: #4C0B17;
505
+ --pd-intent-danger-border: #E15C5C;
506
+ --pd-intent-danger-hover: #F6C1CA;
507
+ --pd-intent-danger-text: #E15C5C;
508
+ --pd-intent-neutral: #7E7E8B;
509
+ --pd-intent-neutral-active: #EDEDED;
510
+ --pd-intent-neutral-bg: #17171C;
511
+ --pd-intent-neutral-bg-active: #2F2F37;
512
+ --pd-intent-neutral-bg-hover: #2F2F37;
513
+ --pd-intent-neutral-border: #4E4E5A;
514
+ --pd-intent-neutral-hover: #DFDFE2;
515
+ --pd-intent-neutral-text: #DFDFE2;
516
+ --pd-intent-primary: #7E7E8B;
517
+ --pd-intent-primary-active: #EDEDED;
518
+ --pd-intent-primary-bg: #17171C;
519
+ --pd-intent-primary-bg-active: #2F2F37;
520
+ --pd-intent-primary-bg-hover: #2F2F37;
521
+ --pd-intent-primary-border: #4E4E5A;
522
+ --pd-intent-primary-hover: #DFDFE2;
523
+ --pd-intent-primary-text: #DFDFE2;
524
+ --pd-intent-success: #00E052;
525
+ --pd-intent-success-active: #00B241;
526
+ --pd-intent-success-bg: #00471A;
527
+ --pd-intent-success-bg-active: #008A32;
528
+ --pd-intent-success-bg-hover: #006625;
529
+ --pd-intent-success-border: #00E052;
530
+ --pd-intent-success-hover: #09FF63;
531
+ --pd-intent-success-text: #00E052;
532
+ --pd-intent-warning: #FFCA70;
533
+ --pd-intent-warning-active: #FFAD22;
534
+ --pd-intent-warning-bg: #3D2600;
535
+ --pd-intent-warning-bg-active: #5C3A00;
536
+ --pd-intent-warning-bg-hover: #5C3A00;
537
+ --pd-intent-warning-border: #FFCA70;
538
+ --pd-intent-warning-hover: #FFD999;
539
+ --pd-intent-warning-text: #FFCA70;
540
+ --pd-line-height-normal: 1.5;
541
+ --pd-line-height-relaxed: 1.75;
542
+ --pd-line-height-tight: 1.25;
543
+ --pd-muted: #17171C;
544
+ --pd-muted-foreground: #4E4E5A;
545
+ --pd-popover: #17171C;
546
+ --pd-popover-foreground: #DFDFE2;
547
+ --pd-primary: #7E7E8B;
548
+ --pd-primary-foreground: #FFFFFF;
549
+ --pd-radius2xl: 1rem;
550
+ --pd-radius3xl: 1.5rem;
551
+ --pd-radius-base: 0.25rem;
552
+ --pd-radius-full: 9999px;
553
+ --pd-radius-lg: 0.5rem;
554
+ --pd-radius-md: 0.375rem;
555
+ --pd-radius-none: 0;
556
+ --pd-radius-sm: 0.125rem;
557
+ --pd-radius-xl: 0.75rem;
558
+ --pd-ring: #7E7E8B;
559
+ --pd-secondary: #17171C;
560
+ --pd-secondary-foreground: #DFDFE2;
561
+ --pd-shadow2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
562
+ --pd-shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
563
+ --pd-shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
564
+ --pd-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
565
+ --pd-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
566
+ --pd-shadow-none: none;
567
+ --pd-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
568
+ --pd-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
569
+ --pd-spacing0: 0;
570
+ --pd-spacing1: 0.25rem;
571
+ --pd-spacing10: 2.5rem;
572
+ --pd-spacing12: 3rem;
573
+ --pd-spacing16: 4rem;
574
+ --pd-spacing2: 0.5rem;
575
+ --pd-spacing20: 5rem;
576
+ --pd-spacing24: 6rem;
577
+ --pd-spacing3: 0.75rem;
578
+ --pd-spacing4: 1rem;
579
+ --pd-spacing5: 1.25rem;
580
+ --pd-spacing6: 1.5rem;
581
+ --pd-spacing8: 2rem;
582
+ --pd-surface-base: #09090B;
583
+ --pd-surface-base-border: #4E4E5A;
584
+ --pd-surface-elevated: #17171C;
585
+ --pd-surface-elevated-border: #2F2F37;
586
+ --pd-surface-overlay: rgba(0, 0, 0, 0.7);
587
+ --pd-text-body: #DFDFE2;
588
+ --pd-text-disabled: #60606C;
589
+ --pd-text-heading: #DFDFE2;
590
+ --pd-text-muted: #4E4E5A;
591
+ --pd-z-dropdown: 1000;
592
+ --pd-z-fixed: 1030;
593
+ --pd-z-modal: 1050;
594
+ --pd-z-modal-backdrop: 1040;
595
+ --pd-z-popover: 1060;
596
+ --pd-z-sticky: 1020;
597
+ --pd-z-tooltip: 1070;
598
+ }
599
+ /* ✅ Minimal base normalization (safe primitives) */
600
+ /* Since we disabled preflight, consumer resets might affect you. */
601
+ /* So we apply minimal scoped normalization. */
602
+ .pd-root {
603
+ font-family: var(--pd-font-sans, Gist, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
604
+ color: var(--pd-text-body, var(--pd-content-primary));
605
+ background: var(--pd-background-primary);
606
+ }
607
+ /* Ensure interactive elements behave correctly even with global resets */
608
+ .pd-root button {
609
+ font-family: var(--pd-font-sans, Gist, sans-serif);
610
+ /* Don't inherit color - buttons should use their own text colors */
611
+ box-shadow: none !important;
612
+ -o-border-image: none !important;
613
+ border-image: none !important;
614
+ text-shadow: none !important;
615
+ }
616
+ .pd-root button[class*="pd-border"] {
617
+ border-style: solid !important;
618
+ -o-border-image: none !important;
619
+ border-image: none !important;
620
+ box-shadow: none !important;
621
+ }
622
+ .pd-root input,
623
+ .pd-root textarea,
624
+ .pd-root select {
625
+ font: inherit;
201
626
  color: inherit;
202
- text-decoration: inherit;
203
- }
204
-
205
- /*
206
- Add the correct font weight in Edge and Safari.
207
- */
208
-
209
- b,
210
- strong {
211
- font-weight: bolder;
212
- }
213
-
214
- /*
215
- 1. Use the user's configured `mono` font-family by default.
216
- 2. Use the user's configured `mono` font-feature-settings by default.
217
- 3. Use the user's configured `mono` font-variation-settings by default.
218
- 4. Correct the odd `em` font sizing in all browsers.
219
- */
220
-
221
- code,
222
- kbd,
223
- samp,
224
- pre {
225
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
226
- font-feature-settings: normal; /* 2 */
227
- font-variation-settings: normal; /* 3 */
228
- font-size: 1em; /* 4 */
229
- }
230
-
231
- /*
232
- Add the correct font size in all browsers.
233
- */
234
-
235
- small {
236
- font-size: 80%;
237
627
  }
238
-
239
- /*
240
- Prevent `sub` and `sup` elements from affecting the line height in all browsers.
241
- */
242
-
243
- sub,
244
- sup {
245
- font-size: 75%;
246
- line-height: 0;
247
- position: relative;
248
- vertical-align: baseline;
249
- }
250
-
251
- sub {
252
- bottom: -0.25em;
253
- }
254
-
255
- sup {
256
- top: -0.5em;
257
- }
258
-
259
- /*
260
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
261
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
262
- 3. Remove gaps between table borders by default.
263
- */
264
-
265
- table {
266
- text-indent: 0; /* 1 */
267
- border-color: inherit; /* 2 */
268
- border-collapse: collapse; /* 3 */
269
- }
270
-
271
- /*
272
- 1. Change the font styles in all browsers.
273
- 2. Remove the margin in Firefox and Safari.
274
- 3. Remove default padding in all browsers.
275
- */
276
-
277
- button,
278
- input,
279
- optgroup,
280
- select,
281
- textarea {
282
- font-family: inherit; /* 1 */
283
- font-feature-settings: inherit; /* 1 */
284
- font-variation-settings: inherit; /* 1 */
285
- font-size: 100%; /* 1 */
286
- font-weight: inherit; /* 1 */
287
- line-height: inherit; /* 1 */
288
- letter-spacing: inherit; /* 1 */
289
- color: inherit; /* 1 */
290
- margin: 0; /* 2 */
291
- padding: 0; /* 3 */
292
- }
293
-
294
- /*
295
- Remove the inheritance of text transform in Edge and Firefox.
296
- */
297
-
298
- button,
299
- select {
300
- text-transform: none;
301
- }
302
-
303
- /*
304
- 1. Correct the inability to style clickable types in iOS and Safari.
305
- 2. Remove default button styles.
306
- */
307
-
308
- button,
309
- input:where([type='button']),
310
- input:where([type='reset']),
311
- input:where([type='submit']) {
312
- -webkit-appearance: button; /* 1 */
313
- background-color: transparent; /* 2 */
314
- background-image: none; /* 2 */
315
- }
316
-
317
- /*
318
- Use the modern Firefox focus style for all focusable elements.
319
- */
320
-
321
- :-moz-focusring {
322
- outline: auto;
323
- }
324
-
325
- /*
326
- Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
327
- */
328
-
329
- :-moz-ui-invalid {
330
- box-shadow: none;
331
- }
332
-
333
- /*
334
- Add the correct vertical alignment in Chrome and Firefox.
335
- */
336
-
337
- progress {
338
- vertical-align: baseline;
339
- }
340
-
341
- /*
342
- Correct the cursor style of increment and decrement buttons in Safari.
343
- */
344
-
345
- ::-webkit-inner-spin-button,
346
- ::-webkit-outer-spin-button {
347
- height: auto;
348
- }
349
-
350
- /*
351
- 1. Correct the odd appearance in Chrome and Safari.
352
- 2. Correct the outline style in Safari.
353
- */
354
-
355
- [type='search'] {
356
- -webkit-appearance: textfield; /* 1 */
357
- outline-offset: -2px; /* 2 */
358
- }
359
-
360
- /*
361
- Remove the inner padding in Chrome and Safari on macOS.
362
- */
363
-
364
- ::-webkit-search-decoration {
365
- -webkit-appearance: none;
366
- }
367
-
368
- /*
369
- 1. Correct the inability to style clickable types in iOS and Safari.
370
- 2. Change font properties to `inherit` in Safari.
371
- */
372
-
373
- ::-webkit-file-upload-button {
374
- -webkit-appearance: button; /* 1 */
375
- font: inherit; /* 2 */
376
- }
377
-
378
- /*
379
- Add the correct display in Chrome and Safari.
380
- */
381
-
382
- summary {
383
- display: list-item;
384
- }
385
-
386
- /*
387
- Removes the default spacing and border for appropriate elements.
388
- */
389
-
390
- blockquote,
391
- dl,
392
- dd,
393
- h1,
394
- h2,
395
- h3,
396
- h4,
397
- h5,
398
- h6,
399
- hr,
400
- figure,
401
- p,
402
- pre {
403
- margin: 0;
404
- }
405
-
406
- fieldset {
407
- margin: 0;
408
- padding: 0;
409
- }
410
-
411
- legend {
412
- padding: 0;
413
- }
414
-
415
- ol,
416
- ul,
417
- menu {
418
- list-style: none;
419
- margin: 0;
420
- padding: 0;
421
- }
422
-
423
- /*
424
- Reset default styling for dialogs.
425
- */
426
- dialog {
427
- padding: 0;
428
- }
429
-
430
- /*
431
- Prevent resizing textareas horizontally by default.
432
- */
433
-
434
- textarea {
435
- resize: vertical;
436
- }
437
-
438
- /*
439
- 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
440
- 2. Set the default placeholder color to the user's configured gray 400 color.
441
- */
442
-
443
- input::-moz-placeholder, textarea::-moz-placeholder {
444
- opacity: 1; /* 1 */
445
- color: #9ca3af; /* 2 */
446
- }
447
-
448
- input::placeholder,
449
- textarea::placeholder {
450
- opacity: 1; /* 1 */
451
- color: #9ca3af; /* 2 */
452
- }
453
-
454
- /*
455
- Set the default cursor for buttons.
456
- */
457
-
458
- button,
459
- [role="button"] {
460
- cursor: pointer;
461
- }
462
-
463
- /*
464
- Make sure disabled buttons don't get the pointer cursor.
465
- */
466
- :disabled {
467
- cursor: default;
468
- }
469
-
470
- /*
471
- 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
472
- 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
473
- This can trigger a poorly considered lint error in some tools but is included by design.
474
- */
475
-
476
- img,
477
- svg,
478
- video,
479
- canvas,
480
- audio,
481
- iframe,
482
- embed,
483
- object {
484
- display: block; /* 1 */
485
- vertical-align: middle; /* 2 */
486
- }
487
-
488
- /*
489
- Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
490
- */
491
-
492
- img,
493
- video {
494
- max-width: 100%;
495
- height: auto;
496
- }
497
-
498
- /* Make elements with the HTML hidden attribute stay hidden by default */
499
- [hidden]:where(:not([hidden="until-found"])) {
500
- display: none;
501
- }
502
- /**
503
- * Light Mode (Default Theme)
504
- * Source: src/tokens/semantic.ts -> borderTokens.light, contentTokens.light, backgroundTokens.light
505
- */
506
- :root {
507
- --accent: #EDEDED;
508
- --accent-foreground: #17171C;
509
- --background: #FFFFFF;
510
- --background-green: #E0FFEC;
511
- --background-green-on-hover: #BDFFD5;
512
- --background-info: #EBF1FF;
513
- --background-info-on-hover: #99B7FF;
514
- --background-invert: #09090B;
515
- --background-invert-light: #17171C;
516
- --background-low: #EDEDED;
517
- --background-low-on-hover: #DFDFE2;
518
- --background-orange: #FFF3EB;
519
- --background-orange-on-hover: #FFE1CC;
520
- --background-primary: #FFFFFF;
521
- --background-red: #FDF2F4;
522
- --background-red-on-hover: #FADBE1;
523
- --background-secondary: #EDEDED;
524
- --background-system: #FAFAFA;
525
- --background-tertiary: #DFDFE2;
526
- --background-yellow: #FFF3EB;
527
- --background-yellow-on-hover: #FFE1CC;
528
- --border: #BEBEC1;
529
- --border-blue: #3772FF;
530
- --border-blue-on-hover: #003FD6;
531
- --border-blue-subtle: #99B7FF;
532
- --border-green: #00E052;
533
- --border-green-on-hover: #00B241;
534
- --border-green-subtle: #8AFFB5;
535
- --border-invert: #09090B;
536
- --border-on-color: #FFFFFF;
537
- --border-orange: #D65700;
538
- --border-orange-on-hover: #AD4700;
539
- --border-orange-subtle: #FFC9A3;
540
- --border-primary: #BEBEC1;
541
- --border-red: #C41C3B;
542
- --border-red-on-hover: #A11730;
543
- --border-red-subtle: #F6C1CA;
544
- --border-secondary: #DFDFE2;
545
- --border-subtle: #DFDFE2;
546
- --border-yellow: #F09700;
547
- --border-yellow-on-hover: #D68700;
548
- --border-yellow-subtle: #FFD999;
549
- --card: #EDEDED;
550
- --card-foreground: #17171C;
551
- --color-black: #09090B;
552
- --color-white: #FFFFFF;
553
- --content-always-black: #09090B;
554
- --content-always-white: #FFFFFF;
555
- --content-blue: #3772FF;
556
- --content-blue-disabled: #709AFF;
557
- --content-blue-on-hover: #004BFF;
558
- --content-green: #00B241;
559
- --content-green-disabled: #5CFF98;
560
- --content-green-on-hover: #00E052;
561
- --content-on-color: #FFFFFF;
562
- --content-on-color-inverse: #09090B;
563
- --content-orange: #D65700;
564
- --content-orange-disabled: #EC9C64;
565
- --content-orange-on-hover: #AD4700;
566
- --content-primary: #17171C;
567
- --content-red: #C41C3B;
568
- --content-red-disabled: #E15C5C;
569
- --content-red-on-hover: #A11730;
570
- --content-secondary: #60606C;
571
- --content-subtle: #BEBEC1;
572
- --content-yellow: #F09700;
573
- --content-yellow-disabled: #FFCA70;
574
- --content-yellow-on-hover: #D68700;
575
- --destructive: #C41C3B;
576
- --destructive-foreground: #FFFFFF;
577
- --font-mono: Gist Mono, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
578
- --font-sans: Gist, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
579
- --font-size-2xl: 1.5rem;
580
- --font-size-3xl: 1.875rem;
581
- --font-size-4xl: 2.25rem;
582
- --font-size-5xl: 3rem;
583
- --font-size-base: 1rem;
584
- --font-size-lg: 1.125rem;
585
- --font-size-sm: 0.875rem;
586
- --font-size-xl: 1.25rem;
587
- --font-size-xs: 0.75rem;
588
- --font-weight-bold: 700;
589
- --font-weight-medium: 500;
590
- --font-weight-normal: 400;
591
- --font-weight-semibold: 600;
592
- --foreground: #17171C;
593
- --input: #BEBEC1;
594
- --intent-danger: #C41C3B;
595
- --intent-danger-active: #7D1225;
596
- --intent-danger-bg: #FDF2F4;
597
- --intent-danger-bg-active: #FADBE1;
598
- --intent-danger-bg-hover: #FADBE1;
599
- --intent-danger-border: #C41C3B;
600
- --intent-danger-hover: #A11730;
601
- --intent-danger-text: #C41C3B;
602
- --intent-neutral: #60606C;
603
- --intent-neutral-active: #2F2F37;
604
- --intent-neutral-bg: #EDEDED;
605
- --intent-neutral-bg-active: #DFDFE2;
606
- --intent-neutral-bg-hover: #DFDFE2;
607
- --intent-neutral-border: #BEBEC1;
608
- --intent-neutral-hover: #4E4E5A;
609
- --intent-neutral-text: #17171C;
610
- --intent-primary: #60606C;
611
- --intent-primary-active: #2F2F37;
612
- --intent-primary-bg: #EDEDED;
613
- --intent-primary-bg-active: #DFDFE2;
614
- --intent-primary-bg-hover: #DFDFE2;
615
- --intent-primary-border: #BEBEC1;
616
- --intent-primary-hover: #4E4E5A;
617
- --intent-primary-text: #17171C;
618
- --intent-success: #00E052;
619
- --intent-success-active: #008A32;
620
- --intent-success-bg: #E0FFEC;
621
- --intent-success-bg-active: #8AFFB5;
622
- --intent-success-bg-hover: #BDFFD5;
623
- --intent-success-border: #00E052;
624
- --intent-success-hover: #00B241;
625
- --intent-success-text: #00B241;
626
- --intent-warning: #F09700;
627
- --intent-warning-active: #7A4D00;
628
- --intent-warning-bg: #FFF3EB;
629
- --intent-warning-bg-active: #FFE8C2;
630
- --intent-warning-bg-hover: #FFE1CC;
631
- --intent-warning-border: #F09700;
632
- --intent-warning-hover: #D68700;
633
- --intent-warning-text: #F09700;
634
- --line-height-normal: 1.5;
635
- --line-height-relaxed: 1.75;
636
- --line-height-tight: 1.25;
637
- --muted: #EDEDED;
638
- --muted-foreground: #BEBEC1;
639
- --popover: #EDEDED;
640
- --popover-foreground: #17171C;
641
- --primary: #60606C;
642
- --primary-foreground: #FFFFFF;
643
- --radius: 0.375rem;
644
- --radius-2xl: 1rem;
645
- --radius-3xl: 1.5rem;
646
- --radius-base: 0.25rem;
647
- --radius-full: 9999px;
648
- --radius-lg: 0.5rem;
649
- --radius-md: 0.375rem;
650
- --radius-none: 0;
651
- --radius-sm: 0.125rem;
652
- --radius-xl: 0.75rem;
653
- --ring: #60606C;
654
- --secondary: #EDEDED;
655
- --secondary-foreground: #17171C;
656
- --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
657
- --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
658
- --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
659
- --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
660
- --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
661
- --shadow-none: none;
662
- --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
663
- --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
664
- --spacing-0: 0;
665
- --spacing-1: 0.25rem;
666
- --spacing-10: 2.5rem;
667
- --spacing-12: 3rem;
668
- --spacing-16: 4rem;
669
- --spacing-2: 0.5rem;
670
- --spacing-20: 5rem;
671
- --spacing-24: 6rem;
672
- --spacing-3: 0.75rem;
673
- --spacing-4: 1rem;
674
- --spacing-5: 1.25rem;
675
- --spacing-6: 1.5rem;
676
- --spacing-8: 2rem;
677
- --surface-base: #FFFFFF;
678
- --surface-base-border: #BEBEC1;
679
- --surface-elevated: #EDEDED;
680
- --surface-elevated-border: #DFDFE2;
681
- --surface-overlay: rgba(0, 0, 0, 0.5);
682
- --text-body: #17171C;
683
- --text-disabled: #BEBEC1;
684
- --text-heading: #17171C;
685
- --text-muted: #BEBEC1;
686
- --z-dropdown: 1000;
687
- --z-fixed: 1030;
688
- --z-modal: 1050;
689
- --z-modal-backdrop: 1040;
690
- --z-popover: 1060;
691
- --z-sticky: 1020;
692
- --z-tooltip: 1070;
693
-
694
- /* Reset CSS Variables - can be overridden by consumers */
695
- --pd-reset-html-font-size: 10px;
696
- --pd-reset-html-height: 100vh;
697
- --pd-reset-html-width: 100vw;
698
- --pd-reset-html-min-height: 100vh;
699
- --pd-reset-html-min-width: 100vw;
700
- --pd-reset-body-margin: 0;
701
- --pd-reset-body-padding: 0;
702
- --pd-reset-body-height: 100vh;
703
- --pd-reset-body-min-height: 100vh;
704
- --pd-reset-body-width: 100vw;
705
- --pd-reset-body-min-width: 100vw;
706
- --pd-reset-box-sizing: border-box;
707
- --pd-reset-border-width: 0;
708
- --pd-reset-focus-outline: 0;
709
- --pd-reset-focus-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
710
- }
711
-
712
- /**
713
- * Dark Mode Theme
714
- * Applied when .dark class is present on root element
715
- * Source: src/tokens/semantic.ts -> borderTokens.dark, contentTokens.dark, backgroundTokens.dark
716
- */
717
- .dark {
718
- --accent: #17171C;
719
- --accent-foreground: #DFDFE2;
720
- --background: #09090B;
721
- --background-green: #00471A;
722
- --background-green-on-hover: #006625;
723
- --background-info: #00123D;
724
- --background-info-on-hover: #001E66;
725
- --background-invert: #FFFFFF;
726
- --background-invert-light: #DFDFE2;
727
- --background-low: #17171C;
728
- --background-low-on-hover: #2F2F37;
729
- --background-orange: #331500;
730
- --background-orange-on-hover: #5C2500;
731
- --background-primary: #09090B;
732
- --background-red: #2D060D;
733
- --background-red-on-hover: #4C0B17;
734
- --background-secondary: #17171C;
735
- --background-system: #09090B;
736
- --background-tertiary: #2F2F37;
737
- --background-yellow: #3D2600;
738
- --background-yellow-on-hover: #5C3A00;
739
- --border: #4E4E5A;
740
- --border-blue: #709AFF;
741
- --border-blue-on-hover: #3772FF;
742
- --border-blue-subtle: #002680;
743
- --border-green: #00E052;
744
- --border-green-on-hover: #00B241;
745
- --border-green-subtle: #006625;
746
- --border-invert: #FFFFFF;
747
- --border-on-color: #09090B;
748
- --border-orange: #EC9C64;
749
- --border-orange-on-hover: #FF6800;
750
- --border-orange-subtle: #5C2500;
751
- --border-primary: #4E4E5A;
752
- --border-red: #E15C5C;
753
- --border-red-on-hover: #E12D4E;
754
- --border-red-subtle: #4C0B17;
755
- --border-secondary: #2F2F37;
756
- --border-subtle: #2F2F37;
757
- --border-yellow: #FFCA70;
758
- --border-yellow-on-hover: #FFAD22;
759
- --border-yellow-subtle: #5C3A00;
760
- --card: #17171C;
761
- --card-foreground: #DFDFE2;
762
- --color-black: #09090B;
763
- --color-white: #FFFFFF;
764
- --content-always-black: #09090B;
765
- --content-always-white: #FFFFFF;
766
- --content-blue: #709AFF;
767
- --content-blue-disabled: #002680;
768
- --content-blue-on-hover: #3772FF;
769
- --content-green: #00E052;
770
- --content-green-disabled: #008A32;
771
- --content-green-on-hover: #09FF63;
772
- --content-on-color: #09090B;
773
- --content-on-color-inverse: #EDEDED;
774
- --content-orange: #EC9C64;
775
- --content-orange-disabled: #7A3200;
776
- --content-orange-on-hover: #FFC9A3;
777
- --content-primary: #DFDFE2;
778
- --content-red: #E15C5C;
779
- --content-red-disabled: #7D1225;
780
- --content-red-on-hover: #F6C1CA;
781
- --content-secondary: #7E7E8B;
782
- --content-subtle: #4E4E5A;
783
- --content-yellow: #FFCA70;
784
- --content-yellow-disabled: #7A4D00;
785
- --content-yellow-on-hover: #FFD999;
786
- --destructive: #E15C5C;
787
- --destructive-foreground: #FFFFFF;
788
- --font-mono: Gist Mono, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
789
- --font-sans: Gist, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
790
- --font-size-2xl: 1.5rem;
791
- --font-size-3xl: 1.875rem;
792
- --font-size-4xl: 2.25rem;
793
- --font-size-5xl: 3rem;
794
- --font-size-base: 1rem;
795
- --font-size-lg: 1.125rem;
796
- --font-size-sm: 0.875rem;
797
- --font-size-xl: 1.25rem;
798
- --font-size-xs: 0.75rem;
799
- --font-weight-bold: 700;
800
- --font-weight-medium: 500;
801
- --font-weight-normal: 400;
802
- --font-weight-semibold: 600;
803
- --foreground: #DFDFE2;
804
- --input: #4E4E5A;
805
- --intent-danger: #E15C5C;
806
- --intent-danger-active: #E12D4E;
807
- --intent-danger-bg: #2D060D;
808
- --intent-danger-bg-active: #4C0B17;
809
- --intent-danger-bg-hover: #4C0B17;
810
- --intent-danger-border: #E15C5C;
811
- --intent-danger-hover: #F6C1CA;
812
- --intent-danger-text: #E15C5C;
813
- --intent-neutral: #7E7E8B;
814
- --intent-neutral-active: #EDEDED;
815
- --intent-neutral-bg: #17171C;
816
- --intent-neutral-bg-active: #2F2F37;
817
- --intent-neutral-bg-hover: #2F2F37;
818
- --intent-neutral-border: #4E4E5A;
819
- --intent-neutral-hover: #DFDFE2;
820
- --intent-neutral-text: #DFDFE2;
821
- --intent-primary: #7E7E8B;
822
- --intent-primary-active: #EDEDED;
823
- --intent-primary-bg: #17171C;
824
- --intent-primary-bg-active: #2F2F37;
825
- --intent-primary-bg-hover: #2F2F37;
826
- --intent-primary-border: #4E4E5A;
827
- --intent-primary-hover: #DFDFE2;
828
- --intent-primary-text: #DFDFE2;
829
- --intent-success: #00E052;
830
- --intent-success-active: #00B241;
831
- --intent-success-bg: #00471A;
832
- --intent-success-bg-active: #008A32;
833
- --intent-success-bg-hover: #006625;
834
- --intent-success-border: #00E052;
835
- --intent-success-hover: #09FF63;
836
- --intent-success-text: #00E052;
837
- --intent-warning: #FFCA70;
838
- --intent-warning-active: #FFAD22;
839
- --intent-warning-bg: #3D2600;
840
- --intent-warning-bg-active: #5C3A00;
841
- --intent-warning-bg-hover: #5C3A00;
842
- --intent-warning-border: #FFCA70;
843
- --intent-warning-hover: #FFD999;
844
- --intent-warning-text: #FFCA70;
845
- --line-height-normal: 1.5;
846
- --line-height-relaxed: 1.75;
847
- --line-height-tight: 1.25;
848
- --muted: #17171C;
849
- --muted-foreground: #4E4E5A;
850
- --popover: #17171C;
851
- --popover-foreground: #DFDFE2;
852
- --primary: #7E7E8B;
853
- --primary-foreground: #FFFFFF;
854
- --radius: 0.375rem;
855
- --radius-2xl: 1rem;
856
- --radius-3xl: 1.5rem;
857
- --radius-base: 0.25rem;
858
- --radius-full: 9999px;
859
- --radius-lg: 0.5rem;
860
- --radius-md: 0.375rem;
861
- --radius-none: 0;
862
- --radius-sm: 0.125rem;
863
- --radius-xl: 0.75rem;
864
- --ring: #7E7E8B;
865
- --secondary: #17171C;
866
- --secondary-foreground: #DFDFE2;
867
- --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
868
- --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
869
- --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
870
- --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
871
- --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
872
- --shadow-none: none;
873
- --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
874
- --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
875
- --spacing-0: 0;
876
- --spacing-1: 0.25rem;
877
- --spacing-10: 2.5rem;
878
- --spacing-12: 3rem;
879
- --spacing-16: 4rem;
880
- --spacing-2: 0.5rem;
881
- --spacing-20: 5rem;
882
- --spacing-24: 6rem;
883
- --spacing-3: 0.75rem;
884
- --spacing-4: 1rem;
885
- --spacing-5: 1.25rem;
886
- --spacing-6: 1.5rem;
887
- --spacing-8: 2rem;
888
- --surface-base: #09090B;
889
- --surface-base-border: #4E4E5A;
890
- --surface-elevated: #17171C;
891
- --surface-elevated-border: #2F2F37;
892
- --surface-overlay: rgba(0, 0, 0, 0.7);
893
- --text-body: #DFDFE2;
894
- --text-disabled: #60606C;
895
- --text-heading: #DFDFE2;
896
- --text-muted: #4E4E5A;
897
- --z-dropdown: 1000;
898
- --z-fixed: 1030;
899
- --z-modal: 1050;
900
- --z-modal-backdrop: 1040;
901
- --z-popover: 1060;
902
- --z-sticky: 1020;
903
- --z-tooltip: 1070;
904
- }
905
-
906
- /* Focus styles for accessibility - only applied to interactive elements */
907
- button:focus-visible,
908
- input:focus-visible,
909
- select:focus-visible,
910
- textarea:focus-visible {
911
- outline: 2px solid var(--intent-primary);
912
- outline-offset: 2px;
913
- }
914
- .container {
915
- width: 100%;
916
- }
917
- @media (min-width: 640px) {
918
-
919
- .container {
920
- max-width: 640px;
921
- }
922
- }
923
- @media (min-width: 768px) {
924
-
925
- .container {
926
- max-width: 768px;
927
- }
628
+ /* Disabled buttons - no hover/active state changes */
629
+ .pd-root button:disabled,
630
+ .pd-root button[aria-disabled="true"] {
631
+ pointer-events: none !important;
632
+ cursor: not-allowed !important;
633
+ }
634
+ .pd-root button:disabled:hover,
635
+ .pd-root button[aria-disabled="true"]:hover,
636
+ .pd-root button:disabled:active,
637
+ .pd-root button[aria-disabled="true"]:active {
638
+ /* Prevent any hover/active state changes on disabled buttons */
639
+ background-color: inherit !important;
640
+ color: inherit !important;
641
+ border-color: inherit !important;
642
+ transform: none !important;
643
+ opacity: inherit !important;
644
+ }
645
+ /* Focus visible styles for accessibility */
646
+ .pd-root button:focus-visible,
647
+ .pd-root input:focus-visible,
648
+ .pd-root select:focus-visible,
649
+ .pd-root textarea:focus-visible {
650
+ outline: 2px solid var(--pd-intent-primary, var(--pd-border-blue));
651
+ outline-offset: 2px;
928
652
  }
929
- @media (min-width: 1024px) {
930
-
931
- .container {
932
- max-width: 1024px;
933
- }
653
+ /* Disabled buttons should not receive focus */
654
+ .pd-root button:disabled:focus-visible,
655
+ .pd-root button[aria-disabled="true"]:focus-visible {
656
+ outline: none !important;
934
657
  }
935
- @media (min-width: 1280px) {
936
-
937
- .container {
938
- max-width: 1280px;
939
- }
658
+ /* Ghost button loading state - ensure background overrides transparent */
659
+ .pd-root button[aria-busy="true"][class*="pd-bg-transparent"][class*="pd-bg-\[var\(--pd-background-tertiary\)\]"] {
660
+ background-color: var(--pd-background-tertiary) !important;
940
661
  }
941
- @media (min-width: 1536px) {
942
-
943
- .container {
944
- max-width: 1536px;
945
- }
946
- }
947
- button { font-family: inherit; font-size: inherit; }
948
- .sr-only {
662
+ /* Only utilities - no base/components because we disabled preflight */
663
+ .pd-sr-only {
949
664
  position: absolute;
950
665
  width: 1px;
951
666
  height: 1px;
@@ -956,507 +671,336 @@ button { font-family: inherit; font-size: inherit; }
956
671
  white-space: nowrap;
957
672
  border-width: 0;
958
673
  }
959
- .fixed {
960
- position: fixed;
961
- }
962
- .absolute {
674
+ .pd-absolute {
963
675
  position: absolute;
964
676
  }
965
- .relative {
677
+ .pd-relative {
966
678
  position: relative;
967
679
  }
968
- .sticky {
969
- position: sticky;
970
- }
971
- .bottom-1 {
680
+ .pd-bottom-1 {
972
681
  bottom: 0.25rem;
973
682
  }
974
- .left-1\/2 {
683
+ .pd-left-1\/2 {
975
684
  left: 50%;
976
685
  }
977
- .mx-auto {
686
+ .pd-mx-auto {
978
687
  margin-left: auto;
979
688
  margin-right: auto;
980
689
  }
981
- .mb-1 {
982
- margin-bottom: 0.25rem;
983
- }
984
- .mb-2 {
985
- margin-bottom: 0.5rem;
986
- }
987
- .mb-6 {
988
- margin-bottom: 1.5rem;
989
- }
990
- .ml-1\.5 {
690
+ .pd-ml-1\.5 {
991
691
  margin-left: 0.375rem;
992
692
  }
993
- .ml-2 {
693
+ .pd-ml-2 {
994
694
  margin-left: 0.5rem;
995
695
  }
996
- .ml-2\.5 {
696
+ .pd-ml-2\.5 {
997
697
  margin-left: 0.625rem;
998
698
  }
999
- .mr-1\.5 {
699
+ .pd-mr-1\.5 {
1000
700
  margin-right: 0.375rem;
1001
701
  }
1002
- .mr-2 {
702
+ .pd-mr-2 {
1003
703
  margin-right: 0.5rem;
1004
704
  }
1005
- .mr-2\.5 {
705
+ .pd-mr-2\.5 {
1006
706
  margin-right: 0.625rem;
1007
707
  }
1008
- .inline {
1009
- display: inline;
1010
- }
1011
- .flex {
708
+ .pd-flex {
1012
709
  display: flex;
1013
710
  }
1014
- .inline-flex {
711
+ .pd-inline-flex {
1015
712
  display: inline-flex;
1016
713
  }
1017
- .table {
1018
- display: table;
1019
- }
1020
- .grid {
714
+ .pd-grid {
1021
715
  display: grid;
1022
716
  }
1023
- .hidden {
1024
- display: none;
1025
- }
1026
- .h-10 {
717
+ .pd-h-10 {
1027
718
  height: 2.5rem;
1028
719
  }
1029
- .h-12 {
720
+ .pd-h-12 {
1030
721
  height: 3rem;
1031
722
  }
1032
- .h-16 {
1033
- height: 4rem;
1034
- }
1035
- .h-2 {
1036
- height: 0.5rem;
1037
- }
1038
- .h-28 {
1039
- height: 7rem;
1040
- }
1041
- .h-3 {
723
+ .pd-h-3 {
1042
724
  height: 0.75rem;
1043
725
  }
1044
- .h-4 {
726
+ .pd-h-4 {
1045
727
  height: 1rem;
1046
728
  }
1047
- .h-5 {
729
+ .pd-h-5 {
1048
730
  height: 1.25rem;
1049
731
  }
1050
- .h-8 {
732
+ .pd-h-8 {
1051
733
  height: 2rem;
1052
734
  }
1053
- .min-h-\[100px\] {
735
+ .pd-min-h-\[100px\] {
1054
736
  min-height: 100px;
1055
737
  }
1056
- .min-h-screen {
738
+ .pd-min-h-screen {
1057
739
  min-height: 100vh;
1058
740
  }
1059
- .w-2 {
1060
- width: 0.5rem;
1061
- }
1062
- .w-20 {
1063
- width: 5rem;
1064
- }
1065
- .w-24 {
1066
- width: 6rem;
1067
- }
1068
- .w-3 {
741
+ .pd-w-3 {
1069
742
  width: 0.75rem;
1070
743
  }
1071
- .w-4 {
744
+ .pd-w-4 {
1072
745
  width: 1rem;
1073
746
  }
1074
- .w-5 {
747
+ .pd-w-5 {
1075
748
  width: 1.25rem;
1076
749
  }
1077
- .w-full {
750
+ .pd-w-full {
1078
751
  width: 100%;
1079
752
  }
1080
- .min-w-0 {
1081
- min-width: 0px;
1082
- }
1083
- .max-w-3xl {
1084
- max-width: 48rem;
1085
- }
1086
- .max-w-4xl {
1087
- max-width: 56rem;
1088
- }
1089
- .max-w-7xl {
1090
- max-width: 80rem;
1091
- }
1092
- .max-w-\[1400px\] {
753
+ .pd-max-w-\[1400px\] {
1093
754
  max-width: 1400px;
1094
755
  }
1095
- .max-w-md {
756
+ .pd-max-w-md {
1096
757
  max-width: 28rem;
1097
758
  }
1098
- .flex-1 {
1099
- flex: 1 1 0%;
1100
- }
1101
- .flex-shrink-0 {
1102
- flex-shrink: 0;
1103
- }
1104
- .-translate-x-1\/2 {
759
+ .pd--translate-x-1\/2 {
1105
760
  --tw-translate-x: -50%;
1106
761
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1107
762
  }
1108
- @keyframes spin {
1109
-
763
+ @keyframes pd-spin {
1110
764
  to {
1111
765
  transform: rotate(360deg);
1112
766
  }
1113
767
  }
1114
- .animate-spin {
1115
- animation: spin 1s linear infinite;
1116
- }
1117
- .cursor-pointer {
1118
- cursor: pointer;
1119
- }
1120
- .grid-cols-1 {
1121
- grid-template-columns: repeat(1, minmax(0, 1fr));
768
+ .pd-animate-spin {
769
+ animation: pd-spin 1s linear infinite;
1122
770
  }
1123
- .grid-cols-3 {
1124
- grid-template-columns: repeat(3, minmax(0, 1fr));
1125
- }
1126
- .grid-cols-\[150px_repeat\(5\2c 1fr\)\] {
771
+ .pd-grid-cols-\[150px_repeat\(5\,1fr\)\] {
1127
772
  grid-template-columns: 150px repeat(5,1fr);
1128
773
  }
1129
- .flex-row {
774
+ .pd-flex-row {
1130
775
  flex-direction: row;
1131
776
  }
1132
- .flex-col {
777
+ .pd-flex-col {
1133
778
  flex-direction: column;
1134
779
  }
1135
- .flex-wrap {
780
+ .pd-flex-wrap {
1136
781
  flex-wrap: wrap;
1137
782
  }
1138
- .items-start {
783
+ .pd-items-start {
1139
784
  align-items: flex-start;
1140
785
  }
1141
- .items-center {
786
+ .pd-items-end {
787
+ align-items: flex-end;
788
+ }
789
+ .pd-items-center {
1142
790
  align-items: center;
1143
791
  }
1144
- .justify-center {
792
+ .pd-justify-start {
793
+ justify-content: flex-start;
794
+ }
795
+ .pd-justify-end {
796
+ justify-content: flex-end;
797
+ }
798
+ .pd-justify-center {
1145
799
  justify-content: center;
1146
800
  }
1147
- .gap-1 {
801
+ .pd-justify-between {
802
+ justify-content: space-between;
803
+ }
804
+ .pd-gap-1 {
1148
805
  gap: 0.25rem;
1149
806
  }
1150
- .gap-2 {
807
+ .pd-gap-2 {
1151
808
  gap: 0.5rem;
1152
809
  }
1153
- .gap-3 {
810
+ .pd-gap-3 {
1154
811
  gap: 0.75rem;
1155
812
  }
1156
- .gap-4 {
813
+ .pd-gap-4 {
1157
814
  gap: 1rem;
1158
815
  }
1159
- .gap-6 {
816
+ .pd-gap-6 {
1160
817
  gap: 1.5rem;
1161
818
  }
1162
- .gap-8 {
819
+ .pd-gap-8 {
1163
820
  gap: 2rem;
1164
821
  }
1165
- .gap-x-6 {
822
+ .pd-gap-x-6 {
1166
823
  -moz-column-gap: 1.5rem;
1167
824
  column-gap: 1.5rem;
1168
825
  }
1169
- .space-y-10 > :not([hidden]) ~ :not([hidden]) {
1170
- --tw-space-y-reverse: 0;
1171
- margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
1172
- margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
1173
- }
1174
- .space-y-3 > :not([hidden]) ~ :not([hidden]) {
1175
- --tw-space-y-reverse: 0;
1176
- margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
1177
- margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
1178
- }
1179
- .space-y-4 > :not([hidden]) ~ :not([hidden]) {
826
+ .pd-space-y-4 > :not([hidden]) ~ :not([hidden]) {
1180
827
  --tw-space-y-reverse: 0;
1181
828
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
1182
829
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
1183
830
  }
1184
- .space-y-6 > :not([hidden]) ~ :not([hidden]) {
1185
- --tw-space-y-reverse: 0;
1186
- margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
1187
- margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
1188
- }
1189
- .space-y-8 > :not([hidden]) ~ :not([hidden]) {
1190
- --tw-space-y-reverse: 0;
1191
- margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
1192
- margin-bottom: calc(2rem * var(--tw-space-y-reverse));
1193
- }
1194
- .overflow-hidden {
1195
- overflow: hidden;
1196
- }
1197
- .overflow-x-auto {
1198
- overflow-x: auto;
1199
- }
1200
- .truncate {
1201
- overflow: hidden;
1202
- text-overflow: ellipsis;
831
+ .pd-whitespace-nowrap {
1203
832
  white-space: nowrap;
1204
833
  }
1205
- .whitespace-nowrap {
1206
- white-space: nowrap;
834
+ .pd-rounded-\[var\(--pd-radius-base\)\] {
835
+ border-radius: var(--pd-radius-base);
1207
836
  }
1208
- .rounded-full {
837
+ .pd-rounded-full {
1209
838
  border-radius: 9999px;
1210
839
  }
1211
- .rounded-lg {
1212
- border-radius: 0.5rem;
1213
- }
1214
- .rounded-md {
1215
- border-radius: 0.375rem;
1216
- }
1217
- .rounded-xl {
1218
- border-radius: 0.75rem;
1219
- }
1220
- .border {
1221
- border-width: 1px;
1222
- }
1223
- .border-2 {
1224
- border-width: 2px;
1225
- }
1226
- .border-\[var\(--border-blue\)\] {
1227
- border-color: var(--border-blue);
840
+ .pd-rounded-lg {
841
+ border-radius: var(--pd-radius);
1228
842
  }
1229
- .border-\[var\(--border-green\)\] {
1230
- border-color: var(--border-green);
843
+ .pd-rounded-md {
844
+ border-radius: calc(var(--pd-radius) - 2px);
1231
845
  }
1232
- .border-\[var\(--border-green-subtle\)\] {
1233
- border-color: var(--border-green-subtle);
846
+ .pd-rounded-none {
847
+ border-radius: 0px;
1234
848
  }
1235
- .border-\[var\(--border-primary\)\] {
1236
- border-color: var(--border-primary);
849
+ .pd-rounded-sm {
850
+ border-radius: calc(var(--pd-radius) - 4px);
1237
851
  }
1238
- .border-\[var\(--border-red\)\] {
1239
- border-color: var(--border-red);
852
+ .pd-border {
853
+ border-width: 1px;
1240
854
  }
1241
- .border-\[var\(--border-secondary\)\] {
1242
- border-color: var(--border-secondary);
855
+ .pd-border-0 {
856
+ border-width: 0px;
1243
857
  }
1244
- .border-\[var\(--border-subtle\)\] {
1245
- border-color: var(--border-subtle);
858
+ .pd-border-\[var\(--pd-border-secondary\)\] {
859
+ border-color: var(--pd-border-secondary);
1246
860
  }
1247
- .border-\[var\(--border-yellow\)\] {
1248
- border-color: var(--border-yellow);
861
+ .pd-border-\[var\(--pd-intent-danger-border\)\] {
862
+ border-color: var(--pd-intent-danger-border);
1249
863
  }
1250
- .border-\[var\(--border-yellow-subtle\)\] {
1251
- border-color: var(--border-yellow-subtle);
864
+ .pd-border-\[var\(--pd-intent-neutral-border\)\] {
865
+ border-color: var(--pd-intent-neutral-border);
1252
866
  }
1253
- .bg-\[var\(--background-base\)\] {
1254
- background-color: var(--background-base);
867
+ .pd-border-\[var\(--pd-intent-success-border\)\] {
868
+ border-color: var(--pd-intent-success-border);
1255
869
  }
1256
- .bg-\[var\(--background-green\)\] {
1257
- background-color: var(--background-green);
870
+ .pd-border-\[var\(--pd-intent-warning-border\)\] {
871
+ border-color: var(--pd-intent-warning-border);
1258
872
  }
1259
- .bg-\[var\(--background-info\)\] {
1260
- background-color: var(--background-info);
873
+ .\!pd-bg-\[var\(--pd-background-tertiary\)\] {
874
+ background-color: var(--pd-background-tertiary) !important;
1261
875
  }
1262
- .bg-\[var\(--background-invert\)\] {
1263
- background-color: var(--background-invert);
876
+ .pd-bg-\[var\(--pd-background-invert\)\] {
877
+ background-color: var(--pd-background-invert);
1264
878
  }
1265
- .bg-\[var\(--background-low\)\] {
1266
- background-color: var(--background-low);
879
+ .pd-bg-\[var\(--pd-background-primary\)\] {
880
+ background-color: var(--pd-background-primary);
1267
881
  }
1268
- .bg-\[var\(--background-primary\)\] {
1269
- background-color: var(--background-primary);
882
+ .pd-bg-\[var\(--pd-background-red\)\] {
883
+ background-color: var(--pd-background-red);
1270
884
  }
1271
- .bg-\[var\(--background-red\)\] {
1272
- background-color: var(--background-red);
885
+ .pd-bg-\[var\(--pd-background-tertiary\)\] {
886
+ background-color: var(--pd-background-tertiary);
1273
887
  }
1274
- .bg-\[var\(--background-secondary\)\] {
1275
- background-color: var(--background-secondary);
888
+ .pd-bg-\[var\(--pd-intent-danger-bg\)\] {
889
+ background-color: var(--pd-intent-danger-bg);
1276
890
  }
1277
- .bg-\[var\(--background-yellow\)\] {
1278
- background-color: var(--background-yellow);
891
+ .pd-bg-\[var\(--pd-intent-neutral-bg\)\] {
892
+ background-color: var(--pd-intent-neutral-bg);
1279
893
  }
1280
- .bg-\[var\(--content-primary\)\] {
1281
- background-color: var(--content-primary);
894
+ .pd-bg-\[var\(--pd-intent-success-bg\)\] {
895
+ background-color: var(--pd-intent-success-bg);
1282
896
  }
1283
- .bg-blue-400 {
1284
- --tw-bg-opacity: 1;
1285
- background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
897
+ .pd-bg-\[var\(--pd-intent-warning-bg\)\] {
898
+ background-color: var(--pd-intent-warning-bg);
1286
899
  }
1287
- .bg-yellow-400 {
1288
- --tw-bg-opacity: 1;
1289
- background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
900
+ .pd-bg-transparent {
901
+ background-color: transparent;
1290
902
  }
1291
- .p-12 {
903
+ .pd-p-12 {
1292
904
  padding: 3rem;
1293
905
  }
1294
- .p-2 {
1295
- padding: 0.5rem;
1296
- }
1297
- .p-4 {
1298
- padding: 1rem;
1299
- }
1300
- .p-5 {
906
+ .pd-p-5 {
1301
907
  padding: 1.25rem;
1302
908
  }
1303
- .p-6 {
1304
- padding: 1.5rem;
1305
- }
1306
- .p-8 {
1307
- padding: 2rem;
1308
- }
1309
- .px-1 {
1310
- padding-left: 0.25rem;
1311
- padding-right: 0.25rem;
1312
- }
1313
- .px-3 {
909
+ .pd-px-3 {
1314
910
  padding-left: 0.75rem;
1315
911
  padding-right: 0.75rem;
1316
912
  }
1317
- .px-4 {
913
+ .pd-px-4 {
1318
914
  padding-left: 1rem;
1319
915
  padding-right: 1rem;
1320
916
  }
1321
- .px-6 {
917
+ .pd-px-6 {
1322
918
  padding-left: 1.5rem;
1323
919
  padding-right: 1.5rem;
1324
920
  }
1325
- .pt-2 {
1326
- padding-top: 0.5rem;
1327
- }
1328
- .text-center {
1329
- text-align: center;
1330
- }
1331
- .font-mono {
1332
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
1333
- }
1334
- .text-2xl {
1335
- font-size: 1.5rem;
1336
- line-height: 2rem;
921
+ .pd-py-3 {
922
+ padding-top: 0.75rem;
923
+ padding-bottom: 0.75rem;
1337
924
  }
1338
- .text-3xl {
1339
- font-size: 1.875rem;
1340
- line-height: 2.25rem;
925
+ .pd-py-4 {
926
+ padding-top: 1rem;
927
+ padding-bottom: 1rem;
1341
928
  }
1342
- .text-4xl {
1343
- font-size: 2.25rem;
1344
- line-height: 2.5rem;
929
+ .pd-text-center {
930
+ text-align: center;
1345
931
  }
1346
- .text-\[10px\] {
932
+ .pd-text-\[10px\] {
1347
933
  font-size: 10px;
1348
934
  }
1349
- .text-\[8px\] {
1350
- font-size: 8px;
1351
- }
1352
- .text-base {
935
+ .pd-text-base {
1353
936
  font-size: 1rem;
1354
937
  line-height: 1.5rem;
1355
938
  }
1356
- .text-lg {
939
+ .pd-text-lg {
1357
940
  font-size: 1.125rem;
1358
941
  line-height: 1.75rem;
1359
942
  }
1360
- .text-sm {
943
+ .pd-text-sm {
1361
944
  font-size: 0.875rem;
1362
945
  line-height: 1.25rem;
1363
946
  }
1364
- .text-xl {
1365
- font-size: 1.25rem;
1366
- line-height: 1.75rem;
1367
- }
1368
- .text-xs {
947
+ .pd-text-xs {
1369
948
  font-size: 0.75rem;
1370
949
  line-height: 1rem;
1371
950
  }
1372
- .font-bold {
951
+ .pd-font-bold {
1373
952
  font-weight: 700;
1374
953
  }
1375
- .font-medium {
954
+ .pd-font-medium {
1376
955
  font-weight: 500;
1377
956
  }
1378
- .font-semibold {
957
+ .pd-font-semibold {
1379
958
  font-weight: 600;
1380
959
  }
1381
- .capitalize {
1382
- text-transform: capitalize;
1383
- }
1384
- .leading-relaxed {
1385
- line-height: 1.625;
1386
- }
1387
- .leading-tight {
1388
- line-height: 1.25;
960
+ .pd-text-\[var\(--pd-content-on-color\)\] {
961
+ color: var(--pd-content-on-color);
1389
962
  }
1390
- .text-\[var\(--content-blue\)\] {
1391
- color: var(--content-blue);
963
+ .pd-text-\[var\(--pd-content-red\)\] {
964
+ color: var(--pd-content-red);
1392
965
  }
1393
- .text-\[var\(--content-green\)\] {
1394
- color: var(--content-green);
966
+ .pd-text-\[var\(--pd-content-secondary\)\] {
967
+ color: var(--pd-content-secondary);
1395
968
  }
1396
- .text-\[var\(--content-on-color\)\] {
1397
- color: var(--content-on-color);
969
+ .pd-text-\[var\(--pd-content-subtle\)\] {
970
+ color: var(--pd-content-subtle);
1398
971
  }
1399
- .text-\[var\(--content-primary\)\] {
1400
- color: var(--content-primary);
972
+ .pd-text-\[var\(--pd-destructive-foreground\)\] {
973
+ color: var(--pd-destructive-foreground);
1401
974
  }
1402
- .text-\[var\(--content-red\)\] {
1403
- color: var(--content-red);
975
+ .pd-text-\[var\(--pd-intent-danger-text\)\] {
976
+ color: var(--pd-intent-danger-text);
1404
977
  }
1405
- .text-\[var\(--content-secondary\)\] {
1406
- color: var(--content-secondary);
978
+ .pd-text-\[var\(--pd-intent-neutral-text\)\] {
979
+ color: var(--pd-intent-neutral-text);
1407
980
  }
1408
- .text-\[var\(--content-subtle\)\] {
1409
- color: var(--content-subtle);
981
+ .pd-text-\[var\(--pd-intent-success-text\)\] {
982
+ color: var(--pd-intent-success-text);
1410
983
  }
1411
- .text-\[var\(--content-yellow\)\] {
1412
- color: var(--content-yellow);
984
+ .pd-text-\[var\(--pd-intent-warning-text\)\] {
985
+ color: var(--pd-intent-warning-text);
1413
986
  }
1414
- .text-gray-500 {
1415
- --tw-text-opacity: 1;
1416
- color: rgb(107 114 128 / var(--tw-text-opacity, 1));
1417
- }
1418
- .shadow-sm {
1419
- --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
1420
- --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
987
+ .pd-shadow-none {
988
+ --tw-shadow: 0 0 #0000;
989
+ --tw-shadow-colored: 0 0 #0000;
1421
990
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1422
991
  }
1423
- .outline {
1424
- outline-style: solid;
1425
- }
1426
- .invert {
1427
- --tw-invert: invert(100%);
1428
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1429
- }
1430
- .filter {
1431
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1432
- }
1433
- .transition {
1434
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1435
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1436
- transition-duration: 150ms;
1437
- }
1438
- .transition-all {
992
+ .pd-transition-all {
1439
993
  transition-property: all;
1440
994
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1441
995
  transition-duration: 150ms;
1442
996
  }
1443
- .transition-colors {
997
+ .pd-transition-colors {
1444
998
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1445
999
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1446
1000
  transition-duration: 150ms;
1447
1001
  }
1448
- .transition-shadow {
1449
- transition-property: box-shadow;
1450
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1451
- transition-duration: 150ms;
1452
- }
1453
- .transition-transform {
1454
- transition-property: transform;
1455
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1456
- transition-duration: 150ms;
1457
- }
1458
1002
  /* Screen reader only utility - visually hidden but accessible to assistive technologies */
1459
- .sr-only {
1003
+ .pd-sr-only {
1460
1004
  position: absolute;
1461
1005
  width: 1px;
1462
1006
  height: 1px;
@@ -1470,189 +1014,99 @@ button { font-family: inherit; font-size: inherit; }
1470
1014
  /* Hide scrollbar */
1471
1015
  /* Backdrop blur helpers */
1472
1016
  /* Transition helpers */
1473
- .transition-all { transition: all 0.15s ease-in-out; }
1474
- .transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
1017
+ .pd-transition-all { transition: all 0.15s ease-in-out; }
1018
+ .pd-transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
1475
1019
  /* Opacity helpers */
1476
-
1477
-
1478
- /* Utilities */
1479
-
1480
- /* Component-friendly defaults (non-color) */
1481
-
1482
- .hover\:border-\[var\(--border-green-on-hover\)\]:hover {
1483
- border-color: var(--border-green-on-hover);
1484
- }
1485
-
1486
- .hover\:border-\[var\(--border-primary\)\]:hover {
1487
- border-color: var(--border-primary);
1488
- }
1489
-
1490
- .hover\:border-\[var\(--border-red-on-hover\)\]:hover {
1491
- border-color: var(--border-red-on-hover);
1492
- }
1493
-
1494
- .hover\:border-\[var\(--border-secondary\)\]:hover {
1495
- border-color: var(--border-secondary);
1496
- }
1497
-
1498
- .hover\:border-\[var\(--border-yellow-on-hover\)\]:hover {
1499
- border-color: var(--border-yellow-on-hover);
1500
- }
1501
-
1502
- .hover\:bg-\[var\(--background-green\)\]:hover {
1503
- background-color: var(--background-green);
1504
- }
1505
-
1506
- .hover\:bg-\[var\(--background-green-on-hover\)\]:hover {
1507
- background-color: var(--background-green-on-hover);
1508
- }
1509
-
1510
- .hover\:bg-\[var\(--background-invert-light\)\]:hover {
1511
- background-color: var(--background-invert-light);
1512
- }
1513
-
1514
- .hover\:bg-\[var\(--background-low\)\]:hover {
1515
- background-color: var(--background-low);
1516
- }
1517
-
1518
- .hover\:bg-\[var\(--background-low-on-hover\)\]:hover {
1519
- background-color: var(--background-low-on-hover);
1520
- }
1521
-
1522
- .hover\:bg-\[var\(--background-red\)\]:hover {
1523
- background-color: var(--background-red);
1524
- }
1525
-
1526
- .hover\:bg-\[var\(--background-red-on-hover\)\]:hover {
1527
- background-color: var(--background-red-on-hover);
1528
- }
1529
-
1530
- .hover\:bg-\[var\(--background-yellow\)\]:hover {
1531
- background-color: var(--background-yellow);
1532
- }
1533
-
1534
- .hover\:bg-\[var\(--background-yellow-on-hover\)\]:hover {
1535
- background-color: var(--background-yellow-on-hover);
1536
- }
1537
-
1538
- .hover\:text-\[var\(--content-green-on-hover\)\]:hover {
1539
- color: var(--content-green-on-hover);
1540
- }
1541
-
1542
- .hover\:text-\[var\(--content-primary\)\]:hover {
1543
- color: var(--content-primary);
1544
- }
1545
-
1546
- .hover\:text-\[var\(--content-red-on-hover\)\]:hover {
1547
- color: var(--content-red-on-hover);
1020
+ /* Animation helpers */
1021
+ .pd-animate-spin {
1022
+ animation: pd-spin 1s linear infinite;
1023
+ }
1024
+ @keyframes pd-spin {
1025
+ from {
1026
+ transform: rotate(0deg);
1027
+ }
1028
+ to {
1029
+ transform: rotate(360deg);
1030
+ }
1031
+ }
1032
+ /* Button border fixes - remove shadows and gradients */
1033
+ .pd-root button[class*="pd-border"] {
1034
+ border-style: solid !important;
1035
+ -o-border-image: none !important;
1036
+ border-image: none !important;
1037
+ box-shadow: none !important;
1038
+ text-shadow: none !important;
1039
+ }
1040
+ .\[font-family\:var\(--pd-font-sans\2c Gist\2c sans-serif\)\] {
1041
+ font-family: var(--pd-font-sans,Gist,sans-serif);
1548
1042
  }
1549
-
1550
- .hover\:text-\[var\(--content-yellow-on-hover\)\]:hover {
1551
- color: var(--content-yellow-on-hover);
1043
+ /* Utilities */
1044
+ .hover\:pd-bg-\[var\(--pd-background-invert-light\)\]:hover {
1045
+ background-color: var(--pd-background-invert-light);
1552
1046
  }
1553
-
1554
- .hover\:shadow-lg:hover {
1555
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
1556
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
1557
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1047
+ .hover\:pd-bg-\[var\(--pd-background-low\)\]:hover {
1048
+ background-color: var(--pd-background-low);
1558
1049
  }
1559
-
1560
- .hover\:shadow-md:hover {
1561
- --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1562
- --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1563
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1050
+ .hover\:pd-bg-\[var\(--pd-background-red-on-hover\)\]:hover {
1051
+ background-color: var(--pd-background-red-on-hover);
1564
1052
  }
1565
-
1566
- .focus-visible\:outline-none:focus-visible {
1567
- outline: 2px solid transparent;
1568
- outline-offset: 2px;
1053
+ .hover\:pd-bg-\[var\(--pd-intent-danger-bg\)\]:hover {
1054
+ background-color: var(--pd-intent-danger-bg);
1569
1055
  }
1570
-
1571
- .focus-visible\:ring-2:focus-visible {
1572
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1573
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1574
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1056
+ .hover\:pd-bg-\[var\(--pd-intent-danger-bg-hover\)\]:hover {
1057
+ background-color: var(--pd-intent-danger-bg-hover);
1575
1058
  }
1576
-
1577
- .focus-visible\:ring-\[var\(--border-blue\)\]:focus-visible {
1578
- --tw-ring-color: var(--border-blue);
1059
+ .hover\:pd-bg-\[var\(--pd-intent-neutral-bg-hover\)\]:hover {
1060
+ background-color: var(--pd-intent-neutral-bg-hover);
1579
1061
  }
1580
-
1581
- .focus-visible\:ring-offset-2:focus-visible {
1582
- --tw-ring-offset-width: 2px;
1062
+ .hover\:pd-bg-\[var\(--pd-intent-success-bg\)\]:hover {
1063
+ background-color: var(--pd-intent-success-bg);
1583
1064
  }
1584
-
1585
- .active\:bg-\[var\(--background-green\)\]:active {
1586
- background-color: var(--background-green);
1065
+ .hover\:pd-bg-\[var\(--pd-intent-success-bg-hover\)\]:hover {
1066
+ background-color: var(--pd-intent-success-bg-hover);
1587
1067
  }
1588
-
1589
- .active\:bg-\[var\(--background-invert\)\]:active {
1590
- background-color: var(--background-invert);
1068
+ .hover\:pd-bg-\[var\(--pd-intent-warning-bg\)\]:hover {
1069
+ background-color: var(--pd-intent-warning-bg);
1591
1070
  }
1592
-
1593
- .active\:bg-\[var\(--background-red\)\]:active {
1594
- background-color: var(--background-red);
1071
+ .hover\:pd-bg-\[var\(--pd-intent-warning-bg-hover\)\]:hover {
1072
+ background-color: var(--pd-intent-warning-bg-hover);
1595
1073
  }
1596
-
1597
- .active\:bg-\[var\(--background-secondary\)\]:active {
1598
- background-color: var(--background-secondary);
1074
+ .hover\:pd-text-\[var\(--pd-content-primary\)\]:hover {
1075
+ color: var(--pd-content-primary);
1599
1076
  }
1600
-
1601
- .active\:bg-\[var\(--background-tertiary\)\]:active {
1602
- background-color: var(--background-tertiary);
1077
+ .hover\:pd-text-\[var\(--pd-content-red-on-hover\)\]:hover {
1078
+ color: var(--pd-content-red-on-hover);
1603
1079
  }
1604
-
1605
- .active\:bg-\[var\(--background-yellow\)\]:active {
1606
- background-color: var(--background-yellow);
1080
+ .hover\:pd-text-\[var\(--pd-intent-danger-hover\)\]:hover {
1081
+ color: var(--pd-intent-danger-hover);
1607
1082
  }
1608
-
1609
- .disabled\:pointer-events-none:disabled {
1610
- pointer-events: none;
1083
+ .hover\:pd-text-\[var\(--pd-intent-neutral-hover\)\]:hover {
1084
+ color: var(--pd-intent-neutral-hover);
1611
1085
  }
1612
-
1613
- .disabled\:border-\[var\(--border-subtle\)\]:disabled {
1614
- border-color: var(--border-subtle);
1086
+ .hover\:pd-text-\[var\(--pd-intent-success-hover\)\]:hover {
1087
+ color: var(--pd-intent-success-hover);
1615
1088
  }
1616
-
1617
- .disabled\:bg-\[var\(--background-red\)\]:disabled {
1618
- background-color: var(--background-red);
1089
+ .hover\:pd-text-\[var\(--pd-intent-warning-hover\)\]:hover {
1090
+ color: var(--pd-intent-warning-hover);
1619
1091
  }
1620
-
1621
- .disabled\:bg-\[var\(--background-secondary\)\]:disabled {
1622
- background-color: var(--background-secondary);
1092
+ .active\:pd-bg-\[var\(--pd-background-invert\)\]:active {
1093
+ background-color: var(--pd-background-invert);
1623
1094
  }
1624
-
1625
- .disabled\:bg-\[var\(--background-tertiary\)\]:disabled {
1626
- background-color: var(--background-tertiary);
1095
+ .active\:pd-bg-\[var\(--pd-background-low-on-hover\)\]:active {
1096
+ background-color: var(--pd-background-low-on-hover);
1627
1097
  }
1628
-
1629
- .disabled\:text-\[var\(--content-subtle\)\]:disabled {
1630
- color: var(--content-subtle);
1098
+ .active\:pd-bg-\[var\(--pd-intent-danger-bg-active\)\]:active {
1099
+ background-color: var(--pd-intent-danger-bg-active);
1631
1100
  }
1632
-
1633
- .disabled\:opacity-50:disabled { opacity: 0.5;
1101
+ .active\:pd-bg-\[var\(--pd-intent-neutral-bg-active\)\]:active {
1102
+ background-color: var(--pd-intent-neutral-bg-active);
1634
1103
  }
1635
-
1636
- .group:hover .group-hover\:scale-105 {
1637
- --tw-scale-x: 1.05;
1638
- --tw-scale-y: 1.05;
1639
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1104
+ .active\:pd-bg-\[var\(--pd-intent-success-bg-active\)\]:active {
1105
+ background-color: var(--pd-intent-success-bg-active);
1640
1106
  }
1641
-
1642
- @media (min-width: 768px) {
1643
-
1644
- .md\:grid-cols-2 {
1645
- grid-template-columns: repeat(2, minmax(0, 1fr));
1646
- }
1107
+ .active\:pd-bg-\[var\(--pd-intent-warning-bg-active\)\]:active {
1108
+ background-color: var(--pd-intent-warning-bg-active);
1647
1109
  }
1648
-
1649
- @media (min-width: 1024px) {
1650
-
1651
- .lg\:grid-cols-2 {
1652
- grid-template-columns: repeat(2, minmax(0, 1fr));
1653
- }
1654
-
1655
- .lg\:grid-cols-3 {
1656
- grid-template-columns: repeat(3, minmax(0, 1fr));
1657
- }
1110
+ .active\:pd-text-\[var\(--pd-content-primary\)\]:active {
1111
+ color: var(--pd-content-primary);
1658
1112
  }