sunpeak 0.5.8 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +13 -11
  2. package/bin/sunpeak.js +3 -3
  3. package/dist/chatgpt/mock-openai.d.ts +7 -0
  4. package/dist/chatgpt/simple-sidebar.d.ts +38 -0
  5. package/dist/chatgpt/theme-provider.d.ts +2 -2
  6. package/dist/index.cjs +7733 -199
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.js +7734 -201
  9. package/dist/index.js.map +1 -1
  10. package/dist/mcp/index.cjs +80 -106
  11. package/dist/mcp/index.cjs.map +1 -1
  12. package/dist/mcp/index.js +80 -106
  13. package/dist/mcp/index.js.map +1 -1
  14. package/dist/style.css +2890 -315
  15. package/package.json +6 -5
  16. package/template/README.md +1 -0
  17. package/template/dev/main.tsx +6 -10
  18. package/template/package.json +5 -4
  19. package/template/scripts/build-all.mjs +19 -10
  20. package/template/scripts/validate.mjs +8 -2
  21. package/template/src/components/album/album-card.test.tsx +62 -0
  22. package/template/src/components/album/album-card.tsx +14 -16
  23. package/template/src/components/album/albums.test.tsx +88 -0
  24. package/template/src/components/album/albums.tsx +50 -64
  25. package/template/src/components/album/film-strip.test.tsx +64 -0
  26. package/template/src/components/album/film-strip.tsx +16 -16
  27. package/template/src/components/album/fullscreen-viewer.test.tsx +77 -0
  28. package/template/src/components/album/fullscreen-viewer.tsx +45 -50
  29. package/template/src/components/card/card.test.tsx +1 -4
  30. package/template/src/components/card/card.tsx +38 -46
  31. package/template/src/components/carousel/carousel.tsx +57 -67
  32. package/template/src/components/resources/{AlbumsResource.tsx → albums-resource.tsx} +5 -5
  33. package/template/src/components/resources/{CarouselResource.tsx → carousel-resource.tsx} +18 -18
  34. package/template/src/components/resources/{CounterResource.tsx → counter-resource.tsx} +11 -31
  35. package/template/src/components/resources/index.ts +3 -3
  36. package/template/src/simulations/albums-simulation.ts +71 -71
  37. package/template/src/simulations/carousel-simulation.ts +34 -34
  38. package/template/src/simulations/counter-simulation.ts +2 -2
  39. package/template/vite.config.build.ts +2 -2
  40. package/template/vite.config.ts +1 -1
  41. package/template/vitest.config.ts +1 -1
  42. package/dist/runtime/index.d.ts +0 -7
  43. /package/dist/{runtime → providers}/provider-detection.d.ts +0 -0
package/dist/style.css CHANGED
@@ -50,11 +50,6 @@
50
50
  --tw-drop-shadow-alpha: 100%;
51
51
  --tw-drop-shadow-size: initial;
52
52
  --tw-duration: initial;
53
- --tw-ease: initial;
54
- --tw-content: "";
55
- --tw-scale-x: 1;
56
- --tw-scale-y: 1;
57
- --tw-scale-z: 1;
58
53
  }
59
54
  }
60
55
  }
@@ -3092,6 +3087,10 @@
3092
3087
  position: relative;
3093
3088
  }
3094
3089
 
3090
+ .sticky {
3091
+ position: sticky;
3092
+ }
3093
+
3095
3094
  .inset-0 {
3096
3095
  inset: calc(var(--spacing) * 0);
3097
3096
  }
@@ -3196,10 +3195,6 @@
3196
3195
  margin-block: auto;
3197
3196
  }
3198
3197
 
3199
- .mt-1 {
3200
- margin-top: calc(var(--spacing) * 1);
3201
- }
3202
-
3203
3198
  .mt-auto {
3204
3199
  margin-top: auto;
3205
3200
  }
@@ -3216,10 +3211,6 @@
3216
3211
  margin-bottom: calc(var(--spacing) * 3);
3217
3212
  }
3218
3213
 
3219
- .mb-4 {
3220
- margin-bottom: calc(var(--spacing) * 4);
3221
- }
3222
-
3223
3214
  .line-clamp-2 {
3224
3215
  -webkit-line-clamp: 2;
3225
3216
  -webkit-box-orient: vertical;
@@ -3239,6 +3230,10 @@
3239
3230
  display: flex;
3240
3231
  }
3241
3232
 
3233
+ .grid {
3234
+ display: grid;
3235
+ }
3236
+
3242
3237
  .hidden {
3243
3238
  display: none;
3244
3239
  }
@@ -3247,10 +3242,6 @@
3247
3242
  display: inline;
3248
3243
  }
3249
3244
 
3250
- .inline-flex {
3251
- display: inline-flex;
3252
- }
3253
-
3254
3245
  .aspect-\[4\/3\] {
3255
3246
  aspect-ratio: 4 / 3;
3256
3247
  }
@@ -3272,6 +3263,10 @@
3272
3263
  height: calc(var(--spacing) * 4);
3273
3264
  }
3274
3265
 
3266
+ .h-7 {
3267
+ height: calc(var(--spacing) * 7);
3268
+ }
3269
+
3275
3270
  .h-8 {
3276
3271
  height: calc(var(--spacing) * 8);
3277
3272
  }
@@ -3280,10 +3275,6 @@
3280
3275
  height: calc(var(--spacing) * 12);
3281
3276
  }
3282
3277
 
3283
- .h-\[var\(--control-size-sm\)\] {
3284
- height: var(--control-size-sm);
3285
- }
3286
-
3287
3278
  .h-auto {
3288
3279
  height: auto;
3289
3280
  }
@@ -3292,8 +3283,8 @@
3292
3283
  height: 100%;
3293
3284
  }
3294
3285
 
3295
- .max-h-\[min\(400px\,calc\(100vh-200px\)\)\] {
3296
- max-height: min(400px, 100vh - 200px);
3286
+ .h-screen {
3287
+ height: 100vh;
3297
3288
  }
3298
3289
 
3299
3290
  .max-h-full {
@@ -3304,14 +3295,14 @@
3304
3295
  min-height: calc(var(--spacing) * 8);
3305
3296
  }
3306
3297
 
3307
- .min-h-screen {
3308
- min-height: 100vh;
3309
- }
3310
-
3311
3298
  .w-4 {
3312
3299
  width: calc(var(--spacing) * 4);
3313
3300
  }
3314
3301
 
3302
+ .w-7 {
3303
+ width: calc(var(--spacing) * 7);
3304
+ }
3305
+
3315
3306
  .w-8 {
3316
3307
  width: calc(var(--spacing) * 8);
3317
3308
  }
@@ -3324,8 +3315,8 @@
3324
3315
  width: calc(var(--spacing) * 40);
3325
3316
  }
3326
3317
 
3327
- .w-64 {
3328
- width: calc(var(--spacing) * 64);
3318
+ .w-56 {
3319
+ width: calc(var(--spacing) * 56);
3329
3320
  }
3330
3321
 
3331
3322
  .w-80 {
@@ -3360,10 +3351,6 @@
3360
3351
  min-width: calc(var(--spacing) * 8);
3361
3352
  }
3362
3353
 
3363
- .min-w-\[200px\] {
3364
- min-width: 200px;
3365
- }
3366
-
3367
3354
  .flex-1 {
3368
3355
  flex: 1;
3369
3356
  }
@@ -3380,10 +3367,6 @@
3380
3367
  flex-grow: 1;
3381
3368
  }
3382
3369
 
3383
- .origin-top {
3384
- transform-origin: top;
3385
- }
3386
-
3387
3370
  .-translate-y-1\/2 {
3388
3371
  --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
3389
3372
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -3398,8 +3381,12 @@
3398
3381
  touch-action: var(--tw-pan-x, ) var(--tw-pan-y, ) var(--tw-pinch-zoom, );
3399
3382
  }
3400
3383
 
3401
- .scroll-m-\[15px\] {
3402
- scroll-margin: 15px;
3384
+ .grid-cols-2 {
3385
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3386
+ }
3387
+
3388
+ .grid-cols-\[1fr_auto_1fr\] {
3389
+ grid-template-columns: 1fr auto 1fr;
3403
3390
  }
3404
3391
 
3405
3392
  .flex-col {
@@ -3434,6 +3421,14 @@
3434
3421
  justify-content: center;
3435
3422
  }
3436
3423
 
3424
+ .justify-end {
3425
+ justify-content: flex-end;
3426
+ }
3427
+
3428
+ .justify-start {
3429
+ justify-content: flex-start;
3430
+ }
3431
+
3437
3432
  .gap-1 {
3438
3433
  gap: calc(var(--spacing) * 1);
3439
3434
  }
@@ -3442,8 +3437,20 @@
3442
3437
  gap: calc(var(--spacing) * 2);
3443
3438
  }
3444
3439
 
3445
- .gap-\[var\(--spacing\)\] {
3446
- gap: var(--spacing);
3440
+ .gap-3 {
3441
+ gap: calc(var(--spacing) * 3);
3442
+ }
3443
+
3444
+ :where(.space-y-0\.5 > :not(:last-child)) {
3445
+ --tw-space-y-reverse: 0;
3446
+ margin-block-start: calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));
3447
+ margin-block-end: calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)));
3448
+ }
3449
+
3450
+ :where(.space-y-1 > :not(:last-child)) {
3451
+ --tw-space-y-reverse: 0;
3452
+ margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
3453
+ margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
3447
3454
  }
3448
3455
 
3449
3456
  :where(.space-y-2 > :not(:last-child)) {
@@ -3452,6 +3459,12 @@
3452
3459
  margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
3453
3460
  }
3454
3461
 
3462
+ :where(.space-y-3 > :not(:last-child)) {
3463
+ --tw-space-y-reverse: 0;
3464
+ margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
3465
+ margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
3466
+ }
3467
+
3455
3468
  :where(.space-y-4 > :not(:last-child)) {
3456
3469
  --tw-space-y-reverse: 0;
3457
3470
  margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
@@ -3506,14 +3519,6 @@
3506
3519
  border-radius: 18px;
3507
3520
  }
3508
3521
 
3509
- .rounded-\[var\(--control-radius-sm\)\] {
3510
- border-radius: var(--control-radius-sm);
3511
- }
3512
-
3513
- .rounded-\[var\(--menu-radius\)\] {
3514
- border-radius: var(--menu-radius);
3515
- }
3516
-
3517
3522
  .rounded-full {
3518
3523
  border-radius: var(--radius-full);
3519
3524
  }
@@ -3522,6 +3527,10 @@
3522
3527
  border-radius: var(--radius-lg);
3523
3528
  }
3524
3529
 
3530
+ .rounded-md {
3531
+ border-radius: var(--radius-md);
3532
+ }
3533
+
3525
3534
  .rounded-xl {
3526
3535
  border-radius: var(--radius-xl);
3527
3536
  }
@@ -3570,10 +3579,6 @@
3570
3579
  background-color: var(--color-background-primary-soft);
3571
3580
  }
3572
3581
 
3573
- .bg-\[var\(--color-surface-elevated\)\] {
3574
- background-color: var(--color-surface-elevated);
3575
- }
3576
-
3577
3582
  .bg-surface {
3578
3583
  background-color: var(--color-surface);
3579
3584
  }
@@ -3613,6 +3618,10 @@
3613
3618
  padding: calc(var(--spacing) * 2);
3614
3619
  }
3615
3620
 
3621
+ .p-3 {
3622
+ padding: calc(var(--spacing) * 3);
3623
+ }
3624
+
3616
3625
  .p-4 {
3617
3626
  padding: calc(var(--spacing) * 4);
3618
3627
  }
@@ -3629,14 +3638,14 @@
3629
3638
  padding: 1px;
3630
3639
  }
3631
3640
 
3632
- .p-\[var\(--menu-gutter\)\] {
3633
- padding: var(--menu-gutter);
3634
- }
3635
-
3636
3641
  .px-1\.5 {
3637
3642
  padding-inline: calc(var(--spacing) * 1.5);
3638
3643
  }
3639
3644
 
3645
+ .px-2 {
3646
+ padding-inline: calc(var(--spacing) * 2);
3647
+ }
3648
+
3640
3649
  .px-4 {
3641
3650
  padding-inline: calc(var(--spacing) * 4);
3642
3651
  }
@@ -3649,18 +3658,14 @@
3649
3658
  padding-inline: calc(var(--spacing) * 40);
3650
3659
  }
3651
3660
 
3652
- .px-\[var\(--control-gutter-sm\)\] {
3653
- padding-inline: var(--control-gutter-sm);
3654
- }
3655
-
3656
- .px-\[var\(--menu-item-padding-x\,12px\)\] {
3657
- padding-inline: var(--menu-item-padding-x, 12px);
3658
- }
3659
-
3660
3661
  .py-0\.5 {
3661
3662
  padding-block: calc(var(--spacing) * .5);
3662
3663
  }
3663
3664
 
3665
+ .py-1 {
3666
+ padding-block: calc(var(--spacing) * 1);
3667
+ }
3668
+
3664
3669
  .py-3 {
3665
3670
  padding-block: calc(var(--spacing) * 3);
3666
3671
  }
@@ -3673,10 +3678,6 @@
3673
3678
  padding-block: calc(var(--spacing) * 10);
3674
3679
  }
3675
3680
 
3676
- .py-\[var\(--menu-item-padding-y\,8px\)\] {
3677
- padding-block: var(--menu-item-padding-y, 8px);
3678
- }
3679
-
3680
3681
  .pt-12 {
3681
3682
  padding-top: calc(var(--spacing) * 12);
3682
3683
  }
@@ -3685,6 +3686,10 @@
3685
3686
  padding-right: calc(var(--spacing) * 12);
3686
3687
  }
3687
3688
 
3689
+ .pb-1 {
3690
+ padding-bottom: calc(var(--spacing) * 1);
3691
+ }
3692
+
3688
3693
  .pb-10 {
3689
3694
  padding-bottom: calc(var(--spacing) * 10);
3690
3695
  }
@@ -3701,6 +3706,10 @@
3701
3706
  text-align: start;
3702
3707
  }
3703
3708
 
3709
+ .font-mono {
3710
+ font-family: var(--font-mono);
3711
+ }
3712
+
3704
3713
  .text-3xl {
3705
3714
  font-size: var(--text-3xl);
3706
3715
  line-height: var(--tw-leading, var(--text-3xl--line-height));
@@ -3743,14 +3752,16 @@
3743
3752
  font-weight: var(--tw-font-weight, var(--text-xs--font-weight));
3744
3753
  }
3745
3754
 
3746
- .leading-\[var\(--font-text-md-line-height\)\] {
3747
- --tw-leading: var(--font-text-md-line-height);
3748
- line-height: var(--font-text-md-line-height);
3755
+ .text-\[8px\] {
3756
+ font-size: 8px;
3749
3757
  }
3750
3758
 
3751
- .leading-\[var\(--menu-line-height\)\] {
3752
- --tw-leading: var(--menu-line-height);
3753
- line-height: var(--menu-line-height);
3759
+ .text-\[9px\] {
3760
+ font-size: 9px;
3761
+ }
3762
+
3763
+ .text-\[10px\] {
3764
+ font-size: 10px;
3754
3765
  }
3755
3766
 
3756
3767
  .leading-normal {
@@ -3803,16 +3814,8 @@
3803
3814
  white-space: pre-wrap;
3804
3815
  }
3805
3816
 
3806
- .text-\[var\(--control-font-size-md\)\] {
3807
- color: var(--control-font-size-md);
3808
- }
3809
-
3810
- .text-\[var\(--input-placeholder-text-color\)\] {
3811
- color: var(--input-placeholder-text-color);
3812
- }
3813
-
3814
- .text-\[var\(--menu-font-size\)\] {
3815
- color: var(--menu-font-size);
3817
+ .text-\[var\(--color-error\)\] {
3818
+ color: var(--color-error);
3816
3819
  }
3817
3820
 
3818
3821
  .text-primary {
@@ -3827,19 +3830,6 @@
3827
3830
  opacity: .6;
3828
3831
  }
3829
3832
 
3830
- .opacity-75 {
3831
- opacity: .75;
3832
- }
3833
-
3834
- .opacity-100 {
3835
- opacity: 1;
3836
- }
3837
-
3838
- .shadow-\[var\(--shadow\)\] {
3839
- --tw-shadow: var(--shadow);
3840
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3841
- }
3842
-
3843
3833
  .shadow-lg {
3844
3834
  --tw-shadow: var(--shadow-300);
3845
3835
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -3860,23 +3850,18 @@
3860
3850
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3861
3851
  }
3862
3852
 
3863
- .\[box-shadow\:var\(--shadow\)\,var\(--shadow-hairline\)\] {
3864
- box-shadow: var(--shadow), var(--shadow-hairline);
3865
- }
3866
-
3867
3853
  .outline {
3868
3854
  outline-style: var(--tw-outline-style);
3869
3855
  outline-width: 1px;
3870
3856
  }
3871
3857
 
3872
- .filter {
3858
+ .blur {
3859
+ --tw-blur: blur(8px);
3873
3860
  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, );
3874
3861
  }
3875
3862
 
3876
- .transition-\[color\] {
3877
- transition-property: color;
3878
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3879
- transition-duration: var(--tw-duration, var(--default-transition-duration));
3863
+ .filter {
3864
+ 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, );
3880
3865
  }
3881
3866
 
3882
3867
  .transition-all {
@@ -3885,8 +3870,8 @@
3885
3870
  transition-duration: var(--tw-duration, var(--default-transition-duration));
3886
3871
  }
3887
3872
 
3888
- .transition-opacity {
3889
- transition-property: opacity;
3873
+ .transition-colors {
3874
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
3890
3875
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3891
3876
  transition-duration: var(--tw-duration, var(--default-transition-duration));
3892
3877
  }
@@ -3896,167 +3881,11 @@
3896
3881
  transition-duration: .2s;
3897
3882
  }
3898
3883
 
3899
- .duration-\[var\(--transition-duration-basic\)\] {
3900
- --tw-duration: var(--transition-duration-basic);
3901
- transition-duration: var(--transition-duration-basic);
3902
- }
3903
-
3904
- .ease-\[var\(--transition-ease-basic\)\] {
3905
- --tw-ease: var(--transition-ease-basic);
3906
- transition-timing-function: var(--transition-ease-basic);
3907
- }
3908
-
3909
3884
  .select-none {
3910
3885
  -webkit-user-select: none;
3911
3886
  user-select: none;
3912
3887
  }
3913
3888
 
3914
- .before\:absolute:before {
3915
- content: var(--tw-content);
3916
- position: absolute;
3917
- }
3918
-
3919
- .before\:inset-0:before {
3920
- content: var(--tw-content);
3921
- inset: calc(var(--spacing) * 0);
3922
- }
3923
-
3924
- .before\:block:before {
3925
- content: var(--tw-content);
3926
- display: block;
3927
- }
3928
-
3929
- .before\:scale-100:before {
3930
- content: var(--tw-content);
3931
- --tw-scale-x: 100%;
3932
- --tw-scale-y: 100%;
3933
- --tw-scale-z: 100%;
3934
- scale: var(--tw-scale-x) var(--tw-scale-y);
3935
- }
3936
-
3937
- .before\:scale-\[0\.98\]:before {
3938
- content: var(--tw-content);
3939
- scale: .98;
3940
- }
3941
-
3942
- .before\:rounded-\[calc\(var\(--menu-radius\)-var\(--menu-gutter\)\)\]:before {
3943
- content: var(--tw-content);
3944
- border-radius: calc(var(--menu-radius) - var(--menu-gutter));
3945
- }
3946
-
3947
- .before\:rounded-\[inherit\]:before {
3948
- content: var(--tw-content);
3949
- border-radius: inherit;
3950
- }
3951
-
3952
- .before\:bg-\[var\(--menu-item-background-color\)\]:before {
3953
- content: var(--tw-content);
3954
- background-color: var(--menu-item-background-color);
3955
- }
3956
-
3957
- .before\:bg-transparent:before {
3958
- content: var(--tw-content);
3959
- background-color: #0000;
3960
- }
3961
-
3962
- .before\:opacity-0:before {
3963
- content: var(--tw-content);
3964
- opacity: 0;
3965
- }
3966
-
3967
- .before\:opacity-100:before {
3968
- content: var(--tw-content);
3969
- opacity: 1;
3970
- }
3971
-
3972
- .before\:shadow-\[0_0_0_1px_var\(--input-outline-border-color\)_inset\]:before {
3973
- content: var(--tw-content);
3974
- --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--input-outline-border-color)) inset;
3975
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3976
- }
3977
-
3978
- .before\:shadow-\[0_0_0_1px_var\(--input-outline-border-color-hover\)_inset\]:before {
3979
- content: var(--tw-content);
3980
- --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--input-outline-border-color-hover)) inset;
3981
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3982
- }
3983
-
3984
- .before\:transition-\[opacity\,background-color\,transform\,box-shadow\,border-color\]:before {
3985
- content: var(--tw-content);
3986
- transition-property: opacity, background-color, transform, box-shadow, border-color;
3987
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3988
- transition-duration: var(--tw-duration, var(--default-transition-duration));
3989
- }
3990
-
3991
- .before\:transition-\[opacity\,background-color\,transform\]:before {
3992
- content: var(--tw-content);
3993
- transition-property: opacity, background-color, transform;
3994
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3995
- transition-duration: var(--tw-duration, var(--default-transition-duration));
3996
- }
3997
-
3998
- .before\:duration-\[var\(--transition-duration-basic\)\]:before {
3999
- content: var(--tw-content);
4000
- --tw-duration: var(--transition-duration-basic);
4001
- transition-duration: var(--transition-duration-basic);
4002
- }
4003
-
4004
- .before\:ease-\[var\(--cubic-enter\)\]:before {
4005
- content: var(--tw-content);
4006
- --tw-ease: var(--cubic-enter);
4007
- transition-timing-function: var(--cubic-enter);
4008
- }
4009
-
4010
- .before\:ease-\[var\(--transition-ease-basic\)\]:before {
4011
- content: var(--tw-content);
4012
- --tw-ease: var(--transition-ease-basic);
4013
- transition-timing-function: var(--transition-ease-basic);
4014
- }
4015
-
4016
- .after\:pointer-events-none:after {
4017
- content: var(--tw-content);
4018
- pointer-events: none;
4019
- }
4020
-
4021
- .after\:absolute:after {
4022
- content: var(--tw-content);
4023
- position: absolute;
4024
- }
4025
-
4026
- .after\:inset-0:after {
4027
- content: var(--tw-content);
4028
- inset: calc(var(--spacing) * 0);
4029
- }
4030
-
4031
- .after\:block:after {
4032
- content: var(--tw-content);
4033
- display: block;
4034
- }
4035
-
4036
- .after\:rounded-\[inherit\]:after {
4037
- content: var(--tw-content);
4038
- border-radius: inherit;
4039
- }
4040
-
4041
- .after\:transition-\[transform\]:after {
4042
- content: var(--tw-content);
4043
- transition-property: transform;
4044
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4045
- transition-duration: var(--tw-duration, var(--default-transition-duration));
4046
- }
4047
-
4048
- .after\:duration-\[var\(--transition-duration-basic\)\]:after {
4049
- content: var(--tw-content);
4050
- --tw-duration: var(--transition-duration-basic);
4051
- transition-duration: var(--transition-duration-basic);
4052
- }
4053
-
4054
- .after\:ease-\[var\(--transition-ease-basic\)\]:after {
4055
- content: var(--tw-content);
4056
- --tw-ease: var(--transition-ease-basic);
4057
- transition-timing-function: var(--transition-ease-basic);
4058
- }
4059
-
4060
3889
  .empty\:hidden:empty {
4061
3890
  display: none;
4062
3891
  }
@@ -4066,14 +3895,12 @@
4066
3895
  background-color: #0000;
4067
3896
  }
4068
3897
 
4069
- .hover\:opacity-100:hover {
4070
- opacity: 1;
3898
+ .hover\:text-primary:hover {
3899
+ color: var(--color-text-primary);
4071
3900
  }
4072
3901
 
4073
- .hover\:before\:shadow-\[0_0_0_1px_var\(--input-outline-border-color-hover\)_inset\]:hover:before {
4074
- content: var(--tw-content);
4075
- --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--input-outline-border-color-hover)) inset;
4076
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3902
+ .hover\:opacity-100:hover {
3903
+ opacity: 1;
4077
3904
  }
4078
3905
  }
4079
3906
 
@@ -4082,28 +3909,6 @@
4082
3909
  outline-style: none;
4083
3910
  }
4084
3911
 
4085
- .focus-visible\:after\:outline:focus-visible:after {
4086
- content: var(--tw-content);
4087
- outline-style: var(--tw-outline-style);
4088
- outline-width: 1px;
4089
- }
4090
-
4091
- .focus-visible\:after\:outline-2:focus-visible:after {
4092
- content: var(--tw-content);
4093
- outline-style: var(--tw-outline-style);
4094
- outline-width: 2px;
4095
- }
4096
-
4097
- .focus-visible\:after\:outline-offset-\[-1px\]:focus-visible:after {
4098
- content: var(--tw-content);
4099
- outline-offset: -1px;
4100
- }
4101
-
4102
- .focus-visible\:after\:outline-\[var\(--color-ring\)\]:focus-visible:after {
4103
- content: var(--tw-content);
4104
- outline-color: var(--color-ring);
4105
- }
4106
-
4107
3912
  @media (min-width: 768px) {
4108
3913
  .md\:block {
4109
3914
  display: block;
@@ -4389,32 +4194,2802 @@
4389
4194
  syntax: "*";
4390
4195
  inherits: false
4391
4196
  }
4392
-
4393
- @property --tw-ease {
4394
- syntax: "*";
4395
- inherits: false
4197
+ @layer components {._Container_1a6nz_1 {
4198
+ display: flex;
4199
+ align-items: center;
4200
+ gap: var(--input-gap);
4201
+ width: 100%;
4202
+ border-radius: var(--input-radius);
4203
+ color: var(--input-text-color);
4204
+ cursor: text;
4205
+ /* NOTE: Whenever this is not 16px on mobile, zooming occurs. */
4206
+ font-size: var(--input-font-size);
4207
+ font-weight: var(--font-weight-normal);
4208
+ transition-duration: var(--transition-duration-basic);
4209
+ transition-property: color, box-shadow, background-color;
4210
+ transition-timing-function: var(--transition-ease-basic);
4396
4211
  }
4397
4212
 
4398
- @property --tw-content {
4399
- syntax: "*";
4400
- inherits: false;
4401
- initial-value: "";
4402
- }
4213
+ ._Container_1a6nz_1:where([data-optically-align="start"]) {
4214
+ margin-inline-start: calc(var(--input-gutter) * -1);
4215
+ }
4403
4216
 
4404
- @property --tw-scale-x {
4405
- syntax: "*";
4406
- inherits: false;
4407
- initial-value: 1;
4408
- }
4217
+ ._Container_1a6nz_1:where([data-optically-align="end"]) {
4218
+ margin-inline-end: calc(var(--input-gutter) * -1);
4219
+ }
4409
4220
 
4410
- @property --tw-scale-y {
4411
- syntax: "*";
4412
- inherits: false;
4413
- initial-value: 1;
4221
+ /* =============================================
4222
+ Outline variant
4223
+ ============================================= */
4224
+ ._Container_1a6nz_1:where([data-variant="outline"]) {
4225
+ /* NOTE: Don't add box-model size here, as the <input> defines all height sizing */
4226
+ box-shadow: 0 0 0 1px var(--input-outline-border-color) inset;
4227
+ }
4228
+ @media (hover: hover) and (pointer: fine) {._Container_1a6nz_1:where([data-variant="outline"]):not([data-disabled]):hover {
4229
+ box-shadow: 0 0 0 1px var(--input-outline-border-color-hover) inset;
4230
+ }
4414
4231
  }
4415
4232
 
4416
- @property --tw-scale-z {
4417
- syntax: "*";
4418
- inherits: false;
4419
- initial-value: 1;
4233
+ ._Container_1a6nz_1:where([data-variant="outline"]):not([data-disabled])[data-focused="true"] {
4234
+ box-shadow: 0 0 0 1px var(--input-outline-border-color-focus) inset;
4235
+ }
4236
+
4237
+ ._Container_1a6nz_1:where([data-variant="outline"]):not([data-disabled])[data-invalid] {
4238
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
4239
+ }
4240
+
4241
+ /* =============================================
4242
+ Soft variant
4243
+ ============================================= */
4244
+ ._Container_1a6nz_1:where([data-variant="soft"]) {
4245
+ background-color: var(--input-soft-background-color);
4246
+ }
4247
+ ._Container_1a6nz_1:where([data-variant="soft"]):not([data-disabled])[data-focused="true"] {
4248
+ box-shadow: 0 0 0 1px var(--input-soft-border-color-focus) inset;
4249
+ }
4250
+
4251
+ ._Container_1a6nz_1:where([data-variant="soft"]):not([data-disabled])[data-invalid] {
4252
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
4253
+ }
4254
+
4255
+ /* =============================================
4256
+ Invalid
4257
+ ============================================= */
4258
+ ._Container_1a6nz_1[data-invalid] ::-moz-selection {
4259
+ background-color: var(--red-a50);
4260
+ }
4261
+ ._Container_1a6nz_1[data-invalid] ::selection {
4262
+ background-color: var(--red-a50);
4263
+ }
4264
+
4265
+ /* =============================================
4266
+ Sizes
4267
+ ============================================= */
4268
+ ._Container_1a6nz_1:where([data-size="3xs"]) {
4269
+ --input-size: var(--control-size-3xs);
4270
+ --input-font-size: var(--control-font-size-sm);
4271
+ --input-radius: var(--control-radius-sm);
4272
+ --input-gutter: var(--control-gutter-xs);
4273
+ --input-gap: var(--input-gap-xs);
4274
+ --input-adornment-offset: -1px;
4275
+ }
4276
+
4277
+ ._Container_1a6nz_1:where([data-size="2xs"]) {
4278
+ --input-size: var(--control-size-2xs);
4279
+ --input-font-size: var(--control-font-size-sm);
4280
+ --input-radius: var(--control-radius-sm);
4281
+ --input-gutter: var(--control-gutter-xs);
4282
+ --input-gap: var(--input-gap-xs);
4283
+ --input-adornment-offset: -1px;
4284
+ }
4285
+
4286
+ ._Container_1a6nz_1:where([data-size="xs"]) {
4287
+ --input-size: var(--control-size-xs);
4288
+ --input-font-size: var(--control-font-size-md);
4289
+ --input-radius: var(--control-radius-sm);
4290
+ --input-gutter: var(--control-gutter-xs);
4291
+ --input-gap: var(--input-gap-sm);
4292
+ --input-adornment-offset: -1px;
4293
+ }
4294
+
4295
+ ._Container_1a6nz_1:where([data-size="sm"]) {
4296
+ --input-size: var(--control-size-sm);
4297
+ --input-font-size: var(--control-font-size-md);
4298
+ --input-radius: var(--control-radius-md);
4299
+ --input-gutter: var(--control-gutter-sm);
4300
+ --input-gap: var(--input-gap-md);
4301
+ --input-adornment-offset: -1px;
4302
+ }
4303
+
4304
+ ._Container_1a6nz_1:where([data-size="md"]) {
4305
+ --input-size: var(--control-size-md);
4306
+ --input-font-size: var(--control-font-size-md);
4307
+ --input-radius: var(--control-radius-md);
4308
+ --input-gutter: var(--control-gutter-md);
4309
+ --input-gap: var(--input-gap-md);
4310
+ }
4311
+
4312
+ ._Container_1a6nz_1:where([data-size="lg"]) {
4313
+ --input-size: var(--control-size-lg);
4314
+ --input-font-size: var(--control-font-size-md);
4315
+ --input-radius: var(--control-radius-md);
4316
+ --input-gutter: var(--control-gutter-md);
4317
+ --input-gap: var(--input-gap-md);
4318
+ }
4319
+
4320
+ ._Container_1a6nz_1:where([data-size="xl"]) {
4321
+ --input-size: var(--control-size-xl);
4322
+ --input-font-size: var(--control-font-size-lg);
4323
+ --input-radius: var(--control-radius-lg);
4324
+ --input-gutter: var(--control-gutter-lg);
4325
+ --input-gap: var(--input-gap-lg);
4326
+ }
4327
+
4328
+ ._Container_1a6nz_1:where([data-size="2xl"]) {
4329
+ --input-size: var(--control-size-2xl);
4330
+ --input-font-size: var(--control-font-size-lg);
4331
+ --input-radius: var(--control-radius-xl);
4332
+ --input-gutter: var(--control-gutter-xl);
4333
+ --input-gap: var(--input-gap-lg);
4334
+ --input-adornment-offset: -4px;
4335
+ }
4336
+
4337
+ ._Container_1a6nz_1:where([data-size="3xl"]) {
4338
+ --input-size: var(--control-size-3xl);
4339
+ --input-font-size: var(--control-font-size-lg);
4340
+ --input-radius: var(--control-radius-xl);
4341
+ --input-gutter: var(--control-gutter-xl);
4342
+ --input-gap: var(--input-gap-lg);
4343
+ --input-adornment-offset: -4px;
4344
+ }
4345
+
4346
+ /* =============================================
4347
+ Gutter sizes
4348
+ ============================================= */
4349
+ ._Container_1a6nz_1:where([data-gutter-size="2xs"]) {
4350
+ --input-gutter: var(--control-gutter-2xs);
4351
+ --input-adornment-offset: -1px;
4352
+ }
4353
+
4354
+ ._Container_1a6nz_1:where([data-gutter-size="xs"]) {
4355
+ --input-gutter: var(--control-gutter-xs);
4356
+ --input-adornment-offset: -1px;
4357
+ }
4358
+
4359
+ ._Container_1a6nz_1:where([data-gutter-size="sm"]) {
4360
+ --input-gutter: var(--control-gutter-sm);
4361
+ --input-adornment-offset: -2px;
4362
+ }
4363
+
4364
+ ._Container_1a6nz_1:where([data-gutter-size="md"]) {
4365
+ --input-gutter: var(--control-gutter-md);
4366
+ --input-adornment-offset: -2px;
4367
+ }
4368
+
4369
+ ._Container_1a6nz_1:where([data-gutter-size="lg"]) {
4370
+ --input-gutter: var(--control-gutter-lg);
4371
+ --input-adornment-offset: -2px;
4372
+ }
4373
+
4374
+ ._Container_1a6nz_1:where([data-gutter-size="xl"]) {
4375
+ --input-gutter: var(--control-gutter-xl);
4376
+ --input-adornment-offset: -4px;
4377
+ }
4378
+
4379
+ /* =============================================
4380
+ Pill
4381
+ ============================================= */
4382
+ ._Container_1a6nz_1:where([data-pill]) {
4383
+ --input-radius: var(--radius-full);
4384
+ }
4385
+
4386
+ /* =============================================
4387
+ Disabled
4388
+ ============================================= */
4389
+ ._Container_1a6nz_1[data-disabled] {
4390
+ cursor: not-allowed;
4391
+ opacity: 0.5;
4392
+ }
4393
+ /*
4394
+ * When adornments are present, gutter is applied to the container instead of the input.
4395
+ */
4396
+ ._Container_1a6nz_1:where([data-has-start-adornment]) {
4397
+ padding-left: var(--input-gutter);
4398
+ }
4399
+
4400
+ /* =============================================
4401
+ Gutter
4402
+ ============================================= */
4403
+
4404
+ ._Container_1a6nz_1:where([data-has-start-adornment][data-pill]) {
4405
+ padding-left: calc(var(--input-gutter) * var(--control-gutter-pill-scaling));
4406
+ }
4407
+
4408
+ ._Container_1a6nz_1:where([data-has-end-adornment]) {
4409
+ padding-right: var(--input-gutter);
4410
+ }
4411
+
4412
+ ._Container_1a6nz_1:where([data-has-end-adornment][data-pill]) {
4413
+ padding-right: calc(var(--input-gutter) * var(--control-gutter-pill-scaling));
4414
+ }
4415
+
4416
+ /* =============================================
4417
+ Adornments
4418
+ ============================================= */
4419
+ ._Container_1a6nz_1 > :first-child:not(input) {
4420
+ margin-left: var(--input-adornment-offset, -2px);
4421
+ }
4422
+
4423
+ ._Container_1a6nz_1 > :last-child:not(input) {
4424
+ margin-right: var(--input-adornment-offset, -2px);
4425
+ }._Input_1a6nz_229 {
4426
+ display: block;
4427
+ width: 100%;
4428
+ height: var(--input-size);
4429
+ /* `padding` is intrinsic to `.Input` when no adornments are present, for a few reasons. Autofill extensions are one such reason. */
4430
+ padding: 0 var(--input-gutter);
4431
+ border: 0;
4432
+ border-radius: 0;
4433
+ background: none;
4434
+ box-shadow: none;
4435
+ color: inherit;
4436
+ font-size: inherit;
4437
+ font-weight: inherit;
4438
+ line-height: inherit;
4439
+ }
4440
+
4441
+ ._Input_1a6nz_229:focus {
4442
+ outline: 0;
4443
+ }
4444
+
4445
+ ._Input_1a6nz_229:disabled {
4446
+ cursor: not-allowed;
4447
+ }
4448
+
4449
+ ._Input_1a6nz_229::-moz-placeholder {
4450
+ color: var(--input-placeholder-text-color);
4451
+ }
4452
+
4453
+ ._Input_1a6nz_229::placeholder {
4454
+ color: var(--input-placeholder-text-color);
4455
+ }
4456
+
4457
+ /* Applying an animation on autofill allows us to listen for the event in JS */
4458
+ ._Input_1a6nz_229:-webkit-autofill {
4459
+ animation: _native-autofill-in_1a6nz_1 1ms;
4460
+ }
4461
+
4462
+ ._Input_1a6nz_229:-webkit-autofill, ._Input_1a6nz_229:-webkit-autofill:focus, ._Input_1a6nz_229:-webkit-autofill:hover {
4463
+ color: var(--color-text) !important;
4464
+ -webkit-text-fill-color: var(--color-text) !important;
4465
+ /*
4466
+ * Prevent all color changes by delaying their effect for a very long time
4467
+ * We cannot beat the specificity of user-agent stylesheet declarations, so we must delay them.
4468
+ */
4469
+ -webkit-transition:
4470
+ background-color 0s 50000s,
4471
+ box-shadow 0s 50000s,
4472
+ filter 0s 50000s !important;
4473
+ transition:
4474
+ background-color 0s 50000s,
4475
+ box-shadow 0s 50000s,
4476
+ filter 0s 50000s !important;
4477
+ }
4478
+
4479
+ ._Input_1a6nz_229:-webkit-autofill-and-obscured, ._Input_1a6nz_229:-webkit-autofill-strong-password, ._Input_1a6nz_229:-webkit-autofill-strong-password-viewable {
4480
+ color: var(--color-text) !important;
4481
+ -webkit-text-fill-color: var(--color-text) !important;
4482
+ /*
4483
+ * Prevent all color changes by delaying their effect for a very long time
4484
+ * We cannot beat the specificity of user-agent stylesheet declarations, so we must delay them.
4485
+ */
4486
+ -webkit-transition:
4487
+ background-color 0s 50000s,
4488
+ box-shadow 0s 50000s,
4489
+ filter 0s 50000s !important;
4490
+ transition:
4491
+ background-color 0s 50000s,
4492
+ box-shadow 0s 50000s,
4493
+ filter 0s 50000s !important;
4494
+ }
4495
+
4496
+ /* Prevent strange autofill size adjustments */
4497
+ ._Input_1a6nz_229:-webkit-autofill::first-line {
4498
+ font-size: inherit !important;
4499
+ -webkit-transition: font-size 0s 50000s !important;
4500
+ transition: font-size 0s 50000s !important;
4501
+ }
4502
+
4503
+ /* Hide up/down arrows */
4504
+ ._Input_1a6nz_229[type="number"] {
4505
+ /* Firefox */
4506
+ -webkit-appearance: textfield;
4507
+ -moz-appearance: textfield;
4508
+ appearance: textfield;
4509
+
4510
+ /* Chrome, Safari, Edge, Opera */
4511
+ }
4512
+ ._Input_1a6nz_229[type="number"]::-webkit-outer-spin-button,
4513
+ ._Input_1a6nz_229[type="number"]::-webkit-inner-spin-button {
4514
+ margin: 0;
4515
+ -webkit-appearance: none;
4516
+ appearance: none;
4517
+ }
4518
+
4519
+ /* Dynamic pill spacing */
4520
+ :where(._Container_1a6nz_1[data-pill]) ._Input_1a6nz_229 {
4521
+ padding: 0 calc(var(--input-gutter) * var(--control-gutter-pill-scaling));
4522
+ }
4523
+
4524
+ :where(._Container_1a6nz_1[data-has-start-adornment]) ._Input_1a6nz_229 {
4525
+ padding-left: 0;
4526
+ }
4527
+
4528
+ :where(._Container_1a6nz_1[data-has-end-adornment]) ._Input_1a6nz_229 {
4529
+ padding-right: 0;
4530
+ }@keyframes _native-autofill-in_1a6nz_1 {
4531
+ 0% {
4532
+ opacity: 1;
4533
+ }
4534
+
4535
+ 100% {
4536
+ opacity: 1;
4537
+ }
4538
+ }
4539
+ }
4540
+ @layer components {._LoadingIndicator_7yl6f_1 {
4541
+ position: relative;
4542
+ width: var(--indicator-size, 1em);
4543
+ height: var(--indicator-size, 1em);
4544
+ animation: _rotate_7yl6f_1 var(--indicator-rotate-duration, 0.8s) linear infinite;
4545
+ transition: opacity 0.15s ease;
4546
+ }
4547
+
4548
+ ._LoadingIndicator_7yl6f_1::before {
4549
+ position: absolute;
4550
+ inset: 0;
4551
+ display: block;
4552
+ border: var(--indicator-stroke, 2px) solid var(--indicator-color, currentcolor);
4553
+ border-radius: 50%;
4554
+ content: "";
4555
+ -webkit-mask-image: conic-gradient(rgb(0 0 0 / 0%), rgb(0 0 0));
4556
+ mask-image: conic-gradient(rgb(0 0 0 / 0%), rgb(0 0 0));
4557
+ }
4558
+
4559
+ ._LoadingIndicator_7yl6f_1::after {
4560
+ position: absolute;
4561
+ top: 0;
4562
+ left: 50%;
4563
+ display: block;
4564
+ width: var(--indicator-stroke, 2px);
4565
+ height: var(--indicator-stroke, 2px);
4566
+ border-radius: 100%;
4567
+ margin-left: calc(var(--indicator-stroke, 2px) * -1 / 2);
4568
+ background-color: var(--indicator-color, currentcolor);
4569
+ content: "";
4570
+ }@keyframes _rotate_7yl6f_1 {
4571
+ 0% {
4572
+ transform: rotate(0deg);
4573
+ }
4574
+
4575
+ 100% {
4576
+ transform: rotate(1turn);
4577
+ }
4578
+ }
4579
+ }
4580
+ @layer components {._TransitionGroupChild_1hv1z_1 {
4581
+ display: block;
4582
+ }
4583
+ }
4584
+ @layer components {._Button_1864l_1 {
4585
+ position: relative;
4586
+ display: inline-block;
4587
+ gap: var(--button-gap); /* Propagates down to .ButtonInner */
4588
+ flex-shrink: 0;
4589
+ height: var(--button-size);
4590
+ padding: 0 var(--button-gutter);
4591
+ border-radius: var(--button-radius);
4592
+ cursor: pointer;
4593
+ font-size: var(--button-font-size);
4594
+ font-weight: var(--button-font-weight);
4595
+ line-height: 1;
4596
+ transition-duration: var(--transition-duration-basic);
4597
+ transition-property: opacity, color;
4598
+ transition-timing-function: var(--transition-ease-basic);
4599
+ -webkit-user-select: none;
4600
+ -moz-user-select: none;
4601
+ user-select: none;
4602
+ white-space: nowrap;
4603
+
4604
+ /* =============================================
4605
+ Disabled
4606
+ ============================================= */
4607
+ }
4608
+
4609
+ /* Background / shape of the button */
4610
+ ._Button_1864l_1::before {
4611
+ position: absolute;
4612
+ inset: 0;
4613
+ display: block;
4614
+ border-radius: inherit;
4615
+ content: "";
4616
+ transition-duration: var(--transition-duration-basic);
4617
+ transition-property: opacity, background-color, transform, box-shadow, border-color;
4618
+ transition-timing-function: var(--transition-ease-basic);
4619
+ /* Composite layer seems required in some cases to avoid visual artifacts. */
4620
+ will-change: transform;
4621
+ }
4622
+
4623
+ /* Focus ring */
4624
+ ._Button_1864l_1::after {
4625
+ position: absolute;
4626
+ inset: 0;
4627
+ display: block;
4628
+ border-radius: inherit;
4629
+ content: "";
4630
+ pointer-events: none;
4631
+ transition-duration: var(--transition-duration-basic);
4632
+ transition-property: transform;
4633
+ transition-timing-function: var(--transition-ease-basic);
4634
+ /* Composite layer seems required in some cases to avoid visual artifacts. */
4635
+ will-change: transform;
4636
+ }
4637
+
4638
+ ._Button_1864l_1:focus {
4639
+ outline: none;
4640
+ }
4641
+ ._Button_1864l_1:focus-visible::after {
4642
+ outline: 2px solid var(--button-ring-color, var(--color-ring));
4643
+ outline-offset: var(--button-ring-offset, 2px);
4644
+ }
4645
+
4646
+ ._Button_1864l_1 svg:where(:not([data-no-autosize])) {
4647
+ width: var(--button-icon-size);
4648
+ height: var(--button-icon-size);
4649
+ }
4650
+
4651
+ :where(._Button_1864l_1 svg:where(:not([data-no-autosize])):first-child:not(:only-child)) {
4652
+ margin-left: var(--button-icon-offset, -1px);
4653
+ }
4654
+
4655
+ :where(._Button_1864l_1 svg:where(:not([data-no-autosize])):last-child:not(:only-child)) {
4656
+ margin-right: var(--button-icon-offset, -1px);
4657
+ }
4658
+
4659
+ /* =============================================
4660
+ Optical alignment
4661
+ ============================================= */
4662
+ ._Button_1864l_1:where([data-optically-align="start"]) {
4663
+ margin-inline-start: calc(var(--button-gutter) * -1);
4664
+ }
4665
+
4666
+ ._Button_1864l_1:where([data-optically-align="end"]) {
4667
+ margin-inline-end: calc(var(--button-gutter) * -1);
4668
+ }
4669
+
4670
+ /* Uniform buttons zero-out button-gutter, requiring custom calcs */
4671
+ ._Button_1864l_1:where([data-optically-align="start"][data-uniform]) {
4672
+ margin-inline-start: calc(((var(--button-size) - var(--button-icon-size)) / 2) * -1);
4673
+ }
4674
+
4675
+ ._Button_1864l_1:where([data-optically-align="end"][data-uniform]) {
4676
+ margin-inline-end: calc(((var(--button-size) - var(--button-icon-size)) / 2) * -1);
4677
+ }
4678
+
4679
+ /* =============================================
4680
+ Sizes
4681
+ ============================================= */
4682
+ ._Button_1864l_1:where([data-size="3xs"]) {
4683
+ --button-size: var(--control-size-3xs);
4684
+ --button-gutter: var(--control-gutter-2xs);
4685
+ --button-font-size: var(--control-font-size-sm);
4686
+ --button-icon-size: var(--control-icon-size-xs);
4687
+ --button-gap: var(--button-gap-sm);
4688
+ --button-radius: var(--control-radius-sm);
4689
+ --button-icon-offset: -1px;
4690
+ --indicator-size: 11px;
4691
+ --circular-progress-size: 11px;
4692
+ }
4693
+
4694
+ ._Button_1864l_1:where([data-size="2xs"]) {
4695
+ --button-size: var(--control-size-2xs);
4696
+ --button-gutter: var(--control-gutter-xs);
4697
+ --button-font-size: var(--control-font-size-sm);
4698
+ --button-icon-size: var(--control-icon-size-sm);
4699
+ --button-gap: var(--button-gap-md);
4700
+ --button-radius: var(--control-radius-sm);
4701
+ --button-icon-offset: -1px;
4702
+ --indicator-size: 12px;
4703
+ --circular-progress-size: 12px;
4704
+ }
4705
+
4706
+ ._Button_1864l_1:where([data-size="xs"]) {
4707
+ --button-size: var(--control-size-xs);
4708
+ --button-gutter: var(--control-gutter-xs);
4709
+ --button-font-size: var(--control-font-size-md);
4710
+ --button-icon-size: var(--control-icon-size-sm);
4711
+ --button-gap: var(--button-gap-md);
4712
+ --button-radius: var(--control-radius-sm);
4713
+ --button-icon-offset: -1px;
4714
+ --indicator-size: 13px;
4715
+ --circular-progress-size: 14px;
4716
+ }
4717
+
4718
+ ._Button_1864l_1:where([data-size="sm"]) {
4719
+ --button-size: var(--control-size-sm);
4720
+ --button-gutter: var(--control-gutter-sm);
4721
+ --button-font-size: var(--control-font-size-md);
4722
+ --button-icon-size: var(--control-icon-size-md);
4723
+ --button-gap: var(--button-gap-md);
4724
+ --button-radius: var(--control-radius-sm);
4725
+ --button-icon-offset: -1px;
4726
+ --indicator-size: 15px;
4727
+ --circular-progress-size: 15px;
4728
+ }
4729
+
4730
+ ._Button_1864l_1:where([data-size="md"]) {
4731
+ --button-size: var(--control-size-md);
4732
+ --button-gutter: var(--control-gutter-md);
4733
+ --button-font-size: var(--control-font-size-md);
4734
+ --button-icon-size: var(--control-icon-size-md);
4735
+ --button-gap: var(--button-gap-lg);
4736
+ --button-radius: var(--control-radius-md);
4737
+ --button-icon-offset: -1px;
4738
+ --indicator-size: 16px;
4739
+ --circular-progress-size: 16px;
4740
+ }
4741
+
4742
+ ._Button_1864l_1:where([data-size="lg"]) {
4743
+ --button-size: var(--control-size-lg);
4744
+ --button-gutter: var(--control-gutter-md);
4745
+ --button-font-size: var(--control-font-size-md);
4746
+ --button-icon-size: var(--control-icon-size-md);
4747
+ --button-gap: var(--button-gap-lg);
4748
+ --button-radius: var(--control-radius-md);
4749
+ --button-icon-offset: -1px;
4750
+ --indicator-size: 16px;
4751
+ --circular-progress-size: 16px;
4752
+ }
4753
+
4754
+ ._Button_1864l_1:where([data-size="xl"]) {
4755
+ --button-size: var(--control-size-xl);
4756
+ --button-gutter: var(--control-gutter-lg);
4757
+ --button-font-size: var(--control-font-size-md);
4758
+ --button-icon-size: var(--control-icon-size-md);
4759
+ --button-gap: var(--button-gap-lg);
4760
+ --button-radius: var(--control-radius-lg);
4761
+ --button-icon-offset: -1px;
4762
+ --indicator-size: 18px;
4763
+ --circular-progress-size: 18px;
4764
+ }
4765
+
4766
+ ._Button_1864l_1:where([data-size="2xl"]) {
4767
+ --button-size: var(--control-size-2xl);
4768
+ --button-gutter: var(--control-gutter-lg);
4769
+ --button-font-size: var(--control-font-size-lg);
4770
+ --button-icon-size: var(--control-icon-size-lg);
4771
+ --button-gap: var(--button-gap-lg);
4772
+ --button-radius: var(--control-radius-xl);
4773
+ --button-icon-offset: -2px;
4774
+ --indicator-size: 18px;
4775
+ --circular-progress-size: 18px;
4776
+ }
4777
+
4778
+ ._Button_1864l_1:where([data-size="3xl"]) {
4779
+ --button-size: var(--control-size-3xl);
4780
+ --button-gutter: var(--control-gutter-xl);
4781
+ --button-font-size: var(--control-font-size-lg);
4782
+ --button-icon-size: var(--control-icon-size-lg);
4783
+ --button-gap: var(--button-gap-lg);
4784
+ --button-radius: var(--control-radius-xl);
4785
+ --button-icon-offset: -2px;
4786
+ --indicator-size: 20px;
4787
+ --circular-progress-size: 20px;
4788
+ }
4789
+
4790
+ /* =============================================
4791
+ Gutter sizes
4792
+ ============================================= */
4793
+ ._Button_1864l_1:where([data-gutter-size="2xs"]) {
4794
+ --button-gutter: var(--control-gutter-2xs);
4795
+ }
4796
+
4797
+ ._Button_1864l_1:where([data-gutter-size="xs"]) {
4798
+ --button-gutter: var(--control-gutter-xs);
4799
+ }
4800
+
4801
+ ._Button_1864l_1:where([data-gutter-size="sm"]) {
4802
+ --button-gutter: var(--control-gutter-sm);
4803
+ }
4804
+
4805
+ ._Button_1864l_1:where([data-gutter-size="md"]) {
4806
+ --button-gutter: var(--control-gutter-md);
4807
+ }
4808
+
4809
+ ._Button_1864l_1:where([data-gutter-size="lg"]) {
4810
+ --button-gutter: var(--control-gutter-lg);
4811
+ }
4812
+
4813
+ ._Button_1864l_1:where([data-gutter-size="xl"]) {
4814
+ --button-gutter: var(--control-gutter-xl);
4815
+ }
4816
+
4817
+ /* =============================================
4818
+ Icon sizes
4819
+ ============================================= */
4820
+ ._Button_1864l_1:where([data-icon-size="sm"]) {
4821
+ --button-icon-size: var(--control-icon-size-sm);
4822
+ }
4823
+
4824
+ ._Button_1864l_1:where([data-icon-size="md"]) {
4825
+ --button-icon-size: var(--control-icon-size-md);
4826
+ }
4827
+
4828
+ ._Button_1864l_1:where([data-icon-size="lg"]) {
4829
+ --button-icon-size: var(--control-icon-size-lg);
4830
+ }
4831
+
4832
+ ._Button_1864l_1:where([data-icon-size="xl"]) {
4833
+ --button-icon-size: var(--control-icon-size-xl);
4834
+ }
4835
+
4836
+ ._Button_1864l_1:where([data-icon-size="2xl"]) {
4837
+ --button-icon-size: var(--control-icon-size-2xl);
4838
+ }
4839
+
4840
+ /* =============================================
4841
+ Pill
4842
+ ============================================= */
4843
+ ._Button_1864l_1:where([data-pill]) {
4844
+ --button-radius: var(--radius-full);
4845
+
4846
+ padding: 0 calc(var(--button-gutter) * var(--control-gutter-pill-scaling));
4847
+ }
4848
+
4849
+ /* =============================================
4850
+ Block
4851
+ ============================================= */
4852
+ ._Button_1864l_1:where([data-block]) {
4853
+ width: 100%;
4854
+ }
4855
+
4856
+ /* =============================================
4857
+ Uniform
4858
+ ============================================= */
4859
+ ._Button_1864l_1[data-uniform] {
4860
+ --button-gutter: 0;
4861
+
4862
+ width: var(--button-size);
4863
+ }
4864
+
4865
+ /* =============================================
4866
+ Ghost variant
4867
+ ============================================= */
4868
+ ._Button_1864l_1[data-variant="ghost"] {
4869
+ --button-ring-offset: -1px;
4870
+
4871
+ color: var(--button-text-color);
4872
+ }
4873
+
4874
+ ._Button_1864l_1[data-variant="ghost"]::before {
4875
+ background-color: var(--button-background-color);
4876
+ opacity: 0;
4877
+ transform: scale(var(--scale));
4878
+ }
4879
+
4880
+ ._Button_1864l_1[data-variant="ghost"][aria-expanded="true"],
4881
+ ._Button_1864l_1[data-variant="ghost"][data-state="open"] {
4882
+ color: var(--button-text-color-hover);
4883
+ }
4884
+
4885
+ ._Button_1864l_1[data-variant="ghost"][aria-expanded="true"]::before, ._Button_1864l_1[data-variant="ghost"][data-state="open"]::before {
4886
+ /* Slightly deemphasize */
4887
+ opacity: 0.6;
4888
+ transform: scale(1);
4889
+ }
4890
+
4891
+ ._Button_1864l_1[data-variant="ghost"][data-selected] {
4892
+ color: var(--button-text-color-hover);
4893
+ }
4894
+
4895
+ ._Button_1864l_1[data-variant="ghost"][data-selected]::before {
4896
+ opacity: 1;
4897
+ transform: scale(1);
4898
+ }
4899
+ @media (hover: hover) and (pointer: fine) {._Button_1864l_1[data-variant="ghost"]:where(:not([data-disabled])):hover {
4900
+ color: var(--button-text-color-hover);
4901
+ }
4902
+
4903
+ ._Button_1864l_1[data-variant="ghost"]:where(:not([data-disabled])):hover::before {
4904
+ opacity: 1;
4905
+ transform: scale(1);
4906
+ }
4907
+ }
4908
+ ._Button_1864l_1[data-variant="ghost"]:where(:not([data-disabled])):active::before {
4909
+ background-color: var(--button-background-color-active);
4910
+ opacity: 1;
4911
+ transform: scale(var(--scale));
4912
+ }
4913
+
4914
+ ._Button_1864l_1[data-variant="ghost"]:where(:not([data-disabled])):active::after {
4915
+ transform: scale(var(--scale));
4916
+ }
4917
+
4918
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="primary"]) {
4919
+ --button-background-color: var(--color-background-primary-ghost-hover);
4920
+ --button-background-color-active: var(--color-background-primary-ghost-active);
4921
+ --button-text-color: var(--color-text-primary-ghost);
4922
+ --button-text-color-hover: var(--color-text-primary-ghost-hover);
4923
+ --button-ring-color: var(--color-ring-primary-ghost);
4924
+ }
4925
+
4926
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="secondary"]) {
4927
+ --button-background-color: var(--color-background-secondary-ghost-hover);
4928
+ --button-background-color-active: var(--color-background-secondary-ghost-active);
4929
+ --button-text-color: var(--color-text-secondary-ghost);
4930
+ --button-text-color-hover: var(--color-text-secondary-ghost-hover);
4931
+ --button-ring-color: var(--color-ring-secondary-ghost);
4932
+ }
4933
+
4934
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="danger"]) {
4935
+ --button-background-color: var(--color-background-danger-ghost-hover);
4936
+ --button-background-color-active: var(--color-background-danger-ghost-active);
4937
+ --button-text-color: var(--color-text-danger-ghost);
4938
+ --button-text-color-hover: var(--color-text-danger-ghost-hover);
4939
+ --button-ring-color: var(--color-ring-danger-ghost);
4940
+ }
4941
+
4942
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="success"]) {
4943
+ --button-background-color: var(--color-background-success-ghost-hover);
4944
+ --button-background-color-active: var(--color-background-success-ghost-active);
4945
+ --button-text-color: var(--color-text-success-ghost);
4946
+ --button-text-color-hover: var(--color-text-success-ghost-hover);
4947
+ --button-ring-color: var(--color-ring-success-ghost);
4948
+ }
4949
+
4950
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="warning"]) {
4951
+ --button-background-color: var(--color-background-warning-ghost-hover);
4952
+ --button-background-color-active: var(--color-background-warning-ghost-active);
4953
+ --button-text-color: var(--color-text-warning-ghost);
4954
+ --button-text-color-hover: var(--color-text-warning-ghost-hover);
4955
+ --button-ring-color: var(--color-ring-warning-ghost);
4956
+ }
4957
+
4958
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="caution"]) {
4959
+ --button-background-color: var(--color-background-caution-ghost-hover);
4960
+ --button-background-color-active: var(--color-background-caution-ghost-active);
4961
+ --button-text-color: var(--color-text-caution-ghost);
4962
+ --button-text-color-hover: var(--color-text-caution-ghost-hover);
4963
+ --button-ring-color: var(--color-ring-caution-ghost);
4964
+ }
4965
+
4966
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="info"]) {
4967
+ --button-background-color: var(--color-background-info-ghost-hover);
4968
+ --button-background-color-active: var(--color-background-info-ghost-active);
4969
+ --button-text-color: var(--color-text-info-ghost);
4970
+ --button-text-color-hover: var(--color-text-info-ghost-hover);
4971
+ --button-ring-color: var(--color-ring-info-ghost);
4972
+ }
4973
+
4974
+ ._Button_1864l_1[data-variant="ghost"]:where([data-color="discovery"]) {
4975
+ --button-background-color: var(--color-background-discovery-ghost-hover);
4976
+ --button-background-color-active: var(--color-background-discovery-ghost-active);
4977
+ --button-text-color: var(--color-text-discovery-ghost);
4978
+ --button-text-color-hover: var(--color-text-discovery-ghost-hover);
4979
+ --button-ring-color: var(--color-ring-discovery-ghost);
4980
+ }
4981
+
4982
+ /* =============================================
4983
+ Solid variant
4984
+ ============================================= */
4985
+ ._Button_1864l_1[data-variant="solid"] {
4986
+ color: var(--button-text-color);
4987
+ }
4988
+
4989
+ ._Button_1864l_1[data-variant="solid"]::before {
4990
+ background-color: var(--button-background-color);
4991
+ }
4992
+ ._Button_1864l_1[data-variant="solid"][aria-expanded="true"]::before, ._Button_1864l_1[data-variant="solid"][data-state="open"]::before, ._Button_1864l_1[data-variant="solid"][data-selected]::before {
4993
+ background-color: var(--button-background-color-hover);
4994
+ }
4995
+ @media (hover: hover) and (pointer: fine) {
4996
+ ._Button_1864l_1[data-variant="solid"]:where(:not([data-disabled])):hover::before {
4997
+ background-color: var(--button-background-color-hover);
4998
+ }
4999
+ }
5000
+ ._Button_1864l_1[data-variant="solid"]:where(:not([data-disabled])):active::before {
5001
+ background-color: var(--button-background-color-active);
5002
+ }
5003
+
5004
+ ._Button_1864l_1[data-variant="solid"]:where(:not([data-disabled])):active::before,
5005
+ ._Button_1864l_1[data-variant="solid"]:where(:not([data-disabled])):active::after {
5006
+ transform: scale(var(--scale));
5007
+ }
5008
+
5009
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="primary"]) {
5010
+ --button-background-color: var(--color-background-primary-solid);
5011
+ --button-background-color-hover: var(--color-background-primary-solid-hover);
5012
+ --button-background-color-active: var(--color-background-primary-solid-active);
5013
+ --button-text-color: var(--color-text-primary-solid);
5014
+ --button-ring-color: var(--color-ring-primary-solid);
5015
+ }
5016
+
5017
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="secondary"]) {
5018
+ --button-background-color: var(--color-background-secondary-solid);
5019
+ --button-background-color-hover: var(--color-background-secondary-solid-hover);
5020
+ --button-background-color-active: var(--color-background-secondary-solid-active);
5021
+ --button-text-color: var(--color-text-secondary-solid);
5022
+ --button-ring-color: var(--color-ring-secondary-solid);
5023
+ }
5024
+
5025
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="success"]) {
5026
+ --button-background-color: var(--color-background-success-solid);
5027
+ --button-background-color-hover: var(--color-background-success-solid-hover);
5028
+ --button-background-color-active: var(--color-background-success-solid-active);
5029
+ --button-text-color: var(--color-text-success-solid);
5030
+ --button-ring-color: var(--color-ring-success-solid);
5031
+ }
5032
+
5033
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="danger"]) {
5034
+ --button-background-color: var(--color-background-danger-solid);
5035
+ --button-background-color-hover: var(--color-background-danger-solid-hover);
5036
+ --button-background-color-active: var(--color-background-danger-solid-active);
5037
+ --button-text-color: var(--color-text-danger-solid);
5038
+ --button-ring-color: var(--color-ring-danger-solid);
5039
+ }
5040
+
5041
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="warning"]) {
5042
+ --button-background-color: var(--color-background-warning-solid);
5043
+ --button-background-color-hover: var(--color-background-warning-solid-hover);
5044
+ --button-background-color-active: var(--color-background-warning-solid-active);
5045
+ --button-text-color: var(--color-text-warning-solid);
5046
+ --button-ring-color: var(--color-ring-warning-solid);
5047
+ }
5048
+
5049
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="caution"]) {
5050
+ --button-background-color: var(--color-background-caution-solid);
5051
+ --button-background-color-hover: var(--color-background-caution-solid-hover);
5052
+ --button-background-color-active: var(--color-background-caution-solid-active);
5053
+ --button-text-color: var(--color-text-caution-solid);
5054
+ --button-ring-color: var(--color-ring-caution-solid);
5055
+ }
5056
+
5057
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="info"]) {
5058
+ --button-background-color: var(--color-background-info-solid);
5059
+ --button-background-color-hover: var(--color-background-info-solid-hover);
5060
+ --button-background-color-active: var(--color-background-info-solid-active);
5061
+ --button-text-color: var(--color-text-info-solid);
5062
+ --button-ring-color: var(--color-ring-info-solid);
5063
+ }
5064
+
5065
+ ._Button_1864l_1[data-variant="solid"]:where([data-color="discovery"]) {
5066
+ --button-background-color: var(--color-background-discovery-solid);
5067
+ --button-background-color-hover: var(--color-background-discovery-solid-hover);
5068
+ --button-background-color-active: var(--color-background-discovery-solid-active);
5069
+ --button-text-color: var(--color-text-discovery-solid);
5070
+ --button-ring-color: var(--color-ring-discovery-solid);
5071
+ }
5072
+
5073
+ /* =============================================
5074
+ Soft variant
5075
+ ============================================= */
5076
+ ._Button_1864l_1[data-variant="soft"] {
5077
+ color: var(--button-text-color);
5078
+ }
5079
+
5080
+ ._Button_1864l_1[data-variant="soft"]::before {
5081
+ background-color: var(--button-background-color);
5082
+ }
5083
+ ._Button_1864l_1[data-variant="soft"][aria-expanded="true"]::before, ._Button_1864l_1[data-variant="soft"][data-state="open"]::before, ._Button_1864l_1[data-variant="soft"][data-selected]::before {
5084
+ background-color: var(--button-background-color-hover);
5085
+ }
5086
+ @media (hover: hover) and (pointer: fine) {
5087
+ ._Button_1864l_1[data-variant="soft"]:where(:not([data-disabled])):hover::before {
5088
+ background-color: var(--button-background-color-hover);
5089
+ }
5090
+ }
5091
+ ._Button_1864l_1[data-variant="soft"]:where(:not([data-disabled])):active::before {
5092
+ background-color: var(--button-background-color-active);
5093
+ }
5094
+
5095
+ ._Button_1864l_1[data-variant="soft"]:where(:not([data-disabled])):active::before,
5096
+ ._Button_1864l_1[data-variant="soft"]:where(:not([data-disabled])):active::after {
5097
+ transform: scale(var(--scale));
5098
+ }
5099
+
5100
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="primary"]) {
5101
+ --button-background-color: var(--color-background-primary-soft-alpha);
5102
+ --button-background-color-hover: var(--color-background-primary-soft-alpha-hover);
5103
+ --button-background-color-active: var(--color-background-primary-soft-alpha-active);
5104
+ --button-text-color: var(--color-text-primary-soft);
5105
+ --button-ring-color: var(--color-ring-primary-soft);
5106
+ }
5107
+
5108
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="secondary"]) {
5109
+ --button-background-color: var(--color-background-secondary-soft-alpha);
5110
+ --button-background-color-hover: var(--color-background-secondary-soft-alpha-hover);
5111
+ --button-background-color-active: var(--color-background-secondary-soft-alpha-active);
5112
+ --button-text-color: var(--color-text-secondary-soft);
5113
+ --button-ring-color: var(--color-ring-secondary-soft);
5114
+ }
5115
+
5116
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="success"]) {
5117
+ --button-background-color: var(--color-background-success-soft-alpha);
5118
+ --button-background-color-hover: var(--color-background-success-soft-alpha-hover);
5119
+ --button-background-color-active: var(--color-background-success-soft-alpha-active);
5120
+ --button-text-color: var(--color-text-success-soft);
5121
+ --button-ring-color: var(--color-ring-success-soft);
5122
+ }
5123
+
5124
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="danger"]) {
5125
+ --button-background-color: var(--color-background-danger-soft-alpha);
5126
+ --button-background-color-hover: var(--color-background-danger-soft-alpha-hover);
5127
+ --button-background-color-active: var(--color-background-danger-soft-alpha-active);
5128
+ --button-text-color: var(--color-text-danger-soft);
5129
+ --button-ring-color: var(--color-ring-danger-soft);
5130
+ }
5131
+
5132
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="warning"]) {
5133
+ --button-background-color: var(--color-background-warning-soft-alpha);
5134
+ --button-background-color-hover: var(--color-background-warning-soft-alpha-hover);
5135
+ --button-background-color-active: var(--color-background-warning-soft-alpha-active);
5136
+ --button-text-color: var(--color-text-warning-soft);
5137
+ --button-ring-color: var(--color-ring-warning-soft);
5138
+ }
5139
+
5140
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="caution"]) {
5141
+ --button-background-color: var(--color-background-caution-soft-alpha);
5142
+ --button-background-color-hover: var(--color-background-caution-soft-alpha-hover);
5143
+ --button-background-color-active: var(--color-background-caution-soft-alpha-active);
5144
+ --button-text-color: var(--color-text-caution-soft);
5145
+ --button-ring-color: var(--color-ring-caution-soft);
5146
+ }
5147
+
5148
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="info"]) {
5149
+ --button-background-color: var(--color-background-info-soft-alpha);
5150
+ --button-background-color-hover: var(--color-background-info-soft-alpha-hover);
5151
+ --button-background-color-active: var(--color-background-info-soft-alpha-active);
5152
+ --button-text-color: var(--color-text-info-soft);
5153
+ --button-ring-color: var(--color-ring-info-soft);
5154
+ }
5155
+
5156
+ ._Button_1864l_1[data-variant="soft"]:where([data-color="discovery"]) {
5157
+ --button-background-color: var(--color-background-discovery-soft-alpha);
5158
+ --button-background-color-hover: var(--color-background-discovery-soft-alpha-hover);
5159
+ --button-background-color-active: var(--color-background-discovery-soft-alpha-active);
5160
+ --button-text-color: var(--color-text-discovery-soft);
5161
+ --button-ring-color: var(--color-ring-discovery-soft);
5162
+ }
5163
+
5164
+ /* =============================================
5165
+ Outline variant
5166
+ ============================================= */
5167
+ ._Button_1864l_1[data-variant="outline"] {
5168
+ --button-ring-offset: -1px;
5169
+
5170
+ color: var(--button-text-color);
5171
+ }
5172
+
5173
+ ._Button_1864l_1[data-variant="outline"]::before {
5174
+ background-color: transparent;
5175
+ box-shadow:
5176
+ 0 0 0 1px var(--button-border-color) inset,
5177
+ var(--button-shadow-custom, 0 0 #00000000);
5178
+ }
5179
+
5180
+ ._Button_1864l_1[data-variant="outline"][aria-expanded="true"],
5181
+ ._Button_1864l_1[data-variant="outline"][data-state="open"],
5182
+ ._Button_1864l_1[data-variant="outline"][data-selected] {
5183
+ color: var(--button-text-color-hover);
5184
+ }
5185
+
5186
+ ._Button_1864l_1[data-variant="outline"][aria-expanded="true"]::before, ._Button_1864l_1[data-variant="outline"][data-state="open"]::before, ._Button_1864l_1[data-variant="outline"][data-selected]::before {
5187
+ background-color: var(--button-background-color-hover);
5188
+ box-shadow:
5189
+ 0 0 0 1px var(--button-border-color-hover) inset,
5190
+ var(--button-shadow-custom, 0 0 #00000000);
5191
+ }
5192
+ @media (hover: hover) and (pointer: fine) {._Button_1864l_1[data-variant="outline"]:where(:not([data-disabled])):hover {
5193
+ color: var(--button-text-color-hover);
5194
+ }
5195
+
5196
+ ._Button_1864l_1[data-variant="outline"]:where(:not([data-disabled])):hover::before {
5197
+ background-color: var(--button-background-color-hover);
5198
+ box-shadow:
5199
+ 0 0 0 1px var(--button-border-color-hover) inset,
5200
+ var(--button-shadow-custom, 0 0 #00000000);
5201
+ }
5202
+ }
5203
+ ._Button_1864l_1[data-variant="outline"]:where(:not([data-disabled])):active::before {
5204
+ background-color: var(--button-background-color-active);
5205
+ transform: scale(var(--scale));
5206
+ }
5207
+
5208
+ ._Button_1864l_1[data-variant="outline"]:where(:not([data-disabled])):active::after {
5209
+ transform: scale(var(--scale));
5210
+ }
5211
+
5212
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="primary"]) {
5213
+ --button-background-color-hover: var(--color-background-primary-outline-hover);
5214
+ --button-background-color-active: var(--color-background-primary-outline-active);
5215
+ --button-border-color: var(--color-border-primary-outline);
5216
+ --button-border-color-hover: var(--color-border-primary-outline-hover);
5217
+ --button-text-color: var(--color-text-primary-outline);
5218
+ --button-text-color-hover: var(--color-text-primary-outline-hover);
5219
+ --button-ring-color: var(--color-ring-primary-outline);
5220
+ }
5221
+
5222
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="secondary"]) {
5223
+ --button-background-color-hover: var(--color-background-secondary-outline-hover);
5224
+ --button-background-color-active: var(--color-background-secondary-outline-active);
5225
+ --button-border-color: var(--color-border-secondary-outline);
5226
+ --button-border-color-hover: var(--color-border-secondary-outline-hover);
5227
+ --button-text-color: var(--color-text-secondary-outline);
5228
+ --button-text-color-hover: var(--color-text-secondary-outline-hover);
5229
+ --button-ring-color: var(--color-ring-secondary-outline);
5230
+ }
5231
+
5232
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="danger"]) {
5233
+ --button-background-color-hover: var(--color-background-danger-outline-hover);
5234
+ --button-background-color-active: var(--color-background-danger-outline-active);
5235
+ --button-border-color: var(--color-border-danger-outline);
5236
+ --button-border-color-hover: var(--color-border-danger-outline-hover);
5237
+ --button-text-color: var(--color-text-danger-outline);
5238
+ --button-text-color-hover: var(--color-text-danger-outline-hover);
5239
+ --button-ring-color: var(--color-ring-danger-outline);
5240
+ }
5241
+
5242
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="success"]) {
5243
+ --button-background-color-hover: var(--color-background-success-outline-hover);
5244
+ --button-background-color-active: var(--color-background-success-outline-active);
5245
+ --button-border-color: var(--color-border-success-outline);
5246
+ --button-border-color-hover: var(--color-border-success-outline-hover);
5247
+ --button-text-color: var(--color-text-success-outline);
5248
+ --button-text-color-hover: var(--color-text-success-outline-hover);
5249
+ --button-ring-color: var(--color-ring-success-outline);
5250
+ }
5251
+
5252
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="warning"]) {
5253
+ --button-background-color-hover: var(--color-background-warning-outline-hover);
5254
+ --button-background-color-active: var(--color-background-warning-outline-active);
5255
+ --button-border-color: var(--color-border-warning-outline);
5256
+ --button-border-color-hover: var(--color-border-warning-outline-hover);
5257
+ --button-text-color: var(--color-text-warning-outline);
5258
+ --button-text-color-hover: var(--color-text-warning-outline-hover);
5259
+ --button-ring-color: var(--color-ring-warning-outline);
5260
+ }
5261
+
5262
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="caution"]) {
5263
+ --button-background-color-hover: var(--color-background-caution-outline-hover);
5264
+ --button-background-color-active: var(--color-background-caution-outline-active);
5265
+ --button-border-color: var(--color-border-caution-outline);
5266
+ --button-border-color-hover: var(--color-border-caution-outline-hover);
5267
+ --button-text-color: var(--color-text-caution-outline);
5268
+ --button-text-color-hover: var(--color-text-caution-outline-hover);
5269
+ --button-ring-color: var(--color-ring-caution-outline);
5270
+ }
5271
+
5272
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="info"]) {
5273
+ --button-background-color-hover: var(--color-background-info-outline-hover);
5274
+ --button-background-color-active: var(--color-background-info-outline-active);
5275
+ --button-border-color: var(--color-border-info-outline);
5276
+ --button-border-color-hover: var(--color-border-info-outline-hover);
5277
+ --button-text-color: var(--color-text-info-outline);
5278
+ --button-text-color-hover: var(--color-text-info-outline-hover);
5279
+ --button-ring-color: var(--color-ring-info-outline);
5280
+ }
5281
+
5282
+ ._Button_1864l_1[data-variant="outline"]:where([data-color="discovery"]) {
5283
+ --button-background-color-hover: var(--color-background-discovery-outline-hover);
5284
+ --button-background-color-active: var(--color-background-discovery-outline-active);
5285
+ --button-border-color: var(--color-border-discovery-outline);
5286
+ --button-border-color-hover: var(--color-border-discovery-outline-hover);
5287
+ --button-text-color: var(--color-text-discovery-outline);
5288
+ --button-text-color-hover: var(--color-text-discovery-outline-hover);
5289
+ --button-ring-color: var(--color-ring-discovery-outline);
5290
+ }
5291
+ /* Non-visual disablement, akin to `inert` */
5292
+ ._Button_1864l_1[disabled] {
5293
+ pointer-events: none;
5294
+ }
5295
+
5296
+ /* Visual disablement */
5297
+ ._Button_1864l_1[data-disabled][data-variant] {
5298
+ --button-background-color: var(--color-background-disabled);
5299
+ --button-border-color: var(--color-border-disabled);
5300
+ --button-text-color: var(--color-text-disabled);
5301
+
5302
+ cursor: not-allowed;
5303
+ pointer-events: auto;
5304
+ }
5305
+
5306
+ /* Don't press while disabled */
5307
+ ._Button_1864l_1[data-disabled][data-variant]:active::before {
5308
+ transform: scale(1);
5309
+ }
5310
+
5311
+ /* Relaxed disabled tone: keep disabled visuals, soften cursor */
5312
+ ._Button_1864l_1[data-disabled][data-variant][data-disabled-tone="relaxed"] {
5313
+ cursor: default;
5314
+ }._ButtonInner_1864l_4 {
5315
+ position: relative;
5316
+ display: flex;
5317
+ /* Allows overrides through className on .Button */
5318
+ flex-direction: inherit;
5319
+ align-items: center;
5320
+ justify-content: center;
5321
+ /* Allows overrides through className on .Button */
5322
+ gap: inherit;
5323
+ width: 100%;
5324
+ /* Prevent padding-bottom from creating excess height (flexbox) */
5325
+ height: 100%;
5326
+ transition: opacity 0.15s ease 0.1s;
5327
+ }
5328
+
5329
+ [data-loading] ._ButtonInner_1864l_4 {
5330
+ opacity: 0;
5331
+ transition: opacity 0.3s ease;
5332
+ }._ButtonLoader_1864l_749 {
5333
+ position: absolute;
5334
+ inset: 0;
5335
+ z-index: 3;
5336
+ display: flex;
5337
+ align-items: center;
5338
+ justify-content: center;
5339
+ pointer-events: none;
5340
+ }
5341
+
5342
+ ._ButtonLoader_1864l_749[data-entering] {
5343
+ opacity: 0;
5344
+ }
5345
+
5346
+ ._ButtonLoader_1864l_749[data-exiting] {
5347
+ opacity: 1;
5348
+ }
5349
+
5350
+ ._ButtonLoader_1864l_749[data-entering-active],
5351
+ ._ButtonLoader_1864l_749[data-entering][data-interrupted] {
5352
+ opacity: 1;
5353
+ transition: opacity 0.15s ease 0.1s;
5354
+ }
5355
+
5356
+ ._ButtonLoader_1864l_749[data-exiting-active],
5357
+ ._ButtonLoader_1864l_749[data-exiting][data-interrupted] {
5358
+ opacity: 0;
5359
+ transition: opacity 0.15s ease;
5360
+ }/* .Kbd {
5361
+ display: none;
5362
+
5363
+ @mixin breakpoint md {
5364
+ display: block;
5365
+ padding: 1px 3px;
5366
+ border: 1px solid var(--kbd-border-color, transparent);
5367
+ border-radius: 4px;
5368
+ margin: 0 -2px 0 4px;
5369
+ background: var(--kbd-bg, var(--alpha-10));
5370
+ color: var(--kbd-color, inherit);
5371
+ font-family:
5372
+ system-ui,
5373
+ -apple-system,
5374
+ BlinkMacSystemFont,
5375
+ "Segoe UI",
5376
+ Roboto,
5377
+ Oxygen,
5378
+ Ubuntu,
5379
+ Cantarell,
5380
+ "Open Sans",
5381
+ "Helvetica Neue",
5382
+ sans-serif;
5383
+ font-size: 13px;
5384
+ font-style: normal;
5385
+ font-weight: 600;
5386
+ letter-spacing: var(--tracking-wide);
5387
+ transition:
5388
+ border-color 0.15s ease,
5389
+ background-color 0.15s ease,
5390
+ color 0.15s ease;
5391
+
5392
+ [data-size="2xs"] & {
5393
+ margin-right: 0;
5394
+ margin-left: 3px;
5395
+ font-size: 12px;
5396
+ }
5397
+
5398
+ [data-size="xs"] & {
5399
+ font-size: 12px;
5400
+ }
5401
+
5402
+ [data-size="sm"] & {
5403
+ margin-right: -1px;
5404
+ }
5405
+
5406
+ [data-size="xl"] & {
5407
+ padding: 2px 3px;
5408
+ font-size: 14px;
5409
+ }
5410
+
5411
+ [data-pill] & {
5412
+ border-radius: 8px;
5413
+ margin-right: -5px;
5414
+ }
5415
+
5416
+ [data-size="2xs"][data-pill] & {
5417
+ margin-right: -4px;
5418
+ }
5419
+ }
5420
+ } */
5421
+ }
5422
+ @layer components {._SelectControl_1tyi7_1 {
5423
+ position: relative;
5424
+ display: inline-flex;
5425
+ align-items: center;
5426
+ justify-content: space-between;
5427
+ gap: var(--select-control-gap);
5428
+ flex-shrink: 0;
5429
+ height: var(--select-control-size);
5430
+ padding: 0 var(--select-control-gutter);
5431
+ border-radius: var(--select-control-radius);
5432
+ cursor: pointer;
5433
+ font-size: var(--select-control-font-size);
5434
+ font-weight: var(--select-control-font-weight);
5435
+ line-height: var(--font-text-md-line-height);
5436
+ text-align: left;
5437
+ transition-duration: var(--transition-duration-basic);
5438
+ transition-property: color;
5439
+ transition-timing-function: var(--transition-ease-basic);
5440
+ -webkit-user-select: none;
5441
+ -moz-user-select: none;
5442
+ user-select: none;
5443
+ white-space: nowrap;
5444
+ }
5445
+
5446
+ ._SelectControl_1tyi7_1:where([data-optically-align="start"]) {
5447
+ margin-inline-start: calc(var(--select-control-gutter) * -1);
5448
+ }
5449
+
5450
+ ._SelectControl_1tyi7_1:where([data-optically-align="end"]) {
5451
+ margin-inline-end: calc(var(--select-control-gutter) * -1);
5452
+ }
5453
+
5454
+ /* Background / shape of the button */
5455
+ ._SelectControl_1tyi7_1::before {
5456
+ position: absolute;
5457
+ inset: 0;
5458
+ display: block;
5459
+ border-radius: inherit;
5460
+ content: "";
5461
+ transition-duration: var(--transition-duration-basic);
5462
+ transition-property: opacity, background-color, transform, box-shadow, border-color;
5463
+ transition-timing-function: var(--transition-ease-basic);
5464
+ /* Composite layer seems required in some cases to avoid visual artifacts. */
5465
+ will-change: transform;
5466
+ }
5467
+
5468
+ /* Focus ring */
5469
+ ._SelectControl_1tyi7_1::after {
5470
+ position: absolute;
5471
+ inset: 0;
5472
+ display: block;
5473
+ border-radius: inherit;
5474
+ content: "";
5475
+ pointer-events: none;
5476
+ transition-duration: var(--transition-duration-basic);
5477
+ transition-property: transform;
5478
+ transition-timing-function: var(--transition-ease-basic);
5479
+ /* Composite layer seems required in some cases to avoid visual artifacts. */
5480
+ will-change: transform;
5481
+ }
5482
+
5483
+ ._SelectControl_1tyi7_1:focus {
5484
+ outline: none;
5485
+ }
5486
+ ._SelectControl_1tyi7_1:focus-visible::after {
5487
+ outline: 2px solid var(--button-ring-color, var(--color-ring));
5488
+ outline-offset: var(--select-control-ring-offset, 2px);
5489
+ }
5490
+
5491
+ /* =============================================
5492
+ Sizes
5493
+ ============================================= */
5494
+ ._SelectControl_1tyi7_1:where([data-size="3xs"]) {
5495
+ --select-control-size: var(--control-size-3xs);
5496
+ --select-control-gutter: var(--control-gutter-2xs);
5497
+ --select-control-font-size: var(--control-font-size-sm);
5498
+ --select-control-gap: 4px;
5499
+ --select-control-radius: var(--control-radius-sm);
5500
+ --start-icon-size: var(--control-icon-size-xs);
5501
+ --start-icon-offset: 0;
5502
+ --start-icon-pill-offset: 0;
5503
+ --clear-size: 14px;
5504
+ --clear-icon-size: 13px;
5505
+ --clear-iso-size: 12px;
5506
+ --clear-iso-icon-size: 10px;
5507
+ --clear-iso-offset: -1px;
5508
+ --clear-iso-pill-offset: -2px;
5509
+ --dropdown-icon-offset: 0;
5510
+ --dropdown-icon-pill-offset: 0;
5511
+ --dropdown-icon-width: 6px;
5512
+ --dropdown-icon-height: 9px;
5513
+ --dropdown-chevron-icon-width: 8px;
5514
+ --dropdown-chevron-icon-height: 5px;
5515
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5516
+ --indicator-wrapper-gutter: 0;
5517
+ }
5518
+
5519
+ ._SelectControl_1tyi7_1:where([data-size="2xs"]) {
5520
+ --select-control-size: var(--control-size-2xs);
5521
+ --select-control-gutter: var(--control-gutter-xs);
5522
+ --select-control-font-size: var(--control-font-size-sm);
5523
+ --select-control-gap: 6px;
5524
+ --select-control-radius: var(--control-radius-sm);
5525
+ --start-icon-size: var(--control-icon-size-sm);
5526
+ --start-icon-offset: 0;
5527
+ --start-icon-pill-offset: -1px;
5528
+ --clear-size: 16px;
5529
+ --clear-icon-size: 13px;
5530
+ --clear-iso-size: 14px;
5531
+ --clear-iso-icon-size: 12px;
5532
+ --clear-iso-offset: -2px;
5533
+ --clear-iso-pill-offset: -4px;
5534
+ --dropdown-icon-offset: 0;
5535
+ --dropdown-icon-pill-offset: 0;
5536
+ --dropdown-icon-width: 6px;
5537
+ --dropdown-icon-height: 9px;
5538
+ --dropdown-chevron-icon-width: 8px;
5539
+ --dropdown-chevron-icon-height: 5px;
5540
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5541
+ --indicator-wrapper-gutter: 0;
5542
+ }
5543
+
5544
+ ._SelectControl_1tyi7_1:where([data-size="xs"]) {
5545
+ --select-control-size: var(--control-size-xs);
5546
+ --select-control-gutter: var(--control-gutter-xs);
5547
+ --select-control-font-size: var(--control-font-size-md);
5548
+ --select-control-gap: 6px;
5549
+ --select-control-radius: var(--control-radius-sm);
5550
+ --start-icon-size: var(--control-icon-size-sm);
5551
+ --start-icon-offset: -1px;
5552
+ --start-icon-pill-offset: -1px;
5553
+ --clear-size: 18px;
5554
+ --clear-icon-size: 14px;
5555
+ --clear-iso-size: 16px;
5556
+ --clear-iso-icon-size: 12px;
5557
+ --clear-iso-offset: -2px;
5558
+ --clear-iso-pill-offset: -4px;
5559
+ --dropdown-icon-offset: 0;
5560
+ --dropdown-icon-pill-offset: 0;
5561
+ --dropdown-icon-width: 7px;
5562
+ --dropdown-icon-height: 11px;
5563
+ --dropdown-chevron-icon-width: 9px;
5564
+ --dropdown-chevron-icon-height: 5px;
5565
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5566
+ --indicator-wrapper-gutter: 0;
5567
+ }
5568
+
5569
+ ._SelectControl_1tyi7_1:where([data-size="sm"]) {
5570
+ --select-control-size: var(--control-size-sm);
5571
+ --select-control-gutter: var(--control-gutter-sm);
5572
+ --select-control-font-size: var(--control-font-size-md);
5573
+ --select-control-gap: 8px;
5574
+ --select-control-radius: var(--control-radius-sm);
5575
+ --start-icon-size: var(--control-icon-size-sm);
5576
+ --start-icon-offset: -1px;
5577
+ --start-icon-pill-offset: -2px;
5578
+ --clear-size: 18px;
5579
+ --clear-icon-size: 14px;
5580
+ --clear-iso-size: 16px;
5581
+ --clear-iso-icon-size: 12px;
5582
+ --clear-iso-offset: -3px;
5583
+ --clear-iso-pill-offset: -6px;
5584
+ --dropdown-icon-offset: 0;
5585
+ --dropdown-icon-pill-offset: -2px;
5586
+ --dropdown-icon-width: 7px;
5587
+ --dropdown-icon-height: 11px;
5588
+ --dropdown-chevron-icon-width: 9px;
5589
+ --dropdown-chevron-icon-height: 5px;
5590
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5591
+ --indicator-wrapper-gutter: 0;
5592
+ }
5593
+
5594
+ ._SelectControl_1tyi7_1:where([data-size="md"]) {
5595
+ --select-control-size: var(--control-size-md);
5596
+ --select-control-gutter: var(--control-gutter-md);
5597
+ --select-control-font-size: var(--control-font-size-md);
5598
+ --select-control-gap: 8px;
5599
+ --select-control-radius: var(--control-radius-md);
5600
+ --start-icon-size: var(--control-icon-size-md);
5601
+ --start-icon-offset: -1px;
5602
+ --start-icon-pill-offset: -4px;
5603
+ --clear-size: 22px;
5604
+ --clear-icon-size: 15px;
5605
+ --clear-iso-size: 18px;
5606
+ --clear-iso-icon-size: 14px;
5607
+ --clear-iso-offset: -4px;
5608
+ --clear-iso-pill-offset: -7px;
5609
+ --dropdown-icon-offset: 0;
5610
+ --dropdown-icon-pill-offset: -2px;
5611
+ --dropdown-icon-width: 8px;
5612
+ --dropdown-icon-height: 12px;
5613
+ --dropdown-chevron-icon-width: 11px;
5614
+ --dropdown-chevron-icon-height: 6px;
5615
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5616
+ --indicator-wrapper-gutter: calc(var(--spacing) * 0);
5617
+ }
5618
+
5619
+ ._SelectControl_1tyi7_1:where([data-size="lg"]) {
5620
+ --select-control-size: var(--control-size-lg);
5621
+ --select-control-gutter: var(--control-gutter-md);
5622
+ --select-control-font-size: var(--control-font-size-md);
5623
+ --select-control-gap: 8px;
5624
+ --select-control-radius: var(--control-radius-md);
5625
+ --start-icon-size: var(--control-icon-size-md);
5626
+ --start-icon-offset: -2px;
5627
+ --start-icon-pill-offset: -4px;
5628
+ --clear-size: 22px;
5629
+ --clear-icon-size: 15px;
5630
+ --clear-iso-size: 18px;
5631
+ --clear-iso-icon-size: 14px;
5632
+ --clear-iso-offset: -2px;
5633
+ --clear-iso-pill-offset: -6px;
5634
+ --dropdown-icon-offset: 0;
5635
+ --dropdown-icon-pill-offset: -2px;
5636
+ --dropdown-icon-width: 8px;
5637
+ --dropdown-icon-height: 12px;
5638
+ --dropdown-chevron-icon-width: 11px;
5639
+ --dropdown-chevron-icon-height: 6px;
5640
+ --indicator-wrapper-gap: calc(var(--spacing) * 1.5);
5641
+ --indicator-wrapper-gutter: calc(var(--spacing) * 0);
5642
+ }
5643
+
5644
+ ._SelectControl_1tyi7_1:where([data-size="xl"]) {
5645
+ --select-control-size: var(--control-size-xl);
5646
+ --select-control-gutter: var(--control-gutter-lg);
5647
+ --select-control-font-size: var(--control-font-size-md);
5648
+ --select-control-gap: 8px;
5649
+ --select-control-radius: var(--control-radius-lg);
5650
+ --start-icon-size: var(--control-icon-size-md);
5651
+ --start-icon-offset: -2px;
5652
+ --start-icon-pill-offset: -4px;
5653
+ --clear-size: 24px;
5654
+ --clear-icon-size: 16px;
5655
+ --clear-iso-size: 18px;
5656
+ --clear-iso-icon-size: 14px;
5657
+ --clear-iso-offset: -2px;
5658
+ --clear-iso-pill-offset: -7px;
5659
+ --dropdown-icon-offset: 0;
5660
+ --dropdown-icon-pill-offset: -2px;
5661
+ --dropdown-icon-width: 8px;
5662
+ --dropdown-icon-height: 12px;
5663
+ --dropdown-chevron-icon-width: 11px;
5664
+ --dropdown-chevron-icon-height: 6px;
5665
+ --indicator-wrapper-gap: calc(var(--spacing) * 1);
5666
+ --indicator-wrapper-gutter: calc(var(--spacing) * 0.5);
5667
+ }
5668
+
5669
+ ._SelectControl_1tyi7_1:where([data-size="2xl"]) {
5670
+ --select-control-size: var(--control-size-2xl);
5671
+ --select-control-gutter: var(--control-gutter-lg);
5672
+ --select-control-font-size: var(--control-font-size-lg);
5673
+ --select-control-gap: 10px;
5674
+ --select-control-radius: var(--control-radius-xl);
5675
+ --start-icon-size: var(--control-icon-size-lg);
5676
+ --start-icon-offset: -2px;
5677
+ --start-icon-pill-offset: -4px;
5678
+ --clear-size: 24px;
5679
+ --clear-icon-size: 16px;
5680
+ --clear-iso-size: 20px;
5681
+ --clear-iso-icon-size: 15px;
5682
+ --clear-iso-offset: -2px;
5683
+ --clear-iso-pill-offset: -7px;
5684
+ --dropdown-icon-offset: 0;
5685
+ --dropdown-icon-pill-offset: -2px;
5686
+ --dropdown-icon-width: 8px;
5687
+ --dropdown-icon-height: 12px;
5688
+ --dropdown-chevron-icon-width: 11px;
5689
+ --dropdown-chevron-icon-height: 6px;
5690
+ --indicator-wrapper-gap: calc(var(--spacing) * 1.5);
5691
+ --indicator-wrapper-gutter: calc(var(--spacing) * 1);
5692
+ }
5693
+
5694
+ ._SelectControl_1tyi7_1:where([data-size="3xl"]) {
5695
+ --select-control-size: var(--control-size-3xl);
5696
+ --select-control-gutter: var(--control-gutter-xl);
5697
+ --select-control-font-size: var(--control-font-size-lg);
5698
+ --select-control-gap: 10px;
5699
+ --select-control-radius: var(--control-radius-xl);
5700
+ --start-icon-size: var(--control-icon-size-lg);
5701
+ --start-icon-offset: -2px;
5702
+ --start-icon-pill-offset: -4px;
5703
+ --clear-size: 24px;
5704
+ --clear-icon-size: 16px;
5705
+ --clear-iso-size: 20px;
5706
+ --clear-iso-icon-size: 15px;
5707
+ --clear-iso-offset: -2px;
5708
+ --clear-iso-pill-offset: -7px;
5709
+ --dropdown-icon-offset: 0;
5710
+ --dropdown-icon-pill-offset: -3px;
5711
+ --dropdown-icon-width: 9px;
5712
+ --dropdown-icon-height: 13px;
5713
+ --dropdown-chevron-icon-width: 12px;
5714
+ --dropdown-chevron-icon-height: 7px;
5715
+ --indicator-wrapper-gap: calc(var(--spacing) * 1.5);
5716
+ --indicator-wrapper-gutter: calc(var(--spacing) * 1);
5717
+ }
5718
+
5719
+ /* =============================================
5720
+ Pill
5721
+ ============================================= */
5722
+ ._SelectControl_1tyi7_1:where([data-pill]) {
5723
+ --select-control-radius: var(--radius-full);
5724
+
5725
+ padding: 0 calc(var(--select-control-gutter) * var(--control-gutter-pill-scaling));
5726
+ }
5727
+
5728
+ /* =============================================
5729
+ Block
5730
+ ============================================= */
5731
+ ._SelectControl_1tyi7_1:where([data-block]) {
5732
+ width: 100%;
5733
+ }
5734
+
5735
+ /* =============================================
5736
+ Ghost variant
5737
+ ============================================= */
5738
+ ._SelectControl_1tyi7_1[data-variant="ghost"] {
5739
+ --select-control-background-color: var(--color-background-primary-ghost-hover);
5740
+ --select-control-ring-offset: -1px;
5741
+ }
5742
+
5743
+ ._SelectControl_1tyi7_1[data-variant="ghost"]::before {
5744
+ background-color: var(--select-control-background-color);
5745
+ opacity: 0;
5746
+ transform: scale(var(--scale));
5747
+ }
5748
+ ._SelectControl_1tyi7_1[data-variant="ghost"][aria-expanded="true"]::before, ._SelectControl_1tyi7_1[data-variant="ghost"][data-state="open"]::before {
5749
+ opacity: 0.6;
5750
+ transform: scale(1);
5751
+ }
5752
+ @media (hover: hover) and (pointer: fine) {
5753
+ ._SelectControl_1tyi7_1[data-variant="ghost"]:where(:not([data-disabled])):hover::before {
5754
+ opacity: 1;
5755
+ transform: scale(1);
5756
+ }
5757
+ }
5758
+ ._SelectControl_1tyi7_1[data-variant="ghost"]:where(:not([data-disabled])):not(:has(button:active)):active::before {
5759
+ --select-control-background-color: var(--color-background-primary-ghost-active);
5760
+
5761
+ opacity: 1;
5762
+ transform: scale(var(--scale));
5763
+ }
5764
+
5765
+ ._SelectControl_1tyi7_1[data-variant="ghost"]:where(:not([data-disabled])):not(:has(button:active)):active::after {
5766
+ transform: scale(var(--scale));
5767
+ }
5768
+ ._SelectControl_1tyi7_1[data-variant="ghost"]:where(:not([data-disabled]))[data-invalid]::before {
5769
+ --select-control-background-color: transparent;
5770
+
5771
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
5772
+ opacity: 1;
5773
+ transform: scale(1);
5774
+ }
5775
+
5776
+ @media (hover: hover) and (pointer: fine) {
5777
+ ._SelectControl_1tyi7_1[data-variant="ghost"]:where(:not([data-disabled]))[data-invalid]:hover::before {
5778
+ --select-control-background-color: var(--color-background-primary-ghost-hover);
5779
+ }
5780
+ }
5781
+
5782
+ /* =============================================
5783
+ Soft variant
5784
+ ============================================= */
5785
+ ._SelectControl_1tyi7_1[data-variant="soft"] {
5786
+ --select-control-background-color: var(--color-background-primary-soft-alpha);
5787
+ }
5788
+
5789
+ ._SelectControl_1tyi7_1[data-variant="soft"]::before {
5790
+ background-color: var(--select-control-background-color);
5791
+ }
5792
+ ._SelectControl_1tyi7_1[data-variant="soft"][aria-expanded="true"]::before, ._SelectControl_1tyi7_1[data-variant="soft"][data-state="open"]::before {
5793
+ --select-control-background-color: var(--color-background-primary-soft-alpha-hover);
5794
+ }
5795
+ @media (hover: hover) and (pointer: fine) {
5796
+ ._SelectControl_1tyi7_1[data-variant="soft"]:where(:not([data-disabled])):hover::before {
5797
+ --select-control-background-color: var(--color-background-primary-soft-alpha-hover);
5798
+ }
5799
+ }
5800
+ ._SelectControl_1tyi7_1[data-variant="soft"]:where(:not([data-disabled])):not(:has(button:active)):active::before {
5801
+ --select-control-background-color: var(--color-background-primary-soft-alpha-active);
5802
+ }
5803
+
5804
+ ._SelectControl_1tyi7_1[data-variant="soft"]:where(:not([data-disabled])):not(:has(button:active)):active::before,
5805
+ ._SelectControl_1tyi7_1[data-variant="soft"]:where(:not([data-disabled])):not(:has(button:active)):active::after {
5806
+ transform: scale(var(--scale));
5807
+ }
5808
+
5809
+ ._SelectControl_1tyi7_1[data-variant="soft"]:where(:not([data-disabled]))[data-invalid]::before {
5810
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
5811
+ }
5812
+
5813
+ /* =============================================
5814
+ Outline variant
5815
+ ============================================= */
5816
+ ._SelectControl_1tyi7_1[data-variant="outline"] {
5817
+ --select-control-border-color: var(--input-outline-border-color);
5818
+ --select-control-ring-offset: -1px;
5819
+ }
5820
+
5821
+ ._SelectControl_1tyi7_1[data-variant="outline"]::before {
5822
+ background-color: transparent;
5823
+ box-shadow: 0 0 0 1px var(--select-control-border-color) inset;
5824
+ }
5825
+
5826
+ ._SelectControl_1tyi7_1[data-variant="outline"][aria-expanded="true"],
5827
+ ._SelectControl_1tyi7_1[data-variant="outline"][data-state="open"] {
5828
+ --select-control-border-color: var(--input-outline-border-color-hover);
5829
+ }
5830
+ @media (hover: hover) and (pointer: fine) {._SelectControl_1tyi7_1[data-variant="outline"]:where(:not([data-disabled])):hover {
5831
+ --select-control-border-color: var(--input-outline-border-color-hover);
5832
+ }
5833
+ }
5834
+ ._SelectControl_1tyi7_1[data-variant="outline"]:where(:not([data-disabled])):not(:has(button:active)):active::before {
5835
+ transform: scale(var(--scale));
5836
+ }
5837
+
5838
+ ._SelectControl_1tyi7_1[data-variant="outline"]:where(:not([data-disabled])):not(:has(button:active)):active::after {
5839
+ transform: scale(var(--scale));
5840
+ }
5841
+
5842
+ ._SelectControl_1tyi7_1[data-variant="outline"]:where(:not([data-disabled]))[data-invalid]::before {
5843
+ --select-control-border-color: var(--input-border-color-invalid);
5844
+ }
5845
+
5846
+ /* =============================================
5847
+ Invalid
5848
+ ============================================= */
5849
+ ._SelectControl_1tyi7_1:where([data-invalid]) {
5850
+ --button-ring-color: var(--color-ring-danger);
5851
+ }
5852
+
5853
+ /* =============================================
5854
+ Hover
5855
+ ============================================= */
5856
+ @media (hover: hover) and (pointer: fine) {
5857
+ ._SelectControl_1tyi7_1:not([data-disabled]):hover ._Clear_1tyi7_436,
5858
+ ._SelectControl_1tyi7_1:not([data-disabled]):hover ._DropdownIcon_1tyi7_437 {
5859
+ opacity: 1;
5860
+ }
5861
+ }
5862
+
5863
+ /* =============================================
5864
+ Placeholder (e.g., "not `selected`")
5865
+ ============================================= */
5866
+ ._SelectControl_1tyi7_1[data-selected="false"] {
5867
+ color: var(--input-placeholder-text-color);
5868
+ }
5869
+
5870
+ /* =============================================
5871
+ Disabled
5872
+ ============================================= */
5873
+ ._SelectControl_1tyi7_1[data-disabled][data-variant] {
5874
+ /* Matches disabled styling of Buttons, which is nice. */
5875
+ --select-control-background-color: var(--color-background-disabled);
5876
+ --select-control-border-color: var(--color-border-disabled);
5877
+
5878
+ color: var(--color-text-disabled);
5879
+ cursor: not-allowed;
5880
+ }
5881
+
5882
+ ._SelectControl_1tyi7_1[data-disabled][data-variant] ._DropdownIcon_1tyi7_437 {
5883
+ color: var(--color-text-disabled);
5884
+ }
5885
+
5886
+ /* Don't press while disabled */
5887
+ ._SelectControl_1tyi7_1[data-disabled][data-variant]:active::before {
5888
+ transform: scale(1);
5889
+ }._TriggerText_1tyi7_468 {
5890
+ position: relative;
5891
+ overflow: hidden;
5892
+ flex: 1;
5893
+ max-width: 100%;
5894
+ color: inherit;
5895
+ text-overflow: ellipsis;
5896
+ white-space: nowrap;
5897
+ }._IndicatorWrapper_1tyi7_476 {
5898
+ position: relative;
5899
+ display: flex;
5900
+ align-items: center;
5901
+ gap: var(--indicator-wrapper-gap);
5902
+ padding-left: var(--indicator-wrapper-gutter);
5903
+ }._StartIcon_1tyi7_482 {
5904
+ position: relative;
5905
+ width: var(--start-icon-size);
5906
+ height: var(--start-icon-size);
5907
+ margin-left: var(--start-icon-offset);
5908
+ }
5909
+
5910
+ :where(._SelectControl_1tyi7_1[data-pill]) ._StartIcon_1tyi7_482 {
5911
+ margin-left: var(--start-icon-pill-offset);
5912
+ }._Clear_1tyi7_436 {
5913
+ --button-size: var(--clear-size);
5914
+ --button-icon-size: var(--clear-icon-size);
5915
+
5916
+ position: relative;
5917
+ opacity: 0.75;
5918
+ }
5919
+
5920
+ ._Clear_1tyi7_436[data-variant="solid"] {
5921
+ --button-size: var(--clear-iso-size);
5922
+ --button-icon-size: var(--clear-iso-icon-size);
5923
+ }
5924
+
5925
+ [data-state="open"] ._Clear_1tyi7_436,
5926
+ ._Clear_1tyi7_436:focus-visible {
5927
+ opacity: 1;
5928
+ }
5929
+
5930
+ ._Clear_1tyi7_436[data-only-child] {
5931
+ margin-right: var(--clear-iso-offset);
5932
+ }
5933
+
5934
+ :where(._SelectControl_1tyi7_1[data-pill]) ._Clear_1tyi7_436[data-only-child] {
5935
+ margin-right: var(--clear-iso-pill-offset);
5936
+ }._DropdownIcon_1tyi7_437 {
5937
+ position: relative;
5938
+ width: var(--dropdown-icon-width, 8px);
5939
+ height: var(--dropdown-icon-height, 12px);
5940
+ margin-right: var(--dropdown-icon-offset);
5941
+ color: var(--color-text-secondary);
5942
+ opacity: 0.75;
5943
+ transition-duration: var(--transition-duration-basic);
5944
+ transition-property: opacity;
5945
+ transition-timing-function: var(--transition-ease-basic);
5946
+ will-change: opacity;
5947
+ }
5948
+
5949
+ :where(._SelectControl_1tyi7_1[data-pill]) ._DropdownIcon_1tyi7_437 {
5950
+ margin-right: var(--dropdown-icon-pill-offset);
5951
+ }
5952
+
5953
+ [data-state="open"] ._DropdownIcon_1tyi7_437 {
5954
+ opacity: 1;
5955
+ }._DropdownIconChevron_1tyi7_534 {
5956
+ width: var(--dropdown-chevron-icon-width, 11px);
5957
+ height: var(--dropdown-chevron-icon-height, 6px);
5958
+ }/* Shares margin offset with dropdown indicator */._LoadingIndicator_1tyi7_537 {
5959
+ margin-right: var(--dropdown-icon-offset);
5960
+ }
5961
+
5962
+ :where(._SelectControl_1tyi7_1[data-pill]) ._LoadingIndicator_1tyi7_537 {
5963
+ margin-right: var(--dropdown-icon-pill-offset);
5964
+ }
5965
+ }
5966
+ @layer components {._Tooltip_16g2y_1 {
5967
+ max-width: 300px;
5968
+ border-radius: var(--radius-md);
5969
+ /* animation-duration: 0.3s; */
5970
+ /* animation-name: scale-in; */
5971
+ /* animation-timing-function: var(--cubic-enter); */
5972
+ background: var(--color-surface-elevated);
5973
+ box-shadow: var(--shadow), var(--shadow-hairline);
5974
+ font-size: 14px;
5975
+ line-height: 1.45;
5976
+ /* transform-origin: var(--radix-tooltip-content-transform-origin); */
5977
+ /* transition: background-color 0.15s ease; */
5978
+
5979
+ /* &[data-state="closed"] {
5980
+ animation: scale-out 0.2s var(--cubic-exit);
5981
+ } */
5982
+ }
5983
+
5984
+ /*
5985
+ * Default cursor is slightly more pleasing than text cursor,
5986
+ * if a tooltip transitions between clickable -> non-clickable (e.g., CopyTooltip)
5987
+ */
5988
+ ._Tooltip_16g2y_1[data-clickable="false"] {
5989
+ cursor: default;
5990
+ }
5991
+
5992
+ ._Tooltip_16g2y_1[data-clickable="true"] {
5993
+ cursor: pointer;
5994
+ }
5995
+ @media (hover: hover) and (pointer: fine) {._Tooltip_16g2y_1[data-compact="true"][data-clickable="true"]:hover {
5996
+ background: var(--gray-600);
5997
+ color: var(--gray-0);
5998
+ }
5999
+ }
6000
+
6001
+ ._Tooltip_16g2y_1[data-gutter-size="sm"] {
6002
+ padding: 8px 12px;
6003
+ }
6004
+
6005
+ ._Tooltip_16g2y_1[data-gutter-size="md"] {
6006
+ padding: 12px 16px;
6007
+ }
6008
+
6009
+ ._Tooltip_16g2y_1[data-gutter-size="lg"] {
6010
+ padding: 14px 18px;
6011
+ }
6012
+
6013
+ ._Tooltip_16g2y_1[data-compact="true"] {
6014
+ padding: 2px 8px;
6015
+ background: var(--gray-700);
6016
+ color: var(--gray-0);
6017
+ font-size: 14px;
6018
+ }@keyframes _scale-in_16g2y_1 {
6019
+ from {
6020
+ opacity: 0;
6021
+ transform: scale(0.95);
6022
+ }
6023
+
6024
+ to {
6025
+ opacity: 1;
6026
+ transform: scale(1);
6027
+ }
6028
+ }@keyframes _scale-out_16g2y_1 {
6029
+ from {
6030
+ opacity: 1;
6031
+ transform: scale(1);
6032
+ }
6033
+
6034
+ to {
6035
+ opacity: 0;
6036
+ transform: scale(0.95);
6037
+ }
6038
+ }._TriggerDecorator_16g2y_73 {
6039
+ display: inline-flex;
6040
+ cursor: pointer;
6041
+ -webkit-text-decoration: underline dotted;
6042
+ text-decoration: underline dotted;
6043
+ text-decoration-color: transparent;
6044
+ /* transition: text-decoration 0.2s var(--cubic-exit); */
6045
+ }
6046
+
6047
+ ._TriggerDecorator_16g2y_73:focus {
6048
+ outline: 0;
6049
+ }
6050
+
6051
+ ._TriggerDecorator_16g2y_73[data-state*="open"] {
6052
+ text-decoration-color: var(--color-text-tertiary);
6053
+ transition-timing-function: var(--cubic-enter);
6054
+ }
6055
+ }
6056
+ @layer components {/* =============================================
6057
+ Custom Select
6058
+ ============================================= */._Menu_n4tw6_3 {
6059
+ /* Top-level selector needs to exist */
6060
+ }._MenuList_n4tw6_5 {
6061
+ /* Default to the width of the trigger */
6062
+ width: var(--select-list-width, var(--radix-popover-trigger-width));
6063
+ min-width: var(--select-list-min-width, 300px);
6064
+ max-width: var(--select-list-max-width, none);
6065
+ border-radius: var(--menu-radius);
6066
+ background: var(--color-surface-elevated);
6067
+ box-shadow: var(--shadow), var(--shadow-hairline);
6068
+ font-size: var(--menu-font-size);
6069
+ line-height: var(--menu-line-height);
6070
+ /* The transform-origin computed from the content and arrow positions/offsets */
6071
+ transform-origin: var(--radix-popover-content-transform-origin);
6072
+ -webkit-user-select: none;
6073
+ -moz-user-select: none;
6074
+ user-select: none;
6075
+ will-change: opacity, transform;
6076
+ }
6077
+
6078
+ /* Animation states applied to a wrapping parent */
6079
+ ._Menu_n4tw6_3[data-entering] ._MenuList_n4tw6_5 {
6080
+ opacity: 0;
6081
+ transform: scale(0.95);
6082
+ }
6083
+
6084
+ ._Menu_n4tw6_3[data-entering-active] ._MenuList_n4tw6_5,
6085
+ ._Menu_n4tw6_3[data-entering][data-interrupted] ._MenuList_n4tw6_5 {
6086
+ opacity: 1;
6087
+ transform: scale(1);
6088
+ transition-duration: 0.35s;
6089
+ transition-property: opacity, transform;
6090
+ transition-timing-function: var(--cubic-enter);
6091
+ }
6092
+
6093
+ ._Menu_n4tw6_3[data-exiting] ._MenuList_n4tw6_5 {
6094
+ opacity: 1;
6095
+ transform: scale(1);
6096
+ }
6097
+
6098
+ ._Menu_n4tw6_3[data-exiting-active] ._MenuList_n4tw6_5,
6099
+ ._Menu_n4tw6_3[data-exiting][data-interrupted] ._MenuList_n4tw6_5 {
6100
+ opacity: 0;
6101
+ transform: scale(0.95);
6102
+ transition-duration: 0.2s;
6103
+ transition-property: opacity, transform;
6104
+ transition-timing-function: var(--cubic-exit);
6105
+ }._MenuInner_n4tw6_50 {
6106
+ display: flex;
6107
+ flex-direction: column;
6108
+ /* The remaining height between the trigger and the boundary edge */
6109
+ max-height: min(
6110
+ var(--select-list-max-height, 400px),
6111
+ var(--radix-popover-content-available-height)
6112
+ );
6113
+ }
6114
+
6115
+ ._MenuInner_n4tw6_50:focus {
6116
+ outline: 0;
6117
+ }/* =============================================
6118
+ Options
6119
+ ============================================= */._OptionsList_n4tw6_64 {
6120
+ overflow: auto;
6121
+ flex: 1;
6122
+ padding: var(--menu-gutter);
6123
+ }._Option_n4tw6_64 {
6124
+ position: relative;
6125
+ padding: var(--menu-item-padding);
6126
+ cursor: pointer;
6127
+ overflow-wrap: anywhere;
6128
+ /* When keyboard navigation snaps item into scrollable view, ensure 20px of spacing to show additional items below */
6129
+ scroll-margin: 15px 0;
6130
+ }
6131
+
6132
+ ._Option_n4tw6_64::before {
6133
+ position: absolute;
6134
+ inset: 0;
6135
+ display: block;
6136
+ border-radius: calc(var(--menu-radius) - var(--menu-gutter));
6137
+ background: var(--menu-item-background-color);
6138
+ content: "";
6139
+ opacity: 0;
6140
+ transform: scale(var(--scale, 0.98));
6141
+ transition-duration: var(--transition-duration-basic);
6142
+ transition-property: opacity, background-color, transform;
6143
+ transition-timing-function: var(--cubic-enter);
6144
+ will-change: opacity, transform;
6145
+ }
6146
+
6147
+ ._Option_n4tw6_64[data-selected] {
6148
+ font-weight: var(--font-weight-semibold);
6149
+ }
6150
+ ._Option_n4tw6_64[data-highlight]::before {
6151
+ opacity: 1;
6152
+ transform: scale(1);
6153
+ }
6154
+
6155
+ ._Option_n4tw6_64[data-highlight]:active::before {
6156
+ transform: scale(var(--scale, 0.98));
6157
+ }
6158
+
6159
+ ._Option_n4tw6_64[data-disabled] {
6160
+ cursor: not-allowed;
6161
+ opacity: 0.5;
6162
+ }
6163
+
6164
+ ._Option_n4tw6_64[data-disabled]::before {
6165
+ display: none;
6166
+ }._PressableInner_n4tw6_111 {
6167
+ position: relative;
6168
+ }._OptionInner_n4tw6_113 {
6169
+ display: flex;
6170
+ align-items: center;
6171
+ justify-content: flex-start;
6172
+ gap: calc(var(--spacing) * 1);
6173
+ }._OptionCheck_n4tw6_118 {
6174
+ display: block;
6175
+ flex-shrink: 0;
6176
+ width: 16px;
6177
+ height: 16px;
6178
+ }._OptionIndicatorSlot_n4tw6_123 {
6179
+ flex-grow: 0;
6180
+ flex-shrink: 0;
6181
+ width: 16px;
6182
+ height: 16px;
6183
+ }._OptionGroupHeading_n4tw6_128 {
6184
+ display: flex;
6185
+ align-items: center;
6186
+ justify-content: flex-start;
6187
+ gap: calc(var(--spacing) * 1);
6188
+ padding: var(--menu-item-padding);
6189
+ margin-top: calc(var(--spacing) * 1.5);
6190
+ color: var(--color-text-secondary);
6191
+ }
6192
+
6193
+ ._OptionGroupHeading_n4tw6_128:first-child {
6194
+ margin-top: 0;
6195
+ }._OptionHardLimitHeading_n4tw6_140 {
6196
+ display: flex;
6197
+ align-items: center;
6198
+ justify-content: flex-start;
6199
+ gap: calc(var(--spacing) * 1);
6200
+ padding: var(--menu-item-padding);
6201
+ color: var(--color-text-secondary);
6202
+ }._OptionsLimit_n4tw6_147 {
6203
+ color: var(--link-primary-text-color);
6204
+ font-weight: var(--font-weight-medium);
6205
+ }/* =============================================
6206
+ Action
6207
+ ============================================= */._Action_n4tw6_152 {
6208
+ position: relative;
6209
+ padding: var(--menu-item-padding);
6210
+ border-radius: calc(var(--menu-radius) - var(--menu-gutter));
6211
+ cursor: pointer;
6212
+ transition: background-color 0.15s ease;
6213
+ }
6214
+
6215
+ /* Background shape */
6216
+ ._Action_n4tw6_152::before {
6217
+ position: absolute;
6218
+ inset: 0;
6219
+ display: block;
6220
+ border-radius: calc(var(--menu-radius) - var(--menu-gutter));
6221
+ content: "";
6222
+ opacity: 0;
6223
+ transform: scale(var(--scale, 0.98));
6224
+ transition-duration: 0.15s;
6225
+ transition-property: opacity, background-color, transform;
6226
+ transition-timing-function: var(--cubic-enter);
6227
+ will-change: opacity, transform;
6228
+ }
6229
+ ._Action_n4tw6_152::before, :where([data-theme="light"]) ._Action_n4tw6_152::before {
6230
+ background: var(--gray-100);
6231
+ }
6232
+ :where([data-theme="dark"]) ._Action_n4tw6_152::before {
6233
+ background: var(--gray-25);
6234
+ }
6235
+
6236
+ /* Focus ring */
6237
+ ._Action_n4tw6_152::after {
6238
+ position: absolute;
6239
+ inset: 0;
6240
+ display: block;
6241
+ border-radius: calc(var(--menu-radius) - var(--menu-gutter));
6242
+ content: "";
6243
+ pointer-events: none;
6244
+ transition-duration: 0.15s;
6245
+ transition-property: box-shadow, transform;
6246
+ transition-timing-function: var(--cubic-enter);
6247
+ }
6248
+
6249
+ @media (hover: hover) and (pointer: fine) {
6250
+ ._Action_n4tw6_152:hover::before {
6251
+ opacity: 1;
6252
+ transform: scale(1);
6253
+ }
6254
+ }
6255
+
6256
+ ._Action_n4tw6_152:focus {
6257
+ outline: none;
6258
+ }
6259
+
6260
+ ._Action_n4tw6_152:focus-visible::after {
6261
+ box-shadow: 0 0 0 2px var(--color-ring);
6262
+ }
6263
+
6264
+ ._Action_n4tw6_152:active::before,
6265
+ ._Action_n4tw6_152:active::after {
6266
+ transform: scale(var(--scale, 0.98));
6267
+ }
6268
+
6269
+ ._Action_n4tw6_152 svg {
6270
+ flex-shrink: 0;
6271
+ width: 16px;
6272
+ height: 16px;
6273
+ }._ActionInner_n4tw6_218 {
6274
+ position: relative;
6275
+ display: flex;
6276
+ align-items: center;
6277
+ justify-content: flex-start;
6278
+ gap: var(--menu-item-gap);
6279
+ }._ActionsContainer_n4tw6_224 {
6280
+ position: relative;
6281
+ padding: var(--menu-gutter);
6282
+ border-top: 1px solid var(--menu-separator-background-color);
6283
+ }
6284
+
6285
+ ._ActionsContainer_n4tw6_224::before {
6286
+ position: absolute;
6287
+ bottom: 100%;
6288
+ left: 0;
6289
+ width: 100%;
6290
+ height: 9px;
6291
+ margin-bottom: 1px;
6292
+ background: var(--color-surface-elevated);
6293
+ content: "";
6294
+ -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 100%));
6295
+ mask-image: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 100%));
6296
+ pointer-events: none;
6297
+ }/* =============================================
6298
+ Search
6299
+ ============================================= */._Search_n4tw6_244 {
6300
+ position: relative;
6301
+ padding: var(--menu-gutter) var(--menu-gutter) 0;
6302
+ }._SearchEmpty_n4tw6_247 {
6303
+ padding: var(--menu-gutter);
6304
+ margin: calc(var(--spacing) * 4) 0;
6305
+ }
6306
+
6307
+ ._SearchEmpty_n4tw6_247[data-text-only] {
6308
+ color: var(--color-text-secondary);
6309
+ text-align: center;
6310
+ }
6311
+ }
6312
+ @layer components {._Container_1tuad_1 {
6313
+ position: relative;
6314
+ display: flex;
6315
+ }
6316
+
6317
+ ._Container_1tuad_1[data-has-label] {
6318
+ align-items: flex-start;
6319
+ }
6320
+
6321
+ ._Container_1tuad_1[data-orientation="right"] {
6322
+ flex-direction: row-reverse;
6323
+ }
6324
+
6325
+ /* Radix pushes the inputs off screen in a weird way that
6326
+ messes with error overlays */
6327
+ ._Container_1tuad_1 > input {
6328
+ right: 0;
6329
+ bottom: 0;
6330
+ left: 0;
6331
+ height: 1px !important;
6332
+ transform: none !important;
6333
+ }._Checkbox_1tuad_22 {
6334
+ position: relative;
6335
+ display: inline-flex;
6336
+ align-items: center;
6337
+ justify-content: center;
6338
+ flex-shrink: 0;
6339
+ width: 18px;
6340
+ max-width: 18px;
6341
+ height: 18px;
6342
+ padding: 0;
6343
+ border-radius: var(--radius-xs);
6344
+ background-color: transparent;
6345
+ cursor: pointer;
6346
+ transition:
6347
+ border-color 150ms ease,
6348
+ background-color 150ms ease;
6349
+ }._Checkbox_1tuad_22, :where([data-theme="light"]) ._Checkbox_1tuad_22 {
6350
+ border: 1px solid var(--gray-200);
6351
+ }:where([data-theme="dark"]) ._Checkbox_1tuad_22 {
6352
+ border: 1px solid var(--gray-500);
6353
+ }
6354
+
6355
+ [data-has-label] ._Checkbox_1tuad_22 {
6356
+ /* Adjust downward for label line-height - not using center to account for long labels than can wrap. */
6357
+ top: 1px;
6358
+ }
6359
+ @media (hover: hover) and (pointer: fine) {._Checkbox_1tuad_22:where(:not([data-disabled], [data-state="checked"])):hover, :where([data-theme="light"]) ._Checkbox_1tuad_22:where(:not([data-disabled], [data-state="checked"])):hover {
6360
+ border-color: var(--gray-300);
6361
+ }:where([data-theme="dark"]) ._Checkbox_1tuad_22:where(:not([data-disabled], [data-state="checked"])):hover {
6362
+ border-color: var(--gray-600);
6363
+ }
6364
+ }
6365
+
6366
+ ._Checkbox_1tuad_22[data-state="indeterminate"],
6367
+ ._Checkbox_1tuad_22[data-state="checked"] {
6368
+ border-color: var(--gray-900);
6369
+ background-color: var(--gray-900);
6370
+ }
6371
+
6372
+ ._Checkbox_1tuad_22:focus {
6373
+ outline: none;
6374
+ }
6375
+
6376
+ ._Checkbox_1tuad_22:focus-visible {
6377
+ outline: 2px solid var(--color-ring);
6378
+ outline-offset: 2px;
6379
+ }
6380
+
6381
+ ._Checkbox_1tuad_22[data-disabled] {
6382
+ cursor: not-allowed;
6383
+ }
6384
+
6385
+ ._Checkbox_1tuad_22[data-disabled], :where([data-theme="light"]) ._Checkbox_1tuad_22[data-disabled] {
6386
+ border-color: var(--gray-150);
6387
+ background: var(--gray-25);
6388
+ }
6389
+
6390
+ :where([data-theme="dark"]) ._Checkbox_1tuad_22[data-disabled] {
6391
+ border-color: var(--gray-300);
6392
+ background: var(--gray-200);
6393
+ }
6394
+
6395
+ ._Checkbox_1tuad_22[data-disabled][data-state="checked"], :where([data-theme="light"]) ._Checkbox_1tuad_22[data-disabled][data-state="checked"] {
6396
+ border-color: var(--gray-300);
6397
+ background-color: var(--gray-300);
6398
+ }
6399
+
6400
+ :where([data-theme="dark"]) ._Checkbox_1tuad_22[data-disabled][data-state="checked"] {
6401
+ border-color: var(--gray-200);
6402
+ background-color: var(--gray-200);
6403
+ }._CheckMark_1tuad_92 {
6404
+ position: absolute;
6405
+ top: 0;
6406
+ left: 0;
6407
+ width: 64%;
6408
+ height: 32%;
6409
+ transform: rotate(-45deg) translate(-10%, 100%);
6410
+ transform-origin: center;
6411
+ transition:
6412
+ opacity 150ms ease,
6413
+ transform 150ms ease;
6414
+ }
6415
+
6416
+ @starting-style {._CheckMark_1tuad_92 {
6417
+ opacity: 0
6418
+ }
6419
+ }
6420
+
6421
+ [data-state="indeterminate"] ._CheckMark_1tuad_92 {
6422
+ transform: translate(30%, 80%);
6423
+ }
6424
+
6425
+ [data-state="indeterminate"] ._CheckMark_1tuad_92::before {
6426
+ opacity: 0;
6427
+ }
6428
+
6429
+ /* CheckMark arms */
6430
+ ._CheckMark_1tuad_92::before,
6431
+ ._CheckMark_1tuad_92::after {
6432
+ position: absolute;
6433
+ display: block;
6434
+ background: var(--gray-0);
6435
+ content: "";
6436
+ will-change: transform;
6437
+ }
6438
+
6439
+ @starting-style {
6440
+ ._CheckMark_1tuad_92::before,
6441
+ ._CheckMark_1tuad_92::after {
6442
+ transform: scale(0)
6443
+ }
6444
+ }
6445
+ /* pure black checkbox is not low enough contrast to look disabled */
6446
+ :where([data-theme="dark"]) ._CheckMark_1tuad_92[data-disabled]::before,
6447
+ :where([data-theme="dark"]) ._CheckMark_1tuad_92[data-disabled]::after {
6448
+ background: var(--gray-100);
6449
+ }
6450
+
6451
+ ._CheckMark_1tuad_92::before {
6452
+ top: 0;
6453
+ bottom: 0;
6454
+ left: 0;
6455
+ width: 2px;
6456
+ transform-origin: 0 0;
6457
+ transition:
6458
+ transform 100ms ease 80ms,
6459
+ opacity 200ms ease;
6460
+ }
6461
+
6462
+ ._CheckMark_1tuad_92 [data-state="indeterminate"]::before {
6463
+ opacity: 0;
6464
+ }
6465
+
6466
+ ._CheckMark_1tuad_92::after {
6467
+ right: 0;
6468
+ bottom: 0;
6469
+ left: 0;
6470
+ height: 2px;
6471
+ transform-origin: 0 100%;
6472
+ transition: transform 100ms ease 160ms;
6473
+ }._Label_1tuad_162 {
6474
+ display: flex;
6475
+ align-items: center;
6476
+ min-height: 20px;
6477
+ cursor: pointer;
6478
+ font-size: 14px;
6479
+ line-height: 20px;
6480
+ }
6481
+
6482
+ [data-disabled] ._Label_1tuad_162 {
6483
+ cursor: not-allowed;
6484
+ }
6485
+
6486
+ [data-orientation="left"] ._Label_1tuad_162 {
6487
+ padding-left: 8px;
6488
+ }
6489
+
6490
+ [data-orientation="right"] ._Label_1tuad_162 {
6491
+ padding-right: 8px;
6492
+ }
6493
+ }
6494
+ @layer components {._Container_13560_1 {
6495
+ --textarea-line-height: 20px;
6496
+ --textarea-font-weight: var(--font-weight-normal);
6497
+ --textarea-color: var(--color-text);
6498
+ --textarea-gutter-y: calc(0.5 * calc(var(--textarea-base-height) - var(--textarea-line-height)));
6499
+ --textarea-min-height: calc(
6500
+ (var(--textarea-gutter-y) * 2) + (var(--textarea-line-height) * var(--textarea-min-rows))
6501
+ );
6502
+ --textarea-max-height: calc(
6503
+ (var(--textarea-gutter-y) * 2) + (var(--textarea-line-height) * var(--textarea-max-rows))
6504
+ );
6505
+ }
6506
+ /* ============================================ */
6507
+ ._Container_13560_1:where([data-size="3xs"]) {
6508
+ --textarea-base-height: var(--control-size-3xs);
6509
+ --textarea-font-size: var(--control-font-size-sm);
6510
+ --textarea-radius: var(--control-radius-sm);
6511
+ --textarea-gutter-x: var(--control-gutter-xs);
6512
+ }
6513
+ /* Sizes */
6514
+
6515
+ ._Container_13560_1:where([data-size="2xs"]) {
6516
+ --textarea-base-height: var(--control-size-2xs);
6517
+ --textarea-font-size: var(--control-font-size-sm);
6518
+ --textarea-radius: var(--control-radius-sm);
6519
+ --textarea-gutter-x: var(--control-gutter-xs);
6520
+ }
6521
+
6522
+ /* ============================================ */
6523
+
6524
+ ._Container_13560_1:where([data-size="xs"]) {
6525
+ --textarea-base-height: var(--control-size-xs);
6526
+ --textarea-font-size: var(--control-font-size-md);
6527
+ --textarea-radius: var(--control-radius-sm);
6528
+ --textarea-gutter-x: var(--control-gutter-xs);
6529
+ }
6530
+
6531
+ ._Container_13560_1:where([data-size="sm"]) {
6532
+ --textarea-base-height: var(--control-size-sm);
6533
+ --textarea-font-size: var(--control-font-size-md);
6534
+ --textarea-radius: var(--control-radius-md);
6535
+ --textarea-gutter-x: var(--control-gutter-sm);
6536
+ }
6537
+
6538
+ /* ("md" is applied by default, set above) */
6539
+ ._Container_13560_1:where([data-size="md"]) {
6540
+ --textarea-base-height: var(--control-size-md);
6541
+ --textarea-font-size: var(--control-font-size-md);
6542
+ --textarea-radius: var(--control-radius-md);
6543
+ --textarea-gutter-x: var(--control-gutter-md);
6544
+ }
6545
+
6546
+ ._Container_13560_1:where([data-size="lg"]) {
6547
+ --textarea-base-height: var(--control-size-lg);
6548
+ --textarea-font-size: var(--control-font-size-md);
6549
+ --textarea-radius: var(--control-radius-md);
6550
+ --textarea-gutter-x: var(--control-gutter-md);
6551
+ }
6552
+
6553
+ ._Container_13560_1:where([data-size="xl"]) {
6554
+ --textarea-base-height: var(--control-size-xl);
6555
+ --textarea-font-size: var(--control-font-size-lg);
6556
+ --textarea-radius: var(--control-radius-lg);
6557
+ --textarea-gutter-x: var(--control-gutter-lg);
6558
+ }
6559
+
6560
+ ._Container_13560_1:where([data-size="2xl"]) {
6561
+ --textarea-base-height: var(--control-size-2xl);
6562
+ --textarea-font-size: var(--control-font-size-lg);
6563
+ --textarea-radius: var(--control-radius-xl);
6564
+ --textarea-gutter-x: var(--control-gutter-xl);
6565
+ }
6566
+
6567
+ ._Container_13560_1:where([data-size="3xl"]) {
6568
+ --textarea-base-height: var(--control-size-3xl);
6569
+ --textarea-font-size: var(--control-font-size-lg);
6570
+ --textarea-radius: var(--control-radius-xl);
6571
+ --textarea-gutter-x: var(--control-gutter-xl);
6572
+ }
6573
+ /* ============================================ */
6574
+ ._Container_13560_1:where([data-gutter-size="2xs"]) {
6575
+ --textarea-gutter-x: var(--control-gutter-2xs);
6576
+ }
6577
+ /* Gutter sizes */
6578
+
6579
+ ._Container_13560_1:where([data-gutter-size="xs"]) {
6580
+ --textarea-gutter-x: var(--control-gutter-xs);
6581
+ }
6582
+
6583
+ /* ============================================ */
6584
+
6585
+ ._Container_13560_1:where([data-gutter-size="sm"]) {
6586
+ --textarea-gutter-x: var(--control-gutter-sm);
6587
+ }
6588
+
6589
+ ._Container_13560_1:where([data-gutter-size="md"]) {
6590
+ --textarea-gutter-x: var(--control-gutter-md);
6591
+ }
6592
+
6593
+ ._Container_13560_1:where([data-gutter-size="lg"]) {
6594
+ --textarea-gutter-x: var(--control-gutter-lg);
6595
+ }
6596
+
6597
+ ._Container_13560_1:where([data-gutter-size="xl"]) {
6598
+ --textarea-gutter-x: var(--control-gutter-xl);
6599
+ }
6600
+
6601
+ ._Container_13560_1 {
6602
+
6603
+ position: relative;
6604
+ overflow: hidden;
6605
+ display: flex;
6606
+ width: 100%;
6607
+ border-radius: var(--textarea-radius);
6608
+ color: var(--textarea-color);
6609
+ cursor: text;
6610
+ font-size: var(--textarea-font-size);
6611
+ font-weight: var(--textarea-font-weight);
6612
+ transition-duration: var(--transition-duration-basic);
6613
+ transition-property: color, box-shadow, background-color;
6614
+ transition-timing-function: var(--transition-ease-basic);
6615
+ }
6616
+
6617
+ /* =============================================
6618
+ Outline variant
6619
+ ============================================= */
6620
+ ._Container_13560_1:where([data-variant="outline"]) {
6621
+ /* NOTE: Don't add box-model size here, as the <textarea> defines all height sizing */
6622
+ box-shadow: 0 0 0 1px var(--input-outline-border-color) inset;
6623
+ }
6624
+ @media (hover: hover) and (pointer: fine) {._Container_13560_1:where([data-variant="outline"]):not([data-disabled]):hover {
6625
+ box-shadow: 0 0 0 1px var(--input-outline-border-color-hover) inset;
6626
+ }
6627
+ }
6628
+
6629
+ ._Container_13560_1:where([data-variant="outline"]):not([data-disabled])[data-focused="true"] {
6630
+ box-shadow: 0 0 0 1px var(--input-outline-border-color-focus) inset;
6631
+ }
6632
+
6633
+ ._Container_13560_1:where([data-variant="outline"]):not([data-disabled])[data-invalid] {
6634
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
6635
+ }
6636
+
6637
+ /* =============================================
6638
+ Soft variant
6639
+ ============================================= */
6640
+ ._Container_13560_1:where([data-variant="soft"]) {
6641
+ background-color: var(--input-soft-background-color);
6642
+ }
6643
+ ._Container_13560_1:where([data-variant="soft"]):not([data-disabled])[data-focused="true"] {
6644
+ box-shadow: 0 0 0 1px var(--input-soft-border-color-focus) inset;
6645
+ }
6646
+
6647
+ ._Container_13560_1:where([data-variant="soft"]):not([data-disabled])[data-invalid] {
6648
+ box-shadow: 0 0 0 1px var(--input-border-color-invalid) inset;
6649
+ }
6650
+
6651
+ /* =============================================
6652
+ Invalid
6653
+ ============================================= */
6654
+ ._Container_13560_1[data-invalid] ::-moz-selection {
6655
+ background-color: var(--red-a50);
6656
+ }
6657
+ ._Container_13560_1[data-invalid] ::selection {
6658
+ background-color: var(--red-a50);
6659
+ }
6660
+
6661
+ /* =============================================
6662
+ Disabled
6663
+ ============================================= */
6664
+ ._Container_13560_1[data-disabled] {
6665
+ cursor: not-allowed;
6666
+ opacity: 0.5;
6667
+ }._Textarea_13560_174 {
6668
+ display: block;
6669
+ width: 100%;
6670
+ max-width: 100%;
6671
+ min-height: var(--textarea-min-height);
6672
+ max-height: var(--textarea-max-height);
6673
+ padding: var(--textarea-gutter-y) var(--textarea-gutter-x);
6674
+ border: 0;
6675
+ border-radius: 0;
6676
+ -webkit-appearance: none;
6677
+ -moz-appearance: none;
6678
+ appearance: none;
6679
+ background: none;
6680
+ box-shadow: none;
6681
+ color: inherit;
6682
+ /* Prevent Firefox autofill coloring (preview and confirmed modes) */
6683
+ filter: none;
6684
+ font-size: inherit;
6685
+ font-weight: inherit;
6686
+ line-height: var(--textarea-line-height);
6687
+ resize: none;
6688
+ }
6689
+
6690
+ ._Textarea_13560_174:focus {
6691
+ outline: 0;
6692
+ }
6693
+
6694
+ ._Textarea_13560_174:disabled {
6695
+ cursor: not-allowed;
6696
+ }
6697
+
6698
+ ._Textarea_13560_174::-moz-placeholder {
6699
+ color: var(--input-placeholder-text-color);
6700
+ /* Normalize placeholder coloring across browsers. Firefox specifically uses `opacity` instead of a different `color`. */
6701
+ opacity: 1;
6702
+ }
6703
+
6704
+ ._Textarea_13560_174::placeholder {
6705
+ color: var(--input-placeholder-text-color);
6706
+ /* Normalize placeholder coloring across browsers. Firefox specifically uses `opacity` instead of a different `color`. */
6707
+ opacity: 1;
6708
+ }
6709
+
6710
+ /* Applying an animation on autofill allows us to listen for the event in JS */
6711
+ ._Textarea_13560_174:-webkit-autofill {
6712
+ animation: _native-autofill-in_13560_1 1ms;
6713
+ }
6714
+
6715
+ /* Prevent auto-fill coloring */
6716
+ ._Textarea_13560_174:-webkit-autofill,
6717
+ ._Textarea_13560_174:-webkit-autofill:focus,
6718
+ ._Textarea_13560_174:-webkit-autofill:hover {
6719
+ color: var(--color-text) !important;
6720
+ -webkit-text-fill-color: var(--color-text) !important;
6721
+ /* Prevent all color changes by delaying their effect for a very long time */
6722
+ /* We cannot beat the specificity of user-agent stylesheet declarations, so we must delay them. */
6723
+ -webkit-transition:
6724
+ background-color 0s 50000s,
6725
+ box-shadow 0s 50000s,
6726
+ filter 0s 50000s !important;
6727
+ transition:
6728
+ background-color 0s 50000s,
6729
+ box-shadow 0s 50000s,
6730
+ filter 0s 50000s !important;
6731
+ }
6732
+ /* Identical to block above, but must keep separate for browsers to recognize their own selector */
6733
+ ._Textarea_13560_174:-webkit-autofill-and-obscured,
6734
+ ._Textarea_13560_174:-webkit-autofill-strong-password,
6735
+ ._Textarea_13560_174:-webkit-autofill-strong-password-viewable {
6736
+ color: var(--color-text) !important;
6737
+ -webkit-text-fill-color: var(--color-text) !important;
6738
+ -webkit-transition:
6739
+ background-color 0s 50000s,
6740
+ box-shadow 0s 50000s,
6741
+ filter 0s 50000s !important;
6742
+ transition:
6743
+ background-color 0s 50000s,
6744
+ box-shadow 0s 50000s,
6745
+ filter 0s 50000s !important;
6746
+ }
6747
+ /* Prevent strange autofill size adjustments */
6748
+ ._Textarea_13560_174:-webkit-autofill::first-line {
6749
+ font-size: 16px !important;
6750
+ -webkit-transition: font-size 0s 50000s !important;
6751
+ transition: font-size 0s 50000s !important;
6752
+ }
6753
+
6754
+ ._Textarea_13560_174::-webkit-resizer {
6755
+ visibility: hidden;
6756
+ }@keyframes _native-autofill-in_13560_1 {
6757
+ 0% {
6758
+ opacity: 1;
6759
+ }
6760
+
6761
+ 100% {
6762
+ opacity: 1;
6763
+ }
6764
+ }
6765
+ }
6766
+ @layer components {._SegmentedControl_1sl7d_1 {
6767
+ --segmented-control-option-radius: calc(
6768
+ var(--segmented-control-radius) - var(--segmented-control-gutter)
6769
+ );
6770
+
6771
+ position: relative;
6772
+ overflow: auto;
6773
+ display: inline-flex;
6774
+ flex-wrap: nowrap;
6775
+ gap: var(--segmented-control-gap);
6776
+ height: var(--segmented-control-size);
6777
+ padding: var(--segmented-control-gutter);
6778
+ border-radius: var(--segmented-control-radius);
6779
+ background: var(--segmented-control-background);
6780
+ font-size: var(--segmented-control-font-size);
6781
+ font-weight: var(--segmented-control-font-weight);
6782
+ -ms-overflow-style: none;
6783
+ scrollbar-width: none;
6784
+ /* Remove inline-flex baseline gap */
6785
+ vertical-align: middle;
6786
+ white-space: nowrap;
6787
+ }
6788
+
6789
+ ._SegmentedControl_1sl7d_1::-webkit-scrollbar {
6790
+ width: 0;
6791
+ height: 0;
6792
+ }
6793
+
6794
+ ._SegmentedControl_1sl7d_1::-webkit-scrollbar-track,
6795
+ ._SegmentedControl_1sl7d_1::-webkit-scrollbar-thumb {
6796
+ background: transparent;
6797
+ }
6798
+
6799
+ ._SegmentedControl_1sl7d_1:where([data-block]) {
6800
+ overflow: hidden;
6801
+ display: flex;
6802
+ width: 100%;
6803
+ white-space: wrap;
6804
+ }
6805
+
6806
+ /* =============================================
6807
+ Sizes
6808
+ ============================================= */
6809
+ ._SegmentedControl_1sl7d_1:where([data-size="3xs"]) {
6810
+ --segmented-control-size: var(--control-size-3xs);
6811
+ --segmented-control-font-size: var(--control-font-size-sm);
6812
+ --segmented-control-radius: var(--control-radius-sm);
6813
+ --segmented-control-option-gutter: var(--control-gutter-xs);
6814
+ }
6815
+
6816
+ ._SegmentedControl_1sl7d_1:where([data-size="2xs"]) {
6817
+ --segmented-control-size: var(--control-size-2xs);
6818
+ --segmented-control-font-size: var(--control-font-size-sm);
6819
+ --segmented-control-radius: var(--control-radius-sm);
6820
+ --segmented-control-option-gutter: var(--control-gutter-xs);
6821
+ }
6822
+
6823
+ ._SegmentedControl_1sl7d_1:where([data-size="xs"]) {
6824
+ --segmented-control-size: var(--control-size-xs);
6825
+ --segmented-control-font-size: var(--control-font-size-md);
6826
+ --segmented-control-radius: var(--control-radius-sm);
6827
+ --segmented-control-option-gutter: var(--control-gutter-xs);
6828
+ }
6829
+
6830
+ ._SegmentedControl_1sl7d_1:where([data-size="sm"]) {
6831
+ --segmented-control-size: var(--control-size-sm);
6832
+ --segmented-control-font-size: var(--control-font-size-md);
6833
+ --segmented-control-radius: var(--control-radius-md);
6834
+ --segmented-control-option-gutter: var(--control-gutter-sm);
6835
+ }
6836
+
6837
+ ._SegmentedControl_1sl7d_1:where([data-size="md"]) {
6838
+ --segmented-control-size: var(--control-size-md);
6839
+ --segmented-control-font-size: var(--control-font-size-md);
6840
+ --segmented-control-radius: var(--control-radius-md);
6841
+ --segmented-control-option-gutter: var(--control-gutter-md);
6842
+ }
6843
+
6844
+ ._SegmentedControl_1sl7d_1:where([data-size="lg"]) {
6845
+ --segmented-control-size: var(--control-size-lg);
6846
+ --segmented-control-font-size: var(--control-font-size-md);
6847
+ --segmented-control-radius: var(--control-radius-md);
6848
+ --segmented-control-option-gutter: var(--control-gutter-md);
6849
+ }
6850
+
6851
+ ._SegmentedControl_1sl7d_1:where([data-size="xl"]) {
6852
+ --segmented-control-size: var(--control-size-xl);
6853
+ --segmented-control-font-size: var(--control-font-size-md);
6854
+ --segmented-control-radius: var(--control-radius-lg);
6855
+ --segmented-control-option-gutter: var(--control-gutter-lg);
6856
+ }
6857
+
6858
+ ._SegmentedControl_1sl7d_1:where([data-size="2xl"]) {
6859
+ --segmented-control-size: var(--control-size-2xl);
6860
+ --segmented-control-font-size: var(--control-font-size-lg);
6861
+ --segmented-control-radius: var(--control-radius-xl);
6862
+ --segmented-control-option-gutter: var(--control-gutter-xl);
6863
+ }
6864
+
6865
+ ._SegmentedControl_1sl7d_1:where([data-size="3xl"]) {
6866
+ --segmented-control-size: var(--control-size-3xl);
6867
+ --segmented-control-font-size: var(--control-font-size-lg);
6868
+ --segmented-control-radius: var(--control-radius-xl);
6869
+ --segmented-control-option-gutter: var(--control-gutter-xl);
6870
+ }
6871
+
6872
+ /* =============================================
6873
+ Gutter sizes
6874
+ ============================================= */
6875
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="2xs"]) {
6876
+ --segmented-control-option-gutter: var(--control-gutter-2xs);
6877
+ }
6878
+
6879
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="xs"]) {
6880
+ --segmented-control-option-gutter: var(--control-gutter-xs);
6881
+ }
6882
+
6883
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="sm"]) {
6884
+ --segmented-control-option-gutter: var(--control-gutter-sm);
6885
+ }
6886
+
6887
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="md"]) {
6888
+ --segmented-control-option-gutter: var(--control-gutter-md);
6889
+ }
6890
+
6891
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="lg"]) {
6892
+ --segmented-control-option-gutter: var(--control-gutter-lg);
6893
+ }
6894
+
6895
+ ._SegmentedControl_1sl7d_1:where([data-gutter-size="xl"]) {
6896
+ --segmented-control-option-gutter: var(--control-gutter-xl);
6897
+ }
6898
+
6899
+ /* =============================================
6900
+ Pill
6901
+ ============================================= */
6902
+ ._SegmentedControl_1sl7d_1:where([data-pill]) {
6903
+ --segmented-control-radius: var(--radius-full);
6904
+ --segmented-control-option-radius: var(--radius-full);
6905
+ }._SegmentedControlOption_1sl7d_140 {
6906
+ position: relative;
6907
+ padding: 0 var(--segmented-control-option-gutter);
6908
+ border-radius: var(--segmented-control-option-radius);
6909
+ color: var(--color-text-secondary);
6910
+ cursor: pointer;
6911
+ line-height: 1;
6912
+ transition-duration: var(--transition-duration-basic);
6913
+ transition-property: opacity, background-color, color;
6914
+ transition-timing-function: var(--transition-ease-basic);
6915
+ }
6916
+
6917
+ ._SegmentedControlOption_1sl7d_140:focus {
6918
+ outline: 0;
6919
+ }
6920
+
6921
+ :where(._SegmentedControl_1sl7d_1[data-block]) ._SegmentedControlOption_1sl7d_140 {
6922
+ flex: 1;
6923
+ }
6924
+
6925
+ :where(._SegmentedControl_1sl7d_1[data-pill]) ._SegmentedControlOption_1sl7d_140 {
6926
+ padding: 0 calc(var(--segmented-control-option-gutter) * var(--control-gutter-pill-scaling));
6927
+ }
6928
+
6929
+ ._SegmentedControlOption_1sl7d_140[data-state="on"]:focus-visible {
6930
+ outline: 2px solid var(--color-ring);
6931
+ }
6932
+
6933
+ ._SegmentedControlOption_1sl7d_140::before {
6934
+ position: absolute;
6935
+ inset: var(--segmented-control-option-highlight-gutter);
6936
+ border-radius: var(--segmented-control-option-radius);
6937
+ background: var(--segmented-control-option-highlight-background-color);
6938
+ content: "";
6939
+ opacity: 0;
6940
+ pointer-events: none;
6941
+ transform: scale(1);
6942
+ transition-duration: var(--transition-duration-basic);
6943
+ transition-property: opacity, transform;
6944
+ transition-timing-function: var(--transition-ease-basic);
6945
+ will-change: transform;
6946
+ }
6947
+
6948
+ ._SegmentedControlOption_1sl7d_140:active::before {
6949
+ transform: scale(var(--scale), 0.97);
6950
+ }
6951
+
6952
+ ._SegmentedControlOption_1sl7d_140 svg {
6953
+ display: block;
6954
+ }
6955
+ @media (hover: hover) and (pointer: fine) {._SegmentedControlOption_1sl7d_140[data-state="off"]:where(:not([disabled])):hover {
6956
+ color: var(--color-text);
6957
+ }
6958
+
6959
+ ._SegmentedControlOption_1sl7d_140[data-state="off"]:where(:not([disabled])):hover::before {
6960
+ opacity: 0.5;
6961
+ }
6962
+ }
6963
+
6964
+ ._SegmentedControlOption_1sl7d_140[data-state="off"]:where(:not([disabled])):focus-visible {
6965
+ color: var(--color-text);
6966
+ outline: 2px solid var(--color-ring);
6967
+ }
6968
+
6969
+ ._SegmentedControlOption_1sl7d_140[data-state="off"]:where(:not([disabled])):active::before {
6970
+ opacity: 0.75;
6971
+ }
6972
+
6973
+ ._SegmentedControlOption_1sl7d_140[data-state="on"] {
6974
+ color: var(--color-text);
6975
+ }
6976
+
6977
+ ._SegmentedControlOption_1sl7d_140[data-disabled] {
6978
+ cursor: not-allowed;
6979
+ opacity: 0.5;
6980
+ }
6981
+
6982
+ ._SegmentedControlOption_1sl7d_140[data-disabled]::before {
6983
+ opacity: 0 !important;
6984
+ }._SegmentedControlThumb_1sl7d_219 {
6985
+ position: absolute;
6986
+ top: var(--segmented-control-gutter);
6987
+ bottom: var(--segmented-control-gutter);
6988
+ left: 0;
6989
+ border-radius: var(--segmented-control-option-radius);
6990
+ background: var(--segmented-control-thumb-background);
6991
+ box-shadow: var(--segmented-control-thumb-shadow);
6992
+ pointer-events: none;
6993
+ will-change: transform;
6994
+ }
4420
6995
  }