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