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