@revikornmann/muka-ui 0.50.0 → 0.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2675,9 +2675,11 @@ body {
2675
2675
  padding-right: env(safe-area-inset-right, 0px);
2676
2676
  }
2677
2677
 
2678
- /* Home indicator: a View without a footer pads its own body. A footer holds a
2679
- BottomBar, which pads itself, so the body must not do it twice. */
2680
- .muka-view__body:not(:has(.muka-view__footer)) {
2678
+ /* Home indicator: the body pads for it only when nothing inside does. A
2679
+ BottomBar pads itself, whether it sits in the footer slot or in the content
2680
+ (a chat composer pinned under a message list), so the body must not do it
2681
+ twice; doing so left a strip of body colour under the bar. */
2682
+ .muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
2681
2683
  padding-bottom: env(safe-area-inset-bottom, 0px);
2682
2684
  }
2683
2685
 
@@ -3607,795 +3609,795 @@ body {
3607
3609
  }
3608
3610
 
3609
3611
 
3610
- /* Tile */
3611
- /* Tile Component Styles - Using Muka Design Tokens */
3612
-
3613
- /* ─── Base ────────────────────────────────────────────── */
3614
-
3615
- .muka-tile {
3616
- display: flex;
3617
- color: var(--color-text-default-default);
3618
- }
3612
+ /* Thumbnail */
3613
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3619
3614
 
3620
- .muka-tile--interactive {
3621
- cursor: pointer;
3622
- user-select: none;
3615
+ .muka-thumbnail {
3616
+ position: relative;
3617
+ flex-shrink: 0;
3623
3618
  }
3624
3619
 
3625
- .muka-tile--interactive:focus-visible {
3626
- outline: 2px solid var(--color-border-focus);
3627
- outline-offset: 2px;
3620
+ /* The frame carries the border, background and shape clip. Keeping it separate
3621
+ from the root lets the remove (×) button sit outside the clip (needed for the
3622
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3623
+ .muka-thumbnail__frame {
3624
+ position: absolute;
3625
+ inset: 0;
3626
+ overflow: hidden;
3627
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3628
3628
  border-radius: var(--border-radius-lg);
3629
+ background-color: var(--color-surface-level1);
3629
3630
  }
3630
3631
 
3631
- /* ─── Image position variants ─────────────────────────── */
3632
+ /* ─── Shapes ──────────────────────────────────────────── */
3633
+ .muka-thumbnail--4-3 {
3634
+ width: 160px;
3635
+ height: 120px;
3636
+ }
3632
3637
 
3633
- .muka-tile--image-top {
3634
- flex-direction: column;
3638
+ .muka-thumbnail--1-1 {
3639
+ width: 120px;
3640
+ height: 120px;
3635
3641
  }
3636
3642
 
3637
- .muka-tile--image-left {
3638
- flex-direction: row;
3643
+ .muka-thumbnail--ellipse {
3644
+ width: 120px;
3645
+ height: 120px;
3639
3646
  }
3640
3647
 
3641
- .muka-tile--image-right {
3642
- flex-direction: row;
3648
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3649
+ .muka-thumbnail--fluid {
3650
+ width: 100%;
3651
+ height: auto;
3652
+ aspect-ratio: 1 / 1;
3643
3653
  }
3644
3654
 
3645
- /* ─── Gap by size (top) ───────────────────────────────── */
3655
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3656
+ aspect-ratio: 4 / 3;
3657
+ }
3646
3658
 
3647
- .muka-tile--image-top.muka-tile--lg {
3648
- gap: var(--spacing-6);
3659
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3660
+ border-radius: var(--border-radius-full);
3649
3661
  }
3650
3662
 
3651
- .muka-tile--image-top.muka-tile--md {
3652
- gap: var(--spacing-6);
3653
- width: 320px;
3663
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3664
+ interactive hover zoom has a clean origin. */
3665
+ .muka-thumbnail__image {
3666
+ position: absolute;
3667
+ inset: 0;
3668
+ width: 100%;
3669
+ height: 100%;
3670
+ object-fit: cover;
3671
+ display: block;
3672
+ transform-origin: center;
3673
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3674
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3654
3675
  }
3655
3676
 
3656
- .muka-tile--image-top.muka-tile--sm {
3657
- gap: var(--spacing-4);
3658
- min-width: 120px;
3677
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3678
+ .muka-thumbnail__trigger {
3679
+ position: absolute;
3680
+ inset: 0;
3681
+ padding: 0;
3682
+ border: 0;
3683
+ background: none;
3684
+ cursor: pointer;
3685
+ overflow: hidden;
3659
3686
  }
3660
3687
 
3661
- /* ─── Gap by size (left/right) ────────────────────────── */
3688
+ .muka-thumbnail__trigger:focus-visible {
3689
+ outline: 2px solid var(--color-border-focus);
3690
+ outline-offset: -2px;
3691
+ }
3662
3692
 
3663
- .muka-tile--image-left.muka-tile--lg,
3664
- .muka-tile--image-right.muka-tile--lg {
3665
- gap: var(--spacing-6);
3666
- align-items: center;
3693
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3694
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3695
+ transform: scale(1.05);
3667
3696
  }
3668
3697
 
3669
- .muka-tile--image-left.muka-tile--md,
3670
- .muka-tile--image-right.muka-tile--md {
3671
- gap: var(--spacing-6);
3698
+ /* ─── Loading overlay + progress donut ────────────────── */
3699
+ .muka-thumbnail__overlay {
3700
+ position: absolute;
3701
+ inset: 0;
3702
+ display: flex;
3672
3703
  align-items: center;
3704
+ justify-content: center;
3705
+ background-color: var(--dialog-color-backdrop);
3673
3706
  }
3674
3707
 
3675
- .muka-tile--image-left.muka-tile--sm,
3676
- .muka-tile--image-right.muka-tile--sm {
3677
- gap: var(--spacing-4);
3678
- align-items: flex-start;
3708
+ .muka-thumbnail__progress {
3709
+ width: 40px;
3710
+ height: 40px;
3679
3711
  }
3680
3712
 
3681
- /* ─── Photos container ────────────────────────────────── */
3713
+ /* ─── Error / corrupt state ───────────────────────────── */
3714
+ .muka-thumbnail--error .muka-thumbnail__frame {
3715
+ background-color: var(--alias-color-state-error-muted);
3716
+ border-color: var(--alias-color-state-error-default);
3717
+ }
3682
3718
 
3683
- .muka-tile__photos {
3684
- position: relative;
3685
- flex-shrink: 0;
3686
- overflow: hidden;
3719
+ .muka-thumbnail__error {
3720
+ position: absolute;
3721
+ inset: 0;
3687
3722
  display: flex;
3688
3723
  flex-direction: column;
3689
- isolation: isolate;
3724
+ align-items: center;
3725
+ justify-content: center;
3726
+ gap: var(--spacing-2);
3727
+ padding: var(--spacing-3);
3728
+ text-align: center;
3690
3729
  }
3691
3730
 
3692
- /* Photos border radius by size */
3693
- .muka-tile--lg .muka-tile__photos,
3694
- .muka-tile--md .muka-tile__photos {
3695
- border-radius: var(--border-radius-lg);
3731
+ .muka-thumbnail__error-icon {
3732
+ color: var(--alert-color-error-accent);
3696
3733
  }
3697
3734
 
3698
- .muka-tile--sm .muka-tile__photos {
3699
- border-radius: var(--border-radius-md);
3735
+ .muka-thumbnail__caption {
3736
+ max-width: 100%;
3737
+ overflow: hidden;
3738
+ text-overflow: ellipsis;
3739
+ white-space: nowrap;
3740
+ color: var(--alert-color-error-accent);
3741
+ font-family: var(--text-body-sm-regular-fontFamily);
3742
+ font-size: var(--text-body-sm-regular-fontSize);
3743
+ font-weight: var(--text-body-sm-regular-fontWeight);
3744
+ line-height: var(--text-body-sm-regular-lineHeight);
3700
3745
  }
3701
3746
 
3702
- /* Photos sizing: top layout */
3703
- .muka-tile--image-top .muka-tile__photos {
3704
- width: 100%;
3747
+ /* ─── Remove (×) button ───────────────────────────────── */
3748
+ .muka-thumbnail__remove {
3749
+ position: absolute;
3750
+ top: var(--spacing-2);
3751
+ right: var(--spacing-2);
3752
+ display: flex;
3753
+ align-items: center;
3754
+ justify-content: center;
3755
+ width: var(--size-2xl);
3756
+ height: var(--size-2xl);
3757
+ padding: 0;
3758
+ color: var(--button-color-tertiary-foreground-default);
3759
+ background-color: var(--button-color-tertiary-background-default);
3760
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3761
+ border-radius: var(--border-radius-lg);
3762
+ cursor: pointer;
3763
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3764
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3705
3765
  }
3706
3766
 
3707
- /* Photos sizing: left/right large */
3708
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3709
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3710
- width: 520px;
3767
+ .muka-thumbnail__remove:hover {
3768
+ color: var(--button-color-tertiary-foreground-hover);
3769
+ background-color: var(--button-color-tertiary-background-hover);
3770
+ border-color: var(--button-color-tertiary-border-hover);
3711
3771
  }
3712
3772
 
3713
- /* Photos sizing: left/right medium */
3714
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3715
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3716
- width: 320px;
3773
+ .muka-thumbnail__remove:active {
3774
+ color: var(--button-color-tertiary-foreground-pressed);
3775
+ background-color: var(--button-color-tertiary-background-pressed);
3776
+ border-color: var(--button-color-tertiary-border-pressed);
3717
3777
  }
3718
3778
 
3719
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3720
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3721
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3722
- width: 80px;
3723
- align-self: stretch;
3779
+ .muka-thumbnail__remove:focus-visible {
3780
+ outline: 2px solid var(--color-border-focus);
3781
+ outline-offset: 2px;
3724
3782
  }
3725
3783
 
3726
- /* ─── Main photo ──────────────────────────────────────── */
3784
+ /* ─── Reduced motion ──────────────────────────────────── */
3785
+ @media (prefers-reduced-motion: reduce) {
3786
+ .muka-thumbnail__image,
3787
+ .muka-thumbnail__remove {
3788
+ transition: none;
3789
+ }
3727
3790
 
3728
- .muka-tile__photo-main {
3729
- position: relative;
3730
- width: 100%;
3731
- overflow: hidden;
3732
- flex-shrink: 0;
3791
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3792
+ transform: none;
3793
+ }
3733
3794
  }
3734
3795
 
3735
- /* 16:9 aspect for lg and md */
3736
- .muka-tile--lg .muka-tile__photo-main,
3737
- .muka-tile--md .muka-tile__photo-main {
3738
- aspect-ratio: 1280 / 720;
3739
- }
3740
3796
 
3741
- /* 1:1 aspect for top + sm */
3742
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3743
- aspect-ratio: 1 / 1;
3744
- }
3797
+ /* Textarea */
3798
+ /* Textarea Component Styles - Using Muka Design Tokens */
3745
3799
 
3746
- /* Fixed size for left/right + sm */
3747
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3748
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3749
- width: 80px;
3750
- height: 80px;
3751
- aspect-ratio: auto;
3800
+ .muka-textarea {
3801
+ display: inline-flex;
3802
+ flex-direction: column;
3803
+ gap: var(--spacing-2);
3752
3804
  }
3753
3805
 
3754
- .muka-tile__photo-main img {
3755
- width: 100%;
3756
- height: 100%;
3757
- object-fit: cover;
3758
- display: block;
3806
+ /* Label */
3807
+ .muka-textarea__label {
3808
+ color: var(--color-text-default-default);
3809
+ cursor: pointer;
3759
3810
  }
3760
3811
 
3761
- /* ─── Favourite overlay ───────────────────────────────── */
3762
-
3763
- .muka-tile__favourite {
3764
- position: absolute;
3765
- z-index: 3;
3812
+ .muka-textarea__label--sm {
3813
+ font-family: var(--text-label-sm-semibold-fontFamily);
3814
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3815
+ font-size: var(--text-label-sm-semibold-fontSize);
3816
+ line-height: var(--text-label-sm-semibold-lineHeight);
3766
3817
  }
3767
3818
 
3768
- .muka-tile--lg .muka-tile__favourite,
3769
- .muka-tile--md .muka-tile__favourite {
3770
- top: var(--spacing-4);
3771
- right: var(--spacing-4);
3819
+ .muka-textarea__label--md {
3820
+ font-family: var(--text-label-md-semibold-fontFamily);
3821
+ font-weight: var(--text-label-md-semibold-fontWeight);
3822
+ font-size: var(--text-label-md-semibold-fontSize);
3823
+ line-height: var(--text-label-md-semibold-lineHeight);
3772
3824
  }
3773
3825
 
3774
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3775
- top: var(--spacing-1);
3776
- right: var(--spacing-1);
3826
+ .muka-textarea__label--lg {
3827
+ font-family: var(--text-label-lg-semibold-fontFamily);
3828
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3829
+ font-size: var(--text-label-lg-semibold-fontSize);
3830
+ line-height: var(--text-label-lg-semibold-lineHeight);
3777
3831
  }
3778
3832
 
3779
- /* ─── Thumbnails ──────────────────────────────────────── */
3833
+ .muka-textarea__required {
3834
+ color: var(--color-state-error-default);
3835
+ }
3780
3836
 
3781
- .muka-tile__thumbnails {
3837
+ /* Field container */
3838
+ .muka-textarea__field {
3782
3839
  display: flex;
3783
- gap: 2px;
3784
- overflow: hidden;
3785
- flex-shrink: 0;
3786
- height: 80px;
3840
+ background-color: var(--input-field-color-default-background);
3841
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3842
+ border-radius: var(--input-field-radius-md);
3843
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3844
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3845
+ box-sizing: border-box;
3787
3846
  }
3788
3847
 
3789
- .muka-tile__thumbnail {
3790
- width: 80px;
3791
- height: 80px;
3792
- flex-shrink: 0;
3793
- overflow: hidden;
3848
+ .muka-textarea__field--sm {
3849
+ min-height: var(--input-textarea-height-sm);
3850
+ border-radius: var(--input-field-radius-sm);
3794
3851
  }
3795
3852
 
3796
- .muka-tile__thumbnail img {
3797
- width: 100%;
3798
- height: 100%;
3799
- object-fit: cover;
3800
- display: block;
3853
+ .muka-textarea__field--md {
3854
+ min-height: var(--input-textarea-height-default);
3855
+ border-radius: var(--input-field-radius-md);
3801
3856
  }
3802
3857
 
3803
- /* Gap between main photo and thumbnails */
3804
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3805
- margin-top: 2px;
3858
+ .muka-textarea__field--lg {
3859
+ min-height: var(--input-textarea-height-lg);
3860
+ border-radius: var(--input-field-radius-lg);
3806
3861
  }
3807
3862
 
3808
- /* ─── Content section ─────────────────────────────────── */
3809
-
3810
- .muka-tile__content {
3811
- display: flex;
3812
- flex-direction: column;
3813
- flex: 1;
3814
- min-width: 0;
3863
+ /* Focus state */
3864
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3865
+ border-width: var(--border-width-bold);
3866
+ border-color: var(--input-field-color-focus-border);
3867
+ background-color: var(--input-field-color-focus-background);
3868
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3815
3869
  }
3816
3870
 
3817
- /* Top layout: content has horizontal padding */
3818
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3819
- padding: 0 var(--spacing-3);
3820
- gap: var(--spacing-1);
3871
+ /* Error state */
3872
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3873
+ border-width: var(--border-width-bold);
3874
+ border-color: var(--input-field-color-error-border);
3875
+ background-color: var(--input-field-color-error-background);
3876
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3821
3877
  }
3822
3878
 
3823
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3824
- padding: 0 var(--spacing-3);
3825
- gap: var(--spacing-2);
3879
+ /* Disabled state */
3880
+ .muka-textarea__field--disabled {
3881
+ background-color: var(--input-field-color-disabled-background);
3882
+ border-color: var(--input-field-color-disabled-border);
3883
+ cursor: not-allowed;
3826
3884
  }
3827
3885
 
3828
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3829
- gap: var(--spacing-2);
3886
+ /* Native textarea */
3887
+ .muka-textarea__native {
3888
+ flex: 1;
3889
+ border: none;
3890
+ outline: none;
3891
+ background: transparent;
3892
+ color: var(--input-field-color-default-foreground);
3893
+ font-family: var(--text-input-md-fontFamily);
3894
+ font-weight: var(--text-input-md-fontWeight);
3895
+ font-size: var(--text-input-md-fontSize);
3896
+ line-height: var(--text-input-md-lineHeight);
3897
+ padding: 0;
3898
+ width: 100%;
3899
+ min-width: 0;
3830
3900
  }
3831
3901
 
3832
- /* Left/right layout: content grows to fill space */
3833
- .muka-tile--image-left .muka-tile__content,
3834
- .muka-tile--image-right .muka-tile__content {
3835
- gap: var(--spacing-3);
3902
+ .muka-textarea__field--sm .muka-textarea__native {
3903
+ font-family: var(--text-input-sm-fontFamily);
3904
+ font-weight: var(--text-input-sm-fontWeight);
3905
+ font-size: var(--text-input-sm-fontSize);
3906
+ line-height: var(--text-input-sm-lineHeight);
3836
3907
  }
3837
3908
 
3838
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3839
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3840
- padding: 0 var(--spacing-3);
3909
+ .muka-textarea__field--lg .muka-textarea__native {
3910
+ font-family: var(--text-input-lg-fontFamily);
3911
+ font-weight: var(--text-input-lg-fontWeight);
3912
+ font-size: var(--text-input-lg-fontSize);
3913
+ line-height: var(--text-input-lg-lineHeight);
3841
3914
  }
3842
3915
 
3843
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3844
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3845
- padding: var(--spacing-2) var(--spacing-3);
3916
+ .muka-textarea__native::placeholder {
3917
+ color: var(--color-text-subtle-default);
3846
3918
  }
3847
3919
 
3848
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3849
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3850
- gap: var(--spacing-2);
3920
+ .muka-textarea__field--disabled .muka-textarea__native {
3921
+ color: var(--input-field-color-disabled-foreground);
3922
+ cursor: not-allowed;
3851
3923
  }
3852
3924
 
3853
- /* ─── Header (heading row + price) ────────────────────── */
3854
-
3855
- .muka-tile__header {
3925
+ /* Footer (helper/error + count) */
3926
+ .muka-textarea__footer {
3856
3927
  display: flex;
3928
+ justify-content: space-between;
3857
3929
  align-items: flex-start;
3858
- gap: var(--spacing-4);
3859
- }
3860
-
3861
- /* Small horizontal: row with text and action */
3862
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3863
- gap: var(--spacing-2);
3864
- align-items: center;
3865
- padding-top: var(--spacing-1);
3866
- }
3867
-
3868
- /* ─── Text group ──────────────────────────────────────── */
3869
-
3870
- .muka-tile__text {
3871
- display: flex;
3872
- flex-direction: column;
3873
- flex: 1;
3874
- min-width: 0;
3875
3930
  gap: var(--spacing-2);
3876
3931
  }
3877
3932
 
3878
- /* ─── Heading typography ──────────────────────────────── */
3879
-
3880
- .muka-tile__heading {
3933
+ .muka-textarea__helper {
3934
+ font-family: var(--text-label-sm-regular-fontFamily);
3935
+ font-weight: var(--text-label-sm-regular-fontWeight);
3936
+ font-size: var(--text-label-sm-regular-fontSize);
3937
+ line-height: var(--text-label-sm-regular-lineHeight);
3938
+ color: var(--color-text-subtle-default);
3881
3939
  margin: 0;
3882
3940
  }
3883
3941
 
3884
- .muka-tile--lg .muka-tile__heading {
3885
- font-family: var(--text-label-2xl-semibold-fontFamily);
3886
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3887
- font-size: var(--text-label-2xl-semibold-fontSize);
3888
- line-height: var(--text-label-2xl-semibold-lineHeight);
3889
- color: var(--color-text-default-default);
3890
- }
3891
-
3892
- .muka-tile--md .muka-tile__heading {
3893
- font-family: var(--text-label-xl-semibold-fontFamily);
3894
- font-weight: var(--text-label-xl-semibold-fontWeight);
3895
- font-size: var(--text-label-xl-semibold-fontSize);
3896
- line-height: var(--text-label-xl-semibold-lineHeight);
3897
- color: var(--color-text-default-default);
3942
+ .muka-textarea__error {
3943
+ font-family: var(--text-label-sm-regular-fontFamily);
3944
+ font-weight: var(--text-label-sm-regular-fontWeight);
3945
+ font-size: var(--text-label-sm-regular-fontSize);
3946
+ line-height: var(--text-label-sm-regular-lineHeight);
3947
+ color: var(--color-state-error-default);
3948
+ margin: 0;
3898
3949
  }
3899
3950
 
3900
- .muka-tile--sm .muka-tile__heading {
3901
- font-family: var(--text-label-lg-bold-fontFamily);
3902
- font-weight: var(--text-label-lg-bold-fontWeight);
3903
- font-size: var(--text-label-lg-bold-fontSize);
3904
- line-height: var(--text-label-lg-bold-lineHeight);
3905
- color: var(--color-text-default-default);
3951
+ .muka-textarea__count {
3952
+ font-family: var(--text-label-sm-regular-fontFamily);
3953
+ font-weight: var(--text-label-sm-regular-fontWeight);
3954
+ font-size: var(--text-label-sm-regular-fontSize);
3955
+ line-height: var(--text-label-sm-regular-lineHeight);
3956
+ color: var(--color-text-subtle-default);
3957
+ margin-left: auto;
3906
3958
  }
3907
3959
 
3908
- /* ─── Subheading typography ───────────────────────────── */
3909
3960
 
3910
- .muka-tile__subheading {
3911
- margin: 0;
3912
- color: var(--color-text-subtle-default);
3913
- }
3961
+ /* TextLink */
3962
+ /* TextLink Component Styles - Using Muka Design Tokens */
3914
3963
 
3915
- .muka-tile--lg .muka-tile__subheading {
3916
- font-family: var(--text-subheading-md-fontFamily);
3917
- font-weight: var(--text-subheading-md-fontWeight);
3918
- font-size: var(--text-subheading-md-fontSize);
3919
- line-height: var(--text-subheading-md-lineHeight);
3964
+ .muka-text-link {
3965
+ display: inline;
3966
+ cursor: pointer;
3967
+ text-decoration: underline;
3968
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3969
+ text-underline-offset: 0.2em;
3970
+ text-decoration-thickness: from-font;
3971
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
3972
+ border-radius: var(--border-radius-sm);
3973
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3920
3974
  }
3921
3975
 
3922
- .muka-tile--md .muka-tile__subheading,
3923
- .muka-tile--sm .muka-tile__subheading {
3924
- font-family: var(--text-subheading-sm-fontFamily);
3925
- font-weight: var(--text-subheading-sm-fontWeight);
3926
- font-size: var(--text-subheading-sm-fontSize);
3927
- line-height: var(--text-subheading-sm-lineHeight);
3976
+ /* ─── Sizes ───────────────────────────────────────────────
3977
+ Mirrors the body text scale so a link matches the copy it sits in. */
3978
+ .muka-text-link--sm {
3979
+ font-family: var(--text-body-sm-regular-fontFamily);
3980
+ font-weight: var(--text-body-sm-regular-fontWeight);
3981
+ font-size: var(--text-body-sm-regular-fontSize);
3982
+ line-height: var(--text-body-sm-regular-lineHeight);
3928
3983
  }
3929
3984
 
3930
- /* ─── Description typography ──────────────────────────── */
3931
-
3932
- .muka-tile__description {
3933
- margin: 0;
3934
- color: var(--color-text-default-default);
3985
+ .muka-text-link--base {
3986
+ font-family: var(--text-body-base-regular-fontFamily);
3987
+ font-weight: var(--text-body-base-regular-fontWeight);
3988
+ font-size: var(--text-body-base-regular-fontSize);
3989
+ line-height: var(--text-body-base-regular-lineHeight);
3935
3990
  }
3936
3991
 
3937
- .muka-tile--lg .muka-tile__description {
3992
+ .muka-text-link--lg {
3938
3993
  font-family: var(--text-body-lg-regular-fontFamily);
3939
3994
  font-weight: var(--text-body-lg-regular-fontWeight);
3940
3995
  font-size: var(--text-body-lg-regular-fontSize);
3941
3996
  line-height: var(--text-body-lg-regular-lineHeight);
3942
3997
  }
3943
3998
 
3944
- .muka-tile--md .muka-tile__description,
3945
- .muka-tile--sm .muka-tile__description {
3946
- font-family: var(--text-body-base-regular-fontFamily);
3947
- font-weight: var(--text-body-base-regular-fontWeight);
3948
- font-size: var(--text-body-base-regular-fontSize);
3949
- line-height: var(--text-body-base-regular-lineHeight);
3999
+ /* ─── Variant: default (accent) ───────────────────────────
4000
+ Visited repeats the default colour on purpose: the design treats visited and
4001
+ default the same, and pinning it stops the browser's purple from showing. */
4002
+ .muka-text-link--default,
4003
+ .muka-text-link--default:visited {
4004
+ color: var(--color-text-action-default);
3950
4005
  }
3951
4006
 
3952
- /* Description overflow for medium */
3953
- .muka-tile--md .muka-tile__description {
3954
- overflow: hidden;
3955
- text-overflow: ellipsis;
4007
+ .muka-text-link--default:hover,
4008
+ .muka-text-link--default:focus-visible {
4009
+ color: var(--color-text-action-hover);
3956
4010
  }
3957
4011
 
3958
- /* ─── Price slot ──────────────────────────────────────── */
4012
+ .muka-text-link--default:active {
4013
+ color: var(--color-text-action-pressed);
4014
+ }
3959
4015
 
3960
- .muka-tile__price {
3961
- flex-shrink: 0;
4016
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4017
+ Hover, focus and pressed all darken to the default text colour. */
4018
+ .muka-text-link--subtle,
4019
+ .muka-text-link--subtle:visited {
4020
+ color: var(--color-text-subtle-default);
3962
4021
  }
3963
4022
 
3964
- /* ─── Action slot ─────────────────────────────────────── */
4023
+ .muka-text-link--subtle:hover,
4024
+ .muka-text-link--subtle:focus-visible,
4025
+ .muka-text-link--subtle:active {
4026
+ color: var(--color-text-default-default);
4027
+ }
3965
4028
 
3966
- .muka-tile__action {
3967
- flex-shrink: 0;
4029
+ /* ─── Focus ───────────────────────────────────────────────
4030
+ Same ring as every other focusable Muka component. */
4031
+ .muka-text-link:focus-visible {
4032
+ outline: 2px solid var(--color-border-focus);
4033
+ outline-offset: 2px;
3968
4034
  }
3969
4035
 
4036
+ @media (prefers-reduced-motion: reduce) {
4037
+ .muka-text-link {
4038
+ transition: none;
4039
+ }
4040
+ }
3970
4041
 
3971
- /* Thumbnail */
3972
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3973
4042
 
3974
- .muka-thumbnail {
3975
- position: relative;
3976
- flex-shrink: 0;
3977
- }
4043
+ /* Tile */
4044
+ /* Tile Component Styles - Using Muka Design Tokens */
3978
4045
 
3979
- /* The frame carries the border, background and shape clip. Keeping it separate
3980
- from the root lets the remove (×) button sit outside the clip (needed for the
3981
- circular/ellipse shape, whose corners would otherwise clip the button). */
3982
- .muka-thumbnail__frame {
3983
- position: absolute;
3984
- inset: 0;
3985
- overflow: hidden;
3986
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3987
- border-radius: var(--border-radius-lg);
3988
- background-color: var(--color-surface-level1);
3989
- }
4046
+ /* ─── Base ────────────────────────────────────────────── */
3990
4047
 
3991
- /* ─── Shapes ──────────────────────────────────────────── */
3992
- .muka-thumbnail--4-3 {
3993
- width: 160px;
3994
- height: 120px;
4048
+ .muka-tile {
4049
+ display: flex;
4050
+ color: var(--color-text-default-default);
3995
4051
  }
3996
4052
 
3997
- .muka-thumbnail--1-1 {
3998
- width: 120px;
3999
- height: 120px;
4053
+ .muka-tile--interactive {
4054
+ cursor: pointer;
4055
+ user-select: none;
4000
4056
  }
4001
4057
 
4002
- .muka-thumbnail--ellipse {
4003
- width: 120px;
4004
- height: 120px;
4058
+ .muka-tile--interactive:focus-visible {
4059
+ outline: 2px solid var(--color-border-focus);
4060
+ outline-offset: 2px;
4061
+ border-radius: var(--border-radius-lg);
4005
4062
  }
4006
4063
 
4007
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4008
- .muka-thumbnail--fluid {
4009
- width: 100%;
4010
- height: auto;
4011
- aspect-ratio: 1 / 1;
4012
- }
4064
+ /* ─── Image position variants ─────────────────────────── */
4013
4065
 
4014
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4015
- aspect-ratio: 4 / 3;
4066
+ .muka-tile--image-top {
4067
+ flex-direction: column;
4016
4068
  }
4017
4069
 
4018
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4019
- border-radius: var(--border-radius-full);
4070
+ .muka-tile--image-left {
4071
+ flex-direction: row;
4020
4072
  }
4021
4073
 
4022
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4023
- interactive hover zoom has a clean origin. */
4024
- .muka-thumbnail__image {
4025
- position: absolute;
4026
- inset: 0;
4027
- width: 100%;
4028
- height: 100%;
4029
- object-fit: cover;
4030
- display: block;
4031
- transform-origin: center;
4032
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4033
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4074
+ .muka-tile--image-right {
4075
+ flex-direction: row;
4034
4076
  }
4035
4077
 
4036
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4037
- .muka-thumbnail__trigger {
4038
- position: absolute;
4039
- inset: 0;
4040
- padding: 0;
4041
- border: 0;
4042
- background: none;
4043
- cursor: pointer;
4044
- overflow: hidden;
4045
- }
4078
+ /* ─── Gap by size (top) ───────────────────────────────── */
4046
4079
 
4047
- .muka-thumbnail__trigger:focus-visible {
4048
- outline: 2px solid var(--color-border-focus);
4049
- outline-offset: -2px;
4080
+ .muka-tile--image-top.muka-tile--lg {
4081
+ gap: var(--spacing-6);
4050
4082
  }
4051
4083
 
4052
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4053
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4054
- transform: scale(1.05);
4084
+ .muka-tile--image-top.muka-tile--md {
4085
+ gap: var(--spacing-6);
4086
+ width: 320px;
4055
4087
  }
4056
4088
 
4057
- /* ─── Loading overlay + progress donut ────────────────── */
4058
- .muka-thumbnail__overlay {
4059
- position: absolute;
4060
- inset: 0;
4061
- display: flex;
4062
- align-items: center;
4063
- justify-content: center;
4064
- background-color: var(--dialog-color-backdrop);
4089
+ .muka-tile--image-top.muka-tile--sm {
4090
+ gap: var(--spacing-4);
4091
+ min-width: 120px;
4065
4092
  }
4066
4093
 
4067
- .muka-thumbnail__progress {
4068
- width: 40px;
4069
- height: 40px;
4070
- }
4094
+ /* ─── Gap by size (left/right) ────────────────────────── */
4071
4095
 
4072
- /* ─── Error / corrupt state ───────────────────────────── */
4073
- .muka-thumbnail--error .muka-thumbnail__frame {
4074
- background-color: var(--alias-color-state-error-muted);
4075
- border-color: var(--alias-color-state-error-default);
4096
+ .muka-tile--image-left.muka-tile--lg,
4097
+ .muka-tile--image-right.muka-tile--lg {
4098
+ gap: var(--spacing-6);
4099
+ align-items: center;
4076
4100
  }
4077
4101
 
4078
- .muka-thumbnail__error {
4079
- position: absolute;
4080
- inset: 0;
4081
- display: flex;
4082
- flex-direction: column;
4102
+ .muka-tile--image-left.muka-tile--md,
4103
+ .muka-tile--image-right.muka-tile--md {
4104
+ gap: var(--spacing-6);
4083
4105
  align-items: center;
4084
- justify-content: center;
4085
- gap: var(--spacing-2);
4086
- padding: var(--spacing-3);
4087
- text-align: center;
4088
4106
  }
4089
4107
 
4090
- .muka-thumbnail__error-icon {
4091
- color: var(--alert-color-error-accent);
4108
+ .muka-tile--image-left.muka-tile--sm,
4109
+ .muka-tile--image-right.muka-tile--sm {
4110
+ gap: var(--spacing-4);
4111
+ align-items: flex-start;
4092
4112
  }
4093
4113
 
4094
- .muka-thumbnail__caption {
4095
- max-width: 100%;
4114
+ /* ─── Photos container ────────────────────────────────── */
4115
+
4116
+ .muka-tile__photos {
4117
+ position: relative;
4118
+ flex-shrink: 0;
4096
4119
  overflow: hidden;
4097
- text-overflow: ellipsis;
4098
- white-space: nowrap;
4099
- color: var(--alert-color-error-accent);
4100
- font-family: var(--text-body-sm-regular-fontFamily);
4101
- font-size: var(--text-body-sm-regular-fontSize);
4102
- font-weight: var(--text-body-sm-regular-fontWeight);
4103
- line-height: var(--text-body-sm-regular-lineHeight);
4120
+ display: flex;
4121
+ flex-direction: column;
4122
+ isolation: isolate;
4104
4123
  }
4105
4124
 
4106
- /* ─── Remove (×) button ───────────────────────────────── */
4107
- .muka-thumbnail__remove {
4108
- position: absolute;
4109
- top: var(--spacing-2);
4110
- right: var(--spacing-2);
4111
- display: flex;
4112
- align-items: center;
4113
- justify-content: center;
4114
- width: var(--size-2xl);
4115
- height: var(--size-2xl);
4116
- padding: 0;
4117
- color: var(--button-color-tertiary-foreground-default);
4118
- background-color: var(--button-color-tertiary-background-default);
4119
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4125
+ /* Photos border radius by size */
4126
+ .muka-tile--lg .muka-tile__photos,
4127
+ .muka-tile--md .muka-tile__photos {
4120
4128
  border-radius: var(--border-radius-lg);
4121
- cursor: pointer;
4122
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4123
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4124
4129
  }
4125
4130
 
4126
- .muka-thumbnail__remove:hover {
4127
- color: var(--button-color-tertiary-foreground-hover);
4128
- background-color: var(--button-color-tertiary-background-hover);
4129
- border-color: var(--button-color-tertiary-border-hover);
4131
+ .muka-tile--sm .muka-tile__photos {
4132
+ border-radius: var(--border-radius-md);
4130
4133
  }
4131
4134
 
4132
- .muka-thumbnail__remove:active {
4133
- color: var(--button-color-tertiary-foreground-pressed);
4134
- background-color: var(--button-color-tertiary-background-pressed);
4135
- border-color: var(--button-color-tertiary-border-pressed);
4135
+ /* Photos sizing: top layout */
4136
+ .muka-tile--image-top .muka-tile__photos {
4137
+ width: 100%;
4136
4138
  }
4137
4139
 
4138
- .muka-thumbnail__remove:focus-visible {
4139
- outline: 2px solid var(--color-border-focus);
4140
- outline-offset: 2px;
4140
+ /* Photos sizing: left/right large */
4141
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4142
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4143
+ width: 520px;
4141
4144
  }
4142
4145
 
4143
- /* ─── Reduced motion ──────────────────────────────────── */
4144
- @media (prefers-reduced-motion: reduce) {
4145
- .muka-thumbnail__image,
4146
- .muka-thumbnail__remove {
4147
- transition: none;
4148
- }
4149
-
4150
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4151
- transform: none;
4152
- }
4146
+ /* Photos sizing: left/right medium */
4147
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4148
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4149
+ width: 320px;
4153
4150
  }
4154
4151
 
4152
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4153
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4154
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4155
+ width: 80px;
4156
+ align-self: stretch;
4157
+ }
4155
4158
 
4156
- /* Textarea */
4157
- /* Textarea Component Styles - Using Muka Design Tokens */
4159
+ /* ─── Main photo ──────────────────────────────────────── */
4158
4160
 
4159
- .muka-textarea {
4160
- display: inline-flex;
4161
- flex-direction: column;
4162
- gap: var(--spacing-2);
4161
+ .muka-tile__photo-main {
4162
+ position: relative;
4163
+ width: 100%;
4164
+ overflow: hidden;
4165
+ flex-shrink: 0;
4163
4166
  }
4164
4167
 
4165
- /* Label */
4166
- .muka-textarea__label {
4167
- color: var(--color-text-default-default);
4168
- cursor: pointer;
4169
- }
4170
-
4171
- .muka-textarea__label--sm {
4172
- font-family: var(--text-label-sm-semibold-fontFamily);
4173
- font-weight: var(--text-label-sm-semibold-fontWeight);
4174
- font-size: var(--text-label-sm-semibold-fontSize);
4175
- line-height: var(--text-label-sm-semibold-lineHeight);
4168
+ /* 16:9 aspect for lg and md */
4169
+ .muka-tile--lg .muka-tile__photo-main,
4170
+ .muka-tile--md .muka-tile__photo-main {
4171
+ aspect-ratio: 1280 / 720;
4176
4172
  }
4177
4173
 
4178
- .muka-textarea__label--md {
4179
- font-family: var(--text-label-md-semibold-fontFamily);
4180
- font-weight: var(--text-label-md-semibold-fontWeight);
4181
- font-size: var(--text-label-md-semibold-fontSize);
4182
- line-height: var(--text-label-md-semibold-lineHeight);
4174
+ /* 1:1 aspect for top + sm */
4175
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4176
+ aspect-ratio: 1 / 1;
4183
4177
  }
4184
4178
 
4185
- .muka-textarea__label--lg {
4186
- font-family: var(--text-label-lg-semibold-fontFamily);
4187
- font-weight: var(--text-label-lg-semibold-fontWeight);
4188
- font-size: var(--text-label-lg-semibold-fontSize);
4189
- line-height: var(--text-label-lg-semibold-lineHeight);
4179
+ /* Fixed size for left/right + sm */
4180
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4181
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4182
+ width: 80px;
4183
+ height: 80px;
4184
+ aspect-ratio: auto;
4190
4185
  }
4191
4186
 
4192
- .muka-textarea__required {
4193
- color: var(--color-state-error-default);
4187
+ .muka-tile__photo-main img {
4188
+ width: 100%;
4189
+ height: 100%;
4190
+ object-fit: cover;
4191
+ display: block;
4194
4192
  }
4195
4193
 
4196
- /* Field container */
4197
- .muka-textarea__field {
4198
- display: flex;
4199
- background-color: var(--input-field-color-default-background);
4200
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4201
- border-radius: var(--input-field-radius-md);
4202
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4203
- transition: border-color 0.2s ease, background-color 0.2s ease;
4204
- box-sizing: border-box;
4205
- }
4194
+ /* ─── Favourite overlay ───────────────────────────────── */
4206
4195
 
4207
- .muka-textarea__field--sm {
4208
- min-height: var(--input-textarea-height-sm);
4209
- border-radius: var(--input-field-radius-sm);
4196
+ .muka-tile__favourite {
4197
+ position: absolute;
4198
+ z-index: 3;
4210
4199
  }
4211
4200
 
4212
- .muka-textarea__field--md {
4213
- min-height: var(--input-textarea-height-default);
4214
- border-radius: var(--input-field-radius-md);
4201
+ .muka-tile--lg .muka-tile__favourite,
4202
+ .muka-tile--md .muka-tile__favourite {
4203
+ top: var(--spacing-4);
4204
+ right: var(--spacing-4);
4215
4205
  }
4216
4206
 
4217
- .muka-textarea__field--lg {
4218
- min-height: var(--input-textarea-height-lg);
4219
- border-radius: var(--input-field-radius-lg);
4207
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4208
+ top: var(--spacing-1);
4209
+ right: var(--spacing-1);
4220
4210
  }
4221
4211
 
4222
- /* Focus state */
4223
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4224
- border-width: var(--border-width-bold);
4225
- border-color: var(--input-field-color-focus-border);
4226
- background-color: var(--input-field-color-focus-background);
4227
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4228
- }
4212
+ /* ─── Thumbnails ──────────────────────────────────────── */
4229
4213
 
4230
- /* Error state */
4231
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4232
- border-width: var(--border-width-bold);
4233
- border-color: var(--input-field-color-error-border);
4234
- background-color: var(--input-field-color-error-background);
4235
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4214
+ .muka-tile__thumbnails {
4215
+ display: flex;
4216
+ gap: 2px;
4217
+ overflow: hidden;
4218
+ flex-shrink: 0;
4219
+ height: 80px;
4236
4220
  }
4237
4221
 
4238
- /* Disabled state */
4239
- .muka-textarea__field--disabled {
4240
- background-color: var(--input-field-color-disabled-background);
4241
- border-color: var(--input-field-color-disabled-border);
4242
- cursor: not-allowed;
4222
+ .muka-tile__thumbnail {
4223
+ width: 80px;
4224
+ height: 80px;
4225
+ flex-shrink: 0;
4226
+ overflow: hidden;
4243
4227
  }
4244
4228
 
4245
- /* Native textarea */
4246
- .muka-textarea__native {
4247
- flex: 1;
4248
- border: none;
4249
- outline: none;
4250
- background: transparent;
4251
- color: var(--input-field-color-default-foreground);
4252
- font-family: var(--text-input-md-fontFamily);
4253
- font-weight: var(--text-input-md-fontWeight);
4254
- font-size: var(--text-input-md-fontSize);
4255
- line-height: var(--text-input-md-lineHeight);
4256
- padding: 0;
4229
+ .muka-tile__thumbnail img {
4257
4230
  width: 100%;
4258
- min-width: 0;
4231
+ height: 100%;
4232
+ object-fit: cover;
4233
+ display: block;
4259
4234
  }
4260
4235
 
4261
- .muka-textarea__field--sm .muka-textarea__native {
4262
- font-family: var(--text-input-sm-fontFamily);
4263
- font-weight: var(--text-input-sm-fontWeight);
4264
- font-size: var(--text-input-sm-fontSize);
4265
- line-height: var(--text-input-sm-lineHeight);
4236
+ /* Gap between main photo and thumbnails */
4237
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4238
+ margin-top: 2px;
4266
4239
  }
4267
4240
 
4268
- .muka-textarea__field--lg .muka-textarea__native {
4269
- font-family: var(--text-input-lg-fontFamily);
4270
- font-weight: var(--text-input-lg-fontWeight);
4271
- font-size: var(--text-input-lg-fontSize);
4272
- line-height: var(--text-input-lg-lineHeight);
4241
+ /* ─── Content section ─────────────────────────────────── */
4242
+
4243
+ .muka-tile__content {
4244
+ display: flex;
4245
+ flex-direction: column;
4246
+ flex: 1;
4247
+ min-width: 0;
4273
4248
  }
4274
4249
 
4275
- .muka-textarea__native::placeholder {
4276
- color: var(--color-text-subtle-default);
4250
+ /* Top layout: content has horizontal padding */
4251
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4252
+ padding: 0 var(--spacing-3);
4253
+ gap: var(--spacing-1);
4277
4254
  }
4278
4255
 
4279
- .muka-textarea__field--disabled .muka-textarea__native {
4280
- color: var(--input-field-color-disabled-foreground);
4281
- cursor: not-allowed;
4256
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4257
+ padding: 0 var(--spacing-3);
4258
+ gap: var(--spacing-2);
4282
4259
  }
4283
4260
 
4284
- /* Footer (helper/error + count) */
4285
- .muka-textarea__footer {
4286
- display: flex;
4287
- justify-content: space-between;
4288
- align-items: flex-start;
4261
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4289
4262
  gap: var(--spacing-2);
4290
4263
  }
4291
4264
 
4292
- .muka-textarea__helper {
4293
- font-family: var(--text-label-sm-regular-fontFamily);
4294
- font-weight: var(--text-label-sm-regular-fontWeight);
4295
- font-size: var(--text-label-sm-regular-fontSize);
4296
- line-height: var(--text-label-sm-regular-lineHeight);
4297
- color: var(--color-text-subtle-default);
4298
- margin: 0;
4265
+ /* Left/right layout: content grows to fill space */
4266
+ .muka-tile--image-left .muka-tile__content,
4267
+ .muka-tile--image-right .muka-tile__content {
4268
+ gap: var(--spacing-3);
4299
4269
  }
4300
4270
 
4301
- .muka-textarea__error {
4302
- font-family: var(--text-label-sm-regular-fontFamily);
4303
- font-weight: var(--text-label-sm-regular-fontWeight);
4304
- font-size: var(--text-label-sm-regular-fontSize);
4305
- line-height: var(--text-label-sm-regular-lineHeight);
4306
- color: var(--color-state-error-default);
4307
- margin: 0;
4271
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4272
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4273
+ padding: 0 var(--spacing-3);
4308
4274
  }
4309
4275
 
4310
- .muka-textarea__count {
4311
- font-family: var(--text-label-sm-regular-fontFamily);
4312
- font-weight: var(--text-label-sm-regular-fontWeight);
4313
- font-size: var(--text-label-sm-regular-fontSize);
4314
- line-height: var(--text-label-sm-regular-lineHeight);
4315
- color: var(--color-text-subtle-default);
4316
- margin-left: auto;
4276
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4277
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4278
+ padding: var(--spacing-2) var(--spacing-3);
4317
4279
  }
4318
4280
 
4281
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4282
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4283
+ gap: var(--spacing-2);
4284
+ }
4319
4285
 
4320
- /* TextLink */
4321
- /* TextLink Component Styles - Using Muka Design Tokens */
4286
+ /* ─── Header (heading row + price) ────────────────────── */
4322
4287
 
4323
- .muka-text-link {
4324
- display: inline;
4325
- cursor: pointer;
4326
- text-decoration: underline;
4327
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4328
- text-underline-offset: 0.2em;
4329
- text-decoration-thickness: from-font;
4330
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4331
- border-radius: var(--border-radius-sm);
4332
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4288
+ .muka-tile__header {
4289
+ display: flex;
4290
+ align-items: flex-start;
4291
+ gap: var(--spacing-4);
4333
4292
  }
4334
4293
 
4335
- /* ─── Sizes ───────────────────────────────────────────────
4336
- Mirrors the body text scale so a link matches the copy it sits in. */
4337
- .muka-text-link--sm {
4338
- font-family: var(--text-body-sm-regular-fontFamily);
4339
- font-weight: var(--text-body-sm-regular-fontWeight);
4340
- font-size: var(--text-body-sm-regular-fontSize);
4341
- line-height: var(--text-body-sm-regular-lineHeight);
4294
+ /* Small horizontal: row with text and action */
4295
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4296
+ gap: var(--spacing-2);
4297
+ align-items: center;
4298
+ padding-top: var(--spacing-1);
4342
4299
  }
4343
4300
 
4344
- .muka-text-link--base {
4345
- font-family: var(--text-body-base-regular-fontFamily);
4346
- font-weight: var(--text-body-base-regular-fontWeight);
4347
- font-size: var(--text-body-base-regular-fontSize);
4348
- line-height: var(--text-body-base-regular-lineHeight);
4349
- }
4301
+ /* ─── Text group ──────────────────────────────────────── */
4350
4302
 
4351
- .muka-text-link--lg {
4352
- font-family: var(--text-body-lg-regular-fontFamily);
4353
- font-weight: var(--text-body-lg-regular-fontWeight);
4354
- font-size: var(--text-body-lg-regular-fontSize);
4355
- line-height: var(--text-body-lg-regular-lineHeight);
4303
+ .muka-tile__text {
4304
+ display: flex;
4305
+ flex-direction: column;
4306
+ flex: 1;
4307
+ min-width: 0;
4308
+ gap: var(--spacing-2);
4356
4309
  }
4357
4310
 
4358
- /* ─── Variant: default (accent) ───────────────────────────
4359
- Visited repeats the default colour on purpose: the design treats visited and
4360
- default the same, and pinning it stops the browser's purple from showing. */
4361
- .muka-text-link--default,
4362
- .muka-text-link--default:visited {
4363
- color: var(--color-text-action-default);
4311
+ /* ─── Heading typography ──────────────────────────────── */
4312
+
4313
+ .muka-tile__heading {
4314
+ margin: 0;
4364
4315
  }
4365
4316
 
4366
- .muka-text-link--default:hover,
4367
- .muka-text-link--default:focus-visible {
4368
- color: var(--color-text-action-hover);
4317
+ .muka-tile--lg .muka-tile__heading {
4318
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4319
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4320
+ font-size: var(--text-label-2xl-semibold-fontSize);
4321
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4322
+ color: var(--color-text-default-default);
4369
4323
  }
4370
4324
 
4371
- .muka-text-link--default:active {
4372
- color: var(--color-text-action-pressed);
4325
+ .muka-tile--md .muka-tile__heading {
4326
+ font-family: var(--text-label-xl-semibold-fontFamily);
4327
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4328
+ font-size: var(--text-label-xl-semibold-fontSize);
4329
+ line-height: var(--text-label-xl-semibold-lineHeight);
4330
+ color: var(--color-text-default-default);
4373
4331
  }
4374
4332
 
4375
- /* ─── Variant: subtle (neutral) ───────────────────────────
4376
- Hover, focus and pressed all darken to the default text colour. */
4377
- .muka-text-link--subtle,
4378
- .muka-text-link--subtle:visited {
4333
+ .muka-tile--sm .muka-tile__heading {
4334
+ font-family: var(--text-label-lg-bold-fontFamily);
4335
+ font-weight: var(--text-label-lg-bold-fontWeight);
4336
+ font-size: var(--text-label-lg-bold-fontSize);
4337
+ line-height: var(--text-label-lg-bold-lineHeight);
4338
+ color: var(--color-text-default-default);
4339
+ }
4340
+
4341
+ /* ─── Subheading typography ───────────────────────────── */
4342
+
4343
+ .muka-tile__subheading {
4344
+ margin: 0;
4379
4345
  color: var(--color-text-subtle-default);
4380
4346
  }
4381
4347
 
4382
- .muka-text-link--subtle:hover,
4383
- .muka-text-link--subtle:focus-visible,
4384
- .muka-text-link--subtle:active {
4348
+ .muka-tile--lg .muka-tile__subheading {
4349
+ font-family: var(--text-subheading-md-fontFamily);
4350
+ font-weight: var(--text-subheading-md-fontWeight);
4351
+ font-size: var(--text-subheading-md-fontSize);
4352
+ line-height: var(--text-subheading-md-lineHeight);
4353
+ }
4354
+
4355
+ .muka-tile--md .muka-tile__subheading,
4356
+ .muka-tile--sm .muka-tile__subheading {
4357
+ font-family: var(--text-subheading-sm-fontFamily);
4358
+ font-weight: var(--text-subheading-sm-fontWeight);
4359
+ font-size: var(--text-subheading-sm-fontSize);
4360
+ line-height: var(--text-subheading-sm-lineHeight);
4361
+ }
4362
+
4363
+ /* ─── Description typography ──────────────────────────── */
4364
+
4365
+ .muka-tile__description {
4366
+ margin: 0;
4385
4367
  color: var(--color-text-default-default);
4386
4368
  }
4387
4369
 
4388
- /* ─── Focus ───────────────────────────────────────────────
4389
- Same ring as every other focusable Muka component. */
4390
- .muka-text-link:focus-visible {
4391
- outline: 2px solid var(--color-border-focus);
4392
- outline-offset: 2px;
4370
+ .muka-tile--lg .muka-tile__description {
4371
+ font-family: var(--text-body-lg-regular-fontFamily);
4372
+ font-weight: var(--text-body-lg-regular-fontWeight);
4373
+ font-size: var(--text-body-lg-regular-fontSize);
4374
+ line-height: var(--text-body-lg-regular-lineHeight);
4393
4375
  }
4394
4376
 
4395
- @media (prefers-reduced-motion: reduce) {
4396
- .muka-text-link {
4397
- transition: none;
4398
- }
4377
+ .muka-tile--md .muka-tile__description,
4378
+ .muka-tile--sm .muka-tile__description {
4379
+ font-family: var(--text-body-base-regular-fontFamily);
4380
+ font-weight: var(--text-body-base-regular-fontWeight);
4381
+ font-size: var(--text-body-base-regular-fontSize);
4382
+ line-height: var(--text-body-base-regular-lineHeight);
4383
+ }
4384
+
4385
+ /* Description overflow for medium */
4386
+ .muka-tile--md .muka-tile__description {
4387
+ overflow: hidden;
4388
+ text-overflow: ellipsis;
4389
+ }
4390
+
4391
+ /* ─── Price slot ──────────────────────────────────────── */
4392
+
4393
+ .muka-tile__price {
4394
+ flex-shrink: 0;
4395
+ }
4396
+
4397
+ /* ─── Action slot ─────────────────────────────────────── */
4398
+
4399
+ .muka-tile__action {
4400
+ flex-shrink: 0;
4399
4401
  }
4400
4402
 
4401
4403
 
@@ -4993,114 +4995,6 @@ body {
4993
4995
  }
4994
4996
 
4995
4997
 
4996
- /* SwipeActions */
4997
- /* SwipeActions Component Styles */
4998
-
4999
- .muka-swipe-actions {
5000
- position: relative;
5001
- overflow: hidden;
5002
- touch-action: pan-y;
5003
- -webkit-user-select: none;
5004
- user-select: none;
5005
- background-color: var(--color-surface-level3);
5006
- }
5007
-
5008
- .muka-swipe-actions--disabled {
5009
- touch-action: auto;
5010
- }
5011
-
5012
- /* ─── Row that holds the actual content ────────────────── */
5013
-
5014
- .muka-swipe-actions__row {
5015
- position: relative;
5016
- z-index: 1;
5017
- background-color: inherit;
5018
- will-change: transform;
5019
- }
5020
-
5021
- /* ─── Action panels — sit beneath the row ──────────────── */
5022
-
5023
- .muka-swipe-actions__panel {
5024
- position: absolute;
5025
- top: 0;
5026
- bottom: 0;
5027
- display: flex;
5028
- align-items: stretch;
5029
- z-index: 0;
5030
- }
5031
-
5032
- .muka-swipe-actions__panel--left {
5033
- left: 0;
5034
- }
5035
-
5036
- .muka-swipe-actions__panel--right {
5037
- right: 0;
5038
- }
5039
-
5040
- /* ─── Single action button ─────────────────────────────── */
5041
-
5042
- .muka-swipe-actions__button {
5043
- display: flex;
5044
- flex-direction: column;
5045
- align-items: center;
5046
- justify-content: center;
5047
- gap: var(--spacing-1);
5048
- border: none;
5049
- cursor: pointer;
5050
- padding: var(--spacing-2);
5051
- background-color: var(--color-surface-level2);
5052
- color: var(--color-text-default-default);
5053
- font-family: var(--text-label-sm-semibold-fontFamily);
5054
- font-weight: var(--text-label-sm-semibold-fontWeight);
5055
- font-size: var(--text-label-sm-semibold-fontSize);
5056
- line-height: var(--text-label-sm-semibold-lineHeight);
5057
- -webkit-tap-highlight-color: transparent;
5058
- transition: filter 0.12s ease;
5059
- }
5060
-
5061
- .muka-swipe-actions__button:hover {
5062
- filter: brightness(0.95);
5063
- }
5064
-
5065
- .muka-swipe-actions__button:focus-visible {
5066
- outline: 2px solid var(--color-action-default);
5067
- outline-offset: -2px;
5068
- }
5069
-
5070
- .muka-swipe-actions__button-icon {
5071
- display: inline-flex;
5072
- align-items: center;
5073
- justify-content: center;
5074
- }
5075
-
5076
- /* ─── Color variants ───────────────────────────────────── */
5077
-
5078
- .muka-swipe-actions__button--neutral {
5079
- background-color: var(--color-surface-level2);
5080
- color: var(--color-text-default-default);
5081
- }
5082
-
5083
- .muka-swipe-actions__button--primary {
5084
- background-color: var(--color-action-default);
5085
- color: var(--color-text-default-inverse);
5086
- }
5087
-
5088
- .muka-swipe-actions__button--success {
5089
- background-color: var(--color-state-success-default);
5090
- color: var(--color-text-default-inverse);
5091
- }
5092
-
5093
- .muka-swipe-actions__button--warning {
5094
- background-color: var(--color-state-warning-default);
5095
- color: var(--color-text-default-default);
5096
- }
5097
-
5098
- .muka-swipe-actions__button--destructive {
5099
- background-color: var(--color-state-error-default);
5100
- color: var(--color-text-default-inverse);
5101
- }
5102
-
5103
-
5104
4998
  /* Spinner */
5105
4999
  /* Spinner Component Styles */
5106
5000
 
@@ -6064,29 +5958,6 @@ body {
6064
5958
  }
6065
5959
 
6066
5960
 
6067
- /* Section */
6068
- /* Section Component - Layout tokens (section.padding) */
6069
-
6070
- .muka-section {
6071
- box-sizing: border-box;
6072
- }
6073
-
6074
- .muka-section--padding-compact {
6075
- padding-block: var(--section-padding-vertical-compact);
6076
- padding-inline: var(--section-padding-horizontal-compact);
6077
- }
6078
-
6079
- .muka-section--padding-default {
6080
- padding-block: var(--section-padding-vertical-default);
6081
- padding-inline: var(--section-padding-horizontal-default);
6082
- }
6083
-
6084
- .muka-section--padding-spacious {
6085
- padding-block: var(--section-padding-vertical-spacious);
6086
- padding-inline: var(--section-padding-horizontal-spacious);
6087
- }
6088
-
6089
-
6090
5961
  /* SegmentGroup */
6091
5962
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
6092
5963
 
@@ -6275,6 +6146,29 @@ body {
6275
6146
  }
6276
6147
 
6277
6148
 
6149
+ /* Section */
6150
+ /* Section Component - Layout tokens (section.padding) */
6151
+
6152
+ .muka-section {
6153
+ box-sizing: border-box;
6154
+ }
6155
+
6156
+ .muka-section--padding-compact {
6157
+ padding-block: var(--section-padding-vertical-compact);
6158
+ padding-inline: var(--section-padding-horizontal-compact);
6159
+ }
6160
+
6161
+ .muka-section--padding-default {
6162
+ padding-block: var(--section-padding-vertical-default);
6163
+ padding-inline: var(--section-padding-horizontal-default);
6164
+ }
6165
+
6166
+ .muka-section--padding-spacious {
6167
+ padding-block: var(--section-padding-vertical-spacious);
6168
+ padding-inline: var(--section-padding-horizontal-spacious);
6169
+ }
6170
+
6171
+
6278
6172
  /* SearchInput */
6279
6173
  /* SearchInput Component Styles */
6280
6174
 
@@ -6837,147 +6731,111 @@ body {
6837
6731
  }
6838
6732
 
6839
6733
 
6840
- /* Radio */
6841
- /* Radio Component Styles - Using Muka Design Tokens */
6734
+ /* SwipeActions */
6735
+ /* SwipeActions Component Styles */
6842
6736
 
6843
- /* Wrapper - clickable label container */
6844
- .muka-radio {
6845
- display: inline-flex;
6846
- align-items: center;
6847
- gap: var(--spacing-4);
6848
- cursor: pointer;
6737
+ .muka-swipe-actions {
6738
+ position: relative;
6739
+ overflow: hidden;
6740
+ touch-action: pan-y;
6741
+ -webkit-user-select: none;
6849
6742
  user-select: none;
6743
+ background-color: var(--color-surface-level3);
6850
6744
  }
6851
6745
 
6852
- .muka-radio--disabled {
6853
- cursor: not-allowed;
6854
- opacity: 0.6;
6746
+ .muka-swipe-actions--disabled {
6747
+ touch-action: auto;
6855
6748
  }
6856
6749
 
6857
- /* Control container */
6858
- .muka-radio__control {
6750
+ /* ─── Row that holds the actual content ────────────────── */
6751
+
6752
+ .muka-swipe-actions__row {
6859
6753
  position: relative;
6860
- display: inline-flex;
6861
- align-items: center;
6862
- justify-content: center;
6863
- flex-shrink: 0;
6754
+ z-index: 1;
6755
+ background-color: inherit;
6756
+ will-change: transform;
6864
6757
  }
6865
6758
 
6866
- /* Hidden native input */
6867
- .muka-radio__input {
6868
- position: absolute;
6869
- width: 1px;
6870
- height: 1px;
6871
- padding: 0;
6872
- margin: -1px;
6873
- overflow: hidden;
6874
- clip: rect(0, 0, 0, 0);
6875
- white-space: nowrap;
6876
- border: 0;
6877
- }
6759
+ /* ─── Action panels — sit beneath the row ──────────────── */
6878
6760
 
6879
- /* Visual indicator (circle) */
6880
- .muka-radio__indicator {
6761
+ .muka-swipe-actions__panel {
6762
+ position: absolute;
6763
+ top: 0;
6764
+ bottom: 0;
6881
6765
  display: flex;
6882
- align-items: center;
6883
- justify-content: center;
6884
- width: var(--radio-size-default);
6885
- height: var(--radio-size-default);
6886
- border-radius: var(--border-radius-full);
6887
- background-color: var(--radio-color-default-background);
6888
- border: var(--border-width-regular) solid var(--radio-color-default-border);
6889
- transition: all 0.15s ease;
6890
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
6891
- }
6892
-
6893
- /* Size variants */
6894
- .muka-radio--sm .muka-radio__indicator {
6895
- width: var(--radio-size-sm);
6896
- height: var(--radio-size-sm);
6766
+ align-items: stretch;
6767
+ z-index: 0;
6897
6768
  }
6898
6769
 
6899
- .muka-radio--lg .muka-radio__indicator {
6900
- width: var(--radio-size-lg);
6901
- height: var(--radio-size-lg);
6770
+ .muka-swipe-actions__panel--left {
6771
+ left: 0;
6902
6772
  }
6903
6773
 
6904
- /* Inner dot (shown when checked) */
6905
- .muka-radio__dot {
6906
- width: var(--radio-dot-size-default);
6907
- height: var(--radio-dot-size-default);
6908
- border-radius: var(--border-radius-full);
6909
- background-color: var(--radio-color-default-dot);
6910
- transform: scale(0);
6911
- transition: transform 0.15s ease;
6774
+ .muka-swipe-actions__panel--right {
6775
+ right: 0;
6912
6776
  }
6913
6777
 
6914
- .muka-radio--sm .muka-radio__dot {
6915
- width: var(--radio-dot-size-sm);
6916
- height: var(--radio-dot-size-sm);
6917
- }
6778
+ /* ─── Single action button ─────────────────────────────── */
6918
6779
 
6919
- .muka-radio--lg .muka-radio__dot {
6920
- width: var(--radio-dot-size-lg);
6921
- height: var(--radio-dot-size-lg);
6780
+ .muka-swipe-actions__button {
6781
+ display: flex;
6782
+ flex-direction: column;
6783
+ align-items: center;
6784
+ justify-content: center;
6785
+ gap: var(--spacing-1);
6786
+ border: none;
6787
+ cursor: pointer;
6788
+ padding: var(--spacing-2);
6789
+ background-color: var(--color-surface-level2);
6790
+ color: var(--color-text-default-default);
6791
+ font-family: var(--text-label-sm-semibold-fontFamily);
6792
+ font-weight: var(--text-label-sm-semibold-fontWeight);
6793
+ font-size: var(--text-label-sm-semibold-fontSize);
6794
+ line-height: var(--text-label-sm-semibold-lineHeight);
6795
+ -webkit-tap-highlight-color: transparent;
6796
+ transition: filter 0.12s ease;
6922
6797
  }
6923
6798
 
6924
- /* Hover state - removed per design */
6925
-
6926
- /* Focus state */
6927
- .muka-radio__input:focus-visible + .muka-radio__indicator {
6928
- outline: 2px solid var(--color-border-focus);
6929
- outline-offset: 2px;
6799
+ .muka-swipe-actions__button:hover {
6800
+ filter: brightness(0.95);
6930
6801
  }
6931
6802
 
6932
- /* Checked state */
6933
- .muka-radio__input:checked + .muka-radio__indicator {
6934
- background-color: var(--radio-color-checked-background);
6935
- border-width: var(--border-width-bold);
6936
- border-color: var(--radio-color-checked-border);
6937
- box-shadow: none;
6803
+ .muka-swipe-actions__button:focus-visible {
6804
+ outline: 2px solid var(--color-action-default);
6805
+ outline-offset: -2px;
6938
6806
  }
6939
6807
 
6940
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
6941
- background-color: var(--radio-color-checked-dot);
6942
- transform: scale(1);
6808
+ .muka-swipe-actions__button-icon {
6809
+ display: inline-flex;
6810
+ align-items: center;
6811
+ justify-content: center;
6943
6812
  }
6944
6813
 
6945
- /* Disabled state */
6946
- .muka-radio--disabled .muka-radio__indicator {
6947
- background-color: var(--radio-color-disabled-background);
6948
- border-color: var(--radio-color-disabled-border);
6949
- box-shadow: none;
6950
- }
6814
+ /* ─── Color variants ───────────────────────────────────── */
6951
6815
 
6952
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
6953
- background-color: var(--radio-color-disabled-dot);
6816
+ .muka-swipe-actions__button--neutral {
6817
+ background-color: var(--color-surface-level2);
6818
+ color: var(--color-text-default-default);
6954
6819
  }
6955
6820
 
6956
- /* Label text */
6957
- .muka-radio__label {
6958
- font-family: var(--text-label-lg-regular-fontFamily);
6959
- font-weight: var(--text-label-lg-regular-fontWeight);
6960
- font-size: var(--text-label-lg-regular-fontSize);
6961
- line-height: var(--text-label-lg-regular-lineHeight);
6962
- color: var(--color-text-default-default);
6821
+ .muka-swipe-actions__button--primary {
6822
+ background-color: var(--color-action-default);
6823
+ color: var(--color-text-default-inverse);
6963
6824
  }
6964
6825
 
6965
- .muka-radio--sm .muka-radio__label {
6966
- font-family: var(--text-label-md-regular-fontFamily);
6967
- font-weight: var(--text-label-md-regular-fontWeight);
6968
- font-size: var(--text-label-md-regular-fontSize);
6969
- line-height: var(--text-label-md-regular-lineHeight);
6826
+ .muka-swipe-actions__button--success {
6827
+ background-color: var(--color-state-success-default);
6828
+ color: var(--color-text-default-inverse);
6970
6829
  }
6971
6830
 
6972
- .muka-radio--lg .muka-radio__label {
6973
- font-family: var(--text-label-xl-regular-fontFamily);
6974
- font-weight: var(--text-label-xl-regular-fontWeight);
6975
- font-size: var(--text-label-xl-regular-fontSize);
6976
- line-height: var(--text-label-xl-regular-lineHeight);
6831
+ .muka-swipe-actions__button--warning {
6832
+ background-color: var(--color-state-warning-default);
6833
+ color: var(--color-text-default-default);
6977
6834
  }
6978
6835
 
6979
- .muka-radio--disabled .muka-radio__label {
6980
- color: var(--color-text-subtle-default);
6836
+ .muka-swipe-actions__button--destructive {
6837
+ background-color: var(--color-state-error-default);
6838
+ color: var(--color-text-default-inverse);
6981
6839
  }
6982
6840
 
6983
6841
 
@@ -7124,308 +6982,194 @@ body {
7124
6982
  }
7125
6983
 
7126
6984
 
7127
- /* PullToRefresh */
7128
- /* PullToRefresh Component Styles */
6985
+ /* Radio */
6986
+ /* Radio Component Styles - Using Muka Design Tokens */
7129
6987
 
7130
- .muka-pull-to-refresh {
7131
- position: relative;
7132
- display: flex;
7133
- flex-direction: column;
7134
- width: 100%;
7135
- height: 100%;
7136
- overflow: hidden;
6988
+ /* Wrapper - clickable label container */
6989
+ .muka-radio {
6990
+ display: inline-flex;
6991
+ align-items: center;
6992
+ gap: var(--spacing-4);
6993
+ cursor: pointer;
6994
+ user-select: none;
7137
6995
  }
7138
6996
 
7139
- .muka-pull-to-refresh__indicator {
7140
- position: absolute;
7141
- top: 0;
7142
- left: 0;
7143
- right: 0;
7144
- display: flex;
7145
- align-items: flex-end;
7146
- justify-content: center;
7147
- padding-bottom: var(--spacing-2);
7148
- color: var(--color-text-subtle-default);
7149
- overflow: hidden;
7150
- pointer-events: none;
7151
- z-index: 1;
6997
+ .muka-radio--disabled {
6998
+ cursor: not-allowed;
6999
+ opacity: 0.6;
7152
7000
  }
7153
7001
 
7154
- .muka-pull-to-refresh__chevron {
7002
+ /* Control container */
7003
+ .muka-radio__control {
7004
+ position: relative;
7155
7005
  display: inline-flex;
7156
7006
  align-items: center;
7157
7007
  justify-content: center;
7158
- transition: transform 0.16s ease;
7008
+ flex-shrink: 0;
7159
7009
  }
7160
7010
 
7161
- .muka-pull-to-refresh__scroller {
7162
- flex: 1 1 auto;
7163
- min-height: 0;
7164
- width: 100%;
7165
- overflow-x: clip;
7166
- overflow-y: auto;
7167
- -webkit-overflow-scrolling: touch;
7168
- overscroll-behavior-y: contain;
7169
- touch-action: pan-y;
7170
- will-change: transform;
7011
+ /* Hidden native input */
7012
+ .muka-radio__input {
7013
+ position: absolute;
7014
+ width: 1px;
7015
+ height: 1px;
7016
+ padding: 0;
7017
+ margin: -1px;
7018
+ overflow: hidden;
7019
+ clip: rect(0, 0, 0, 0);
7020
+ white-space: nowrap;
7021
+ border: 0;
7171
7022
  }
7172
7023
 
7173
-
7174
- /* ProgressAccordeon */
7175
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7176
-
7177
- /* ─── Root ──────────────────────────────────────────────── */
7178
- .muka-progress-accordeon {
7179
- container-type: inline-size;
7024
+ /* Visual indicator (circle) */
7025
+ .muka-radio__indicator {
7180
7026
  display: flex;
7181
- flex-direction: column;
7182
- align-items: stretch;
7183
- width: 100%;
7184
- /* Top padding provides the vertical rhythm between stacked steps */
7185
- padding-top: var(--spacing-8);
7027
+ align-items: center;
7028
+ justify-content: center;
7029
+ width: var(--radio-size-default);
7030
+ height: var(--radio-size-default);
7031
+ border-radius: var(--border-radius-full);
7032
+ background-color: var(--radio-color-default-background);
7033
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7034
+ transition: all 0.15s ease;
7035
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7186
7036
  }
7187
7037
 
7188
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7189
- .muka-progress-accordeon--current,
7190
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7191
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7192
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7193
- gap: var(--spacing-6);
7038
+ /* Size variants */
7039
+ .muka-radio--sm .muka-radio__indicator {
7040
+ width: var(--radio-size-sm);
7041
+ height: var(--radio-size-sm);
7194
7042
  }
7195
7043
 
7196
- .muka-progress-accordeon--upcoming,
7197
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7198
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7199
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7200
- gap: var(--spacing-8);
7044
+ .muka-radio--lg .muka-radio__indicator {
7045
+ width: var(--radio-size-lg);
7046
+ height: var(--radio-size-lg);
7201
7047
  }
7202
7048
 
7203
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7204
- collapsing slot (as padding-top) so it collapses with the content, so the
7205
- body gap itself is 0. */
7206
- .muka-progress-accordeon__body {
7207
- display: flex;
7208
- flex-direction: column;
7209
- gap: 0;
7210
- width: 100%;
7049
+ /* Inner dot (shown when checked) */
7050
+ .muka-radio__dot {
7051
+ width: var(--radio-dot-size-default);
7052
+ height: var(--radio-dot-size-default);
7053
+ border-radius: var(--border-radius-full);
7054
+ background-color: var(--radio-color-default-dot);
7055
+ transform: scale(0);
7056
+ transition: transform 0.15s ease;
7211
7057
  }
7212
7058
 
7213
- /* ─── Header ─────────────────────────────────────────────── */
7214
- .muka-progress-accordeon__header {
7215
- display: flex;
7216
- flex-direction: column;
7217
- gap: var(--spacing-3);
7218
- width: 100%;
7059
+ .muka-radio--sm .muka-radio__dot {
7060
+ width: var(--radio-dot-size-sm);
7061
+ height: var(--radio-dot-size-sm);
7219
7062
  }
7220
7063
 
7221
- .muka-progress-accordeon__header-row {
7222
- display: flex;
7223
- align-items: flex-start;
7224
- gap: var(--spacing-3);
7225
- width: 100%;
7226
- min-height: 40px;
7064
+ .muka-radio--lg .muka-radio__dot {
7065
+ width: var(--radio-dot-size-lg);
7066
+ height: var(--radio-dot-size-lg);
7227
7067
  }
7228
7068
 
7229
- .muka-progress-accordeon__heading-group {
7230
- display: flex;
7231
- flex: 1 0 0;
7232
- min-width: 0;
7233
- align-items: flex-start;
7234
- gap: var(--spacing-4);
7235
- }
7069
+ /* Hover state - removed per design */
7236
7070
 
7237
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7238
- so a single line centres against the indicator + controls row. */
7239
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7240
- .muka-progress-accordeon__heading-group {
7241
- padding-top: var(--spacing-1);
7071
+ /* Focus state */
7072
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7073
+ outline: 2px solid var(--color-border-focus);
7074
+ outline-offset: 2px;
7242
7075
  }
7243
7076
 
7244
- .muka-progress-accordeon__controls {
7245
- display: flex;
7246
- flex-shrink: 0;
7247
- align-items: center;
7248
- gap: var(--spacing-3);
7077
+ /* Checked state */
7078
+ .muka-radio__input:checked + .muka-radio__indicator {
7079
+ background-color: var(--radio-color-checked-background);
7080
+ border-width: var(--border-width-bold);
7081
+ border-color: var(--radio-color-checked-border);
7082
+ box-shadow: none;
7249
7083
  }
7250
7084
 
7251
- /* ─── Step indicator (circle) ───────────────────────────── */
7252
- .muka-progress-accordeon__indicator {
7253
- width: 32px;
7254
- height: 32px;
7255
- flex-shrink: 0;
7256
- border-radius: var(--border-radius-full);
7257
- display: flex;
7258
- align-items: center;
7259
- justify-content: center;
7085
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7086
+ background-color: var(--radio-color-checked-dot);
7087
+ transform: scale(1);
7260
7088
  }
7261
7089
 
7262
- /* Past: dark accent-contrast circle with inverse checkmark */
7263
- .muka-progress-accordeon__indicator--past {
7264
- background-color: var(--alias-color-accent-contrast);
7265
- color: var(--color-text-default-inverse);
7090
+ /* Disabled state */
7091
+ .muka-radio--disabled .muka-radio__indicator {
7092
+ background-color: var(--radio-color-disabled-background);
7093
+ border-color: var(--radio-color-disabled-border);
7094
+ box-shadow: none;
7266
7095
  }
7267
7096
 
7268
- /* Current: accent circle with inverse bold number */
7269
- .muka-progress-accordeon__indicator--current {
7270
- background-color: var(--alias-color-accent-default);
7271
- color: var(--color-text-default-inverse);
7097
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7098
+ background-color: var(--radio-color-disabled-dot);
7272
7099
  }
7273
7100
 
7274
- /* Upcoming: sunken/muted circle with default-color number */
7275
- .muka-progress-accordeon__indicator--upcoming {
7276
- background-color: var(--color-surface-sunken);
7101
+ /* Label text */
7102
+ .muka-radio__label {
7103
+ font-family: var(--text-label-lg-regular-fontFamily);
7104
+ font-weight: var(--text-label-lg-regular-fontWeight);
7105
+ font-size: var(--text-label-lg-regular-fontSize);
7106
+ line-height: var(--text-label-lg-regular-lineHeight);
7277
7107
  color: var(--color-text-default-default);
7278
7108
  }
7279
7109
 
7280
- .muka-progress-accordeon__check-icon {
7281
- width: 20px;
7282
- height: 20px;
7283
- color: var(--color-text-default-inverse);
7284
- }
7285
-
7286
- .muka-progress-accordeon__number {
7287
- font-family: var(--text-label-md-bold-fontFamily);
7288
- font-weight: var(--text-label-md-bold-fontWeight);
7289
- font-size: var(--text-label-md-bold-fontSize);
7290
- line-height: var(--text-label-md-bold-lineHeight);
7291
- text-align: center;
7292
- user-select: none;
7293
- }
7294
-
7295
- /* Upcoming number is semibold (not bold) per Figma */
7296
- .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7297
- font-family: var(--text-label-md-semibold-fontFamily);
7298
- font-weight: var(--text-label-md-semibold-fontWeight);
7110
+ .muka-radio--sm .muka-radio__label {
7111
+ font-family: var(--text-label-md-regular-fontFamily);
7112
+ font-weight: var(--text-label-md-regular-fontWeight);
7113
+ font-size: var(--text-label-md-regular-fontSize);
7114
+ line-height: var(--text-label-md-regular-lineHeight);
7299
7115
  }
7300
7116
 
7301
- /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7302
- .muka-progress-accordeon__heading {
7303
- flex: 1 0 0;
7304
- min-width: 0;
7305
- margin: 0;
7306
- font-family: var(--text-heading-md-fontFamily);
7307
- font-weight: var(--text-heading-md-fontWeight);
7308
- font-size: var(--text-heading-md-fontSize);
7309
- line-height: var(--text-heading-md-lineHeight);
7310
- letter-spacing: var(--text-heading-md-letterSpacing);
7311
- color: var(--color-text-default-default);
7117
+ .muka-radio--lg .muka-radio__label {
7118
+ font-family: var(--text-label-xl-regular-fontFamily);
7119
+ font-weight: var(--text-label-xl-regular-fontWeight);
7120
+ font-size: var(--text-label-xl-regular-fontSize);
7121
+ line-height: var(--text-label-xl-regular-lineHeight);
7312
7122
  }
7313
7123
 
7314
- /* ─── Description ────────────────────────────────────────── */
7315
- /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7316
- .muka-progress-accordeon__description {
7317
- width: 100%;
7318
- padding-left: 48px;
7319
- font-family: var(--text-body-base-regular-fontFamily);
7320
- font-weight: var(--text-body-base-regular-fontWeight);
7321
- font-size: var(--text-body-base-regular-fontSize);
7322
- line-height: var(--text-body-base-regular-lineHeight);
7323
- color: var(--color-text-default-default);
7124
+ .muka-radio--disabled .muka-radio__label {
7125
+ color: var(--color-text-subtle-default);
7324
7126
  }
7325
7127
 
7326
- /* ─── Edit button ────────────────────────────────────────── */
7327
- .muka-progress-accordeon__edit {
7328
- flex-shrink: 0;
7329
- }
7330
7128
 
7331
- /* Wide container shows the labelled button; the icon-only one is hidden */
7332
- .muka-progress-accordeon__edit--narrow {
7333
- display: none;
7334
- }
7129
+ /* PullToRefresh */
7130
+ /* PullToRefresh Component Styles */
7335
7131
 
7336
- /* ─── Content slot ───────────────────────────────────────── */
7337
- .muka-progress-accordeon__slot {
7132
+ .muka-pull-to-refresh {
7133
+ position: relative;
7338
7134
  display: flex;
7339
7135
  flex-direction: column;
7340
- align-items: stretch;
7341
7136
  width: 100%;
7342
- }
7343
-
7344
- /* ─── Collapse/expand animation (any expandable step) ──────
7345
- Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7346
- shrinks to its intrinsic height. Opacity fades with the same duration.
7347
- Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7348
- .muka-progress-accordeon__panel-wrapper {
7349
- display: grid;
7350
- grid-template-rows: 1fr;
7351
- opacity: 1;
7352
- transition:
7353
- grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7354
- opacity var(--motion-duration-view) var(--motion-easing-enter);
7355
- }
7356
-
7357
- .muka-progress-accordeon__panel-wrapper--collapsed {
7358
- grid-template-rows: 0fr;
7359
- opacity: 0;
7360
- transition:
7361
- grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7362
- opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7363
- }
7364
-
7365
- /* The direct grid child clips and must have NO padding/border of its own —
7366
- min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7367
- 0 height (padding on the item would leave a residual gap when collapsed). */
7368
- .muka-progress-accordeon__panel-clip {
7137
+ height: 100%;
7369
7138
  overflow: hidden;
7370
- min-height: 0;
7371
- }
7372
-
7373
- /* Header↔content spacing + slot/actions gap live inside the clip so they
7374
- collapse together with the panel. */
7375
- .muka-progress-accordeon__panel {
7376
- display: flex;
7377
- flex-direction: column;
7378
- align-items: stretch;
7379
- gap: var(--spacing-6);
7380
- padding-top: var(--spacing-4);
7381
- width: 100%;
7382
- }
7383
-
7384
- /* ─── Action buttons (current state) ─────────────────────── */
7385
- .muka-progress-accordeon__actions {
7386
- display: flex;
7387
- justify-content: flex-end;
7388
- gap: var(--spacing-4);
7389
- width: 100%;
7390
- }
7391
-
7392
- .muka-progress-accordeon__action {
7393
- min-width: 160px;
7394
- }
7395
-
7396
- /* ─── Divider ────────────────────────────────────────────── */
7397
- .muka-progress-accordeon__divider {
7398
- width: 100%;
7399
7139
  }
7400
7140
 
7401
- /* ─── Responsive (narrow container) ──────────────────────── */
7402
- @container (max-width: 480px) {
7403
- /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7404
- 32px step indicator, so nudge the text down to keep a single line centred. */
7405
- .muka-progress-accordeon__heading {
7406
- font-size: var(--text-heading-sm-fontSize);
7407
- line-height: var(--text-heading-sm-lineHeight);
7408
- padding-top: var(--spacing-1);
7409
- }
7410
-
7411
- /* Edit button swaps to the icon-only variant */
7412
- .muka-progress-accordeon__edit--wide {
7413
- display: none;
7414
- }
7415
-
7416
- .muka-progress-accordeon__edit--narrow {
7417
- display: inline-flex;
7418
- }
7141
+ .muka-pull-to-refresh__indicator {
7142
+ position: absolute;
7143
+ top: 0;
7144
+ left: 0;
7145
+ right: 0;
7146
+ display: flex;
7147
+ align-items: flex-end;
7148
+ justify-content: center;
7149
+ padding-bottom: var(--spacing-2);
7150
+ color: var(--color-text-subtle-default);
7151
+ overflow: hidden;
7152
+ pointer-events: none;
7153
+ z-index: 1;
7154
+ }
7419
7155
 
7420
- /* Action buttons stretch to fill the row */
7421
- .muka-progress-accordeon__actions {
7422
- justify-content: stretch;
7423
- }
7156
+ .muka-pull-to-refresh__chevron {
7157
+ display: inline-flex;
7158
+ align-items: center;
7159
+ justify-content: center;
7160
+ transition: transform 0.16s ease;
7161
+ }
7424
7162
 
7425
- .muka-progress-accordeon__action {
7426
- flex: 1 0 0;
7427
- min-width: 0;
7428
- }
7163
+ .muka-pull-to-refresh__scroller {
7164
+ flex: 1 1 auto;
7165
+ min-height: 0;
7166
+ width: 100%;
7167
+ overflow-x: clip;
7168
+ overflow-y: auto;
7169
+ -webkit-overflow-scrolling: touch;
7170
+ overscroll-behavior-y: contain;
7171
+ touch-action: pan-y;
7172
+ will-change: transform;
7429
7173
  }
7430
7174
 
7431
7175
 
@@ -7924,72 +7668,330 @@ body {
7924
7668
  drop-shadow(0 8px 8px var(--color-black-alpha-5));
7925
7669
  }
7926
7670
 
7927
- /* Concave corners: the tab's bottom flares out into the surface. */
7928
- .muka-progress-tracker__tab::before,
7929
- .muka-progress-tracker__tab::after {
7930
- content: '';
7931
- position: absolute;
7932
- bottom: 0;
7933
- width: var(--border-radius-xl);
7934
- height: var(--border-radius-xl);
7935
- pointer-events: none;
7671
+ /* Concave corners: the tab's bottom flares out into the surface. */
7672
+ .muka-progress-tracker__tab::before,
7673
+ .muka-progress-tracker__tab::after {
7674
+ content: '';
7675
+ position: absolute;
7676
+ bottom: 0;
7677
+ width: var(--border-radius-xl);
7678
+ height: var(--border-radius-xl);
7679
+ pointer-events: none;
7680
+ }
7681
+
7682
+ .muka-progress-tracker__tab::before {
7683
+ right: 100%;
7684
+ background: radial-gradient(
7685
+ circle at 0 0,
7686
+ transparent calc(var(--border-radius-xl) - 0.5px),
7687
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7688
+ );
7689
+ }
7690
+
7691
+ .muka-progress-tracker__tab::after {
7692
+ left: 100%;
7693
+ background: radial-gradient(
7694
+ circle at 100% 0,
7695
+ transparent calc(var(--border-radius-xl) - 0.5px),
7696
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7697
+ );
7698
+ }
7699
+
7700
+ .muka-progress-tracker__tab--selected {
7701
+ --muka-progress-tracker-tab-surface: var(
7702
+ --muka-progress-tracker-tab-selected,
7703
+ var(--color-surface-level3)
7704
+ );
7705
+ }
7706
+
7707
+ button.muka-progress-tracker__tab {
7708
+ cursor: pointer;
7709
+ }
7710
+
7711
+ button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
7712
+ background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7713
+ }
7714
+
7715
+ button.muka-progress-tracker__tab:focus-visible {
7716
+ outline: 2px solid var(--color-border-focus);
7717
+ outline-offset: -2px;
7718
+ }
7719
+
7720
+ .muka-progress-tracker--tabs .muka-progress-tracker__label {
7721
+ font-family: var(--text-body-base-regular-fontFamily);
7722
+ font-weight: var(--text-body-base-regular-fontWeight);
7723
+ font-size: var(--text-body-base-regular-fontSize);
7724
+ line-height: var(--text-body-base-regular-lineHeight);
7725
+ }
7726
+
7727
+ .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7728
+ font-family: var(--text-body-base-bold-fontFamily);
7729
+ font-weight: var(--text-body-base-bold-fontWeight);
7730
+ }
7731
+
7732
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7733
+ font-family: var(--text-label-md-semibold-fontFamily);
7734
+ font-weight: var(--text-label-md-semibold-fontWeight);
7735
+ font-size: var(--text-label-md-semibold-fontSize);
7736
+ line-height: var(--text-label-md-semibold-lineHeight);
7737
+ }
7738
+
7739
+
7740
+ /* ProgressAccordeon */
7741
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7742
+
7743
+ /* ─── Root ──────────────────────────────────────────────── */
7744
+ .muka-progress-accordeon {
7745
+ container-type: inline-size;
7746
+ display: flex;
7747
+ flex-direction: column;
7748
+ align-items: stretch;
7749
+ width: 100%;
7750
+ /* Top padding provides the vertical rhythm between stacked steps */
7751
+ padding-top: var(--spacing-8);
7752
+ }
7753
+
7754
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7755
+ .muka-progress-accordeon--current,
7756
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7757
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7758
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7759
+ gap: var(--spacing-6);
7760
+ }
7761
+
7762
+ .muka-progress-accordeon--upcoming,
7763
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7764
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7765
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7766
+ gap: var(--spacing-8);
7767
+ }
7768
+
7769
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7770
+ collapsing slot (as padding-top) so it collapses with the content, so the
7771
+ body gap itself is 0. */
7772
+ .muka-progress-accordeon__body {
7773
+ display: flex;
7774
+ flex-direction: column;
7775
+ gap: 0;
7776
+ width: 100%;
7777
+ }
7778
+
7779
+ /* ─── Header ─────────────────────────────────────────────── */
7780
+ .muka-progress-accordeon__header {
7781
+ display: flex;
7782
+ flex-direction: column;
7783
+ gap: var(--spacing-3);
7784
+ width: 100%;
7785
+ }
7786
+
7787
+ .muka-progress-accordeon__header-row {
7788
+ display: flex;
7789
+ align-items: flex-start;
7790
+ gap: var(--spacing-3);
7791
+ width: 100%;
7792
+ min-height: 40px;
7793
+ }
7794
+
7795
+ .muka-progress-accordeon__heading-group {
7796
+ display: flex;
7797
+ flex: 1 0 0;
7798
+ min-width: 0;
7799
+ align-items: flex-start;
7800
+ gap: var(--spacing-4);
7801
+ }
7802
+
7803
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7804
+ so a single line centres against the indicator + controls row. */
7805
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7806
+ .muka-progress-accordeon__heading-group {
7807
+ padding-top: var(--spacing-1);
7808
+ }
7809
+
7810
+ .muka-progress-accordeon__controls {
7811
+ display: flex;
7812
+ flex-shrink: 0;
7813
+ align-items: center;
7814
+ gap: var(--spacing-3);
7815
+ }
7816
+
7817
+ /* ─── Step indicator (circle) ───────────────────────────── */
7818
+ .muka-progress-accordeon__indicator {
7819
+ width: 32px;
7820
+ height: 32px;
7821
+ flex-shrink: 0;
7822
+ border-radius: var(--border-radius-full);
7823
+ display: flex;
7824
+ align-items: center;
7825
+ justify-content: center;
7826
+ }
7827
+
7828
+ /* Past: dark accent-contrast circle with inverse checkmark */
7829
+ .muka-progress-accordeon__indicator--past {
7830
+ background-color: var(--alias-color-accent-contrast);
7831
+ color: var(--color-text-default-inverse);
7832
+ }
7833
+
7834
+ /* Current: accent circle with inverse bold number */
7835
+ .muka-progress-accordeon__indicator--current {
7836
+ background-color: var(--alias-color-accent-default);
7837
+ color: var(--color-text-default-inverse);
7838
+ }
7839
+
7840
+ /* Upcoming: sunken/muted circle with default-color number */
7841
+ .muka-progress-accordeon__indicator--upcoming {
7842
+ background-color: var(--color-surface-sunken);
7843
+ color: var(--color-text-default-default);
7844
+ }
7845
+
7846
+ .muka-progress-accordeon__check-icon {
7847
+ width: 20px;
7848
+ height: 20px;
7849
+ color: var(--color-text-default-inverse);
7850
+ }
7851
+
7852
+ .muka-progress-accordeon__number {
7853
+ font-family: var(--text-label-md-bold-fontFamily);
7854
+ font-weight: var(--text-label-md-bold-fontWeight);
7855
+ font-size: var(--text-label-md-bold-fontSize);
7856
+ line-height: var(--text-label-md-bold-lineHeight);
7857
+ text-align: center;
7858
+ user-select: none;
7859
+ }
7860
+
7861
+ /* Upcoming number is semibold (not bold) per Figma */
7862
+ .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7863
+ font-family: var(--text-label-md-semibold-fontFamily);
7864
+ font-weight: var(--text-label-md-semibold-fontWeight);
7865
+ }
7866
+
7867
+ /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7868
+ .muka-progress-accordeon__heading {
7869
+ flex: 1 0 0;
7870
+ min-width: 0;
7871
+ margin: 0;
7872
+ font-family: var(--text-heading-md-fontFamily);
7873
+ font-weight: var(--text-heading-md-fontWeight);
7874
+ font-size: var(--text-heading-md-fontSize);
7875
+ line-height: var(--text-heading-md-lineHeight);
7876
+ letter-spacing: var(--text-heading-md-letterSpacing);
7877
+ color: var(--color-text-default-default);
7878
+ }
7879
+
7880
+ /* ─── Description ────────────────────────────────────────── */
7881
+ /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7882
+ .muka-progress-accordeon__description {
7883
+ width: 100%;
7884
+ padding-left: 48px;
7885
+ font-family: var(--text-body-base-regular-fontFamily);
7886
+ font-weight: var(--text-body-base-regular-fontWeight);
7887
+ font-size: var(--text-body-base-regular-fontSize);
7888
+ line-height: var(--text-body-base-regular-lineHeight);
7889
+ color: var(--color-text-default-default);
7890
+ }
7891
+
7892
+ /* ─── Edit button ────────────────────────────────────────── */
7893
+ .muka-progress-accordeon__edit {
7894
+ flex-shrink: 0;
7936
7895
  }
7937
7896
 
7938
- .muka-progress-tracker__tab::before {
7939
- right: 100%;
7940
- background: radial-gradient(
7941
- circle at 0 0,
7942
- transparent calc(var(--border-radius-xl) - 0.5px),
7943
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7944
- );
7897
+ /* Wide container shows the labelled button; the icon-only one is hidden */
7898
+ .muka-progress-accordeon__edit--narrow {
7899
+ display: none;
7945
7900
  }
7946
7901
 
7947
- .muka-progress-tracker__tab::after {
7948
- left: 100%;
7949
- background: radial-gradient(
7950
- circle at 100% 0,
7951
- transparent calc(var(--border-radius-xl) - 0.5px),
7952
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7953
- );
7902
+ /* ─── Content slot ───────────────────────────────────────── */
7903
+ .muka-progress-accordeon__slot {
7904
+ display: flex;
7905
+ flex-direction: column;
7906
+ align-items: stretch;
7907
+ width: 100%;
7954
7908
  }
7955
7909
 
7956
- .muka-progress-tracker__tab--selected {
7957
- --muka-progress-tracker-tab-surface: var(
7958
- --muka-progress-tracker-tab-selected,
7959
- var(--color-surface-level3)
7960
- );
7910
+ /* ─── Collapse/expand animation (any expandable step) ──────
7911
+ Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7912
+ shrinks to its intrinsic height. Opacity fades with the same duration.
7913
+ Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7914
+ .muka-progress-accordeon__panel-wrapper {
7915
+ display: grid;
7916
+ grid-template-rows: 1fr;
7917
+ opacity: 1;
7918
+ transition:
7919
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7920
+ opacity var(--motion-duration-view) var(--motion-easing-enter);
7961
7921
  }
7962
7922
 
7963
- button.muka-progress-tracker__tab {
7964
- cursor: pointer;
7923
+ .muka-progress-accordeon__panel-wrapper--collapsed {
7924
+ grid-template-rows: 0fr;
7925
+ opacity: 0;
7926
+ transition:
7927
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7928
+ opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7965
7929
  }
7966
7930
 
7967
- button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
7968
- background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7931
+ /* The direct grid child clips and must have NO padding/border of its own —
7932
+ min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7933
+ 0 height (padding on the item would leave a residual gap when collapsed). */
7934
+ .muka-progress-accordeon__panel-clip {
7935
+ overflow: hidden;
7936
+ min-height: 0;
7969
7937
  }
7970
7938
 
7971
- button.muka-progress-tracker__tab:focus-visible {
7972
- outline: 2px solid var(--color-border-focus);
7973
- outline-offset: -2px;
7939
+ /* Header↔content spacing + slot/actions gap live inside the clip so they
7940
+ collapse together with the panel. */
7941
+ .muka-progress-accordeon__panel {
7942
+ display: flex;
7943
+ flex-direction: column;
7944
+ align-items: stretch;
7945
+ gap: var(--spacing-6);
7946
+ padding-top: var(--spacing-4);
7947
+ width: 100%;
7974
7948
  }
7975
7949
 
7976
- .muka-progress-tracker--tabs .muka-progress-tracker__label {
7977
- font-family: var(--text-body-base-regular-fontFamily);
7978
- font-weight: var(--text-body-base-regular-fontWeight);
7979
- font-size: var(--text-body-base-regular-fontSize);
7980
- line-height: var(--text-body-base-regular-lineHeight);
7950
+ /* ─── Action buttons (current state) ─────────────────────── */
7951
+ .muka-progress-accordeon__actions {
7952
+ display: flex;
7953
+ justify-content: flex-end;
7954
+ gap: var(--spacing-4);
7955
+ width: 100%;
7981
7956
  }
7982
7957
 
7983
- .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7984
- font-family: var(--text-body-base-bold-fontFamily);
7985
- font-weight: var(--text-body-base-bold-fontWeight);
7958
+ .muka-progress-accordeon__action {
7959
+ min-width: 160px;
7986
7960
  }
7987
7961
 
7988
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7989
- font-family: var(--text-label-md-semibold-fontFamily);
7990
- font-weight: var(--text-label-md-semibold-fontWeight);
7991
- font-size: var(--text-label-md-semibold-fontSize);
7992
- line-height: var(--text-label-md-semibold-lineHeight);
7962
+ /* ─── Divider ────────────────────────────────────────────── */
7963
+ .muka-progress-accordeon__divider {
7964
+ width: 100%;
7965
+ }
7966
+
7967
+ /* ─── Responsive (narrow container) ──────────────────────── */
7968
+ @container (max-width: 480px) {
7969
+ /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7970
+ 32px step indicator, so nudge the text down to keep a single line centred. */
7971
+ .muka-progress-accordeon__heading {
7972
+ font-size: var(--text-heading-sm-fontSize);
7973
+ line-height: var(--text-heading-sm-lineHeight);
7974
+ padding-top: var(--spacing-1);
7975
+ }
7976
+
7977
+ /* Edit button swaps to the icon-only variant */
7978
+ .muka-progress-accordeon__edit--wide {
7979
+ display: none;
7980
+ }
7981
+
7982
+ .muka-progress-accordeon__edit--narrow {
7983
+ display: inline-flex;
7984
+ }
7985
+
7986
+ /* Action buttons stretch to fill the row */
7987
+ .muka-progress-accordeon__actions {
7988
+ justify-content: stretch;
7989
+ }
7990
+
7991
+ .muka-progress-accordeon__action {
7992
+ flex: 1 0 0;
7993
+ min-width: 0;
7994
+ }
7993
7995
  }
7994
7996
 
7995
7997
 
@@ -9106,66 +9108,6 @@ button.muka-progress-tracker__tab:focus-visible {
9106
9108
  }
9107
9109
 
9108
9110
 
9109
- /* Page */
9110
- /* Page Component Styles */
9111
-
9112
- /*
9113
- * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
9114
- * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
9115
- * only appears in an app running edge to edge (viewport-fit=cover).
9116
- *
9117
- * `--muka-page-background` is the page colour. SiteHeader reads it, so a
9118
- * header and its status-bar scrim match the page without configuration.
9119
- */
9120
- .muka-page {
9121
- --muka-page-background: var(--color-surface-level3);
9122
- display: flex;
9123
- flex-direction: column;
9124
- min-height: 100vh;
9125
- min-height: 100dvh;
9126
- background-color: var(--muka-page-background);
9127
- }
9128
-
9129
- .muka-page--surface-2 {
9130
- --muka-page-background: var(--color-surface-level2);
9131
- }
9132
-
9133
- /* Overscroll (rubber band) shows the document background: keep it the page's. */
9134
- :root:has(.muka-page--surface-2) body {
9135
- background-color: var(--color-surface-level2);
9136
- }
9137
-
9138
- .muka-page__main {
9139
- flex: 1 0 auto;
9140
- display: flex;
9141
- flex-direction: column;
9142
- /* Landscape: clear the notch. */
9143
- padding-left: env(safe-area-inset-left, 0px);
9144
- padding-right: env(safe-area-inset-right, 0px);
9145
- }
9146
-
9147
- .muka-page__footer {
9148
- flex-shrink: 0;
9149
- padding-left: env(safe-area-inset-left, 0px);
9150
- padding-right: env(safe-area-inset-right, 0px);
9151
- padding-bottom: env(safe-area-inset-bottom, 0px);
9152
- }
9153
-
9154
- /* A footer with its own colour: the colour runs under the home indicator. */
9155
- .muka-page__footer--surface-2 {
9156
- background-color: var(--color-surface-level2);
9157
- }
9158
-
9159
- .muka-page__footer--surface-3 {
9160
- background-color: var(--color-surface-level3);
9161
- }
9162
-
9163
- /* Without a footer, the content is last and clears the home indicator. */
9164
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9165
- padding-bottom: env(safe-area-inset-bottom, 0px);
9166
- }
9167
-
9168
-
9169
9111
  /* NumberInput */
9170
9112
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9171
9113
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -10276,44 +10218,104 @@ li.muka-listitem {
10276
10218
  }
10277
10219
 
10278
10220
 
10279
- /* Label */
10280
- /* Label Component Styles - Using Muka Design Tokens */
10281
-
10282
- .muka-label {
10283
- display: inline-flex;
10284
- align-items: center;
10285
- color: var(--color-text-default-default);
10286
- cursor: pointer;
10221
+ /* Label */
10222
+ /* Label Component Styles - Using Muka Design Tokens */
10223
+
10224
+ .muka-label {
10225
+ display: inline-flex;
10226
+ align-items: center;
10227
+ color: var(--color-text-default-default);
10228
+ cursor: pointer;
10229
+ }
10230
+
10231
+ .muka-label--sm {
10232
+ font-family: var(--text-label-sm-semibold-fontFamily);
10233
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10234
+ font-size: var(--text-label-sm-semibold-fontSize);
10235
+ line-height: var(--text-label-sm-semibold-lineHeight);
10236
+ }
10237
+
10238
+ .muka-label--md {
10239
+ font-family: var(--text-label-md-semibold-fontFamily);
10240
+ font-weight: var(--text-label-md-semibold-fontWeight);
10241
+ font-size: var(--text-label-md-semibold-fontSize);
10242
+ line-height: var(--text-label-md-semibold-lineHeight);
10243
+ }
10244
+
10245
+ .muka-label--lg {
10246
+ font-family: var(--text-label-lg-semibold-fontFamily);
10247
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10248
+ font-size: var(--text-label-lg-semibold-fontSize);
10249
+ line-height: var(--text-label-lg-semibold-lineHeight);
10250
+ }
10251
+
10252
+ .muka-label--disabled {
10253
+ color: var(--color-text-subtle-default);
10254
+ cursor: not-allowed;
10255
+ }
10256
+
10257
+ .muka-label__required {
10258
+ color: var(--color-state-error-default);
10259
+ }
10260
+
10261
+
10262
+ /* Page */
10263
+ /* Page Component Styles */
10264
+
10265
+ /*
10266
+ * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
10267
+ * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
10268
+ * only appears in an app running edge to edge (viewport-fit=cover).
10269
+ *
10270
+ * `--muka-page-background` is the page colour. SiteHeader reads it, so a
10271
+ * header and its status-bar scrim match the page without configuration.
10272
+ */
10273
+ .muka-page {
10274
+ --muka-page-background: var(--color-surface-level3);
10275
+ display: flex;
10276
+ flex-direction: column;
10277
+ min-height: 100vh;
10278
+ min-height: 100dvh;
10279
+ background-color: var(--muka-page-background);
10280
+ }
10281
+
10282
+ .muka-page--surface-2 {
10283
+ --muka-page-background: var(--color-surface-level2);
10284
+ }
10285
+
10286
+ /* Overscroll (rubber band) shows the document background: keep it the page's. */
10287
+ :root:has(.muka-page--surface-2) body {
10288
+ background-color: var(--color-surface-level2);
10287
10289
  }
10288
10290
 
10289
- .muka-label--sm {
10290
- font-family: var(--text-label-sm-semibold-fontFamily);
10291
- font-weight: var(--text-label-sm-semibold-fontWeight);
10292
- font-size: var(--text-label-sm-semibold-fontSize);
10293
- line-height: var(--text-label-sm-semibold-lineHeight);
10291
+ .muka-page__main {
10292
+ flex: 1 0 auto;
10293
+ display: flex;
10294
+ flex-direction: column;
10295
+ /* Landscape: clear the notch. */
10296
+ padding-left: env(safe-area-inset-left, 0px);
10297
+ padding-right: env(safe-area-inset-right, 0px);
10294
10298
  }
10295
10299
 
10296
- .muka-label--md {
10297
- font-family: var(--text-label-md-semibold-fontFamily);
10298
- font-weight: var(--text-label-md-semibold-fontWeight);
10299
- font-size: var(--text-label-md-semibold-fontSize);
10300
- line-height: var(--text-label-md-semibold-lineHeight);
10300
+ .muka-page__footer {
10301
+ flex-shrink: 0;
10302
+ padding-left: env(safe-area-inset-left, 0px);
10303
+ padding-right: env(safe-area-inset-right, 0px);
10304
+ padding-bottom: env(safe-area-inset-bottom, 0px);
10301
10305
  }
10302
10306
 
10303
- .muka-label--lg {
10304
- font-family: var(--text-label-lg-semibold-fontFamily);
10305
- font-weight: var(--text-label-lg-semibold-fontWeight);
10306
- font-size: var(--text-label-lg-semibold-fontSize);
10307
- line-height: var(--text-label-lg-semibold-lineHeight);
10307
+ /* A footer with its own colour: the colour runs under the home indicator. */
10308
+ .muka-page__footer--surface-2 {
10309
+ background-color: var(--color-surface-level2);
10308
10310
  }
10309
10311
 
10310
- .muka-label--disabled {
10311
- color: var(--color-text-subtle-default);
10312
- cursor: not-allowed;
10312
+ .muka-page__footer--surface-3 {
10313
+ background-color: var(--color-surface-level3);
10313
10314
  }
10314
10315
 
10315
- .muka-label__required {
10316
- color: var(--color-state-error-default);
10316
+ /* Without a footer, the content is last and clears the home indicator. */
10317
+ .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
10318
+ padding-bottom: env(safe-area-inset-bottom, 0px);
10317
10319
  }
10318
10320
 
10319
10321
 
@@ -15110,256 +15112,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
15110
15112
  }
15111
15113
 
15112
15114
  .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15113
- cursor: pointer;
15114
- }
15115
-
15116
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15117
- outline: 2px solid var(--color-action-default);
15118
- outline-offset: 2px;
15119
- border-radius: var(--radius-sm);
15120
- }
15121
-
15122
- .muka-chat-attachment-chip__icon {
15123
- display: inline-flex;
15124
- align-items: center;
15125
- justify-content: center;
15126
- flex-shrink: 0;
15127
- color: var(--color-text-subtle-default);
15128
- }
15129
-
15130
- .muka-chat-attachment-chip__text {
15131
- display: flex;
15132
- flex-direction: column;
15133
- min-width: 0;
15134
- flex: 1 1 auto;
15135
- }
15136
-
15137
- .muka-chat-attachment-chip__name {
15138
- color: var(--color-text-default-default);
15139
- font-family: var(--text-body-sm-regular-fontFamily);
15140
- font-weight: var(--text-body-sm-regular-fontWeight);
15141
- font-size: var(--text-body-sm-regular-fontSize);
15142
- line-height: var(--text-body-sm-regular-lineHeight);
15143
- white-space: nowrap;
15144
- overflow: hidden;
15145
- text-overflow: ellipsis;
15146
- }
15147
-
15148
- .muka-chat-attachment-chip__meta {
15149
- color: var(--color-text-subtle-default);
15150
- font-family: var(--text-body-sm-regular-fontFamily);
15151
- font-weight: var(--text-body-sm-regular-fontWeight);
15152
- font-size: var(--text-body-sm-regular-fontSize);
15153
- line-height: var(--text-body-sm-regular-lineHeight);
15154
- white-space: nowrap;
15155
- overflow: hidden;
15156
- text-overflow: ellipsis;
15157
- }
15158
-
15159
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15160
- color: var(--color-state-error-default, var(--color-text-default-default));
15161
- }
15162
-
15163
- /* ─── Remove button ────────────────────────────────────── */
15164
-
15165
- .muka-chat-attachment-chip__remove {
15166
- display: inline-flex;
15167
- align-items: center;
15168
- justify-content: center;
15169
- width: 20px;
15170
- height: 20px;
15171
- border: none;
15172
- background: none;
15173
- padding: 0;
15174
- border-radius: var(--radius-sm);
15175
- cursor: pointer;
15176
- color: var(--color-text-subtle-default);
15177
- flex-shrink: 0;
15178
- -webkit-tap-highlight-color: transparent;
15179
- }
15180
-
15181
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15182
- color: var(--color-text-default-default);
15183
- background-color: var(--color-surface-level2);
15184
- }
15185
-
15186
- .muka-chat-attachment-chip__remove:focus-visible {
15187
- outline: 2px solid var(--color-action-default);
15188
- outline-offset: 2px;
15189
- }
15190
-
15191
- .muka-chat-attachment-chip__remove:disabled {
15192
- cursor: not-allowed;
15193
- opacity: 0.5;
15194
- }
15195
-
15196
- /* ─── Progress bar ─────────────────────────────────────── */
15197
-
15198
- .muka-chat-attachment-chip__progress {
15199
- position: absolute;
15200
- left: 0;
15201
- right: 0;
15202
- bottom: 0;
15203
- height: 2px;
15204
- background-color: var(--color-surface-level2);
15205
- overflow: hidden;
15206
- }
15207
-
15208
- .muka-chat-attachment-chip__progress-fill {
15209
- display: block;
15210
- height: 100%;
15211
- background-color: var(--color-action-default);
15212
- transition: width 0.16s ease;
15213
- }
15214
-
15215
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15216
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15217
- }
15218
-
15219
-
15220
- /* Card */
15221
- /* Card Component Styles - Using Muka Design Tokens */
15222
-
15223
- .muka-card {
15224
- background-color: var(--card-color-default-background);
15225
- color: var(--card-color-default-foreground);
15226
- border: var(--border-width-regular) solid var(--card-color-default-border);
15227
- box-shadow: var(--card-shadow-default);
15228
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15229
- overflow: hidden;
15230
- }
15231
-
15232
- /* Padding variants */
15233
- .muka-card--padding-none {
15234
- padding: 0;
15235
- }
15236
-
15237
- .muka-card--padding-sm {
15238
- padding: var(--card-padding-sm);
15239
- }
15240
-
15241
- .muka-card--padding-md {
15242
- padding: var(--card-padding-md);
15243
- }
15244
-
15245
- .muka-card--padding-lg {
15246
- padding: var(--card-padding-lg);
15247
- }
15248
-
15249
- /* Radius variants */
15250
- .muka-card--radius-sm {
15251
- border-radius: var(--card-radius-sm);
15252
- }
15253
-
15254
- .muka-card--radius-md {
15255
- border-radius: var(--card-radius-md);
15256
- }
15257
-
15258
- .muka-card--radius-lg {
15259
- border-radius: var(--card-radius-lg);
15260
- }
15261
-
15262
- /* Interactive variant */
15263
- .muka-card--interactive {
15264
- cursor: pointer;
15265
- user-select: none;
15266
- }
15267
-
15268
- .muka-card--interactive:hover {
15269
- background-color: var(--card-color-hover-background);
15270
- border-color: var(--card-color-hover-border);
15271
- box-shadow: var(--card-shadow-hover);
15272
- }
15273
-
15274
- .muka-card--interactive:active,
15275
- .muka-card--interactive.muka-card--pressed {
15276
- background-color: var(--card-color-pressed-background);
15277
- border-color: var(--card-color-pressed-border);
15278
- box-shadow: var(--card-shadow-pressed);
15279
- }
15280
-
15281
- .muka-card--interactive:focus-visible {
15282
- outline: 2px solid var(--color-border-focus);
15283
- outline-offset: 2px;
15284
- }
15285
-
15286
- /* Selected variant */
15287
- .muka-card--selected {
15288
- background-color: var(--card-color-selected-background);
15289
- border-color: var(--card-color-selected-border);
15290
- border-width: var(--border-width-bold);
15291
- box-shadow: var(--card-shadow-selected);
15292
- }
15293
-
15294
- /* Tone: sticky note (MUK-105) */
15295
- .muka-card--tone-note {
15296
- background-color: var(--card-color-note-background);
15297
- color: var(--card-color-note-foreground);
15298
- border-color: var(--card-color-note-border);
15299
- box-shadow: var(--card-shadow-note);
15300
- }
15301
-
15302
- .muka-card--tone-note.muka-card--interactive:hover,
15303
- .muka-card--tone-note.muka-card--interactive:active,
15304
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15305
- background-color: var(--card-color-note-background);
15306
- border-color: var(--card-color-note-border);
15307
- }
15308
-
15309
- .muka-card--tilt-left {
15310
- transform: rotate(-0.75deg);
15311
- }
15312
-
15313
- .muka-card--tilt-right {
15314
- transform: rotate(0.6deg);
15115
+ cursor: pointer;
15315
15116
  }
15316
15117
 
15317
- @media (prefers-reduced-motion: no-preference) {
15318
- .muka-card--tilt-left,
15319
- .muka-card--tilt-right {
15320
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15321
- }
15118
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15119
+ outline: 2px solid var(--color-action-default);
15120
+ outline-offset: 2px;
15121
+ border-radius: var(--radius-sm);
15322
15122
  }
15323
15123
 
15324
- .muka-card--interactive.muka-card--tilt-left:hover,
15325
- .muka-card--interactive.muka-card--tilt-right:hover {
15326
- transform: none;
15124
+ .muka-chat-attachment-chip__icon {
15125
+ display: inline-flex;
15126
+ align-items: center;
15127
+ justify-content: center;
15128
+ flex-shrink: 0;
15129
+ color: var(--color-text-subtle-default);
15327
15130
  }
15328
15131
 
15329
- /* Optional header (title + description) */
15330
- .muka-card__header {
15331
- margin-bottom: var(--spacing-4);
15132
+ .muka-chat-attachment-chip__text {
15133
+ display: flex;
15134
+ flex-direction: column;
15135
+ min-width: 0;
15136
+ flex: 1 1 auto;
15332
15137
  }
15333
15138
 
15334
- .muka-card__title {
15335
- margin: 0;
15139
+ .muka-chat-attachment-chip__name {
15336
15140
  color: var(--color-text-default-default);
15337
- font-family: var(--text-heading-xs-fontFamily);
15338
- font-weight: var(--text-heading-xs-fontWeight);
15339
- font-size: var(--text-heading-xs-fontSize);
15340
- line-height: var(--text-heading-xs-lineHeight);
15341
- letter-spacing: var(--text-heading-xs-letterSpacing);
15141
+ font-family: var(--text-body-sm-regular-fontFamily);
15142
+ font-weight: var(--text-body-sm-regular-fontWeight);
15143
+ font-size: var(--text-body-sm-regular-fontSize);
15144
+ line-height: var(--text-body-sm-regular-lineHeight);
15145
+ white-space: nowrap;
15146
+ overflow: hidden;
15147
+ text-overflow: ellipsis;
15342
15148
  }
15343
15149
 
15344
- .muka-card__description {
15345
- margin: var(--spacing-1) 0 0;
15150
+ .muka-chat-attachment-chip__meta {
15346
15151
  color: var(--color-text-subtle-default);
15347
15152
  font-family: var(--text-body-sm-regular-fontFamily);
15348
15153
  font-weight: var(--text-body-sm-regular-fontWeight);
15349
15154
  font-size: var(--text-body-sm-regular-fontSize);
15350
15155
  line-height: var(--text-body-sm-regular-lineHeight);
15156
+ white-space: nowrap;
15157
+ overflow: hidden;
15158
+ text-overflow: ellipsis;
15351
15159
  }
15352
15160
 
15353
- /* Hide divider on last list item inside card */
15354
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15355
- display: none;
15161
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15162
+ color: var(--color-state-error-default, var(--color-text-default-default));
15356
15163
  }
15357
15164
 
15358
- /* Disabled state */
15359
- .muka-card--disabled {
15360
- opacity: 0.5;
15165
+ /* ─── Remove button ────────────────────────────────────── */
15166
+
15167
+ .muka-chat-attachment-chip__remove {
15168
+ display: inline-flex;
15169
+ align-items: center;
15170
+ justify-content: center;
15171
+ width: 20px;
15172
+ height: 20px;
15173
+ border: none;
15174
+ background: none;
15175
+ padding: 0;
15176
+ border-radius: var(--radius-sm);
15177
+ cursor: pointer;
15178
+ color: var(--color-text-subtle-default);
15179
+ flex-shrink: 0;
15180
+ -webkit-tap-highlight-color: transparent;
15181
+ }
15182
+
15183
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15184
+ color: var(--color-text-default-default);
15185
+ background-color: var(--color-surface-level2);
15186
+ }
15187
+
15188
+ .muka-chat-attachment-chip__remove:focus-visible {
15189
+ outline: 2px solid var(--color-action-default);
15190
+ outline-offset: 2px;
15191
+ }
15192
+
15193
+ .muka-chat-attachment-chip__remove:disabled {
15361
15194
  cursor: not-allowed;
15362
- pointer-events: none;
15195
+ opacity: 0.5;
15196
+ }
15197
+
15198
+ /* ─── Progress bar ─────────────────────────────────────── */
15199
+
15200
+ .muka-chat-attachment-chip__progress {
15201
+ position: absolute;
15202
+ left: 0;
15203
+ right: 0;
15204
+ bottom: 0;
15205
+ height: 2px;
15206
+ background-color: var(--color-surface-level2);
15207
+ overflow: hidden;
15208
+ }
15209
+
15210
+ .muka-chat-attachment-chip__progress-fill {
15211
+ display: block;
15212
+ height: 100%;
15213
+ background-color: var(--color-action-default);
15214
+ transition: width 0.16s ease;
15215
+ }
15216
+
15217
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15218
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15363
15219
  }
15364
15220
 
15365
15221
 
@@ -17694,3 +17550,149 @@ button.muka-chat-photo-grid__tile:focus-visible {
17694
17550
  border-bottom: none;
17695
17551
  }
17696
17552
 
17553
+
17554
+ /* Card */
17555
+ /* Card Component Styles - Using Muka Design Tokens */
17556
+
17557
+ .muka-card {
17558
+ background-color: var(--card-color-default-background);
17559
+ color: var(--card-color-default-foreground);
17560
+ border: var(--border-width-regular) solid var(--card-color-default-border);
17561
+ box-shadow: var(--card-shadow-default);
17562
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17563
+ overflow: hidden;
17564
+ }
17565
+
17566
+ /* Padding variants */
17567
+ .muka-card--padding-none {
17568
+ padding: 0;
17569
+ }
17570
+
17571
+ .muka-card--padding-sm {
17572
+ padding: var(--card-padding-sm);
17573
+ }
17574
+
17575
+ .muka-card--padding-md {
17576
+ padding: var(--card-padding-md);
17577
+ }
17578
+
17579
+ .muka-card--padding-lg {
17580
+ padding: var(--card-padding-lg);
17581
+ }
17582
+
17583
+ /* Radius variants */
17584
+ .muka-card--radius-sm {
17585
+ border-radius: var(--card-radius-sm);
17586
+ }
17587
+
17588
+ .muka-card--radius-md {
17589
+ border-radius: var(--card-radius-md);
17590
+ }
17591
+
17592
+ .muka-card--radius-lg {
17593
+ border-radius: var(--card-radius-lg);
17594
+ }
17595
+
17596
+ /* Interactive variant */
17597
+ .muka-card--interactive {
17598
+ cursor: pointer;
17599
+ user-select: none;
17600
+ }
17601
+
17602
+ .muka-card--interactive:hover {
17603
+ background-color: var(--card-color-hover-background);
17604
+ border-color: var(--card-color-hover-border);
17605
+ box-shadow: var(--card-shadow-hover);
17606
+ }
17607
+
17608
+ .muka-card--interactive:active,
17609
+ .muka-card--interactive.muka-card--pressed {
17610
+ background-color: var(--card-color-pressed-background);
17611
+ border-color: var(--card-color-pressed-border);
17612
+ box-shadow: var(--card-shadow-pressed);
17613
+ }
17614
+
17615
+ .muka-card--interactive:focus-visible {
17616
+ outline: 2px solid var(--color-border-focus);
17617
+ outline-offset: 2px;
17618
+ }
17619
+
17620
+ /* Selected variant */
17621
+ .muka-card--selected {
17622
+ background-color: var(--card-color-selected-background);
17623
+ border-color: var(--card-color-selected-border);
17624
+ border-width: var(--border-width-bold);
17625
+ box-shadow: var(--card-shadow-selected);
17626
+ }
17627
+
17628
+ /* Tone: sticky note (MUK-105) */
17629
+ .muka-card--tone-note {
17630
+ background-color: var(--card-color-note-background);
17631
+ color: var(--card-color-note-foreground);
17632
+ border-color: var(--card-color-note-border);
17633
+ box-shadow: var(--card-shadow-note);
17634
+ }
17635
+
17636
+ .muka-card--tone-note.muka-card--interactive:hover,
17637
+ .muka-card--tone-note.muka-card--interactive:active,
17638
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
17639
+ background-color: var(--card-color-note-background);
17640
+ border-color: var(--card-color-note-border);
17641
+ }
17642
+
17643
+ .muka-card--tilt-left {
17644
+ transform: rotate(-0.75deg);
17645
+ }
17646
+
17647
+ .muka-card--tilt-right {
17648
+ transform: rotate(0.6deg);
17649
+ }
17650
+
17651
+ @media (prefers-reduced-motion: no-preference) {
17652
+ .muka-card--tilt-left,
17653
+ .muka-card--tilt-right {
17654
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17655
+ }
17656
+ }
17657
+
17658
+ .muka-card--interactive.muka-card--tilt-left:hover,
17659
+ .muka-card--interactive.muka-card--tilt-right:hover {
17660
+ transform: none;
17661
+ }
17662
+
17663
+ /* Optional header (title + description) */
17664
+ .muka-card__header {
17665
+ margin-bottom: var(--spacing-4);
17666
+ }
17667
+
17668
+ .muka-card__title {
17669
+ margin: 0;
17670
+ color: var(--color-text-default-default);
17671
+ font-family: var(--text-heading-xs-fontFamily);
17672
+ font-weight: var(--text-heading-xs-fontWeight);
17673
+ font-size: var(--text-heading-xs-fontSize);
17674
+ line-height: var(--text-heading-xs-lineHeight);
17675
+ letter-spacing: var(--text-heading-xs-letterSpacing);
17676
+ }
17677
+
17678
+ .muka-card__description {
17679
+ margin: var(--spacing-1) 0 0;
17680
+ color: var(--color-text-subtle-default);
17681
+ font-family: var(--text-body-sm-regular-fontFamily);
17682
+ font-weight: var(--text-body-sm-regular-fontWeight);
17683
+ font-size: var(--text-body-sm-regular-fontSize);
17684
+ line-height: var(--text-body-sm-regular-lineHeight);
17685
+ }
17686
+
17687
+ /* Hide divider on last list item inside card */
17688
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
17689
+ display: none;
17690
+ }
17691
+
17692
+ /* Disabled state */
17693
+ .muka-card--disabled {
17694
+ opacity: 0.5;
17695
+ cursor: not-allowed;
17696
+ pointer-events: none;
17697
+ }
17698
+