@revikornmann/muka-ui 0.50.1 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/cjs/components/BadgeNumber/BadgeNumber.css +8 -0
  2. package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
  3. package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
  4. package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
  5. package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
  6. package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
  7. package/dist/cjs/components/FileUpload/FileUpload.js +31 -13
  8. package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
  9. package/dist/cjs/components/FileUpload/FileUploadItem.js +11 -3
  10. package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
  11. package/dist/cjs/components/FileUpload/index.js.map +1 -1
  12. package/dist/cjs/components/ListItem/ListItem.css +19 -0
  13. package/dist/cjs/components/ListItem/ListItem.js +3 -3
  14. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  15. package/dist/cjs/components/index.js.map +1 -1
  16. package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
  17. package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
  18. package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
  19. package/dist/esm/components/BottomBar/BottomBar.css +10 -0
  20. package/dist/esm/components/BottomBar/BottomBar.js +4 -2
  21. package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
  22. package/dist/esm/components/FileUpload/FileUpload.js +32 -14
  23. package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
  24. package/dist/esm/components/FileUpload/FileUploadItem.js +10 -2
  25. package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
  26. package/dist/esm/components/FileUpload/index.js.map +1 -1
  27. package/dist/esm/components/ListItem/ListItem.css +19 -0
  28. package/dist/esm/components/ListItem/ListItem.js +3 -3
  29. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  30. package/dist/esm/components/index.js.map +1 -1
  31. package/dist/styles/components/BadgeNumber.css +8 -0
  32. package/dist/styles/components/BottomBar.css +10 -0
  33. package/dist/styles/components/ListItem.css +19 -0
  34. package/dist/styles/index.css +1844 -1807
  35. package/dist/styles/muka-dark.css +1844 -1807
  36. package/dist/styles/muka-light.css +1844 -1807
  37. package/dist/styles/wireframe-dark.css +1844 -1807
  38. package/dist/styles/wireframe-light.css +1844 -1807
  39. package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
  40. package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
  41. package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
  42. package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
  43. package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
  44. package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
  45. package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
  46. package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
  47. package/dist/types/components/FileUpload/index.d.ts +1 -1
  48. package/dist/types/components/FileUpload/index.d.ts.map +1 -1
  49. package/dist/types/components/ListItem/ListItem.d.ts +8 -1
  50. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  51. package/dist/types/components/index.d.ts +1 -1
  52. package/dist/types/components/index.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -3608,795 +3608,795 @@ body {
3608
3608
  }
3609
3609
 
3610
3610
 
3611
- /* Thumbnail */
3612
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3611
+ /* Tile */
3612
+ /* Tile Component Styles - Using Muka Design Tokens */
3613
3613
 
3614
- .muka-thumbnail {
3615
- position: relative;
3616
- flex-shrink: 0;
3617
- }
3614
+ /* ─── Base ────────────────────────────────────────────── */
3618
3615
 
3619
- /* The frame carries the border, background and shape clip. Keeping it separate
3620
- from the root lets the remove (×) button sit outside the clip (needed for the
3621
- circular/ellipse shape, whose corners would otherwise clip the button). */
3622
- .muka-thumbnail__frame {
3623
- position: absolute;
3624
- inset: 0;
3625
- overflow: hidden;
3626
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3627
- border-radius: var(--border-radius-lg);
3628
- background-color: var(--color-surface-level1);
3616
+ .muka-tile {
3617
+ display: flex;
3618
+ color: var(--color-text-default-default);
3629
3619
  }
3630
3620
 
3631
- /* ─── Shapes ──────────────────────────────────────────── */
3632
- .muka-thumbnail--4-3 {
3633
- width: 160px;
3634
- height: 120px;
3621
+ .muka-tile--interactive {
3622
+ cursor: pointer;
3623
+ user-select: none;
3635
3624
  }
3636
3625
 
3637
- .muka-thumbnail--1-1 {
3638
- width: 120px;
3639
- height: 120px;
3626
+ .muka-tile--interactive:focus-visible {
3627
+ outline: 2px solid var(--color-border-focus);
3628
+ outline-offset: 2px;
3629
+ border-radius: var(--border-radius-lg);
3640
3630
  }
3641
3631
 
3642
- .muka-thumbnail--ellipse {
3643
- width: 120px;
3644
- height: 120px;
3645
- }
3632
+ /* ─── Image position variants ─────────────────────────── */
3646
3633
 
3647
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3648
- .muka-thumbnail--fluid {
3649
- width: 100%;
3650
- height: auto;
3651
- aspect-ratio: 1 / 1;
3634
+ .muka-tile--image-top {
3635
+ flex-direction: column;
3652
3636
  }
3653
3637
 
3654
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3655
- aspect-ratio: 4 / 3;
3638
+ .muka-tile--image-left {
3639
+ flex-direction: row;
3656
3640
  }
3657
3641
 
3658
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3659
- border-radius: var(--border-radius-full);
3642
+ .muka-tile--image-right {
3643
+ flex-direction: row;
3660
3644
  }
3661
3645
 
3662
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3663
- interactive hover zoom has a clean origin. */
3664
- .muka-thumbnail__image {
3665
- position: absolute;
3666
- inset: 0;
3667
- width: 100%;
3668
- height: 100%;
3669
- object-fit: cover;
3670
- display: block;
3671
- transform-origin: center;
3672
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3673
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3674
- }
3646
+ /* ─── Gap by size (top) ───────────────────────────────── */
3675
3647
 
3676
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3677
- .muka-thumbnail__trigger {
3678
- position: absolute;
3679
- inset: 0;
3680
- padding: 0;
3681
- border: 0;
3682
- background: none;
3683
- cursor: pointer;
3684
- overflow: hidden;
3648
+ .muka-tile--image-top.muka-tile--lg {
3649
+ gap: var(--spacing-6);
3685
3650
  }
3686
3651
 
3687
- .muka-thumbnail__trigger:focus-visible {
3688
- outline: 2px solid var(--color-border-focus);
3689
- outline-offset: -2px;
3652
+ .muka-tile--image-top.muka-tile--md {
3653
+ gap: var(--spacing-6);
3654
+ width: 320px;
3690
3655
  }
3691
3656
 
3692
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3693
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3694
- transform: scale(1.05);
3657
+ .muka-tile--image-top.muka-tile--sm {
3658
+ gap: var(--spacing-4);
3659
+ min-width: 120px;
3695
3660
  }
3696
3661
 
3697
- /* ─── Loading overlay + progress donut ────────────────── */
3698
- .muka-thumbnail__overlay {
3699
- position: absolute;
3700
- inset: 0;
3701
- display: flex;
3662
+ /* ─── Gap by size (left/right) ────────────────────────── */
3663
+
3664
+ .muka-tile--image-left.muka-tile--lg,
3665
+ .muka-tile--image-right.muka-tile--lg {
3666
+ gap: var(--spacing-6);
3702
3667
  align-items: center;
3703
- justify-content: center;
3704
- background-color: var(--dialog-color-backdrop);
3705
3668
  }
3706
3669
 
3707
- .muka-thumbnail__progress {
3708
- width: 40px;
3709
- height: 40px;
3670
+ .muka-tile--image-left.muka-tile--md,
3671
+ .muka-tile--image-right.muka-tile--md {
3672
+ gap: var(--spacing-6);
3673
+ align-items: center;
3710
3674
  }
3711
3675
 
3712
- /* ─── Error / corrupt state ───────────────────────────── */
3713
- .muka-thumbnail--error .muka-thumbnail__frame {
3714
- background-color: var(--alias-color-state-error-muted);
3715
- border-color: var(--alias-color-state-error-default);
3676
+ .muka-tile--image-left.muka-tile--sm,
3677
+ .muka-tile--image-right.muka-tile--sm {
3678
+ gap: var(--spacing-4);
3679
+ align-items: flex-start;
3716
3680
  }
3717
3681
 
3718
- .muka-thumbnail__error {
3719
- position: absolute;
3720
- inset: 0;
3682
+ /* ─── Photos container ────────────────────────────────── */
3683
+
3684
+ .muka-tile__photos {
3685
+ position: relative;
3686
+ flex-shrink: 0;
3687
+ overflow: hidden;
3721
3688
  display: flex;
3722
3689
  flex-direction: column;
3723
- align-items: center;
3724
- justify-content: center;
3725
- gap: var(--spacing-2);
3726
- padding: var(--spacing-3);
3727
- text-align: center;
3690
+ isolation: isolate;
3728
3691
  }
3729
3692
 
3730
- .muka-thumbnail__error-icon {
3731
- color: var(--alert-color-error-accent);
3693
+ /* Photos border radius by size */
3694
+ .muka-tile--lg .muka-tile__photos,
3695
+ .muka-tile--md .muka-tile__photos {
3696
+ border-radius: var(--border-radius-lg);
3732
3697
  }
3733
3698
 
3734
- .muka-thumbnail__caption {
3735
- max-width: 100%;
3736
- overflow: hidden;
3737
- text-overflow: ellipsis;
3738
- white-space: nowrap;
3739
- color: var(--alert-color-error-accent);
3740
- font-family: var(--text-body-sm-regular-fontFamily);
3741
- font-size: var(--text-body-sm-regular-fontSize);
3742
- font-weight: var(--text-body-sm-regular-fontWeight);
3743
- line-height: var(--text-body-sm-regular-lineHeight);
3699
+ .muka-tile--sm .muka-tile__photos {
3700
+ border-radius: var(--border-radius-md);
3744
3701
  }
3745
3702
 
3746
- /* ─── Remove (×) button ───────────────────────────────── */
3747
- .muka-thumbnail__remove {
3748
- position: absolute;
3749
- top: var(--spacing-2);
3750
- right: var(--spacing-2);
3751
- display: flex;
3752
- align-items: center;
3753
- justify-content: center;
3754
- width: var(--size-2xl);
3755
- height: var(--size-2xl);
3756
- padding: 0;
3757
- color: var(--button-color-tertiary-foreground-default);
3758
- background-color: var(--button-color-tertiary-background-default);
3759
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3760
- border-radius: var(--border-radius-lg);
3761
- cursor: pointer;
3762
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3763
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3703
+ /* Photos sizing: top layout */
3704
+ .muka-tile--image-top .muka-tile__photos {
3705
+ width: 100%;
3764
3706
  }
3765
3707
 
3766
- .muka-thumbnail__remove:hover {
3767
- color: var(--button-color-tertiary-foreground-hover);
3768
- background-color: var(--button-color-tertiary-background-hover);
3769
- border-color: var(--button-color-tertiary-border-hover);
3708
+ /* Photos sizing: left/right large */
3709
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3710
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3711
+ width: 520px;
3770
3712
  }
3771
3713
 
3772
- .muka-thumbnail__remove:active {
3773
- color: var(--button-color-tertiary-foreground-pressed);
3774
- background-color: var(--button-color-tertiary-background-pressed);
3775
- border-color: var(--button-color-tertiary-border-pressed);
3714
+ /* Photos sizing: left/right medium */
3715
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3716
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3717
+ width: 320px;
3776
3718
  }
3777
3719
 
3778
- .muka-thumbnail__remove:focus-visible {
3779
- outline: 2px solid var(--color-border-focus);
3780
- outline-offset: 2px;
3720
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3721
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3722
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3723
+ width: 80px;
3724
+ align-self: stretch;
3781
3725
  }
3782
3726
 
3783
- /* ─── Reduced motion ──────────────────────────────────── */
3784
- @media (prefers-reduced-motion: reduce) {
3785
- .muka-thumbnail__image,
3786
- .muka-thumbnail__remove {
3787
- transition: none;
3788
- }
3727
+ /* ─── Main photo ──────────────────────────────────────── */
3789
3728
 
3790
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3791
- transform: none;
3792
- }
3729
+ .muka-tile__photo-main {
3730
+ position: relative;
3731
+ width: 100%;
3732
+ overflow: hidden;
3733
+ flex-shrink: 0;
3793
3734
  }
3794
3735
 
3795
-
3796
- /* Textarea */
3797
- /* Textarea Component Styles - Using Muka Design Tokens */
3798
-
3799
- .muka-textarea {
3800
- display: inline-flex;
3801
- flex-direction: column;
3802
- gap: var(--spacing-2);
3736
+ /* 16:9 aspect for lg and md */
3737
+ .muka-tile--lg .muka-tile__photo-main,
3738
+ .muka-tile--md .muka-tile__photo-main {
3739
+ aspect-ratio: 1280 / 720;
3803
3740
  }
3804
3741
 
3805
- /* Label */
3806
- .muka-textarea__label {
3807
- color: var(--color-text-default-default);
3808
- cursor: pointer;
3742
+ /* 1:1 aspect for top + sm */
3743
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3744
+ aspect-ratio: 1 / 1;
3809
3745
  }
3810
3746
 
3811
- .muka-textarea__label--sm {
3812
- font-family: var(--text-label-sm-semibold-fontFamily);
3813
- font-weight: var(--text-label-sm-semibold-fontWeight);
3814
- font-size: var(--text-label-sm-semibold-fontSize);
3815
- line-height: var(--text-label-sm-semibold-lineHeight);
3747
+ /* Fixed size for left/right + sm */
3748
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3749
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3750
+ width: 80px;
3751
+ height: 80px;
3752
+ aspect-ratio: auto;
3816
3753
  }
3817
3754
 
3818
- .muka-textarea__label--md {
3819
- font-family: var(--text-label-md-semibold-fontFamily);
3820
- font-weight: var(--text-label-md-semibold-fontWeight);
3821
- font-size: var(--text-label-md-semibold-fontSize);
3822
- line-height: var(--text-label-md-semibold-lineHeight);
3755
+ .muka-tile__photo-main img {
3756
+ width: 100%;
3757
+ height: 100%;
3758
+ object-fit: cover;
3759
+ display: block;
3823
3760
  }
3824
3761
 
3825
- .muka-textarea__label--lg {
3826
- font-family: var(--text-label-lg-semibold-fontFamily);
3827
- font-weight: var(--text-label-lg-semibold-fontWeight);
3828
- font-size: var(--text-label-lg-semibold-fontSize);
3829
- line-height: var(--text-label-lg-semibold-lineHeight);
3762
+ /* ─── Favourite overlay ───────────────────────────────── */
3763
+
3764
+ .muka-tile__favourite {
3765
+ position: absolute;
3766
+ z-index: 3;
3830
3767
  }
3831
3768
 
3832
- .muka-textarea__required {
3833
- color: var(--color-state-error-default);
3769
+ .muka-tile--lg .muka-tile__favourite,
3770
+ .muka-tile--md .muka-tile__favourite {
3771
+ top: var(--spacing-4);
3772
+ right: var(--spacing-4);
3834
3773
  }
3835
3774
 
3836
- /* Field container */
3837
- .muka-textarea__field {
3775
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3776
+ top: var(--spacing-1);
3777
+ right: var(--spacing-1);
3778
+ }
3779
+
3780
+ /* ─── Thumbnails ──────────────────────────────────────── */
3781
+
3782
+ .muka-tile__thumbnails {
3838
3783
  display: flex;
3839
- background-color: var(--input-field-color-default-background);
3840
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3841
- border-radius: var(--input-field-radius-md);
3842
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3843
- transition: border-color 0.2s ease, background-color 0.2s ease;
3844
- box-sizing: border-box;
3784
+ gap: 2px;
3785
+ overflow: hidden;
3786
+ flex-shrink: 0;
3787
+ height: 80px;
3845
3788
  }
3846
3789
 
3847
- .muka-textarea__field--sm {
3848
- min-height: var(--input-textarea-height-sm);
3849
- border-radius: var(--input-field-radius-sm);
3790
+ .muka-tile__thumbnail {
3791
+ width: 80px;
3792
+ height: 80px;
3793
+ flex-shrink: 0;
3794
+ overflow: hidden;
3850
3795
  }
3851
3796
 
3852
- .muka-textarea__field--md {
3853
- min-height: var(--input-textarea-height-default);
3854
- border-radius: var(--input-field-radius-md);
3797
+ .muka-tile__thumbnail img {
3798
+ width: 100%;
3799
+ height: 100%;
3800
+ object-fit: cover;
3801
+ display: block;
3855
3802
  }
3856
3803
 
3857
- .muka-textarea__field--lg {
3858
- min-height: var(--input-textarea-height-lg);
3859
- border-radius: var(--input-field-radius-lg);
3804
+ /* Gap between main photo and thumbnails */
3805
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3806
+ margin-top: 2px;
3860
3807
  }
3861
3808
 
3862
- /* Focus state */
3863
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3864
- border-width: var(--border-width-bold);
3865
- border-color: var(--input-field-color-focus-border);
3866
- background-color: var(--input-field-color-focus-background);
3867
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3809
+ /* ─── Content section ─────────────────────────────────── */
3810
+
3811
+ .muka-tile__content {
3812
+ display: flex;
3813
+ flex-direction: column;
3814
+ flex: 1;
3815
+ min-width: 0;
3868
3816
  }
3869
3817
 
3870
- /* Error state */
3871
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3872
- border-width: var(--border-width-bold);
3873
- border-color: var(--input-field-color-error-border);
3874
- background-color: var(--input-field-color-error-background);
3875
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3818
+ /* Top layout: content has horizontal padding */
3819
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3820
+ padding: 0 var(--spacing-3);
3821
+ gap: var(--spacing-1);
3876
3822
  }
3877
3823
 
3878
- /* Disabled state */
3879
- .muka-textarea__field--disabled {
3880
- background-color: var(--input-field-color-disabled-background);
3881
- border-color: var(--input-field-color-disabled-border);
3882
- cursor: not-allowed;
3824
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3825
+ padding: 0 var(--spacing-3);
3826
+ gap: var(--spacing-2);
3883
3827
  }
3884
3828
 
3885
- /* Native textarea */
3886
- .muka-textarea__native {
3887
- flex: 1;
3888
- border: none;
3889
- outline: none;
3890
- background: transparent;
3891
- color: var(--input-field-color-default-foreground);
3892
- font-family: var(--text-input-md-fontFamily);
3893
- font-weight: var(--text-input-md-fontWeight);
3894
- font-size: var(--text-input-md-fontSize);
3895
- line-height: var(--text-input-md-lineHeight);
3896
- padding: 0;
3897
- width: 100%;
3898
- min-width: 0;
3829
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3830
+ gap: var(--spacing-2);
3899
3831
  }
3900
3832
 
3901
- .muka-textarea__field--sm .muka-textarea__native {
3902
- font-family: var(--text-input-sm-fontFamily);
3903
- font-weight: var(--text-input-sm-fontWeight);
3904
- font-size: var(--text-input-sm-fontSize);
3905
- line-height: var(--text-input-sm-lineHeight);
3833
+ /* Left/right layout: content grows to fill space */
3834
+ .muka-tile--image-left .muka-tile__content,
3835
+ .muka-tile--image-right .muka-tile__content {
3836
+ gap: var(--spacing-3);
3906
3837
  }
3907
3838
 
3908
- .muka-textarea__field--lg .muka-textarea__native {
3909
- font-family: var(--text-input-lg-fontFamily);
3910
- font-weight: var(--text-input-lg-fontWeight);
3911
- font-size: var(--text-input-lg-fontSize);
3912
- line-height: var(--text-input-lg-lineHeight);
3839
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3840
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3841
+ padding: 0 var(--spacing-3);
3913
3842
  }
3914
3843
 
3915
- .muka-textarea__native::placeholder {
3916
- color: var(--color-text-subtle-default);
3844
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3845
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3846
+ padding: var(--spacing-2) var(--spacing-3);
3917
3847
  }
3918
3848
 
3919
- .muka-textarea__field--disabled .muka-textarea__native {
3920
- color: var(--input-field-color-disabled-foreground);
3921
- cursor: not-allowed;
3849
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3850
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3851
+ gap: var(--spacing-2);
3922
3852
  }
3923
3853
 
3924
- /* Footer (helper/error + count) */
3925
- .muka-textarea__footer {
3854
+ /* ─── Header (heading row + price) ────────────────────── */
3855
+
3856
+ .muka-tile__header {
3926
3857
  display: flex;
3927
- justify-content: space-between;
3928
3858
  align-items: flex-start;
3859
+ gap: var(--spacing-4);
3860
+ }
3861
+
3862
+ /* Small horizontal: row with text and action */
3863
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3929
3864
  gap: var(--spacing-2);
3865
+ align-items: center;
3866
+ padding-top: var(--spacing-1);
3930
3867
  }
3931
3868
 
3932
- .muka-textarea__helper {
3933
- font-family: var(--text-label-sm-regular-fontFamily);
3934
- font-weight: var(--text-label-sm-regular-fontWeight);
3935
- font-size: var(--text-label-sm-regular-fontSize);
3936
- line-height: var(--text-label-sm-regular-lineHeight);
3937
- color: var(--color-text-subtle-default);
3938
- margin: 0;
3869
+ /* ─── Text group ──────────────────────────────────────── */
3870
+
3871
+ .muka-tile__text {
3872
+ display: flex;
3873
+ flex-direction: column;
3874
+ flex: 1;
3875
+ min-width: 0;
3876
+ gap: var(--spacing-2);
3939
3877
  }
3940
3878
 
3941
- .muka-textarea__error {
3942
- font-family: var(--text-label-sm-regular-fontFamily);
3943
- font-weight: var(--text-label-sm-regular-fontWeight);
3944
- font-size: var(--text-label-sm-regular-fontSize);
3945
- line-height: var(--text-label-sm-regular-lineHeight);
3946
- color: var(--color-state-error-default);
3879
+ /* ─── Heading typography ──────────────────────────────── */
3880
+
3881
+ .muka-tile__heading {
3947
3882
  margin: 0;
3948
3883
  }
3949
3884
 
3950
- .muka-textarea__count {
3951
- font-family: var(--text-label-sm-regular-fontFamily);
3952
- font-weight: var(--text-label-sm-regular-fontWeight);
3953
- font-size: var(--text-label-sm-regular-fontSize);
3954
- line-height: var(--text-label-sm-regular-lineHeight);
3955
- color: var(--color-text-subtle-default);
3956
- margin-left: auto;
3885
+ .muka-tile--lg .muka-tile__heading {
3886
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3887
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3888
+ font-size: var(--text-label-2xl-semibold-fontSize);
3889
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3890
+ color: var(--color-text-default-default);
3957
3891
  }
3958
3892
 
3893
+ .muka-tile--md .muka-tile__heading {
3894
+ font-family: var(--text-label-xl-semibold-fontFamily);
3895
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3896
+ font-size: var(--text-label-xl-semibold-fontSize);
3897
+ line-height: var(--text-label-xl-semibold-lineHeight);
3898
+ color: var(--color-text-default-default);
3899
+ }
3959
3900
 
3960
- /* TextLink */
3961
- /* TextLink Component Styles - Using Muka Design Tokens */
3901
+ .muka-tile--sm .muka-tile__heading {
3902
+ font-family: var(--text-label-lg-bold-fontFamily);
3903
+ font-weight: var(--text-label-lg-bold-fontWeight);
3904
+ font-size: var(--text-label-lg-bold-fontSize);
3905
+ line-height: var(--text-label-lg-bold-lineHeight);
3906
+ color: var(--color-text-default-default);
3907
+ }
3962
3908
 
3963
- .muka-text-link {
3964
- display: inline;
3965
- cursor: pointer;
3966
- text-decoration: underline;
3967
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3968
- text-underline-offset: 0.2em;
3969
- text-decoration-thickness: from-font;
3970
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3971
- border-radius: var(--border-radius-sm);
3972
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3909
+ /* ─── Subheading typography ───────────────────────────── */
3910
+
3911
+ .muka-tile__subheading {
3912
+ margin: 0;
3913
+ color: var(--color-text-subtle-default);
3973
3914
  }
3974
3915
 
3975
- /* ─── Sizes ───────────────────────────────────────────────
3976
- Mirrors the body text scale so a link matches the copy it sits in. */
3977
- .muka-text-link--sm {
3978
- font-family: var(--text-body-sm-regular-fontFamily);
3979
- font-weight: var(--text-body-sm-regular-fontWeight);
3980
- font-size: var(--text-body-sm-regular-fontSize);
3981
- line-height: var(--text-body-sm-regular-lineHeight);
3916
+ .muka-tile--lg .muka-tile__subheading {
3917
+ font-family: var(--text-subheading-md-fontFamily);
3918
+ font-weight: var(--text-subheading-md-fontWeight);
3919
+ font-size: var(--text-subheading-md-fontSize);
3920
+ line-height: var(--text-subheading-md-lineHeight);
3982
3921
  }
3983
3922
 
3984
- .muka-text-link--base {
3985
- font-family: var(--text-body-base-regular-fontFamily);
3986
- font-weight: var(--text-body-base-regular-fontWeight);
3987
- font-size: var(--text-body-base-regular-fontSize);
3988
- line-height: var(--text-body-base-regular-lineHeight);
3923
+ .muka-tile--md .muka-tile__subheading,
3924
+ .muka-tile--sm .muka-tile__subheading {
3925
+ font-family: var(--text-subheading-sm-fontFamily);
3926
+ font-weight: var(--text-subheading-sm-fontWeight);
3927
+ font-size: var(--text-subheading-sm-fontSize);
3928
+ line-height: var(--text-subheading-sm-lineHeight);
3989
3929
  }
3990
3930
 
3991
- .muka-text-link--lg {
3931
+ /* ─── Description typography ──────────────────────────── */
3932
+
3933
+ .muka-tile__description {
3934
+ margin: 0;
3935
+ color: var(--color-text-default-default);
3936
+ }
3937
+
3938
+ .muka-tile--lg .muka-tile__description {
3992
3939
  font-family: var(--text-body-lg-regular-fontFamily);
3993
3940
  font-weight: var(--text-body-lg-regular-fontWeight);
3994
3941
  font-size: var(--text-body-lg-regular-fontSize);
3995
3942
  line-height: var(--text-body-lg-regular-lineHeight);
3996
3943
  }
3997
3944
 
3998
- /* ─── Variant: default (accent) ───────────────────────────
3999
- Visited repeats the default colour on purpose: the design treats visited and
4000
- default the same, and pinning it stops the browser's purple from showing. */
4001
- .muka-text-link--default,
4002
- .muka-text-link--default:visited {
4003
- color: var(--color-text-action-default);
3945
+ .muka-tile--md .muka-tile__description,
3946
+ .muka-tile--sm .muka-tile__description {
3947
+ font-family: var(--text-body-base-regular-fontFamily);
3948
+ font-weight: var(--text-body-base-regular-fontWeight);
3949
+ font-size: var(--text-body-base-regular-fontSize);
3950
+ line-height: var(--text-body-base-regular-lineHeight);
4004
3951
  }
4005
3952
 
4006
- .muka-text-link--default:hover,
4007
- .muka-text-link--default:focus-visible {
4008
- color: var(--color-text-action-hover);
4009
- }
4010
-
4011
- .muka-text-link--default:active {
4012
- color: var(--color-text-action-pressed);
3953
+ /* Description overflow for medium */
3954
+ .muka-tile--md .muka-tile__description {
3955
+ overflow: hidden;
3956
+ text-overflow: ellipsis;
4013
3957
  }
4014
3958
 
4015
- /* ─── Variant: subtle (neutral) ───────────────────────────
4016
- Hover, focus and pressed all darken to the default text colour. */
4017
- .muka-text-link--subtle,
4018
- .muka-text-link--subtle:visited {
4019
- color: var(--color-text-subtle-default);
4020
- }
3959
+ /* ─── Price slot ──────────────────────────────────────── */
4021
3960
 
4022
- .muka-text-link--subtle:hover,
4023
- .muka-text-link--subtle:focus-visible,
4024
- .muka-text-link--subtle:active {
4025
- color: var(--color-text-default-default);
3961
+ .muka-tile__price {
3962
+ flex-shrink: 0;
4026
3963
  }
4027
3964
 
4028
- /* ─── Focus ───────────────────────────────────────────────
4029
- Same ring as every other focusable Muka component. */
4030
- .muka-text-link:focus-visible {
4031
- outline: 2px solid var(--color-border-focus);
4032
- outline-offset: 2px;
4033
- }
3965
+ /* ─── Action slot ─────────────────────────────────────── */
4034
3966
 
4035
- @media (prefers-reduced-motion: reduce) {
4036
- .muka-text-link {
4037
- transition: none;
4038
- }
3967
+ .muka-tile__action {
3968
+ flex-shrink: 0;
4039
3969
  }
4040
3970
 
4041
3971
 
4042
- /* Tile */
4043
- /* Tile Component Styles - Using Muka Design Tokens */
4044
-
4045
- /* ─── Base ────────────────────────────────────────────── */
4046
-
4047
- .muka-tile {
4048
- display: flex;
4049
- color: var(--color-text-default-default);
4050
- }
3972
+ /* Thumbnail */
3973
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4051
3974
 
4052
- .muka-tile--interactive {
4053
- cursor: pointer;
4054
- user-select: none;
3975
+ .muka-thumbnail {
3976
+ position: relative;
3977
+ flex-shrink: 0;
4055
3978
  }
4056
3979
 
4057
- .muka-tile--interactive:focus-visible {
4058
- outline: 2px solid var(--color-border-focus);
4059
- outline-offset: 2px;
3980
+ /* The frame carries the border, background and shape clip. Keeping it separate
3981
+ from the root lets the remove (×) button sit outside the clip (needed for the
3982
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3983
+ .muka-thumbnail__frame {
3984
+ position: absolute;
3985
+ inset: 0;
3986
+ overflow: hidden;
3987
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4060
3988
  border-radius: var(--border-radius-lg);
3989
+ background-color: var(--color-surface-level1);
4061
3990
  }
4062
3991
 
4063
- /* ─── Image position variants ─────────────────────────── */
3992
+ /* ─── Shapes ──────────────────────────────────────────── */
3993
+ .muka-thumbnail--4-3 {
3994
+ width: 160px;
3995
+ height: 120px;
3996
+ }
4064
3997
 
4065
- .muka-tile--image-top {
4066
- flex-direction: column;
3998
+ .muka-thumbnail--1-1 {
3999
+ width: 120px;
4000
+ height: 120px;
4067
4001
  }
4068
4002
 
4069
- .muka-tile--image-left {
4070
- flex-direction: row;
4003
+ .muka-thumbnail--ellipse {
4004
+ width: 120px;
4005
+ height: 120px;
4071
4006
  }
4072
4007
 
4073
- .muka-tile--image-right {
4074
- flex-direction: row;
4008
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4009
+ .muka-thumbnail--fluid {
4010
+ width: 100%;
4011
+ height: auto;
4012
+ aspect-ratio: 1 / 1;
4075
4013
  }
4076
4014
 
4077
- /* ─── Gap by size (top) ───────────────────────────────── */
4015
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4016
+ aspect-ratio: 4 / 3;
4017
+ }
4078
4018
 
4079
- .muka-tile--image-top.muka-tile--lg {
4080
- gap: var(--spacing-6);
4019
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4020
+ border-radius: var(--border-radius-full);
4081
4021
  }
4082
4022
 
4083
- .muka-tile--image-top.muka-tile--md {
4084
- gap: var(--spacing-6);
4085
- width: 320px;
4023
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4024
+ interactive hover zoom has a clean origin. */
4025
+ .muka-thumbnail__image {
4026
+ position: absolute;
4027
+ inset: 0;
4028
+ width: 100%;
4029
+ height: 100%;
4030
+ object-fit: cover;
4031
+ display: block;
4032
+ transform-origin: center;
4033
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4034
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4086
4035
  }
4087
4036
 
4088
- .muka-tile--image-top.muka-tile--sm {
4089
- gap: var(--spacing-4);
4090
- min-width: 120px;
4037
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4038
+ .muka-thumbnail__trigger {
4039
+ position: absolute;
4040
+ inset: 0;
4041
+ padding: 0;
4042
+ border: 0;
4043
+ background: none;
4044
+ cursor: pointer;
4045
+ overflow: hidden;
4091
4046
  }
4092
4047
 
4093
- /* ─── Gap by size (left/right) ────────────────────────── */
4048
+ .muka-thumbnail__trigger:focus-visible {
4049
+ outline: 2px solid var(--color-border-focus);
4050
+ outline-offset: -2px;
4051
+ }
4094
4052
 
4095
- .muka-tile--image-left.muka-tile--lg,
4096
- .muka-tile--image-right.muka-tile--lg {
4097
- gap: var(--spacing-6);
4098
- align-items: center;
4053
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4054
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4055
+ transform: scale(1.05);
4099
4056
  }
4100
4057
 
4101
- .muka-tile--image-left.muka-tile--md,
4102
- .muka-tile--image-right.muka-tile--md {
4103
- gap: var(--spacing-6);
4058
+ /* ─── Loading overlay + progress donut ────────────────── */
4059
+ .muka-thumbnail__overlay {
4060
+ position: absolute;
4061
+ inset: 0;
4062
+ display: flex;
4104
4063
  align-items: center;
4064
+ justify-content: center;
4065
+ background-color: var(--dialog-color-backdrop);
4105
4066
  }
4106
4067
 
4107
- .muka-tile--image-left.muka-tile--sm,
4108
- .muka-tile--image-right.muka-tile--sm {
4109
- gap: var(--spacing-4);
4110
- align-items: flex-start;
4068
+ .muka-thumbnail__progress {
4069
+ width: 40px;
4070
+ height: 40px;
4111
4071
  }
4112
4072
 
4113
- /* ─── Photos container ────────────────────────────────── */
4073
+ /* ─── Error / corrupt state ───────────────────────────── */
4074
+ .muka-thumbnail--error .muka-thumbnail__frame {
4075
+ background-color: var(--alias-color-state-error-muted);
4076
+ border-color: var(--alias-color-state-error-default);
4077
+ }
4114
4078
 
4115
- .muka-tile__photos {
4116
- position: relative;
4117
- flex-shrink: 0;
4118
- overflow: hidden;
4079
+ .muka-thumbnail__error {
4080
+ position: absolute;
4081
+ inset: 0;
4119
4082
  display: flex;
4120
4083
  flex-direction: column;
4121
- isolation: isolate;
4084
+ align-items: center;
4085
+ justify-content: center;
4086
+ gap: var(--spacing-2);
4087
+ padding: var(--spacing-3);
4088
+ text-align: center;
4122
4089
  }
4123
4090
 
4124
- /* Photos border radius by size */
4125
- .muka-tile--lg .muka-tile__photos,
4126
- .muka-tile--md .muka-tile__photos {
4127
- border-radius: var(--border-radius-lg);
4091
+ .muka-thumbnail__error-icon {
4092
+ color: var(--alert-color-error-accent);
4128
4093
  }
4129
4094
 
4130
- .muka-tile--sm .muka-tile__photos {
4131
- border-radius: var(--border-radius-md);
4095
+ .muka-thumbnail__caption {
4096
+ max-width: 100%;
4097
+ overflow: hidden;
4098
+ text-overflow: ellipsis;
4099
+ white-space: nowrap;
4100
+ color: var(--alert-color-error-accent);
4101
+ font-family: var(--text-body-sm-regular-fontFamily);
4102
+ font-size: var(--text-body-sm-regular-fontSize);
4103
+ font-weight: var(--text-body-sm-regular-fontWeight);
4104
+ line-height: var(--text-body-sm-regular-lineHeight);
4132
4105
  }
4133
4106
 
4134
- /* Photos sizing: top layout */
4135
- .muka-tile--image-top .muka-tile__photos {
4136
- width: 100%;
4107
+ /* ─── Remove (×) button ───────────────────────────────── */
4108
+ .muka-thumbnail__remove {
4109
+ position: absolute;
4110
+ top: var(--spacing-2);
4111
+ right: var(--spacing-2);
4112
+ display: flex;
4113
+ align-items: center;
4114
+ justify-content: center;
4115
+ width: var(--size-2xl);
4116
+ height: var(--size-2xl);
4117
+ padding: 0;
4118
+ color: var(--button-color-tertiary-foreground-default);
4119
+ background-color: var(--button-color-tertiary-background-default);
4120
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4121
+ border-radius: var(--border-radius-lg);
4122
+ cursor: pointer;
4123
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4124
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4137
4125
  }
4138
4126
 
4139
- /* Photos sizing: left/right large */
4140
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4141
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4142
- width: 520px;
4127
+ .muka-thumbnail__remove:hover {
4128
+ color: var(--button-color-tertiary-foreground-hover);
4129
+ background-color: var(--button-color-tertiary-background-hover);
4130
+ border-color: var(--button-color-tertiary-border-hover);
4143
4131
  }
4144
4132
 
4145
- /* Photos sizing: left/right medium */
4146
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4147
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4148
- width: 320px;
4133
+ .muka-thumbnail__remove:active {
4134
+ color: var(--button-color-tertiary-foreground-pressed);
4135
+ background-color: var(--button-color-tertiary-background-pressed);
4136
+ border-color: var(--button-color-tertiary-border-pressed);
4149
4137
  }
4150
4138
 
4151
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4152
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4153
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4154
- width: 80px;
4155
- align-self: stretch;
4139
+ .muka-thumbnail__remove:focus-visible {
4140
+ outline: 2px solid var(--color-border-focus);
4141
+ outline-offset: 2px;
4156
4142
  }
4157
4143
 
4158
- /* ─── Main photo ──────────────────────────────────────── */
4144
+ /* ─── Reduced motion ──────────────────────────────────── */
4145
+ @media (prefers-reduced-motion: reduce) {
4146
+ .muka-thumbnail__image,
4147
+ .muka-thumbnail__remove {
4148
+ transition: none;
4149
+ }
4159
4150
 
4160
- .muka-tile__photo-main {
4161
- position: relative;
4162
- width: 100%;
4163
- overflow: hidden;
4164
- flex-shrink: 0;
4151
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4152
+ transform: none;
4153
+ }
4165
4154
  }
4166
4155
 
4167
- /* 16:9 aspect for lg and md */
4168
- .muka-tile--lg .muka-tile__photo-main,
4169
- .muka-tile--md .muka-tile__photo-main {
4170
- aspect-ratio: 1280 / 720;
4171
- }
4172
4156
 
4173
- /* 1:1 aspect for top + sm */
4174
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4175
- aspect-ratio: 1 / 1;
4176
- }
4157
+ /* Textarea */
4158
+ /* Textarea Component Styles - Using Muka Design Tokens */
4177
4159
 
4178
- /* Fixed size for left/right + sm */
4179
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4180
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4181
- width: 80px;
4182
- height: 80px;
4183
- aspect-ratio: auto;
4160
+ .muka-textarea {
4161
+ display: inline-flex;
4162
+ flex-direction: column;
4163
+ gap: var(--spacing-2);
4184
4164
  }
4185
4165
 
4186
- .muka-tile__photo-main img {
4187
- width: 100%;
4188
- height: 100%;
4189
- object-fit: cover;
4190
- display: block;
4166
+ /* Label */
4167
+ .muka-textarea__label {
4168
+ color: var(--color-text-default-default);
4169
+ cursor: pointer;
4191
4170
  }
4192
4171
 
4193
- /* ─── Favourite overlay ───────────────────────────────── */
4194
-
4195
- .muka-tile__favourite {
4196
- position: absolute;
4197
- z-index: 3;
4172
+ .muka-textarea__label--sm {
4173
+ font-family: var(--text-label-sm-semibold-fontFamily);
4174
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4175
+ font-size: var(--text-label-sm-semibold-fontSize);
4176
+ line-height: var(--text-label-sm-semibold-lineHeight);
4198
4177
  }
4199
4178
 
4200
- .muka-tile--lg .muka-tile__favourite,
4201
- .muka-tile--md .muka-tile__favourite {
4202
- top: var(--spacing-4);
4203
- right: var(--spacing-4);
4179
+ .muka-textarea__label--md {
4180
+ font-family: var(--text-label-md-semibold-fontFamily);
4181
+ font-weight: var(--text-label-md-semibold-fontWeight);
4182
+ font-size: var(--text-label-md-semibold-fontSize);
4183
+ line-height: var(--text-label-md-semibold-lineHeight);
4204
4184
  }
4205
4185
 
4206
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4207
- top: var(--spacing-1);
4208
- right: var(--spacing-1);
4186
+ .muka-textarea__label--lg {
4187
+ font-family: var(--text-label-lg-semibold-fontFamily);
4188
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4189
+ font-size: var(--text-label-lg-semibold-fontSize);
4190
+ line-height: var(--text-label-lg-semibold-lineHeight);
4209
4191
  }
4210
4192
 
4211
- /* ─── Thumbnails ──────────────────────────────────────── */
4193
+ .muka-textarea__required {
4194
+ color: var(--color-state-error-default);
4195
+ }
4212
4196
 
4213
- .muka-tile__thumbnails {
4197
+ /* Field container */
4198
+ .muka-textarea__field {
4214
4199
  display: flex;
4215
- gap: 2px;
4216
- overflow: hidden;
4217
- flex-shrink: 0;
4218
- height: 80px;
4200
+ background-color: var(--input-field-color-default-background);
4201
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4202
+ border-radius: var(--input-field-radius-md);
4203
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4204
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4205
+ box-sizing: border-box;
4219
4206
  }
4220
4207
 
4221
- .muka-tile__thumbnail {
4222
- width: 80px;
4223
- height: 80px;
4224
- flex-shrink: 0;
4225
- overflow: hidden;
4208
+ .muka-textarea__field--sm {
4209
+ min-height: var(--input-textarea-height-sm);
4210
+ border-radius: var(--input-field-radius-sm);
4226
4211
  }
4227
4212
 
4228
- .muka-tile__thumbnail img {
4229
- width: 100%;
4230
- height: 100%;
4231
- object-fit: cover;
4232
- display: block;
4213
+ .muka-textarea__field--md {
4214
+ min-height: var(--input-textarea-height-default);
4215
+ border-radius: var(--input-field-radius-md);
4233
4216
  }
4234
4217
 
4235
- /* Gap between main photo and thumbnails */
4236
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4237
- margin-top: 2px;
4218
+ .muka-textarea__field--lg {
4219
+ min-height: var(--input-textarea-height-lg);
4220
+ border-radius: var(--input-field-radius-lg);
4238
4221
  }
4239
4222
 
4240
- /* ─── Content section ─────────────────────────────────── */
4241
-
4242
- .muka-tile__content {
4243
- display: flex;
4244
- flex-direction: column;
4245
- flex: 1;
4246
- min-width: 0;
4223
+ /* Focus state */
4224
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4225
+ border-width: var(--border-width-bold);
4226
+ border-color: var(--input-field-color-focus-border);
4227
+ background-color: var(--input-field-color-focus-background);
4228
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4247
4229
  }
4248
4230
 
4249
- /* Top layout: content has horizontal padding */
4250
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4251
- padding: 0 var(--spacing-3);
4252
- gap: var(--spacing-1);
4231
+ /* Error state */
4232
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4233
+ border-width: var(--border-width-bold);
4234
+ border-color: var(--input-field-color-error-border);
4235
+ background-color: var(--input-field-color-error-background);
4236
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4253
4237
  }
4254
4238
 
4255
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4256
- padding: 0 var(--spacing-3);
4257
- gap: var(--spacing-2);
4239
+ /* Disabled state */
4240
+ .muka-textarea__field--disabled {
4241
+ background-color: var(--input-field-color-disabled-background);
4242
+ border-color: var(--input-field-color-disabled-border);
4243
+ cursor: not-allowed;
4258
4244
  }
4259
4245
 
4260
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4261
- gap: var(--spacing-2);
4246
+ /* Native textarea */
4247
+ .muka-textarea__native {
4248
+ flex: 1;
4249
+ border: none;
4250
+ outline: none;
4251
+ background: transparent;
4252
+ color: var(--input-field-color-default-foreground);
4253
+ font-family: var(--text-input-md-fontFamily);
4254
+ font-weight: var(--text-input-md-fontWeight);
4255
+ font-size: var(--text-input-md-fontSize);
4256
+ line-height: var(--text-input-md-lineHeight);
4257
+ padding: 0;
4258
+ width: 100%;
4259
+ min-width: 0;
4262
4260
  }
4263
4261
 
4264
- /* Left/right layout: content grows to fill space */
4265
- .muka-tile--image-left .muka-tile__content,
4266
- .muka-tile--image-right .muka-tile__content {
4267
- gap: var(--spacing-3);
4262
+ .muka-textarea__field--sm .muka-textarea__native {
4263
+ font-family: var(--text-input-sm-fontFamily);
4264
+ font-weight: var(--text-input-sm-fontWeight);
4265
+ font-size: var(--text-input-sm-fontSize);
4266
+ line-height: var(--text-input-sm-lineHeight);
4268
4267
  }
4269
4268
 
4270
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4271
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4272
- padding: 0 var(--spacing-3);
4269
+ .muka-textarea__field--lg .muka-textarea__native {
4270
+ font-family: var(--text-input-lg-fontFamily);
4271
+ font-weight: var(--text-input-lg-fontWeight);
4272
+ font-size: var(--text-input-lg-fontSize);
4273
+ line-height: var(--text-input-lg-lineHeight);
4273
4274
  }
4274
4275
 
4275
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4276
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4277
- padding: var(--spacing-2) var(--spacing-3);
4276
+ .muka-textarea__native::placeholder {
4277
+ color: var(--color-text-subtle-default);
4278
4278
  }
4279
4279
 
4280
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4281
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4282
- gap: var(--spacing-2);
4280
+ .muka-textarea__field--disabled .muka-textarea__native {
4281
+ color: var(--input-field-color-disabled-foreground);
4282
+ cursor: not-allowed;
4283
4283
  }
4284
4284
 
4285
- /* ─── Header (heading row + price) ────────────────────── */
4286
-
4287
- .muka-tile__header {
4285
+ /* Footer (helper/error + count) */
4286
+ .muka-textarea__footer {
4288
4287
  display: flex;
4288
+ justify-content: space-between;
4289
4289
  align-items: flex-start;
4290
- gap: var(--spacing-4);
4291
- }
4292
-
4293
- /* Small horizontal: row with text and action */
4294
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4295
4290
  gap: var(--spacing-2);
4296
- align-items: center;
4297
- padding-top: var(--spacing-1);
4298
4291
  }
4299
4292
 
4300
- /* ─── Text group ──────────────────────────────────────── */
4301
-
4302
- .muka-tile__text {
4303
- display: flex;
4304
- flex-direction: column;
4305
- flex: 1;
4306
- min-width: 0;
4307
- gap: var(--spacing-2);
4293
+ .muka-textarea__helper {
4294
+ font-family: var(--text-label-sm-regular-fontFamily);
4295
+ font-weight: var(--text-label-sm-regular-fontWeight);
4296
+ font-size: var(--text-label-sm-regular-fontSize);
4297
+ line-height: var(--text-label-sm-regular-lineHeight);
4298
+ color: var(--color-text-subtle-default);
4299
+ margin: 0;
4308
4300
  }
4309
4301
 
4310
- /* ─── Heading typography ──────────────────────────────── */
4311
-
4312
- .muka-tile__heading {
4302
+ .muka-textarea__error {
4303
+ font-family: var(--text-label-sm-regular-fontFamily);
4304
+ font-weight: var(--text-label-sm-regular-fontWeight);
4305
+ font-size: var(--text-label-sm-regular-fontSize);
4306
+ line-height: var(--text-label-sm-regular-lineHeight);
4307
+ color: var(--color-state-error-default);
4313
4308
  margin: 0;
4314
4309
  }
4315
4310
 
4316
- .muka-tile--lg .muka-tile__heading {
4317
- font-family: var(--text-label-2xl-semibold-fontFamily);
4318
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4319
- font-size: var(--text-label-2xl-semibold-fontSize);
4320
- line-height: var(--text-label-2xl-semibold-lineHeight);
4321
- color: var(--color-text-default-default);
4311
+ .muka-textarea__count {
4312
+ font-family: var(--text-label-sm-regular-fontFamily);
4313
+ font-weight: var(--text-label-sm-regular-fontWeight);
4314
+ font-size: var(--text-label-sm-regular-fontSize);
4315
+ line-height: var(--text-label-sm-regular-lineHeight);
4316
+ color: var(--color-text-subtle-default);
4317
+ margin-left: auto;
4322
4318
  }
4323
4319
 
4324
- .muka-tile--md .muka-tile__heading {
4325
- font-family: var(--text-label-xl-semibold-fontFamily);
4326
- font-weight: var(--text-label-xl-semibold-fontWeight);
4327
- font-size: var(--text-label-xl-semibold-fontSize);
4328
- line-height: var(--text-label-xl-semibold-lineHeight);
4329
- color: var(--color-text-default-default);
4330
- }
4331
4320
 
4332
- .muka-tile--sm .muka-tile__heading {
4333
- font-family: var(--text-label-lg-bold-fontFamily);
4334
- font-weight: var(--text-label-lg-bold-fontWeight);
4335
- font-size: var(--text-label-lg-bold-fontSize);
4336
- line-height: var(--text-label-lg-bold-lineHeight);
4337
- color: var(--color-text-default-default);
4338
- }
4321
+ /* TextLink */
4322
+ /* TextLink Component Styles - Using Muka Design Tokens */
4339
4323
 
4340
- /* ─── Subheading typography ───────────────────────────── */
4324
+ .muka-text-link {
4325
+ display: inline;
4326
+ cursor: pointer;
4327
+ text-decoration: underline;
4328
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4329
+ text-underline-offset: 0.2em;
4330
+ text-decoration-thickness: from-font;
4331
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4332
+ border-radius: var(--border-radius-sm);
4333
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4334
+ }
4341
4335
 
4342
- .muka-tile__subheading {
4343
- margin: 0;
4344
- color: var(--color-text-subtle-default);
4336
+ /* ─── Sizes ───────────────────────────────────────────────
4337
+ Mirrors the body text scale so a link matches the copy it sits in. */
4338
+ .muka-text-link--sm {
4339
+ font-family: var(--text-body-sm-regular-fontFamily);
4340
+ font-weight: var(--text-body-sm-regular-fontWeight);
4341
+ font-size: var(--text-body-sm-regular-fontSize);
4342
+ line-height: var(--text-body-sm-regular-lineHeight);
4345
4343
  }
4346
4344
 
4347
- .muka-tile--lg .muka-tile__subheading {
4348
- font-family: var(--text-subheading-md-fontFamily);
4349
- font-weight: var(--text-subheading-md-fontWeight);
4350
- font-size: var(--text-subheading-md-fontSize);
4351
- line-height: var(--text-subheading-md-lineHeight);
4352
- }
4353
-
4354
- .muka-tile--md .muka-tile__subheading,
4355
- .muka-tile--sm .muka-tile__subheading {
4356
- font-family: var(--text-subheading-sm-fontFamily);
4357
- font-weight: var(--text-subheading-sm-fontWeight);
4358
- font-size: var(--text-subheading-sm-fontSize);
4359
- line-height: var(--text-subheading-sm-lineHeight);
4360
- }
4361
-
4362
- /* ─── Description typography ──────────────────────────── */
4363
-
4364
- .muka-tile__description {
4365
- margin: 0;
4366
- color: var(--color-text-default-default);
4345
+ .muka-text-link--base {
4346
+ font-family: var(--text-body-base-regular-fontFamily);
4347
+ font-weight: var(--text-body-base-regular-fontWeight);
4348
+ font-size: var(--text-body-base-regular-fontSize);
4349
+ line-height: var(--text-body-base-regular-lineHeight);
4367
4350
  }
4368
4351
 
4369
- .muka-tile--lg .muka-tile__description {
4352
+ .muka-text-link--lg {
4370
4353
  font-family: var(--text-body-lg-regular-fontFamily);
4371
4354
  font-weight: var(--text-body-lg-regular-fontWeight);
4372
4355
  font-size: var(--text-body-lg-regular-fontSize);
4373
4356
  line-height: var(--text-body-lg-regular-lineHeight);
4374
4357
  }
4375
4358
 
4376
- .muka-tile--md .muka-tile__description,
4377
- .muka-tile--sm .muka-tile__description {
4378
- font-family: var(--text-body-base-regular-fontFamily);
4379
- font-weight: var(--text-body-base-regular-fontWeight);
4380
- font-size: var(--text-body-base-regular-fontSize);
4381
- line-height: var(--text-body-base-regular-lineHeight);
4359
+ /* ─── Variant: default (accent) ───────────────────────────
4360
+ Visited repeats the default colour on purpose: the design treats visited and
4361
+ default the same, and pinning it stops the browser's purple from showing. */
4362
+ .muka-text-link--default,
4363
+ .muka-text-link--default:visited {
4364
+ color: var(--color-text-action-default);
4382
4365
  }
4383
4366
 
4384
- /* Description overflow for medium */
4385
- .muka-tile--md .muka-tile__description {
4386
- overflow: hidden;
4387
- text-overflow: ellipsis;
4367
+ .muka-text-link--default:hover,
4368
+ .muka-text-link--default:focus-visible {
4369
+ color: var(--color-text-action-hover);
4388
4370
  }
4389
4371
 
4390
- /* ─── Price slot ──────────────────────────────────────── */
4372
+ .muka-text-link--default:active {
4373
+ color: var(--color-text-action-pressed);
4374
+ }
4391
4375
 
4392
- .muka-tile__price {
4393
- flex-shrink: 0;
4376
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4377
+ Hover, focus and pressed all darken to the default text colour. */
4378
+ .muka-text-link--subtle,
4379
+ .muka-text-link--subtle:visited {
4380
+ color: var(--color-text-subtle-default);
4394
4381
  }
4395
4382
 
4396
- /* ─── Action slot ─────────────────────────────────────── */
4383
+ .muka-text-link--subtle:hover,
4384
+ .muka-text-link--subtle:focus-visible,
4385
+ .muka-text-link--subtle:active {
4386
+ color: var(--color-text-default-default);
4387
+ }
4397
4388
 
4398
- .muka-tile__action {
4399
- flex-shrink: 0;
4389
+ /* ─── Focus ───────────────────────────────────────────────
4390
+ Same ring as every other focusable Muka component. */
4391
+ .muka-text-link:focus-visible {
4392
+ outline: 2px solid var(--color-border-focus);
4393
+ outline-offset: 2px;
4394
+ }
4395
+
4396
+ @media (prefers-reduced-motion: reduce) {
4397
+ .muka-text-link {
4398
+ transition: none;
4399
+ }
4400
4400
  }
4401
4401
 
4402
4402
 
@@ -4994,6 +4994,114 @@ body {
4994
4994
  }
4995
4995
 
4996
4996
 
4997
+ /* SwipeActions */
4998
+ /* SwipeActions Component Styles */
4999
+
5000
+ .muka-swipe-actions {
5001
+ position: relative;
5002
+ overflow: hidden;
5003
+ touch-action: pan-y;
5004
+ -webkit-user-select: none;
5005
+ user-select: none;
5006
+ background-color: var(--color-surface-level3);
5007
+ }
5008
+
5009
+ .muka-swipe-actions--disabled {
5010
+ touch-action: auto;
5011
+ }
5012
+
5013
+ /* ─── Row that holds the actual content ────────────────── */
5014
+
5015
+ .muka-swipe-actions__row {
5016
+ position: relative;
5017
+ z-index: 1;
5018
+ background-color: inherit;
5019
+ will-change: transform;
5020
+ }
5021
+
5022
+ /* ─── Action panels — sit beneath the row ──────────────── */
5023
+
5024
+ .muka-swipe-actions__panel {
5025
+ position: absolute;
5026
+ top: 0;
5027
+ bottom: 0;
5028
+ display: flex;
5029
+ align-items: stretch;
5030
+ z-index: 0;
5031
+ }
5032
+
5033
+ .muka-swipe-actions__panel--left {
5034
+ left: 0;
5035
+ }
5036
+
5037
+ .muka-swipe-actions__panel--right {
5038
+ right: 0;
5039
+ }
5040
+
5041
+ /* ─── Single action button ─────────────────────────────── */
5042
+
5043
+ .muka-swipe-actions__button {
5044
+ display: flex;
5045
+ flex-direction: column;
5046
+ align-items: center;
5047
+ justify-content: center;
5048
+ gap: var(--spacing-1);
5049
+ border: none;
5050
+ cursor: pointer;
5051
+ padding: var(--spacing-2);
5052
+ background-color: var(--color-surface-level2);
5053
+ color: var(--color-text-default-default);
5054
+ font-family: var(--text-label-sm-semibold-fontFamily);
5055
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5056
+ font-size: var(--text-label-sm-semibold-fontSize);
5057
+ line-height: var(--text-label-sm-semibold-lineHeight);
5058
+ -webkit-tap-highlight-color: transparent;
5059
+ transition: filter 0.12s ease;
5060
+ }
5061
+
5062
+ .muka-swipe-actions__button:hover {
5063
+ filter: brightness(0.95);
5064
+ }
5065
+
5066
+ .muka-swipe-actions__button:focus-visible {
5067
+ outline: 2px solid var(--color-action-default);
5068
+ outline-offset: -2px;
5069
+ }
5070
+
5071
+ .muka-swipe-actions__button-icon {
5072
+ display: inline-flex;
5073
+ align-items: center;
5074
+ justify-content: center;
5075
+ }
5076
+
5077
+ /* ─── Color variants ───────────────────────────────────── */
5078
+
5079
+ .muka-swipe-actions__button--neutral {
5080
+ background-color: var(--color-surface-level2);
5081
+ color: var(--color-text-default-default);
5082
+ }
5083
+
5084
+ .muka-swipe-actions__button--primary {
5085
+ background-color: var(--color-action-default);
5086
+ color: var(--color-text-default-inverse);
5087
+ }
5088
+
5089
+ .muka-swipe-actions__button--success {
5090
+ background-color: var(--color-state-success-default);
5091
+ color: var(--color-text-default-inverse);
5092
+ }
5093
+
5094
+ .muka-swipe-actions__button--warning {
5095
+ background-color: var(--color-state-warning-default);
5096
+ color: var(--color-text-default-default);
5097
+ }
5098
+
5099
+ .muka-swipe-actions__button--destructive {
5100
+ background-color: var(--color-state-error-default);
5101
+ color: var(--color-text-default-inverse);
5102
+ }
5103
+
5104
+
4997
5105
  /* Spinner */
4998
5106
  /* Spinner Component Styles */
4999
5107
 
@@ -5499,81 +5607,6 @@ body {
5499
5607
  }
5500
5608
 
5501
5609
 
5502
- /* Skeleton */
5503
- /* Skeleton Component Styles */
5504
-
5505
- .muka-skeleton {
5506
- background-color: var(--color-surface-level1);
5507
- display: block;
5508
- }
5509
-
5510
- /* Variants */
5511
- .muka-skeleton--text {
5512
- height: 1em;
5513
- border-radius: var(--radius-md);
5514
- width: 100%;
5515
- }
5516
-
5517
- .muka-skeleton--circular {
5518
- width: 2.5rem;
5519
- height: 2.5rem;
5520
- border-radius: var(--radius-full);
5521
- }
5522
-
5523
- .muka-skeleton--rectangular {
5524
- height: 7.5rem;
5525
- border-radius: var(--radius-md);
5526
- width: 100%;
5527
- }
5528
-
5529
- /* Last line in multi-line text is shorter */
5530
- .muka-skeleton--last-line {
5531
- width: 80%;
5532
- }
5533
-
5534
- /* Lines container */
5535
- .muka-skeleton__lines {
5536
- display: flex;
5537
- flex-direction: column;
5538
- gap: var(--spacing-2);
5539
- }
5540
-
5541
- /* Shimmer animation */
5542
- @keyframes muka-skeleton-shimmer {
5543
- 0% {
5544
- background-position: -200% 0;
5545
- }
5546
- 100% {
5547
- background-position: 200% 0;
5548
- }
5549
- }
5550
-
5551
- .muka-skeleton--shimmer {
5552
- background: linear-gradient(
5553
- 90deg,
5554
- var(--color-surface-level1) 25%,
5555
- var(--color-surface-level2) 50%,
5556
- var(--color-surface-level1) 75%
5557
- );
5558
- background-size: 200% 100%;
5559
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5560
- }
5561
-
5562
- /* Pulse animation */
5563
- @keyframes muka-skeleton-pulse {
5564
- 0%, 100% {
5565
- opacity: 1;
5566
- }
5567
- 50% {
5568
- opacity: 0.4;
5569
- }
5570
- }
5571
-
5572
- .muka-skeleton--pulse {
5573
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5574
- }
5575
-
5576
-
5577
5610
  /* SiteHeader */
5578
5611
  /* SiteHeader Component Styles */
5579
5612
 
@@ -5681,7 +5714,82 @@ body {
5681
5714
  }
5682
5715
 
5683
5716
 
5684
- /* Sheet */
5717
+ /* Skeleton */
5718
+ /* Skeleton Component Styles */
5719
+
5720
+ .muka-skeleton {
5721
+ background-color: var(--color-surface-level1);
5722
+ display: block;
5723
+ }
5724
+
5725
+ /* Variants */
5726
+ .muka-skeleton--text {
5727
+ height: 1em;
5728
+ border-radius: var(--radius-md);
5729
+ width: 100%;
5730
+ }
5731
+
5732
+ .muka-skeleton--circular {
5733
+ width: 2.5rem;
5734
+ height: 2.5rem;
5735
+ border-radius: var(--radius-full);
5736
+ }
5737
+
5738
+ .muka-skeleton--rectangular {
5739
+ height: 7.5rem;
5740
+ border-radius: var(--radius-md);
5741
+ width: 100%;
5742
+ }
5743
+
5744
+ /* Last line in multi-line text is shorter */
5745
+ .muka-skeleton--last-line {
5746
+ width: 80%;
5747
+ }
5748
+
5749
+ /* Lines container */
5750
+ .muka-skeleton__lines {
5751
+ display: flex;
5752
+ flex-direction: column;
5753
+ gap: var(--spacing-2);
5754
+ }
5755
+
5756
+ /* Shimmer animation */
5757
+ @keyframes muka-skeleton-shimmer {
5758
+ 0% {
5759
+ background-position: -200% 0;
5760
+ }
5761
+ 100% {
5762
+ background-position: 200% 0;
5763
+ }
5764
+ }
5765
+
5766
+ .muka-skeleton--shimmer {
5767
+ background: linear-gradient(
5768
+ 90deg,
5769
+ var(--color-surface-level1) 25%,
5770
+ var(--color-surface-level2) 50%,
5771
+ var(--color-surface-level1) 75%
5772
+ );
5773
+ background-size: 200% 100%;
5774
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5775
+ }
5776
+
5777
+ /* Pulse animation */
5778
+ @keyframes muka-skeleton-pulse {
5779
+ 0%, 100% {
5780
+ opacity: 1;
5781
+ }
5782
+ 50% {
5783
+ opacity: 0.4;
5784
+ }
5785
+ }
5786
+
5787
+ .muka-skeleton--pulse {
5788
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5789
+ }
5790
+
5791
+
5792
+ /* Sheet */
5685
5793
  /* Sheet Component Styles */
5686
5794
 
5687
5795
  /* ─── Backdrop ────────────────────────────────────────── */
@@ -6730,114 +6838,6 @@ body {
6730
6838
  }
6731
6839
 
6732
6840
 
6733
- /* SwipeActions */
6734
- /* SwipeActions Component Styles */
6735
-
6736
- .muka-swipe-actions {
6737
- position: relative;
6738
- overflow: hidden;
6739
- touch-action: pan-y;
6740
- -webkit-user-select: none;
6741
- user-select: none;
6742
- background-color: var(--color-surface-level3);
6743
- }
6744
-
6745
- .muka-swipe-actions--disabled {
6746
- touch-action: auto;
6747
- }
6748
-
6749
- /* ─── Row that holds the actual content ────────────────── */
6750
-
6751
- .muka-swipe-actions__row {
6752
- position: relative;
6753
- z-index: 1;
6754
- background-color: inherit;
6755
- will-change: transform;
6756
- }
6757
-
6758
- /* ─── Action panels — sit beneath the row ──────────────── */
6759
-
6760
- .muka-swipe-actions__panel {
6761
- position: absolute;
6762
- top: 0;
6763
- bottom: 0;
6764
- display: flex;
6765
- align-items: stretch;
6766
- z-index: 0;
6767
- }
6768
-
6769
- .muka-swipe-actions__panel--left {
6770
- left: 0;
6771
- }
6772
-
6773
- .muka-swipe-actions__panel--right {
6774
- right: 0;
6775
- }
6776
-
6777
- /* ─── Single action button ─────────────────────────────── */
6778
-
6779
- .muka-swipe-actions__button {
6780
- display: flex;
6781
- flex-direction: column;
6782
- align-items: center;
6783
- justify-content: center;
6784
- gap: var(--spacing-1);
6785
- border: none;
6786
- cursor: pointer;
6787
- padding: var(--spacing-2);
6788
- background-color: var(--color-surface-level2);
6789
- color: var(--color-text-default-default);
6790
- font-family: var(--text-label-sm-semibold-fontFamily);
6791
- font-weight: var(--text-label-sm-semibold-fontWeight);
6792
- font-size: var(--text-label-sm-semibold-fontSize);
6793
- line-height: var(--text-label-sm-semibold-lineHeight);
6794
- -webkit-tap-highlight-color: transparent;
6795
- transition: filter 0.12s ease;
6796
- }
6797
-
6798
- .muka-swipe-actions__button:hover {
6799
- filter: brightness(0.95);
6800
- }
6801
-
6802
- .muka-swipe-actions__button:focus-visible {
6803
- outline: 2px solid var(--color-action-default);
6804
- outline-offset: -2px;
6805
- }
6806
-
6807
- .muka-swipe-actions__button-icon {
6808
- display: inline-flex;
6809
- align-items: center;
6810
- justify-content: center;
6811
- }
6812
-
6813
- /* ─── Color variants ───────────────────────────────────── */
6814
-
6815
- .muka-swipe-actions__button--neutral {
6816
- background-color: var(--color-surface-level2);
6817
- color: var(--color-text-default-default);
6818
- }
6819
-
6820
- .muka-swipe-actions__button--primary {
6821
- background-color: var(--color-action-default);
6822
- color: var(--color-text-default-inverse);
6823
- }
6824
-
6825
- .muka-swipe-actions__button--success {
6826
- background-color: var(--color-state-success-default);
6827
- color: var(--color-text-default-inverse);
6828
- }
6829
-
6830
- .muka-swipe-actions__button--warning {
6831
- background-color: var(--color-state-warning-default);
6832
- color: var(--color-text-default-default);
6833
- }
6834
-
6835
- .muka-swipe-actions__button--destructive {
6836
- background-color: var(--color-state-error-default);
6837
- color: var(--color-text-default-inverse);
6838
- }
6839
-
6840
-
6841
6841
  /* RadioTile */
6842
6842
  /* RadioTile Component Styles - Using Muka Design Tokens */
6843
6843
 
@@ -7172,57 +7172,315 @@ body {
7172
7172
  }
7173
7173
 
7174
7174
 
7175
- /* ProgressTracker */
7176
- /* ProgressTracker Component Styles — Using Muka Design Tokens */
7175
+ /* ProgressAccordeon */
7176
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7177
7177
 
7178
7178
  /* ─── Root ──────────────────────────────────────────────── */
7179
- .muka-progress-tracker {
7179
+ .muka-progress-accordeon {
7180
+ container-type: inline-size;
7181
+ display: flex;
7182
+ flex-direction: column;
7183
+ align-items: stretch;
7180
7184
  width: 100%;
7185
+ /* Top padding provides the vertical rhythm between stacked steps */
7186
+ padding-top: var(--spacing-8);
7181
7187
  }
7182
7188
 
7183
- .muka-progress-tracker--horizontal {
7184
- padding-bottom: var(--spacing-7);
7189
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7190
+ .muka-progress-accordeon--current,
7191
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7192
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7193
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7194
+ gap: var(--spacing-6);
7185
7195
  }
7186
7196
 
7187
- /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7188
- padding leaves room for the first and last labels, which hang past their
7189
- indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7190
- .muka-progress-tracker--scrollable {
7191
- overflow-x: auto;
7192
- overflow-y: hidden;
7193
- -webkit-overflow-scrolling: touch;
7194
- scrollbar-width: none;
7195
- padding-inline: var(--spacing-12);
7196
- box-sizing: border-box;
7197
+ .muka-progress-accordeon--upcoming,
7198
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7199
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7200
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7201
+ gap: var(--spacing-8);
7197
7202
  }
7198
7203
 
7199
- .muka-progress-tracker--scrollable::-webkit-scrollbar {
7200
- display: none;
7204
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7205
+ collapsing slot (as padding-top) so it collapses with the content, so the
7206
+ body gap itself is 0. */
7207
+ .muka-progress-accordeon__body {
7208
+ display: flex;
7209
+ flex-direction: column;
7210
+ gap: 0;
7211
+ width: 100%;
7201
7212
  }
7202
7213
 
7203
- /* ─── Track (layered container) ─────────────────────────── */
7204
- .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7205
- position: relative;
7206
- /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7207
- padding-top: 14px;
7208
- padding-bottom: 14px;
7214
+ /* ─── Header ─────────────────────────────────────────────── */
7215
+ .muka-progress-accordeon__header {
7216
+ display: flex;
7217
+ flex-direction: column;
7218
+ gap: var(--spacing-3);
7219
+ width: 100%;
7209
7220
  }
7210
7221
 
7211
- /* ─── Steps layer (on top) — horizontal ─────────────────── */
7212
- .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7213
- position: absolute;
7214
- inset: 0;
7222
+ .muka-progress-accordeon__header-row {
7215
7223
  display: flex;
7216
7224
  align-items: flex-start;
7217
- justify-content: space-between;
7218
- z-index: 2;
7225
+ gap: var(--spacing-3);
7226
+ width: 100%;
7227
+ min-height: 40px;
7219
7228
  }
7220
7229
 
7221
- /* ─── Individual step — horizontal ──────────────────────── */
7222
- .muka-progress-tracker--horizontal .muka-progress-tracker__step {
7230
+ .muka-progress-accordeon__heading-group {
7223
7231
  display: flex;
7224
- flex-direction: column;
7225
- align-items: center;
7232
+ flex: 1 0 0;
7233
+ min-width: 0;
7234
+ align-items: flex-start;
7235
+ gap: var(--spacing-4);
7236
+ }
7237
+
7238
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7239
+ so a single line centres against the indicator + controls row. */
7240
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7241
+ .muka-progress-accordeon__heading-group {
7242
+ padding-top: var(--spacing-1);
7243
+ }
7244
+
7245
+ .muka-progress-accordeon__controls {
7246
+ display: flex;
7247
+ flex-shrink: 0;
7248
+ align-items: center;
7249
+ gap: var(--spacing-3);
7250
+ }
7251
+
7252
+ /* ─── Step indicator (circle) ───────────────────────────── */
7253
+ .muka-progress-accordeon__indicator {
7254
+ width: 32px;
7255
+ height: 32px;
7256
+ flex-shrink: 0;
7257
+ border-radius: var(--border-radius-full);
7258
+ display: flex;
7259
+ align-items: center;
7260
+ justify-content: center;
7261
+ }
7262
+
7263
+ /* Past: dark accent-contrast circle with inverse checkmark */
7264
+ .muka-progress-accordeon__indicator--past {
7265
+ background-color: var(--alias-color-accent-contrast);
7266
+ color: var(--color-text-default-inverse);
7267
+ }
7268
+
7269
+ /* Current: accent circle with inverse bold number */
7270
+ .muka-progress-accordeon__indicator--current {
7271
+ background-color: var(--alias-color-accent-default);
7272
+ color: var(--color-text-default-inverse);
7273
+ }
7274
+
7275
+ /* Upcoming: sunken/muted circle with default-color number */
7276
+ .muka-progress-accordeon__indicator--upcoming {
7277
+ background-color: var(--color-surface-sunken);
7278
+ color: var(--color-text-default-default);
7279
+ }
7280
+
7281
+ .muka-progress-accordeon__check-icon {
7282
+ width: 20px;
7283
+ height: 20px;
7284
+ color: var(--color-text-default-inverse);
7285
+ }
7286
+
7287
+ .muka-progress-accordeon__number {
7288
+ font-family: var(--text-label-md-bold-fontFamily);
7289
+ font-weight: var(--text-label-md-bold-fontWeight);
7290
+ font-size: var(--text-label-md-bold-fontSize);
7291
+ line-height: var(--text-label-md-bold-lineHeight);
7292
+ text-align: center;
7293
+ user-select: none;
7294
+ }
7295
+
7296
+ /* Upcoming number is semibold (not bold) per Figma */
7297
+ .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7298
+ font-family: var(--text-label-md-semibold-fontFamily);
7299
+ font-weight: var(--text-label-md-semibold-fontWeight);
7300
+ }
7301
+
7302
+ /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7303
+ .muka-progress-accordeon__heading {
7304
+ flex: 1 0 0;
7305
+ min-width: 0;
7306
+ margin: 0;
7307
+ font-family: var(--text-heading-md-fontFamily);
7308
+ font-weight: var(--text-heading-md-fontWeight);
7309
+ font-size: var(--text-heading-md-fontSize);
7310
+ line-height: var(--text-heading-md-lineHeight);
7311
+ letter-spacing: var(--text-heading-md-letterSpacing);
7312
+ color: var(--color-text-default-default);
7313
+ }
7314
+
7315
+ /* ─── Description ────────────────────────────────────────── */
7316
+ /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7317
+ .muka-progress-accordeon__description {
7318
+ width: 100%;
7319
+ padding-left: 48px;
7320
+ font-family: var(--text-body-base-regular-fontFamily);
7321
+ font-weight: var(--text-body-base-regular-fontWeight);
7322
+ font-size: var(--text-body-base-regular-fontSize);
7323
+ line-height: var(--text-body-base-regular-lineHeight);
7324
+ color: var(--color-text-default-default);
7325
+ }
7326
+
7327
+ /* ─── Edit button ────────────────────────────────────────── */
7328
+ .muka-progress-accordeon__edit {
7329
+ flex-shrink: 0;
7330
+ }
7331
+
7332
+ /* Wide container shows the labelled button; the icon-only one is hidden */
7333
+ .muka-progress-accordeon__edit--narrow {
7334
+ display: none;
7335
+ }
7336
+
7337
+ /* ─── Content slot ───────────────────────────────────────── */
7338
+ .muka-progress-accordeon__slot {
7339
+ display: flex;
7340
+ flex-direction: column;
7341
+ align-items: stretch;
7342
+ width: 100%;
7343
+ }
7344
+
7345
+ /* ─── Collapse/expand animation (any expandable step) ──────
7346
+ Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7347
+ shrinks to its intrinsic height. Opacity fades with the same duration.
7348
+ Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7349
+ .muka-progress-accordeon__panel-wrapper {
7350
+ display: grid;
7351
+ grid-template-rows: 1fr;
7352
+ opacity: 1;
7353
+ transition:
7354
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7355
+ opacity var(--motion-duration-view) var(--motion-easing-enter);
7356
+ }
7357
+
7358
+ .muka-progress-accordeon__panel-wrapper--collapsed {
7359
+ grid-template-rows: 0fr;
7360
+ opacity: 0;
7361
+ transition:
7362
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7363
+ opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7364
+ }
7365
+
7366
+ /* The direct grid child clips and must have NO padding/border of its own —
7367
+ min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7368
+ 0 height (padding on the item would leave a residual gap when collapsed). */
7369
+ .muka-progress-accordeon__panel-clip {
7370
+ overflow: hidden;
7371
+ min-height: 0;
7372
+ }
7373
+
7374
+ /* Header↔content spacing + slot/actions gap live inside the clip so they
7375
+ collapse together with the panel. */
7376
+ .muka-progress-accordeon__panel {
7377
+ display: flex;
7378
+ flex-direction: column;
7379
+ align-items: stretch;
7380
+ gap: var(--spacing-6);
7381
+ padding-top: var(--spacing-4);
7382
+ width: 100%;
7383
+ }
7384
+
7385
+ /* ─── Action buttons (current state) ─────────────────────── */
7386
+ .muka-progress-accordeon__actions {
7387
+ display: flex;
7388
+ justify-content: flex-end;
7389
+ gap: var(--spacing-4);
7390
+ width: 100%;
7391
+ }
7392
+
7393
+ .muka-progress-accordeon__action {
7394
+ min-width: 160px;
7395
+ }
7396
+
7397
+ /* ─── Divider ────────────────────────────────────────────── */
7398
+ .muka-progress-accordeon__divider {
7399
+ width: 100%;
7400
+ }
7401
+
7402
+ /* ─── Responsive (narrow container) ──────────────────────── */
7403
+ @container (max-width: 480px) {
7404
+ /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7405
+ 32px step indicator, so nudge the text down to keep a single line centred. */
7406
+ .muka-progress-accordeon__heading {
7407
+ font-size: var(--text-heading-sm-fontSize);
7408
+ line-height: var(--text-heading-sm-lineHeight);
7409
+ padding-top: var(--spacing-1);
7410
+ }
7411
+
7412
+ /* Edit button swaps to the icon-only variant */
7413
+ .muka-progress-accordeon__edit--wide {
7414
+ display: none;
7415
+ }
7416
+
7417
+ .muka-progress-accordeon__edit--narrow {
7418
+ display: inline-flex;
7419
+ }
7420
+
7421
+ /* Action buttons stretch to fill the row */
7422
+ .muka-progress-accordeon__actions {
7423
+ justify-content: stretch;
7424
+ }
7425
+
7426
+ .muka-progress-accordeon__action {
7427
+ flex: 1 0 0;
7428
+ min-width: 0;
7429
+ }
7430
+ }
7431
+
7432
+
7433
+ /* ProgressTracker */
7434
+ /* ProgressTracker Component Styles — Using Muka Design Tokens */
7435
+
7436
+ /* ─── Root ──────────────────────────────────────────────── */
7437
+ .muka-progress-tracker {
7438
+ width: 100%;
7439
+ }
7440
+
7441
+ .muka-progress-tracker--horizontal {
7442
+ padding-bottom: var(--spacing-7);
7443
+ }
7444
+
7445
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
7446
+ padding leaves room for the first and last labels, which hang past their
7447
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
7448
+ .muka-progress-tracker--scrollable {
7449
+ overflow-x: auto;
7450
+ overflow-y: hidden;
7451
+ -webkit-overflow-scrolling: touch;
7452
+ scrollbar-width: none;
7453
+ padding-inline: var(--spacing-12);
7454
+ box-sizing: border-box;
7455
+ }
7456
+
7457
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
7458
+ display: none;
7459
+ }
7460
+
7461
+ /* ─── Track (layered container) ─────────────────────────── */
7462
+ .muka-progress-tracker--horizontal .muka-progress-tracker__track {
7463
+ position: relative;
7464
+ /* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
7465
+ padding-top: 14px;
7466
+ padding-bottom: 14px;
7467
+ }
7468
+
7469
+ /* ─── Steps layer (on top) — horizontal ─────────────────── */
7470
+ .muka-progress-tracker--horizontal .muka-progress-tracker__steps {
7471
+ position: absolute;
7472
+ inset: 0;
7473
+ display: flex;
7474
+ align-items: flex-start;
7475
+ justify-content: space-between;
7476
+ z-index: 2;
7477
+ }
7478
+
7479
+ /* ─── Individual step — horizontal ──────────────────────── */
7480
+ .muka-progress-tracker--horizontal .muka-progress-tracker__step {
7481
+ display: flex;
7482
+ flex-direction: column;
7483
+ align-items: center;
7226
7484
  position: relative;
7227
7485
  /* Labels are absolutely positioned so the step stays 32px and
7228
7486
  circle centers line up with the connector padding. */
@@ -7736,415 +7994,157 @@ button.muka-progress-tracker__tab:focus-visible {
7736
7994
  }
7737
7995
 
7738
7996
 
7739
- /* ProgressAccordeon */
7740
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7997
+ /* Progress */
7998
+ /* Progress Component Styles - Using Muka Design Tokens */
7741
7999
 
7742
- /* ─── Root ──────────────────────────────────────────────── */
7743
- .muka-progress-accordeon {
7744
- container-type: inline-size;
8000
+ /* ========================================
8001
+ BAR VARIANT
8002
+ ======================================== */
8003
+
8004
+ .muka-progress--bar {
7745
8005
  display: flex;
7746
- flex-direction: column;
7747
- align-items: stretch;
8006
+ align-items: center;
8007
+ gap: var(--spacing-2);
7748
8008
  width: 100%;
7749
- /* Top padding provides the vertical rhythm between stacked steps */
7750
- padding-top: var(--spacing-8);
7751
8009
  }
7752
8010
 
7753
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7754
- .muka-progress-accordeon--current,
7755
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7756
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7757
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7758
- gap: var(--spacing-6);
8011
+ .muka-progress--bar .muka-progress__track {
8012
+ flex: 1;
8013
+ background-color: var(--color-surface-level1);
8014
+ border-radius: var(--border-radius-full);
8015
+ overflow: hidden;
7759
8016
  }
7760
8017
 
7761
- .muka-progress-accordeon--upcoming,
7762
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7763
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7764
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7765
- gap: var(--spacing-8);
8018
+ .muka-progress--bar.muka-progress--sm .muka-progress__track {
8019
+ height: var(--progress-size-bar-height-sm);
7766
8020
  }
7767
8021
 
7768
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7769
- collapsing slot (as padding-top) so it collapses with the content, so the
7770
- body gap itself is 0. */
7771
- .muka-progress-accordeon__body {
7772
- display: flex;
7773
- flex-direction: column;
7774
- gap: 0;
7775
- width: 100%;
8022
+ .muka-progress--bar.muka-progress--md .muka-progress__track {
8023
+ height: var(--progress-size-bar-height-md);
7776
8024
  }
7777
8025
 
7778
- /* ─── Header ─────────────────────────────────────────────── */
7779
- .muka-progress-accordeon__header {
7780
- display: flex;
7781
- flex-direction: column;
7782
- gap: var(--spacing-3);
7783
- width: 100%;
8026
+ .muka-progress--bar.muka-progress--lg .muka-progress__track {
8027
+ height: var(--progress-size-bar-height-lg);
7784
8028
  }
7785
8029
 
7786
- .muka-progress-accordeon__header-row {
7787
- display: flex;
7788
- align-items: flex-start;
7789
- gap: var(--spacing-3);
7790
- width: 100%;
7791
- min-height: 40px;
8030
+ .muka-progress--bar .muka-progress__fill {
8031
+ height: 100%;
8032
+ background-color: var(--color-action-default);
8033
+ border-radius: var(--border-radius-full);
8034
+ transition: width 0.3s ease;
7792
8035
  }
7793
8036
 
7794
- .muka-progress-accordeon__heading-group {
7795
- display: flex;
7796
- flex: 1 0 0;
7797
- min-width: 0;
7798
- align-items: flex-start;
7799
- gap: var(--spacing-4);
8037
+ .muka-progress--bar .muka-progress__label {
8038
+ flex-shrink: 0;
8039
+ font-family: var(--text-label-sm-semibold-fontFamily);
8040
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8041
+ font-size: var(--text-label-sm-semibold-fontSize);
8042
+ line-height: var(--text-label-sm-semibold-lineHeight);
8043
+ color: var(--color-text-default-default);
8044
+ min-width: 3ch;
8045
+ text-align: right;
7800
8046
  }
7801
8047
 
7802
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7803
- so a single line centres against the indicator + controls row. */
7804
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7805
- .muka-progress-accordeon__heading-group {
7806
- padding-top: var(--spacing-1);
8048
+ /* Indeterminate animation for bar */
8049
+ .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
8050
+ width: 40%;
8051
+ animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7807
8052
  }
7808
8053
 
7809
- .muka-progress-accordeon__controls {
7810
- display: flex;
7811
- flex-shrink: 0;
7812
- align-items: center;
7813
- gap: var(--spacing-3);
8054
+ @keyframes muka-progress-bar-indeterminate {
8055
+ 0% {
8056
+ transform: translateX(-100%);
8057
+ }
8058
+ 100% {
8059
+ transform: translateX(250%);
8060
+ }
7814
8061
  }
7815
8062
 
7816
- /* ─── Step indicator (circle) ───────────────────────────── */
7817
- .muka-progress-accordeon__indicator {
7818
- width: 32px;
7819
- height: 32px;
7820
- flex-shrink: 0;
7821
- border-radius: var(--border-radius-full);
7822
- display: flex;
8063
+ /* ========================================
8064
+ CIRCLE VARIANT
8065
+ ======================================== */
8066
+
8067
+ .muka-progress--circle {
8068
+ position: relative;
8069
+ display: inline-flex;
7823
8070
  align-items: center;
7824
8071
  justify-content: center;
7825
8072
  }
7826
8073
 
7827
- /* Past: dark accent-contrast circle with inverse checkmark */
7828
- .muka-progress-accordeon__indicator--past {
7829
- background-color: var(--alias-color-accent-contrast);
7830
- color: var(--color-text-default-inverse);
8074
+ .muka-progress--circle.muka-progress--sm {
8075
+ width: var(--progress-size-circle-diameter-sm);
8076
+ height: var(--progress-size-circle-diameter-sm);
7831
8077
  }
7832
8078
 
7833
- /* Current: accent circle with inverse bold number */
7834
- .muka-progress-accordeon__indicator--current {
7835
- background-color: var(--alias-color-accent-default);
7836
- color: var(--color-text-default-inverse);
8079
+ .muka-progress--circle.muka-progress--md {
8080
+ width: var(--progress-size-circle-diameter-md);
8081
+ height: var(--progress-size-circle-diameter-md);
7837
8082
  }
7838
8083
 
7839
- /* Upcoming: sunken/muted circle with default-color number */
7840
- .muka-progress-accordeon__indicator--upcoming {
7841
- background-color: var(--color-surface-sunken);
7842
- color: var(--color-text-default-default);
8084
+ .muka-progress--circle.muka-progress--lg {
8085
+ width: var(--progress-size-circle-diameter-lg);
8086
+ height: var(--progress-size-circle-diameter-lg);
7843
8087
  }
7844
8088
 
7845
- .muka-progress-accordeon__check-icon {
7846
- width: 20px;
7847
- height: 20px;
7848
- color: var(--color-text-default-inverse);
8089
+ .muka-progress__circle {
8090
+ width: 100%;
8091
+ height: 100%;
8092
+ transform: rotate(-90deg);
7849
8093
  }
7850
8094
 
7851
- .muka-progress-accordeon__number {
7852
- font-family: var(--text-label-md-bold-fontFamily);
7853
- font-weight: var(--text-label-md-bold-fontWeight);
7854
- font-size: var(--text-label-md-bold-fontSize);
7855
- line-height: var(--text-label-md-bold-lineHeight);
7856
- text-align: center;
7857
- user-select: none;
8095
+ .muka-progress--circle .muka-progress__track {
8096
+ fill: none;
8097
+ stroke: var(--color-surface-level1);
7858
8098
  }
7859
8099
 
7860
- /* Upcoming number is semibold (not bold) per Figma */
7861
- .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7862
- font-family: var(--text-label-md-semibold-fontFamily);
7863
- font-weight: var(--text-label-md-semibold-fontWeight);
8100
+ .muka-progress--circle.muka-progress--sm .muka-progress__track,
8101
+ .muka-progress--circle.muka-progress--sm .muka-progress__fill {
8102
+ stroke-width: var(--progress-size-circle-strokeWidth-sm);
7864
8103
  }
7865
8104
 
7866
- /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7867
- .muka-progress-accordeon__heading {
7868
- flex: 1 0 0;
7869
- min-width: 0;
7870
- margin: 0;
7871
- font-family: var(--text-heading-md-fontFamily);
7872
- font-weight: var(--text-heading-md-fontWeight);
7873
- font-size: var(--text-heading-md-fontSize);
7874
- line-height: var(--text-heading-md-lineHeight);
7875
- letter-spacing: var(--text-heading-md-letterSpacing);
7876
- color: var(--color-text-default-default);
8105
+ .muka-progress--circle.muka-progress--md .muka-progress__track,
8106
+ .muka-progress--circle.muka-progress--md .muka-progress__fill {
8107
+ stroke-width: var(--progress-size-circle-strokeWidth-md);
7877
8108
  }
7878
8109
 
7879
- /* ─── Description ────────────────────────────────────────── */
7880
- /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7881
- .muka-progress-accordeon__description {
7882
- width: 100%;
7883
- padding-left: 48px;
7884
- font-family: var(--text-body-base-regular-fontFamily);
7885
- font-weight: var(--text-body-base-regular-fontWeight);
7886
- font-size: var(--text-body-base-regular-fontSize);
7887
- line-height: var(--text-body-base-regular-lineHeight);
7888
- color: var(--color-text-default-default);
8110
+ .muka-progress--circle.muka-progress--lg .muka-progress__track,
8111
+ .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8112
+ stroke-width: var(--progress-size-circle-strokeWidth-lg);
7889
8113
  }
7890
8114
 
7891
- /* ─── Edit button ────────────────────────────────────────── */
7892
- .muka-progress-accordeon__edit {
7893
- flex-shrink: 0;
8115
+ .muka-progress--circle .muka-progress__fill {
8116
+ fill: none;
8117
+ stroke: var(--color-action-default);
8118
+ stroke-linecap: round;
8119
+ transition: stroke-dashoffset 0.3s ease;
7894
8120
  }
7895
8121
 
7896
- /* Wide container shows the labelled button; the icon-only one is hidden */
7897
- .muka-progress-accordeon__edit--narrow {
7898
- display: none;
8122
+ .muka-progress--circle .muka-progress__label {
8123
+ position: absolute;
8124
+ font-family: var(--text-label-sm-semibold-fontFamily);
8125
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8126
+ color: var(--color-text-default-default);
7899
8127
  }
7900
8128
 
7901
- /* ─── Content slot ───────────────────────────────────────── */
7902
- .muka-progress-accordeon__slot {
7903
- display: flex;
7904
- flex-direction: column;
7905
- align-items: stretch;
7906
- width: 100%;
8129
+ .muka-progress--circle.muka-progress--sm .muka-progress__label {
8130
+ font-size: var(--text-label-sm-semibold-fontSize);
7907
8131
  }
7908
8132
 
7909
- /* ─── Collapse/expand animation (any expandable step) ──────
7910
- Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7911
- shrinks to its intrinsic height. Opacity fades with the same duration.
7912
- Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7913
- .muka-progress-accordeon__panel-wrapper {
7914
- display: grid;
7915
- grid-template-rows: 1fr;
7916
- opacity: 1;
7917
- transition:
7918
- grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7919
- opacity var(--motion-duration-view) var(--motion-easing-enter);
8133
+ .muka-progress--circle.muka-progress--md .muka-progress__label {
8134
+ font-size: var(--text-label-md-semibold-fontSize);
7920
8135
  }
7921
8136
 
7922
- .muka-progress-accordeon__panel-wrapper--collapsed {
7923
- grid-template-rows: 0fr;
7924
- opacity: 0;
7925
- transition:
7926
- grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7927
- opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
8137
+ .muka-progress--circle.muka-progress--lg .muka-progress__label {
8138
+ font-size: var(--text-label-lg-semibold-fontSize);
7928
8139
  }
7929
8140
 
7930
- /* The direct grid child clips and must have NO padding/border of its own —
7931
- min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7932
- 0 height (padding on the item would leave a residual gap when collapsed). */
7933
- .muka-progress-accordeon__panel-clip {
7934
- overflow: hidden;
7935
- min-height: 0;
8141
+ /* Indeterminate animation for circle */
8142
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8143
+ animation: muka-progress-circle-rotate 2s linear infinite;
7936
8144
  }
7937
8145
 
7938
- /* Header↔content spacing + slot/actions gap live inside the clip so they
7939
- collapse together with the panel. */
7940
- .muka-progress-accordeon__panel {
7941
- display: flex;
7942
- flex-direction: column;
7943
- align-items: stretch;
7944
- gap: var(--spacing-6);
7945
- padding-top: var(--spacing-4);
7946
- width: 100%;
7947
- }
7948
-
7949
- /* ─── Action buttons (current state) ─────────────────────── */
7950
- .muka-progress-accordeon__actions {
7951
- display: flex;
7952
- justify-content: flex-end;
7953
- gap: var(--spacing-4);
7954
- width: 100%;
7955
- }
7956
-
7957
- .muka-progress-accordeon__action {
7958
- min-width: 160px;
7959
- }
7960
-
7961
- /* ─── Divider ────────────────────────────────────────────── */
7962
- .muka-progress-accordeon__divider {
7963
- width: 100%;
7964
- }
7965
-
7966
- /* ─── Responsive (narrow container) ──────────────────────── */
7967
- @container (max-width: 480px) {
7968
- /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7969
- 32px step indicator, so nudge the text down to keep a single line centred. */
7970
- .muka-progress-accordeon__heading {
7971
- font-size: var(--text-heading-sm-fontSize);
7972
- line-height: var(--text-heading-sm-lineHeight);
7973
- padding-top: var(--spacing-1);
7974
- }
7975
-
7976
- /* Edit button swaps to the icon-only variant */
7977
- .muka-progress-accordeon__edit--wide {
7978
- display: none;
7979
- }
7980
-
7981
- .muka-progress-accordeon__edit--narrow {
7982
- display: inline-flex;
7983
- }
7984
-
7985
- /* Action buttons stretch to fill the row */
7986
- .muka-progress-accordeon__actions {
7987
- justify-content: stretch;
7988
- }
7989
-
7990
- .muka-progress-accordeon__action {
7991
- flex: 1 0 0;
7992
- min-width: 0;
7993
- }
7994
- }
7995
-
7996
-
7997
- /* Progress */
7998
- /* Progress Component Styles - Using Muka Design Tokens */
7999
-
8000
- /* ========================================
8001
- BAR VARIANT
8002
- ======================================== */
8003
-
8004
- .muka-progress--bar {
8005
- display: flex;
8006
- align-items: center;
8007
- gap: var(--spacing-2);
8008
- width: 100%;
8009
- }
8010
-
8011
- .muka-progress--bar .muka-progress__track {
8012
- flex: 1;
8013
- background-color: var(--color-surface-level1);
8014
- border-radius: var(--border-radius-full);
8015
- overflow: hidden;
8016
- }
8017
-
8018
- .muka-progress--bar.muka-progress--sm .muka-progress__track {
8019
- height: var(--progress-size-bar-height-sm);
8020
- }
8021
-
8022
- .muka-progress--bar.muka-progress--md .muka-progress__track {
8023
- height: var(--progress-size-bar-height-md);
8024
- }
8025
-
8026
- .muka-progress--bar.muka-progress--lg .muka-progress__track {
8027
- height: var(--progress-size-bar-height-lg);
8028
- }
8029
-
8030
- .muka-progress--bar .muka-progress__fill {
8031
- height: 100%;
8032
- background-color: var(--color-action-default);
8033
- border-radius: var(--border-radius-full);
8034
- transition: width 0.3s ease;
8035
- }
8036
-
8037
- .muka-progress--bar .muka-progress__label {
8038
- flex-shrink: 0;
8039
- font-family: var(--text-label-sm-semibold-fontFamily);
8040
- font-weight: var(--text-label-sm-semibold-fontWeight);
8041
- font-size: var(--text-label-sm-semibold-fontSize);
8042
- line-height: var(--text-label-sm-semibold-lineHeight);
8043
- color: var(--color-text-default-default);
8044
- min-width: 3ch;
8045
- text-align: right;
8046
- }
8047
-
8048
- /* Indeterminate animation for bar */
8049
- .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
8050
- width: 40%;
8051
- animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
8052
- }
8053
-
8054
- @keyframes muka-progress-bar-indeterminate {
8055
- 0% {
8056
- transform: translateX(-100%);
8057
- }
8058
- 100% {
8059
- transform: translateX(250%);
8060
- }
8061
- }
8062
-
8063
- /* ========================================
8064
- CIRCLE VARIANT
8065
- ======================================== */
8066
-
8067
- .muka-progress--circle {
8068
- position: relative;
8069
- display: inline-flex;
8070
- align-items: center;
8071
- justify-content: center;
8072
- }
8073
-
8074
- .muka-progress--circle.muka-progress--sm {
8075
- width: var(--progress-size-circle-diameter-sm);
8076
- height: var(--progress-size-circle-diameter-sm);
8077
- }
8078
-
8079
- .muka-progress--circle.muka-progress--md {
8080
- width: var(--progress-size-circle-diameter-md);
8081
- height: var(--progress-size-circle-diameter-md);
8082
- }
8083
-
8084
- .muka-progress--circle.muka-progress--lg {
8085
- width: var(--progress-size-circle-diameter-lg);
8086
- height: var(--progress-size-circle-diameter-lg);
8087
- }
8088
-
8089
- .muka-progress__circle {
8090
- width: 100%;
8091
- height: 100%;
8092
- transform: rotate(-90deg);
8093
- }
8094
-
8095
- .muka-progress--circle .muka-progress__track {
8096
- fill: none;
8097
- stroke: var(--color-surface-level1);
8098
- }
8099
-
8100
- .muka-progress--circle.muka-progress--sm .muka-progress__track,
8101
- .muka-progress--circle.muka-progress--sm .muka-progress__fill {
8102
- stroke-width: var(--progress-size-circle-strokeWidth-sm);
8103
- }
8104
-
8105
- .muka-progress--circle.muka-progress--md .muka-progress__track,
8106
- .muka-progress--circle.muka-progress--md .muka-progress__fill {
8107
- stroke-width: var(--progress-size-circle-strokeWidth-md);
8108
- }
8109
-
8110
- .muka-progress--circle.muka-progress--lg .muka-progress__track,
8111
- .muka-progress--circle.muka-progress--lg .muka-progress__fill {
8112
- stroke-width: var(--progress-size-circle-strokeWidth-lg);
8113
- }
8114
-
8115
- .muka-progress--circle .muka-progress__fill {
8116
- fill: none;
8117
- stroke: var(--color-action-default);
8118
- stroke-linecap: round;
8119
- transition: stroke-dashoffset 0.3s ease;
8120
- }
8121
-
8122
- .muka-progress--circle .muka-progress__label {
8123
- position: absolute;
8124
- font-family: var(--text-label-sm-semibold-fontFamily);
8125
- font-weight: var(--text-label-sm-semibold-fontWeight);
8126
- color: var(--color-text-default-default);
8127
- }
8128
-
8129
- .muka-progress--circle.muka-progress--sm .muka-progress__label {
8130
- font-size: var(--text-label-sm-semibold-fontSize);
8131
- }
8132
-
8133
- .muka-progress--circle.muka-progress--md .muka-progress__label {
8134
- font-size: var(--text-label-md-semibold-fontSize);
8135
- }
8136
-
8137
- .muka-progress--circle.muka-progress--lg .muka-progress__label {
8138
- font-size: var(--text-label-lg-semibold-fontSize);
8139
- }
8140
-
8141
- /* Indeterminate animation for circle */
8142
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8143
- animation: muka-progress-circle-rotate 2s linear infinite;
8144
- }
8145
-
8146
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8147
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8146
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8147
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8148
8148
  }
8149
8149
 
8150
8150
  @keyframes muka-progress-circle-rotate {
@@ -9107,6 +9107,66 @@ button.muka-progress-tracker__tab:focus-visible {
9107
9107
  }
9108
9108
 
9109
9109
 
9110
+ /* Page */
9111
+ /* Page Component Styles */
9112
+
9113
+ /*
9114
+ * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
9115
+ * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
9116
+ * only appears in an app running edge to edge (viewport-fit=cover).
9117
+ *
9118
+ * `--muka-page-background` is the page colour. SiteHeader reads it, so a
9119
+ * header and its status-bar scrim match the page without configuration.
9120
+ */
9121
+ .muka-page {
9122
+ --muka-page-background: var(--color-surface-level3);
9123
+ display: flex;
9124
+ flex-direction: column;
9125
+ min-height: 100vh;
9126
+ min-height: 100dvh;
9127
+ background-color: var(--muka-page-background);
9128
+ }
9129
+
9130
+ .muka-page--surface-2 {
9131
+ --muka-page-background: var(--color-surface-level2);
9132
+ }
9133
+
9134
+ /* Overscroll (rubber band) shows the document background: keep it the page's. */
9135
+ :root:has(.muka-page--surface-2) body {
9136
+ background-color: var(--color-surface-level2);
9137
+ }
9138
+
9139
+ .muka-page__main {
9140
+ flex: 1 0 auto;
9141
+ display: flex;
9142
+ flex-direction: column;
9143
+ /* Landscape: clear the notch. */
9144
+ padding-left: env(safe-area-inset-left, 0px);
9145
+ padding-right: env(safe-area-inset-right, 0px);
9146
+ }
9147
+
9148
+ .muka-page__footer {
9149
+ flex-shrink: 0;
9150
+ padding-left: env(safe-area-inset-left, 0px);
9151
+ padding-right: env(safe-area-inset-right, 0px);
9152
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9153
+ }
9154
+
9155
+ /* A footer with its own colour: the colour runs under the home indicator. */
9156
+ .muka-page__footer--surface-2 {
9157
+ background-color: var(--color-surface-level2);
9158
+ }
9159
+
9160
+ .muka-page__footer--surface-3 {
9161
+ background-color: var(--color-surface-level3);
9162
+ }
9163
+
9164
+ /* Without a footer, the content is last and clears the home indicator. */
9165
+ .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9166
+ padding-bottom: env(safe-area-inset-bottom, 0px);
9167
+ }
9168
+
9169
+
9110
9170
  /* NumberInput */
9111
9171
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9112
9172
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9990,8 +10050,27 @@ button.muka-progress-tracker__tab:focus-visible {
9990
10050
  white-space: nowrap;
9991
10051
  }
9992
10052
 
9993
- /* Trailing chevron */
9994
- .muka-listitem__chevron {
10053
+ /*
10054
+ * Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
10055
+ * a badge, as in a chat inbox), aligned to the end, and never shrinks the label
10056
+ * below it: the label ellipsises instead.
10057
+ */
10058
+ .muka-listitem__trailing {
10059
+ display: flex;
10060
+ flex-direction: column;
10061
+ align-items: flex-end;
10062
+ justify-content: center;
10063
+ gap: var(--spacing-1);
10064
+ flex-shrink: 0;
10065
+ font-family: var(--alias-font-plain-family);
10066
+ font-size: var(--text-body-sm-fontSize);
10067
+ line-height: var(--text-body-sm-lineHeight);
10068
+ color: var(--color-text-subtle-default);
10069
+ white-space: nowrap;
10070
+ }
10071
+
10072
+ /* Trailing chevron */
10073
+ .muka-listitem__chevron {
9995
10074
  display: inline-flex;
9996
10075
  align-items: center;
9997
10076
  justify-content: center;
@@ -10258,66 +10337,6 @@ li.muka-listitem {
10258
10337
  }
10259
10338
 
10260
10339
 
10261
- /* Page */
10262
- /* Page Component Styles */
10263
-
10264
- /*
10265
- * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
10266
- * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
10267
- * only appears in an app running edge to edge (viewport-fit=cover).
10268
- *
10269
- * `--muka-page-background` is the page colour. SiteHeader reads it, so a
10270
- * header and its status-bar scrim match the page without configuration.
10271
- */
10272
- .muka-page {
10273
- --muka-page-background: var(--color-surface-level3);
10274
- display: flex;
10275
- flex-direction: column;
10276
- min-height: 100vh;
10277
- min-height: 100dvh;
10278
- background-color: var(--muka-page-background);
10279
- }
10280
-
10281
- .muka-page--surface-2 {
10282
- --muka-page-background: var(--color-surface-level2);
10283
- }
10284
-
10285
- /* Overscroll (rubber band) shows the document background: keep it the page's. */
10286
- :root:has(.muka-page--surface-2) body {
10287
- background-color: var(--color-surface-level2);
10288
- }
10289
-
10290
- .muka-page__main {
10291
- flex: 1 0 auto;
10292
- display: flex;
10293
- flex-direction: column;
10294
- /* Landscape: clear the notch. */
10295
- padding-left: env(safe-area-inset-left, 0px);
10296
- padding-right: env(safe-area-inset-right, 0px);
10297
- }
10298
-
10299
- .muka-page__footer {
10300
- flex-shrink: 0;
10301
- padding-left: env(safe-area-inset-left, 0px);
10302
- padding-right: env(safe-area-inset-right, 0px);
10303
- padding-bottom: env(safe-area-inset-bottom, 0px);
10304
- }
10305
-
10306
- /* A footer with its own colour: the colour runs under the home indicator. */
10307
- .muka-page__footer--surface-2 {
10308
- background-color: var(--color-surface-level2);
10309
- }
10310
-
10311
- .muka-page__footer--surface-3 {
10312
- background-color: var(--color-surface-level3);
10313
- }
10314
-
10315
- /* Without a footer, the content is last and clears the home indicator. */
10316
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
10317
- padding-bottom: env(safe-area-inset-bottom, 0px);
10318
- }
10319
-
10320
-
10321
10340
  /* InputCounter */
10322
10341
  /* InputCounter — numeric field + joined decrement/increment buttons.
10323
10342
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -15062,6 +15081,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
15062
15081
  }
15063
15082
 
15064
15083
 
15084
+ /* Card */
15085
+ /* Card Component Styles - Using Muka Design Tokens */
15086
+
15087
+ .muka-card {
15088
+ background-color: var(--card-color-default-background);
15089
+ color: var(--card-color-default-foreground);
15090
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15091
+ box-shadow: var(--card-shadow-default);
15092
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15093
+ overflow: hidden;
15094
+ }
15095
+
15096
+ /* Padding variants */
15097
+ .muka-card--padding-none {
15098
+ padding: 0;
15099
+ }
15100
+
15101
+ .muka-card--padding-sm {
15102
+ padding: var(--card-padding-sm);
15103
+ }
15104
+
15105
+ .muka-card--padding-md {
15106
+ padding: var(--card-padding-md);
15107
+ }
15108
+
15109
+ .muka-card--padding-lg {
15110
+ padding: var(--card-padding-lg);
15111
+ }
15112
+
15113
+ /* Radius variants */
15114
+ .muka-card--radius-sm {
15115
+ border-radius: var(--card-radius-sm);
15116
+ }
15117
+
15118
+ .muka-card--radius-md {
15119
+ border-radius: var(--card-radius-md);
15120
+ }
15121
+
15122
+ .muka-card--radius-lg {
15123
+ border-radius: var(--card-radius-lg);
15124
+ }
15125
+
15126
+ /* Interactive variant */
15127
+ .muka-card--interactive {
15128
+ cursor: pointer;
15129
+ user-select: none;
15130
+ }
15131
+
15132
+ .muka-card--interactive:hover {
15133
+ background-color: var(--card-color-hover-background);
15134
+ border-color: var(--card-color-hover-border);
15135
+ box-shadow: var(--card-shadow-hover);
15136
+ }
15137
+
15138
+ .muka-card--interactive:active,
15139
+ .muka-card--interactive.muka-card--pressed {
15140
+ background-color: var(--card-color-pressed-background);
15141
+ border-color: var(--card-color-pressed-border);
15142
+ box-shadow: var(--card-shadow-pressed);
15143
+ }
15144
+
15145
+ .muka-card--interactive:focus-visible {
15146
+ outline: 2px solid var(--color-border-focus);
15147
+ outline-offset: 2px;
15148
+ }
15149
+
15150
+ /* Selected variant */
15151
+ .muka-card--selected {
15152
+ background-color: var(--card-color-selected-background);
15153
+ border-color: var(--card-color-selected-border);
15154
+ border-width: var(--border-width-bold);
15155
+ box-shadow: var(--card-shadow-selected);
15156
+ }
15157
+
15158
+ /* Tone: sticky note (MUK-105) */
15159
+ .muka-card--tone-note {
15160
+ background-color: var(--card-color-note-background);
15161
+ color: var(--card-color-note-foreground);
15162
+ border-color: var(--card-color-note-border);
15163
+ box-shadow: var(--card-shadow-note);
15164
+ }
15165
+
15166
+ .muka-card--tone-note.muka-card--interactive:hover,
15167
+ .muka-card--tone-note.muka-card--interactive:active,
15168
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15169
+ background-color: var(--card-color-note-background);
15170
+ border-color: var(--card-color-note-border);
15171
+ }
15172
+
15173
+ .muka-card--tilt-left {
15174
+ transform: rotate(-0.75deg);
15175
+ }
15176
+
15177
+ .muka-card--tilt-right {
15178
+ transform: rotate(0.6deg);
15179
+ }
15180
+
15181
+ @media (prefers-reduced-motion: no-preference) {
15182
+ .muka-card--tilt-left,
15183
+ .muka-card--tilt-right {
15184
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15185
+ }
15186
+ }
15187
+
15188
+ .muka-card--interactive.muka-card--tilt-left:hover,
15189
+ .muka-card--interactive.muka-card--tilt-right:hover {
15190
+ transform: none;
15191
+ }
15192
+
15193
+ /* Optional header (title + description) */
15194
+ .muka-card__header {
15195
+ margin-bottom: var(--spacing-4);
15196
+ }
15197
+
15198
+ .muka-card__title {
15199
+ margin: 0;
15200
+ color: var(--color-text-default-default);
15201
+ font-family: var(--text-heading-xs-fontFamily);
15202
+ font-weight: var(--text-heading-xs-fontWeight);
15203
+ font-size: var(--text-heading-xs-fontSize);
15204
+ line-height: var(--text-heading-xs-lineHeight);
15205
+ letter-spacing: var(--text-heading-xs-letterSpacing);
15206
+ }
15207
+
15208
+ .muka-card__description {
15209
+ margin: var(--spacing-1) 0 0;
15210
+ color: var(--color-text-subtle-default);
15211
+ font-family: var(--text-body-sm-regular-fontFamily);
15212
+ font-weight: var(--text-body-sm-regular-fontWeight);
15213
+ font-size: var(--text-body-sm-regular-fontSize);
15214
+ line-height: var(--text-body-sm-regular-lineHeight);
15215
+ }
15216
+
15217
+ /* Hide divider on last list item inside card */
15218
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15219
+ display: none;
15220
+ }
15221
+
15222
+ /* Disabled state */
15223
+ .muka-card--disabled {
15224
+ opacity: 0.5;
15225
+ cursor: not-allowed;
15226
+ pointer-events: none;
15227
+ }
15228
+
15229
+
15065
15230
  /* ChatAttachmentChip */
15066
15231
  /* ChatAttachmentChip Component Styles */
15067
15232
 
@@ -15664,154 +15829,481 @@ button.muka-chat-photo-grid__tile:focus-visible {
15664
15829
  }
15665
15830
 
15666
15831
 
15667
- /* BottomBar */
15668
- /* BottomBar Component Styles */
15832
+ /* BadgeNumber */
15833
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
15669
15834
 
15670
- .muka-bottombar {
15671
- width: 100%;
15672
- background-color: var(--bottombar-color-background);
15835
+ .muka-badge-number {
15836
+ display: inline-flex;
15837
+ align-items: center;
15838
+ justify-content: center;
15839
+ border-radius: var(--border-radius-full);
15840
+ white-space: nowrap;
15841
+ user-select: none;
15842
+ box-sizing: border-box;
15673
15843
  }
15674
15844
 
15675
- /* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
15676
- .muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
15677
- padding-bottom: env(safe-area-inset-bottom);
15845
+ /*
15846
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
15847
+ * circle), horizontal padding, and bold label typography. Vertical centering
15848
+ * is handled by the fixed height + align-items: center.
15849
+ */
15850
+ .muka-badge-number--2xs {
15851
+ height: var(--badge-number-size-2xs);
15852
+ min-width: var(--badge-number-size-2xs);
15853
+ padding: 0 var(--badge-number-padding-2xs);
15854
+ font-family: var(--text-label-xs-bold-fontFamily);
15855
+ font-weight: var(--text-label-xs-bold-fontWeight);
15856
+ font-size: var(--text-label-xs-bold-fontSize);
15857
+ line-height: var(--text-label-xs-bold-lineHeight);
15678
15858
  }
15679
15859
 
15680
- /* Floating variant: ensure margin-bottom is at least the safe-area inset. */
15681
- .muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
15682
- padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
15860
+ .muka-badge-number--xs {
15861
+ height: var(--badge-number-size-xs);
15862
+ min-width: var(--badge-number-size-xs);
15863
+ padding: 0 var(--badge-number-padding-xs);
15864
+ font-family: var(--text-label-sm-bold-fontFamily);
15865
+ font-weight: var(--text-label-sm-bold-fontWeight);
15866
+ font-size: var(--text-label-sm-bold-fontSize);
15867
+ line-height: var(--text-label-sm-bold-lineHeight);
15683
15868
  }
15684
15869
 
15685
- /* ─── Divider (non-floating) ──────────────────────────── */
15870
+ .muka-badge-number--sm {
15871
+ height: var(--badge-number-size-sm);
15872
+ min-width: var(--badge-number-size-sm);
15873
+ padding: 0 var(--badge-number-padding-sm);
15874
+ font-family: var(--text-label-md-bold-fontFamily);
15875
+ font-weight: var(--text-label-md-bold-fontWeight);
15876
+ font-size: var(--text-label-md-bold-fontSize);
15877
+ line-height: var(--text-label-md-bold-lineHeight);
15878
+ }
15686
15879
 
15687
- .muka-bottombar__divider {
15688
- height: var(--border-width-regular);
15689
- background-color: var(--bottombar-color-border);
15690
- width: 100%;
15880
+ .muka-badge-number--md {
15881
+ height: var(--badge-number-size-md);
15882
+ min-width: var(--badge-number-size-md);
15883
+ padding: 0 var(--badge-number-padding-md);
15884
+ font-family: var(--text-label-lg-bold-fontFamily);
15885
+ font-weight: var(--text-label-lg-bold-fontWeight);
15886
+ font-size: var(--text-label-lg-bold-fontSize);
15887
+ line-height: var(--text-label-lg-bold-lineHeight);
15691
15888
  }
15692
15889
 
15693
- /* ─── Content container ───────────────────────────────── */
15890
+ .muka-badge-number--lg {
15891
+ height: var(--badge-number-size-lg);
15892
+ min-width: var(--badge-number-size-lg);
15893
+ padding: 0 var(--badge-number-padding-lg);
15894
+ font-family: var(--text-label-2xl-bold-fontFamily);
15895
+ font-weight: var(--text-label-2xl-bold-fontWeight);
15896
+ font-size: var(--text-label-2xl-bold-fontSize);
15897
+ line-height: var(--text-label-2xl-bold-lineHeight);
15898
+ }
15694
15899
 
15695
- .muka-bottombar__content {
15696
- display: flex;
15697
- align-items: center;
15900
+ .muka-badge-number__label {
15901
+ /*
15902
+ * The badge sets a tight line-height for compact sizing, which would clip
15903
+ * glyph descenders; give the label a roomier line-height. Vertical centering
15904
+ * is unaffected because the badge height is fixed and content is centered.
15905
+ */
15906
+ line-height: normal;
15698
15907
  }
15699
15908
 
15700
- /* ─── Actions variant (horizontal) ───────────────────── */
15909
+ /* Neutral variant */
15910
+ .muka-badge-number--neutral {
15911
+ background-color: var(--color-surface-level1);
15912
+ color: var(--color-text-default-default);
15913
+ }
15701
15914
 
15702
- .muka-bottombar--actions .muka-bottombar__content {
15703
- flex-direction: row;
15704
- gap: var(--bottombar-actions-gap);
15705
- padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
15915
+ /* Info variant */
15916
+ .muka-badge-number--info {
15917
+ background-color: var(--color-state-info-contrast);
15918
+ color: var(--color-text-default-inverse);
15706
15919
  }
15707
15920
 
15708
- .muka-bottombar--actions .muka-bottombar__content > * {
15709
- flex: 1;
15921
+ /* Success variant */
15922
+ .muka-badge-number--success {
15923
+ background-color: var(--color-state-success-contrast);
15924
+ color: var(--color-text-default-inverse);
15710
15925
  }
15711
15926
 
15712
- /* ─── Actions-vertical variant (stacked) ─────────────── */
15927
+ /* Warning variant */
15928
+ .muka-badge-number--warning {
15929
+ background-color: var(--color-state-warning-contrast);
15930
+ color: var(--color-text-default-inverse);
15931
+ }
15713
15932
 
15714
- .muka-bottombar--actions-vertical .muka-bottombar__content {
15715
- flex-direction: column;
15716
- gap: var(--bottombar-actions-gap);
15717
- padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
15933
+ /* Error variant */
15934
+ .muka-badge-number--error {
15935
+ background-color: var(--color-state-error-contrast);
15936
+ color: var(--color-text-default-inverse);
15718
15937
  }
15719
15938
 
15720
- .muka-bottombar--actions-vertical .muka-bottombar__content > * {
15721
- width: 100%;
15939
+ /* Dot: something new, without a count */
15940
+ .muka-badge-number--dot {
15941
+ width: var(--spacing-2);
15942
+ height: var(--spacing-2);
15943
+ min-width: 0;
15944
+ padding: 0;
15722
15945
  }
15723
15946
 
15724
- /* ─── Message (actions variants only) ────────────────── */
15725
15947
 
15726
- /* Below 1024px the message takes its own line above the buttons. */
15727
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15728
- flex-wrap: wrap;
15729
- row-gap: var(--bottombar-actions-message-gap);
15730
- }
15948
+ /* Badge */
15949
+ /* Badge Component Styles - Using Muka Design Tokens */
15731
15950
 
15732
- .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
15733
- row-gap: var(--bottombar-actions-message-gap);
15951
+ .muka-badge {
15952
+ display: inline-flex;
15953
+ align-items: center;
15954
+ border-radius: var(--border-radius-full);
15955
+ white-space: nowrap;
15956
+ user-select: none;
15957
+ box-sizing: border-box;
15734
15958
  }
15735
15959
 
15736
- .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15737
- flex: 1 0 100%;
15738
- width: 100%;
15960
+ /*
15961
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
15962
+ * Mirrors Chip so the two components share sizing, fonts, and spacing.
15963
+ * Vertical centering is handled by the fixed height + align-items: center.
15964
+ * The leading side gets a tighter padding when an icon/dot is present, via the
15965
+ * --has-icon / --has-dot modifiers below.
15966
+ */
15967
+ .muka-badge--sm {
15968
+ height: var(--badge-size-height-sm);
15969
+ gap: var(--badge-gap-sm);
15970
+ padding: 0 var(--badge-padding-label-sm);
15971
+ font-family: var(--text-label-sm-regular-fontFamily);
15972
+ font-weight: var(--text-label-sm-regular-fontWeight);
15973
+ font-size: var(--text-label-sm-regular-fontSize);
15974
+ line-height: var(--text-label-sm-regular-lineHeight);
15739
15975
  }
15740
15976
 
15741
- .muka-bottombar__message {
15742
- margin: 0;
15743
- min-width: 0;
15744
- overflow-wrap: anywhere;
15745
- font-family: var(--text-body-sm-regular-fontFamily);
15746
- font-weight: var(--text-body-sm-regular-fontWeight);
15747
- font-size: var(--text-body-sm-regular-fontSize);
15748
- line-height: var(--text-body-sm-regular-lineHeight);
15977
+ .muka-badge--md {
15978
+ height: var(--badge-size-height-md);
15979
+ gap: var(--badge-gap-md);
15980
+ padding: 0 var(--badge-padding-label-md);
15981
+ font-family: var(--text-label-md-regular-fontFamily);
15982
+ font-weight: var(--text-label-md-regular-fontWeight);
15983
+ font-size: var(--text-label-md-regular-fontSize);
15984
+ line-height: var(--text-label-md-regular-lineHeight);
15749
15985
  }
15750
15986
 
15751
- .muka-bottombar__message--neutral {
15752
- color: var(--bottombar-color-message-neutral);
15987
+ .muka-badge--lg {
15988
+ height: var(--badge-size-height-lg);
15989
+ gap: var(--badge-gap-lg);
15990
+ padding: 0 var(--badge-padding-label-lg);
15991
+ font-family: var(--text-label-lg-regular-fontFamily);
15992
+ font-weight: var(--text-label-lg-regular-fontWeight);
15993
+ font-size: var(--text-label-lg-regular-fontSize);
15994
+ line-height: var(--text-label-lg-regular-lineHeight);
15753
15995
  }
15754
15996
 
15755
- .muka-bottombar__message--success {
15756
- color: var(--bottombar-color-message-success);
15997
+ /* Tighter leading padding when a leading icon or dot is present */
15998
+ .muka-badge--sm.muka-badge--has-icon,
15999
+ .muka-badge--sm.muka-badge--has-dot {
16000
+ padding-left: var(--badge-padding-leading-sm);
15757
16001
  }
15758
-
15759
- .muka-bottombar__message--warning {
15760
- color: var(--bottombar-color-message-warning);
16002
+ .muka-badge--md.muka-badge--has-icon,
16003
+ .muka-badge--md.muka-badge--has-dot {
16004
+ padding-left: var(--badge-padding-leading-md);
16005
+ }
16006
+ .muka-badge--lg.muka-badge--has-icon,
16007
+ .muka-badge--lg.muka-badge--has-dot {
16008
+ padding-left: var(--badge-padding-leading-lg);
15761
16009
  }
15762
16010
 
15763
- /* From 1024px the horizontal bar puts the message left, the buttons right at
15764
- their own width. The vertical variant keeps stacking. */
15765
- @media (min-width: 1024px) {
15766
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15767
- flex-wrap: nowrap;
15768
- }
16011
+ /* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
16012
+ * Padding resets at size+icon-only specificity so `--has-icon` leading padding
16013
+ * cannot win and shift the icon off-center. */
16014
+ .muka-badge--icon-only {
16015
+ justify-content: center;
16016
+ align-items: center;
16017
+ gap: 0;
16018
+ }
15769
16019
 
15770
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
15771
- flex: 0 0 auto;
15772
- }
16020
+ .muka-badge--sm.muka-badge--icon-only,
16021
+ .muka-badge--md.muka-badge--icon-only,
16022
+ .muka-badge--lg.muka-badge--icon-only {
16023
+ padding: 0;
16024
+ }
15773
16025
 
15774
- .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15775
- flex: 1 1 auto;
15776
- width: auto;
15777
- }
16026
+ .muka-badge--sm.muka-badge--icon-only {
16027
+ width: var(--badge-size-height-sm);
15778
16028
  }
15779
16029
 
15780
- /* ─── Size modifiers (actions variants only) ─────────── */
16030
+ .muka-badge--md.muka-badge--icon-only {
16031
+ width: var(--badge-size-height-md);
16032
+ }
15781
16033
 
15782
- /* ─── Navigation variant ──────────────────────────────── */
16034
+ .muka-badge--lg.muka-badge--icon-only {
16035
+ width: var(--badge-size-height-lg);
16036
+ }
15783
16037
 
15784
- .muka-bottombar--navigation .muka-bottombar__content {
15785
- flex-direction: row;
16038
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
16039
+ .muka-badge__icon {
16040
+ display: inline-flex;
16041
+ align-items: center;
16042
+ justify-content: center;
16043
+ flex-shrink: 0;
15786
16044
  }
15787
16045
 
15788
- /* ─── Chat variant (houses a ChatComposer) ───────────── */
16046
+ .muka-badge--sm .muka-badge__icon {
16047
+ width: var(--icon-size-xs);
16048
+ height: var(--icon-size-xs);
16049
+ }
16050
+ .muka-badge--md .muka-badge__icon {
16051
+ width: var(--icon-size-sm);
16052
+ height: var(--icon-size-sm);
16053
+ }
16054
+ .muka-badge--lg .muka-badge__icon {
16055
+ width: var(--icon-size-default);
16056
+ height: var(--icon-size-default);
16057
+ }
15789
16058
 
15790
- .muka-bottombar--chat .muka-bottombar__content {
15791
- flex-direction: row;
16059
+ /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
16060
+ so callers don't have to size the icon to match each badge size. The
16061
+ .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
16062
+ .muka-badge__icon .muka-icon,
16063
+ .muka-badge__icon svg {
15792
16064
  width: 100%;
15793
- margin: 0 auto;
16065
+ height: 100%;
15794
16066
  }
15795
16067
 
15796
- /*
15797
- * `--bottombar-chat-max-width` is the conversation column (it derives from
15798
- * `chat.column.max-width`, the same token `ChatMessageList` caps its column
15799
- * with). The cap here carries the padding on top of it, so it is the
15800
- * composer's own edges — not the padding around it — that land on the column.
15801
- */
15802
-
15803
- /*
15804
- * Docked chat pads its content; the floating card supplies its own padding.
15805
- * The inline half is the section gutter `ChatMessageList` pads its scroller
15806
- * with, so below the cap — where the column runs full-bleed — the composer
15807
- * keeps to the same gutters as the messages.
15808
- */
15809
- .muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
15810
- padding: var(--bottombar-chat-padding)
15811
- var(--section-padding-horizontal-default, var(--spacing-4));
15812
- max-width: calc(
15813
- var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
15814
- );
16068
+ /* Icons inherit the badge's per-variant foreground color */
16069
+ .muka-badge .muka-icon {
16070
+ color: inherit;
16071
+ }
16072
+
16073
+ /* Dot indicator */
16074
+ .muka-badge__dot {
16075
+ flex-shrink: 0;
16076
+ border-radius: var(--border-radius-full);
16077
+ }
16078
+
16079
+ .muka-badge--sm .muka-badge__dot {
16080
+ width: var(--badge-size-dot-sm);
16081
+ height: var(--badge-size-dot-sm);
16082
+ }
16083
+
16084
+ .muka-badge--md .muka-badge__dot {
16085
+ width: var(--badge-size-dot-md);
16086
+ height: var(--badge-size-dot-md);
16087
+ }
16088
+
16089
+ .muka-badge--lg .muka-badge__dot {
16090
+ width: var(--badge-size-dot-lg);
16091
+ height: var(--badge-size-dot-lg);
16092
+ }
16093
+
16094
+ .muka-badge__label {
16095
+ flex: 0 1 auto;
16096
+ min-width: 0;
16097
+ overflow: hidden;
16098
+ text-overflow: ellipsis;
16099
+ /*
16100
+ * The badge sets a tight line-height for compact sizing, but the label's
16101
+ * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
16102
+ * label its own roomier line-height so descenders render; vertical centering is unaffected
16103
+ * because the badge height is fixed and content is centered via align-items: center.
16104
+ */
16105
+ line-height: normal;
16106
+ }
16107
+
16108
+ /* Neutral variant */
16109
+ .muka-badge--neutral {
16110
+ background-color: var(--color-surface-level1);
16111
+ color: var(--color-text-default-default);
16112
+ }
16113
+
16114
+ .muka-badge--neutral .muka-badge__dot {
16115
+ background-color: var(--color-text-subtle-default);
16116
+ }
16117
+
16118
+ /* Info variant */
16119
+ .muka-badge--info {
16120
+ background-color: var(--color-state-info-background);
16121
+ color: var(--color-state-info-contrast);
16122
+ }
16123
+
16124
+ .muka-badge--info .muka-badge__dot {
16125
+ background-color: var(--color-state-info-default);
16126
+ }
16127
+
16128
+ /* Success variant */
16129
+ .muka-badge--success {
16130
+ background-color: var(--color-state-success-background);
16131
+ color: var(--color-state-success-contrast);
16132
+ }
16133
+
16134
+ .muka-badge--success .muka-badge__dot {
16135
+ background-color: var(--color-state-success-default);
16136
+ }
16137
+
16138
+ /* Warning variant */
16139
+ .muka-badge--warning {
16140
+ background-color: var(--color-state-warning-background);
16141
+ color: var(--color-state-warning-contrast);
16142
+ }
16143
+
16144
+ .muka-badge--warning .muka-badge__dot {
16145
+ background-color: var(--color-state-warning-default);
16146
+ }
16147
+
16148
+ /* Error variant */
16149
+ .muka-badge--error {
16150
+ background-color: var(--color-state-error-background);
16151
+ color: var(--color-state-error-contrast);
16152
+ }
16153
+
16154
+ .muka-badge--error .muka-badge__dot {
16155
+ background-color: var(--color-state-error-default);
16156
+ }
16157
+
16158
+
16159
+ /* BottomBar */
16160
+ /* BottomBar Component Styles */
16161
+
16162
+ .muka-bottombar {
16163
+ width: 100%;
16164
+ background-color: var(--bottombar-color-background);
16165
+ }
16166
+
16167
+ /* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
16168
+ .muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
16169
+ padding-bottom: env(safe-area-inset-bottom);
16170
+ }
16171
+
16172
+ /* Floating variant: ensure margin-bottom is at least the safe-area inset. */
16173
+ .muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
16174
+ padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
16175
+ }
16176
+
16177
+ /* ─── Divider (non-floating) ──────────────────────────── */
16178
+
16179
+ .muka-bottombar__divider {
16180
+ height: var(--border-width-regular);
16181
+ background-color: var(--bottombar-color-border);
16182
+ width: 100%;
16183
+ }
16184
+
16185
+ /* ─── Content container ───────────────────────────────── */
16186
+
16187
+ .muka-bottombar__content {
16188
+ display: flex;
16189
+ align-items: center;
16190
+ }
16191
+
16192
+ /* ─── Actions variant (horizontal) ───────────────────── */
16193
+
16194
+ .muka-bottombar--actions .muka-bottombar__content {
16195
+ flex-direction: row;
16196
+ gap: var(--bottombar-actions-gap);
16197
+ padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
16198
+ }
16199
+
16200
+ .muka-bottombar--actions .muka-bottombar__content > * {
16201
+ flex: 1;
16202
+ }
16203
+
16204
+ /* ─── Actions-vertical variant (stacked) ─────────────── */
16205
+
16206
+ .muka-bottombar--actions-vertical .muka-bottombar__content {
16207
+ flex-direction: column;
16208
+ gap: var(--bottombar-actions-gap);
16209
+ padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
16210
+ }
16211
+
16212
+ .muka-bottombar--actions-vertical .muka-bottombar__content > * {
16213
+ width: 100%;
16214
+ }
16215
+
16216
+ /* ─── Message (actions variants only) ────────────────── */
16217
+
16218
+ /* Below 1024px the message takes its own line above the buttons. */
16219
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
16220
+ flex-wrap: wrap;
16221
+ row-gap: var(--bottombar-actions-message-gap);
16222
+ }
16223
+
16224
+ .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
16225
+ row-gap: var(--bottombar-actions-message-gap);
16226
+ }
16227
+
16228
+ .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
16229
+ flex: 1 0 100%;
16230
+ width: 100%;
16231
+ }
16232
+
16233
+ .muka-bottombar__message {
16234
+ margin: 0;
16235
+ min-width: 0;
16236
+ overflow-wrap: anywhere;
16237
+ font-family: var(--text-body-sm-regular-fontFamily);
16238
+ font-weight: var(--text-body-sm-regular-fontWeight);
16239
+ font-size: var(--text-body-sm-regular-fontSize);
16240
+ line-height: var(--text-body-sm-regular-lineHeight);
16241
+ }
16242
+
16243
+ .muka-bottombar__message--neutral {
16244
+ color: var(--bottombar-color-message-neutral);
16245
+ }
16246
+
16247
+ .muka-bottombar__message--success {
16248
+ color: var(--bottombar-color-message-success);
16249
+ }
16250
+
16251
+ .muka-bottombar__message--warning {
16252
+ color: var(--bottombar-color-message-warning);
16253
+ }
16254
+
16255
+ /* From 1024px the horizontal bar puts the message left, the buttons right at
16256
+ their own width. The vertical variant keeps stacking. */
16257
+ @media (min-width: 1024px) {
16258
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
16259
+ flex-wrap: nowrap;
16260
+ }
16261
+
16262
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
16263
+ flex: 0 0 auto;
16264
+ }
16265
+
16266
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
16267
+ flex: 1 1 auto;
16268
+ width: auto;
16269
+ }
16270
+ }
16271
+
16272
+ /* ─── Size modifiers (actions variants only) ─────────── */
16273
+
16274
+ /* ─── Navigation variant ──────────────────────────────── */
16275
+
16276
+ .muka-bottombar--navigation .muka-bottombar__content {
16277
+ flex-direction: row;
16278
+ }
16279
+
16280
+ /* ─── Chat variant (houses a ChatComposer) ───────────── */
16281
+
16282
+ .muka-bottombar--chat .muka-bottombar__content {
16283
+ flex-direction: row;
16284
+ width: 100%;
16285
+ margin: 0 auto;
16286
+ }
16287
+
16288
+ /*
16289
+ * `--bottombar-chat-max-width` is the conversation column (it derives from
16290
+ * `chat.column.max-width`, the same token `ChatMessageList` caps its column
16291
+ * with). The cap here carries the padding on top of it, so it is the
16292
+ * composer's own edges — not the padding around it — that land on the column.
16293
+ */
16294
+
16295
+ /*
16296
+ * Docked chat pads its content; the floating card supplies its own padding.
16297
+ * The inline half is the section gutter `ChatMessageList` pads its scroller
16298
+ * with, so below the cap — where the column runs full-bleed — the composer
16299
+ * keeps to the same gutters as the messages.
16300
+ */
16301
+ .muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
16302
+ padding: var(--bottombar-chat-padding)
16303
+ var(--section-padding-horizontal-default, var(--spacing-4));
16304
+ max-width: calc(
16305
+ var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
16306
+ );
15815
16307
  }
15816
16308
 
15817
16309
  /* Floating chat card widens to the chat cap (overrides the md default below). */
@@ -15847,6 +16339,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
15847
16339
  }
15848
16340
 
15849
16341
  .muka-bottombar__tab-icon {
16342
+ position: relative;
15850
16343
  display: flex;
15851
16344
  align-items: center;
15852
16345
  justify-content: center;
@@ -15859,6 +16352,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
15859
16352
  height: 100%;
15860
16353
  }
15861
16354
 
16355
+ /* A count on the icon's top-right corner (unread messages). */
16356
+ .muka-bottombar__tab-badge {
16357
+ position: absolute;
16358
+ top: calc(-1 * var(--spacing-1));
16359
+ left: 60%;
16360
+ display: flex;
16361
+ pointer-events: none;
16362
+ }
16363
+
15862
16364
  .muka-bottombar__tab-label {
15863
16365
  font-family: var(--text-label-sm-regular-fontFamily);
15864
16366
  font-weight: var(--text-label-sm-regular-fontWeight);
@@ -15965,395 +16467,76 @@ button.muka-chat-photo-grid__tile:focus-visible {
15965
16467
  }
15966
16468
  }
15967
16469
 
15968
- /* ─── Desktop: Top Navigation transformation ──────────── */
15969
-
15970
- @media (min-width: 1024px) {
15971
- .muka-bottombar--desktop-topnav {
15972
- position: fixed;
15973
- top: 0;
15974
- left: 0;
15975
- right: 0;
15976
- width: 100%;
15977
- height: auto;
15978
- background-color: var(--bottombar-color-background);
15979
- border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
15980
- z-index: 10;
15981
- }
15982
-
15983
- .muka-bottombar--desktop-topnav .muka-bottombar__divider {
15984
- display: none;
15985
- }
15986
-
15987
- .muka-bottombar--desktop-topnav .muka-bottombar__content {
15988
- flex-direction: row;
15989
- justify-content: center;
15990
- gap: var(--spacing-1);
15991
- padding: 0 var(--spacing-4);
15992
- max-width: var(--container-max-width-large, 1200px);
15993
- margin: 0 auto;
15994
- }
15995
-
15996
- .muka-bottombar--desktop-topnav .muka-bottombar__tab {
15997
- flex: 0 0 auto;
15998
- flex-direction: row;
15999
- gap: var(--spacing-2);
16000
- padding: var(--spacing-3) var(--spacing-4);
16001
- border-radius: 0;
16002
- border-bottom: 2px solid transparent;
16003
- }
16004
-
16005
- .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
16006
- border-bottom-color: var(--color-action-default);
16007
- }
16008
-
16009
- .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
16010
- background-color: var(--color-surface-level2);
16011
- }
16012
-
16013
- .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
16014
- font-family: var(--text-label-md-regular-fontFamily);
16015
- font-weight: var(--text-label-md-regular-fontWeight);
16016
- font-size: var(--text-label-md-regular-fontSize);
16017
- line-height: var(--text-label-md-regular-lineHeight);
16018
- }
16019
-
16020
- /* When floating and topnav, remove the floating card styles */
16021
- .muka-bottombar--desktop-topnav.muka-bottombar--floating {
16022
- padding: 0;
16023
- }
16024
-
16025
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
16026
- background-color: transparent;
16027
- border-radius: 0;
16028
- box-shadow: none;
16029
- }
16030
- }
16031
-
16032
- /* ─── Print ────────────────────────────────────────────── */
16033
-
16034
- @media print {
16035
- .muka-bottombar {
16036
- display: none;
16037
- }
16038
- }
16039
-
16040
-
16041
- /* BadgeNumber */
16042
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16043
-
16044
- .muka-badge-number {
16045
- display: inline-flex;
16046
- align-items: center;
16047
- justify-content: center;
16048
- border-radius: var(--border-radius-full);
16049
- white-space: nowrap;
16050
- user-select: none;
16051
- box-sizing: border-box;
16052
- }
16053
-
16054
- /*
16055
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16056
- * circle), horizontal padding, and bold label typography. Vertical centering
16057
- * is handled by the fixed height + align-items: center.
16058
- */
16059
- .muka-badge-number--2xs {
16060
- height: var(--badge-number-size-2xs);
16061
- min-width: var(--badge-number-size-2xs);
16062
- padding: 0 var(--badge-number-padding-2xs);
16063
- font-family: var(--text-label-xs-bold-fontFamily);
16064
- font-weight: var(--text-label-xs-bold-fontWeight);
16065
- font-size: var(--text-label-xs-bold-fontSize);
16066
- line-height: var(--text-label-xs-bold-lineHeight);
16067
- }
16068
-
16069
- .muka-badge-number--xs {
16070
- height: var(--badge-number-size-xs);
16071
- min-width: var(--badge-number-size-xs);
16072
- padding: 0 var(--badge-number-padding-xs);
16073
- font-family: var(--text-label-sm-bold-fontFamily);
16074
- font-weight: var(--text-label-sm-bold-fontWeight);
16075
- font-size: var(--text-label-sm-bold-fontSize);
16076
- line-height: var(--text-label-sm-bold-lineHeight);
16077
- }
16078
-
16079
- .muka-badge-number--sm {
16080
- height: var(--badge-number-size-sm);
16081
- min-width: var(--badge-number-size-sm);
16082
- padding: 0 var(--badge-number-padding-sm);
16083
- font-family: var(--text-label-md-bold-fontFamily);
16084
- font-weight: var(--text-label-md-bold-fontWeight);
16085
- font-size: var(--text-label-md-bold-fontSize);
16086
- line-height: var(--text-label-md-bold-lineHeight);
16087
- }
16088
-
16089
- .muka-badge-number--md {
16090
- height: var(--badge-number-size-md);
16091
- min-width: var(--badge-number-size-md);
16092
- padding: 0 var(--badge-number-padding-md);
16093
- font-family: var(--text-label-lg-bold-fontFamily);
16094
- font-weight: var(--text-label-lg-bold-fontWeight);
16095
- font-size: var(--text-label-lg-bold-fontSize);
16096
- line-height: var(--text-label-lg-bold-lineHeight);
16097
- }
16098
-
16099
- .muka-badge-number--lg {
16100
- height: var(--badge-number-size-lg);
16101
- min-width: var(--badge-number-size-lg);
16102
- padding: 0 var(--badge-number-padding-lg);
16103
- font-family: var(--text-label-2xl-bold-fontFamily);
16104
- font-weight: var(--text-label-2xl-bold-fontWeight);
16105
- font-size: var(--text-label-2xl-bold-fontSize);
16106
- line-height: var(--text-label-2xl-bold-lineHeight);
16107
- }
16108
-
16109
- .muka-badge-number__label {
16110
- /*
16111
- * The badge sets a tight line-height for compact sizing, which would clip
16112
- * glyph descenders; give the label a roomier line-height. Vertical centering
16113
- * is unaffected because the badge height is fixed and content is centered.
16114
- */
16115
- line-height: normal;
16116
- }
16117
-
16118
- /* Neutral variant */
16119
- .muka-badge-number--neutral {
16120
- background-color: var(--color-surface-level1);
16121
- color: var(--color-text-default-default);
16122
- }
16123
-
16124
- /* Info variant */
16125
- .muka-badge-number--info {
16126
- background-color: var(--color-state-info-contrast);
16127
- color: var(--color-text-default-inverse);
16128
- }
16129
-
16130
- /* Success variant */
16131
- .muka-badge-number--success {
16132
- background-color: var(--color-state-success-contrast);
16133
- color: var(--color-text-default-inverse);
16134
- }
16135
-
16136
- /* Warning variant */
16137
- .muka-badge-number--warning {
16138
- background-color: var(--color-state-warning-contrast);
16139
- color: var(--color-text-default-inverse);
16140
- }
16141
-
16142
- /* Error variant */
16143
- .muka-badge-number--error {
16144
- background-color: var(--color-state-error-contrast);
16145
- color: var(--color-text-default-inverse);
16146
- }
16147
-
16148
-
16149
- /* Badge */
16150
- /* Badge Component Styles - Using Muka Design Tokens */
16151
-
16152
- .muka-badge {
16153
- display: inline-flex;
16154
- align-items: center;
16155
- border-radius: var(--border-radius-full);
16156
- white-space: nowrap;
16157
- user-select: none;
16158
- box-sizing: border-box;
16159
- }
16160
-
16161
- /*
16162
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
16163
- * Mirrors Chip so the two components share sizing, fonts, and spacing.
16164
- * Vertical centering is handled by the fixed height + align-items: center.
16165
- * The leading side gets a tighter padding when an icon/dot is present, via the
16166
- * --has-icon / --has-dot modifiers below.
16167
- */
16168
- .muka-badge--sm {
16169
- height: var(--badge-size-height-sm);
16170
- gap: var(--badge-gap-sm);
16171
- padding: 0 var(--badge-padding-label-sm);
16172
- font-family: var(--text-label-sm-regular-fontFamily);
16173
- font-weight: var(--text-label-sm-regular-fontWeight);
16174
- font-size: var(--text-label-sm-regular-fontSize);
16175
- line-height: var(--text-label-sm-regular-lineHeight);
16176
- }
16177
-
16178
- .muka-badge--md {
16179
- height: var(--badge-size-height-md);
16180
- gap: var(--badge-gap-md);
16181
- padding: 0 var(--badge-padding-label-md);
16182
- font-family: var(--text-label-md-regular-fontFamily);
16183
- font-weight: var(--text-label-md-regular-fontWeight);
16184
- font-size: var(--text-label-md-regular-fontSize);
16185
- line-height: var(--text-label-md-regular-lineHeight);
16186
- }
16187
-
16188
- .muka-badge--lg {
16189
- height: var(--badge-size-height-lg);
16190
- gap: var(--badge-gap-lg);
16191
- padding: 0 var(--badge-padding-label-lg);
16192
- font-family: var(--text-label-lg-regular-fontFamily);
16193
- font-weight: var(--text-label-lg-regular-fontWeight);
16194
- font-size: var(--text-label-lg-regular-fontSize);
16195
- line-height: var(--text-label-lg-regular-lineHeight);
16196
- }
16197
-
16198
- /* Tighter leading padding when a leading icon or dot is present */
16199
- .muka-badge--sm.muka-badge--has-icon,
16200
- .muka-badge--sm.muka-badge--has-dot {
16201
- padding-left: var(--badge-padding-leading-sm);
16202
- }
16203
- .muka-badge--md.muka-badge--has-icon,
16204
- .muka-badge--md.muka-badge--has-dot {
16205
- padding-left: var(--badge-padding-leading-md);
16206
- }
16207
- .muka-badge--lg.muka-badge--has-icon,
16208
- .muka-badge--lg.muka-badge--has-dot {
16209
- padding-left: var(--badge-padding-leading-lg);
16210
- }
16211
-
16212
- /* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
16213
- * Padding resets at size+icon-only specificity so `--has-icon` leading padding
16214
- * cannot win and shift the icon off-center. */
16215
- .muka-badge--icon-only {
16216
- justify-content: center;
16217
- align-items: center;
16218
- gap: 0;
16219
- }
16220
-
16221
- .muka-badge--sm.muka-badge--icon-only,
16222
- .muka-badge--md.muka-badge--icon-only,
16223
- .muka-badge--lg.muka-badge--icon-only {
16224
- padding: 0;
16225
- }
16226
-
16227
- .muka-badge--sm.muka-badge--icon-only {
16228
- width: var(--badge-size-height-sm);
16229
- }
16230
-
16231
- .muka-badge--md.muka-badge--icon-only {
16232
- width: var(--badge-size-height-md);
16233
- }
16234
-
16235
- .muka-badge--lg.muka-badge--icon-only {
16236
- width: var(--badge-size-height-lg);
16237
- }
16238
-
16239
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
16240
- .muka-badge__icon {
16241
- display: inline-flex;
16242
- align-items: center;
16243
- justify-content: center;
16244
- flex-shrink: 0;
16245
- }
16246
-
16247
- .muka-badge--sm .muka-badge__icon {
16248
- width: var(--icon-size-xs);
16249
- height: var(--icon-size-xs);
16250
- }
16251
- .muka-badge--md .muka-badge__icon {
16252
- width: var(--icon-size-sm);
16253
- height: var(--icon-size-sm);
16254
- }
16255
- .muka-badge--lg .muka-badge__icon {
16256
- width: var(--icon-size-default);
16257
- height: var(--icon-size-default);
16258
- }
16259
-
16260
- /* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
16261
- so callers don't have to size the icon to match each badge size. The
16262
- .muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
16263
- .muka-badge__icon .muka-icon,
16264
- .muka-badge__icon svg {
16265
- width: 100%;
16266
- height: 100%;
16267
- }
16268
-
16269
- /* Icons inherit the badge's per-variant foreground color */
16270
- .muka-badge .muka-icon {
16271
- color: inherit;
16272
- }
16273
-
16274
- /* Dot indicator */
16275
- .muka-badge__dot {
16276
- flex-shrink: 0;
16277
- border-radius: var(--border-radius-full);
16278
- }
16279
-
16280
- .muka-badge--sm .muka-badge__dot {
16281
- width: var(--badge-size-dot-sm);
16282
- height: var(--badge-size-dot-sm);
16283
- }
16284
-
16285
- .muka-badge--md .muka-badge__dot {
16286
- width: var(--badge-size-dot-md);
16287
- height: var(--badge-size-dot-md);
16288
- }
16289
-
16290
- .muka-badge--lg .muka-badge__dot {
16291
- width: var(--badge-size-dot-lg);
16292
- height: var(--badge-size-dot-lg);
16293
- }
16294
-
16295
- .muka-badge__label {
16296
- flex: 0 1 auto;
16297
- min-width: 0;
16298
- overflow: hidden;
16299
- text-overflow: ellipsis;
16300
- /*
16301
- * The badge sets a tight line-height for compact sizing, but the label's
16302
- * `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
16303
- * label its own roomier line-height so descenders render; vertical centering is unaffected
16304
- * because the badge height is fixed and content is centered via align-items: center.
16305
- */
16306
- line-height: normal;
16307
- }
16470
+ /* ─── Desktop: Top Navigation transformation ──────────── */
16308
16471
 
16309
- /* Neutral variant */
16310
- .muka-badge--neutral {
16311
- background-color: var(--color-surface-level1);
16312
- color: var(--color-text-default-default);
16313
- }
16472
+ @media (min-width: 1024px) {
16473
+ .muka-bottombar--desktop-topnav {
16474
+ position: fixed;
16475
+ top: 0;
16476
+ left: 0;
16477
+ right: 0;
16478
+ width: 100%;
16479
+ height: auto;
16480
+ background-color: var(--bottombar-color-background);
16481
+ border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
16482
+ z-index: 10;
16483
+ }
16314
16484
 
16315
- .muka-badge--neutral .muka-badge__dot {
16316
- background-color: var(--color-text-subtle-default);
16317
- }
16485
+ .muka-bottombar--desktop-topnav .muka-bottombar__divider {
16486
+ display: none;
16487
+ }
16318
16488
 
16319
- /* Info variant */
16320
- .muka-badge--info {
16321
- background-color: var(--color-state-info-background);
16322
- color: var(--color-state-info-contrast);
16323
- }
16489
+ .muka-bottombar--desktop-topnav .muka-bottombar__content {
16490
+ flex-direction: row;
16491
+ justify-content: center;
16492
+ gap: var(--spacing-1);
16493
+ padding: 0 var(--spacing-4);
16494
+ max-width: var(--container-max-width-large, 1200px);
16495
+ margin: 0 auto;
16496
+ }
16324
16497
 
16325
- .muka-badge--info .muka-badge__dot {
16326
- background-color: var(--color-state-info-default);
16327
- }
16498
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab {
16499
+ flex: 0 0 auto;
16500
+ flex-direction: row;
16501
+ gap: var(--spacing-2);
16502
+ padding: var(--spacing-3) var(--spacing-4);
16503
+ border-radius: 0;
16504
+ border-bottom: 2px solid transparent;
16505
+ }
16328
16506
 
16329
- /* Success variant */
16330
- .muka-badge--success {
16331
- background-color: var(--color-state-success-background);
16332
- color: var(--color-state-success-contrast);
16333
- }
16507
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
16508
+ border-bottom-color: var(--color-action-default);
16509
+ }
16334
16510
 
16335
- .muka-badge--success .muka-badge__dot {
16336
- background-color: var(--color-state-success-default);
16337
- }
16511
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
16512
+ background-color: var(--color-surface-level2);
16513
+ }
16338
16514
 
16339
- /* Warning variant */
16340
- .muka-badge--warning {
16341
- background-color: var(--color-state-warning-background);
16342
- color: var(--color-state-warning-contrast);
16343
- }
16515
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
16516
+ font-family: var(--text-label-md-regular-fontFamily);
16517
+ font-weight: var(--text-label-md-regular-fontWeight);
16518
+ font-size: var(--text-label-md-regular-fontSize);
16519
+ line-height: var(--text-label-md-regular-lineHeight);
16520
+ }
16344
16521
 
16345
- .muka-badge--warning .muka-badge__dot {
16346
- background-color: var(--color-state-warning-default);
16347
- }
16522
+ /* When floating and topnav, remove the floating card styles */
16523
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating {
16524
+ padding: 0;
16525
+ }
16348
16526
 
16349
- /* Error variant */
16350
- .muka-badge--error {
16351
- background-color: var(--color-state-error-background);
16352
- color: var(--color-state-error-contrast);
16527
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
16528
+ background-color: transparent;
16529
+ border-radius: 0;
16530
+ box-shadow: none;
16531
+ }
16353
16532
  }
16354
16533
 
16355
- .muka-badge--error .muka-badge__dot {
16356
- background-color: var(--color-state-error-default);
16534
+ /* ─── Print ────────────────────────────────────────────── */
16535
+
16536
+ @media print {
16537
+ .muka-bottombar {
16538
+ display: none;
16539
+ }
16357
16540
  }
16358
16541
 
16359
16542
 
@@ -17549,149 +17732,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17549
17732
  border-bottom: none;
17550
17733
  }
17551
17734
 
17552
-
17553
- /* Card */
17554
- /* Card Component Styles - Using Muka Design Tokens */
17555
-
17556
- .muka-card {
17557
- background-color: var(--card-color-default-background);
17558
- color: var(--card-color-default-foreground);
17559
- border: var(--border-width-regular) solid var(--card-color-default-border);
17560
- box-shadow: var(--card-shadow-default);
17561
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17562
- overflow: hidden;
17563
- }
17564
-
17565
- /* Padding variants */
17566
- .muka-card--padding-none {
17567
- padding: 0;
17568
- }
17569
-
17570
- .muka-card--padding-sm {
17571
- padding: var(--card-padding-sm);
17572
- }
17573
-
17574
- .muka-card--padding-md {
17575
- padding: var(--card-padding-md);
17576
- }
17577
-
17578
- .muka-card--padding-lg {
17579
- padding: var(--card-padding-lg);
17580
- }
17581
-
17582
- /* Radius variants */
17583
- .muka-card--radius-sm {
17584
- border-radius: var(--card-radius-sm);
17585
- }
17586
-
17587
- .muka-card--radius-md {
17588
- border-radius: var(--card-radius-md);
17589
- }
17590
-
17591
- .muka-card--radius-lg {
17592
- border-radius: var(--card-radius-lg);
17593
- }
17594
-
17595
- /* Interactive variant */
17596
- .muka-card--interactive {
17597
- cursor: pointer;
17598
- user-select: none;
17599
- }
17600
-
17601
- .muka-card--interactive:hover {
17602
- background-color: var(--card-color-hover-background);
17603
- border-color: var(--card-color-hover-border);
17604
- box-shadow: var(--card-shadow-hover);
17605
- }
17606
-
17607
- .muka-card--interactive:active,
17608
- .muka-card--interactive.muka-card--pressed {
17609
- background-color: var(--card-color-pressed-background);
17610
- border-color: var(--card-color-pressed-border);
17611
- box-shadow: var(--card-shadow-pressed);
17612
- }
17613
-
17614
- .muka-card--interactive:focus-visible {
17615
- outline: 2px solid var(--color-border-focus);
17616
- outline-offset: 2px;
17617
- }
17618
-
17619
- /* Selected variant */
17620
- .muka-card--selected {
17621
- background-color: var(--card-color-selected-background);
17622
- border-color: var(--card-color-selected-border);
17623
- border-width: var(--border-width-bold);
17624
- box-shadow: var(--card-shadow-selected);
17625
- }
17626
-
17627
- /* Tone: sticky note (MUK-105) */
17628
- .muka-card--tone-note {
17629
- background-color: var(--card-color-note-background);
17630
- color: var(--card-color-note-foreground);
17631
- border-color: var(--card-color-note-border);
17632
- box-shadow: var(--card-shadow-note);
17633
- }
17634
-
17635
- .muka-card--tone-note.muka-card--interactive:hover,
17636
- .muka-card--tone-note.muka-card--interactive:active,
17637
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
17638
- background-color: var(--card-color-note-background);
17639
- border-color: var(--card-color-note-border);
17640
- }
17641
-
17642
- .muka-card--tilt-left {
17643
- transform: rotate(-0.75deg);
17644
- }
17645
-
17646
- .muka-card--tilt-right {
17647
- transform: rotate(0.6deg);
17648
- }
17649
-
17650
- @media (prefers-reduced-motion: no-preference) {
17651
- .muka-card--tilt-left,
17652
- .muka-card--tilt-right {
17653
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17654
- }
17655
- }
17656
-
17657
- .muka-card--interactive.muka-card--tilt-left:hover,
17658
- .muka-card--interactive.muka-card--tilt-right:hover {
17659
- transform: none;
17660
- }
17661
-
17662
- /* Optional header (title + description) */
17663
- .muka-card__header {
17664
- margin-bottom: var(--spacing-4);
17665
- }
17666
-
17667
- .muka-card__title {
17668
- margin: 0;
17669
- color: var(--color-text-default-default);
17670
- font-family: var(--text-heading-xs-fontFamily);
17671
- font-weight: var(--text-heading-xs-fontWeight);
17672
- font-size: var(--text-heading-xs-fontSize);
17673
- line-height: var(--text-heading-xs-lineHeight);
17674
- letter-spacing: var(--text-heading-xs-letterSpacing);
17675
- }
17676
-
17677
- .muka-card__description {
17678
- margin: var(--spacing-1) 0 0;
17679
- color: var(--color-text-subtle-default);
17680
- font-family: var(--text-body-sm-regular-fontFamily);
17681
- font-weight: var(--text-body-sm-regular-fontWeight);
17682
- font-size: var(--text-body-sm-regular-fontSize);
17683
- line-height: var(--text-body-sm-regular-lineHeight);
17684
- }
17685
-
17686
- /* Hide divider on last list item inside card */
17687
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
17688
- display: none;
17689
- }
17690
-
17691
- /* Disabled state */
17692
- .muka-card--disabled {
17693
- opacity: 0.5;
17694
- cursor: not-allowed;
17695
- pointer-events: none;
17696
- }
17697
-