@revikornmann/muka-ui 0.52.0 → 0.53.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.
Files changed (41) hide show
  1. package/dist/cjs/components/ListItem/ListItem.css +6 -5
  2. package/dist/cjs/components/Menu/Menu.css +18 -0
  3. package/dist/cjs/components/Menu/Menu.js +3 -2
  4. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  5. package/dist/cjs/components/TopBar/TopBar.css +68 -0
  6. package/dist/cjs/components/TopBar/TopBar.js +11 -2
  7. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  8. package/dist/cjs/components/TopBar/index.js.map +1 -1
  9. package/dist/cjs/components/View/View.js +2 -2
  10. package/dist/cjs/components/View/View.js.map +1 -1
  11. package/dist/cjs/components/index.js.map +1 -1
  12. package/dist/esm/components/ListItem/ListItem.css +6 -5
  13. package/dist/esm/components/Menu/Menu.css +18 -0
  14. package/dist/esm/components/Menu/Menu.js +3 -2
  15. package/dist/esm/components/Menu/Menu.js.map +1 -1
  16. package/dist/esm/components/TopBar/TopBar.css +68 -0
  17. package/dist/esm/components/TopBar/TopBar.js +11 -2
  18. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  19. package/dist/esm/components/TopBar/index.js.map +1 -1
  20. package/dist/esm/components/View/View.js +2 -2
  21. package/dist/esm/components/View/View.js.map +1 -1
  22. package/dist/esm/components/index.js.map +1 -1
  23. package/dist/styles/components/ListItem.css +6 -5
  24. package/dist/styles/components/Menu.css +18 -0
  25. package/dist/styles/components/TopBar.css +68 -0
  26. package/dist/styles/index.css +1052 -965
  27. package/dist/styles/muka-dark.css +1052 -965
  28. package/dist/styles/muka-light.css +1052 -965
  29. package/dist/styles/wireframe-dark.css +1052 -965
  30. package/dist/styles/wireframe-light.css +1052 -965
  31. package/dist/types/components/Menu/Menu.d.ts +5 -0
  32. package/dist/types/components/Menu/Menu.d.ts.map +1 -1
  33. package/dist/types/components/TopBar/TopBar.d.ts +36 -0
  34. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  35. package/dist/types/components/TopBar/index.d.ts +1 -1
  36. package/dist/types/components/TopBar/index.d.ts.map +1 -1
  37. package/dist/types/components/View/View.d.ts +11 -0
  38. package/dist/types/components/View/View.d.ts.map +1 -1
  39. package/dist/types/components/index.d.ts +1 -1
  40. package/dist/types/components/index.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -2911,6 +2911,7 @@ body {
2911
2911
  of overlapping it. */
2912
2912
  --tb-container-display: grid;
2913
2913
  --tb-title-align: center;
2914
+ --tb-title-justify: center;
2914
2915
  --tb-title-font-family: var(--text-heading-xs-fontFamily);
2915
2916
  --tb-title-font-weight: var(--text-heading-xs-fontWeight);
2916
2917
  --tb-title-font-size: var(--text-heading-xs-fontSize);
@@ -2951,6 +2952,7 @@ body {
2951
2952
  --tb-pad-y: var(--spacing-4);
2952
2953
  --tb-container-display: flex;
2953
2954
  --tb-title-align: left;
2955
+ --tb-title-justify: start;
2954
2956
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2955
2957
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2956
2958
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -2966,6 +2968,7 @@ body {
2966
2968
  --tb-pad-y: var(--spacing-4);
2967
2969
  --tb-container-display: flex;
2968
2970
  --tb-title-align: left;
2971
+ --tb-title-justify: start;
2969
2972
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2970
2973
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2971
2974
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -3088,6 +3091,71 @@ body {
3088
3091
  margin: 0;
3089
3092
  }
3090
3093
 
3094
+ /* ─── Title with a subtitle ─────────────────────────────
3095
+ The block takes the title's grid cell and stacks the title over a subdued
3096
+ line (subtitle), aligned like the title: centred, start in the large tier. */
3097
+
3098
+ .muka-topbar__title-block {
3099
+ grid-column: 2;
3100
+ display: flex;
3101
+ flex-direction: column;
3102
+ align-items: var(--tb-title-justify);
3103
+ min-width: 0;
3104
+ }
3105
+
3106
+ .muka-topbar__title-block > .muka-topbar__title {
3107
+ max-width: 100%;
3108
+ }
3109
+
3110
+ .muka-topbar__subtitle {
3111
+ max-width: 100%;
3112
+ overflow: hidden;
3113
+ text-overflow: ellipsis;
3114
+ white-space: nowrap;
3115
+ text-align: var(--tb-title-align);
3116
+ font-family: var(--text-body-sm-regular-fontFamily);
3117
+ font-weight: var(--text-body-sm-regular-fontWeight);
3118
+ font-size: var(--text-body-sm-regular-fontSize);
3119
+ line-height: var(--text-body-sm-regular-lineHeight);
3120
+ color: var(--color-text-subtle-default);
3121
+ }
3122
+
3123
+ /* ─── Title as a button (titleTrailing) ──────────────────
3124
+ Same type as the text title, with a trailing glyph; sized to its content so
3125
+ only the title is the hit area, centred (start in the large tier). */
3126
+
3127
+ .muka-topbar__title--button {
3128
+ display: inline-flex;
3129
+ align-items: center;
3130
+ gap: var(--spacing-1);
3131
+ justify-self: var(--tb-title-justify);
3132
+ align-self: var(--tb-title-justify);
3133
+ max-width: 100%;
3134
+ padding: 0;
3135
+ border: 0;
3136
+ background: none;
3137
+ cursor: pointer;
3138
+ border-radius: var(--radius-sm);
3139
+ }
3140
+
3141
+ .muka-topbar__title-text {
3142
+ min-width: 0;
3143
+ overflow: hidden;
3144
+ text-overflow: ellipsis;
3145
+ white-space: nowrap;
3146
+ }
3147
+
3148
+ .muka-topbar__title-glyph {
3149
+ display: inline-flex;
3150
+ flex-shrink: 0;
3151
+ color: var(--color-text-subtle-default);
3152
+ }
3153
+
3154
+ .muka-topbar__title--button:focus-visible {
3155
+ outline: 2px solid var(--color-border-focus);
3156
+ outline-offset: 2px;
3157
+ }
3158
+
3091
3159
  /* ─── Trailing slot ───────────────────────────────────── */
3092
3160
 
3093
3161
  .muka-topbar__trailing {
@@ -3608,985 +3676,985 @@ body {
3608
3676
  }
3609
3677
 
3610
3678
 
3611
- /* Tile */
3612
- /* Tile Component Styles - Using Muka Design Tokens */
3613
-
3614
- /* ─── Base ────────────────────────────────────────────── */
3615
-
3616
- .muka-tile {
3617
- display: flex;
3618
- color: var(--color-text-default-default);
3619
- }
3679
+ /* Thumbnail */
3680
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3620
3681
 
3621
- .muka-tile--interactive {
3622
- cursor: pointer;
3623
- user-select: none;
3682
+ .muka-thumbnail {
3683
+ position: relative;
3684
+ flex-shrink: 0;
3624
3685
  }
3625
3686
 
3626
- .muka-tile--interactive:focus-visible {
3627
- outline: 2px solid var(--color-border-focus);
3628
- outline-offset: 2px;
3687
+ /* The frame carries the border, background and shape clip. Keeping it separate
3688
+ from the root lets the remove (×) button sit outside the clip (needed for the
3689
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3690
+ .muka-thumbnail__frame {
3691
+ position: absolute;
3692
+ inset: 0;
3693
+ overflow: hidden;
3694
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3629
3695
  border-radius: var(--border-radius-lg);
3696
+ background-color: var(--color-surface-level1);
3630
3697
  }
3631
3698
 
3632
- /* ─── Image position variants ─────────────────────────── */
3699
+ /* ─── Shapes ──────────────────────────────────────────── */
3700
+ .muka-thumbnail--4-3 {
3701
+ width: 160px;
3702
+ height: 120px;
3703
+ }
3633
3704
 
3634
- .muka-tile--image-top {
3635
- flex-direction: column;
3705
+ .muka-thumbnail--1-1 {
3706
+ width: 120px;
3707
+ height: 120px;
3636
3708
  }
3637
3709
 
3638
- .muka-tile--image-left {
3639
- flex-direction: row;
3710
+ .muka-thumbnail--ellipse {
3711
+ width: 120px;
3712
+ height: 120px;
3640
3713
  }
3641
3714
 
3642
- .muka-tile--image-right {
3643
- flex-direction: row;
3715
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3716
+ .muka-thumbnail--fluid {
3717
+ width: 100%;
3718
+ height: auto;
3719
+ aspect-ratio: 1 / 1;
3644
3720
  }
3645
3721
 
3646
- /* ─── Gap by size (top) ───────────────────────────────── */
3722
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3723
+ aspect-ratio: 4 / 3;
3724
+ }
3647
3725
 
3648
- .muka-tile--image-top.muka-tile--lg {
3649
- gap: var(--spacing-6);
3726
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3727
+ border-radius: var(--border-radius-full);
3650
3728
  }
3651
3729
 
3652
- .muka-tile--image-top.muka-tile--md {
3653
- gap: var(--spacing-6);
3654
- width: 320px;
3730
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3731
+ interactive hover zoom has a clean origin. */
3732
+ .muka-thumbnail__image {
3733
+ position: absolute;
3734
+ inset: 0;
3735
+ width: 100%;
3736
+ height: 100%;
3737
+ object-fit: cover;
3738
+ display: block;
3739
+ transform-origin: center;
3740
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3741
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3655
3742
  }
3656
3743
 
3657
- .muka-tile--image-top.muka-tile--sm {
3658
- gap: var(--spacing-4);
3659
- min-width: 120px;
3744
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3745
+ .muka-thumbnail__trigger {
3746
+ position: absolute;
3747
+ inset: 0;
3748
+ padding: 0;
3749
+ border: 0;
3750
+ background: none;
3751
+ cursor: pointer;
3752
+ overflow: hidden;
3660
3753
  }
3661
3754
 
3662
- /* ─── Gap by size (left/right) ────────────────────────── */
3755
+ .muka-thumbnail__trigger:focus-visible {
3756
+ outline: 2px solid var(--color-border-focus);
3757
+ outline-offset: -2px;
3758
+ }
3663
3759
 
3664
- .muka-tile--image-left.muka-tile--lg,
3665
- .muka-tile--image-right.muka-tile--lg {
3666
- gap: var(--spacing-6);
3667
- align-items: center;
3760
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3761
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3762
+ transform: scale(1.05);
3668
3763
  }
3669
3764
 
3670
- .muka-tile--image-left.muka-tile--md,
3671
- .muka-tile--image-right.muka-tile--md {
3672
- gap: var(--spacing-6);
3765
+ /* ─── Loading overlay + progress donut ────────────────── */
3766
+ .muka-thumbnail__overlay {
3767
+ position: absolute;
3768
+ inset: 0;
3769
+ display: flex;
3673
3770
  align-items: center;
3771
+ justify-content: center;
3772
+ background-color: var(--dialog-color-backdrop);
3674
3773
  }
3675
3774
 
3676
- .muka-tile--image-left.muka-tile--sm,
3677
- .muka-tile--image-right.muka-tile--sm {
3678
- gap: var(--spacing-4);
3679
- align-items: flex-start;
3775
+ .muka-thumbnail__progress {
3776
+ width: 40px;
3777
+ height: 40px;
3680
3778
  }
3681
3779
 
3682
- /* ─── Photos container ────────────────────────────────── */
3780
+ /* ─── Error / corrupt state ───────────────────────────── */
3781
+ .muka-thumbnail--error .muka-thumbnail__frame {
3782
+ background-color: var(--alias-color-state-error-muted);
3783
+ border-color: var(--alias-color-state-error-default);
3784
+ }
3683
3785
 
3684
- .muka-tile__photos {
3685
- position: relative;
3686
- flex-shrink: 0;
3687
- overflow: hidden;
3786
+ .muka-thumbnail__error {
3787
+ position: absolute;
3788
+ inset: 0;
3688
3789
  display: flex;
3689
3790
  flex-direction: column;
3690
- isolation: isolate;
3791
+ align-items: center;
3792
+ justify-content: center;
3793
+ gap: var(--spacing-2);
3794
+ padding: var(--spacing-3);
3795
+ text-align: center;
3691
3796
  }
3692
3797
 
3693
- /* Photos border radius by size */
3694
- .muka-tile--lg .muka-tile__photos,
3695
- .muka-tile--md .muka-tile__photos {
3696
- border-radius: var(--border-radius-lg);
3798
+ .muka-thumbnail__error-icon {
3799
+ color: var(--alert-color-error-accent);
3697
3800
  }
3698
3801
 
3699
- .muka-tile--sm .muka-tile__photos {
3700
- border-radius: var(--border-radius-md);
3802
+ .muka-thumbnail__caption {
3803
+ max-width: 100%;
3804
+ overflow: hidden;
3805
+ text-overflow: ellipsis;
3806
+ white-space: nowrap;
3807
+ color: var(--alert-color-error-accent);
3808
+ font-family: var(--text-body-sm-regular-fontFamily);
3809
+ font-size: var(--text-body-sm-regular-fontSize);
3810
+ font-weight: var(--text-body-sm-regular-fontWeight);
3811
+ line-height: var(--text-body-sm-regular-lineHeight);
3701
3812
  }
3702
3813
 
3703
- /* Photos sizing: top layout */
3704
- .muka-tile--image-top .muka-tile__photos {
3705
- width: 100%;
3814
+ /* ─── Remove (×) button ───────────────────────────────── */
3815
+ .muka-thumbnail__remove {
3816
+ position: absolute;
3817
+ top: var(--spacing-2);
3818
+ right: var(--spacing-2);
3819
+ display: flex;
3820
+ align-items: center;
3821
+ justify-content: center;
3822
+ width: var(--size-2xl);
3823
+ height: var(--size-2xl);
3824
+ padding: 0;
3825
+ color: var(--button-color-tertiary-foreground-default);
3826
+ background-color: var(--button-color-tertiary-background-default);
3827
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3828
+ border-radius: var(--border-radius-lg);
3829
+ cursor: pointer;
3830
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3831
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3706
3832
  }
3707
3833
 
3708
- /* Photos sizing: left/right large */
3709
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3710
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3711
- width: 520px;
3834
+ .muka-thumbnail__remove:hover {
3835
+ color: var(--button-color-tertiary-foreground-hover);
3836
+ background-color: var(--button-color-tertiary-background-hover);
3837
+ border-color: var(--button-color-tertiary-border-hover);
3712
3838
  }
3713
3839
 
3714
- /* Photos sizing: left/right medium */
3715
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3716
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3717
- width: 320px;
3840
+ .muka-thumbnail__remove:active {
3841
+ color: var(--button-color-tertiary-foreground-pressed);
3842
+ background-color: var(--button-color-tertiary-background-pressed);
3843
+ border-color: var(--button-color-tertiary-border-pressed);
3718
3844
  }
3719
3845
 
3720
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3721
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3722
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3723
- width: 80px;
3724
- align-self: stretch;
3846
+ .muka-thumbnail__remove:focus-visible {
3847
+ outline: 2px solid var(--color-border-focus);
3848
+ outline-offset: 2px;
3725
3849
  }
3726
3850
 
3727
- /* ─── Main photo ──────────────────────────────────────── */
3851
+ /* ─── Reduced motion ──────────────────────────────────── */
3852
+ @media (prefers-reduced-motion: reduce) {
3853
+ .muka-thumbnail__image,
3854
+ .muka-thumbnail__remove {
3855
+ transition: none;
3856
+ }
3728
3857
 
3729
- .muka-tile__photo-main {
3730
- position: relative;
3731
- width: 100%;
3732
- overflow: hidden;
3733
- flex-shrink: 0;
3858
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3859
+ transform: none;
3860
+ }
3734
3861
  }
3735
3862
 
3736
- /* 16:9 aspect for lg and md */
3737
- .muka-tile--lg .muka-tile__photo-main,
3738
- .muka-tile--md .muka-tile__photo-main {
3739
- aspect-ratio: 1280 / 720;
3740
- }
3741
3863
 
3742
- /* 1:1 aspect for top + sm */
3743
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3744
- aspect-ratio: 1 / 1;
3745
- }
3864
+ /* Textarea */
3865
+ /* Textarea Component Styles - Using Muka Design Tokens */
3746
3866
 
3747
- /* Fixed size for left/right + sm */
3748
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3749
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3750
- width: 80px;
3751
- height: 80px;
3752
- aspect-ratio: auto;
3867
+ .muka-textarea {
3868
+ display: inline-flex;
3869
+ flex-direction: column;
3870
+ gap: var(--spacing-2);
3753
3871
  }
3754
3872
 
3755
- .muka-tile__photo-main img {
3756
- width: 100%;
3757
- height: 100%;
3758
- object-fit: cover;
3759
- display: block;
3873
+ /* Label */
3874
+ .muka-textarea__label {
3875
+ color: var(--color-text-default-default);
3876
+ cursor: pointer;
3760
3877
  }
3761
3878
 
3762
- /* ─── Favourite overlay ───────────────────────────────── */
3763
-
3764
- .muka-tile__favourite {
3765
- position: absolute;
3766
- z-index: 3;
3879
+ .muka-textarea__label--sm {
3880
+ font-family: var(--text-label-sm-semibold-fontFamily);
3881
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3882
+ font-size: var(--text-label-sm-semibold-fontSize);
3883
+ line-height: var(--text-label-sm-semibold-lineHeight);
3767
3884
  }
3768
3885
 
3769
- .muka-tile--lg .muka-tile__favourite,
3770
- .muka-tile--md .muka-tile__favourite {
3771
- top: var(--spacing-4);
3772
- right: var(--spacing-4);
3886
+ .muka-textarea__label--md {
3887
+ font-family: var(--text-label-md-semibold-fontFamily);
3888
+ font-weight: var(--text-label-md-semibold-fontWeight);
3889
+ font-size: var(--text-label-md-semibold-fontSize);
3890
+ line-height: var(--text-label-md-semibold-lineHeight);
3773
3891
  }
3774
3892
 
3775
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3776
- top: var(--spacing-1);
3777
- right: var(--spacing-1);
3893
+ .muka-textarea__label--lg {
3894
+ font-family: var(--text-label-lg-semibold-fontFamily);
3895
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3896
+ font-size: var(--text-label-lg-semibold-fontSize);
3897
+ line-height: var(--text-label-lg-semibold-lineHeight);
3778
3898
  }
3779
3899
 
3780
- /* ─── Thumbnails ──────────────────────────────────────── */
3900
+ .muka-textarea__required {
3901
+ color: var(--color-state-error-default);
3902
+ }
3781
3903
 
3782
- .muka-tile__thumbnails {
3904
+ /* Field container */
3905
+ .muka-textarea__field {
3783
3906
  display: flex;
3784
- gap: 2px;
3785
- overflow: hidden;
3786
- flex-shrink: 0;
3787
- height: 80px;
3907
+ background-color: var(--input-field-color-default-background);
3908
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3909
+ border-radius: var(--input-field-radius-md);
3910
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3911
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3912
+ box-sizing: border-box;
3788
3913
  }
3789
3914
 
3790
- .muka-tile__thumbnail {
3791
- width: 80px;
3792
- height: 80px;
3793
- flex-shrink: 0;
3794
- overflow: hidden;
3915
+ .muka-textarea__field--sm {
3916
+ min-height: var(--input-textarea-height-sm);
3917
+ border-radius: var(--input-field-radius-sm);
3795
3918
  }
3796
3919
 
3797
- .muka-tile__thumbnail img {
3798
- width: 100%;
3799
- height: 100%;
3800
- object-fit: cover;
3801
- display: block;
3920
+ .muka-textarea__field--md {
3921
+ min-height: var(--input-textarea-height-default);
3922
+ border-radius: var(--input-field-radius-md);
3802
3923
  }
3803
3924
 
3804
- /* Gap between main photo and thumbnails */
3805
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3806
- margin-top: 2px;
3925
+ .muka-textarea__field--lg {
3926
+ min-height: var(--input-textarea-height-lg);
3927
+ border-radius: var(--input-field-radius-lg);
3807
3928
  }
3808
3929
 
3809
- /* ─── Content section ─────────────────────────────────── */
3810
-
3811
- .muka-tile__content {
3812
- display: flex;
3813
- flex-direction: column;
3814
- flex: 1;
3815
- min-width: 0;
3930
+ /* Focus state */
3931
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3932
+ border-width: var(--border-width-bold);
3933
+ border-color: var(--input-field-color-focus-border);
3934
+ background-color: var(--input-field-color-focus-background);
3935
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3816
3936
  }
3817
3937
 
3818
- /* Top layout: content has horizontal padding */
3819
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3820
- padding: 0 var(--spacing-3);
3821
- gap: var(--spacing-1);
3938
+ /* Error state */
3939
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3940
+ border-width: var(--border-width-bold);
3941
+ border-color: var(--input-field-color-error-border);
3942
+ background-color: var(--input-field-color-error-background);
3943
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3822
3944
  }
3823
3945
 
3824
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3825
- padding: 0 var(--spacing-3);
3826
- gap: var(--spacing-2);
3946
+ /* Disabled state */
3947
+ .muka-textarea__field--disabled {
3948
+ background-color: var(--input-field-color-disabled-background);
3949
+ border-color: var(--input-field-color-disabled-border);
3950
+ cursor: not-allowed;
3827
3951
  }
3828
3952
 
3829
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3830
- gap: var(--spacing-2);
3953
+ /* Native textarea */
3954
+ .muka-textarea__native {
3955
+ flex: 1;
3956
+ border: none;
3957
+ outline: none;
3958
+ background: transparent;
3959
+ color: var(--input-field-color-default-foreground);
3960
+ font-family: var(--text-input-md-fontFamily);
3961
+ font-weight: var(--text-input-md-fontWeight);
3962
+ font-size: var(--text-input-md-fontSize);
3963
+ line-height: var(--text-input-md-lineHeight);
3964
+ padding: 0;
3965
+ width: 100%;
3966
+ min-width: 0;
3831
3967
  }
3832
3968
 
3833
- /* Left/right layout: content grows to fill space */
3834
- .muka-tile--image-left .muka-tile__content,
3835
- .muka-tile--image-right .muka-tile__content {
3836
- gap: var(--spacing-3);
3969
+ .muka-textarea__field--sm .muka-textarea__native {
3970
+ font-family: var(--text-input-sm-fontFamily);
3971
+ font-weight: var(--text-input-sm-fontWeight);
3972
+ font-size: var(--text-input-sm-fontSize);
3973
+ line-height: var(--text-input-sm-lineHeight);
3837
3974
  }
3838
3975
 
3839
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3840
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3841
- padding: 0 var(--spacing-3);
3976
+ .muka-textarea__field--lg .muka-textarea__native {
3977
+ font-family: var(--text-input-lg-fontFamily);
3978
+ font-weight: var(--text-input-lg-fontWeight);
3979
+ font-size: var(--text-input-lg-fontSize);
3980
+ line-height: var(--text-input-lg-lineHeight);
3842
3981
  }
3843
3982
 
3844
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3845
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3846
- padding: var(--spacing-2) var(--spacing-3);
3983
+ .muka-textarea__native::placeholder {
3984
+ color: var(--color-text-subtle-default);
3847
3985
  }
3848
3986
 
3849
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3850
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3851
- gap: var(--spacing-2);
3987
+ .muka-textarea__field--disabled .muka-textarea__native {
3988
+ color: var(--input-field-color-disabled-foreground);
3989
+ cursor: not-allowed;
3852
3990
  }
3853
3991
 
3854
- /* ─── Header (heading row + price) ────────────────────── */
3855
-
3856
- .muka-tile__header {
3992
+ /* Footer (helper/error + count) */
3993
+ .muka-textarea__footer {
3857
3994
  display: flex;
3995
+ justify-content: space-between;
3858
3996
  align-items: flex-start;
3859
- gap: var(--spacing-4);
3860
- }
3861
-
3862
- /* Small horizontal: row with text and action */
3863
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3864
3997
  gap: var(--spacing-2);
3865
- align-items: center;
3866
- padding-top: var(--spacing-1);
3867
3998
  }
3868
3999
 
3869
- /* ─── Text group ──────────────────────────────────────── */
3870
-
3871
- .muka-tile__text {
3872
- display: flex;
3873
- flex-direction: column;
3874
- flex: 1;
3875
- min-width: 0;
3876
- gap: var(--spacing-2);
4000
+ .muka-textarea__helper {
4001
+ font-family: var(--text-label-sm-regular-fontFamily);
4002
+ font-weight: var(--text-label-sm-regular-fontWeight);
4003
+ font-size: var(--text-label-sm-regular-fontSize);
4004
+ line-height: var(--text-label-sm-regular-lineHeight);
4005
+ color: var(--color-text-subtle-default);
4006
+ margin: 0;
3877
4007
  }
3878
4008
 
3879
- /* ─── Heading typography ──────────────────────────────── */
3880
-
3881
- .muka-tile__heading {
4009
+ .muka-textarea__error {
4010
+ font-family: var(--text-label-sm-regular-fontFamily);
4011
+ font-weight: var(--text-label-sm-regular-fontWeight);
4012
+ font-size: var(--text-label-sm-regular-fontSize);
4013
+ line-height: var(--text-label-sm-regular-lineHeight);
4014
+ color: var(--color-state-error-default);
3882
4015
  margin: 0;
3883
4016
  }
3884
4017
 
3885
- .muka-tile--lg .muka-tile__heading {
3886
- font-family: var(--text-label-2xl-semibold-fontFamily);
3887
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3888
- font-size: var(--text-label-2xl-semibold-fontSize);
3889
- line-height: var(--text-label-2xl-semibold-lineHeight);
3890
- color: var(--color-text-default-default);
4018
+ .muka-textarea__count {
4019
+ font-family: var(--text-label-sm-regular-fontFamily);
4020
+ font-weight: var(--text-label-sm-regular-fontWeight);
4021
+ font-size: var(--text-label-sm-regular-fontSize);
4022
+ line-height: var(--text-label-sm-regular-lineHeight);
4023
+ color: var(--color-text-subtle-default);
4024
+ margin-left: auto;
3891
4025
  }
3892
4026
 
3893
- .muka-tile--md .muka-tile__heading {
3894
- font-family: var(--text-label-xl-semibold-fontFamily);
3895
- font-weight: var(--text-label-xl-semibold-fontWeight);
3896
- font-size: var(--text-label-xl-semibold-fontSize);
3897
- line-height: var(--text-label-xl-semibold-lineHeight);
3898
- color: var(--color-text-default-default);
3899
- }
3900
4027
 
3901
- .muka-tile--sm .muka-tile__heading {
3902
- font-family: var(--text-label-lg-bold-fontFamily);
3903
- font-weight: var(--text-label-lg-bold-fontWeight);
3904
- font-size: var(--text-label-lg-bold-fontSize);
3905
- line-height: var(--text-label-lg-bold-lineHeight);
3906
- color: var(--color-text-default-default);
3907
- }
4028
+ /* TextLink */
4029
+ /* TextLink Component Styles - Using Muka Design Tokens */
3908
4030
 
3909
- /* ─── Subheading typography ───────────────────────────── */
4031
+ .muka-text-link {
4032
+ display: inline;
4033
+ cursor: pointer;
4034
+ text-decoration: underline;
4035
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4036
+ text-underline-offset: 0.2em;
4037
+ text-decoration-thickness: from-font;
4038
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4039
+ border-radius: var(--border-radius-sm);
4040
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4041
+ }
3910
4042
 
3911
- .muka-tile__subheading {
3912
- margin: 0;
3913
- color: var(--color-text-subtle-default);
3914
- }
3915
-
3916
- .muka-tile--lg .muka-tile__subheading {
3917
- font-family: var(--text-subheading-md-fontFamily);
3918
- font-weight: var(--text-subheading-md-fontWeight);
3919
- font-size: var(--text-subheading-md-fontSize);
3920
- line-height: var(--text-subheading-md-lineHeight);
3921
- }
3922
-
3923
- .muka-tile--md .muka-tile__subheading,
3924
- .muka-tile--sm .muka-tile__subheading {
3925
- font-family: var(--text-subheading-sm-fontFamily);
3926
- font-weight: var(--text-subheading-sm-fontWeight);
3927
- font-size: var(--text-subheading-sm-fontSize);
3928
- line-height: var(--text-subheading-sm-lineHeight);
4043
+ /* ─── Sizes ───────────────────────────────────────────────
4044
+ Mirrors the body text scale so a link matches the copy it sits in. */
4045
+ .muka-text-link--sm {
4046
+ font-family: var(--text-body-sm-regular-fontFamily);
4047
+ font-weight: var(--text-body-sm-regular-fontWeight);
4048
+ font-size: var(--text-body-sm-regular-fontSize);
4049
+ line-height: var(--text-body-sm-regular-lineHeight);
3929
4050
  }
3930
4051
 
3931
- /* ─── Description typography ──────────────────────────── */
3932
-
3933
- .muka-tile__description {
3934
- margin: 0;
3935
- color: var(--color-text-default-default);
4052
+ .muka-text-link--base {
4053
+ font-family: var(--text-body-base-regular-fontFamily);
4054
+ font-weight: var(--text-body-base-regular-fontWeight);
4055
+ font-size: var(--text-body-base-regular-fontSize);
4056
+ line-height: var(--text-body-base-regular-lineHeight);
3936
4057
  }
3937
4058
 
3938
- .muka-tile--lg .muka-tile__description {
4059
+ .muka-text-link--lg {
3939
4060
  font-family: var(--text-body-lg-regular-fontFamily);
3940
4061
  font-weight: var(--text-body-lg-regular-fontWeight);
3941
4062
  font-size: var(--text-body-lg-regular-fontSize);
3942
4063
  line-height: var(--text-body-lg-regular-lineHeight);
3943
4064
  }
3944
4065
 
3945
- .muka-tile--md .muka-tile__description,
3946
- .muka-tile--sm .muka-tile__description {
3947
- font-family: var(--text-body-base-regular-fontFamily);
3948
- font-weight: var(--text-body-base-regular-fontWeight);
3949
- font-size: var(--text-body-base-regular-fontSize);
3950
- line-height: var(--text-body-base-regular-lineHeight);
4066
+ /* ─── Variant: default (accent) ───────────────────────────
4067
+ Visited repeats the default colour on purpose: the design treats visited and
4068
+ default the same, and pinning it stops the browser's purple from showing. */
4069
+ .muka-text-link--default,
4070
+ .muka-text-link--default:visited {
4071
+ color: var(--color-text-action-default);
3951
4072
  }
3952
4073
 
3953
- /* Description overflow for medium */
3954
- .muka-tile--md .muka-tile__description {
3955
- overflow: hidden;
3956
- text-overflow: ellipsis;
4074
+ .muka-text-link--default:hover,
4075
+ .muka-text-link--default:focus-visible {
4076
+ color: var(--color-text-action-hover);
3957
4077
  }
3958
4078
 
3959
- /* ─── Price slot ──────────────────────────────────────── */
4079
+ .muka-text-link--default:active {
4080
+ color: var(--color-text-action-pressed);
4081
+ }
3960
4082
 
3961
- .muka-tile__price {
3962
- flex-shrink: 0;
4083
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4084
+ Hover, focus and pressed all darken to the default text colour. */
4085
+ .muka-text-link--subtle,
4086
+ .muka-text-link--subtle:visited {
4087
+ color: var(--color-text-subtle-default);
3963
4088
  }
3964
4089
 
3965
- /* ─── Action slot ─────────────────────────────────────── */
4090
+ .muka-text-link--subtle:hover,
4091
+ .muka-text-link--subtle:focus-visible,
4092
+ .muka-text-link--subtle:active {
4093
+ color: var(--color-text-default-default);
4094
+ }
3966
4095
 
3967
- .muka-tile__action {
3968
- flex-shrink: 0;
4096
+ /* ─── Focus ───────────────────────────────────────────────
4097
+ Same ring as every other focusable Muka component. */
4098
+ .muka-text-link:focus-visible {
4099
+ outline: 2px solid var(--color-border-focus);
4100
+ outline-offset: 2px;
3969
4101
  }
3970
4102
 
4103
+ @media (prefers-reduced-motion: reduce) {
4104
+ .muka-text-link {
4105
+ transition: none;
4106
+ }
4107
+ }
3971
4108
 
3972
- /* Thumbnail */
3973
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3974
4109
 
3975
- .muka-thumbnail {
3976
- position: relative;
3977
- flex-shrink: 0;
3978
- }
4110
+ /* Tabs */
4111
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3979
4112
 
3980
- /* The frame carries the border, background and shape clip. Keeping it separate
3981
- from the root lets the remove (×) button sit outside the clip (needed for the
3982
- circular/ellipse shape, whose corners would otherwise clip the button). */
3983
- .muka-thumbnail__frame {
3984
- position: absolute;
3985
- inset: 0;
3986
- overflow: hidden;
3987
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3988
- border-radius: var(--border-radius-lg);
3989
- background-color: var(--color-surface-level1);
4113
+ .muka-tabs {
4114
+ display: flex;
4115
+ flex-direction: column;
3990
4116
  }
3991
4117
 
3992
- /* ─── Shapes ──────────────────────────────────────────── */
3993
- .muka-thumbnail--4-3 {
3994
- width: 160px;
3995
- height: 120px;
4118
+ /* Alignment Variants */
4119
+ .muka-tabs--align-left .muka-tabs__list {
4120
+ justify-content: flex-start;
3996
4121
  }
3997
-
3998
- .muka-thumbnail--1-1 {
3999
- width: 120px;
4000
- height: 120px;
4122
+ .muka-tabs--align-center .muka-tabs__list {
4123
+ justify-content: center;
4001
4124
  }
4002
-
4003
- .muka-thumbnail--ellipse {
4004
- width: 120px;
4005
- height: 120px;
4125
+ .muka-tabs--align-fill .muka-tabs__list {
4126
+ justify-content: space-between;
4127
+ }
4128
+ .muka-tabs--align-fill .muka-tabs__trigger {
4129
+ flex: 1;
4006
4130
  }
4007
4131
 
4008
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4009
- .muka-thumbnail--fluid {
4010
- width: 100%;
4011
- height: auto;
4012
- aspect-ratio: 1 / 1;
4132
+ /* Tab List — strip container */
4133
+ .muka-tabs__list {
4134
+ display: flex;
4135
+ align-items: center;
4136
+ position: relative;
4137
+ z-index: 2;
4138
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4013
4139
  }
4014
4140
 
4015
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4016
- aspect-ratio: 4 / 3;
4141
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4142
+ .muka-tabs--padding-default .muka-tabs__list {
4143
+ padding-inline: var(--tabs-list-padding-x);
4017
4144
  }
4018
4145
 
4019
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4020
- border-radius: var(--border-radius-full);
4146
+ /* Tab Trigger — clean underline style */
4147
+ .muka-tabs__trigger {
4148
+ display: inline-flex;
4149
+ align-items: center;
4150
+ justify-content: center;
4151
+ gap: var(--spacing-1);
4152
+ background: transparent;
4153
+ border: none;
4154
+ cursor: pointer;
4155
+ user-select: none;
4156
+ transition: background-color 0.2s ease, color 0.2s ease;
4157
+ outline: none;
4158
+ white-space: nowrap;
4159
+ position: relative;
4160
+ z-index: 2;
4161
+ color: var(--tabs-trigger-color-default-foreground);
4162
+
4163
+ /* Default MD size values */
4164
+ min-height: var(--tabs-trigger-min-height-md);
4165
+ padding: var(--spacing-3);
4166
+ font-family: var(--text-label-md-regular-fontFamily);
4167
+ font-weight: var(--text-label-md-regular-fontWeight);
4168
+ font-size: var(--text-label-md-regular-fontSize);
4169
+ line-height: var(--text-label-md-regular-lineHeight);
4021
4170
  }
4022
4171
 
4023
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4024
- interactive hover zoom has a clean origin. */
4025
- .muka-thumbnail__image {
4026
- position: absolute;
4027
- inset: 0;
4028
- width: 100%;
4029
- height: 100%;
4030
- object-fit: cover;
4031
- display: block;
4032
- transform-origin: center;
4033
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4034
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4172
+ /* Size Variants */
4173
+ .muka-tabs--size-sm .muka-tabs__trigger {
4174
+ min-height: var(--tabs-trigger-min-height-sm);
4175
+ padding: 0 var(--spacing-2);
4176
+ font-family: var(--text-label-sm-regular-fontFamily);
4177
+ font-weight: var(--text-label-sm-regular-fontWeight);
4178
+ font-size: var(--text-label-sm-regular-fontSize);
4179
+ line-height: var(--text-label-sm-regular-lineHeight);
4035
4180
  }
4036
4181
 
4037
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4038
- .muka-thumbnail__trigger {
4039
- position: absolute;
4040
- inset: 0;
4041
- padding: 0;
4042
- border: 0;
4043
- background: none;
4044
- cursor: pointer;
4045
- overflow: hidden;
4182
+ .muka-tabs--size-lg .muka-tabs__trigger {
4183
+ min-height: var(--tabs-trigger-min-height-lg);
4184
+ padding: var(--spacing-4);
4185
+ font-family: var(--text-label-lg-regular-fontFamily);
4186
+ font-weight: var(--text-label-lg-regular-fontWeight);
4187
+ font-size: var(--text-label-lg-regular-fontSize);
4188
+ line-height: var(--text-label-lg-regular-lineHeight);
4046
4189
  }
4047
4190
 
4048
- .muka-thumbnail__trigger:focus-visible {
4049
- outline: 2px solid var(--color-border-focus);
4050
- outline-offset: -2px;
4191
+ /* Hover state */
4192
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4193
+ color: var(--tabs-trigger-color-hover-foreground);
4051
4194
  }
4052
4195
 
4053
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4054
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4055
- transform: scale(1.05);
4196
+ /* Current tab */
4197
+ .muka-tabs__trigger--current {
4198
+ color: var(--tabs-trigger-color-current-foreground);
4056
4199
  }
4057
4200
 
4058
- /* ─── Loading overlay + progress donut ────────────────── */
4059
- .muka-thumbnail__overlay {
4201
+ /* Active bottom border (underline) */
4202
+ .muka-tabs__trigger--current::after {
4203
+ content: '';
4060
4204
  position: absolute;
4061
- inset: 0;
4062
- display: flex;
4063
- align-items: center;
4064
- justify-content: center;
4065
- background-color: var(--dialog-color-backdrop);
4205
+ bottom: -1px; /* Overlap the 1px border */
4206
+ left: 0;
4207
+ right: 0;
4208
+ height: var(--tabs-indicator-height-md);
4209
+ background-color: var(--tabs-indicator-color);
4210
+ border-bottom-left-radius: 1px;
4211
+ border-bottom-right-radius: 1px;
4212
+ border-top-left-radius: 3px;
4213
+ border-top-right-radius: 3px;
4214
+ z-index: 3;
4066
4215
  }
4067
4216
 
4068
- .muka-thumbnail__progress {
4069
- width: 40px;
4070
- height: 40px;
4217
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4218
+ height: var(--tabs-indicator-height-sm);
4071
4219
  }
4072
-
4073
- /* ─── Error / corrupt state ───────────────────────────── */
4074
- .muka-thumbnail--error .muka-thumbnail__frame {
4075
- background-color: var(--alias-color-state-error-muted);
4076
- border-color: var(--alias-color-state-error-default);
4220
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4221
+ height: var(--tabs-indicator-height-lg);
4077
4222
  }
4078
4223
 
4079
- .muka-thumbnail__error {
4080
- position: absolute;
4081
- inset: 0;
4082
- display: flex;
4083
- flex-direction: column;
4084
- align-items: center;
4085
- justify-content: center;
4086
- gap: var(--spacing-2);
4087
- padding: var(--spacing-3);
4088
- text-align: center;
4224
+ .muka-tabs__trigger--disabled {
4225
+ color: var(--tabs-trigger-color-disabled-foreground);
4226
+ cursor: not-allowed;
4089
4227
  }
4090
4228
 
4091
- .muka-thumbnail__error-icon {
4092
- color: var(--alert-color-error-accent);
4229
+ .muka-tabs__trigger:focus-visible {
4230
+ outline: 2px solid var(--color-border-focus);
4231
+ outline-offset: -2px;
4093
4232
  }
4094
4233
 
4095
- .muka-thumbnail__caption {
4096
- max-width: 100%;
4097
- overflow: hidden;
4098
- text-overflow: ellipsis;
4099
- white-space: nowrap;
4100
- color: var(--alert-color-error-accent);
4101
- font-family: var(--text-body-sm-regular-fontFamily);
4102
- font-size: var(--text-body-sm-regular-fontSize);
4103
- font-weight: var(--text-body-sm-regular-fontWeight);
4104
- line-height: var(--text-body-sm-regular-lineHeight);
4234
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4235
+ item sits 12px from the text */
4236
+ .muka-tabs__label {
4237
+ padding: 0 var(--spacing-2);
4105
4238
  }
4106
4239
 
4107
- /* ─── Remove (×) button ───────────────────────────────── */
4108
- .muka-thumbnail__remove {
4109
- position: absolute;
4110
- top: var(--spacing-2);
4111
- right: var(--spacing-2);
4240
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4241
+ .muka-tabs__leading {
4112
4242
  display: flex;
4113
4243
  align-items: center;
4114
4244
  justify-content: center;
4115
- width: var(--size-2xl);
4116
- height: var(--size-2xl);
4117
- padding: 0;
4118
- color: var(--button-color-tertiary-foreground-default);
4119
- background-color: var(--button-color-tertiary-background-default);
4120
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4121
- border-radius: var(--border-radius-lg);
4122
- cursor: pointer;
4123
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4124
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4245
+ flex-shrink: 0;
4125
4246
  }
4247
+ .muka-tabs__trigger .muka-icon {
4248
+ color: inherit;
4249
+ }
4250
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4251
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4252
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4253
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4254
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4255
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4256
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4126
4257
 
4127
- .muka-thumbnail__remove:hover {
4128
- color: var(--button-color-tertiary-foreground-hover);
4129
- background-color: var(--button-color-tertiary-background-hover);
4130
- border-color: var(--button-color-tertiary-border-hover);
4258
+ /* Responsive Scroll behavior on small screens */
4259
+ @media (max-width: 768px) {
4260
+ .muka-tabs__list {
4261
+ /* Make scrollable */
4262
+ overflow-x: auto;
4263
+ overflow-y: hidden;
4264
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4265
+ justify-content: flex-start !important;
4266
+ max-width: 100vw;
4267
+ -webkit-overflow-scrolling: touch;
4268
+ /* Hide scrollbar for cleaner look */
4269
+ scrollbar-width: none;
4270
+ }
4271
+ .muka-tabs__list::-webkit-scrollbar {
4272
+ display: none;
4273
+ }
4274
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4275
+ .muka-tabs--align-fill .muka-tabs__trigger {
4276
+ flex: 0 0 auto;
4277
+ }
4131
4278
  }
4132
4279
 
4133
- .muka-thumbnail__remove:active {
4134
- color: var(--button-color-tertiary-foreground-pressed);
4135
- background-color: var(--button-color-tertiary-background-pressed);
4136
- border-color: var(--button-color-tertiary-border-pressed);
4280
+ /* Tab Panel — content area */
4281
+ .muka-tabs__panel {
4282
+ background-color: var(--tabs-panel-background);
4283
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4284
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4285
+ padding: var(--spacing-4);
4286
+ position: relative;
4287
+ z-index: 1;
4288
+ font-family: var(--text-body-base-regular-fontFamily);
4289
+ font-weight: var(--text-body-base-regular-fontWeight);
4290
+ font-size: var(--text-body-base-regular-fontSize);
4291
+ line-height: var(--text-body-base-regular-lineHeight);
4137
4292
  }
4138
4293
 
4139
- .muka-thumbnail__remove:focus-visible {
4294
+ .muka-tabs__panel:focus-visible {
4140
4295
  outline: 2px solid var(--color-border-focus);
4141
4296
  outline-offset: 2px;
4142
4297
  }
4143
4298
 
4144
- /* ─── Reduced motion ──────────────────────────────────── */
4145
- @media (prefers-reduced-motion: reduce) {
4146
- .muka-thumbnail__image,
4147
- .muka-thumbnail__remove {
4148
- transition: none;
4149
- }
4150
-
4151
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4152
- transform: none;
4153
- }
4154
- }
4155
-
4156
4299
 
4157
- /* Textarea */
4158
- /* Textarea Component Styles - Using Muka Design Tokens */
4300
+ /* Tile */
4301
+ /* Tile Component Styles - Using Muka Design Tokens */
4159
4302
 
4160
- .muka-textarea {
4161
- display: inline-flex;
4162
- flex-direction: column;
4163
- gap: var(--spacing-2);
4164
- }
4303
+ /* ─── Base ────────────────────────────────────────────── */
4165
4304
 
4166
- /* Label */
4167
- .muka-textarea__label {
4305
+ .muka-tile {
4306
+ display: flex;
4168
4307
  color: var(--color-text-default-default);
4169
- cursor: pointer;
4170
- }
4171
-
4172
- .muka-textarea__label--sm {
4173
- font-family: var(--text-label-sm-semibold-fontFamily);
4174
- font-weight: var(--text-label-sm-semibold-fontWeight);
4175
- font-size: var(--text-label-sm-semibold-fontSize);
4176
- line-height: var(--text-label-sm-semibold-lineHeight);
4177
4308
  }
4178
4309
 
4179
- .muka-textarea__label--md {
4180
- font-family: var(--text-label-md-semibold-fontFamily);
4181
- font-weight: var(--text-label-md-semibold-fontWeight);
4182
- font-size: var(--text-label-md-semibold-fontSize);
4183
- line-height: var(--text-label-md-semibold-lineHeight);
4310
+ .muka-tile--interactive {
4311
+ cursor: pointer;
4312
+ user-select: none;
4184
4313
  }
4185
4314
 
4186
- .muka-textarea__label--lg {
4187
- font-family: var(--text-label-lg-semibold-fontFamily);
4188
- font-weight: var(--text-label-lg-semibold-fontWeight);
4189
- font-size: var(--text-label-lg-semibold-fontSize);
4190
- line-height: var(--text-label-lg-semibold-lineHeight);
4315
+ .muka-tile--interactive:focus-visible {
4316
+ outline: 2px solid var(--color-border-focus);
4317
+ outline-offset: 2px;
4318
+ border-radius: var(--border-radius-lg);
4191
4319
  }
4192
4320
 
4193
- .muka-textarea__required {
4194
- color: var(--color-state-error-default);
4195
- }
4321
+ /* ─── Image position variants ─────────────────────────── */
4196
4322
 
4197
- /* Field container */
4198
- .muka-textarea__field {
4199
- display: flex;
4200
- background-color: var(--input-field-color-default-background);
4201
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4202
- border-radius: var(--input-field-radius-md);
4203
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4204
- transition: border-color 0.2s ease, background-color 0.2s ease;
4205
- box-sizing: border-box;
4323
+ .muka-tile--image-top {
4324
+ flex-direction: column;
4206
4325
  }
4207
4326
 
4208
- .muka-textarea__field--sm {
4209
- min-height: var(--input-textarea-height-sm);
4210
- border-radius: var(--input-field-radius-sm);
4327
+ .muka-tile--image-left {
4328
+ flex-direction: row;
4211
4329
  }
4212
4330
 
4213
- .muka-textarea__field--md {
4214
- min-height: var(--input-textarea-height-default);
4215
- border-radius: var(--input-field-radius-md);
4331
+ .muka-tile--image-right {
4332
+ flex-direction: row;
4216
4333
  }
4217
4334
 
4218
- .muka-textarea__field--lg {
4219
- min-height: var(--input-textarea-height-lg);
4220
- border-radius: var(--input-field-radius-lg);
4221
- }
4335
+ /* ─── Gap by size (top) ───────────────────────────────── */
4222
4336
 
4223
- /* Focus state */
4224
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4225
- border-width: var(--border-width-bold);
4226
- border-color: var(--input-field-color-focus-border);
4227
- background-color: var(--input-field-color-focus-background);
4228
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4337
+ .muka-tile--image-top.muka-tile--lg {
4338
+ gap: var(--spacing-6);
4229
4339
  }
4230
4340
 
4231
- /* Error state */
4232
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4233
- border-width: var(--border-width-bold);
4234
- border-color: var(--input-field-color-error-border);
4235
- background-color: var(--input-field-color-error-background);
4236
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4341
+ .muka-tile--image-top.muka-tile--md {
4342
+ gap: var(--spacing-6);
4343
+ width: 320px;
4237
4344
  }
4238
4345
 
4239
- /* Disabled state */
4240
- .muka-textarea__field--disabled {
4241
- background-color: var(--input-field-color-disabled-background);
4242
- border-color: var(--input-field-color-disabled-border);
4243
- cursor: not-allowed;
4346
+ .muka-tile--image-top.muka-tile--sm {
4347
+ gap: var(--spacing-4);
4348
+ min-width: 120px;
4244
4349
  }
4245
4350
 
4246
- /* Native textarea */
4247
- .muka-textarea__native {
4248
- flex: 1;
4249
- border: none;
4250
- outline: none;
4251
- background: transparent;
4252
- color: var(--input-field-color-default-foreground);
4253
- font-family: var(--text-input-md-fontFamily);
4254
- font-weight: var(--text-input-md-fontWeight);
4255
- font-size: var(--text-input-md-fontSize);
4256
- line-height: var(--text-input-md-lineHeight);
4257
- padding: 0;
4258
- width: 100%;
4259
- min-width: 0;
4351
+ /* ─── Gap by size (left/right) ────────────────────────── */
4352
+
4353
+ .muka-tile--image-left.muka-tile--lg,
4354
+ .muka-tile--image-right.muka-tile--lg {
4355
+ gap: var(--spacing-6);
4356
+ align-items: center;
4260
4357
  }
4261
4358
 
4262
- .muka-textarea__field--sm .muka-textarea__native {
4263
- font-family: var(--text-input-sm-fontFamily);
4264
- font-weight: var(--text-input-sm-fontWeight);
4265
- font-size: var(--text-input-sm-fontSize);
4266
- line-height: var(--text-input-sm-lineHeight);
4359
+ .muka-tile--image-left.muka-tile--md,
4360
+ .muka-tile--image-right.muka-tile--md {
4361
+ gap: var(--spacing-6);
4362
+ align-items: center;
4267
4363
  }
4268
4364
 
4269
- .muka-textarea__field--lg .muka-textarea__native {
4270
- font-family: var(--text-input-lg-fontFamily);
4271
- font-weight: var(--text-input-lg-fontWeight);
4272
- font-size: var(--text-input-lg-fontSize);
4273
- line-height: var(--text-input-lg-lineHeight);
4365
+ .muka-tile--image-left.muka-tile--sm,
4366
+ .muka-tile--image-right.muka-tile--sm {
4367
+ gap: var(--spacing-4);
4368
+ align-items: flex-start;
4274
4369
  }
4275
4370
 
4276
- .muka-textarea__native::placeholder {
4277
- color: var(--color-text-subtle-default);
4371
+ /* ─── Photos container ────────────────────────────────── */
4372
+
4373
+ .muka-tile__photos {
4374
+ position: relative;
4375
+ flex-shrink: 0;
4376
+ overflow: hidden;
4377
+ display: flex;
4378
+ flex-direction: column;
4379
+ isolation: isolate;
4278
4380
  }
4279
4381
 
4280
- .muka-textarea__field--disabled .muka-textarea__native {
4281
- color: var(--input-field-color-disabled-foreground);
4282
- cursor: not-allowed;
4382
+ /* Photos border radius by size */
4383
+ .muka-tile--lg .muka-tile__photos,
4384
+ .muka-tile--md .muka-tile__photos {
4385
+ border-radius: var(--border-radius-lg);
4283
4386
  }
4284
4387
 
4285
- /* Footer (helper/error + count) */
4286
- .muka-textarea__footer {
4287
- display: flex;
4288
- justify-content: space-between;
4289
- align-items: flex-start;
4290
- gap: var(--spacing-2);
4388
+ .muka-tile--sm .muka-tile__photos {
4389
+ border-radius: var(--border-radius-md);
4291
4390
  }
4292
4391
 
4293
- .muka-textarea__helper {
4294
- font-family: var(--text-label-sm-regular-fontFamily);
4295
- font-weight: var(--text-label-sm-regular-fontWeight);
4296
- font-size: var(--text-label-sm-regular-fontSize);
4297
- line-height: var(--text-label-sm-regular-lineHeight);
4298
- color: var(--color-text-subtle-default);
4299
- margin: 0;
4392
+ /* Photos sizing: top layout */
4393
+ .muka-tile--image-top .muka-tile__photos {
4394
+ width: 100%;
4300
4395
  }
4301
4396
 
4302
- .muka-textarea__error {
4303
- font-family: var(--text-label-sm-regular-fontFamily);
4304
- font-weight: var(--text-label-sm-regular-fontWeight);
4305
- font-size: var(--text-label-sm-regular-fontSize);
4306
- line-height: var(--text-label-sm-regular-lineHeight);
4307
- color: var(--color-state-error-default);
4308
- margin: 0;
4397
+ /* Photos sizing: left/right large */
4398
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4399
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4400
+ width: 520px;
4309
4401
  }
4310
4402
 
4311
- .muka-textarea__count {
4312
- font-family: var(--text-label-sm-regular-fontFamily);
4313
- font-weight: var(--text-label-sm-regular-fontWeight);
4314
- font-size: var(--text-label-sm-regular-fontSize);
4315
- line-height: var(--text-label-sm-regular-lineHeight);
4316
- color: var(--color-text-subtle-default);
4317
- margin-left: auto;
4403
+ /* Photos sizing: left/right medium */
4404
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4405
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4406
+ width: 320px;
4318
4407
  }
4319
4408
 
4409
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4410
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4411
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4412
+ width: 80px;
4413
+ align-self: stretch;
4414
+ }
4320
4415
 
4321
- /* TextLink */
4322
- /* TextLink Component Styles - Using Muka Design Tokens */
4416
+ /* ─── Main photo ──────────────────────────────────────── */
4323
4417
 
4324
- .muka-text-link {
4325
- display: inline;
4326
- cursor: pointer;
4327
- text-decoration: underline;
4328
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4329
- text-underline-offset: 0.2em;
4330
- text-decoration-thickness: from-font;
4331
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4332
- border-radius: var(--border-radius-sm);
4333
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4418
+ .muka-tile__photo-main {
4419
+ position: relative;
4420
+ width: 100%;
4421
+ overflow: hidden;
4422
+ flex-shrink: 0;
4334
4423
  }
4335
4424
 
4336
- /* ─── Sizes ───────────────────────────────────────────────
4337
- Mirrors the body text scale so a link matches the copy it sits in. */
4338
- .muka-text-link--sm {
4339
- font-family: var(--text-body-sm-regular-fontFamily);
4340
- font-weight: var(--text-body-sm-regular-fontWeight);
4341
- font-size: var(--text-body-sm-regular-fontSize);
4342
- line-height: var(--text-body-sm-regular-lineHeight);
4425
+ /* 16:9 aspect for lg and md */
4426
+ .muka-tile--lg .muka-tile__photo-main,
4427
+ .muka-tile--md .muka-tile__photo-main {
4428
+ aspect-ratio: 1280 / 720;
4343
4429
  }
4344
4430
 
4345
- .muka-text-link--base {
4346
- font-family: var(--text-body-base-regular-fontFamily);
4347
- font-weight: var(--text-body-base-regular-fontWeight);
4348
- font-size: var(--text-body-base-regular-fontSize);
4349
- line-height: var(--text-body-base-regular-lineHeight);
4431
+ /* 1:1 aspect for top + sm */
4432
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4433
+ aspect-ratio: 1 / 1;
4350
4434
  }
4351
4435
 
4352
- .muka-text-link--lg {
4353
- font-family: var(--text-body-lg-regular-fontFamily);
4354
- font-weight: var(--text-body-lg-regular-fontWeight);
4355
- font-size: var(--text-body-lg-regular-fontSize);
4356
- line-height: var(--text-body-lg-regular-lineHeight);
4436
+ /* Fixed size for left/right + sm */
4437
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4438
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4439
+ width: 80px;
4440
+ height: 80px;
4441
+ aspect-ratio: auto;
4357
4442
  }
4358
4443
 
4359
- /* ─── Variant: default (accent) ───────────────────────────
4360
- Visited repeats the default colour on purpose: the design treats visited and
4361
- default the same, and pinning it stops the browser's purple from showing. */
4362
- .muka-text-link--default,
4363
- .muka-text-link--default:visited {
4364
- color: var(--color-text-action-default);
4444
+ .muka-tile__photo-main img {
4445
+ width: 100%;
4446
+ height: 100%;
4447
+ object-fit: cover;
4448
+ display: block;
4365
4449
  }
4366
4450
 
4367
- .muka-text-link--default:hover,
4368
- .muka-text-link--default:focus-visible {
4369
- color: var(--color-text-action-hover);
4451
+ /* ─── Favourite overlay ───────────────────────────────── */
4452
+
4453
+ .muka-tile__favourite {
4454
+ position: absolute;
4455
+ z-index: 3;
4370
4456
  }
4371
4457
 
4372
- .muka-text-link--default:active {
4373
- color: var(--color-text-action-pressed);
4458
+ .muka-tile--lg .muka-tile__favourite,
4459
+ .muka-tile--md .muka-tile__favourite {
4460
+ top: var(--spacing-4);
4461
+ right: var(--spacing-4);
4374
4462
  }
4375
4463
 
4376
- /* ─── Variant: subtle (neutral) ───────────────────────────
4377
- Hover, focus and pressed all darken to the default text colour. */
4378
- .muka-text-link--subtle,
4379
- .muka-text-link--subtle:visited {
4380
- color: var(--color-text-subtle-default);
4464
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4465
+ top: var(--spacing-1);
4466
+ right: var(--spacing-1);
4381
4467
  }
4382
4468
 
4383
- .muka-text-link--subtle:hover,
4384
- .muka-text-link--subtle:focus-visible,
4385
- .muka-text-link--subtle:active {
4386
- color: var(--color-text-default-default);
4469
+ /* ─── Thumbnails ──────────────────────────────────────── */
4470
+
4471
+ .muka-tile__thumbnails {
4472
+ display: flex;
4473
+ gap: 2px;
4474
+ overflow: hidden;
4475
+ flex-shrink: 0;
4476
+ height: 80px;
4387
4477
  }
4388
4478
 
4389
- /* ─── Focus ───────────────────────────────────────────────
4390
- Same ring as every other focusable Muka component. */
4391
- .muka-text-link:focus-visible {
4392
- outline: 2px solid var(--color-border-focus);
4393
- outline-offset: 2px;
4479
+ .muka-tile__thumbnail {
4480
+ width: 80px;
4481
+ height: 80px;
4482
+ flex-shrink: 0;
4483
+ overflow: hidden;
4394
4484
  }
4395
4485
 
4396
- @media (prefers-reduced-motion: reduce) {
4397
- .muka-text-link {
4398
- transition: none;
4399
- }
4486
+ .muka-tile__thumbnail img {
4487
+ width: 100%;
4488
+ height: 100%;
4489
+ object-fit: cover;
4490
+ display: block;
4400
4491
  }
4401
4492
 
4493
+ /* Gap between main photo and thumbnails */
4494
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4495
+ margin-top: 2px;
4496
+ }
4402
4497
 
4403
- /* Tabs */
4404
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4498
+ /* ─── Content section ─────────────────────────────────── */
4405
4499
 
4406
- .muka-tabs {
4500
+ .muka-tile__content {
4407
4501
  display: flex;
4408
4502
  flex-direction: column;
4503
+ flex: 1;
4504
+ min-width: 0;
4409
4505
  }
4410
4506
 
4411
- /* Alignment Variants */
4412
- .muka-tabs--align-left .muka-tabs__list {
4413
- justify-content: flex-start;
4507
+ /* Top layout: content has horizontal padding */
4508
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4509
+ padding: 0 var(--spacing-3);
4510
+ gap: var(--spacing-1);
4414
4511
  }
4415
- .muka-tabs--align-center .muka-tabs__list {
4416
- justify-content: center;
4512
+
4513
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4514
+ padding: 0 var(--spacing-3);
4515
+ gap: var(--spacing-2);
4417
4516
  }
4418
- .muka-tabs--align-fill .muka-tabs__list {
4419
- justify-content: space-between;
4517
+
4518
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4519
+ gap: var(--spacing-2);
4420
4520
  }
4421
- .muka-tabs--align-fill .muka-tabs__trigger {
4422
- flex: 1;
4521
+
4522
+ /* Left/right layout: content grows to fill space */
4523
+ .muka-tile--image-left .muka-tile__content,
4524
+ .muka-tile--image-right .muka-tile__content {
4525
+ gap: var(--spacing-3);
4526
+ }
4527
+
4528
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4529
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4530
+ padding: 0 var(--spacing-3);
4423
4531
  }
4424
4532
 
4425
- /* Tab List — strip container */
4426
- .muka-tabs__list {
4427
- display: flex;
4428
- align-items: center;
4429
- position: relative;
4430
- z-index: 2;
4431
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4533
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4534
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4535
+ padding: var(--spacing-2) var(--spacing-3);
4432
4536
  }
4433
4537
 
4434
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4435
- .muka-tabs--padding-default .muka-tabs__list {
4436
- padding-inline: var(--tabs-list-padding-x);
4538
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4539
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4540
+ gap: var(--spacing-2);
4437
4541
  }
4438
4542
 
4439
- /* Tab Trigger — clean underline style */
4440
- .muka-tabs__trigger {
4441
- display: inline-flex;
4442
- align-items: center;
4443
- justify-content: center;
4444
- gap: var(--spacing-1);
4445
- background: transparent;
4446
- border: none;
4447
- cursor: pointer;
4448
- user-select: none;
4449
- transition: background-color 0.2s ease, color 0.2s ease;
4450
- outline: none;
4451
- white-space: nowrap;
4452
- position: relative;
4453
- z-index: 2;
4454
- color: var(--tabs-trigger-color-default-foreground);
4543
+ /* ─── Header (heading row + price) ────────────────────── */
4455
4544
 
4456
- /* Default MD size values */
4457
- min-height: var(--tabs-trigger-min-height-md);
4458
- padding: var(--spacing-3);
4459
- font-family: var(--text-label-md-regular-fontFamily);
4460
- font-weight: var(--text-label-md-regular-fontWeight);
4461
- font-size: var(--text-label-md-regular-fontSize);
4462
- line-height: var(--text-label-md-regular-lineHeight);
4545
+ .muka-tile__header {
4546
+ display: flex;
4547
+ align-items: flex-start;
4548
+ gap: var(--spacing-4);
4463
4549
  }
4464
4550
 
4465
- /* Size Variants */
4466
- .muka-tabs--size-sm .muka-tabs__trigger {
4467
- min-height: var(--tabs-trigger-min-height-sm);
4468
- padding: 0 var(--spacing-2);
4469
- font-family: var(--text-label-sm-regular-fontFamily);
4470
- font-weight: var(--text-label-sm-regular-fontWeight);
4471
- font-size: var(--text-label-sm-regular-fontSize);
4472
- line-height: var(--text-label-sm-regular-lineHeight);
4551
+ /* Small horizontal: row with text and action */
4552
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4553
+ gap: var(--spacing-2);
4554
+ align-items: center;
4555
+ padding-top: var(--spacing-1);
4473
4556
  }
4474
4557
 
4475
- .muka-tabs--size-lg .muka-tabs__trigger {
4476
- min-height: var(--tabs-trigger-min-height-lg);
4477
- padding: var(--spacing-4);
4478
- font-family: var(--text-label-lg-regular-fontFamily);
4479
- font-weight: var(--text-label-lg-regular-fontWeight);
4480
- font-size: var(--text-label-lg-regular-fontSize);
4481
- line-height: var(--text-label-lg-regular-lineHeight);
4482
- }
4558
+ /* ─── Text group ──────────────────────────────────────── */
4483
4559
 
4484
- /* Hover state */
4485
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4486
- color: var(--tabs-trigger-color-hover-foreground);
4560
+ .muka-tile__text {
4561
+ display: flex;
4562
+ flex-direction: column;
4563
+ flex: 1;
4564
+ min-width: 0;
4565
+ gap: var(--spacing-2);
4487
4566
  }
4488
4567
 
4489
- /* Current tab */
4490
- .muka-tabs__trigger--current {
4491
- color: var(--tabs-trigger-color-current-foreground);
4492
- }
4568
+ /* ─── Heading typography ──────────────────────────────── */
4493
4569
 
4494
- /* Active bottom border (underline) */
4495
- .muka-tabs__trigger--current::after {
4496
- content: '';
4497
- position: absolute;
4498
- bottom: -1px; /* Overlap the 1px border */
4499
- left: 0;
4500
- right: 0;
4501
- height: var(--tabs-indicator-height-md);
4502
- background-color: var(--tabs-indicator-color);
4503
- border-bottom-left-radius: 1px;
4504
- border-bottom-right-radius: 1px;
4505
- border-top-left-radius: 3px;
4506
- border-top-right-radius: 3px;
4507
- z-index: 3;
4570
+ .muka-tile__heading {
4571
+ margin: 0;
4508
4572
  }
4509
4573
 
4510
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4511
- height: var(--tabs-indicator-height-sm);
4574
+ .muka-tile--lg .muka-tile__heading {
4575
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4576
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4577
+ font-size: var(--text-label-2xl-semibold-fontSize);
4578
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4579
+ color: var(--color-text-default-default);
4512
4580
  }
4513
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4514
- height: var(--tabs-indicator-height-lg);
4581
+
4582
+ .muka-tile--md .muka-tile__heading {
4583
+ font-family: var(--text-label-xl-semibold-fontFamily);
4584
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4585
+ font-size: var(--text-label-xl-semibold-fontSize);
4586
+ line-height: var(--text-label-xl-semibold-lineHeight);
4587
+ color: var(--color-text-default-default);
4515
4588
  }
4516
4589
 
4517
- .muka-tabs__trigger--disabled {
4518
- color: var(--tabs-trigger-color-disabled-foreground);
4519
- cursor: not-allowed;
4590
+ .muka-tile--sm .muka-tile__heading {
4591
+ font-family: var(--text-label-lg-bold-fontFamily);
4592
+ font-weight: var(--text-label-lg-bold-fontWeight);
4593
+ font-size: var(--text-label-lg-bold-fontSize);
4594
+ line-height: var(--text-label-lg-bold-lineHeight);
4595
+ color: var(--color-text-default-default);
4520
4596
  }
4521
4597
 
4522
- .muka-tabs__trigger:focus-visible {
4523
- outline: 2px solid var(--color-border-focus);
4524
- outline-offset: -2px;
4598
+ /* ─── Subheading typography ───────────────────────────── */
4599
+
4600
+ .muka-tile__subheading {
4601
+ margin: 0;
4602
+ color: var(--color-text-subtle-default);
4525
4603
  }
4526
4604
 
4527
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4528
- item sits 12px from the text */
4529
- .muka-tabs__label {
4530
- padding: 0 var(--spacing-2);
4605
+ .muka-tile--lg .muka-tile__subheading {
4606
+ font-family: var(--text-subheading-md-fontFamily);
4607
+ font-weight: var(--text-subheading-md-fontWeight);
4608
+ font-size: var(--text-subheading-md-fontSize);
4609
+ line-height: var(--text-subheading-md-lineHeight);
4531
4610
  }
4532
4611
 
4533
- /* Leading item: icon, avatar, avatar group or data pie chart */
4534
- .muka-tabs__leading {
4535
- display: flex;
4536
- align-items: center;
4537
- justify-content: center;
4538
- flex-shrink: 0;
4612
+ .muka-tile--md .muka-tile__subheading,
4613
+ .muka-tile--sm .muka-tile__subheading {
4614
+ font-family: var(--text-subheading-sm-fontFamily);
4615
+ font-weight: var(--text-subheading-sm-fontWeight);
4616
+ font-size: var(--text-subheading-sm-fontSize);
4617
+ line-height: var(--text-subheading-sm-lineHeight);
4539
4618
  }
4540
- .muka-tabs__trigger .muka-icon {
4541
- color: inherit;
4619
+
4620
+ /* ─── Description typography ──────────────────────────── */
4621
+
4622
+ .muka-tile__description {
4623
+ margin: 0;
4624
+ color: var(--color-text-default-default);
4542
4625
  }
4543
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4544
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4545
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4546
- .muka-tabs--size-md .muka-tabs__leading > svg,
4547
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4548
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4549
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4550
4626
 
4551
- /* Responsive Scroll behavior on small screens */
4552
- @media (max-width: 768px) {
4553
- .muka-tabs__list {
4554
- /* Make scrollable */
4555
- overflow-x: auto;
4556
- overflow-y: hidden;
4557
- /* Force left alignment on mobile to prevent clipping when scrolling */
4558
- justify-content: flex-start !important;
4559
- max-width: 100vw;
4560
- -webkit-overflow-scrolling: touch;
4561
- /* Hide scrollbar for cleaner look */
4562
- scrollbar-width: none;
4563
- }
4564
- .muka-tabs__list::-webkit-scrollbar {
4565
- display: none;
4566
- }
4567
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4568
- .muka-tabs--align-fill .muka-tabs__trigger {
4569
- flex: 0 0 auto;
4570
- }
4627
+ .muka-tile--lg .muka-tile__description {
4628
+ font-family: var(--text-body-lg-regular-fontFamily);
4629
+ font-weight: var(--text-body-lg-regular-fontWeight);
4630
+ font-size: var(--text-body-lg-regular-fontSize);
4631
+ line-height: var(--text-body-lg-regular-lineHeight);
4571
4632
  }
4572
4633
 
4573
- /* Tab Panel — content area */
4574
- .muka-tabs__panel {
4575
- background-color: var(--tabs-panel-background);
4576
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4577
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4578
- padding: var(--spacing-4);
4579
- position: relative;
4580
- z-index: 1;
4634
+ .muka-tile--md .muka-tile__description,
4635
+ .muka-tile--sm .muka-tile__description {
4581
4636
  font-family: var(--text-body-base-regular-fontFamily);
4582
4637
  font-weight: var(--text-body-base-regular-fontWeight);
4583
4638
  font-size: var(--text-body-base-regular-fontSize);
4584
4639
  line-height: var(--text-body-base-regular-lineHeight);
4585
4640
  }
4586
4641
 
4587
- .muka-tabs__panel:focus-visible {
4588
- outline: 2px solid var(--color-border-focus);
4589
- outline-offset: 2px;
4642
+ /* Description overflow for medium */
4643
+ .muka-tile--md .muka-tile__description {
4644
+ overflow: hidden;
4645
+ text-overflow: ellipsis;
4646
+ }
4647
+
4648
+ /* ─── Price slot ──────────────────────────────────────── */
4649
+
4650
+ .muka-tile__price {
4651
+ flex-shrink: 0;
4652
+ }
4653
+
4654
+ /* ─── Action slot ─────────────────────────────────────── */
4655
+
4656
+ .muka-tile__action {
4657
+ flex-shrink: 0;
4590
4658
  }
4591
4659
 
4592
4660
 
@@ -4971,104 +5039,134 @@ body {
4971
5039
  color: var(--color-text-default-default);
4972
5040
  }
4973
5041
 
4974
- .muka-table__header-cell--sortable:focus-visible {
4975
- outline: 2px solid var(--color-action-default);
4976
- outline-offset: -2px;
5042
+ .muka-table__header-cell--sortable:focus-visible {
5043
+ outline: 2px solid var(--color-action-default);
5044
+ outline-offset: -2px;
5045
+ }
5046
+
5047
+ /* Sort icon */
5048
+ .muka-table__sort-icon {
5049
+ width: 1em;
5050
+ height: 1em;
5051
+ opacity: 0.4;
5052
+ transition: opacity 0.2s, transform 0.2s;
5053
+ }
5054
+
5055
+ .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
5056
+ opacity: 0.7;
5057
+ }
5058
+
5059
+ .muka-table__sort-icon--asc,
5060
+ .muka-table__sort-icon--desc {
5061
+ opacity: 1;
5062
+ }
5063
+
5064
+
5065
+ /* SwipeActions */
5066
+ /* SwipeActions Component Styles */
5067
+
5068
+ .muka-swipe-actions {
5069
+ position: relative;
5070
+ overflow: hidden;
5071
+ touch-action: pan-y;
5072
+ -webkit-user-select: none;
5073
+ user-select: none;
5074
+ background-color: var(--color-surface-level3);
5075
+ }
5076
+
5077
+ .muka-swipe-actions--disabled {
5078
+ touch-action: auto;
4977
5079
  }
4978
5080
 
4979
- /* Sort icon */
4980
- .muka-table__sort-icon {
4981
- width: 1em;
4982
- height: 1em;
4983
- opacity: 0.4;
4984
- transition: opacity 0.2s, transform 0.2s;
5081
+ /* ─── Row that holds the actual content ────────────────── */
5082
+
5083
+ .muka-swipe-actions__row {
5084
+ position: relative;
5085
+ z-index: 1;
5086
+ background-color: inherit;
5087
+ will-change: transform;
4985
5088
  }
4986
5089
 
4987
- .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
4988
- opacity: 0.7;
5090
+ /* ─── Action panels — sit beneath the row ──────────────── */
5091
+
5092
+ .muka-swipe-actions__panel {
5093
+ position: absolute;
5094
+ top: 0;
5095
+ bottom: 0;
5096
+ display: flex;
5097
+ align-items: stretch;
5098
+ z-index: 0;
4989
5099
  }
4990
5100
 
4991
- .muka-table__sort-icon--asc,
4992
- .muka-table__sort-icon--desc {
4993
- opacity: 1;
5101
+ .muka-swipe-actions__panel--left {
5102
+ left: 0;
4994
5103
  }
4995
5104
 
5105
+ .muka-swipe-actions__panel--right {
5106
+ right: 0;
5107
+ }
4996
5108
 
4997
- /* Spinner */
4998
- /* Spinner Component Styles */
5109
+ /* ─── Single action button ─────────────────────────────── */
4999
5110
 
5000
- .muka-spinner {
5001
- display: inline-flex;
5111
+ .muka-swipe-actions__button {
5112
+ display: flex;
5113
+ flex-direction: column;
5002
5114
  align-items: center;
5003
5115
  justify-content: center;
5116
+ gap: var(--spacing-1);
5117
+ border: none;
5118
+ cursor: pointer;
5119
+ padding: var(--spacing-2);
5120
+ background-color: var(--color-surface-level2);
5004
5121
  color: var(--color-text-default-default);
5005
- line-height: 0;
5122
+ font-family: var(--text-label-sm-semibold-fontFamily);
5123
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5124
+ font-size: var(--text-label-sm-semibold-fontSize);
5125
+ line-height: var(--text-label-sm-semibold-lineHeight);
5126
+ -webkit-tap-highlight-color: transparent;
5127
+ transition: filter 0.12s ease;
5006
5128
  }
5007
5129
 
5008
- .muka-spinner--subtle {
5009
- color: var(--color-text-subtle-default);
5130
+ .muka-swipe-actions__button:hover {
5131
+ filter: brightness(0.95);
5010
5132
  }
5011
5133
 
5012
- .muka-spinner--inverse {
5013
- color: var(--color-text-default-inverse);
5134
+ .muka-swipe-actions__button:focus-visible {
5135
+ outline: 2px solid var(--color-action-default);
5136
+ outline-offset: -2px;
5014
5137
  }
5015
5138
 
5016
- .muka-spinner__circle {
5017
- display: inline-block;
5018
- border-radius: 50%;
5019
- border-style: solid;
5020
- border-color: currentColor;
5021
- border-right-color: transparent;
5022
- animation: muka-spinner-rotate 0.7s linear infinite;
5023
- box-sizing: border-box;
5139
+ .muka-swipe-actions__button-icon {
5140
+ display: inline-flex;
5141
+ align-items: center;
5142
+ justify-content: center;
5024
5143
  }
5025
5144
 
5026
- /* ─── Sizes ───────────────────────────────────────────── */
5027
-
5028
- .muka-spinner--sm .muka-spinner__circle {
5029
- width: 16px;
5030
- height: 16px;
5031
- border-width: 2px;
5032
- }
5145
+ /* ─── Color variants ───────────────────────────────────── */
5033
5146
 
5034
- .muka-spinner--md .muka-spinner__circle {
5035
- width: 20px;
5036
- height: 20px;
5037
- border-width: 2px;
5147
+ .muka-swipe-actions__button--neutral {
5148
+ background-color: var(--color-surface-level2);
5149
+ color: var(--color-text-default-default);
5038
5150
  }
5039
5151
 
5040
- .muka-spinner--lg .muka-spinner__circle {
5041
- width: 24px;
5042
- height: 24px;
5043
- border-width: 3px;
5152
+ .muka-swipe-actions__button--primary {
5153
+ background-color: var(--color-action-default);
5154
+ color: var(--color-text-default-inverse);
5044
5155
  }
5045
5156
 
5046
- /* ─── Visually-hidden label ───────────────────────────── */
5047
-
5048
- .muka-spinner__sr-label {
5049
- position: absolute;
5050
- width: 1px;
5051
- height: 1px;
5052
- padding: 0;
5053
- margin: -1px;
5054
- overflow: hidden;
5055
- clip: rect(0, 0, 0, 0);
5056
- white-space: nowrap;
5057
- border: 0;
5157
+ .muka-swipe-actions__button--success {
5158
+ background-color: var(--color-state-success-default);
5159
+ color: var(--color-text-default-inverse);
5058
5160
  }
5059
5161
 
5060
- /* ─── Reduced motion ──────────────────────────────────── */
5061
-
5062
- @keyframes muka-spinner-rotate {
5063
- to {
5064
- transform: rotate(360deg);
5065
- }
5162
+ .muka-swipe-actions__button--warning {
5163
+ background-color: var(--color-state-warning-default);
5164
+ color: var(--color-text-default-default);
5066
5165
  }
5067
5166
 
5068
- @media (prefers-reduced-motion: reduce) {
5069
- .muka-spinner__circle {
5070
- animation-duration: 2.5s;
5071
- }
5167
+ .muka-swipe-actions__button--destructive {
5168
+ background-color: var(--color-state-error-default);
5169
+ color: var(--color-text-default-inverse);
5072
5170
  }
5073
5171
 
5074
5172
 
@@ -5157,153 +5255,81 @@ body {
5157
5255
  }
5158
5256
 
5159
5257
 
5160
- /* SocialSignInButton */
5161
- /*
5162
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5163
- * Google Identity branding) and intentionally fixed across Muka brands —
5164
- * same exception pattern as LicensePlateInput regulatory colors.
5165
- *
5166
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5167
- * Google: https://developers.google.com/identity/branding-guidelines
5168
- */
5169
- .muka-social-sign-in-button {
5170
- --ssi-white: #ffffff;
5171
- --ssi-black: #000000;
5172
- --ssi-google-text-light: #1f1f1f;
5258
+ /* Spinner */
5259
+ /* Spinner Component Styles */
5173
5260
 
5261
+ .muka-spinner {
5174
5262
  display: inline-flex;
5175
5263
  align-items: center;
5176
5264
  justify-content: center;
5177
-
5178
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5179
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5180
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5181
- font-family: inherit;
5182
- font-weight: 600;
5183
- text-decoration: none;
5184
- white-space: nowrap;
5185
-
5186
- border: 1px solid transparent;
5187
- cursor: pointer;
5188
- user-select: none;
5189
- transition: opacity 0.15s ease, filter 0.15s ease;
5190
-
5191
- outline: none;
5192
- position: relative;
5193
- box-sizing: border-box;
5194
- }
5195
-
5196
- .muka-social-sign-in-button--apple {
5197
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5198
- Helvetica, Arial, sans-serif;
5199
- font-weight: 600;
5200
- }
5201
-
5202
- .muka-social-sign-in-button--google {
5203
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5204
- font-weight: 500;
5205
- }
5206
-
5207
- .muka-social-sign-in-button:focus-visible {
5208
- outline: 2px solid var(--color-border-focus);
5209
- outline-offset: 2px;
5210
- }
5211
-
5212
- /* Sizes — heights align with Button md/lg */
5213
- .muka-social-sign-in-button--md {
5214
- padding: 0 var(--button-padding-md-x);
5215
- border-radius: var(--button-radius-md);
5216
- font-size: var(--text-label-sm-semibold-fontSize);
5217
- line-height: var(--text-label-sm-semibold-lineHeight);
5218
- min-height: 40px;
5219
- min-width: 240px;
5220
- }
5221
-
5222
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5223
- padding: 0 var(--button-gap-md);
5224
- }
5225
-
5226
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5227
- width: var(--button-icon-md);
5228
- height: var(--button-icon-md);
5229
- }
5230
-
5231
- .muka-social-sign-in-button--lg {
5232
- padding: 0 var(--button-padding-lg-x);
5233
- border-radius: var(--button-radius-lg);
5234
- font-size: var(--text-label-lg-semibold-fontSize);
5235
- line-height: var(--text-label-lg-semibold-lineHeight);
5236
- min-height: 48px;
5237
- min-width: 280px;
5238
- }
5239
-
5240
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5241
- padding: 0 var(--button-gap-lg);
5265
+ color: var(--color-text-default-default);
5266
+ line-height: 0;
5242
5267
  }
5243
5268
 
5244
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5245
- width: var(--button-icon-lg);
5246
- height: var(--button-icon-lg);
5269
+ .muka-spinner--subtle {
5270
+ color: var(--color-text-subtle-default);
5247
5271
  }
5248
5272
 
5249
- /* White lockup — for dark surfaces (Apple White with Outline) */
5250
- .muka-social-sign-in-button--white {
5251
- background-color: var(--ssi-white);
5252
- color: var(--ssi-black);
5253
- border-color: var(--ssi-black);
5273
+ .muka-spinner--inverse {
5274
+ color: var(--color-text-default-inverse);
5254
5275
  }
5255
5276
 
5256
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5257
- color: var(--ssi-google-text-light);
5277
+ .muka-spinner__circle {
5278
+ display: inline-block;
5279
+ border-radius: 50%;
5280
+ border-style: solid;
5281
+ border-color: currentColor;
5282
+ border-right-color: transparent;
5283
+ animation: muka-spinner-rotate 0.7s linear infinite;
5284
+ box-sizing: border-box;
5258
5285
  }
5259
5286
 
5260
- /* Black lockup — for light surfaces */
5261
- .muka-social-sign-in-button--black {
5262
- background-color: var(--ssi-black);
5263
- color: var(--ssi-white);
5264
- border-color: transparent;
5265
- }
5287
+ /* ─── Sizes ───────────────────────────────────────────── */
5266
5288
 
5267
- /* Interaction — luminance/opacity only; no brand tint */
5268
- .muka-social-sign-in-button:hover:not(:disabled) {
5269
- filter: brightness(0.92);
5289
+ .muka-spinner--sm .muka-spinner__circle {
5290
+ width: 16px;
5291
+ height: 16px;
5292
+ border-width: 2px;
5270
5293
  }
5271
5294
 
5272
- .muka-social-sign-in-button:active:not(:disabled) {
5273
- filter: brightness(0.85);
5295
+ .muka-spinner--md .muka-spinner__circle {
5296
+ width: 20px;
5297
+ height: 20px;
5298
+ border-width: 2px;
5274
5299
  }
5275
5300
 
5276
- .muka-social-sign-in-button:disabled,
5277
- .muka-social-sign-in-button--disabled {
5278
- cursor: not-allowed;
5279
- opacity: 0.4;
5280
- pointer-events: none;
5281
- filter: none;
5301
+ .muka-spinner--lg .muka-spinner__circle {
5302
+ width: 24px;
5303
+ height: 24px;
5304
+ border-width: 3px;
5282
5305
  }
5283
5306
 
5284
- .muka-social-sign-in-button--full-width {
5285
- width: 100%;
5286
- min-width: 0;
5287
- }
5307
+ /* ─── Visually-hidden label ───────────────────────────── */
5288
5308
 
5289
- .muka-social-sign-in-button__icon {
5290
- display: inline-flex;
5291
- align-items: center;
5292
- justify-content: center;
5293
- flex-shrink: 0;
5309
+ .muka-spinner__sr-label {
5310
+ position: absolute;
5311
+ width: 1px;
5312
+ height: 1px;
5313
+ padding: 0;
5314
+ margin: -1px;
5315
+ overflow: hidden;
5316
+ clip: rect(0, 0, 0, 0);
5317
+ white-space: nowrap;
5318
+ border: 0;
5294
5319
  }
5295
5320
 
5296
- .muka-social-sign-in-button__icon > *,
5297
- .muka-social-sign-in-button__icon svg {
5298
- width: auto;
5299
- height: 100%;
5300
- max-width: 100%;
5301
- display: block;
5321
+ /* ─── Reduced motion ──────────────────────────────────── */
5322
+
5323
+ @keyframes muka-spinner-rotate {
5324
+ to {
5325
+ transform: rotate(360deg);
5326
+ }
5302
5327
  }
5303
5328
 
5304
- .muka-social-sign-in-button__label {
5305
- display: inline-flex;
5306
- align-items: center;
5329
+ @media (prefers-reduced-motion: reduce) {
5330
+ .muka-spinner__circle {
5331
+ animation-duration: 2.5s;
5332
+ }
5307
5333
  }
5308
5334
 
5309
5335
 
@@ -9383,6 +9409,24 @@ button.muka-progress-tracker__tab:focus-visible {
9383
9409
  white-space: nowrap;
9384
9410
  }
9385
9411
 
9412
+ /* A second line under the label (description): label above, subdued below. */
9413
+ .muka-menu__item--has-description .muka-menu__item-label {
9414
+ display: flex;
9415
+ flex-direction: column;
9416
+ overflow: hidden;
9417
+ }
9418
+
9419
+ .muka-menu__item-description {
9420
+ overflow: hidden;
9421
+ text-overflow: ellipsis;
9422
+ white-space: nowrap;
9423
+ font-family: var(--text-body-sm-regular-fontFamily);
9424
+ font-weight: var(--text-body-sm-regular-fontWeight);
9425
+ font-size: var(--text-body-sm-regular-fontSize);
9426
+ line-height: var(--text-body-sm-regular-lineHeight);
9427
+ color: var(--color-text-subtle-default);
9428
+ }
9429
+
9386
9430
  /* Shortcut trailers replace icons and sit with an 8px right inset. */
9387
9431
  .muka-menu__item--has-shortcut {
9388
9432
  padding-right: var(--spacing-2);
@@ -9929,11 +9973,12 @@ button.muka-progress-tracker__tab:focus-visible {
9929
9973
  margin: 0;
9930
9974
  padding: 0;
9931
9975
 
9932
- /* Typography - using semantic tokens */
9933
- font-family: var(--alias-font-plain-family);
9934
- font-weight: var(--alias-font-plain-weight-regular, 400);
9935
- font-size: var(--text-body-sm-fontSize);
9936
- line-height: var(--text-body-sm-lineHeight);
9976
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
9977
+ names exist only as fallbacks in base.css, not in any theme. */
9978
+ font-family: var(--text-body-sm-regular-fontFamily);
9979
+ font-weight: var(--text-body-sm-regular-fontWeight);
9980
+ font-size: var(--text-body-sm-regular-fontSize);
9981
+ line-height: var(--text-body-sm-regular-lineHeight);
9937
9982
  color: var(--color-text-subtle-default);
9938
9983
 
9939
9984
  /* Text handling */
@@ -17625,110 +17670,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
17625
17670
  }
17626
17671
 
17627
17672
 
17628
- /* SwipeActions */
17629
- /* SwipeActions Component Styles */
17673
+ /* SocialSignInButton */
17674
+ /*
17675
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17676
+ * Google Identity branding) and intentionally fixed across Muka brands —
17677
+ * same exception pattern as LicensePlateInput regulatory colors.
17678
+ *
17679
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17680
+ * Google: https://developers.google.com/identity/branding-guidelines
17681
+ */
17682
+ .muka-social-sign-in-button {
17683
+ --ssi-white: #ffffff;
17684
+ --ssi-black: #000000;
17685
+ --ssi-google-text-light: #1f1f1f;
17630
17686
 
17631
- .muka-swipe-actions {
17632
- position: relative;
17633
- overflow: hidden;
17634
- touch-action: pan-y;
17635
- -webkit-user-select: none;
17687
+ display: inline-flex;
17688
+ align-items: center;
17689
+ justify-content: center;
17690
+
17691
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17692
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17693
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17694
+ font-family: inherit;
17695
+ font-weight: 600;
17696
+ text-decoration: none;
17697
+ white-space: nowrap;
17698
+
17699
+ border: 1px solid transparent;
17700
+ cursor: pointer;
17636
17701
  user-select: none;
17637
- background-color: var(--color-surface-level3);
17702
+ transition: opacity 0.15s ease, filter 0.15s ease;
17703
+
17704
+ outline: none;
17705
+ position: relative;
17706
+ box-sizing: border-box;
17638
17707
  }
17639
17708
 
17640
- .muka-swipe-actions--disabled {
17641
- touch-action: auto;
17709
+ .muka-social-sign-in-button--apple {
17710
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17711
+ Helvetica, Arial, sans-serif;
17712
+ font-weight: 600;
17642
17713
  }
17643
17714
 
17644
- /* ─── Row that holds the actual content ────────────────── */
17715
+ .muka-social-sign-in-button--google {
17716
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17717
+ font-weight: 500;
17718
+ }
17645
17719
 
17646
- .muka-swipe-actions__row {
17647
- position: relative;
17648
- z-index: 1;
17649
- background-color: inherit;
17650
- will-change: transform;
17720
+ .muka-social-sign-in-button:focus-visible {
17721
+ outline: 2px solid var(--color-border-focus);
17722
+ outline-offset: 2px;
17651
17723
  }
17652
17724
 
17653
- /* ─── Action panels — sit beneath the row ──────────────── */
17725
+ /* Sizes — heights align with Button md/lg */
17726
+ .muka-social-sign-in-button--md {
17727
+ padding: 0 var(--button-padding-md-x);
17728
+ border-radius: var(--button-radius-md);
17729
+ font-size: var(--text-label-sm-semibold-fontSize);
17730
+ line-height: var(--text-label-sm-semibold-lineHeight);
17731
+ min-height: 40px;
17732
+ min-width: 240px;
17733
+ }
17654
17734
 
17655
- .muka-swipe-actions__panel {
17656
- position: absolute;
17657
- top: 0;
17658
- bottom: 0;
17659
- display: flex;
17660
- align-items: stretch;
17661
- z-index: 0;
17735
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17736
+ padding: 0 var(--button-gap-md);
17662
17737
  }
17663
17738
 
17664
- .muka-swipe-actions__panel--left {
17665
- left: 0;
17739
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17740
+ width: var(--button-icon-md);
17741
+ height: var(--button-icon-md);
17666
17742
  }
17667
17743
 
17668
- .muka-swipe-actions__panel--right {
17669
- right: 0;
17744
+ .muka-social-sign-in-button--lg {
17745
+ padding: 0 var(--button-padding-lg-x);
17746
+ border-radius: var(--button-radius-lg);
17747
+ font-size: var(--text-label-lg-semibold-fontSize);
17748
+ line-height: var(--text-label-lg-semibold-lineHeight);
17749
+ min-height: 48px;
17750
+ min-width: 280px;
17670
17751
  }
17671
17752
 
17672
- /* ─── Single action button ─────────────────────────────── */
17753
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17754
+ padding: 0 var(--button-gap-lg);
17755
+ }
17673
17756
 
17674
- .muka-swipe-actions__button {
17675
- display: flex;
17676
- flex-direction: column;
17677
- align-items: center;
17678
- justify-content: center;
17679
- gap: var(--spacing-1);
17680
- border: none;
17681
- cursor: pointer;
17682
- padding: var(--spacing-2);
17683
- background-color: var(--color-surface-level2);
17684
- color: var(--color-text-default-default);
17685
- font-family: var(--text-label-sm-semibold-fontFamily);
17686
- font-weight: var(--text-label-sm-semibold-fontWeight);
17687
- font-size: var(--text-label-sm-semibold-fontSize);
17688
- line-height: var(--text-label-sm-semibold-lineHeight);
17689
- -webkit-tap-highlight-color: transparent;
17690
- transition: filter 0.12s ease;
17757
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17758
+ width: var(--button-icon-lg);
17759
+ height: var(--button-icon-lg);
17691
17760
  }
17692
17761
 
17693
- .muka-swipe-actions__button:hover {
17694
- filter: brightness(0.95);
17762
+ /* White lockup — for dark surfaces (Apple White with Outline) */
17763
+ .muka-social-sign-in-button--white {
17764
+ background-color: var(--ssi-white);
17765
+ color: var(--ssi-black);
17766
+ border-color: var(--ssi-black);
17695
17767
  }
17696
17768
 
17697
- .muka-swipe-actions__button:focus-visible {
17698
- outline: 2px solid var(--color-action-default);
17699
- outline-offset: -2px;
17769
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17770
+ color: var(--ssi-google-text-light);
17700
17771
  }
17701
17772
 
17702
- .muka-swipe-actions__button-icon {
17703
- display: inline-flex;
17704
- align-items: center;
17705
- justify-content: center;
17773
+ /* Black lockup — for light surfaces */
17774
+ .muka-social-sign-in-button--black {
17775
+ background-color: var(--ssi-black);
17776
+ color: var(--ssi-white);
17777
+ border-color: transparent;
17706
17778
  }
17707
17779
 
17708
- /* ─── Color variants ───────────────────────────────────── */
17780
+ /* Interaction — luminance/opacity only; no brand tint */
17781
+ .muka-social-sign-in-button:hover:not(:disabled) {
17782
+ filter: brightness(0.92);
17783
+ }
17709
17784
 
17710
- .muka-swipe-actions__button--neutral {
17711
- background-color: var(--color-surface-level2);
17712
- color: var(--color-text-default-default);
17785
+ .muka-social-sign-in-button:active:not(:disabled) {
17786
+ filter: brightness(0.85);
17713
17787
  }
17714
17788
 
17715
- .muka-swipe-actions__button--primary {
17716
- background-color: var(--color-action-default);
17717
- color: var(--color-text-default-inverse);
17789
+ .muka-social-sign-in-button:disabled,
17790
+ .muka-social-sign-in-button--disabled {
17791
+ cursor: not-allowed;
17792
+ opacity: 0.4;
17793
+ pointer-events: none;
17794
+ filter: none;
17718
17795
  }
17719
17796
 
17720
- .muka-swipe-actions__button--success {
17721
- background-color: var(--color-state-success-default);
17722
- color: var(--color-text-default-inverse);
17797
+ .muka-social-sign-in-button--full-width {
17798
+ width: 100%;
17799
+ min-width: 0;
17723
17800
  }
17724
17801
 
17725
- .muka-swipe-actions__button--warning {
17726
- background-color: var(--color-state-warning-default);
17727
- color: var(--color-text-default-default);
17802
+ .muka-social-sign-in-button__icon {
17803
+ display: inline-flex;
17804
+ align-items: center;
17805
+ justify-content: center;
17806
+ flex-shrink: 0;
17728
17807
  }
17729
17808
 
17730
- .muka-swipe-actions__button--destructive {
17731
- background-color: var(--color-state-error-default);
17732
- color: var(--color-text-default-inverse);
17809
+ .muka-social-sign-in-button__icon > *,
17810
+ .muka-social-sign-in-button__icon svg {
17811
+ width: auto;
17812
+ height: 100%;
17813
+ max-width: 100%;
17814
+ display: block;
17815
+ }
17816
+
17817
+ .muka-social-sign-in-button__label {
17818
+ display: inline-flex;
17819
+ align-items: center;
17733
17820
  }
17734
17821