@revikornmann/muka-ui 0.53.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.
@@ -3677,985 +3677,985 @@ body {
3677
3677
  }
3678
3678
 
3679
3679
 
3680
- /* Tile */
3681
- /* Tile Component Styles - Using Muka Design Tokens */
3682
-
3683
- /* ─── Base ────────────────────────────────────────────── */
3684
-
3685
- .muka-tile {
3686
- display: flex;
3687
- color: var(--color-text-default-default);
3688
- }
3680
+ /* Thumbnail */
3681
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3689
3682
 
3690
- .muka-tile--interactive {
3691
- cursor: pointer;
3692
- user-select: none;
3683
+ .muka-thumbnail {
3684
+ position: relative;
3685
+ flex-shrink: 0;
3693
3686
  }
3694
3687
 
3695
- .muka-tile--interactive:focus-visible {
3696
- outline: 2px solid var(--color-border-focus);
3697
- outline-offset: 2px;
3688
+ /* The frame carries the border, background and shape clip. Keeping it separate
3689
+ from the root lets the remove (×) button sit outside the clip (needed for the
3690
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3691
+ .muka-thumbnail__frame {
3692
+ position: absolute;
3693
+ inset: 0;
3694
+ overflow: hidden;
3695
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3698
3696
  border-radius: var(--border-radius-lg);
3697
+ background-color: var(--color-surface-level1);
3699
3698
  }
3700
3699
 
3701
- /* ─── Image position variants ─────────────────────────── */
3700
+ /* ─── Shapes ──────────────────────────────────────────── */
3701
+ .muka-thumbnail--4-3 {
3702
+ width: 160px;
3703
+ height: 120px;
3704
+ }
3702
3705
 
3703
- .muka-tile--image-top {
3704
- flex-direction: column;
3706
+ .muka-thumbnail--1-1 {
3707
+ width: 120px;
3708
+ height: 120px;
3705
3709
  }
3706
3710
 
3707
- .muka-tile--image-left {
3708
- flex-direction: row;
3711
+ .muka-thumbnail--ellipse {
3712
+ width: 120px;
3713
+ height: 120px;
3709
3714
  }
3710
3715
 
3711
- .muka-tile--image-right {
3712
- flex-direction: row;
3716
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3717
+ .muka-thumbnail--fluid {
3718
+ width: 100%;
3719
+ height: auto;
3720
+ aspect-ratio: 1 / 1;
3713
3721
  }
3714
3722
 
3715
- /* ─── Gap by size (top) ───────────────────────────────── */
3723
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3724
+ aspect-ratio: 4 / 3;
3725
+ }
3716
3726
 
3717
- .muka-tile--image-top.muka-tile--lg {
3718
- gap: var(--spacing-6);
3727
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3728
+ border-radius: var(--border-radius-full);
3719
3729
  }
3720
3730
 
3721
- .muka-tile--image-top.muka-tile--md {
3722
- gap: var(--spacing-6);
3723
- width: 320px;
3731
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3732
+ interactive hover zoom has a clean origin. */
3733
+ .muka-thumbnail__image {
3734
+ position: absolute;
3735
+ inset: 0;
3736
+ width: 100%;
3737
+ height: 100%;
3738
+ object-fit: cover;
3739
+ display: block;
3740
+ transform-origin: center;
3741
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3742
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3724
3743
  }
3725
3744
 
3726
- .muka-tile--image-top.muka-tile--sm {
3727
- gap: var(--spacing-4);
3728
- min-width: 120px;
3745
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3746
+ .muka-thumbnail__trigger {
3747
+ position: absolute;
3748
+ inset: 0;
3749
+ padding: 0;
3750
+ border: 0;
3751
+ background: none;
3752
+ cursor: pointer;
3753
+ overflow: hidden;
3729
3754
  }
3730
3755
 
3731
- /* ─── Gap by size (left/right) ────────────────────────── */
3756
+ .muka-thumbnail__trigger:focus-visible {
3757
+ outline: 2px solid var(--color-border-focus);
3758
+ outline-offset: -2px;
3759
+ }
3732
3760
 
3733
- .muka-tile--image-left.muka-tile--lg,
3734
- .muka-tile--image-right.muka-tile--lg {
3735
- gap: var(--spacing-6);
3736
- align-items: center;
3761
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3762
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3763
+ transform: scale(1.05);
3737
3764
  }
3738
3765
 
3739
- .muka-tile--image-left.muka-tile--md,
3740
- .muka-tile--image-right.muka-tile--md {
3741
- gap: var(--spacing-6);
3766
+ /* ─── Loading overlay + progress donut ────────────────── */
3767
+ .muka-thumbnail__overlay {
3768
+ position: absolute;
3769
+ inset: 0;
3770
+ display: flex;
3742
3771
  align-items: center;
3772
+ justify-content: center;
3773
+ background-color: var(--dialog-color-backdrop);
3743
3774
  }
3744
3775
 
3745
- .muka-tile--image-left.muka-tile--sm,
3746
- .muka-tile--image-right.muka-tile--sm {
3747
- gap: var(--spacing-4);
3748
- align-items: flex-start;
3776
+ .muka-thumbnail__progress {
3777
+ width: 40px;
3778
+ height: 40px;
3749
3779
  }
3750
3780
 
3751
- /* ─── Photos container ────────────────────────────────── */
3781
+ /* ─── Error / corrupt state ───────────────────────────── */
3782
+ .muka-thumbnail--error .muka-thumbnail__frame {
3783
+ background-color: var(--alias-color-state-error-muted);
3784
+ border-color: var(--alias-color-state-error-default);
3785
+ }
3752
3786
 
3753
- .muka-tile__photos {
3754
- position: relative;
3755
- flex-shrink: 0;
3756
- overflow: hidden;
3787
+ .muka-thumbnail__error {
3788
+ position: absolute;
3789
+ inset: 0;
3757
3790
  display: flex;
3758
3791
  flex-direction: column;
3759
- isolation: isolate;
3792
+ align-items: center;
3793
+ justify-content: center;
3794
+ gap: var(--spacing-2);
3795
+ padding: var(--spacing-3);
3796
+ text-align: center;
3760
3797
  }
3761
3798
 
3762
- /* Photos border radius by size */
3763
- .muka-tile--lg .muka-tile__photos,
3764
- .muka-tile--md .muka-tile__photos {
3765
- border-radius: var(--border-radius-lg);
3799
+ .muka-thumbnail__error-icon {
3800
+ color: var(--alert-color-error-accent);
3766
3801
  }
3767
3802
 
3768
- .muka-tile--sm .muka-tile__photos {
3769
- border-radius: var(--border-radius-md);
3803
+ .muka-thumbnail__caption {
3804
+ max-width: 100%;
3805
+ overflow: hidden;
3806
+ text-overflow: ellipsis;
3807
+ white-space: nowrap;
3808
+ color: var(--alert-color-error-accent);
3809
+ font-family: var(--text-body-sm-regular-fontFamily);
3810
+ font-size: var(--text-body-sm-regular-fontSize);
3811
+ font-weight: var(--text-body-sm-regular-fontWeight);
3812
+ line-height: var(--text-body-sm-regular-lineHeight);
3770
3813
  }
3771
3814
 
3772
- /* Photos sizing: top layout */
3773
- .muka-tile--image-top .muka-tile__photos {
3774
- width: 100%;
3815
+ /* ─── Remove (×) button ───────────────────────────────── */
3816
+ .muka-thumbnail__remove {
3817
+ position: absolute;
3818
+ top: var(--spacing-2);
3819
+ right: var(--spacing-2);
3820
+ display: flex;
3821
+ align-items: center;
3822
+ justify-content: center;
3823
+ width: var(--size-2xl);
3824
+ height: var(--size-2xl);
3825
+ padding: 0;
3826
+ color: var(--button-color-tertiary-foreground-default);
3827
+ background-color: var(--button-color-tertiary-background-default);
3828
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3829
+ border-radius: var(--border-radius-lg);
3830
+ cursor: pointer;
3831
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3832
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3775
3833
  }
3776
3834
 
3777
- /* Photos sizing: left/right large */
3778
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3779
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3780
- width: 520px;
3835
+ .muka-thumbnail__remove:hover {
3836
+ color: var(--button-color-tertiary-foreground-hover);
3837
+ background-color: var(--button-color-tertiary-background-hover);
3838
+ border-color: var(--button-color-tertiary-border-hover);
3781
3839
  }
3782
3840
 
3783
- /* Photos sizing: left/right medium */
3784
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3785
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3786
- width: 320px;
3841
+ .muka-thumbnail__remove:active {
3842
+ color: var(--button-color-tertiary-foreground-pressed);
3843
+ background-color: var(--button-color-tertiary-background-pressed);
3844
+ border-color: var(--button-color-tertiary-border-pressed);
3787
3845
  }
3788
3846
 
3789
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3790
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3791
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3792
- width: 80px;
3793
- align-self: stretch;
3847
+ .muka-thumbnail__remove:focus-visible {
3848
+ outline: 2px solid var(--color-border-focus);
3849
+ outline-offset: 2px;
3794
3850
  }
3795
3851
 
3796
- /* ─── Main photo ──────────────────────────────────────── */
3852
+ /* ─── Reduced motion ──────────────────────────────────── */
3853
+ @media (prefers-reduced-motion: reduce) {
3854
+ .muka-thumbnail__image,
3855
+ .muka-thumbnail__remove {
3856
+ transition: none;
3857
+ }
3797
3858
 
3798
- .muka-tile__photo-main {
3799
- position: relative;
3800
- width: 100%;
3801
- overflow: hidden;
3802
- flex-shrink: 0;
3859
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3860
+ transform: none;
3861
+ }
3803
3862
  }
3804
3863
 
3805
- /* 16:9 aspect for lg and md */
3806
- .muka-tile--lg .muka-tile__photo-main,
3807
- .muka-tile--md .muka-tile__photo-main {
3808
- aspect-ratio: 1280 / 720;
3809
- }
3810
3864
 
3811
- /* 1:1 aspect for top + sm */
3812
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3813
- aspect-ratio: 1 / 1;
3814
- }
3865
+ /* Textarea */
3866
+ /* Textarea Component Styles - Using Muka Design Tokens */
3815
3867
 
3816
- /* Fixed size for left/right + sm */
3817
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3818
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3819
- width: 80px;
3820
- height: 80px;
3821
- aspect-ratio: auto;
3868
+ .muka-textarea {
3869
+ display: inline-flex;
3870
+ flex-direction: column;
3871
+ gap: var(--spacing-2);
3822
3872
  }
3823
3873
 
3824
- .muka-tile__photo-main img {
3825
- width: 100%;
3826
- height: 100%;
3827
- object-fit: cover;
3828
- display: block;
3874
+ /* Label */
3875
+ .muka-textarea__label {
3876
+ color: var(--color-text-default-default);
3877
+ cursor: pointer;
3829
3878
  }
3830
3879
 
3831
- /* ─── Favourite overlay ───────────────────────────────── */
3832
-
3833
- .muka-tile__favourite {
3834
- position: absolute;
3835
- z-index: 3;
3880
+ .muka-textarea__label--sm {
3881
+ font-family: var(--text-label-sm-semibold-fontFamily);
3882
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3883
+ font-size: var(--text-label-sm-semibold-fontSize);
3884
+ line-height: var(--text-label-sm-semibold-lineHeight);
3836
3885
  }
3837
3886
 
3838
- .muka-tile--lg .muka-tile__favourite,
3839
- .muka-tile--md .muka-tile__favourite {
3840
- top: var(--spacing-4);
3841
- right: var(--spacing-4);
3887
+ .muka-textarea__label--md {
3888
+ font-family: var(--text-label-md-semibold-fontFamily);
3889
+ font-weight: var(--text-label-md-semibold-fontWeight);
3890
+ font-size: var(--text-label-md-semibold-fontSize);
3891
+ line-height: var(--text-label-md-semibold-lineHeight);
3842
3892
  }
3843
3893
 
3844
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3845
- top: var(--spacing-1);
3846
- right: var(--spacing-1);
3894
+ .muka-textarea__label--lg {
3895
+ font-family: var(--text-label-lg-semibold-fontFamily);
3896
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3897
+ font-size: var(--text-label-lg-semibold-fontSize);
3898
+ line-height: var(--text-label-lg-semibold-lineHeight);
3847
3899
  }
3848
3900
 
3849
- /* ─── Thumbnails ──────────────────────────────────────── */
3901
+ .muka-textarea__required {
3902
+ color: var(--color-state-error-default);
3903
+ }
3850
3904
 
3851
- .muka-tile__thumbnails {
3905
+ /* Field container */
3906
+ .muka-textarea__field {
3852
3907
  display: flex;
3853
- gap: 2px;
3854
- overflow: hidden;
3855
- flex-shrink: 0;
3856
- height: 80px;
3908
+ background-color: var(--input-field-color-default-background);
3909
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3910
+ border-radius: var(--input-field-radius-md);
3911
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3912
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3913
+ box-sizing: border-box;
3857
3914
  }
3858
3915
 
3859
- .muka-tile__thumbnail {
3860
- width: 80px;
3861
- height: 80px;
3862
- flex-shrink: 0;
3863
- overflow: hidden;
3916
+ .muka-textarea__field--sm {
3917
+ min-height: var(--input-textarea-height-sm);
3918
+ border-radius: var(--input-field-radius-sm);
3864
3919
  }
3865
3920
 
3866
- .muka-tile__thumbnail img {
3867
- width: 100%;
3868
- height: 100%;
3869
- object-fit: cover;
3870
- display: block;
3921
+ .muka-textarea__field--md {
3922
+ min-height: var(--input-textarea-height-default);
3923
+ border-radius: var(--input-field-radius-md);
3871
3924
  }
3872
3925
 
3873
- /* Gap between main photo and thumbnails */
3874
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3875
- margin-top: 2px;
3926
+ .muka-textarea__field--lg {
3927
+ min-height: var(--input-textarea-height-lg);
3928
+ border-radius: var(--input-field-radius-lg);
3876
3929
  }
3877
3930
 
3878
- /* ─── Content section ─────────────────────────────────── */
3879
-
3880
- .muka-tile__content {
3881
- display: flex;
3882
- flex-direction: column;
3883
- flex: 1;
3884
- min-width: 0;
3931
+ /* Focus state */
3932
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3933
+ border-width: var(--border-width-bold);
3934
+ border-color: var(--input-field-color-focus-border);
3935
+ background-color: var(--input-field-color-focus-background);
3936
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3885
3937
  }
3886
3938
 
3887
- /* Top layout: content has horizontal padding */
3888
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3889
- padding: 0 var(--spacing-3);
3890
- gap: var(--spacing-1);
3939
+ /* Error state */
3940
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3941
+ border-width: var(--border-width-bold);
3942
+ border-color: var(--input-field-color-error-border);
3943
+ background-color: var(--input-field-color-error-background);
3944
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3891
3945
  }
3892
3946
 
3893
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3894
- padding: 0 var(--spacing-3);
3895
- gap: var(--spacing-2);
3947
+ /* Disabled state */
3948
+ .muka-textarea__field--disabled {
3949
+ background-color: var(--input-field-color-disabled-background);
3950
+ border-color: var(--input-field-color-disabled-border);
3951
+ cursor: not-allowed;
3896
3952
  }
3897
3953
 
3898
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3899
- gap: var(--spacing-2);
3954
+ /* Native textarea */
3955
+ .muka-textarea__native {
3956
+ flex: 1;
3957
+ border: none;
3958
+ outline: none;
3959
+ background: transparent;
3960
+ color: var(--input-field-color-default-foreground);
3961
+ font-family: var(--text-input-md-fontFamily);
3962
+ font-weight: var(--text-input-md-fontWeight);
3963
+ font-size: var(--text-input-md-fontSize);
3964
+ line-height: var(--text-input-md-lineHeight);
3965
+ padding: 0;
3966
+ width: 100%;
3967
+ min-width: 0;
3900
3968
  }
3901
3969
 
3902
- /* Left/right layout: content grows to fill space */
3903
- .muka-tile--image-left .muka-tile__content,
3904
- .muka-tile--image-right .muka-tile__content {
3905
- gap: var(--spacing-3);
3970
+ .muka-textarea__field--sm .muka-textarea__native {
3971
+ font-family: var(--text-input-sm-fontFamily);
3972
+ font-weight: var(--text-input-sm-fontWeight);
3973
+ font-size: var(--text-input-sm-fontSize);
3974
+ line-height: var(--text-input-sm-lineHeight);
3906
3975
  }
3907
3976
 
3908
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3909
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3910
- padding: 0 var(--spacing-3);
3977
+ .muka-textarea__field--lg .muka-textarea__native {
3978
+ font-family: var(--text-input-lg-fontFamily);
3979
+ font-weight: var(--text-input-lg-fontWeight);
3980
+ font-size: var(--text-input-lg-fontSize);
3981
+ line-height: var(--text-input-lg-lineHeight);
3911
3982
  }
3912
3983
 
3913
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3914
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3915
- padding: var(--spacing-2) var(--spacing-3);
3984
+ .muka-textarea__native::placeholder {
3985
+ color: var(--color-text-subtle-default);
3916
3986
  }
3917
3987
 
3918
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3919
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3920
- gap: var(--spacing-2);
3988
+ .muka-textarea__field--disabled .muka-textarea__native {
3989
+ color: var(--input-field-color-disabled-foreground);
3990
+ cursor: not-allowed;
3921
3991
  }
3922
3992
 
3923
- /* ─── Header (heading row + price) ────────────────────── */
3924
-
3925
- .muka-tile__header {
3993
+ /* Footer (helper/error + count) */
3994
+ .muka-textarea__footer {
3926
3995
  display: flex;
3996
+ justify-content: space-between;
3927
3997
  align-items: flex-start;
3928
- gap: var(--spacing-4);
3929
- }
3930
-
3931
- /* Small horizontal: row with text and action */
3932
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3933
- gap: var(--spacing-2);
3934
- align-items: center;
3935
- padding-top: var(--spacing-1);
3936
- }
3937
-
3938
- /* ─── Text group ──────────────────────────────────────── */
3939
-
3940
- .muka-tile__text {
3941
- display: flex;
3942
- flex-direction: column;
3943
- flex: 1;
3944
- min-width: 0;
3945
3998
  gap: var(--spacing-2);
3946
3999
  }
3947
4000
 
3948
- /* ─── Heading typography ──────────────────────────────── */
3949
-
3950
- .muka-tile__heading {
4001
+ .muka-textarea__helper {
4002
+ font-family: var(--text-label-sm-regular-fontFamily);
4003
+ font-weight: var(--text-label-sm-regular-fontWeight);
4004
+ font-size: var(--text-label-sm-regular-fontSize);
4005
+ line-height: var(--text-label-sm-regular-lineHeight);
4006
+ color: var(--color-text-subtle-default);
3951
4007
  margin: 0;
3952
4008
  }
3953
4009
 
3954
- .muka-tile--lg .muka-tile__heading {
3955
- font-family: var(--text-label-2xl-semibold-fontFamily);
3956
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3957
- font-size: var(--text-label-2xl-semibold-fontSize);
3958
- line-height: var(--text-label-2xl-semibold-lineHeight);
3959
- color: var(--color-text-default-default);
3960
- }
3961
-
3962
- .muka-tile--md .muka-tile__heading {
3963
- font-family: var(--text-label-xl-semibold-fontFamily);
3964
- font-weight: var(--text-label-xl-semibold-fontWeight);
3965
- font-size: var(--text-label-xl-semibold-fontSize);
3966
- line-height: var(--text-label-xl-semibold-lineHeight);
3967
- color: var(--color-text-default-default);
4010
+ .muka-textarea__error {
4011
+ font-family: var(--text-label-sm-regular-fontFamily);
4012
+ font-weight: var(--text-label-sm-regular-fontWeight);
4013
+ font-size: var(--text-label-sm-regular-fontSize);
4014
+ line-height: var(--text-label-sm-regular-lineHeight);
4015
+ color: var(--color-state-error-default);
4016
+ margin: 0;
3968
4017
  }
3969
4018
 
3970
- .muka-tile--sm .muka-tile__heading {
3971
- font-family: var(--text-label-lg-bold-fontFamily);
3972
- font-weight: var(--text-label-lg-bold-fontWeight);
3973
- font-size: var(--text-label-lg-bold-fontSize);
3974
- line-height: var(--text-label-lg-bold-lineHeight);
3975
- color: var(--color-text-default-default);
4019
+ .muka-textarea__count {
4020
+ font-family: var(--text-label-sm-regular-fontFamily);
4021
+ font-weight: var(--text-label-sm-regular-fontWeight);
4022
+ font-size: var(--text-label-sm-regular-fontSize);
4023
+ line-height: var(--text-label-sm-regular-lineHeight);
4024
+ color: var(--color-text-subtle-default);
4025
+ margin-left: auto;
3976
4026
  }
3977
4027
 
3978
- /* ─── Subheading typography ───────────────────────────── */
3979
4028
 
3980
- .muka-tile__subheading {
3981
- margin: 0;
3982
- color: var(--color-text-subtle-default);
3983
- }
4029
+ /* TextLink */
4030
+ /* TextLink Component Styles - Using Muka Design Tokens */
3984
4031
 
3985
- .muka-tile--lg .muka-tile__subheading {
3986
- font-family: var(--text-subheading-md-fontFamily);
3987
- font-weight: var(--text-subheading-md-fontWeight);
3988
- font-size: var(--text-subheading-md-fontSize);
3989
- line-height: var(--text-subheading-md-lineHeight);
4032
+ .muka-text-link {
4033
+ display: inline;
4034
+ cursor: pointer;
4035
+ text-decoration: underline;
4036
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4037
+ text-underline-offset: 0.2em;
4038
+ text-decoration-thickness: from-font;
4039
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4040
+ border-radius: var(--border-radius-sm);
4041
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3990
4042
  }
3991
4043
 
3992
- .muka-tile--md .muka-tile__subheading,
3993
- .muka-tile--sm .muka-tile__subheading {
3994
- font-family: var(--text-subheading-sm-fontFamily);
3995
- font-weight: var(--text-subheading-sm-fontWeight);
3996
- font-size: var(--text-subheading-sm-fontSize);
3997
- line-height: var(--text-subheading-sm-lineHeight);
4044
+ /* ─── Sizes ───────────────────────────────────────────────
4045
+ Mirrors the body text scale so a link matches the copy it sits in. */
4046
+ .muka-text-link--sm {
4047
+ font-family: var(--text-body-sm-regular-fontFamily);
4048
+ font-weight: var(--text-body-sm-regular-fontWeight);
4049
+ font-size: var(--text-body-sm-regular-fontSize);
4050
+ line-height: var(--text-body-sm-regular-lineHeight);
3998
4051
  }
3999
4052
 
4000
- /* ─── Description typography ──────────────────────────── */
4001
-
4002
- .muka-tile__description {
4003
- margin: 0;
4004
- color: var(--color-text-default-default);
4053
+ .muka-text-link--base {
4054
+ font-family: var(--text-body-base-regular-fontFamily);
4055
+ font-weight: var(--text-body-base-regular-fontWeight);
4056
+ font-size: var(--text-body-base-regular-fontSize);
4057
+ line-height: var(--text-body-base-regular-lineHeight);
4005
4058
  }
4006
4059
 
4007
- .muka-tile--lg .muka-tile__description {
4060
+ .muka-text-link--lg {
4008
4061
  font-family: var(--text-body-lg-regular-fontFamily);
4009
4062
  font-weight: var(--text-body-lg-regular-fontWeight);
4010
4063
  font-size: var(--text-body-lg-regular-fontSize);
4011
4064
  line-height: var(--text-body-lg-regular-lineHeight);
4012
4065
  }
4013
4066
 
4014
- .muka-tile--md .muka-tile__description,
4015
- .muka-tile--sm .muka-tile__description {
4016
- font-family: var(--text-body-base-regular-fontFamily);
4017
- font-weight: var(--text-body-base-regular-fontWeight);
4018
- font-size: var(--text-body-base-regular-fontSize);
4019
- line-height: var(--text-body-base-regular-lineHeight);
4067
+ /* ─── Variant: default (accent) ───────────────────────────
4068
+ Visited repeats the default colour on purpose: the design treats visited and
4069
+ default the same, and pinning it stops the browser's purple from showing. */
4070
+ .muka-text-link--default,
4071
+ .muka-text-link--default:visited {
4072
+ color: var(--color-text-action-default);
4020
4073
  }
4021
4074
 
4022
- /* Description overflow for medium */
4023
- .muka-tile--md .muka-tile__description {
4024
- overflow: hidden;
4025
- text-overflow: ellipsis;
4075
+ .muka-text-link--default:hover,
4076
+ .muka-text-link--default:focus-visible {
4077
+ color: var(--color-text-action-hover);
4026
4078
  }
4027
4079
 
4028
- /* ─── Price slot ──────────────────────────────────────── */
4080
+ .muka-text-link--default:active {
4081
+ color: var(--color-text-action-pressed);
4082
+ }
4029
4083
 
4030
- .muka-tile__price {
4031
- flex-shrink: 0;
4084
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4085
+ Hover, focus and pressed all darken to the default text colour. */
4086
+ .muka-text-link--subtle,
4087
+ .muka-text-link--subtle:visited {
4088
+ color: var(--color-text-subtle-default);
4032
4089
  }
4033
4090
 
4034
- /* ─── Action slot ─────────────────────────────────────── */
4091
+ .muka-text-link--subtle:hover,
4092
+ .muka-text-link--subtle:focus-visible,
4093
+ .muka-text-link--subtle:active {
4094
+ color: var(--color-text-default-default);
4095
+ }
4035
4096
 
4036
- .muka-tile__action {
4037
- flex-shrink: 0;
4097
+ /* ─── Focus ───────────────────────────────────────────────
4098
+ Same ring as every other focusable Muka component. */
4099
+ .muka-text-link:focus-visible {
4100
+ outline: 2px solid var(--color-border-focus);
4101
+ outline-offset: 2px;
4038
4102
  }
4039
4103
 
4104
+ @media (prefers-reduced-motion: reduce) {
4105
+ .muka-text-link {
4106
+ transition: none;
4107
+ }
4108
+ }
4040
4109
 
4041
- /* Thumbnail */
4042
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4043
4110
 
4044
- .muka-thumbnail {
4045
- position: relative;
4046
- flex-shrink: 0;
4047
- }
4111
+ /* Tabs */
4112
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4048
4113
 
4049
- /* The frame carries the border, background and shape clip. Keeping it separate
4050
- from the root lets the remove (×) button sit outside the clip (needed for the
4051
- circular/ellipse shape, whose corners would otherwise clip the button). */
4052
- .muka-thumbnail__frame {
4053
- position: absolute;
4054
- inset: 0;
4055
- overflow: hidden;
4056
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4057
- border-radius: var(--border-radius-lg);
4058
- background-color: var(--color-surface-level1);
4114
+ .muka-tabs {
4115
+ display: flex;
4116
+ flex-direction: column;
4059
4117
  }
4060
4118
 
4061
- /* ─── Shapes ──────────────────────────────────────────── */
4062
- .muka-thumbnail--4-3 {
4063
- width: 160px;
4064
- height: 120px;
4119
+ /* Alignment Variants */
4120
+ .muka-tabs--align-left .muka-tabs__list {
4121
+ justify-content: flex-start;
4065
4122
  }
4066
-
4067
- .muka-thumbnail--1-1 {
4068
- width: 120px;
4069
- height: 120px;
4123
+ .muka-tabs--align-center .muka-tabs__list {
4124
+ justify-content: center;
4070
4125
  }
4071
-
4072
- .muka-thumbnail--ellipse {
4073
- width: 120px;
4074
- height: 120px;
4126
+ .muka-tabs--align-fill .muka-tabs__list {
4127
+ justify-content: space-between;
4128
+ }
4129
+ .muka-tabs--align-fill .muka-tabs__trigger {
4130
+ flex: 1;
4075
4131
  }
4076
4132
 
4077
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4078
- .muka-thumbnail--fluid {
4079
- width: 100%;
4080
- height: auto;
4081
- aspect-ratio: 1 / 1;
4133
+ /* Tab List — strip container */
4134
+ .muka-tabs__list {
4135
+ display: flex;
4136
+ align-items: center;
4137
+ position: relative;
4138
+ z-index: 2;
4139
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4082
4140
  }
4083
4141
 
4084
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4085
- aspect-ratio: 4 / 3;
4142
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4143
+ .muka-tabs--padding-default .muka-tabs__list {
4144
+ padding-inline: var(--tabs-list-padding-x);
4086
4145
  }
4087
4146
 
4088
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4089
- border-radius: var(--border-radius-full);
4147
+ /* Tab Trigger — clean underline style */
4148
+ .muka-tabs__trigger {
4149
+ display: inline-flex;
4150
+ align-items: center;
4151
+ justify-content: center;
4152
+ gap: var(--spacing-1);
4153
+ background: transparent;
4154
+ border: none;
4155
+ cursor: pointer;
4156
+ user-select: none;
4157
+ transition: background-color 0.2s ease, color 0.2s ease;
4158
+ outline: none;
4159
+ white-space: nowrap;
4160
+ position: relative;
4161
+ z-index: 2;
4162
+ color: var(--tabs-trigger-color-default-foreground);
4163
+
4164
+ /* Default MD size values */
4165
+ min-height: var(--tabs-trigger-min-height-md);
4166
+ padding: var(--spacing-3);
4167
+ font-family: var(--text-label-md-regular-fontFamily);
4168
+ font-weight: var(--text-label-md-regular-fontWeight);
4169
+ font-size: var(--text-label-md-regular-fontSize);
4170
+ line-height: var(--text-label-md-regular-lineHeight);
4090
4171
  }
4091
4172
 
4092
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4093
- interactive hover zoom has a clean origin. */
4094
- .muka-thumbnail__image {
4095
- position: absolute;
4096
- inset: 0;
4097
- width: 100%;
4098
- height: 100%;
4099
- object-fit: cover;
4100
- display: block;
4101
- transform-origin: center;
4102
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4103
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4173
+ /* Size Variants */
4174
+ .muka-tabs--size-sm .muka-tabs__trigger {
4175
+ min-height: var(--tabs-trigger-min-height-sm);
4176
+ padding: 0 var(--spacing-2);
4177
+ font-family: var(--text-label-sm-regular-fontFamily);
4178
+ font-weight: var(--text-label-sm-regular-fontWeight);
4179
+ font-size: var(--text-label-sm-regular-fontSize);
4180
+ line-height: var(--text-label-sm-regular-lineHeight);
4104
4181
  }
4105
4182
 
4106
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4107
- .muka-thumbnail__trigger {
4108
- position: absolute;
4109
- inset: 0;
4110
- padding: 0;
4111
- border: 0;
4112
- background: none;
4113
- cursor: pointer;
4114
- overflow: hidden;
4183
+ .muka-tabs--size-lg .muka-tabs__trigger {
4184
+ min-height: var(--tabs-trigger-min-height-lg);
4185
+ padding: var(--spacing-4);
4186
+ font-family: var(--text-label-lg-regular-fontFamily);
4187
+ font-weight: var(--text-label-lg-regular-fontWeight);
4188
+ font-size: var(--text-label-lg-regular-fontSize);
4189
+ line-height: var(--text-label-lg-regular-lineHeight);
4115
4190
  }
4116
4191
 
4117
- .muka-thumbnail__trigger:focus-visible {
4118
- outline: 2px solid var(--color-border-focus);
4119
- outline-offset: -2px;
4192
+ /* Hover state */
4193
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4194
+ color: var(--tabs-trigger-color-hover-foreground);
4120
4195
  }
4121
4196
 
4122
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4123
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4124
- transform: scale(1.05);
4197
+ /* Current tab */
4198
+ .muka-tabs__trigger--current {
4199
+ color: var(--tabs-trigger-color-current-foreground);
4125
4200
  }
4126
4201
 
4127
- /* ─── Loading overlay + progress donut ────────────────── */
4128
- .muka-thumbnail__overlay {
4202
+ /* Active bottom border (underline) */
4203
+ .muka-tabs__trigger--current::after {
4204
+ content: '';
4129
4205
  position: absolute;
4130
- inset: 0;
4131
- display: flex;
4132
- align-items: center;
4133
- justify-content: center;
4134
- background-color: var(--dialog-color-backdrop);
4206
+ bottom: -1px; /* Overlap the 1px border */
4207
+ left: 0;
4208
+ right: 0;
4209
+ height: var(--tabs-indicator-height-md);
4210
+ background-color: var(--tabs-indicator-color);
4211
+ border-bottom-left-radius: 1px;
4212
+ border-bottom-right-radius: 1px;
4213
+ border-top-left-radius: 3px;
4214
+ border-top-right-radius: 3px;
4215
+ z-index: 3;
4135
4216
  }
4136
4217
 
4137
- .muka-thumbnail__progress {
4138
- width: 40px;
4139
- height: 40px;
4218
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4219
+ height: var(--tabs-indicator-height-sm);
4140
4220
  }
4141
-
4142
- /* ─── Error / corrupt state ───────────────────────────── */
4143
- .muka-thumbnail--error .muka-thumbnail__frame {
4144
- background-color: var(--alias-color-state-error-muted);
4145
- border-color: var(--alias-color-state-error-default);
4221
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4222
+ height: var(--tabs-indicator-height-lg);
4146
4223
  }
4147
4224
 
4148
- .muka-thumbnail__error {
4149
- position: absolute;
4150
- inset: 0;
4151
- display: flex;
4152
- flex-direction: column;
4153
- align-items: center;
4154
- justify-content: center;
4155
- gap: var(--spacing-2);
4156
- padding: var(--spacing-3);
4157
- text-align: center;
4225
+ .muka-tabs__trigger--disabled {
4226
+ color: var(--tabs-trigger-color-disabled-foreground);
4227
+ cursor: not-allowed;
4158
4228
  }
4159
4229
 
4160
- .muka-thumbnail__error-icon {
4161
- color: var(--alert-color-error-accent);
4230
+ .muka-tabs__trigger:focus-visible {
4231
+ outline: 2px solid var(--color-border-focus);
4232
+ outline-offset: -2px;
4162
4233
  }
4163
4234
 
4164
- .muka-thumbnail__caption {
4165
- max-width: 100%;
4166
- overflow: hidden;
4167
- text-overflow: ellipsis;
4168
- white-space: nowrap;
4169
- color: var(--alert-color-error-accent);
4170
- font-family: var(--text-body-sm-regular-fontFamily);
4171
- font-size: var(--text-body-sm-regular-fontSize);
4172
- font-weight: var(--text-body-sm-regular-fontWeight);
4173
- line-height: var(--text-body-sm-regular-lineHeight);
4235
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4236
+ item sits 12px from the text */
4237
+ .muka-tabs__label {
4238
+ padding: 0 var(--spacing-2);
4174
4239
  }
4175
4240
 
4176
- /* ─── Remove (×) button ───────────────────────────────── */
4177
- .muka-thumbnail__remove {
4178
- position: absolute;
4179
- top: var(--spacing-2);
4180
- right: var(--spacing-2);
4241
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4242
+ .muka-tabs__leading {
4181
4243
  display: flex;
4182
4244
  align-items: center;
4183
4245
  justify-content: center;
4184
- width: var(--size-2xl);
4185
- height: var(--size-2xl);
4186
- padding: 0;
4187
- color: var(--button-color-tertiary-foreground-default);
4188
- background-color: var(--button-color-tertiary-background-default);
4189
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4190
- border-radius: var(--border-radius-lg);
4191
- cursor: pointer;
4192
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4193
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4246
+ flex-shrink: 0;
4247
+ }
4248
+ .muka-tabs__trigger .muka-icon {
4249
+ color: inherit;
4194
4250
  }
4251
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4252
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4253
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4254
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4255
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4256
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4257
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4195
4258
 
4196
- .muka-thumbnail__remove:hover {
4197
- color: var(--button-color-tertiary-foreground-hover);
4198
- background-color: var(--button-color-tertiary-background-hover);
4199
- border-color: var(--button-color-tertiary-border-hover);
4259
+ /* Responsive Scroll behavior on small screens */
4260
+ @media (max-width: 768px) {
4261
+ .muka-tabs__list {
4262
+ /* Make scrollable */
4263
+ overflow-x: auto;
4264
+ overflow-y: hidden;
4265
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4266
+ justify-content: flex-start !important;
4267
+ max-width: 100vw;
4268
+ -webkit-overflow-scrolling: touch;
4269
+ /* Hide scrollbar for cleaner look */
4270
+ scrollbar-width: none;
4271
+ }
4272
+ .muka-tabs__list::-webkit-scrollbar {
4273
+ display: none;
4274
+ }
4275
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4276
+ .muka-tabs--align-fill .muka-tabs__trigger {
4277
+ flex: 0 0 auto;
4278
+ }
4200
4279
  }
4201
4280
 
4202
- .muka-thumbnail__remove:active {
4203
- color: var(--button-color-tertiary-foreground-pressed);
4204
- background-color: var(--button-color-tertiary-background-pressed);
4205
- border-color: var(--button-color-tertiary-border-pressed);
4281
+ /* Tab Panel — content area */
4282
+ .muka-tabs__panel {
4283
+ background-color: var(--tabs-panel-background);
4284
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4285
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4286
+ padding: var(--spacing-4);
4287
+ position: relative;
4288
+ z-index: 1;
4289
+ font-family: var(--text-body-base-regular-fontFamily);
4290
+ font-weight: var(--text-body-base-regular-fontWeight);
4291
+ font-size: var(--text-body-base-regular-fontSize);
4292
+ line-height: var(--text-body-base-regular-lineHeight);
4206
4293
  }
4207
4294
 
4208
- .muka-thumbnail__remove:focus-visible {
4295
+ .muka-tabs__panel:focus-visible {
4209
4296
  outline: 2px solid var(--color-border-focus);
4210
4297
  outline-offset: 2px;
4211
4298
  }
4212
4299
 
4213
- /* ─── Reduced motion ──────────────────────────────────── */
4214
- @media (prefers-reduced-motion: reduce) {
4215
- .muka-thumbnail__image,
4216
- .muka-thumbnail__remove {
4217
- transition: none;
4218
- }
4219
-
4220
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4221
- transform: none;
4222
- }
4223
- }
4224
4300
 
4301
+ /* Tile */
4302
+ /* Tile Component Styles - Using Muka Design Tokens */
4225
4303
 
4226
- /* Textarea */
4227
- /* Textarea Component Styles - Using Muka Design Tokens */
4304
+ /* ─── Base ────────────────────────────────────────────── */
4228
4305
 
4229
- .muka-textarea {
4230
- display: inline-flex;
4231
- flex-direction: column;
4232
- gap: var(--spacing-2);
4306
+ .muka-tile {
4307
+ display: flex;
4308
+ color: var(--color-text-default-default);
4233
4309
  }
4234
4310
 
4235
- /* Label */
4236
- .muka-textarea__label {
4237
- color: var(--color-text-default-default);
4311
+ .muka-tile--interactive {
4238
4312
  cursor: pointer;
4313
+ user-select: none;
4239
4314
  }
4240
4315
 
4241
- .muka-textarea__label--sm {
4242
- font-family: var(--text-label-sm-semibold-fontFamily);
4243
- font-weight: var(--text-label-sm-semibold-fontWeight);
4244
- font-size: var(--text-label-sm-semibold-fontSize);
4245
- line-height: var(--text-label-sm-semibold-lineHeight);
4316
+ .muka-tile--interactive:focus-visible {
4317
+ outline: 2px solid var(--color-border-focus);
4318
+ outline-offset: 2px;
4319
+ border-radius: var(--border-radius-lg);
4246
4320
  }
4247
4321
 
4248
- .muka-textarea__label--md {
4249
- font-family: var(--text-label-md-semibold-fontFamily);
4250
- font-weight: var(--text-label-md-semibold-fontWeight);
4251
- font-size: var(--text-label-md-semibold-fontSize);
4252
- line-height: var(--text-label-md-semibold-lineHeight);
4253
- }
4322
+ /* ─── Image position variants ─────────────────────────── */
4254
4323
 
4255
- .muka-textarea__label--lg {
4256
- font-family: var(--text-label-lg-semibold-fontFamily);
4257
- font-weight: var(--text-label-lg-semibold-fontWeight);
4258
- font-size: var(--text-label-lg-semibold-fontSize);
4259
- line-height: var(--text-label-lg-semibold-lineHeight);
4324
+ .muka-tile--image-top {
4325
+ flex-direction: column;
4260
4326
  }
4261
4327
 
4262
- .muka-textarea__required {
4263
- color: var(--color-state-error-default);
4328
+ .muka-tile--image-left {
4329
+ flex-direction: row;
4264
4330
  }
4265
4331
 
4266
- /* Field container */
4267
- .muka-textarea__field {
4268
- display: flex;
4269
- background-color: var(--input-field-color-default-background);
4270
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4271
- border-radius: var(--input-field-radius-md);
4272
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4273
- transition: border-color 0.2s ease, background-color 0.2s ease;
4274
- box-sizing: border-box;
4332
+ .muka-tile--image-right {
4333
+ flex-direction: row;
4275
4334
  }
4276
4335
 
4277
- .muka-textarea__field--sm {
4278
- min-height: var(--input-textarea-height-sm);
4279
- border-radius: var(--input-field-radius-sm);
4280
- }
4336
+ /* ─── Gap by size (top) ───────────────────────────────── */
4281
4337
 
4282
- .muka-textarea__field--md {
4283
- min-height: var(--input-textarea-height-default);
4284
- border-radius: var(--input-field-radius-md);
4338
+ .muka-tile--image-top.muka-tile--lg {
4339
+ gap: var(--spacing-6);
4285
4340
  }
4286
4341
 
4287
- .muka-textarea__field--lg {
4288
- min-height: var(--input-textarea-height-lg);
4289
- border-radius: var(--input-field-radius-lg);
4342
+ .muka-tile--image-top.muka-tile--md {
4343
+ gap: var(--spacing-6);
4344
+ width: 320px;
4290
4345
  }
4291
4346
 
4292
- /* Focus state */
4293
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4294
- border-width: var(--border-width-bold);
4295
- border-color: var(--input-field-color-focus-border);
4296
- background-color: var(--input-field-color-focus-background);
4297
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4347
+ .muka-tile--image-top.muka-tile--sm {
4348
+ gap: var(--spacing-4);
4349
+ min-width: 120px;
4298
4350
  }
4299
4351
 
4300
- /* Error state */
4301
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4302
- border-width: var(--border-width-bold);
4303
- border-color: var(--input-field-color-error-border);
4304
- background-color: var(--input-field-color-error-background);
4305
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4306
- }
4352
+ /* ─── Gap by size (left/right) ────────────────────────── */
4307
4353
 
4308
- /* Disabled state */
4309
- .muka-textarea__field--disabled {
4310
- background-color: var(--input-field-color-disabled-background);
4311
- border-color: var(--input-field-color-disabled-border);
4312
- cursor: not-allowed;
4354
+ .muka-tile--image-left.muka-tile--lg,
4355
+ .muka-tile--image-right.muka-tile--lg {
4356
+ gap: var(--spacing-6);
4357
+ align-items: center;
4313
4358
  }
4314
4359
 
4315
- /* Native textarea */
4316
- .muka-textarea__native {
4317
- flex: 1;
4318
- border: none;
4319
- outline: none;
4320
- background: transparent;
4321
- color: var(--input-field-color-default-foreground);
4322
- font-family: var(--text-input-md-fontFamily);
4323
- font-weight: var(--text-input-md-fontWeight);
4324
- font-size: var(--text-input-md-fontSize);
4325
- line-height: var(--text-input-md-lineHeight);
4326
- padding: 0;
4327
- width: 100%;
4328
- min-width: 0;
4360
+ .muka-tile--image-left.muka-tile--md,
4361
+ .muka-tile--image-right.muka-tile--md {
4362
+ gap: var(--spacing-6);
4363
+ align-items: center;
4329
4364
  }
4330
4365
 
4331
- .muka-textarea__field--sm .muka-textarea__native {
4332
- font-family: var(--text-input-sm-fontFamily);
4333
- font-weight: var(--text-input-sm-fontWeight);
4334
- font-size: var(--text-input-sm-fontSize);
4335
- line-height: var(--text-input-sm-lineHeight);
4366
+ .muka-tile--image-left.muka-tile--sm,
4367
+ .muka-tile--image-right.muka-tile--sm {
4368
+ gap: var(--spacing-4);
4369
+ align-items: flex-start;
4336
4370
  }
4337
4371
 
4338
- .muka-textarea__field--lg .muka-textarea__native {
4339
- font-family: var(--text-input-lg-fontFamily);
4340
- font-weight: var(--text-input-lg-fontWeight);
4341
- font-size: var(--text-input-lg-fontSize);
4342
- line-height: var(--text-input-lg-lineHeight);
4372
+ /* ─── Photos container ────────────────────────────────── */
4373
+
4374
+ .muka-tile__photos {
4375
+ position: relative;
4376
+ flex-shrink: 0;
4377
+ overflow: hidden;
4378
+ display: flex;
4379
+ flex-direction: column;
4380
+ isolation: isolate;
4343
4381
  }
4344
4382
 
4345
- .muka-textarea__native::placeholder {
4346
- color: var(--color-text-subtle-default);
4383
+ /* Photos border radius by size */
4384
+ .muka-tile--lg .muka-tile__photos,
4385
+ .muka-tile--md .muka-tile__photos {
4386
+ border-radius: var(--border-radius-lg);
4347
4387
  }
4348
4388
 
4349
- .muka-textarea__field--disabled .muka-textarea__native {
4350
- color: var(--input-field-color-disabled-foreground);
4351
- cursor: not-allowed;
4389
+ .muka-tile--sm .muka-tile__photos {
4390
+ border-radius: var(--border-radius-md);
4352
4391
  }
4353
4392
 
4354
- /* Footer (helper/error + count) */
4355
- .muka-textarea__footer {
4356
- display: flex;
4357
- justify-content: space-between;
4358
- align-items: flex-start;
4359
- gap: var(--spacing-2);
4393
+ /* Photos sizing: top layout */
4394
+ .muka-tile--image-top .muka-tile__photos {
4395
+ width: 100%;
4360
4396
  }
4361
4397
 
4362
- .muka-textarea__helper {
4363
- font-family: var(--text-label-sm-regular-fontFamily);
4364
- font-weight: var(--text-label-sm-regular-fontWeight);
4365
- font-size: var(--text-label-sm-regular-fontSize);
4366
- line-height: var(--text-label-sm-regular-lineHeight);
4367
- color: var(--color-text-subtle-default);
4368
- margin: 0;
4398
+ /* Photos sizing: left/right large */
4399
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4400
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4401
+ width: 520px;
4369
4402
  }
4370
4403
 
4371
- .muka-textarea__error {
4372
- font-family: var(--text-label-sm-regular-fontFamily);
4373
- font-weight: var(--text-label-sm-regular-fontWeight);
4374
- font-size: var(--text-label-sm-regular-fontSize);
4375
- line-height: var(--text-label-sm-regular-lineHeight);
4376
- color: var(--color-state-error-default);
4377
- margin: 0;
4404
+ /* Photos sizing: left/right medium */
4405
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4406
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4407
+ width: 320px;
4378
4408
  }
4379
4409
 
4380
- .muka-textarea__count {
4381
- font-family: var(--text-label-sm-regular-fontFamily);
4382
- font-weight: var(--text-label-sm-regular-fontWeight);
4383
- font-size: var(--text-label-sm-regular-fontSize);
4384
- line-height: var(--text-label-sm-regular-lineHeight);
4385
- color: var(--color-text-subtle-default);
4386
- margin-left: auto;
4410
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4411
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4412
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4413
+ width: 80px;
4414
+ align-self: stretch;
4387
4415
  }
4388
4416
 
4417
+ /* ─── Main photo ──────────────────────────────────────── */
4389
4418
 
4390
- /* TextLink */
4391
- /* TextLink Component Styles - Using Muka Design Tokens */
4392
-
4393
- .muka-text-link {
4394
- display: inline;
4395
- cursor: pointer;
4396
- text-decoration: underline;
4397
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4398
- text-underline-offset: 0.2em;
4399
- text-decoration-thickness: from-font;
4400
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4401
- border-radius: var(--border-radius-sm);
4402
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4419
+ .muka-tile__photo-main {
4420
+ position: relative;
4421
+ width: 100%;
4422
+ overflow: hidden;
4423
+ flex-shrink: 0;
4403
4424
  }
4404
4425
 
4405
- /* ─── Sizes ───────────────────────────────────────────────
4406
- Mirrors the body text scale so a link matches the copy it sits in. */
4407
- .muka-text-link--sm {
4408
- font-family: var(--text-body-sm-regular-fontFamily);
4409
- font-weight: var(--text-body-sm-regular-fontWeight);
4410
- font-size: var(--text-body-sm-regular-fontSize);
4411
- line-height: var(--text-body-sm-regular-lineHeight);
4426
+ /* 16:9 aspect for lg and md */
4427
+ .muka-tile--lg .muka-tile__photo-main,
4428
+ .muka-tile--md .muka-tile__photo-main {
4429
+ aspect-ratio: 1280 / 720;
4412
4430
  }
4413
4431
 
4414
- .muka-text-link--base {
4415
- font-family: var(--text-body-base-regular-fontFamily);
4416
- font-weight: var(--text-body-base-regular-fontWeight);
4417
- font-size: var(--text-body-base-regular-fontSize);
4418
- line-height: var(--text-body-base-regular-lineHeight);
4432
+ /* 1:1 aspect for top + sm */
4433
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4434
+ aspect-ratio: 1 / 1;
4419
4435
  }
4420
4436
 
4421
- .muka-text-link--lg {
4422
- font-family: var(--text-body-lg-regular-fontFamily);
4423
- font-weight: var(--text-body-lg-regular-fontWeight);
4424
- font-size: var(--text-body-lg-regular-fontSize);
4425
- line-height: var(--text-body-lg-regular-lineHeight);
4437
+ /* Fixed size for left/right + sm */
4438
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4439
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4440
+ width: 80px;
4441
+ height: 80px;
4442
+ aspect-ratio: auto;
4426
4443
  }
4427
4444
 
4428
- /* ─── Variant: default (accent) ───────────────────────────
4429
- Visited repeats the default colour on purpose: the design treats visited and
4430
- default the same, and pinning it stops the browser's purple from showing. */
4431
- .muka-text-link--default,
4432
- .muka-text-link--default:visited {
4433
- color: var(--color-text-action-default);
4445
+ .muka-tile__photo-main img {
4446
+ width: 100%;
4447
+ height: 100%;
4448
+ object-fit: cover;
4449
+ display: block;
4434
4450
  }
4435
4451
 
4436
- .muka-text-link--default:hover,
4437
- .muka-text-link--default:focus-visible {
4438
- color: var(--color-text-action-hover);
4452
+ /* ─── Favourite overlay ───────────────────────────────── */
4453
+
4454
+ .muka-tile__favourite {
4455
+ position: absolute;
4456
+ z-index: 3;
4439
4457
  }
4440
4458
 
4441
- .muka-text-link--default:active {
4442
- color: var(--color-text-action-pressed);
4459
+ .muka-tile--lg .muka-tile__favourite,
4460
+ .muka-tile--md .muka-tile__favourite {
4461
+ top: var(--spacing-4);
4462
+ right: var(--spacing-4);
4443
4463
  }
4444
4464
 
4445
- /* ─── Variant: subtle (neutral) ───────────────────────────
4446
- Hover, focus and pressed all darken to the default text colour. */
4447
- .muka-text-link--subtle,
4448
- .muka-text-link--subtle:visited {
4449
- color: var(--color-text-subtle-default);
4465
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4466
+ top: var(--spacing-1);
4467
+ right: var(--spacing-1);
4450
4468
  }
4451
4469
 
4452
- .muka-text-link--subtle:hover,
4453
- .muka-text-link--subtle:focus-visible,
4454
- .muka-text-link--subtle:active {
4455
- color: var(--color-text-default-default);
4470
+ /* ─── Thumbnails ──────────────────────────────────────── */
4471
+
4472
+ .muka-tile__thumbnails {
4473
+ display: flex;
4474
+ gap: 2px;
4475
+ overflow: hidden;
4476
+ flex-shrink: 0;
4477
+ height: 80px;
4456
4478
  }
4457
4479
 
4458
- /* ─── Focus ───────────────────────────────────────────────
4459
- Same ring as every other focusable Muka component. */
4460
- .muka-text-link:focus-visible {
4461
- outline: 2px solid var(--color-border-focus);
4462
- outline-offset: 2px;
4480
+ .muka-tile__thumbnail {
4481
+ width: 80px;
4482
+ height: 80px;
4483
+ flex-shrink: 0;
4484
+ overflow: hidden;
4463
4485
  }
4464
4486
 
4465
- @media (prefers-reduced-motion: reduce) {
4466
- .muka-text-link {
4467
- transition: none;
4468
- }
4487
+ .muka-tile__thumbnail img {
4488
+ width: 100%;
4489
+ height: 100%;
4490
+ object-fit: cover;
4491
+ display: block;
4469
4492
  }
4470
4493
 
4494
+ /* Gap between main photo and thumbnails */
4495
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4496
+ margin-top: 2px;
4497
+ }
4471
4498
 
4472
- /* Tabs */
4473
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4499
+ /* ─── Content section ─────────────────────────────────── */
4474
4500
 
4475
- .muka-tabs {
4501
+ .muka-tile__content {
4476
4502
  display: flex;
4477
4503
  flex-direction: column;
4504
+ flex: 1;
4505
+ min-width: 0;
4478
4506
  }
4479
4507
 
4480
- /* Alignment Variants */
4481
- .muka-tabs--align-left .muka-tabs__list {
4482
- justify-content: flex-start;
4483
- }
4484
- .muka-tabs--align-center .muka-tabs__list {
4485
- justify-content: center;
4486
- }
4487
- .muka-tabs--align-fill .muka-tabs__list {
4488
- justify-content: space-between;
4489
- }
4490
- .muka-tabs--align-fill .muka-tabs__trigger {
4491
- flex: 1;
4508
+ /* Top layout: content has horizontal padding */
4509
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4510
+ padding: 0 var(--spacing-3);
4511
+ gap: var(--spacing-1);
4492
4512
  }
4493
4513
 
4494
- /* Tab List — strip container */
4495
- .muka-tabs__list {
4496
- display: flex;
4497
- align-items: center;
4498
- position: relative;
4499
- z-index: 2;
4500
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4514
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4515
+ padding: 0 var(--spacing-3);
4516
+ gap: var(--spacing-2);
4501
4517
  }
4502
4518
 
4503
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4504
- .muka-tabs--padding-default .muka-tabs__list {
4505
- padding-inline: var(--tabs-list-padding-x);
4519
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4520
+ gap: var(--spacing-2);
4506
4521
  }
4507
4522
 
4508
- /* Tab Trigger — clean underline style */
4509
- .muka-tabs__trigger {
4510
- display: inline-flex;
4511
- align-items: center;
4512
- justify-content: center;
4513
- gap: var(--spacing-1);
4514
- background: transparent;
4515
- border: none;
4516
- cursor: pointer;
4517
- user-select: none;
4518
- transition: background-color 0.2s ease, color 0.2s ease;
4519
- outline: none;
4520
- white-space: nowrap;
4521
- position: relative;
4522
- z-index: 2;
4523
- color: var(--tabs-trigger-color-default-foreground);
4523
+ /* Left/right layout: content grows to fill space */
4524
+ .muka-tile--image-left .muka-tile__content,
4525
+ .muka-tile--image-right .muka-tile__content {
4526
+ gap: var(--spacing-3);
4527
+ }
4524
4528
 
4525
- /* Default MD size values */
4526
- min-height: var(--tabs-trigger-min-height-md);
4527
- padding: var(--spacing-3);
4528
- font-family: var(--text-label-md-regular-fontFamily);
4529
- font-weight: var(--text-label-md-regular-fontWeight);
4530
- font-size: var(--text-label-md-regular-fontSize);
4531
- line-height: var(--text-label-md-regular-lineHeight);
4529
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4530
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4531
+ padding: 0 var(--spacing-3);
4532
4532
  }
4533
4533
 
4534
- /* Size Variants */
4535
- .muka-tabs--size-sm .muka-tabs__trigger {
4536
- min-height: var(--tabs-trigger-min-height-sm);
4537
- padding: 0 var(--spacing-2);
4538
- font-family: var(--text-label-sm-regular-fontFamily);
4539
- font-weight: var(--text-label-sm-regular-fontWeight);
4540
- font-size: var(--text-label-sm-regular-fontSize);
4541
- line-height: var(--text-label-sm-regular-lineHeight);
4534
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4535
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4536
+ padding: var(--spacing-2) var(--spacing-3);
4542
4537
  }
4543
4538
 
4544
- .muka-tabs--size-lg .muka-tabs__trigger {
4545
- min-height: var(--tabs-trigger-min-height-lg);
4546
- padding: var(--spacing-4);
4547
- font-family: var(--text-label-lg-regular-fontFamily);
4548
- font-weight: var(--text-label-lg-regular-fontWeight);
4549
- font-size: var(--text-label-lg-regular-fontSize);
4550
- line-height: var(--text-label-lg-regular-lineHeight);
4539
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4540
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4541
+ gap: var(--spacing-2);
4551
4542
  }
4552
4543
 
4553
- /* Hover state */
4554
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4555
- color: var(--tabs-trigger-color-hover-foreground);
4544
+ /* ─── Header (heading row + price) ────────────────────── */
4545
+
4546
+ .muka-tile__header {
4547
+ display: flex;
4548
+ align-items: flex-start;
4549
+ gap: var(--spacing-4);
4556
4550
  }
4557
4551
 
4558
- /* Current tab */
4559
- .muka-tabs__trigger--current {
4560
- color: var(--tabs-trigger-color-current-foreground);
4552
+ /* Small horizontal: row with text and action */
4553
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4554
+ gap: var(--spacing-2);
4555
+ align-items: center;
4556
+ padding-top: var(--spacing-1);
4561
4557
  }
4562
4558
 
4563
- /* Active bottom border (underline) */
4564
- .muka-tabs__trigger--current::after {
4565
- content: '';
4566
- position: absolute;
4567
- bottom: -1px; /* Overlap the 1px border */
4568
- left: 0;
4569
- right: 0;
4570
- height: var(--tabs-indicator-height-md);
4571
- background-color: var(--tabs-indicator-color);
4572
- border-bottom-left-radius: 1px;
4573
- border-bottom-right-radius: 1px;
4574
- border-top-left-radius: 3px;
4575
- border-top-right-radius: 3px;
4576
- z-index: 3;
4559
+ /* ─── Text group ──────────────────────────────────────── */
4560
+
4561
+ .muka-tile__text {
4562
+ display: flex;
4563
+ flex-direction: column;
4564
+ flex: 1;
4565
+ min-width: 0;
4566
+ gap: var(--spacing-2);
4577
4567
  }
4578
4568
 
4579
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4580
- height: var(--tabs-indicator-height-sm);
4569
+ /* ─── Heading typography ──────────────────────────────── */
4570
+
4571
+ .muka-tile__heading {
4572
+ margin: 0;
4581
4573
  }
4582
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4583
- height: var(--tabs-indicator-height-lg);
4574
+
4575
+ .muka-tile--lg .muka-tile__heading {
4576
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4577
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4578
+ font-size: var(--text-label-2xl-semibold-fontSize);
4579
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4580
+ color: var(--color-text-default-default);
4584
4581
  }
4585
4582
 
4586
- .muka-tabs__trigger--disabled {
4587
- color: var(--tabs-trigger-color-disabled-foreground);
4588
- cursor: not-allowed;
4583
+ .muka-tile--md .muka-tile__heading {
4584
+ font-family: var(--text-label-xl-semibold-fontFamily);
4585
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4586
+ font-size: var(--text-label-xl-semibold-fontSize);
4587
+ line-height: var(--text-label-xl-semibold-lineHeight);
4588
+ color: var(--color-text-default-default);
4589
4589
  }
4590
4590
 
4591
- .muka-tabs__trigger:focus-visible {
4592
- outline: 2px solid var(--color-border-focus);
4593
- outline-offset: -2px;
4591
+ .muka-tile--sm .muka-tile__heading {
4592
+ font-family: var(--text-label-lg-bold-fontFamily);
4593
+ font-weight: var(--text-label-lg-bold-fontWeight);
4594
+ font-size: var(--text-label-lg-bold-fontSize);
4595
+ line-height: var(--text-label-lg-bold-lineHeight);
4596
+ color: var(--color-text-default-default);
4594
4597
  }
4595
4598
 
4596
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4597
- item sits 12px from the text */
4598
- .muka-tabs__label {
4599
- padding: 0 var(--spacing-2);
4599
+ /* ─── Subheading typography ───────────────────────────── */
4600
+
4601
+ .muka-tile__subheading {
4602
+ margin: 0;
4603
+ color: var(--color-text-subtle-default);
4600
4604
  }
4601
4605
 
4602
- /* Leading item: icon, avatar, avatar group or data pie chart */
4603
- .muka-tabs__leading {
4604
- display: flex;
4605
- align-items: center;
4606
- justify-content: center;
4607
- flex-shrink: 0;
4606
+ .muka-tile--lg .muka-tile__subheading {
4607
+ font-family: var(--text-subheading-md-fontFamily);
4608
+ font-weight: var(--text-subheading-md-fontWeight);
4609
+ font-size: var(--text-subheading-md-fontSize);
4610
+ line-height: var(--text-subheading-md-lineHeight);
4608
4611
  }
4609
- .muka-tabs__trigger .muka-icon {
4610
- color: inherit;
4612
+
4613
+ .muka-tile--md .muka-tile__subheading,
4614
+ .muka-tile--sm .muka-tile__subheading {
4615
+ font-family: var(--text-subheading-sm-fontFamily);
4616
+ font-weight: var(--text-subheading-sm-fontWeight);
4617
+ font-size: var(--text-subheading-sm-fontSize);
4618
+ line-height: var(--text-subheading-sm-lineHeight);
4611
4619
  }
4612
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4613
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4614
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4615
- .muka-tabs--size-md .muka-tabs__leading > svg,
4616
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4617
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4618
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4619
4620
 
4620
- /* Responsive Scroll behavior on small screens */
4621
- @media (max-width: 768px) {
4622
- .muka-tabs__list {
4623
- /* Make scrollable */
4624
- overflow-x: auto;
4625
- overflow-y: hidden;
4626
- /* Force left alignment on mobile to prevent clipping when scrolling */
4627
- justify-content: flex-start !important;
4628
- max-width: 100vw;
4629
- -webkit-overflow-scrolling: touch;
4630
- /* Hide scrollbar for cleaner look */
4631
- scrollbar-width: none;
4632
- }
4633
- .muka-tabs__list::-webkit-scrollbar {
4634
- display: none;
4635
- }
4636
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4637
- .muka-tabs--align-fill .muka-tabs__trigger {
4638
- flex: 0 0 auto;
4639
- }
4621
+ /* ─── Description typography ──────────────────────────── */
4622
+
4623
+ .muka-tile__description {
4624
+ margin: 0;
4625
+ color: var(--color-text-default-default);
4640
4626
  }
4641
4627
 
4642
- /* Tab Panel — content area */
4643
- .muka-tabs__panel {
4644
- background-color: var(--tabs-panel-background);
4645
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4646
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4647
- padding: var(--spacing-4);
4648
- position: relative;
4649
- z-index: 1;
4628
+ .muka-tile--lg .muka-tile__description {
4629
+ font-family: var(--text-body-lg-regular-fontFamily);
4630
+ font-weight: var(--text-body-lg-regular-fontWeight);
4631
+ font-size: var(--text-body-lg-regular-fontSize);
4632
+ line-height: var(--text-body-lg-regular-lineHeight);
4633
+ }
4634
+
4635
+ .muka-tile--md .muka-tile__description,
4636
+ .muka-tile--sm .muka-tile__description {
4650
4637
  font-family: var(--text-body-base-regular-fontFamily);
4651
4638
  font-weight: var(--text-body-base-regular-fontWeight);
4652
4639
  font-size: var(--text-body-base-regular-fontSize);
4653
4640
  line-height: var(--text-body-base-regular-lineHeight);
4654
4641
  }
4655
4642
 
4656
- .muka-tabs__panel:focus-visible {
4657
- outline: 2px solid var(--color-border-focus);
4658
- outline-offset: 2px;
4643
+ /* Description overflow for medium */
4644
+ .muka-tile--md .muka-tile__description {
4645
+ overflow: hidden;
4646
+ text-overflow: ellipsis;
4647
+ }
4648
+
4649
+ /* ─── Price slot ──────────────────────────────────────── */
4650
+
4651
+ .muka-tile__price {
4652
+ flex-shrink: 0;
4653
+ }
4654
+
4655
+ /* ─── Action slot ─────────────────────────────────────── */
4656
+
4657
+ .muka-tile__action {
4658
+ flex-shrink: 0;
4659
4659
  }
4660
4660
 
4661
4661
 
@@ -5160,92 +5160,14 @@ body {
5160
5160
  color: var(--color-text-default-inverse);
5161
5161
  }
5162
5162
 
5163
- .muka-swipe-actions__button--warning {
5164
- background-color: var(--color-state-warning-default);
5165
- color: var(--color-text-default-default);
5166
- }
5167
-
5168
- .muka-swipe-actions__button--destructive {
5169
- background-color: var(--color-state-error-default);
5170
- color: var(--color-text-default-inverse);
5171
- }
5172
-
5173
-
5174
- /* Spinner */
5175
- /* Spinner Component Styles */
5176
-
5177
- .muka-spinner {
5178
- display: inline-flex;
5179
- align-items: center;
5180
- justify-content: center;
5181
- color: var(--color-text-default-default);
5182
- line-height: 0;
5183
- }
5184
-
5185
- .muka-spinner--subtle {
5186
- color: var(--color-text-subtle-default);
5187
- }
5188
-
5189
- .muka-spinner--inverse {
5190
- color: var(--color-text-default-inverse);
5191
- }
5192
-
5193
- .muka-spinner__circle {
5194
- display: inline-block;
5195
- border-radius: 50%;
5196
- border-style: solid;
5197
- border-color: currentColor;
5198
- border-right-color: transparent;
5199
- animation: muka-spinner-rotate 0.7s linear infinite;
5200
- box-sizing: border-box;
5201
- }
5202
-
5203
- /* ─── Sizes ───────────────────────────────────────────── */
5204
-
5205
- .muka-spinner--sm .muka-spinner__circle {
5206
- width: 16px;
5207
- height: 16px;
5208
- border-width: 2px;
5209
- }
5210
-
5211
- .muka-spinner--md .muka-spinner__circle {
5212
- width: 20px;
5213
- height: 20px;
5214
- border-width: 2px;
5215
- }
5216
-
5217
- .muka-spinner--lg .muka-spinner__circle {
5218
- width: 24px;
5219
- height: 24px;
5220
- border-width: 3px;
5221
- }
5222
-
5223
- /* ─── Visually-hidden label ───────────────────────────── */
5224
-
5225
- .muka-spinner__sr-label {
5226
- position: absolute;
5227
- width: 1px;
5228
- height: 1px;
5229
- padding: 0;
5230
- margin: -1px;
5231
- overflow: hidden;
5232
- clip: rect(0, 0, 0, 0);
5233
- white-space: nowrap;
5234
- border: 0;
5235
- }
5236
-
5237
- /* ─── Reduced motion ──────────────────────────────────── */
5238
-
5239
- @keyframes muka-spinner-rotate {
5240
- to {
5241
- transform: rotate(360deg);
5242
- }
5163
+ .muka-swipe-actions__button--warning {
5164
+ background-color: var(--color-state-warning-default);
5165
+ color: var(--color-text-default-default);
5243
5166
  }
5244
5167
 
5245
- @media (prefers-reduced-motion: reduce) {
5246
- .muka-spinner__circle {
5247
- animation-duration: 2.5s;
5248
- }
5168
+ .muka-swipe-actions__button--destructive {
5169
+ background-color: var(--color-state-error-default);
5170
+ color: var(--color-text-default-inverse);
5249
5171
  }
5250
5172
 
5251
5173
 
@@ -5334,6 +5256,84 @@ body {
5334
5256
  }
5335
5257
 
5336
5258
 
5259
+ /* Spinner */
5260
+ /* Spinner Component Styles */
5261
+
5262
+ .muka-spinner {
5263
+ display: inline-flex;
5264
+ align-items: center;
5265
+ justify-content: center;
5266
+ color: var(--color-text-default-default);
5267
+ line-height: 0;
5268
+ }
5269
+
5270
+ .muka-spinner--subtle {
5271
+ color: var(--color-text-subtle-default);
5272
+ }
5273
+
5274
+ .muka-spinner--inverse {
5275
+ color: var(--color-text-default-inverse);
5276
+ }
5277
+
5278
+ .muka-spinner__circle {
5279
+ display: inline-block;
5280
+ border-radius: 50%;
5281
+ border-style: solid;
5282
+ border-color: currentColor;
5283
+ border-right-color: transparent;
5284
+ animation: muka-spinner-rotate 0.7s linear infinite;
5285
+ box-sizing: border-box;
5286
+ }
5287
+
5288
+ /* ─── Sizes ───────────────────────────────────────────── */
5289
+
5290
+ .muka-spinner--sm .muka-spinner__circle {
5291
+ width: 16px;
5292
+ height: 16px;
5293
+ border-width: 2px;
5294
+ }
5295
+
5296
+ .muka-spinner--md .muka-spinner__circle {
5297
+ width: 20px;
5298
+ height: 20px;
5299
+ border-width: 2px;
5300
+ }
5301
+
5302
+ .muka-spinner--lg .muka-spinner__circle {
5303
+ width: 24px;
5304
+ height: 24px;
5305
+ border-width: 3px;
5306
+ }
5307
+
5308
+ /* ─── Visually-hidden label ───────────────────────────── */
5309
+
5310
+ .muka-spinner__sr-label {
5311
+ position: absolute;
5312
+ width: 1px;
5313
+ height: 1px;
5314
+ padding: 0;
5315
+ margin: -1px;
5316
+ overflow: hidden;
5317
+ clip: rect(0, 0, 0, 0);
5318
+ white-space: nowrap;
5319
+ border: 0;
5320
+ }
5321
+
5322
+ /* ─── Reduced motion ──────────────────────────────────── */
5323
+
5324
+ @keyframes muka-spinner-rotate {
5325
+ to {
5326
+ transform: rotate(360deg);
5327
+ }
5328
+ }
5329
+
5330
+ @media (prefers-reduced-motion: reduce) {
5331
+ .muka-spinner__circle {
5332
+ animation-duration: 2.5s;
5333
+ }
5334
+ }
5335
+
5336
+
5337
5337
  /* SmsOtpField */
5338
5338
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5339
5339
 
@@ -5542,212 +5542,62 @@ body {
5542
5542
  }
5543
5543
 
5544
5544
  .muka-skeleton--circular {
5545
- width: 2.5rem;
5546
- height: 2.5rem;
5547
- border-radius: var(--radius-full);
5548
- }
5549
-
5550
- .muka-skeleton--rectangular {
5551
- height: 7.5rem;
5552
- border-radius: var(--radius-md);
5553
- width: 100%;
5554
- }
5555
-
5556
- /* Last line in multi-line text is shorter */
5557
- .muka-skeleton--last-line {
5558
- width: 80%;
5559
- }
5560
-
5561
- /* Lines container */
5562
- .muka-skeleton__lines {
5563
- display: flex;
5564
- flex-direction: column;
5565
- gap: var(--spacing-2);
5566
- }
5567
-
5568
- /* Shimmer animation */
5569
- @keyframes muka-skeleton-shimmer {
5570
- 0% {
5571
- background-position: -200% 0;
5572
- }
5573
- 100% {
5574
- background-position: 200% 0;
5575
- }
5576
- }
5577
-
5578
- .muka-skeleton--shimmer {
5579
- background: linear-gradient(
5580
- 90deg,
5581
- var(--color-surface-level1) 25%,
5582
- var(--color-surface-level2) 50%,
5583
- var(--color-surface-level1) 75%
5584
- );
5585
- background-size: 200% 100%;
5586
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5587
- }
5588
-
5589
- /* Pulse animation */
5590
- @keyframes muka-skeleton-pulse {
5591
- 0%, 100% {
5592
- opacity: 1;
5593
- }
5594
- 50% {
5595
- opacity: 0.4;
5596
- }
5597
- }
5598
-
5599
- .muka-skeleton--pulse {
5600
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5601
- }
5602
-
5603
-
5604
- /* SocialSignInButton */
5605
- /*
5606
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5607
- * Google Identity branding) and intentionally fixed across Muka brands —
5608
- * same exception pattern as LicensePlateInput regulatory colors.
5609
- *
5610
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5611
- * Google: https://developers.google.com/identity/branding-guidelines
5612
- */
5613
- .muka-social-sign-in-button {
5614
- --ssi-white: #ffffff;
5615
- --ssi-black: #000000;
5616
- --ssi-google-text-light: #1f1f1f;
5617
-
5618
- display: inline-flex;
5619
- align-items: center;
5620
- justify-content: center;
5621
-
5622
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5623
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5624
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5625
- font-family: inherit;
5626
- font-weight: 600;
5627
- text-decoration: none;
5628
- white-space: nowrap;
5629
-
5630
- border: 1px solid transparent;
5631
- cursor: pointer;
5632
- user-select: none;
5633
- transition: opacity 0.15s ease, filter 0.15s ease;
5634
-
5635
- outline: none;
5636
- position: relative;
5637
- box-sizing: border-box;
5638
- }
5639
-
5640
- .muka-social-sign-in-button--apple {
5641
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5642
- Helvetica, Arial, sans-serif;
5643
- font-weight: 600;
5644
- }
5645
-
5646
- .muka-social-sign-in-button--google {
5647
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5648
- font-weight: 500;
5649
- }
5650
-
5651
- .muka-social-sign-in-button:focus-visible {
5652
- outline: 2px solid var(--color-border-focus);
5653
- outline-offset: 2px;
5654
- }
5655
-
5656
- /* Sizes — heights align with Button md/lg */
5657
- .muka-social-sign-in-button--md {
5658
- padding: 0 var(--button-padding-md-x);
5659
- border-radius: var(--button-radius-md);
5660
- font-size: var(--text-label-sm-semibold-fontSize);
5661
- line-height: var(--text-label-sm-semibold-lineHeight);
5662
- min-height: 40px;
5663
- min-width: 240px;
5664
- }
5665
-
5666
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5667
- padding: 0 var(--button-gap-md);
5668
- }
5669
-
5670
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5671
- width: var(--button-icon-md);
5672
- height: var(--button-icon-md);
5673
- }
5674
-
5675
- .muka-social-sign-in-button--lg {
5676
- padding: 0 var(--button-padding-lg-x);
5677
- border-radius: var(--button-radius-lg);
5678
- font-size: var(--text-label-lg-semibold-fontSize);
5679
- line-height: var(--text-label-lg-semibold-lineHeight);
5680
- min-height: 48px;
5681
- min-width: 280px;
5682
- }
5683
-
5684
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5685
- padding: 0 var(--button-gap-lg);
5686
- }
5687
-
5688
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5689
- width: var(--button-icon-lg);
5690
- height: var(--button-icon-lg);
5691
- }
5692
-
5693
- /* White lockup — for dark surfaces (Apple White with Outline) */
5694
- .muka-social-sign-in-button--white {
5695
- background-color: var(--ssi-white);
5696
- color: var(--ssi-black);
5697
- border-color: var(--ssi-black);
5698
- }
5699
-
5700
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5701
- color: var(--ssi-google-text-light);
5702
- }
5703
-
5704
- /* Black lockup — for light surfaces */
5705
- .muka-social-sign-in-button--black {
5706
- background-color: var(--ssi-black);
5707
- color: var(--ssi-white);
5708
- border-color: transparent;
5545
+ width: 2.5rem;
5546
+ height: 2.5rem;
5547
+ border-radius: var(--radius-full);
5709
5548
  }
5710
5549
 
5711
- /* Interaction — luminance/opacity only; no brand tint */
5712
- .muka-social-sign-in-button:hover:not(:disabled) {
5713
- filter: brightness(0.92);
5550
+ .muka-skeleton--rectangular {
5551
+ height: 7.5rem;
5552
+ border-radius: var(--radius-md);
5553
+ width: 100%;
5714
5554
  }
5715
5555
 
5716
- .muka-social-sign-in-button:active:not(:disabled) {
5717
- filter: brightness(0.85);
5556
+ /* Last line in multi-line text is shorter */
5557
+ .muka-skeleton--last-line {
5558
+ width: 80%;
5718
5559
  }
5719
5560
 
5720
- .muka-social-sign-in-button:disabled,
5721
- .muka-social-sign-in-button--disabled {
5722
- cursor: not-allowed;
5723
- opacity: 0.4;
5724
- pointer-events: none;
5725
- filter: none;
5561
+ /* Lines container */
5562
+ .muka-skeleton__lines {
5563
+ display: flex;
5564
+ flex-direction: column;
5565
+ gap: var(--spacing-2);
5726
5566
  }
5727
5567
 
5728
- .muka-social-sign-in-button--full-width {
5729
- width: 100%;
5730
- min-width: 0;
5568
+ /* Shimmer animation */
5569
+ @keyframes muka-skeleton-shimmer {
5570
+ 0% {
5571
+ background-position: -200% 0;
5572
+ }
5573
+ 100% {
5574
+ background-position: 200% 0;
5575
+ }
5731
5576
  }
5732
5577
 
5733
- .muka-social-sign-in-button__icon {
5734
- display: inline-flex;
5735
- align-items: center;
5736
- justify-content: center;
5737
- flex-shrink: 0;
5578
+ .muka-skeleton--shimmer {
5579
+ background: linear-gradient(
5580
+ 90deg,
5581
+ var(--color-surface-level1) 25%,
5582
+ var(--color-surface-level2) 50%,
5583
+ var(--color-surface-level1) 75%
5584
+ );
5585
+ background-size: 200% 100%;
5586
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5738
5587
  }
5739
5588
 
5740
- .muka-social-sign-in-button__icon > *,
5741
- .muka-social-sign-in-button__icon svg {
5742
- width: auto;
5743
- height: 100%;
5744
- max-width: 100%;
5745
- display: block;
5589
+ /* Pulse animation */
5590
+ @keyframes muka-skeleton-pulse {
5591
+ 0%, 100% {
5592
+ opacity: 1;
5593
+ }
5594
+ 50% {
5595
+ opacity: 0.4;
5596
+ }
5746
5597
  }
5747
5598
 
5748
- .muka-social-sign-in-button__label {
5749
- display: inline-flex;
5750
- align-items: center;
5599
+ .muka-skeleton--pulse {
5600
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5751
5601
  }
5752
5602
 
5753
5603
 
@@ -5888,243 +5738,55 @@ body {
5888
5738
 
5889
5739
  background-color: var(--color-surface-level3);
5890
5740
  border-top-left-radius: var(--radius-lg);
5891
- border-top-right-radius: var(--radius-lg);
5892
- box-shadow: var(--shadow-level5);
5893
-
5894
- outline: none;
5895
- }
5896
-
5897
- /* Safe-area bottom inset for the iPhone home indicator. */
5898
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5899
- padding-bottom: env(safe-area-inset-bottom);
5900
- }
5901
-
5902
- /* ─── Drag handle ─────────────────────────────────────── */
5903
-
5904
- .muka-sheet__handle-container {
5905
- display: flex;
5906
- justify-content: center;
5907
- flex-shrink: 0;
5908
- padding: var(--spacing-3) 0;
5909
- }
5910
-
5911
- .muka-sheet__handle {
5912
- width: var(--dialog-drag-handle-width);
5913
- height: var(--dialog-drag-handle-height);
5914
- background-color: var(--dialog-drag-handle-color);
5915
- border-radius: var(--dialog-drag-handle-radius);
5916
- }
5917
-
5918
- /* ─── Body (scrollable) ───────────────────────────────── */
5919
-
5920
- .muka-sheet__body {
5921
- flex: 1 1 0%;
5922
- min-height: 0;
5923
- overflow-y: auto;
5924
- -webkit-overflow-scrolling: touch;
5925
- overscroll-behavior: contain;
5926
- }
5927
-
5928
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5929
-
5930
- .muka-sheet__sr-title {
5931
- position: absolute;
5932
- width: 1px;
5933
- height: 1px;
5934
- padding: 0;
5935
- margin: -1px;
5936
- overflow: hidden;
5937
- clip: rect(0, 0, 0, 0);
5938
- white-space: nowrap;
5939
- border: 0;
5940
- }
5941
-
5942
-
5943
- /* SegmentGroup */
5944
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5945
-
5946
- /* Container */
5947
- .muka-segmentgroup {
5948
- display: inline-flex;
5949
- align-items: center;
5950
- gap: 0;
5951
- padding: var(--segmentgroup-container-padding);
5952
- background-color: var(--segmentgroup-container-background);
5953
- border-radius: var(--segmentgroup-container-radius);
5954
- position: relative;
5955
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5956
- }
5957
-
5958
- /* Inset shadow on container */
5959
- .muka-segmentgroup::after {
5960
- content: '';
5961
- position: absolute;
5962
- inset: 0;
5963
- border-radius: inherit;
5964
- box-shadow: var(--segmentgroup-container-shadow);
5965
- pointer-events: none;
5966
- }
5967
-
5968
- /* Full width variant */
5969
- .muka-segmentgroup--full-width {
5970
- width: 100%;
5971
- }
5972
-
5973
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5974
- flex: 1;
5975
- }
5976
-
5977
- /* Pill */
5978
- .muka-segmentgroup__pill {
5979
- position: absolute;
5980
- top: var(--segmentgroup-container-padding);
5981
- bottom: var(--segmentgroup-container-padding);
5982
- left: 0;
5983
- margin: 0;
5984
- background-color: var(--segmentgroup-segment-color-selected-background);
5985
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5986
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5987
- z-index: 0;
5988
- pointer-events: none;
5989
- }
5990
-
5991
- /* Segment button */
5992
- .muka-segmentgroup__segment {
5993
- display: inline-flex;
5994
- align-items: center;
5995
- justify-content: center;
5996
- gap: var(--segmentgroup-segment-gap);
5997
- border: none;
5998
- background-color: var(--segmentgroup-segment-color-unselected-background);
5999
- color: var(--segmentgroup-segment-color-unselected-foreground);
6000
- border-radius: var(--segmentgroup-segment-radius);
6001
- cursor: pointer;
6002
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6003
- position: relative;
6004
- outline: none;
6005
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
6006
- font-family: var(--alias-font-plain-family);
6007
- font-weight: var(--segmentgroup-segment-fontWeight);
6008
- z-index: 1; /* Keep above pill */
6009
- }
6010
-
6011
- /* Size variants */
6012
- .muka-segmentgroup--sm {
6013
- border-radius: var(--border-radius-xl, 16px);
6014
- }
6015
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
6016
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
6017
- border-radius: var(--border-radius-xl, 16px);
6018
- }
6019
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
6020
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6021
- height: var(--segmentgroup-segment-height-sm);
6022
- font-size: var(--text-label-sm-fontSize);
6023
- line-height: var(--text-label-sm-lineHeight);
6024
- }
6025
-
6026
- .muka-segmentgroup--md {
6027
- border-radius: var(--border-radius-xl, 16px);
6028
- }
6029
- .muka-segmentgroup--md .muka-segmentgroup__segment,
6030
- .muka-segmentgroup--md .muka-segmentgroup__pill {
6031
- border-radius: var(--border-radius-xl, 16px);
6032
- }
6033
- .muka-segmentgroup--md .muka-segmentgroup__segment {
6034
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6035
- font-size: var(--text-label-md-fontSize);
6036
- line-height: var(--text-label-md-lineHeight);
6037
- }
6038
-
6039
- .muka-segmentgroup--lg {
6040
- border-radius: var(--border-radius-full, 9999px);
6041
- }
6042
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
6043
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
6044
- border-radius: var(--border-radius-full, 9999px);
6045
- }
6046
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
6047
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6048
- height: 40px;
6049
- font-size: var(--text-label-lg-fontSize);
6050
- line-height: var(--text-label-lg-lineHeight);
6051
- }
6052
-
6053
- /* Icon-only variants */
6054
- .muka-segmentgroup--icon-only {
6055
- gap: var(--spacing-1, 4px);
6056
- }
6057
-
6058
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6059
- width: 24px;
6060
- height: 24px;
6061
- padding: 0;
6062
- }
6063
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6064
- width: 16px;
6065
- height: 16px;
6066
- }
6067
-
6068
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6069
- width: 32px;
6070
- height: 32px;
6071
- padding: 0;
6072
- }
6073
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6074
- width: 20px;
6075
- height: 20px;
6076
- }
5741
+ border-top-right-radius: var(--radius-lg);
5742
+ box-shadow: var(--shadow-level5);
6077
5743
 
6078
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6079
- width: 40px;
6080
- height: 40px;
6081
- padding: 0;
5744
+ outline: none;
6082
5745
  }
6083
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6084
- width: 24px;
6085
- height: 24px;
5746
+
5747
+ /* Safe-area bottom inset for the iPhone home indicator. */
5748
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5749
+ padding-bottom: env(safe-area-inset-bottom);
6086
5750
  }
6087
5751
 
6088
- /* Icon */
6089
- .muka-segmentgroup__icon {
6090
- display: inline-flex;
6091
- align-items: center;
5752
+ /* ─── Drag handle ─────────────────────────────────────── */
5753
+
5754
+ .muka-sheet__handle-container {
5755
+ display: flex;
6092
5756
  justify-content: center;
5757
+ flex-shrink: 0;
5758
+ padding: var(--spacing-3) 0;
6093
5759
  }
6094
5760
 
6095
- /* Selected state */
6096
- .muka-segmentgroup__segment--selected {
6097
- background-color: transparent;
6098
- box-shadow: none;
6099
- color: var(--segmentgroup-segment-color-selected-foreground);
6100
- z-index: 2; /* Highlight pill when focused is tested below */
5761
+ .muka-sheet__handle {
5762
+ width: var(--dialog-drag-handle-width);
5763
+ height: var(--dialog-drag-handle-height);
5764
+ background-color: var(--dialog-drag-handle-color);
5765
+ border-radius: var(--dialog-drag-handle-radius);
6101
5766
  }
6102
5767
 
6103
- /* Hover state (only for unselected) */
6104
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6105
- color: var(--segmentgroup-segment-color-hover-foreground);
6106
- }
5768
+ /* ─── Body (scrollable) ───────────────────────────────── */
6107
5769
 
6108
- /* Focus visible */
6109
- .muka-segmentgroup__segment:focus-visible {
6110
- outline: 2px solid var(--color-border-focus);
6111
- outline-offset: 2px;
6112
- z-index: 2;
5770
+ .muka-sheet__body {
5771
+ flex: 1 1 0%;
5772
+ min-height: 0;
5773
+ overflow-y: auto;
5774
+ -webkit-overflow-scrolling: touch;
5775
+ overscroll-behavior: contain;
6113
5776
  }
6114
5777
 
6115
- /* Disabled state */
6116
- .muka-segmentgroup__segment--disabled,
6117
- .muka-segmentgroup__segment:disabled {
6118
- cursor: not-allowed;
6119
- opacity: 0.5;
6120
- }
5778
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6121
5779
 
6122
- /* Label */
6123
- .muka-segmentgroup__label {
6124
- display: inline-flex;
6125
- align-items: center;
5780
+ .muka-sheet__sr-title {
5781
+ position: absolute;
5782
+ width: 1px;
5783
+ height: 1px;
5784
+ padding: 0;
5785
+ margin: -1px;
5786
+ overflow: hidden;
5787
+ clip: rect(0, 0, 0, 0);
6126
5788
  white-space: nowrap;
6127
- user-select: none;
5789
+ border: 0;
6128
5790
  }
6129
5791
 
6130
5792
 
@@ -6311,14 +5973,202 @@ body {
6311
5973
  margin: 0;
6312
5974
  }
6313
5975
 
6314
- /* Error message — same as Input */
6315
- .muka-select__error {
6316
- font-family: var(--text-label-sm-regular-fontFamily);
6317
- font-weight: var(--text-label-sm-regular-fontWeight);
6318
- font-size: var(--text-label-sm-regular-fontSize);
6319
- line-height: var(--text-label-sm-regular-lineHeight);
6320
- color: var(--color-state-error-default);
6321
- margin: 0;
5976
+ /* Error message — same as Input */
5977
+ .muka-select__error {
5978
+ font-family: var(--text-label-sm-regular-fontFamily);
5979
+ font-weight: var(--text-label-sm-regular-fontWeight);
5980
+ font-size: var(--text-label-sm-regular-fontSize);
5981
+ line-height: var(--text-label-sm-regular-lineHeight);
5982
+ color: var(--color-state-error-default);
5983
+ margin: 0;
5984
+ }
5985
+
5986
+
5987
+ /* SegmentGroup */
5988
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5989
+
5990
+ /* Container */
5991
+ .muka-segmentgroup {
5992
+ display: inline-flex;
5993
+ align-items: center;
5994
+ gap: 0;
5995
+ padding: var(--segmentgroup-container-padding);
5996
+ background-color: var(--segmentgroup-container-background);
5997
+ border-radius: var(--segmentgroup-container-radius);
5998
+ position: relative;
5999
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
6000
+ }
6001
+
6002
+ /* Inset shadow on container */
6003
+ .muka-segmentgroup::after {
6004
+ content: '';
6005
+ position: absolute;
6006
+ inset: 0;
6007
+ border-radius: inherit;
6008
+ box-shadow: var(--segmentgroup-container-shadow);
6009
+ pointer-events: none;
6010
+ }
6011
+
6012
+ /* Full width variant */
6013
+ .muka-segmentgroup--full-width {
6014
+ width: 100%;
6015
+ }
6016
+
6017
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6018
+ flex: 1;
6019
+ }
6020
+
6021
+ /* Pill */
6022
+ .muka-segmentgroup__pill {
6023
+ position: absolute;
6024
+ top: var(--segmentgroup-container-padding);
6025
+ bottom: var(--segmentgroup-container-padding);
6026
+ left: 0;
6027
+ margin: 0;
6028
+ background-color: var(--segmentgroup-segment-color-selected-background);
6029
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
6030
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6031
+ z-index: 0;
6032
+ pointer-events: none;
6033
+ }
6034
+
6035
+ /* Segment button */
6036
+ .muka-segmentgroup__segment {
6037
+ display: inline-flex;
6038
+ align-items: center;
6039
+ justify-content: center;
6040
+ gap: var(--segmentgroup-segment-gap);
6041
+ border: none;
6042
+ background-color: var(--segmentgroup-segment-color-unselected-background);
6043
+ color: var(--segmentgroup-segment-color-unselected-foreground);
6044
+ border-radius: var(--segmentgroup-segment-radius);
6045
+ cursor: pointer;
6046
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6047
+ position: relative;
6048
+ outline: none;
6049
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
6050
+ font-family: var(--alias-font-plain-family);
6051
+ font-weight: var(--segmentgroup-segment-fontWeight);
6052
+ z-index: 1; /* Keep above pill */
6053
+ }
6054
+
6055
+ /* Size variants */
6056
+ .muka-segmentgroup--sm {
6057
+ border-radius: var(--border-radius-xl, 16px);
6058
+ }
6059
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
6060
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
6061
+ border-radius: var(--border-radius-xl, 16px);
6062
+ }
6063
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
6064
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6065
+ height: var(--segmentgroup-segment-height-sm);
6066
+ font-size: var(--text-label-sm-fontSize);
6067
+ line-height: var(--text-label-sm-lineHeight);
6068
+ }
6069
+
6070
+ .muka-segmentgroup--md {
6071
+ border-radius: var(--border-radius-xl, 16px);
6072
+ }
6073
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
6074
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
6075
+ border-radius: var(--border-radius-xl, 16px);
6076
+ }
6077
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
6078
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6079
+ font-size: var(--text-label-md-fontSize);
6080
+ line-height: var(--text-label-md-lineHeight);
6081
+ }
6082
+
6083
+ .muka-segmentgroup--lg {
6084
+ border-radius: var(--border-radius-full, 9999px);
6085
+ }
6086
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
6087
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
6088
+ border-radius: var(--border-radius-full, 9999px);
6089
+ }
6090
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
6091
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6092
+ height: 40px;
6093
+ font-size: var(--text-label-lg-fontSize);
6094
+ line-height: var(--text-label-lg-lineHeight);
6095
+ }
6096
+
6097
+ /* Icon-only variants */
6098
+ .muka-segmentgroup--icon-only {
6099
+ gap: var(--spacing-1, 4px);
6100
+ }
6101
+
6102
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6103
+ width: 24px;
6104
+ height: 24px;
6105
+ padding: 0;
6106
+ }
6107
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6108
+ width: 16px;
6109
+ height: 16px;
6110
+ }
6111
+
6112
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6113
+ width: 32px;
6114
+ height: 32px;
6115
+ padding: 0;
6116
+ }
6117
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6118
+ width: 20px;
6119
+ height: 20px;
6120
+ }
6121
+
6122
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6123
+ width: 40px;
6124
+ height: 40px;
6125
+ padding: 0;
6126
+ }
6127
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6128
+ width: 24px;
6129
+ height: 24px;
6130
+ }
6131
+
6132
+ /* Icon */
6133
+ .muka-segmentgroup__icon {
6134
+ display: inline-flex;
6135
+ align-items: center;
6136
+ justify-content: center;
6137
+ }
6138
+
6139
+ /* Selected state */
6140
+ .muka-segmentgroup__segment--selected {
6141
+ background-color: transparent;
6142
+ box-shadow: none;
6143
+ color: var(--segmentgroup-segment-color-selected-foreground);
6144
+ z-index: 2; /* Highlight pill when focused is tested below */
6145
+ }
6146
+
6147
+ /* Hover state (only for unselected) */
6148
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6149
+ color: var(--segmentgroup-segment-color-hover-foreground);
6150
+ }
6151
+
6152
+ /* Focus visible */
6153
+ .muka-segmentgroup__segment:focus-visible {
6154
+ outline: 2px solid var(--color-border-focus);
6155
+ outline-offset: 2px;
6156
+ z-index: 2;
6157
+ }
6158
+
6159
+ /* Disabled state */
6160
+ .muka-segmentgroup__segment--disabled,
6161
+ .muka-segmentgroup__segment:disabled {
6162
+ cursor: not-allowed;
6163
+ opacity: 0.5;
6164
+ }
6165
+
6166
+ /* Label */
6167
+ .muka-segmentgroup__label {
6168
+ display: inline-flex;
6169
+ align-items: center;
6170
+ white-space: nowrap;
6171
+ user-select: none;
6322
6172
  }
6323
6173
 
6324
6174
 
@@ -7194,6 +7044,53 @@ body {
7194
7044
  }
7195
7045
 
7196
7046
 
7047
+ /* PullToRefresh */
7048
+ /* PullToRefresh Component Styles */
7049
+
7050
+ .muka-pull-to-refresh {
7051
+ position: relative;
7052
+ display: flex;
7053
+ flex-direction: column;
7054
+ width: 100%;
7055
+ height: 100%;
7056
+ overflow: hidden;
7057
+ }
7058
+
7059
+ .muka-pull-to-refresh__indicator {
7060
+ position: absolute;
7061
+ top: 0;
7062
+ left: 0;
7063
+ right: 0;
7064
+ display: flex;
7065
+ align-items: flex-end;
7066
+ justify-content: center;
7067
+ padding-bottom: var(--spacing-2);
7068
+ color: var(--color-text-subtle-default);
7069
+ overflow: hidden;
7070
+ pointer-events: none;
7071
+ z-index: 1;
7072
+ }
7073
+
7074
+ .muka-pull-to-refresh__chevron {
7075
+ display: inline-flex;
7076
+ align-items: center;
7077
+ justify-content: center;
7078
+ transition: transform 0.16s ease;
7079
+ }
7080
+
7081
+ .muka-pull-to-refresh__scroller {
7082
+ flex: 1 1 auto;
7083
+ min-height: 0;
7084
+ width: 100%;
7085
+ overflow-x: clip;
7086
+ overflow-y: auto;
7087
+ -webkit-overflow-scrolling: touch;
7088
+ overscroll-behavior-y: contain;
7089
+ touch-action: pan-y;
7090
+ will-change: transform;
7091
+ }
7092
+
7093
+
7197
7094
  /* ProgressTracker */
7198
7095
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
7199
7096
 
@@ -8016,53 +7913,6 @@ button.muka-progress-tracker__tab:focus-visible {
8016
7913
  }
8017
7914
 
8018
7915
 
8019
- /* PullToRefresh */
8020
- /* PullToRefresh Component Styles */
8021
-
8022
- .muka-pull-to-refresh {
8023
- position: relative;
8024
- display: flex;
8025
- flex-direction: column;
8026
- width: 100%;
8027
- height: 100%;
8028
- overflow: hidden;
8029
- }
8030
-
8031
- .muka-pull-to-refresh__indicator {
8032
- position: absolute;
8033
- top: 0;
8034
- left: 0;
8035
- right: 0;
8036
- display: flex;
8037
- align-items: flex-end;
8038
- justify-content: center;
8039
- padding-bottom: var(--spacing-2);
8040
- color: var(--color-text-subtle-default);
8041
- overflow: hidden;
8042
- pointer-events: none;
8043
- z-index: 1;
8044
- }
8045
-
8046
- .muka-pull-to-refresh__chevron {
8047
- display: inline-flex;
8048
- align-items: center;
8049
- justify-content: center;
8050
- transition: transform 0.16s ease;
8051
- }
8052
-
8053
- .muka-pull-to-refresh__scroller {
8054
- flex: 1 1 auto;
8055
- min-height: 0;
8056
- width: 100%;
8057
- overflow-x: clip;
8058
- overflow-y: auto;
8059
- -webkit-overflow-scrolling: touch;
8060
- overscroll-behavior-y: contain;
8061
- touch-action: pan-y;
8062
- will-change: transform;
8063
- }
8064
-
8065
-
8066
7916
  /* Progress */
8067
7917
  /* Progress Component Styles - Using Muka Design Tokens */
8068
7918
 
@@ -10124,11 +9974,12 @@ button.muka-progress-tracker__tab:focus-visible {
10124
9974
  margin: 0;
10125
9975
  padding: 0;
10126
9976
 
10127
- /* Typography - using semantic tokens */
10128
- font-family: var(--alias-font-plain-family);
10129
- font-weight: var(--alias-font-plain-weight-regular, 400);
10130
- font-size: var(--text-body-sm-fontSize);
10131
- line-height: var(--text-body-sm-lineHeight);
9977
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
9978
+ names exist only as fallbacks in base.css, not in any theme. */
9979
+ font-family: var(--text-body-sm-regular-fontFamily);
9980
+ font-weight: var(--text-body-sm-regular-fontWeight);
9981
+ font-size: var(--text-body-sm-regular-fontSize);
9982
+ line-height: var(--text-body-sm-regular-lineHeight);
10132
9983
  color: var(--color-text-subtle-default);
10133
9984
 
10134
9985
  /* Text handling */
@@ -11174,48 +11025,189 @@ li.muka-listitem {
11174
11025
  text-overflow: ellipsis;
11175
11026
  }
11176
11027
 
11177
- .muka-fileupload-item--error .muka-fileupload-item__name {
11178
- color: var(--fileupload-item-color-error-foreground);
11028
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11029
+ color: var(--fileupload-item-color-error-foreground);
11030
+ }
11031
+
11032
+ .muka-fileupload-item__meta {
11033
+ font-family: var(--text-label-sm-regular-fontFamily);
11034
+ font-size: var(--text-label-sm-regular-fontSize);
11035
+ font-weight: var(--text-label-sm-regular-fontWeight);
11036
+ line-height: var(--text-label-sm-regular-lineHeight);
11037
+ color: var(--color-text-subtle-default);
11038
+ }
11039
+
11040
+ .muka-fileupload-item__error {
11041
+ color: var(--fileupload-item-color-error-foreground);
11042
+ }
11043
+
11044
+ .muka-fileupload-item__progress {
11045
+ margin-top: var(--spacing-1);
11046
+ }
11047
+
11048
+ /* Actions */
11049
+ .muka-fileupload-item__actions {
11050
+ display: flex;
11051
+ align-items: center;
11052
+ gap: var(--spacing-2);
11053
+ flex-shrink: 0;
11054
+ }
11055
+
11056
+ .muka-fileupload-item__status-icon--success {
11057
+ color: var(--fileupload-item-color-success-foreground);
11058
+ }
11059
+
11060
+ .muka-fileupload-item__status-icon--error {
11061
+ color: var(--fileupload-item-color-error-foreground);
11062
+ }
11063
+
11064
+ .muka-fileupload-item__remove {
11065
+ opacity: 0.7;
11066
+ }
11067
+
11068
+ .muka-fileupload-item__remove:hover {
11069
+ opacity: 1;
11070
+ }
11071
+
11072
+
11073
+ /* FAB */
11074
+ /* FAB (Floating Action Button) Component Styles */
11075
+
11076
+ .muka-fab {
11077
+ position: fixed;
11078
+ z-index: 40;
11079
+
11080
+ display: inline-flex;
11081
+ align-items: center;
11082
+ justify-content: center;
11083
+ gap: var(--spacing-2);
11084
+
11085
+ border: none;
11086
+ cursor: pointer;
11087
+ font-family: inherit;
11088
+ box-shadow: var(--shadow-level4);
11089
+
11090
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11091
+ -webkit-tap-highlight-color: transparent;
11092
+ }
11093
+
11094
+ .muka-fab:active {
11095
+ transform: scale(0.96);
11096
+ box-shadow: var(--shadow-level3);
11097
+ }
11098
+
11099
+ .muka-fab:focus-visible {
11100
+ outline: 2px solid var(--color-action-default);
11101
+ outline-offset: 2px;
11102
+ }
11103
+
11104
+ .muka-fab:disabled {
11105
+ opacity: 0.5;
11106
+ cursor: not-allowed;
11107
+ box-shadow: none;
11108
+ }
11109
+
11110
+ /* ─── Variants ────────────────────────────────────────── */
11111
+
11112
+ .muka-fab--primary {
11113
+ background-color: var(--color-action-default);
11114
+ color: var(--color-text-default-inverse);
11115
+ }
11116
+
11117
+ .muka-fab--primary:hover:not(:disabled) {
11118
+ background-color: var(--color-action-hover);
11119
+ }
11120
+
11121
+ .muka-fab--secondary {
11122
+ background-color: var(--color-surface-level3);
11123
+ color: var(--color-text-default-default);
11124
+ }
11125
+
11126
+ .muka-fab--secondary:hover:not(:disabled) {
11127
+ background-color: var(--color-surface-level2);
11128
+ }
11129
+
11130
+ /* ─── Sizes (circular by default) ─────────────────────── */
11131
+
11132
+ .muka-fab--md {
11133
+ width: 56px;
11134
+ height: 56px;
11135
+ border-radius: 50%;
11136
+ }
11137
+
11138
+ .muka-fab--lg {
11139
+ width: 64px;
11140
+ height: 64px;
11141
+ border-radius: 50%;
11142
+ }
11143
+
11144
+ /* ─── Extended (pill shape with label) ────────────────── */
11145
+
11146
+ .muka-fab--extended {
11147
+ width: auto;
11148
+ height: auto;
11149
+ padding: var(--spacing-3) var(--spacing-4);
11150
+ border-radius: var(--radius-full);
11151
+ }
11152
+
11153
+ .muka-fab--extended.muka-fab--lg {
11154
+ padding: var(--spacing-4) var(--spacing-5);
11155
+ }
11156
+
11157
+ .muka-fab__icon {
11158
+ display: inline-flex;
11159
+ align-items: center;
11160
+ justify-content: center;
11161
+ width: 24px;
11162
+ height: 24px;
11163
+ }
11164
+
11165
+ .muka-fab__icon svg {
11166
+ width: 100%;
11167
+ height: 100%;
11179
11168
  }
11180
11169
 
11181
- .muka-fileupload-item__meta {
11182
- font-family: var(--text-label-sm-regular-fontFamily);
11183
- font-size: var(--text-label-sm-regular-fontSize);
11184
- font-weight: var(--text-label-sm-regular-fontWeight);
11185
- line-height: var(--text-label-sm-regular-lineHeight);
11186
- color: var(--color-text-subtle-default);
11170
+ .muka-fab__label {
11171
+ font-family: var(--text-label-md-semibold-fontFamily);
11172
+ font-weight: var(--text-label-md-semibold-fontWeight);
11173
+ font-size: var(--text-label-md-semibold-fontSize);
11174
+ line-height: var(--text-label-md-semibold-lineHeight);
11187
11175
  }
11188
11176
 
11189
- .muka-fileupload-item__error {
11190
- color: var(--fileupload-item-color-error-foreground);
11177
+ /* ─── Positioning ─────────────────────────────────────── */
11178
+
11179
+ .muka-fab--bottom-right {
11180
+ right: var(--spacing-4);
11181
+ bottom: var(--spacing-4);
11191
11182
  }
11192
11183
 
11193
- .muka-fileupload-item__progress {
11194
- margin-top: var(--spacing-1);
11184
+ .muka-fab--bottom-left {
11185
+ left: var(--spacing-4);
11186
+ bottom: var(--spacing-4);
11195
11187
  }
11196
11188
 
11197
- /* Actions */
11198
- .muka-fileupload-item__actions {
11199
- display: flex;
11200
- align-items: center;
11201
- gap: var(--spacing-2);
11202
- flex-shrink: 0;
11189
+ .muka-fab--bottom-center {
11190
+ left: 50%;
11191
+ bottom: var(--spacing-4);
11192
+ transform: translateX(-50%);
11203
11193
  }
11204
11194
 
11205
- .muka-fileupload-item__status-icon--success {
11206
- color: var(--fileupload-item-color-success-foreground);
11195
+ .muka-fab--bottom-center:active {
11196
+ transform: translateX(-50%) scale(0.96);
11207
11197
  }
11208
11198
 
11209
- .muka-fileupload-item__status-icon--error {
11210
- color: var(--fileupload-item-color-error-foreground);
11199
+ /* Add the iOS home-indicator inset to the bottom offset. */
11200
+ .muka-fab:not(.muka-fab--no-safe-area) {
11201
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11211
11202
  }
11212
11203
 
11213
- .muka-fileupload-item__remove {
11214
- opacity: 0.7;
11204
+ /* Lateral safe-area for landscape iPhone with notch. */
11205
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11206
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11215
11207
  }
11216
11208
 
11217
- .muka-fileupload-item__remove:hover {
11218
- opacity: 1;
11209
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11210
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11219
11211
  }
11220
11212
 
11221
11213
 
@@ -11610,147 +11602,6 @@ li.muka-listitem {
11610
11602
  }
11611
11603
 
11612
11604
 
11613
- /* FAB */
11614
- /* FAB (Floating Action Button) Component Styles */
11615
-
11616
- .muka-fab {
11617
- position: fixed;
11618
- z-index: 40;
11619
-
11620
- display: inline-flex;
11621
- align-items: center;
11622
- justify-content: center;
11623
- gap: var(--spacing-2);
11624
-
11625
- border: none;
11626
- cursor: pointer;
11627
- font-family: inherit;
11628
- box-shadow: var(--shadow-level4);
11629
-
11630
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11631
- -webkit-tap-highlight-color: transparent;
11632
- }
11633
-
11634
- .muka-fab:active {
11635
- transform: scale(0.96);
11636
- box-shadow: var(--shadow-level3);
11637
- }
11638
-
11639
- .muka-fab:focus-visible {
11640
- outline: 2px solid var(--color-action-default);
11641
- outline-offset: 2px;
11642
- }
11643
-
11644
- .muka-fab:disabled {
11645
- opacity: 0.5;
11646
- cursor: not-allowed;
11647
- box-shadow: none;
11648
- }
11649
-
11650
- /* ─── Variants ────────────────────────────────────────── */
11651
-
11652
- .muka-fab--primary {
11653
- background-color: var(--color-action-default);
11654
- color: var(--color-text-default-inverse);
11655
- }
11656
-
11657
- .muka-fab--primary:hover:not(:disabled) {
11658
- background-color: var(--color-action-hover);
11659
- }
11660
-
11661
- .muka-fab--secondary {
11662
- background-color: var(--color-surface-level3);
11663
- color: var(--color-text-default-default);
11664
- }
11665
-
11666
- .muka-fab--secondary:hover:not(:disabled) {
11667
- background-color: var(--color-surface-level2);
11668
- }
11669
-
11670
- /* ─── Sizes (circular by default) ─────────────────────── */
11671
-
11672
- .muka-fab--md {
11673
- width: 56px;
11674
- height: 56px;
11675
- border-radius: 50%;
11676
- }
11677
-
11678
- .muka-fab--lg {
11679
- width: 64px;
11680
- height: 64px;
11681
- border-radius: 50%;
11682
- }
11683
-
11684
- /* ─── Extended (pill shape with label) ────────────────── */
11685
-
11686
- .muka-fab--extended {
11687
- width: auto;
11688
- height: auto;
11689
- padding: var(--spacing-3) var(--spacing-4);
11690
- border-radius: var(--radius-full);
11691
- }
11692
-
11693
- .muka-fab--extended.muka-fab--lg {
11694
- padding: var(--spacing-4) var(--spacing-5);
11695
- }
11696
-
11697
- .muka-fab__icon {
11698
- display: inline-flex;
11699
- align-items: center;
11700
- justify-content: center;
11701
- width: 24px;
11702
- height: 24px;
11703
- }
11704
-
11705
- .muka-fab__icon svg {
11706
- width: 100%;
11707
- height: 100%;
11708
- }
11709
-
11710
- .muka-fab__label {
11711
- font-family: var(--text-label-md-semibold-fontFamily);
11712
- font-weight: var(--text-label-md-semibold-fontWeight);
11713
- font-size: var(--text-label-md-semibold-fontSize);
11714
- line-height: var(--text-label-md-semibold-lineHeight);
11715
- }
11716
-
11717
- /* ─── Positioning ─────────────────────────────────────── */
11718
-
11719
- .muka-fab--bottom-right {
11720
- right: var(--spacing-4);
11721
- bottom: var(--spacing-4);
11722
- }
11723
-
11724
- .muka-fab--bottom-left {
11725
- left: var(--spacing-4);
11726
- bottom: var(--spacing-4);
11727
- }
11728
-
11729
- .muka-fab--bottom-center {
11730
- left: 50%;
11731
- bottom: var(--spacing-4);
11732
- transform: translateX(-50%);
11733
- }
11734
-
11735
- .muka-fab--bottom-center:active {
11736
- transform: translateX(-50%) scale(0.96);
11737
- }
11738
-
11739
- /* Add the iOS home-indicator inset to the bottom offset. */
11740
- .muka-fab:not(.muka-fab--no-safe-area) {
11741
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11742
- }
11743
-
11744
- /* Lateral safe-area for landscape iPhone with notch. */
11745
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11746
- right: max(var(--spacing-4), env(safe-area-inset-right));
11747
- }
11748
-
11749
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11750
- left: max(var(--spacing-4), env(safe-area-inset-left));
11751
- }
11752
-
11753
-
11754
11605
  /* Drawer */
11755
11606
  /* Drawer Component Styles */
11756
11607
 
@@ -14375,25 +14226,93 @@ button.muka-chat-photo-grid__tile:focus-visible {
14375
14226
  grid-column: span 3;
14376
14227
  }
14377
14228
 
14378
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14379
- grid-column: span 2;
14229
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14230
+ grid-column: span 2;
14231
+ }
14232
+
14233
+ .muka-chat-photo-grid--6,
14234
+ .muka-chat-photo-grid--overflow {
14235
+ grid-template-columns: repeat(3, 1fr);
14236
+ }
14237
+
14238
+ /* ─── Print ────────────────────────────────────────────── */
14239
+
14240
+ @media print {
14241
+ .muka-chat-photo-grid {
14242
+ break-inside: avoid;
14243
+ }
14244
+
14245
+ .muka-chat-photo-grid__image {
14246
+ print-color-adjust: exact;
14247
+ -webkit-print-color-adjust: exact;
14248
+ }
14249
+ }
14250
+
14251
+
14252
+ /* ChatMessageStack */
14253
+ /* ChatMessageStack Component Styles */
14254
+
14255
+ .muka-chat-message-stack {
14256
+ display: flex;
14257
+ flex-direction: column;
14258
+ gap: var(--chatbubble-stack-gap);
14259
+ width: 100%;
14260
+ max-width: 100%;
14261
+ }
14262
+
14263
+ .muka-chat-message-stack__messages {
14264
+ display: flex;
14265
+ flex-direction: column;
14266
+ gap: var(--chatbubble-stack-gap);
14267
+ width: 100%;
14268
+ }
14269
+
14270
+ /*
14271
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14272
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14273
+ */
14274
+ .muka-chat-message-stack__reasoning {
14275
+ min-width: 0;
14276
+ }
14277
+
14278
+ /* In-thread widgets after the messages share the reasoning's indent. */
14279
+ .muka-chat-message-stack__widgets {
14280
+ display: flex;
14281
+ flex-direction: column;
14282
+ gap: var(--chatbubble-stack-gap);
14283
+ min-width: 0;
14284
+ }
14285
+
14286
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14287
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14288
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14380
14289
  }
14381
14290
 
14382
- .muka-chat-photo-grid--6,
14383
- .muka-chat-photo-grid--overflow {
14384
- grid-template-columns: repeat(3, 1fr);
14291
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14292
+ .muka-chat-message-stack__widgets,
14293
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14294
+ .muka-chat-message-stack__reasoning {
14295
+ padding-left: 0;
14296
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14385
14297
  }
14386
14298
 
14387
- /* ─── Print ────────────────────────────────────────────── */
14388
-
14389
- @media print {
14390
- .muka-chat-photo-grid {
14391
- break-inside: avoid;
14299
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14300
+ @media (max-width: 1023px) {
14301
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14302
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14303
+ padding-left: calc(
14304
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14305
+ );
14392
14306
  }
14393
14307
 
14394
- .muka-chat-photo-grid__image {
14395
- print-color-adjust: exact;
14396
- -webkit-print-color-adjust: exact;
14308
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14309
+ .muka-chat-message-stack__widgets,
14310
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14311
+ .muka-chat-message-stack__reasoning {
14312
+ padding-left: 0;
14313
+ padding-right: calc(
14314
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14315
+ );
14397
14316
  }
14398
14317
  }
14399
14318
 
@@ -14772,74 +14691,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14772
14691
  }
14773
14692
 
14774
14693
 
14775
- /* ChatMessageStack */
14776
- /* ChatMessageStack Component Styles */
14777
-
14778
- .muka-chat-message-stack {
14779
- display: flex;
14780
- flex-direction: column;
14781
- gap: var(--chatbubble-stack-gap);
14782
- width: 100%;
14783
- max-width: 100%;
14784
- }
14785
-
14786
- .muka-chat-message-stack__messages {
14787
- display: flex;
14788
- flex-direction: column;
14789
- gap: var(--chatbubble-stack-gap);
14790
- width: 100%;
14791
- }
14792
-
14793
- /*
14794
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14795
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14796
- */
14797
- .muka-chat-message-stack__reasoning {
14798
- min-width: 0;
14799
- }
14800
-
14801
- /* In-thread widgets after the messages share the reasoning's indent. */
14802
- .muka-chat-message-stack__widgets {
14803
- display: flex;
14804
- flex-direction: column;
14805
- gap: var(--chatbubble-stack-gap);
14806
- min-width: 0;
14807
- }
14808
-
14809
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14810
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14811
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14812
- }
14813
-
14814
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14815
- .muka-chat-message-stack__widgets,
14816
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14817
- .muka-chat-message-stack__reasoning {
14818
- padding-left: 0;
14819
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14820
- }
14821
-
14822
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14823
- @media (max-width: 1023px) {
14824
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14825
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14826
- padding-left: calc(
14827
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14828
- );
14829
- }
14830
-
14831
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14832
- .muka-chat-message-stack__widgets,
14833
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14834
- .muka-chat-message-stack__reasoning {
14835
- padding-left: 0;
14836
- padding-right: calc(
14837
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14838
- );
14839
- }
14840
- }
14841
-
14842
-
14843
14694
  /* ChatComposer */
14844
14695
  /* ChatComposer Component Styles */
14845
14696
 
@@ -17819,3 +17670,153 @@ button.muka-chat-photo-grid__tile:focus-visible {
17819
17670
  border-bottom: none;
17820
17671
  }
17821
17672
 
17673
+
17674
+ /* SocialSignInButton */
17675
+ /*
17676
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17677
+ * Google Identity branding) and intentionally fixed across Muka brands —
17678
+ * same exception pattern as LicensePlateInput regulatory colors.
17679
+ *
17680
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17681
+ * Google: https://developers.google.com/identity/branding-guidelines
17682
+ */
17683
+ .muka-social-sign-in-button {
17684
+ --ssi-white: #ffffff;
17685
+ --ssi-black: #000000;
17686
+ --ssi-google-text-light: #1f1f1f;
17687
+
17688
+ display: inline-flex;
17689
+ align-items: center;
17690
+ justify-content: center;
17691
+
17692
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17693
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17694
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17695
+ font-family: inherit;
17696
+ font-weight: 600;
17697
+ text-decoration: none;
17698
+ white-space: nowrap;
17699
+
17700
+ border: 1px solid transparent;
17701
+ cursor: pointer;
17702
+ user-select: none;
17703
+ transition: opacity 0.15s ease, filter 0.15s ease;
17704
+
17705
+ outline: none;
17706
+ position: relative;
17707
+ box-sizing: border-box;
17708
+ }
17709
+
17710
+ .muka-social-sign-in-button--apple {
17711
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17712
+ Helvetica, Arial, sans-serif;
17713
+ font-weight: 600;
17714
+ }
17715
+
17716
+ .muka-social-sign-in-button--google {
17717
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17718
+ font-weight: 500;
17719
+ }
17720
+
17721
+ .muka-social-sign-in-button:focus-visible {
17722
+ outline: 2px solid var(--color-border-focus);
17723
+ outline-offset: 2px;
17724
+ }
17725
+
17726
+ /* Sizes — heights align with Button md/lg */
17727
+ .muka-social-sign-in-button--md {
17728
+ padding: 0 var(--button-padding-md-x);
17729
+ border-radius: var(--button-radius-md);
17730
+ font-size: var(--text-label-sm-semibold-fontSize);
17731
+ line-height: var(--text-label-sm-semibold-lineHeight);
17732
+ min-height: 40px;
17733
+ min-width: 240px;
17734
+ }
17735
+
17736
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17737
+ padding: 0 var(--button-gap-md);
17738
+ }
17739
+
17740
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17741
+ width: var(--button-icon-md);
17742
+ height: var(--button-icon-md);
17743
+ }
17744
+
17745
+ .muka-social-sign-in-button--lg {
17746
+ padding: 0 var(--button-padding-lg-x);
17747
+ border-radius: var(--button-radius-lg);
17748
+ font-size: var(--text-label-lg-semibold-fontSize);
17749
+ line-height: var(--text-label-lg-semibold-lineHeight);
17750
+ min-height: 48px;
17751
+ min-width: 280px;
17752
+ }
17753
+
17754
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17755
+ padding: 0 var(--button-gap-lg);
17756
+ }
17757
+
17758
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17759
+ width: var(--button-icon-lg);
17760
+ height: var(--button-icon-lg);
17761
+ }
17762
+
17763
+ /* White lockup — for dark surfaces (Apple White with Outline) */
17764
+ .muka-social-sign-in-button--white {
17765
+ background-color: var(--ssi-white);
17766
+ color: var(--ssi-black);
17767
+ border-color: var(--ssi-black);
17768
+ }
17769
+
17770
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17771
+ color: var(--ssi-google-text-light);
17772
+ }
17773
+
17774
+ /* Black lockup — for light surfaces */
17775
+ .muka-social-sign-in-button--black {
17776
+ background-color: var(--ssi-black);
17777
+ color: var(--ssi-white);
17778
+ border-color: transparent;
17779
+ }
17780
+
17781
+ /* Interaction — luminance/opacity only; no brand tint */
17782
+ .muka-social-sign-in-button:hover:not(:disabled) {
17783
+ filter: brightness(0.92);
17784
+ }
17785
+
17786
+ .muka-social-sign-in-button:active:not(:disabled) {
17787
+ filter: brightness(0.85);
17788
+ }
17789
+
17790
+ .muka-social-sign-in-button:disabled,
17791
+ .muka-social-sign-in-button--disabled {
17792
+ cursor: not-allowed;
17793
+ opacity: 0.4;
17794
+ pointer-events: none;
17795
+ filter: none;
17796
+ }
17797
+
17798
+ .muka-social-sign-in-button--full-width {
17799
+ width: 100%;
17800
+ min-width: 0;
17801
+ }
17802
+
17803
+ .muka-social-sign-in-button__icon {
17804
+ display: inline-flex;
17805
+ align-items: center;
17806
+ justify-content: center;
17807
+ flex-shrink: 0;
17808
+ }
17809
+
17810
+ .muka-social-sign-in-button__icon > *,
17811
+ .muka-social-sign-in-button__icon svg {
17812
+ width: auto;
17813
+ height: 100%;
17814
+ max-width: 100%;
17815
+ display: block;
17816
+ }
17817
+
17818
+ .muka-social-sign-in-button__label {
17819
+ display: inline-flex;
17820
+ align-items: center;
17821
+ }
17822
+