@classic-homes/theme-styles 0.8.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1967 @@
1
+ /*
2
+ * @classic-homes/theme-styles/components.css
3
+ * Generated from @classic-homes/theme-tokens/recipes by scripts/components-css.mjs.
4
+ * Do not edit. Load @classic-homes/theme-tokens/css first; toggle .dark on <html>.
5
+ */
6
+
7
+ *, ::before, ::after {
8
+ --tw-border-spacing-x: 0;
9
+ --tw-border-spacing-y: 0;
10
+ --tw-translate-x: 0;
11
+ --tw-translate-y: 0;
12
+ --tw-rotate: 0;
13
+ --tw-skew-x: 0;
14
+ --tw-skew-y: 0;
15
+ --tw-scale-x: 1;
16
+ --tw-scale-y: 1;
17
+ --tw-pan-x: ;
18
+ --tw-pan-y: ;
19
+ --tw-pinch-zoom: ;
20
+ --tw-scroll-snap-strictness: proximity;
21
+ --tw-gradient-from-position: ;
22
+ --tw-gradient-via-position: ;
23
+ --tw-gradient-to-position: ;
24
+ --tw-ordinal: ;
25
+ --tw-slashed-zero: ;
26
+ --tw-numeric-figure: ;
27
+ --tw-numeric-spacing: ;
28
+ --tw-numeric-fraction: ;
29
+ --tw-ring-inset: ;
30
+ --tw-ring-offset-width: 0px;
31
+ --tw-ring-offset-color: #fff;
32
+ --tw-ring-color: rgb(59 130 246 / 0.5);
33
+ --tw-ring-offset-shadow: 0 0 #0000;
34
+ --tw-ring-shadow: 0 0 #0000;
35
+ --tw-shadow: 0 0 #0000;
36
+ --tw-shadow-colored: 0 0 #0000;
37
+ --tw-blur: ;
38
+ --tw-brightness: ;
39
+ --tw-contrast: ;
40
+ --tw-grayscale: ;
41
+ --tw-hue-rotate: ;
42
+ --tw-invert: ;
43
+ --tw-saturate: ;
44
+ --tw-sepia: ;
45
+ --tw-drop-shadow: ;
46
+ --tw-backdrop-blur: ;
47
+ --tw-backdrop-brightness: ;
48
+ --tw-backdrop-contrast: ;
49
+ --tw-backdrop-grayscale: ;
50
+ --tw-backdrop-hue-rotate: ;
51
+ --tw-backdrop-invert: ;
52
+ --tw-backdrop-opacity: ;
53
+ --tw-backdrop-saturate: ;
54
+ --tw-backdrop-sepia: ;
55
+ --tw-contain-size: ;
56
+ --tw-contain-layout: ;
57
+ --tw-contain-paint: ;
58
+ --tw-contain-style:
59
+ }
60
+ ::backdrop {
61
+ --tw-border-spacing-x: 0;
62
+ --tw-border-spacing-y: 0;
63
+ --tw-translate-x: 0;
64
+ --tw-translate-y: 0;
65
+ --tw-rotate: 0;
66
+ --tw-skew-x: 0;
67
+ --tw-skew-y: 0;
68
+ --tw-scale-x: 1;
69
+ --tw-scale-y: 1;
70
+ --tw-pan-x: ;
71
+ --tw-pan-y: ;
72
+ --tw-pinch-zoom: ;
73
+ --tw-scroll-snap-strictness: proximity;
74
+ --tw-gradient-from-position: ;
75
+ --tw-gradient-via-position: ;
76
+ --tw-gradient-to-position: ;
77
+ --tw-ordinal: ;
78
+ --tw-slashed-zero: ;
79
+ --tw-numeric-figure: ;
80
+ --tw-numeric-spacing: ;
81
+ --tw-numeric-fraction: ;
82
+ --tw-ring-inset: ;
83
+ --tw-ring-offset-width: 0px;
84
+ --tw-ring-offset-color: #fff;
85
+ --tw-ring-color: rgb(59 130 246 / 0.5);
86
+ --tw-ring-offset-shadow: 0 0 #0000;
87
+ --tw-ring-shadow: 0 0 #0000;
88
+ --tw-shadow: 0 0 #0000;
89
+ --tw-shadow-colored: 0 0 #0000;
90
+ --tw-blur: ;
91
+ --tw-brightness: ;
92
+ --tw-contrast: ;
93
+ --tw-grayscale: ;
94
+ --tw-hue-rotate: ;
95
+ --tw-invert: ;
96
+ --tw-saturate: ;
97
+ --tw-sepia: ;
98
+ --tw-drop-shadow: ;
99
+ --tw-backdrop-blur: ;
100
+ --tw-backdrop-brightness: ;
101
+ --tw-backdrop-contrast: ;
102
+ --tw-backdrop-grayscale: ;
103
+ --tw-backdrop-hue-rotate: ;
104
+ --tw-backdrop-invert: ;
105
+ --tw-backdrop-opacity: ;
106
+ --tw-backdrop-saturate: ;
107
+ --tw-backdrop-sepia: ;
108
+ --tw-contain-size: ;
109
+ --tw-contain-layout: ;
110
+ --tw-contain-paint: ;
111
+ --tw-contain-style:
112
+ }
113
+
114
+ :where([class^='ch-'], [class*=' ch-'], .ch-table-body > *),
115
+ :where([class^='ch-'], [class*=' ch-'])::before,
116
+ :where([class^='ch-'], [class*=' ch-'])::after {
117
+ box-sizing: border-box;
118
+ border-width: 0;
119
+ border-style: solid;
120
+ border-color: #e5e7eb;
121
+ }
122
+ :where(button, input, select, textarea):where([class^='ch-'], [class*=' ch-']) {
123
+ font-family: inherit;
124
+ font-feature-settings: inherit;
125
+ font-variation-settings: inherit;
126
+ font-size: 100%;
127
+ font-weight: inherit;
128
+ line-height: inherit;
129
+ letter-spacing: inherit;
130
+ color: inherit;
131
+ margin: 0;
132
+ padding: 0;
133
+ text-transform: none;
134
+ }
135
+ :where(button):where([class^='ch-'], [class*=' ch-']) {
136
+ -webkit-appearance: button;
137
+ background-color: transparent;
138
+ background-image: none;
139
+ cursor: pointer;
140
+ }
141
+ :where(button):where([class^='ch-'], [class*=' ch-']):disabled {
142
+ cursor: default;
143
+ }
144
+ :where(table.ch-table) {
145
+ text-indent: 0;
146
+ border-color: inherit;
147
+ border-collapse: collapse;
148
+ }
149
+ :where([class^='ch-'], [class*=' ch-']) > :where(svg) {
150
+ display: block;
151
+ vertical-align: middle;
152
+ }
153
+ /* button */
154
+ .ch-btn {
155
+ display: inline-flex;
156
+ align-items: center;
157
+ justify-content: center;
158
+ gap: 0.5rem;
159
+ white-space: nowrap;
160
+ border-radius: 0.75rem;
161
+ font-size: 0.875rem;
162
+ line-height: 1.25rem;
163
+ font-weight: 500;
164
+ --tw-ring-offset-color: hsl(var(--background));
165
+ }
166
+ .ch-btn:focus-visible {
167
+ outline: 2px solid transparent;
168
+ outline-offset: 2px;
169
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
170
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
171
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
172
+ --tw-ring-color: hsl(var(--ring));
173
+ --tw-ring-offset-width: 2px;
174
+ }
175
+ .ch-btn:disabled {
176
+ pointer-events: none;
177
+ opacity: 0.5;
178
+ }
179
+ .ch-btn[aria-disabled="true"] {
180
+ pointer-events: none;
181
+ opacity: 0.5;
182
+ }
183
+ .ch-btn:where(:not(.ch-btn-secondary, .ch-btn-destructive, .ch-btn-outline, .ch-btn-ghost, .ch-btn-link)) {
184
+ background-color: hsl(var(--primary));
185
+ color: hsl(var(--primary-foreground));
186
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
187
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
188
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
189
+ }
190
+ @media (hover: hover) and (pointer: fine) {
191
+ .ch-btn:where(:not(.ch-btn-secondary, .ch-btn-destructive, .ch-btn-outline, .ch-btn-ghost, .ch-btn-link)):hover {
192
+ background-color: hsl(var(--primary-hover));
193
+ }
194
+ }
195
+ .ch-btn-secondary {
196
+ border-width: 2px;
197
+ border-color: hsl(var(--secondary-border));
198
+ background-color: hsl(var(--secondary));
199
+ color: hsl(var(--secondary-foreground));
200
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
201
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
202
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
203
+ }
204
+ @media (hover: hover) and (pointer: fine) {
205
+ .ch-btn-secondary:hover {
206
+ background-color: hsl(var(--secondary-hover));
207
+ }
208
+ }
209
+ .ch-btn-destructive {
210
+ background-color: hsl(var(--destructive));
211
+ color: hsl(var(--destructive-foreground));
212
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
213
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
214
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
215
+ }
216
+ @media (hover: hover) and (pointer: fine) {
217
+ .ch-btn-destructive:hover {
218
+ background-color: hsl(var(--destructive-hover));
219
+ }
220
+ }
221
+ .ch-btn-destructive:focus-visible {
222
+ --tw-ring-color: hsl(var(--destructive));
223
+ }
224
+ .ch-btn-outline {
225
+ border-width: 2px;
226
+ border-color: hsl(var(--outline));
227
+ background-color: transparent;
228
+ color: hsl(var(--foreground));
229
+ }
230
+ @media (hover: hover) and (pointer: fine) {
231
+ .ch-btn-outline:hover {
232
+ border-color: hsl(var(--outline-hover));
233
+ background-color: hsl(var(--primary));
234
+ color: hsl(var(--primary-foreground));
235
+ }
236
+ .ch-btn-ghost:hover {
237
+ background-color: hsl(var(--muted-hover));
238
+ color: hsl(var(--foreground));
239
+ }
240
+ }
241
+ .ch-btn-link {
242
+ color: hsl(var(--primary));
243
+ text-underline-offset: 4px;
244
+ }
245
+ @media (hover: hover) and (pointer: fine) {
246
+ .ch-btn-link:hover {
247
+ text-decoration-line: underline;
248
+ }
249
+ }
250
+ .ch-btn:where(:not(.ch-btn-sm, .ch-btn-md, .ch-btn-lg, .ch-btn-icon)) {
251
+ height: 2.5rem;
252
+ padding-left: 1rem;
253
+ padding-right: 1rem;
254
+ padding-top: 0.5rem;
255
+ padding-bottom: 0.5rem;
256
+ }
257
+ .ch-btn-sm {
258
+ height: 2.25rem;
259
+ border-radius: 0.5rem;
260
+ padding-left: 0.75rem;
261
+ padding-right: 0.75rem;
262
+ font-size: 0.875rem;
263
+ line-height: 1.25rem;
264
+ }
265
+ .ch-btn-md {
266
+ height: 2.5rem;
267
+ padding-left: 1rem;
268
+ padding-right: 1rem;
269
+ padding-top: 0.5rem;
270
+ padding-bottom: 0.5rem;
271
+ }
272
+ .ch-btn-lg {
273
+ height: 2.75rem;
274
+ border-radius: 0.5rem;
275
+ padding-left: 2rem;
276
+ padding-right: 2rem;
277
+ }
278
+ .ch-btn-icon {
279
+ height: 2.5rem;
280
+ width: 2.5rem;
281
+ }
282
+ /* badge */
283
+ .ch-badge {
284
+ display: inline-flex;
285
+ width: fit-content;
286
+ flex-shrink: 0;
287
+ align-items: center;
288
+ justify-content: center;
289
+ gap: 0.25rem;
290
+ white-space: nowrap;
291
+ border-radius: 0.5rem;
292
+ border-width: 1px;
293
+ font-weight: 500;
294
+ }
295
+ .ch-badge:where(:not(.ch-badge-secondary, .ch-badge-destructive, .ch-badge-outline, .ch-badge-success, .ch-badge-warning, .ch-badge-info)) {
296
+ border-color: transparent;
297
+ background-color: hsl(var(--primary));
298
+ color: hsl(var(--primary-foreground));
299
+ }
300
+ .ch-badge-secondary {
301
+ border-color: transparent;
302
+ background-color: hsl(var(--secondary));
303
+ color: hsl(var(--secondary-foreground));
304
+ }
305
+ .ch-badge-destructive {
306
+ border-color: transparent;
307
+ background-color: hsl(var(--destructive));
308
+ color: hsl(var(--destructive-foreground));
309
+ }
310
+ .ch-badge-outline {
311
+ color: hsl(var(--foreground));
312
+ }
313
+ .ch-badge-success {
314
+ border-color: transparent;
315
+ background-color: hsl(var(--success));
316
+ color: hsl(var(--success-foreground));
317
+ }
318
+ .ch-badge-warning {
319
+ border-color: transparent;
320
+ background-color: hsl(var(--warning));
321
+ color: hsl(var(--warning-foreground));
322
+ }
323
+ .ch-badge-info {
324
+ border-color: transparent;
325
+ background-color: hsl(var(--info));
326
+ color: hsl(var(--info-foreground));
327
+ }
328
+ .ch-badge:where(:not(.ch-badge-sm, .ch-badge-dot)) {
329
+ padding-left: 0.5rem;
330
+ padding-right: 0.5rem;
331
+ padding-top: 0.125rem;
332
+ padding-bottom: 0.125rem;
333
+ font-size: 0.75rem;
334
+ line-height: 1rem;
335
+ }
336
+ .ch-badge-sm {
337
+ padding-left: 0.375rem;
338
+ padding-right: 0.375rem;
339
+ padding-top: 0.125rem;
340
+ padding-bottom: 0.125rem;
341
+ font-size: 0.75rem;
342
+ line-height: 1rem;
343
+ }
344
+ .ch-badge-dot {
345
+ height: 1.25rem;
346
+ width: 1.25rem;
347
+ padding: 0;
348
+ font-size: 0.75rem;
349
+ line-height: 1rem;
350
+ }
351
+ .ch-badge-clickable {
352
+ cursor: pointer;
353
+ }
354
+ .ch-badge-clickable:focus {
355
+ outline: 2px solid transparent;
356
+ outline-offset: 2px;
357
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
358
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
359
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
360
+ --tw-ring-color: hsl(var(--ring));
361
+ --tw-ring-offset-width: 2px;
362
+ }
363
+ @media (hover: hover) and (pointer: fine) {
364
+ .ch-badge:where(:not(.ch-badge-secondary, .ch-badge-destructive, .ch-badge-outline, .ch-badge-success, .ch-badge-warning, .ch-badge-info)).ch-badge-clickable:hover {
365
+ background-color: hsl(var(--primary-hover));
366
+ }
367
+ .ch-badge.ch-badge-secondary.ch-badge-clickable:hover {
368
+ background-color: hsl(var(--secondary-hover));
369
+ }
370
+ .ch-badge.ch-badge-destructive.ch-badge-clickable:hover {
371
+ background-color: hsl(var(--destructive-hover));
372
+ }
373
+ .ch-badge.ch-badge-outline.ch-badge-clickable:hover {
374
+ background-color: hsl(var(--accent-hover));
375
+ color: hsl(var(--accent-foreground));
376
+ }
377
+ .ch-badge.ch-badge-success.ch-badge-clickable:hover {
378
+ background-color: hsl(var(--success) / 0.8);
379
+ }
380
+ .ch-badge.ch-badge-warning.ch-badge-clickable:hover {
381
+ background-color: hsl(var(--warning) / 0.8);
382
+ }
383
+ .ch-badge.ch-badge-info.ch-badge-clickable:hover {
384
+ background-color: hsl(var(--info) / 0.8);
385
+ }
386
+ }
387
+ /* card */
388
+ .ch-card {
389
+ border-radius: 0.5rem;
390
+ background-color: hsl(var(--card));
391
+ color: hsl(var(--card-foreground));
392
+ }
393
+ .ch-card:where(:not(.ch-card-border-primary, .ch-card-border-muted)) {
394
+ border-color: hsl(var(--border));
395
+ }
396
+ .ch-card-border-primary {
397
+ border-color: hsl(var(--primary));
398
+ }
399
+ .ch-card-border-muted {
400
+ --tw-border-opacity: 1;
401
+ border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
402
+ }
403
+ .ch-card:where(:not(.ch-card-featured, .ch-card-highlight, .ch-card-warning)) {
404
+ border-width: 1px;
405
+ }
406
+ .ch-card-featured {
407
+ border-width: 2px;
408
+ }
409
+ .ch-card-highlight {
410
+ border-width: 2px;
411
+ border-color: var(--color-core-1);
412
+ }
413
+ .ch-card-warning {
414
+ border-width: 2px;
415
+ border-color: var(--color-red-primary);
416
+ }
417
+ .ch-card-interactive {
418
+ transition-property: box-shadow;
419
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
420
+ transition-duration: 200ms;
421
+ }
422
+ @media (hover: hover) and (pointer: fine) {
423
+ .ch-card-interactive:hover {
424
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
425
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
426
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
427
+ }
428
+ }
429
+ /* cardHeader */
430
+ .ch-card-header {
431
+ display: flex;
432
+ flex-direction: column;
433
+ }
434
+ .ch-card-header > :not([hidden]) ~ :not([hidden]) {
435
+ --tw-space-y-reverse: 0;
436
+ margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
437
+ margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
438
+ }
439
+ .ch-card-header:where(:not(.ch-card-header-compact, .ch-card-header-bordered, .ch-card-header-shaded)) {
440
+ padding: 1.5rem;
441
+ }
442
+ .ch-card-header-compact {
443
+ padding: 1rem;
444
+ }
445
+ .ch-card-header-bordered {
446
+ border-bottom-width: 1px;
447
+ padding: 1.5rem;
448
+ }
449
+ .ch-card-header-shaded {
450
+ background-color: hsl(var(--muted) / 0.5);
451
+ padding: 1.5rem;
452
+ }
453
+ /* cardTitle */
454
+ .ch-card-title {
455
+ font-size: 1.5rem;
456
+ line-height: 2rem;
457
+ font-weight: 600;
458
+ line-height: 1;
459
+ letter-spacing: -0.025em;
460
+ overflow-wrap: anywhere;
461
+ }
462
+ /* cardDescription */
463
+ .ch-card-description {
464
+ font-size: 0.875rem;
465
+ line-height: 1.25rem;
466
+ color: hsl(var(--muted-foreground));
467
+ }
468
+ /* cardContent */
469
+ .ch-card-content {
470
+ padding: 1.5rem;
471
+ padding-top: 0;
472
+ }
473
+ /* cardFooter */
474
+ .ch-card-footer {
475
+ display: flex;
476
+ align-items: center;
477
+ padding: 1.5rem;
478
+ padding-top: 0;
479
+ }
480
+ /* alert */
481
+ .ch-alert {
482
+ position: relative;
483
+ width: 100%;
484
+ border-radius: 0.75rem;
485
+ border-width: 1px;
486
+ padding: 1rem;
487
+ }
488
+ .ch-alert>svg+div {
489
+ --tw-translate-y: -3px;
490
+ 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));
491
+ }
492
+ .ch-alert>svg {
493
+ position: absolute;
494
+ left: 1rem;
495
+ top: 1rem;
496
+ color: hsl(var(--foreground));
497
+ }
498
+ .ch-alert>svg~* {
499
+ padding-left: 1.75rem;
500
+ }
501
+ .ch-alert:where(:not(.ch-alert-destructive, .ch-alert-error, .ch-alert-success, .ch-alert-warning, .ch-alert-info)) {
502
+ border-color: hsl(var(--border));
503
+ background-color: hsl(var(--muted) / 0.5);
504
+ color: hsl(var(--foreground));
505
+ }
506
+ .ch-alert-destructive {
507
+ border-color: hsl(var(--destructive) / 0.4);
508
+ background-color: hsl(var(--destructive) / 0.1);
509
+ color: hsl(var(--foreground));
510
+ }
511
+ .ch-alert-destructive>svg {
512
+ color: hsl(var(--destructive));
513
+ }
514
+ .ch-alert-error {
515
+ border-color: hsl(var(--destructive) / 0.4);
516
+ background-color: hsl(var(--destructive) / 0.1);
517
+ color: hsl(var(--foreground));
518
+ }
519
+ .ch-alert-error>svg {
520
+ color: hsl(var(--destructive));
521
+ }
522
+ .ch-alert-success {
523
+ border-color: hsl(var(--success) / 0.4);
524
+ background-color: hsl(var(--success) / 0.1);
525
+ color: hsl(var(--foreground));
526
+ }
527
+ .ch-alert-success>svg {
528
+ color: hsl(var(--success));
529
+ }
530
+ .ch-alert-warning {
531
+ border-color: hsl(var(--warning) / 0.4);
532
+ background-color: hsl(var(--warning) / 0.1);
533
+ color: hsl(var(--foreground));
534
+ }
535
+ .ch-alert-warning>svg {
536
+ color: hsl(var(--warning));
537
+ }
538
+ .ch-alert-info {
539
+ border-color: hsl(var(--info) / 0.4);
540
+ background-color: hsl(var(--info) / 0.1);
541
+ color: hsl(var(--foreground));
542
+ }
543
+ .ch-alert-info>svg {
544
+ color: hsl(var(--info));
545
+ }
546
+ /* alertTitle */
547
+ .ch-alert-title {
548
+ margin-bottom: 0.25rem;
549
+ font-weight: 500;
550
+ line-height: 1;
551
+ letter-spacing: -0.025em;
552
+ }
553
+ /* alertDescription */
554
+ .ch-alert-description {
555
+ font-size: 0.875rem;
556
+ line-height: 1.25rem;
557
+ }
558
+ .ch-alert-description p {
559
+ line-height: 1.625;
560
+ }
561
+ /* input */
562
+ .ch-input {
563
+ display: flex;
564
+ height: 2.5rem;
565
+ width: 100%;
566
+ border-radius: 0.5rem;
567
+ border-width: 1px;
568
+ border-color: hsl(var(--input));
569
+ background-color: hsl(var(--background));
570
+ padding-left: 0.75rem;
571
+ padding-right: 0.75rem;
572
+ padding-top: 0.5rem;
573
+ padding-bottom: 0.5rem;
574
+ font-size: 1rem;
575
+ line-height: 1.5rem;
576
+ color: hsl(var(--foreground));
577
+ --tw-ring-offset-color: hsl(var(--background));
578
+ }
579
+ .ch-input::file-selector-button {
580
+ border-width: 0px;
581
+ background-color: transparent;
582
+ font-size: 0.875rem;
583
+ line-height: 1.25rem;
584
+ font-weight: 500;
585
+ }
586
+ .ch-input::placeholder {
587
+ color: hsl(var(--muted-foreground));
588
+ }
589
+ .ch-input:focus-visible {
590
+ outline: 2px solid transparent;
591
+ outline-offset: 2px;
592
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
593
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
594
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
595
+ --tw-ring-color: hsl(var(--ring));
596
+ --tw-ring-offset-width: 2px;
597
+ }
598
+ .ch-input:disabled {
599
+ cursor: not-allowed;
600
+ opacity: 0.5;
601
+ }
602
+ @media (min-width: 640px) {
603
+ .ch-input {
604
+ font-size: 0.875rem;
605
+ line-height: 1.25rem;
606
+ }
607
+ }
608
+ .ch-input-invalid {
609
+ border-color: hsl(var(--destructive));
610
+ }
611
+ .ch-input-invalid:focus-visible {
612
+ --tw-ring-color: hsl(var(--destructive));
613
+ }
614
+ /* textarea */
615
+ .ch-textarea {
616
+ display: flex;
617
+ min-height: 80px;
618
+ width: 100%;
619
+ resize: vertical;
620
+ border-radius: 0.5rem;
621
+ border-width: 1px;
622
+ border-color: hsl(var(--input));
623
+ background-color: hsl(var(--background));
624
+ padding-left: 0.75rem;
625
+ padding-right: 0.75rem;
626
+ padding-top: 0.5rem;
627
+ padding-bottom: 0.5rem;
628
+ font-size: 1rem;
629
+ line-height: 1.5rem;
630
+ color: hsl(var(--foreground));
631
+ --tw-ring-offset-color: hsl(var(--background));
632
+ }
633
+ .ch-textarea::placeholder {
634
+ --tw-text-opacity: 1;
635
+ color: rgb(122 122 122 / var(--tw-text-opacity, 1));
636
+ }
637
+ .ch-textarea:focus-visible {
638
+ outline: 2px solid transparent;
639
+ outline-offset: 2px;
640
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
641
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
642
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
643
+ --tw-ring-color: hsl(var(--ring));
644
+ --tw-ring-offset-width: 2px;
645
+ }
646
+ .ch-textarea:disabled {
647
+ cursor: not-allowed;
648
+ opacity: 0.5;
649
+ }
650
+ .ch-textarea:is(.dark *)::placeholder {
651
+ --tw-text-opacity: 1;
652
+ color: rgb(156 163 175 / var(--tw-text-opacity, 1));
653
+ }
654
+ @media (min-width: 640px) {
655
+ .ch-textarea {
656
+ font-size: 0.875rem;
657
+ line-height: 1.25rem;
658
+ }
659
+ }
660
+ .ch-textarea-invalid {
661
+ border-color: hsl(var(--destructive));
662
+ }
663
+ .ch-textarea-invalid:focus-visible {
664
+ --tw-ring-color: hsl(var(--destructive));
665
+ }
666
+ /* label */
667
+ .ch-label {
668
+ font-size: 0.875rem;
669
+ line-height: 1.25rem;
670
+ font-weight: 500;
671
+ line-height: 1;
672
+ color: hsl(var(--label-foreground,var(--foreground)));
673
+ }
674
+ .peer:disabled ~ .ch-label {
675
+ cursor: not-allowed;
676
+ opacity: 0.7;
677
+ }
678
+ .ch-label-disabled {
679
+ cursor: not-allowed;
680
+ opacity: 0.5;
681
+ }
682
+ /* selectTrigger */
683
+ .ch-select {
684
+ display: flex;
685
+ height: 2.5rem;
686
+ width: 100%;
687
+ align-items: center;
688
+ justify-content: space-between;
689
+ border-radius: 0.5rem;
690
+ border-width: 1px;
691
+ border-color: hsl(var(--input));
692
+ background-color: hsl(var(--background));
693
+ padding-left: 0.75rem;
694
+ padding-right: 0.75rem;
695
+ padding-top: 0.5rem;
696
+ padding-bottom: 0.5rem;
697
+ font-size: 0.875rem;
698
+ line-height: 1.25rem;
699
+ color: hsl(var(--foreground));
700
+ --tw-ring-offset-color: hsl(var(--background));
701
+ }
702
+ .ch-select::placeholder {
703
+ color: hsl(var(--muted-foreground));
704
+ }
705
+ .ch-select:focus {
706
+ outline: 2px solid transparent;
707
+ outline-offset: 2px;
708
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
709
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
710
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
711
+ --tw-ring-color: hsl(var(--ring));
712
+ --tw-ring-offset-width: 2px;
713
+ }
714
+ .ch-select:disabled {
715
+ cursor: not-allowed;
716
+ opacity: 0.5;
717
+ }
718
+ .ch-select>span {
719
+ overflow: hidden;
720
+ display: -webkit-box;
721
+ -webkit-box-orient: vertical;
722
+ -webkit-line-clamp: 1;
723
+ }
724
+ .ch-select-invalid {
725
+ border-color: hsl(var(--destructive));
726
+ }
727
+ .ch-select-invalid:focus {
728
+ --tw-ring-color: hsl(var(--destructive));
729
+ }
730
+ /* selectContent */
731
+ .ch-select-content {
732
+ position: relative;
733
+ isolation: isolate;
734
+ z-index: 70;
735
+ max-width: calc(100vw - 1rem);
736
+ overflow: hidden;
737
+ border-radius: 0.5rem;
738
+ border-width: 1px;
739
+ border-color: hsl(var(--border));
740
+ background-color: hsl(var(--popover));
741
+ color: hsl(var(--popover-foreground));
742
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
743
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
744
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
745
+ }
746
+ /* selectItem */
747
+ .ch-select-item {
748
+ position: relative;
749
+ display: flex;
750
+ width: 100%;
751
+ cursor: pointer;
752
+ user-select: none;
753
+ align-items: center;
754
+ border-radius: 0.125rem;
755
+ padding-top: 0.375rem;
756
+ padding-bottom: 0.375rem;
757
+ padding-left: 2rem;
758
+ padding-right: 0.5rem;
759
+ font-size: 0.875rem;
760
+ line-height: 1.25rem;
761
+ outline: 2px solid transparent;
762
+ outline-offset: 2px;
763
+ }
764
+ .ch-select-item[data-disabled] {
765
+ pointer-events: none;
766
+ cursor: default;
767
+ }
768
+ .ch-select-item[data-highlighted] {
769
+ background-color: hsl(var(--accent));
770
+ color: hsl(var(--accent-foreground));
771
+ }
772
+ .ch-select-item[data-disabled] {
773
+ opacity: 0.5;
774
+ }
775
+ /* checkbox */
776
+ .ch-checkbox {
777
+ position: relative;
778
+ margin-top: 0.125rem;
779
+ display: flex;
780
+ height: 1.25rem;
781
+ width: 1.25rem;
782
+ flex-shrink: 0;
783
+ align-items: center;
784
+ justify-content: center;
785
+ border-radius: 0.125rem;
786
+ border-width: 1px;
787
+ --tw-ring-offset-color: hsl(var(--background));
788
+ }
789
+ .ch-checkbox:focus-visible {
790
+ outline: 2px solid transparent;
791
+ outline-offset: 2px;
792
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
793
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
794
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
795
+ --tw-ring-color: hsl(var(--ring));
796
+ --tw-ring-offset-width: 2px;
797
+ }
798
+ .ch-checkbox:disabled {
799
+ cursor: not-allowed;
800
+ opacity: 0.5;
801
+ }
802
+ .ch-checkbox[data-state="checked"] {
803
+ background-color: hsl(var(--primary));
804
+ color: hsl(var(--primary-foreground));
805
+ }
806
+ .ch-checkbox-invalid {
807
+ border-color: hsl(var(--destructive));
808
+ }
809
+ .ch-checkbox:where(:not(.ch-checkbox-invalid)) {
810
+ border-color: hsl(var(--primary));
811
+ }
812
+ /* switchRoot */
813
+ .ch-switch {
814
+ position: relative;
815
+ display: inline-flex;
816
+ height: 1.75rem;
817
+ width: 3rem;
818
+ flex-shrink: 0;
819
+ cursor: pointer;
820
+ align-items: center;
821
+ border-radius: 9999px;
822
+ border-width: 2px;
823
+ border-color: transparent;
824
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
825
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
826
+ transition-duration: 150ms;
827
+ }
828
+ .ch-switch:focus-visible {
829
+ outline: 2px solid transparent;
830
+ outline-offset: 2px;
831
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
832
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
833
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
834
+ --tw-ring-color: hsl(var(--ring));
835
+ --tw-ring-offset-width: 2px;
836
+ --tw-ring-offset-color: hsl(var(--background));
837
+ }
838
+ .ch-switch:disabled {
839
+ cursor: not-allowed;
840
+ opacity: 0.5;
841
+ }
842
+ .ch-switch[data-state="checked"] {
843
+ background-color: hsl(var(--primary));
844
+ }
845
+ .ch-switch[data-state="unchecked"] {
846
+ background-color: hsl(var(--input));
847
+ }
848
+ /* switchThumb */
849
+ .ch-switch-thumb {
850
+ pointer-events: none;
851
+ display: block;
852
+ height: 1.25rem;
853
+ width: 1.25rem;
854
+ border-radius: 9999px;
855
+ background-color: hsl(var(--background));
856
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
857
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
858
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
859
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
860
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
861
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
862
+ transition-property: transform;
863
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
864
+ transition-duration: 150ms;
865
+ }
866
+ .ch-switch-thumb[data-state="checked"] {
867
+ --tw-translate-x: 22px;
868
+ 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));
869
+ }
870
+ .ch-switch-thumb[data-state="unchecked"] {
871
+ --tw-translate-x: 0.125rem;
872
+ 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));
873
+ }
874
+ /* tabsList */
875
+ .ch-tabs {
876
+ display: inline-flex;
877
+ align-items: center;
878
+ border-radius: 0.5rem;
879
+ background-color: hsl(var(--muted));
880
+ padding: 0.25rem;
881
+ color: hsl(var(--muted-foreground));
882
+ }
883
+ /* tabsTrigger */
884
+ .ch-tab {
885
+ display: inline-flex;
886
+ align-items: center;
887
+ justify-content: center;
888
+ white-space: nowrap;
889
+ border-radius: 0.125rem;
890
+ padding-left: 0.75rem;
891
+ padding-right: 0.75rem;
892
+ padding-top: 0.375rem;
893
+ padding-bottom: 0.375rem;
894
+ font-size: 0.875rem;
895
+ line-height: 1.25rem;
896
+ font-weight: 500;
897
+ --tw-ring-offset-color: hsl(var(--background));
898
+ }
899
+ .ch-tab:focus-visible {
900
+ outline: 2px solid transparent;
901
+ outline-offset: 2px;
902
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
903
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
904
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
905
+ --tw-ring-color: hsl(var(--ring));
906
+ --tw-ring-offset-width: 2px;
907
+ }
908
+ .ch-tab-active {
909
+ background-color: hsl(var(--background));
910
+ color: hsl(var(--foreground));
911
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
912
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
913
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
914
+ }
915
+ @media (hover: hover) and (pointer: fine) {
916
+ .ch-tab:where(:not(.ch-tab-active)):hover {
917
+ background-color: hsl(var(--background-hover));
918
+ color: hsl(var(--foreground));
919
+ }
920
+ }
921
+ .ch-tab-disabled {
922
+ pointer-events: none;
923
+ cursor: not-allowed;
924
+ opacity: 0.5;
925
+ }
926
+ /* tabsPanel */
927
+ .ch-tab-panel {
928
+ margin-top: 0.5rem;
929
+ --tw-ring-offset-color: hsl(var(--background));
930
+ }
931
+ .ch-tab-panel:focus-visible {
932
+ outline: 2px solid transparent;
933
+ outline-offset: 2px;
934
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
935
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
936
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
937
+ --tw-ring-color: hsl(var(--ring));
938
+ --tw-ring-offset-width: 2px;
939
+ }
940
+ /* avatar */
941
+ .ch-avatar {
942
+ position: relative;
943
+ display: flex;
944
+ flex-shrink: 0;
945
+ overflow: hidden;
946
+ border-radius: 9999px;
947
+ }
948
+ .ch-avatar-xs {
949
+ height: 1.5rem;
950
+ width: 1.5rem;
951
+ }
952
+ .ch-avatar-sm {
953
+ height: 2rem;
954
+ width: 2rem;
955
+ }
956
+ .ch-avatar:where(:not(.ch-avatar-xs, .ch-avatar-sm, .ch-avatar-lg, .ch-avatar-xl)) {
957
+ height: 2.5rem;
958
+ width: 2.5rem;
959
+ }
960
+ .ch-avatar-md {
961
+ height: 2.5rem;
962
+ width: 2.5rem;
963
+ }
964
+ .ch-avatar-lg {
965
+ height: 3rem;
966
+ width: 3rem;
967
+ }
968
+ .ch-avatar-xl {
969
+ height: 4rem;
970
+ width: 4rem;
971
+ }
972
+ /* avatarImage */
973
+ .ch-avatar-image {
974
+ aspect-ratio: 1 / 1;
975
+ height: 100%;
976
+ width: 100%;
977
+ object-fit: cover;
978
+ }
979
+ /* avatarFallback */
980
+ .ch-avatar-fallback {
981
+ display: flex;
982
+ height: 100%;
983
+ width: 100%;
984
+ align-items: center;
985
+ justify-content: center;
986
+ border-radius: 9999px;
987
+ background-color: hsl(var(--primary) / 0.2);
988
+ font-size: 0.875rem;
989
+ line-height: 1.25rem;
990
+ font-weight: 500;
991
+ }
992
+ /* progress */
993
+ .ch-progress {
994
+ width: 100%;
995
+ overflow: hidden;
996
+ border-radius: 9999px;
997
+ background-color: hsl(var(--muted));
998
+ }
999
+ .ch-progress-sm {
1000
+ height: 0.25rem;
1001
+ }
1002
+ .ch-progress:where(:not(.ch-progress-sm, .ch-progress-lg)) {
1003
+ height: 0.5rem;
1004
+ }
1005
+ .ch-progress-md {
1006
+ height: 0.5rem;
1007
+ }
1008
+ .ch-progress-lg {
1009
+ height: 0.75rem;
1010
+ }
1011
+ /* progressFill */
1012
+ .ch-progress-fill {
1013
+ height: 100%;
1014
+ border-radius: 9999px;
1015
+ transition-property: all;
1016
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1017
+ transition-duration: 300ms;
1018
+ }
1019
+ .ch-progress-fill:where(:not(.ch-progress-fill-success, .ch-progress-fill-warning, .ch-progress-fill-destructive)) {
1020
+ background-color: hsl(var(--primary));
1021
+ }
1022
+ .ch-progress-fill-success {
1023
+ background-color: hsl(var(--success));
1024
+ }
1025
+ .ch-progress-fill-warning {
1026
+ background-color: hsl(var(--warning));
1027
+ }
1028
+ .ch-progress-fill-destructive {
1029
+ background-color: hsl(var(--destructive));
1030
+ }
1031
+ .ch-progress-fill-indeterminate {
1032
+ width: 25%;
1033
+ }
1034
+ @keyframes progress-indeterminate {
1035
+ 0% {
1036
+ transform: translateX(-100%);
1037
+ }
1038
+ 100% {
1039
+ transform: translateX(400%);
1040
+ }
1041
+ }
1042
+ .ch-progress-fill-indeterminate {
1043
+ animation: progress-indeterminate 1.5s ease-in-out infinite;
1044
+ }
1045
+ /* skeleton */
1046
+ .ch-skeleton {
1047
+ border-radius: 0.5rem;
1048
+ background-color: hsl(var(--muted));
1049
+ }
1050
+ .ch-skeleton-text {
1051
+ height: 1rem;
1052
+ width: 100%;
1053
+ }
1054
+ .ch-skeleton-avatar {
1055
+ height: 3rem;
1056
+ width: 3rem;
1057
+ border-radius: 9999px;
1058
+ }
1059
+ .ch-skeleton-card {
1060
+ height: 8rem;
1061
+ width: 100%;
1062
+ }
1063
+ .ch-skeleton-button {
1064
+ height: 2.5rem;
1065
+ width: 6rem;
1066
+ }
1067
+ .ch-skeleton-title {
1068
+ height: 1.5rem;
1069
+ width: 75%;
1070
+ }
1071
+ @keyframes pulse {
1072
+ 50% {
1073
+ opacity: .5;
1074
+ }
1075
+ }
1076
+ .ch-skeleton:where(:not(.ch-skeleton-shimmer, .ch-skeleton-static)) {
1077
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1078
+ }
1079
+ .ch-skeleton-pulse {
1080
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1081
+ }
1082
+ @keyframes shimmer {
1083
+ 0% {
1084
+ background-position: -200% 0;
1085
+ }
1086
+ 100% {
1087
+ background-position: 200% 0;
1088
+ }
1089
+ }
1090
+ .ch-skeleton-shimmer {
1091
+ animation: shimmer 2s linear infinite;
1092
+ }
1093
+ /* spinner */
1094
+ @keyframes spin {
1095
+ to {
1096
+ transform: rotate(360deg);
1097
+ }
1098
+ }
1099
+ .ch-spinner {
1100
+ animation: spin 1s linear infinite;
1101
+ color: currentColor;
1102
+ }
1103
+ .ch-spinner-sm {
1104
+ height: 1rem;
1105
+ width: 1rem;
1106
+ }
1107
+ .ch-spinner:where(:not(.ch-spinner-sm, .ch-spinner-lg, .ch-spinner-xl)) {
1108
+ height: 1.5rem;
1109
+ width: 1.5rem;
1110
+ }
1111
+ .ch-spinner-md {
1112
+ height: 1.5rem;
1113
+ width: 1.5rem;
1114
+ }
1115
+ .ch-spinner-lg {
1116
+ height: 2rem;
1117
+ width: 2rem;
1118
+ }
1119
+ .ch-spinner-xl {
1120
+ height: 3rem;
1121
+ width: 3rem;
1122
+ }
1123
+ /* separator */
1124
+ .ch-separator {
1125
+ flex-shrink: 0;
1126
+ background-color: hsl(var(--border));
1127
+ }
1128
+ .ch-separator:where(:not(.ch-separator-vertical)) {
1129
+ height: 1px;
1130
+ width: 100%;
1131
+ }
1132
+ .ch-separator-horizontal {
1133
+ height: 1px;
1134
+ width: 100%;
1135
+ }
1136
+ .ch-separator-vertical {
1137
+ height: 100%;
1138
+ width: 1px;
1139
+ }
1140
+ /* kbd */
1141
+ .ch-kbd {
1142
+ display: inline-flex;
1143
+ align-items: center;
1144
+ justify-content: center;
1145
+ border-radius: 0.5rem;
1146
+ border-width: 1px;
1147
+ border-color: hsl(var(--border));
1148
+ background-color: hsl(var(--muted));
1149
+ font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1150
+ font-weight: 500;
1151
+ color: hsl(var(--muted-foreground));
1152
+ --tw-shadow: inset 0 -1px 0 hsl(var(--border));
1153
+ --tw-shadow-colored: inset 0 -1px 0 var(--tw-shadow-color);
1154
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1155
+ }
1156
+ .ch-kbd:where(:not(.ch-kbd-md)) {
1157
+ height: 1.25rem;
1158
+ min-width: 1.25rem;
1159
+ padding-left: 0.25rem;
1160
+ padding-right: 0.25rem;
1161
+ font-size: 11px;
1162
+ }
1163
+ .ch-kbd-sm {
1164
+ height: 1.25rem;
1165
+ min-width: 1.25rem;
1166
+ padding-left: 0.25rem;
1167
+ padding-right: 0.25rem;
1168
+ font-size: 11px;
1169
+ }
1170
+ .ch-kbd-md {
1171
+ height: 1.5rem;
1172
+ min-width: 1.5rem;
1173
+ padding-left: 0.375rem;
1174
+ padding-right: 0.375rem;
1175
+ font-size: 0.75rem;
1176
+ line-height: 1rem;
1177
+ }
1178
+ /* emptyState */
1179
+ .ch-empty-state {
1180
+ margin-left: auto;
1181
+ margin-right: auto;
1182
+ display: flex;
1183
+ width: 100%;
1184
+ flex-direction: column;
1185
+ align-items: center;
1186
+ text-align: center;
1187
+ }
1188
+ .ch-empty-state-sm {
1189
+ max-width: 20rem;
1190
+ gap: 0.5rem;
1191
+ padding-left: 1rem;
1192
+ padding-right: 1rem;
1193
+ padding-top: 1.5rem;
1194
+ padding-bottom: 1.5rem;
1195
+ }
1196
+ .ch-empty-state:where(:not(.ch-empty-state-sm)) {
1197
+ max-width: 28rem;
1198
+ gap: 0.75rem;
1199
+ padding-left: 1.5rem;
1200
+ padding-right: 1.5rem;
1201
+ padding-top: 3rem;
1202
+ padding-bottom: 3rem;
1203
+ }
1204
+ .ch-empty-state-md {
1205
+ max-width: 28rem;
1206
+ gap: 0.75rem;
1207
+ padding-left: 1.5rem;
1208
+ padding-right: 1.5rem;
1209
+ padding-top: 3rem;
1210
+ padding-bottom: 3rem;
1211
+ }
1212
+ /* emptyStateIcon */
1213
+ .ch-empty-state-icon {
1214
+ display: flex;
1215
+ align-items: center;
1216
+ justify-content: center;
1217
+ border-radius: 9999px;
1218
+ background-color: hsl(var(--muted));
1219
+ color: hsl(var(--muted-foreground));
1220
+ }
1221
+ .ch-empty-state-icon-sm {
1222
+ margin-bottom: 0.25rem;
1223
+ height: 2.5rem;
1224
+ width: 2.5rem;
1225
+ }
1226
+ .ch-empty-state-icon:where(:not(.ch-empty-state-icon-sm)) {
1227
+ margin-bottom: 0.5rem;
1228
+ height: 3rem;
1229
+ width: 3rem;
1230
+ }
1231
+ .ch-empty-state-icon-md {
1232
+ margin-bottom: 0.5rem;
1233
+ height: 3rem;
1234
+ width: 3rem;
1235
+ }
1236
+ /* emptyStateTitle */
1237
+ .ch-empty-state-title {
1238
+ font-weight: 600;
1239
+ color: hsl(var(--foreground));
1240
+ }
1241
+ .ch-empty-state-title-sm {
1242
+ font-size: 0.875rem;
1243
+ line-height: 1.25rem;
1244
+ }
1245
+ .ch-empty-state-title:where(:not(.ch-empty-state-title-sm)) {
1246
+ font-size: 1rem;
1247
+ line-height: 1.5rem;
1248
+ }
1249
+ .ch-empty-state-title-md {
1250
+ font-size: 1rem;
1251
+ line-height: 1.5rem;
1252
+ }
1253
+ /* emptyStateDescription */
1254
+ .ch-empty-state-description {
1255
+ color: hsl(var(--muted-foreground));
1256
+ }
1257
+ .ch-empty-state-description-sm {
1258
+ font-size: 0.75rem;
1259
+ line-height: 1rem;
1260
+ }
1261
+ .ch-empty-state-description:where(:not(.ch-empty-state-description-sm)) {
1262
+ font-size: 0.875rem;
1263
+ line-height: 1.25rem;
1264
+ }
1265
+ .ch-empty-state-description-md {
1266
+ font-size: 0.875rem;
1267
+ line-height: 1.25rem;
1268
+ }
1269
+ /* tableContainer */
1270
+ .ch-table-container {
1271
+ position: relative;
1272
+ overflow-x: auto;
1273
+ border-radius: 0.75rem;
1274
+ border-width: 1px;
1275
+ }
1276
+ /* table */
1277
+ .ch-table {
1278
+ width: 100%;
1279
+ font-size: 0.875rem;
1280
+ line-height: 1.25rem;
1281
+ }
1282
+ /* tableHeader */
1283
+ .ch-table-header {
1284
+ border-bottom-width: 1px;
1285
+ background-color: hsl(var(--muted) / 0.5);
1286
+ }
1287
+ /* tableBody */
1288
+ .ch-table-body > :not([hidden]) ~ :not([hidden]) {
1289
+ --tw-divide-y-reverse: 0;
1290
+ border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
1291
+ border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
1292
+ }
1293
+ /* tableRow */
1294
+ .ch-table-row {
1295
+ background-color: hsl(var(--card));
1296
+ }
1297
+ .ch-table-row-interactive {
1298
+ cursor: pointer;
1299
+ }
1300
+ @media (hover: hover) and (pointer: fine) {
1301
+ .ch-table-row-interactive:hover {
1302
+ background-color: hsl(var(--muted-hover));
1303
+ }
1304
+ }
1305
+ .ch-table-row-selected {
1306
+ background-color: hsl(var(--primary) / 0.05);
1307
+ }
1308
+ /* tableHead */
1309
+ .ch-table-head {
1310
+ padding-left: 1rem;
1311
+ padding-right: 1rem;
1312
+ padding-top: 0.75rem;
1313
+ padding-bottom: 0.75rem;
1314
+ font-weight: 500;
1315
+ color: hsl(var(--muted-foreground));
1316
+ }
1317
+ .ch-table-head:where(:not(.ch-table-head-center, .ch-table-head-right)) {
1318
+ text-align: left;
1319
+ }
1320
+ .ch-table-head-left {
1321
+ text-align: left;
1322
+ }
1323
+ .ch-table-head-center {
1324
+ text-align: center;
1325
+ }
1326
+ .ch-table-head-right {
1327
+ text-align: right;
1328
+ }
1329
+ /* tableCell */
1330
+ .ch-table-cell {
1331
+ padding-left: 1rem;
1332
+ padding-right: 1rem;
1333
+ padding-top: 0.75rem;
1334
+ padding-bottom: 0.75rem;
1335
+ }
1336
+ .ch-table-cell:where(:not(.ch-table-cell-center, .ch-table-cell-right)) {
1337
+ text-align: left;
1338
+ }
1339
+ .ch-table-cell-left {
1340
+ text-align: left;
1341
+ }
1342
+ .ch-table-cell-center {
1343
+ text-align: center;
1344
+ }
1345
+ .ch-table-cell-right {
1346
+ text-align: right;
1347
+ }
1348
+ /* tableCaption */
1349
+ .ch-table-caption {
1350
+ margin-top: 1rem;
1351
+ font-size: 0.875rem;
1352
+ line-height: 1.25rem;
1353
+ color: hsl(var(--muted-foreground));
1354
+ }
1355
+ /* radioGroup */
1356
+ .ch-radio-group {
1357
+ display: grid;
1358
+ gap: 0.5rem;
1359
+ }
1360
+ .ch-radio-group:where(:not(.ch-radio-group-horizontal)) {
1361
+ grid-auto-flow: row;
1362
+ }
1363
+ .ch-radio-group-vertical {
1364
+ grid-auto-flow: row;
1365
+ }
1366
+ .ch-radio-group-horizontal {
1367
+ grid-auto-flow: row;
1368
+ }
1369
+ @media (min-width: 640px) {
1370
+ .ch-radio-group-horizontal {
1371
+ grid-auto-columns: max-content;
1372
+ grid-auto-flow: column;
1373
+ }
1374
+ }
1375
+ /* radioGroupItem */
1376
+ .ch-radio-group-item {
1377
+ position: relative;
1378
+ display: flex;
1379
+ aspect-ratio: 1 / 1;
1380
+ height: 1.25rem;
1381
+ width: 1.25rem;
1382
+ align-items: center;
1383
+ justify-content: center;
1384
+ border-radius: 9999px;
1385
+ border-width: 1px;
1386
+ border-color: hsl(var(--primary));
1387
+ --tw-ring-offset-color: hsl(var(--background));
1388
+ }
1389
+ .ch-radio-group-item::after {
1390
+ position: absolute;
1391
+ inset: -0.75rem;
1392
+ --tw-content: '';
1393
+ content: var(--tw-content);
1394
+ }
1395
+ .ch-radio-group-item:focus {
1396
+ outline: 2px solid transparent;
1397
+ outline-offset: 2px;
1398
+ }
1399
+ .ch-radio-group-item:focus-visible {
1400
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1401
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1402
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1403
+ --tw-ring-color: hsl(var(--ring));
1404
+ --tw-ring-offset-width: 2px;
1405
+ }
1406
+ .ch-radio-group-item:disabled {
1407
+ cursor: not-allowed;
1408
+ opacity: 0.5;
1409
+ }
1410
+ .ch-radio-group-item-invalid {
1411
+ border-color: hsl(var(--destructive));
1412
+ }
1413
+ /* radioGroupIndicator */
1414
+ .ch-radio-group-indicator {
1415
+ height: 0.625rem;
1416
+ width: 0.625rem;
1417
+ border-radius: 9999px;
1418
+ background-color: hsl(var(--primary));
1419
+ }
1420
+ /* sliderRoot */
1421
+ .ch-slider-root {
1422
+ position: relative;
1423
+ display: flex;
1424
+ width: 100%;
1425
+ touch-action: none;
1426
+ user-select: none;
1427
+ align-items: center;
1428
+ border-radius: 9999px;
1429
+ background-color: hsl(var(--muted));
1430
+ }
1431
+ .ch-slider-root[data-orientation="vertical"] {
1432
+ height: 100%;
1433
+ min-height: 10rem;
1434
+ flex-direction: column;
1435
+ }
1436
+ .ch-slider-root-sm {
1437
+ height: 0.375rem;
1438
+ }
1439
+ .ch-slider-root-sm[data-orientation="vertical"] {
1440
+ width: 0.375rem;
1441
+ }
1442
+ .ch-slider-root:where(:not(.ch-slider-root-sm, .ch-slider-root-lg)) {
1443
+ height: 0.5rem;
1444
+ }
1445
+ .ch-slider-root:where(:not(.ch-slider-root-sm, .ch-slider-root-lg))[data-orientation="vertical"] {
1446
+ width: 0.5rem;
1447
+ }
1448
+ .ch-slider-root-md {
1449
+ height: 0.5rem;
1450
+ }
1451
+ .ch-slider-root-md[data-orientation="vertical"] {
1452
+ width: 0.5rem;
1453
+ }
1454
+ .ch-slider-root-lg {
1455
+ height: 0.75rem;
1456
+ }
1457
+ .ch-slider-root-lg[data-orientation="vertical"] {
1458
+ width: 0.75rem;
1459
+ }
1460
+ /* sliderTrack */
1461
+ .ch-slider-track {
1462
+ position: relative;
1463
+ height: 100%;
1464
+ width: 100%;
1465
+ flex-grow: 1;
1466
+ border-radius: 9999px;
1467
+ }
1468
+ .ch-slider-track[data-orientation="vertical"] {
1469
+ width: 100%;
1470
+ }
1471
+ /* sliderRange */
1472
+ .ch-slider-range {
1473
+ position: absolute;
1474
+ height: 100%;
1475
+ border-radius: 9999px;
1476
+ background-color: hsl(var(--primary));
1477
+ }
1478
+ .ch-slider-range[data-orientation="vertical"] {
1479
+ height: auto;
1480
+ width: 100%;
1481
+ }
1482
+ /* sliderThumb */
1483
+ .ch-slider-thumb {
1484
+ position: relative;
1485
+ display: block;
1486
+ border-radius: 9999px;
1487
+ border-width: 2px;
1488
+ border-color: hsl(var(--primary));
1489
+ background-color: hsl(var(--background));
1490
+ --tw-ring-offset-color: hsl(var(--background));
1491
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1492
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1493
+ transition-duration: 150ms;
1494
+ }
1495
+ .ch-slider-thumb::after {
1496
+ position: absolute;
1497
+ left: 50%;
1498
+ top: 50%;
1499
+ height: 2.75rem;
1500
+ width: 2.75rem;
1501
+ --tw-translate-x: -50%;
1502
+ --tw-translate-y: -50%;
1503
+ 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));
1504
+ border-radius: 9999px;
1505
+ --tw-content: '';
1506
+ content: var(--tw-content);
1507
+ }
1508
+ .ch-slider-thumb:focus-visible {
1509
+ outline: 2px solid transparent;
1510
+ outline-offset: 2px;
1511
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1512
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1513
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1514
+ --tw-ring-color: hsl(var(--ring));
1515
+ --tw-ring-offset-width: 2px;
1516
+ }
1517
+ .ch-slider-thumb:disabled {
1518
+ pointer-events: none;
1519
+ opacity: 0.5;
1520
+ }
1521
+ .ch-slider-thumb-sm {
1522
+ height: 1rem;
1523
+ width: 1rem;
1524
+ }
1525
+ .ch-slider-thumb:where(:not(.ch-slider-thumb-sm, .ch-slider-thumb-lg)) {
1526
+ height: 1.25rem;
1527
+ width: 1.25rem;
1528
+ }
1529
+ .ch-slider-thumb-md {
1530
+ height: 1.25rem;
1531
+ width: 1.25rem;
1532
+ }
1533
+ .ch-slider-thumb-lg {
1534
+ height: 1.5rem;
1535
+ width: 1.5rem;
1536
+ }
1537
+ /* numberInputField */
1538
+ .ch-number-input-field {
1539
+ display: flex;
1540
+ height: 2.5rem;
1541
+ width: 100%;
1542
+ background-color: hsl(var(--background));
1543
+ padding-left: 0.75rem;
1544
+ padding-right: 0.75rem;
1545
+ padding-top: 0.5rem;
1546
+ padding-bottom: 0.5rem;
1547
+ text-align: center;
1548
+ font-size: 1rem;
1549
+ line-height: 1.5rem;
1550
+ --tw-ring-offset-color: hsl(var(--background));
1551
+ }
1552
+ .ch-number-input-field::placeholder {
1553
+ color: hsl(var(--muted-foreground));
1554
+ }
1555
+ .ch-number-input-field:focus-visible {
1556
+ outline: 2px solid transparent;
1557
+ outline-offset: 2px;
1558
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1559
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1560
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1561
+ --tw-ring-color: hsl(var(--ring));
1562
+ --tw-ring-offset-width: 2px;
1563
+ }
1564
+ .ch-number-input-field:disabled {
1565
+ cursor: not-allowed;
1566
+ opacity: 0.5;
1567
+ }
1568
+ @media (min-width: 640px) {
1569
+ .ch-number-input-field {
1570
+ font-size: 0.875rem;
1571
+ line-height: 1.25rem;
1572
+ }
1573
+ }
1574
+ .ch-number-input-field:where(:not(.ch-number-input-field-no-stepper)) {
1575
+ border-top-width: 1px;
1576
+ border-bottom-width: 1px;
1577
+ border-color: hsl(var(--input));
1578
+ }
1579
+ .ch-number-input-field-no-stepper {
1580
+ border-radius: 0.5rem;
1581
+ border-width: 1px;
1582
+ border-color: hsl(var(--input));
1583
+ }
1584
+ .ch-number-input-field-invalid {
1585
+ border-color: hsl(var(--destructive));
1586
+ }
1587
+ .ch-number-input-field-invalid:focus-visible {
1588
+ --tw-ring-color: hsl(var(--destructive));
1589
+ }
1590
+ /* numberInputStepper */
1591
+ .ch-number-input-stepper {
1592
+ display: flex;
1593
+ height: 2.5rem;
1594
+ width: 2.5rem;
1595
+ align-items: center;
1596
+ justify-content: center;
1597
+ border-width: 1px;
1598
+ border-color: hsl(var(--input));
1599
+ background-color: hsl(var(--background));
1600
+ font-size: 0.875rem;
1601
+ line-height: 1.25rem;
1602
+ font-weight: 500;
1603
+ color: hsl(var(--foreground));
1604
+ }
1605
+ @media (hover: hover) and (pointer: fine) {
1606
+ .ch-number-input-stepper:hover {
1607
+ background-color: hsl(var(--accent));
1608
+ color: hsl(var(--accent-foreground));
1609
+ }
1610
+ }
1611
+ .ch-number-input-stepper:focus-visible {
1612
+ outline: 2px solid transparent;
1613
+ outline-offset: 2px;
1614
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1615
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1616
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1617
+ --tw-ring-color: hsl(var(--ring));
1618
+ --tw-ring-offset-width: 2px;
1619
+ }
1620
+ .ch-number-input-stepper:disabled {
1621
+ pointer-events: none;
1622
+ opacity: 0.5;
1623
+ }
1624
+ .ch-number-input-stepper:where(:not(.ch-number-input-stepper-end)) {
1625
+ border-top-left-radius: 0.5rem;
1626
+ border-bottom-left-radius: 0.5rem;
1627
+ border-right-width: 0px;
1628
+ }
1629
+ .ch-number-input-stepper-start {
1630
+ border-top-left-radius: 0.5rem;
1631
+ border-bottom-left-radius: 0.5rem;
1632
+ border-right-width: 0px;
1633
+ }
1634
+ .ch-number-input-stepper-end {
1635
+ border-top-right-radius: 0.5rem;
1636
+ border-bottom-right-radius: 0.5rem;
1637
+ border-left-width: 0px;
1638
+ }
1639
+ .ch-number-input-stepper-invalid {
1640
+ border-color: hsl(var(--destructive));
1641
+ }
1642
+ /* segmentedControl */
1643
+ .ch-segmented-control {
1644
+ position: relative;
1645
+ display: inline-flex;
1646
+ max-width: 100%;
1647
+ align-items: center;
1648
+ gap: 0.25rem;
1649
+ overflow-x: auto;
1650
+ overscroll-behavior-x: contain;
1651
+ border-radius: 0.75rem;
1652
+ background-color: hsl(var(--muted));
1653
+ padding: 0.25rem;
1654
+ color: hsl(var(--muted-foreground));
1655
+ scrollbar-width: none;
1656
+ }
1657
+ .ch-segmented-control::-webkit-scrollbar {
1658
+ display: none;
1659
+ }
1660
+ .ch-segmented-control:where(:not(.ch-segmented-control-sm)) {
1661
+ height: 2.5rem;
1662
+ }
1663
+ .ch-segmented-control-md {
1664
+ height: 2.5rem;
1665
+ }
1666
+ .ch-segmented-control-sm {
1667
+ height: 2.25rem;
1668
+ }
1669
+ /* segmentedControlItem */
1670
+ .ch-segmented-control-item {
1671
+ display: inline-flex;
1672
+ flex-shrink: 0;
1673
+ align-items: center;
1674
+ justify-content: center;
1675
+ gap: 0.375rem;
1676
+ white-space: nowrap;
1677
+ border-radius: 0.5rem;
1678
+ padding-left: 0.75rem;
1679
+ padding-right: 0.75rem;
1680
+ font-size: 0.875rem;
1681
+ line-height: 1.25rem;
1682
+ font-weight: 500;
1683
+ --tw-ring-offset-color: hsl(var(--background));
1684
+ }
1685
+ @media (hover: hover) and (pointer: fine) {
1686
+ .ch-segmented-control-item:hover {
1687
+ color: hsl(var(--foreground));
1688
+ }
1689
+ }
1690
+ .ch-segmented-control-item:focus-visible {
1691
+ outline: 2px solid transparent;
1692
+ outline-offset: 2px;
1693
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1694
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1695
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1696
+ --tw-ring-color: hsl(var(--ring));
1697
+ --tw-ring-offset-width: 2px;
1698
+ }
1699
+ .ch-segmented-control-item:disabled {
1700
+ pointer-events: none;
1701
+ opacity: 0.5;
1702
+ }
1703
+ .ch-segmented-control-item[data-state="checked"] {
1704
+ background-color: hsl(var(--background));
1705
+ color: hsl(var(--foreground));
1706
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
1707
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
1708
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1709
+ }
1710
+ .ch-segmented-control-item:where(:not(.ch-segmented-control-item-sm)) {
1711
+ height: 2rem;
1712
+ }
1713
+ .ch-segmented-control-item-md {
1714
+ height: 2rem;
1715
+ }
1716
+ .ch-segmented-control-item-sm {
1717
+ height: 1.75rem;
1718
+ padding-left: 0.625rem;
1719
+ padding-right: 0.625rem;
1720
+ }
1721
+ /* tooltipContent */
1722
+ .ch-tooltip-content {
1723
+ z-index: 70;
1724
+ overflow: hidden;
1725
+ border-radius: 0.5rem;
1726
+ background-color: hsl(var(--primary));
1727
+ padding-left: 0.75rem;
1728
+ padding-right: 0.75rem;
1729
+ padding-top: 0.375rem;
1730
+ padding-bottom: 0.375rem;
1731
+ font-size: 0.75rem;
1732
+ line-height: 1rem;
1733
+ color: hsl(var(--primary-foreground));
1734
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1735
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1736
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1737
+ }
1738
+ /* tooltipArrow */
1739
+ .ch-tooltip-arrow {
1740
+ fill: hsl(var(--primary));
1741
+ }
1742
+ /* popoverContent */
1743
+ .ch-popover-content {
1744
+ z-index: 70;
1745
+ width: 18rem;
1746
+ max-width: calc(100vw - 1rem);
1747
+ border-radius: 0.75rem;
1748
+ border-width: 1px;
1749
+ border-color: hsl(var(--border));
1750
+ background-color: hsl(var(--popover));
1751
+ padding: 0.75rem;
1752
+ font-size: 0.875rem;
1753
+ line-height: 1.25rem;
1754
+ color: hsl(var(--popover-foreground));
1755
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1756
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1757
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1758
+ outline: 2px solid transparent;
1759
+ outline-offset: 2px;
1760
+ }
1761
+ @media (prefers-reduced-motion: reduce) {
1762
+ .ch-popover-content {
1763
+ animation: none;
1764
+ }
1765
+ }
1766
+ /* dropdownMenuContent */
1767
+ .ch-dropdown-menu-content {
1768
+ isolation: isolate;
1769
+ z-index: 70;
1770
+ min-width: 8rem;
1771
+ max-width: calc(100vw - 1rem);
1772
+ overflow: hidden;
1773
+ border-radius: 0.5rem;
1774
+ border-width: 1px;
1775
+ border-color: hsl(var(--border));
1776
+ background-color: hsl(var(--popover));
1777
+ padding: 0.25rem;
1778
+ color: hsl(var(--popover-foreground));
1779
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1780
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1781
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1782
+ }
1783
+ /* dropdownMenuItem */
1784
+ .ch-dropdown-menu-item {
1785
+ position: relative;
1786
+ display: flex;
1787
+ cursor: pointer;
1788
+ user-select: none;
1789
+ align-items: center;
1790
+ border-radius: 0.125rem;
1791
+ background-color: hsl(var(--popover));
1792
+ padding-left: 0.5rem;
1793
+ padding-right: 0.5rem;
1794
+ padding-top: 0.375rem;
1795
+ padding-bottom: 0.375rem;
1796
+ font-size: 0.875rem;
1797
+ line-height: 1.25rem;
1798
+ outline: 2px solid transparent;
1799
+ outline-offset: 2px;
1800
+ }
1801
+ .ch-dropdown-menu-item[data-disabled] {
1802
+ pointer-events: none;
1803
+ cursor: default;
1804
+ }
1805
+ .ch-dropdown-menu-item[data-highlighted] {
1806
+ background-color: hsl(var(--accent));
1807
+ color: hsl(var(--accent-foreground));
1808
+ }
1809
+ .ch-dropdown-menu-item[data-disabled] {
1810
+ opacity: 0.5;
1811
+ }
1812
+ .ch-dropdown-menu-item-destructive {
1813
+ color: hsl(var(--destructive));
1814
+ }
1815
+ .ch-dropdown-menu-item-destructive[data-highlighted] {
1816
+ color: hsl(var(--destructive));
1817
+ }
1818
+ /* dropdownMenuCheckboxItem */
1819
+ .ch-dropdown-menu-checkbox-item {
1820
+ position: relative;
1821
+ display: flex;
1822
+ cursor: pointer;
1823
+ user-select: none;
1824
+ align-items: center;
1825
+ border-radius: 0.125rem;
1826
+ background-color: hsl(var(--popover));
1827
+ padding-top: 0.375rem;
1828
+ padding-bottom: 0.375rem;
1829
+ padding-left: 2rem;
1830
+ padding-right: 0.5rem;
1831
+ font-size: 0.875rem;
1832
+ line-height: 1.25rem;
1833
+ outline: 2px solid transparent;
1834
+ outline-offset: 2px;
1835
+ }
1836
+ .ch-dropdown-menu-checkbox-item[data-disabled] {
1837
+ pointer-events: none;
1838
+ cursor: default;
1839
+ }
1840
+ .ch-dropdown-menu-checkbox-item[data-highlighted] {
1841
+ background-color: hsl(var(--accent));
1842
+ color: hsl(var(--accent-foreground));
1843
+ }
1844
+ .ch-dropdown-menu-checkbox-item[data-disabled] {
1845
+ opacity: 0.5;
1846
+ }
1847
+ /* dropdownMenuLabel */
1848
+ .ch-dropdown-menu-label {
1849
+ padding-left: 0.5rem;
1850
+ padding-right: 0.5rem;
1851
+ padding-top: 0.375rem;
1852
+ padding-bottom: 0.375rem;
1853
+ font-size: 0.875rem;
1854
+ line-height: 1.25rem;
1855
+ font-weight: 600;
1856
+ }
1857
+ /* dropdownMenuSeparator */
1858
+ .ch-dropdown-menu-separator {
1859
+ margin-left: -0.25rem;
1860
+ margin-right: -0.25rem;
1861
+ margin-top: 0.25rem;
1862
+ margin-bottom: 0.25rem;
1863
+ height: 1px;
1864
+ background-color: hsl(var(--muted));
1865
+ }
1866
+ /* collapsibleTrigger */
1867
+ .ch-collapsible-trigger {
1868
+ display: inline-flex;
1869
+ align-items: center;
1870
+ gap: 0.375rem;
1871
+ border-radius: 0.5rem;
1872
+ font-size: 0.875rem;
1873
+ line-height: 1.25rem;
1874
+ font-weight: 500;
1875
+ color: hsl(var(--foreground));
1876
+ }
1877
+ @media (hover: hover) and (pointer: fine) {
1878
+ .ch-collapsible-trigger:hover {
1879
+ color: hsl(var(--foreground) / 0.8);
1880
+ }
1881
+ }
1882
+ .ch-collapsible-trigger:focus-visible {
1883
+ outline: 2px solid transparent;
1884
+ outline-offset: 2px;
1885
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1886
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1887
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1888
+ --tw-ring-color: hsl(var(--ring));
1889
+ --tw-ring-offset-width: 2px;
1890
+ }
1891
+ .ch-collapsible-trigger:disabled {
1892
+ cursor: not-allowed;
1893
+ opacity: 0.5;
1894
+ }
1895
+ /* collapsibleChevron */
1896
+ .ch-collapsible-chevron {
1897
+ flex-shrink: 0;
1898
+ transition-property: transform;
1899
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1900
+ transition-duration: 200ms;
1901
+ }
1902
+ .group[data-state="open"] .ch-collapsible-chevron {
1903
+ --tw-rotate: 90deg;
1904
+ 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));
1905
+ }
1906
+ @media (prefers-reduced-motion: reduce) {
1907
+ .ch-collapsible-chevron {
1908
+ transition-property: none;
1909
+ }
1910
+ }
1911
+ /* collapsibleContent */
1912
+ .ch-collapsible-content {
1913
+ overflow: hidden;
1914
+ }
1915
+ @keyframes collapsible-down {
1916
+ from {
1917
+ height: 0;
1918
+ }
1919
+ to {
1920
+ height: var(--bits-collapsible-content-height);
1921
+ }
1922
+ }
1923
+ .ch-collapsible-content[data-state="open"] {
1924
+ animation: collapsible-down 200ms ease-out;
1925
+ }
1926
+ @keyframes collapsible-up {
1927
+ from {
1928
+ height: var(--bits-collapsible-content-height);
1929
+ }
1930
+ to {
1931
+ height: 0;
1932
+ }
1933
+ }
1934
+ .ch-collapsible-content[data-state="closed"] {
1935
+ animation: collapsible-up 200ms ease-out;
1936
+ }
1937
+ @media (prefers-reduced-motion: reduce) {
1938
+ .ch-collapsible-content {
1939
+ animation: none;
1940
+ }
1941
+ }
1942
+ /* section */
1943
+ .ch-section {
1944
+ border-radius: 0.75rem;
1945
+ border-width: 1px;
1946
+ border-color: hsl(var(--border));
1947
+ background-color: hsl(var(--card));
1948
+ padding: 1.5rem;
1949
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1950
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1951
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1952
+ }
1953
+ /* sectionTitle */
1954
+ .ch-section-title {
1955
+ margin-bottom: 1rem;
1956
+ font-size: 1.5rem;
1957
+ line-height: 2rem;
1958
+ font-weight: 700;
1959
+ color: hsl(var(--card-foreground));
1960
+ }
1961
+ /* sectionDescription */
1962
+ .ch-section-description {
1963
+ margin-bottom: 1rem;
1964
+ font-size: 0.875rem;
1965
+ line-height: 1.25rem;
1966
+ color: hsl(var(--muted-foreground));
1967
+ }