@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.
@@ -3611,985 +3611,985 @@ body {
3611
3611
  }
3612
3612
 
3613
3613
 
3614
- /* Tile */
3615
- /* Tile Component Styles - Using Muka Design Tokens */
3616
-
3617
- /* ─── Base ────────────────────────────────────────────── */
3618
-
3619
- .muka-tile {
3620
- display: flex;
3621
- color: var(--color-text-default-default);
3622
- }
3614
+ /* Thumbnail */
3615
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3623
3616
 
3624
- .muka-tile--interactive {
3625
- cursor: pointer;
3626
- user-select: none;
3617
+ .muka-thumbnail {
3618
+ position: relative;
3619
+ flex-shrink: 0;
3627
3620
  }
3628
3621
 
3629
- .muka-tile--interactive:focus-visible {
3630
- outline: 2px solid var(--color-border-focus);
3631
- outline-offset: 2px;
3622
+ /* The frame carries the border, background and shape clip. Keeping it separate
3623
+ from the root lets the remove (×) button sit outside the clip (needed for the
3624
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3625
+ .muka-thumbnail__frame {
3626
+ position: absolute;
3627
+ inset: 0;
3628
+ overflow: hidden;
3629
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3632
3630
  border-radius: var(--border-radius-lg);
3631
+ background-color: var(--color-surface-level1);
3633
3632
  }
3634
3633
 
3635
- /* ─── Image position variants ─────────────────────────── */
3634
+ /* ─── Shapes ──────────────────────────────────────────── */
3635
+ .muka-thumbnail--4-3 {
3636
+ width: 160px;
3637
+ height: 120px;
3638
+ }
3636
3639
 
3637
- .muka-tile--image-top {
3638
- flex-direction: column;
3640
+ .muka-thumbnail--1-1 {
3641
+ width: 120px;
3642
+ height: 120px;
3639
3643
  }
3640
3644
 
3641
- .muka-tile--image-left {
3642
- flex-direction: row;
3645
+ .muka-thumbnail--ellipse {
3646
+ width: 120px;
3647
+ height: 120px;
3643
3648
  }
3644
3649
 
3645
- .muka-tile--image-right {
3646
- flex-direction: row;
3650
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3651
+ .muka-thumbnail--fluid {
3652
+ width: 100%;
3653
+ height: auto;
3654
+ aspect-ratio: 1 / 1;
3647
3655
  }
3648
3656
 
3649
- /* ─── Gap by size (top) ───────────────────────────────── */
3657
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3658
+ aspect-ratio: 4 / 3;
3659
+ }
3650
3660
 
3651
- .muka-tile--image-top.muka-tile--lg {
3652
- gap: var(--spacing-6);
3661
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3662
+ border-radius: var(--border-radius-full);
3653
3663
  }
3654
3664
 
3655
- .muka-tile--image-top.muka-tile--md {
3656
- gap: var(--spacing-6);
3657
- width: 320px;
3665
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3666
+ interactive hover zoom has a clean origin. */
3667
+ .muka-thumbnail__image {
3668
+ position: absolute;
3669
+ inset: 0;
3670
+ width: 100%;
3671
+ height: 100%;
3672
+ object-fit: cover;
3673
+ display: block;
3674
+ transform-origin: center;
3675
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3676
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3658
3677
  }
3659
3678
 
3660
- .muka-tile--image-top.muka-tile--sm {
3661
- gap: var(--spacing-4);
3662
- min-width: 120px;
3679
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3680
+ .muka-thumbnail__trigger {
3681
+ position: absolute;
3682
+ inset: 0;
3683
+ padding: 0;
3684
+ border: 0;
3685
+ background: none;
3686
+ cursor: pointer;
3687
+ overflow: hidden;
3663
3688
  }
3664
3689
 
3665
- /* ─── Gap by size (left/right) ────────────────────────── */
3690
+ .muka-thumbnail__trigger:focus-visible {
3691
+ outline: 2px solid var(--color-border-focus);
3692
+ outline-offset: -2px;
3693
+ }
3666
3694
 
3667
- .muka-tile--image-left.muka-tile--lg,
3668
- .muka-tile--image-right.muka-tile--lg {
3669
- gap: var(--spacing-6);
3670
- align-items: center;
3695
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3696
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3697
+ transform: scale(1.05);
3671
3698
  }
3672
3699
 
3673
- .muka-tile--image-left.muka-tile--md,
3674
- .muka-tile--image-right.muka-tile--md {
3675
- gap: var(--spacing-6);
3700
+ /* ─── Loading overlay + progress donut ────────────────── */
3701
+ .muka-thumbnail__overlay {
3702
+ position: absolute;
3703
+ inset: 0;
3704
+ display: flex;
3676
3705
  align-items: center;
3706
+ justify-content: center;
3707
+ background-color: var(--dialog-color-backdrop);
3677
3708
  }
3678
3709
 
3679
- .muka-tile--image-left.muka-tile--sm,
3680
- .muka-tile--image-right.muka-tile--sm {
3681
- gap: var(--spacing-4);
3682
- align-items: flex-start;
3710
+ .muka-thumbnail__progress {
3711
+ width: 40px;
3712
+ height: 40px;
3683
3713
  }
3684
3714
 
3685
- /* ─── Photos container ────────────────────────────────── */
3715
+ /* ─── Error / corrupt state ───────────────────────────── */
3716
+ .muka-thumbnail--error .muka-thumbnail__frame {
3717
+ background-color: var(--alias-color-state-error-muted);
3718
+ border-color: var(--alias-color-state-error-default);
3719
+ }
3686
3720
 
3687
- .muka-tile__photos {
3688
- position: relative;
3689
- flex-shrink: 0;
3690
- overflow: hidden;
3721
+ .muka-thumbnail__error {
3722
+ position: absolute;
3723
+ inset: 0;
3691
3724
  display: flex;
3692
3725
  flex-direction: column;
3693
- isolation: isolate;
3726
+ align-items: center;
3727
+ justify-content: center;
3728
+ gap: var(--spacing-2);
3729
+ padding: var(--spacing-3);
3730
+ text-align: center;
3694
3731
  }
3695
3732
 
3696
- /* Photos border radius by size */
3697
- .muka-tile--lg .muka-tile__photos,
3698
- .muka-tile--md .muka-tile__photos {
3699
- border-radius: var(--border-radius-lg);
3733
+ .muka-thumbnail__error-icon {
3734
+ color: var(--alert-color-error-accent);
3700
3735
  }
3701
3736
 
3702
- .muka-tile--sm .muka-tile__photos {
3703
- border-radius: var(--border-radius-md);
3737
+ .muka-thumbnail__caption {
3738
+ max-width: 100%;
3739
+ overflow: hidden;
3740
+ text-overflow: ellipsis;
3741
+ white-space: nowrap;
3742
+ color: var(--alert-color-error-accent);
3743
+ font-family: var(--text-body-sm-regular-fontFamily);
3744
+ font-size: var(--text-body-sm-regular-fontSize);
3745
+ font-weight: var(--text-body-sm-regular-fontWeight);
3746
+ line-height: var(--text-body-sm-regular-lineHeight);
3704
3747
  }
3705
3748
 
3706
- /* Photos sizing: top layout */
3707
- .muka-tile--image-top .muka-tile__photos {
3708
- width: 100%;
3749
+ /* ─── Remove (×) button ───────────────────────────────── */
3750
+ .muka-thumbnail__remove {
3751
+ position: absolute;
3752
+ top: var(--spacing-2);
3753
+ right: var(--spacing-2);
3754
+ display: flex;
3755
+ align-items: center;
3756
+ justify-content: center;
3757
+ width: var(--size-2xl);
3758
+ height: var(--size-2xl);
3759
+ padding: 0;
3760
+ color: var(--button-color-tertiary-foreground-default);
3761
+ background-color: var(--button-color-tertiary-background-default);
3762
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3763
+ border-radius: var(--border-radius-lg);
3764
+ cursor: pointer;
3765
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3766
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3709
3767
  }
3710
3768
 
3711
- /* Photos sizing: left/right large */
3712
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3713
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3714
- width: 520px;
3769
+ .muka-thumbnail__remove:hover {
3770
+ color: var(--button-color-tertiary-foreground-hover);
3771
+ background-color: var(--button-color-tertiary-background-hover);
3772
+ border-color: var(--button-color-tertiary-border-hover);
3715
3773
  }
3716
3774
 
3717
- /* Photos sizing: left/right medium */
3718
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3719
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3720
- width: 320px;
3775
+ .muka-thumbnail__remove:active {
3776
+ color: var(--button-color-tertiary-foreground-pressed);
3777
+ background-color: var(--button-color-tertiary-background-pressed);
3778
+ border-color: var(--button-color-tertiary-border-pressed);
3721
3779
  }
3722
3780
 
3723
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3724
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3725
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3726
- width: 80px;
3727
- align-self: stretch;
3781
+ .muka-thumbnail__remove:focus-visible {
3782
+ outline: 2px solid var(--color-border-focus);
3783
+ outline-offset: 2px;
3728
3784
  }
3729
3785
 
3730
- /* ─── Main photo ──────────────────────────────────────── */
3786
+ /* ─── Reduced motion ──────────────────────────────────── */
3787
+ @media (prefers-reduced-motion: reduce) {
3788
+ .muka-thumbnail__image,
3789
+ .muka-thumbnail__remove {
3790
+ transition: none;
3791
+ }
3731
3792
 
3732
- .muka-tile__photo-main {
3733
- position: relative;
3734
- width: 100%;
3735
- overflow: hidden;
3736
- flex-shrink: 0;
3793
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3794
+ transform: none;
3795
+ }
3737
3796
  }
3738
3797
 
3739
- /* 16:9 aspect for lg and md */
3740
- .muka-tile--lg .muka-tile__photo-main,
3741
- .muka-tile--md .muka-tile__photo-main {
3742
- aspect-ratio: 1280 / 720;
3743
- }
3744
3798
 
3745
- /* 1:1 aspect for top + sm */
3746
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3747
- aspect-ratio: 1 / 1;
3748
- }
3799
+ /* Textarea */
3800
+ /* Textarea Component Styles - Using Muka Design Tokens */
3749
3801
 
3750
- /* Fixed size for left/right + sm */
3751
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3752
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3753
- width: 80px;
3754
- height: 80px;
3755
- aspect-ratio: auto;
3802
+ .muka-textarea {
3803
+ display: inline-flex;
3804
+ flex-direction: column;
3805
+ gap: var(--spacing-2);
3756
3806
  }
3757
3807
 
3758
- .muka-tile__photo-main img {
3759
- width: 100%;
3760
- height: 100%;
3761
- object-fit: cover;
3762
- display: block;
3808
+ /* Label */
3809
+ .muka-textarea__label {
3810
+ color: var(--color-text-default-default);
3811
+ cursor: pointer;
3763
3812
  }
3764
3813
 
3765
- /* ─── Favourite overlay ───────────────────────────────── */
3766
-
3767
- .muka-tile__favourite {
3768
- position: absolute;
3769
- z-index: 3;
3814
+ .muka-textarea__label--sm {
3815
+ font-family: var(--text-label-sm-semibold-fontFamily);
3816
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3817
+ font-size: var(--text-label-sm-semibold-fontSize);
3818
+ line-height: var(--text-label-sm-semibold-lineHeight);
3770
3819
  }
3771
3820
 
3772
- .muka-tile--lg .muka-tile__favourite,
3773
- .muka-tile--md .muka-tile__favourite {
3774
- top: var(--spacing-4);
3775
- right: var(--spacing-4);
3821
+ .muka-textarea__label--md {
3822
+ font-family: var(--text-label-md-semibold-fontFamily);
3823
+ font-weight: var(--text-label-md-semibold-fontWeight);
3824
+ font-size: var(--text-label-md-semibold-fontSize);
3825
+ line-height: var(--text-label-md-semibold-lineHeight);
3776
3826
  }
3777
3827
 
3778
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3779
- top: var(--spacing-1);
3780
- right: var(--spacing-1);
3828
+ .muka-textarea__label--lg {
3829
+ font-family: var(--text-label-lg-semibold-fontFamily);
3830
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3831
+ font-size: var(--text-label-lg-semibold-fontSize);
3832
+ line-height: var(--text-label-lg-semibold-lineHeight);
3781
3833
  }
3782
3834
 
3783
- /* ─── Thumbnails ──────────────────────────────────────── */
3835
+ .muka-textarea__required {
3836
+ color: var(--color-state-error-default);
3837
+ }
3784
3838
 
3785
- .muka-tile__thumbnails {
3839
+ /* Field container */
3840
+ .muka-textarea__field {
3786
3841
  display: flex;
3787
- gap: 2px;
3788
- overflow: hidden;
3789
- flex-shrink: 0;
3790
- height: 80px;
3842
+ background-color: var(--input-field-color-default-background);
3843
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3844
+ border-radius: var(--input-field-radius-md);
3845
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3846
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3847
+ box-sizing: border-box;
3791
3848
  }
3792
3849
 
3793
- .muka-tile__thumbnail {
3794
- width: 80px;
3795
- height: 80px;
3796
- flex-shrink: 0;
3797
- overflow: hidden;
3850
+ .muka-textarea__field--sm {
3851
+ min-height: var(--input-textarea-height-sm);
3852
+ border-radius: var(--input-field-radius-sm);
3798
3853
  }
3799
3854
 
3800
- .muka-tile__thumbnail img {
3801
- width: 100%;
3802
- height: 100%;
3803
- object-fit: cover;
3804
- display: block;
3855
+ .muka-textarea__field--md {
3856
+ min-height: var(--input-textarea-height-default);
3857
+ border-radius: var(--input-field-radius-md);
3805
3858
  }
3806
3859
 
3807
- /* Gap between main photo and thumbnails */
3808
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3809
- margin-top: 2px;
3860
+ .muka-textarea__field--lg {
3861
+ min-height: var(--input-textarea-height-lg);
3862
+ border-radius: var(--input-field-radius-lg);
3810
3863
  }
3811
3864
 
3812
- /* ─── Content section ─────────────────────────────────── */
3813
-
3814
- .muka-tile__content {
3815
- display: flex;
3816
- flex-direction: column;
3817
- flex: 1;
3818
- min-width: 0;
3865
+ /* Focus state */
3866
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3867
+ border-width: var(--border-width-bold);
3868
+ border-color: var(--input-field-color-focus-border);
3869
+ background-color: var(--input-field-color-focus-background);
3870
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3819
3871
  }
3820
3872
 
3821
- /* Top layout: content has horizontal padding */
3822
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3823
- padding: 0 var(--spacing-3);
3824
- gap: var(--spacing-1);
3873
+ /* Error state */
3874
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3875
+ border-width: var(--border-width-bold);
3876
+ border-color: var(--input-field-color-error-border);
3877
+ background-color: var(--input-field-color-error-background);
3878
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3825
3879
  }
3826
3880
 
3827
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3828
- padding: 0 var(--spacing-3);
3829
- gap: var(--spacing-2);
3881
+ /* Disabled state */
3882
+ .muka-textarea__field--disabled {
3883
+ background-color: var(--input-field-color-disabled-background);
3884
+ border-color: var(--input-field-color-disabled-border);
3885
+ cursor: not-allowed;
3830
3886
  }
3831
3887
 
3832
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3833
- gap: var(--spacing-2);
3888
+ /* Native textarea */
3889
+ .muka-textarea__native {
3890
+ flex: 1;
3891
+ border: none;
3892
+ outline: none;
3893
+ background: transparent;
3894
+ color: var(--input-field-color-default-foreground);
3895
+ font-family: var(--text-input-md-fontFamily);
3896
+ font-weight: var(--text-input-md-fontWeight);
3897
+ font-size: var(--text-input-md-fontSize);
3898
+ line-height: var(--text-input-md-lineHeight);
3899
+ padding: 0;
3900
+ width: 100%;
3901
+ min-width: 0;
3834
3902
  }
3835
3903
 
3836
- /* Left/right layout: content grows to fill space */
3837
- .muka-tile--image-left .muka-tile__content,
3838
- .muka-tile--image-right .muka-tile__content {
3839
- gap: var(--spacing-3);
3904
+ .muka-textarea__field--sm .muka-textarea__native {
3905
+ font-family: var(--text-input-sm-fontFamily);
3906
+ font-weight: var(--text-input-sm-fontWeight);
3907
+ font-size: var(--text-input-sm-fontSize);
3908
+ line-height: var(--text-input-sm-lineHeight);
3840
3909
  }
3841
3910
 
3842
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3843
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3844
- padding: 0 var(--spacing-3);
3911
+ .muka-textarea__field--lg .muka-textarea__native {
3912
+ font-family: var(--text-input-lg-fontFamily);
3913
+ font-weight: var(--text-input-lg-fontWeight);
3914
+ font-size: var(--text-input-lg-fontSize);
3915
+ line-height: var(--text-input-lg-lineHeight);
3845
3916
  }
3846
3917
 
3847
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3848
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3849
- padding: var(--spacing-2) var(--spacing-3);
3918
+ .muka-textarea__native::placeholder {
3919
+ color: var(--color-text-subtle-default);
3850
3920
  }
3851
3921
 
3852
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3853
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3854
- gap: var(--spacing-2);
3922
+ .muka-textarea__field--disabled .muka-textarea__native {
3923
+ color: var(--input-field-color-disabled-foreground);
3924
+ cursor: not-allowed;
3855
3925
  }
3856
3926
 
3857
- /* ─── Header (heading row + price) ────────────────────── */
3858
-
3859
- .muka-tile__header {
3927
+ /* Footer (helper/error + count) */
3928
+ .muka-textarea__footer {
3860
3929
  display: flex;
3930
+ justify-content: space-between;
3861
3931
  align-items: flex-start;
3862
- gap: var(--spacing-4);
3863
- }
3864
-
3865
- /* Small horizontal: row with text and action */
3866
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3867
- gap: var(--spacing-2);
3868
- align-items: center;
3869
- padding-top: var(--spacing-1);
3870
- }
3871
-
3872
- /* ─── Text group ──────────────────────────────────────── */
3873
-
3874
- .muka-tile__text {
3875
- display: flex;
3876
- flex-direction: column;
3877
- flex: 1;
3878
- min-width: 0;
3879
3932
  gap: var(--spacing-2);
3880
3933
  }
3881
3934
 
3882
- /* ─── Heading typography ──────────────────────────────── */
3883
-
3884
- .muka-tile__heading {
3935
+ .muka-textarea__helper {
3936
+ font-family: var(--text-label-sm-regular-fontFamily);
3937
+ font-weight: var(--text-label-sm-regular-fontWeight);
3938
+ font-size: var(--text-label-sm-regular-fontSize);
3939
+ line-height: var(--text-label-sm-regular-lineHeight);
3940
+ color: var(--color-text-subtle-default);
3885
3941
  margin: 0;
3886
3942
  }
3887
3943
 
3888
- .muka-tile--lg .muka-tile__heading {
3889
- font-family: var(--text-label-2xl-semibold-fontFamily);
3890
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3891
- font-size: var(--text-label-2xl-semibold-fontSize);
3892
- line-height: var(--text-label-2xl-semibold-lineHeight);
3893
- color: var(--color-text-default-default);
3894
- }
3895
-
3896
- .muka-tile--md .muka-tile__heading {
3897
- font-family: var(--text-label-xl-semibold-fontFamily);
3898
- font-weight: var(--text-label-xl-semibold-fontWeight);
3899
- font-size: var(--text-label-xl-semibold-fontSize);
3900
- line-height: var(--text-label-xl-semibold-lineHeight);
3901
- color: var(--color-text-default-default);
3944
+ .muka-textarea__error {
3945
+ font-family: var(--text-label-sm-regular-fontFamily);
3946
+ font-weight: var(--text-label-sm-regular-fontWeight);
3947
+ font-size: var(--text-label-sm-regular-fontSize);
3948
+ line-height: var(--text-label-sm-regular-lineHeight);
3949
+ color: var(--color-state-error-default);
3950
+ margin: 0;
3902
3951
  }
3903
3952
 
3904
- .muka-tile--sm .muka-tile__heading {
3905
- font-family: var(--text-label-lg-bold-fontFamily);
3906
- font-weight: var(--text-label-lg-bold-fontWeight);
3907
- font-size: var(--text-label-lg-bold-fontSize);
3908
- line-height: var(--text-label-lg-bold-lineHeight);
3909
- color: var(--color-text-default-default);
3953
+ .muka-textarea__count {
3954
+ font-family: var(--text-label-sm-regular-fontFamily);
3955
+ font-weight: var(--text-label-sm-regular-fontWeight);
3956
+ font-size: var(--text-label-sm-regular-fontSize);
3957
+ line-height: var(--text-label-sm-regular-lineHeight);
3958
+ color: var(--color-text-subtle-default);
3959
+ margin-left: auto;
3910
3960
  }
3911
3961
 
3912
- /* ─── Subheading typography ───────────────────────────── */
3913
3962
 
3914
- .muka-tile__subheading {
3915
- margin: 0;
3916
- color: var(--color-text-subtle-default);
3917
- }
3963
+ /* TextLink */
3964
+ /* TextLink Component Styles - Using Muka Design Tokens */
3918
3965
 
3919
- .muka-tile--lg .muka-tile__subheading {
3920
- font-family: var(--text-subheading-md-fontFamily);
3921
- font-weight: var(--text-subheading-md-fontWeight);
3922
- font-size: var(--text-subheading-md-fontSize);
3923
- line-height: var(--text-subheading-md-lineHeight);
3966
+ .muka-text-link {
3967
+ display: inline;
3968
+ cursor: pointer;
3969
+ text-decoration: underline;
3970
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3971
+ text-underline-offset: 0.2em;
3972
+ text-decoration-thickness: from-font;
3973
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
3974
+ border-radius: var(--border-radius-sm);
3975
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3924
3976
  }
3925
3977
 
3926
- .muka-tile--md .muka-tile__subheading,
3927
- .muka-tile--sm .muka-tile__subheading {
3928
- font-family: var(--text-subheading-sm-fontFamily);
3929
- font-weight: var(--text-subheading-sm-fontWeight);
3930
- font-size: var(--text-subheading-sm-fontSize);
3931
- line-height: var(--text-subheading-sm-lineHeight);
3978
+ /* ─── Sizes ───────────────────────────────────────────────
3979
+ Mirrors the body text scale so a link matches the copy it sits in. */
3980
+ .muka-text-link--sm {
3981
+ font-family: var(--text-body-sm-regular-fontFamily);
3982
+ font-weight: var(--text-body-sm-regular-fontWeight);
3983
+ font-size: var(--text-body-sm-regular-fontSize);
3984
+ line-height: var(--text-body-sm-regular-lineHeight);
3932
3985
  }
3933
3986
 
3934
- /* ─── Description typography ──────────────────────────── */
3935
-
3936
- .muka-tile__description {
3937
- margin: 0;
3938
- color: var(--color-text-default-default);
3987
+ .muka-text-link--base {
3988
+ font-family: var(--text-body-base-regular-fontFamily);
3989
+ font-weight: var(--text-body-base-regular-fontWeight);
3990
+ font-size: var(--text-body-base-regular-fontSize);
3991
+ line-height: var(--text-body-base-regular-lineHeight);
3939
3992
  }
3940
3993
 
3941
- .muka-tile--lg .muka-tile__description {
3994
+ .muka-text-link--lg {
3942
3995
  font-family: var(--text-body-lg-regular-fontFamily);
3943
3996
  font-weight: var(--text-body-lg-regular-fontWeight);
3944
3997
  font-size: var(--text-body-lg-regular-fontSize);
3945
3998
  line-height: var(--text-body-lg-regular-lineHeight);
3946
3999
  }
3947
4000
 
3948
- .muka-tile--md .muka-tile__description,
3949
- .muka-tile--sm .muka-tile__description {
3950
- font-family: var(--text-body-base-regular-fontFamily);
3951
- font-weight: var(--text-body-base-regular-fontWeight);
3952
- font-size: var(--text-body-base-regular-fontSize);
3953
- line-height: var(--text-body-base-regular-lineHeight);
4001
+ /* ─── Variant: default (accent) ───────────────────────────
4002
+ Visited repeats the default colour on purpose: the design treats visited and
4003
+ default the same, and pinning it stops the browser's purple from showing. */
4004
+ .muka-text-link--default,
4005
+ .muka-text-link--default:visited {
4006
+ color: var(--color-text-action-default);
3954
4007
  }
3955
4008
 
3956
- /* Description overflow for medium */
3957
- .muka-tile--md .muka-tile__description {
3958
- overflow: hidden;
3959
- text-overflow: ellipsis;
4009
+ .muka-text-link--default:hover,
4010
+ .muka-text-link--default:focus-visible {
4011
+ color: var(--color-text-action-hover);
3960
4012
  }
3961
4013
 
3962
- /* ─── Price slot ──────────────────────────────────────── */
4014
+ .muka-text-link--default:active {
4015
+ color: var(--color-text-action-pressed);
4016
+ }
3963
4017
 
3964
- .muka-tile__price {
3965
- flex-shrink: 0;
4018
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4019
+ Hover, focus and pressed all darken to the default text colour. */
4020
+ .muka-text-link--subtle,
4021
+ .muka-text-link--subtle:visited {
4022
+ color: var(--color-text-subtle-default);
3966
4023
  }
3967
4024
 
3968
- /* ─── Action slot ─────────────────────────────────────── */
4025
+ .muka-text-link--subtle:hover,
4026
+ .muka-text-link--subtle:focus-visible,
4027
+ .muka-text-link--subtle:active {
4028
+ color: var(--color-text-default-default);
4029
+ }
3969
4030
 
3970
- .muka-tile__action {
3971
- flex-shrink: 0;
4031
+ /* ─── Focus ───────────────────────────────────────────────
4032
+ Same ring as every other focusable Muka component. */
4033
+ .muka-text-link:focus-visible {
4034
+ outline: 2px solid var(--color-border-focus);
4035
+ outline-offset: 2px;
3972
4036
  }
3973
4037
 
4038
+ @media (prefers-reduced-motion: reduce) {
4039
+ .muka-text-link {
4040
+ transition: none;
4041
+ }
4042
+ }
3974
4043
 
3975
- /* Thumbnail */
3976
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3977
4044
 
3978
- .muka-thumbnail {
3979
- position: relative;
3980
- flex-shrink: 0;
3981
- }
4045
+ /* Tabs */
4046
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3982
4047
 
3983
- /* The frame carries the border, background and shape clip. Keeping it separate
3984
- from the root lets the remove (×) button sit outside the clip (needed for the
3985
- circular/ellipse shape, whose corners would otherwise clip the button). */
3986
- .muka-thumbnail__frame {
3987
- position: absolute;
3988
- inset: 0;
3989
- overflow: hidden;
3990
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3991
- border-radius: var(--border-radius-lg);
3992
- background-color: var(--color-surface-level1);
4048
+ .muka-tabs {
4049
+ display: flex;
4050
+ flex-direction: column;
3993
4051
  }
3994
4052
 
3995
- /* ─── Shapes ──────────────────────────────────────────── */
3996
- .muka-thumbnail--4-3 {
3997
- width: 160px;
3998
- height: 120px;
4053
+ /* Alignment Variants */
4054
+ .muka-tabs--align-left .muka-tabs__list {
4055
+ justify-content: flex-start;
3999
4056
  }
4000
-
4001
- .muka-thumbnail--1-1 {
4002
- width: 120px;
4003
- height: 120px;
4057
+ .muka-tabs--align-center .muka-tabs__list {
4058
+ justify-content: center;
4004
4059
  }
4005
-
4006
- .muka-thumbnail--ellipse {
4007
- width: 120px;
4008
- height: 120px;
4060
+ .muka-tabs--align-fill .muka-tabs__list {
4061
+ justify-content: space-between;
4062
+ }
4063
+ .muka-tabs--align-fill .muka-tabs__trigger {
4064
+ flex: 1;
4009
4065
  }
4010
4066
 
4011
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4012
- .muka-thumbnail--fluid {
4013
- width: 100%;
4014
- height: auto;
4015
- aspect-ratio: 1 / 1;
4067
+ /* Tab List — strip container */
4068
+ .muka-tabs__list {
4069
+ display: flex;
4070
+ align-items: center;
4071
+ position: relative;
4072
+ z-index: 2;
4073
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4016
4074
  }
4017
4075
 
4018
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4019
- aspect-ratio: 4 / 3;
4076
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4077
+ .muka-tabs--padding-default .muka-tabs__list {
4078
+ padding-inline: var(--tabs-list-padding-x);
4020
4079
  }
4021
4080
 
4022
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4023
- border-radius: var(--border-radius-full);
4081
+ /* Tab Trigger — clean underline style */
4082
+ .muka-tabs__trigger {
4083
+ display: inline-flex;
4084
+ align-items: center;
4085
+ justify-content: center;
4086
+ gap: var(--spacing-1);
4087
+ background: transparent;
4088
+ border: none;
4089
+ cursor: pointer;
4090
+ user-select: none;
4091
+ transition: background-color 0.2s ease, color 0.2s ease;
4092
+ outline: none;
4093
+ white-space: nowrap;
4094
+ position: relative;
4095
+ z-index: 2;
4096
+ color: var(--tabs-trigger-color-default-foreground);
4097
+
4098
+ /* Default MD size values */
4099
+ min-height: var(--tabs-trigger-min-height-md);
4100
+ padding: var(--spacing-3);
4101
+ font-family: var(--text-label-md-regular-fontFamily);
4102
+ font-weight: var(--text-label-md-regular-fontWeight);
4103
+ font-size: var(--text-label-md-regular-fontSize);
4104
+ line-height: var(--text-label-md-regular-lineHeight);
4024
4105
  }
4025
4106
 
4026
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4027
- interactive hover zoom has a clean origin. */
4028
- .muka-thumbnail__image {
4029
- position: absolute;
4030
- inset: 0;
4031
- width: 100%;
4032
- height: 100%;
4033
- object-fit: cover;
4034
- display: block;
4035
- transform-origin: center;
4036
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4037
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4107
+ /* Size Variants */
4108
+ .muka-tabs--size-sm .muka-tabs__trigger {
4109
+ min-height: var(--tabs-trigger-min-height-sm);
4110
+ padding: 0 var(--spacing-2);
4111
+ font-family: var(--text-label-sm-regular-fontFamily);
4112
+ font-weight: var(--text-label-sm-regular-fontWeight);
4113
+ font-size: var(--text-label-sm-regular-fontSize);
4114
+ line-height: var(--text-label-sm-regular-lineHeight);
4038
4115
  }
4039
4116
 
4040
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4041
- .muka-thumbnail__trigger {
4042
- position: absolute;
4043
- inset: 0;
4044
- padding: 0;
4045
- border: 0;
4046
- background: none;
4047
- cursor: pointer;
4048
- overflow: hidden;
4117
+ .muka-tabs--size-lg .muka-tabs__trigger {
4118
+ min-height: var(--tabs-trigger-min-height-lg);
4119
+ padding: var(--spacing-4);
4120
+ font-family: var(--text-label-lg-regular-fontFamily);
4121
+ font-weight: var(--text-label-lg-regular-fontWeight);
4122
+ font-size: var(--text-label-lg-regular-fontSize);
4123
+ line-height: var(--text-label-lg-regular-lineHeight);
4049
4124
  }
4050
4125
 
4051
- .muka-thumbnail__trigger:focus-visible {
4052
- outline: 2px solid var(--color-border-focus);
4053
- outline-offset: -2px;
4126
+ /* Hover state */
4127
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4128
+ color: var(--tabs-trigger-color-hover-foreground);
4054
4129
  }
4055
4130
 
4056
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4057
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4058
- transform: scale(1.05);
4131
+ /* Current tab */
4132
+ .muka-tabs__trigger--current {
4133
+ color: var(--tabs-trigger-color-current-foreground);
4059
4134
  }
4060
4135
 
4061
- /* ─── Loading overlay + progress donut ────────────────── */
4062
- .muka-thumbnail__overlay {
4136
+ /* Active bottom border (underline) */
4137
+ .muka-tabs__trigger--current::after {
4138
+ content: '';
4063
4139
  position: absolute;
4064
- inset: 0;
4065
- display: flex;
4066
- align-items: center;
4067
- justify-content: center;
4068
- background-color: var(--dialog-color-backdrop);
4140
+ bottom: -1px; /* Overlap the 1px border */
4141
+ left: 0;
4142
+ right: 0;
4143
+ height: var(--tabs-indicator-height-md);
4144
+ background-color: var(--tabs-indicator-color);
4145
+ border-bottom-left-radius: 1px;
4146
+ border-bottom-right-radius: 1px;
4147
+ border-top-left-radius: 3px;
4148
+ border-top-right-radius: 3px;
4149
+ z-index: 3;
4069
4150
  }
4070
4151
 
4071
- .muka-thumbnail__progress {
4072
- width: 40px;
4073
- height: 40px;
4152
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4153
+ height: var(--tabs-indicator-height-sm);
4074
4154
  }
4075
-
4076
- /* ─── Error / corrupt state ───────────────────────────── */
4077
- .muka-thumbnail--error .muka-thumbnail__frame {
4078
- background-color: var(--alias-color-state-error-muted);
4079
- border-color: var(--alias-color-state-error-default);
4155
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4156
+ height: var(--tabs-indicator-height-lg);
4080
4157
  }
4081
4158
 
4082
- .muka-thumbnail__error {
4083
- position: absolute;
4084
- inset: 0;
4085
- display: flex;
4086
- flex-direction: column;
4087
- align-items: center;
4088
- justify-content: center;
4089
- gap: var(--spacing-2);
4090
- padding: var(--spacing-3);
4091
- text-align: center;
4159
+ .muka-tabs__trigger--disabled {
4160
+ color: var(--tabs-trigger-color-disabled-foreground);
4161
+ cursor: not-allowed;
4092
4162
  }
4093
4163
 
4094
- .muka-thumbnail__error-icon {
4095
- color: var(--alert-color-error-accent);
4164
+ .muka-tabs__trigger:focus-visible {
4165
+ outline: 2px solid var(--color-border-focus);
4166
+ outline-offset: -2px;
4096
4167
  }
4097
4168
 
4098
- .muka-thumbnail__caption {
4099
- max-width: 100%;
4100
- overflow: hidden;
4101
- text-overflow: ellipsis;
4102
- white-space: nowrap;
4103
- color: var(--alert-color-error-accent);
4104
- font-family: var(--text-body-sm-regular-fontFamily);
4105
- font-size: var(--text-body-sm-regular-fontSize);
4106
- font-weight: var(--text-body-sm-regular-fontWeight);
4107
- line-height: var(--text-body-sm-regular-lineHeight);
4169
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4170
+ item sits 12px from the text */
4171
+ .muka-tabs__label {
4172
+ padding: 0 var(--spacing-2);
4108
4173
  }
4109
4174
 
4110
- /* ─── Remove (×) button ───────────────────────────────── */
4111
- .muka-thumbnail__remove {
4112
- position: absolute;
4113
- top: var(--spacing-2);
4114
- right: var(--spacing-2);
4175
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4176
+ .muka-tabs__leading {
4115
4177
  display: flex;
4116
4178
  align-items: center;
4117
4179
  justify-content: center;
4118
- width: var(--size-2xl);
4119
- height: var(--size-2xl);
4120
- padding: 0;
4121
- color: var(--button-color-tertiary-foreground-default);
4122
- background-color: var(--button-color-tertiary-background-default);
4123
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4124
- border-radius: var(--border-radius-lg);
4125
- cursor: pointer;
4126
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4127
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4180
+ flex-shrink: 0;
4181
+ }
4182
+ .muka-tabs__trigger .muka-icon {
4183
+ color: inherit;
4128
4184
  }
4185
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4186
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4187
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4188
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4189
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4190
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4191
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4129
4192
 
4130
- .muka-thumbnail__remove:hover {
4131
- color: var(--button-color-tertiary-foreground-hover);
4132
- background-color: var(--button-color-tertiary-background-hover);
4133
- border-color: var(--button-color-tertiary-border-hover);
4193
+ /* Responsive Scroll behavior on small screens */
4194
+ @media (max-width: 768px) {
4195
+ .muka-tabs__list {
4196
+ /* Make scrollable */
4197
+ overflow-x: auto;
4198
+ overflow-y: hidden;
4199
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4200
+ justify-content: flex-start !important;
4201
+ max-width: 100vw;
4202
+ -webkit-overflow-scrolling: touch;
4203
+ /* Hide scrollbar for cleaner look */
4204
+ scrollbar-width: none;
4205
+ }
4206
+ .muka-tabs__list::-webkit-scrollbar {
4207
+ display: none;
4208
+ }
4209
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4210
+ .muka-tabs--align-fill .muka-tabs__trigger {
4211
+ flex: 0 0 auto;
4212
+ }
4134
4213
  }
4135
4214
 
4136
- .muka-thumbnail__remove:active {
4137
- color: var(--button-color-tertiary-foreground-pressed);
4138
- background-color: var(--button-color-tertiary-background-pressed);
4139
- border-color: var(--button-color-tertiary-border-pressed);
4215
+ /* Tab Panel — content area */
4216
+ .muka-tabs__panel {
4217
+ background-color: var(--tabs-panel-background);
4218
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4219
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4220
+ padding: var(--spacing-4);
4221
+ position: relative;
4222
+ z-index: 1;
4223
+ font-family: var(--text-body-base-regular-fontFamily);
4224
+ font-weight: var(--text-body-base-regular-fontWeight);
4225
+ font-size: var(--text-body-base-regular-fontSize);
4226
+ line-height: var(--text-body-base-regular-lineHeight);
4140
4227
  }
4141
4228
 
4142
- .muka-thumbnail__remove:focus-visible {
4229
+ .muka-tabs__panel:focus-visible {
4143
4230
  outline: 2px solid var(--color-border-focus);
4144
4231
  outline-offset: 2px;
4145
4232
  }
4146
4233
 
4147
- /* ─── Reduced motion ──────────────────────────────────── */
4148
- @media (prefers-reduced-motion: reduce) {
4149
- .muka-thumbnail__image,
4150
- .muka-thumbnail__remove {
4151
- transition: none;
4152
- }
4153
-
4154
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4155
- transform: none;
4156
- }
4157
- }
4158
4234
 
4235
+ /* Tile */
4236
+ /* Tile Component Styles - Using Muka Design Tokens */
4159
4237
 
4160
- /* Textarea */
4161
- /* Textarea Component Styles - Using Muka Design Tokens */
4238
+ /* ─── Base ────────────────────────────────────────────── */
4162
4239
 
4163
- .muka-textarea {
4164
- display: inline-flex;
4165
- flex-direction: column;
4166
- gap: var(--spacing-2);
4240
+ .muka-tile {
4241
+ display: flex;
4242
+ color: var(--color-text-default-default);
4167
4243
  }
4168
4244
 
4169
- /* Label */
4170
- .muka-textarea__label {
4171
- color: var(--color-text-default-default);
4245
+ .muka-tile--interactive {
4172
4246
  cursor: pointer;
4247
+ user-select: none;
4173
4248
  }
4174
4249
 
4175
- .muka-textarea__label--sm {
4176
- font-family: var(--text-label-sm-semibold-fontFamily);
4177
- font-weight: var(--text-label-sm-semibold-fontWeight);
4178
- font-size: var(--text-label-sm-semibold-fontSize);
4179
- line-height: var(--text-label-sm-semibold-lineHeight);
4250
+ .muka-tile--interactive:focus-visible {
4251
+ outline: 2px solid var(--color-border-focus);
4252
+ outline-offset: 2px;
4253
+ border-radius: var(--border-radius-lg);
4180
4254
  }
4181
4255
 
4182
- .muka-textarea__label--md {
4183
- font-family: var(--text-label-md-semibold-fontFamily);
4184
- font-weight: var(--text-label-md-semibold-fontWeight);
4185
- font-size: var(--text-label-md-semibold-fontSize);
4186
- line-height: var(--text-label-md-semibold-lineHeight);
4187
- }
4256
+ /* ─── Image position variants ─────────────────────────── */
4188
4257
 
4189
- .muka-textarea__label--lg {
4190
- font-family: var(--text-label-lg-semibold-fontFamily);
4191
- font-weight: var(--text-label-lg-semibold-fontWeight);
4192
- font-size: var(--text-label-lg-semibold-fontSize);
4193
- line-height: var(--text-label-lg-semibold-lineHeight);
4258
+ .muka-tile--image-top {
4259
+ flex-direction: column;
4194
4260
  }
4195
4261
 
4196
- .muka-textarea__required {
4197
- color: var(--color-state-error-default);
4262
+ .muka-tile--image-left {
4263
+ flex-direction: row;
4198
4264
  }
4199
4265
 
4200
- /* Field container */
4201
- .muka-textarea__field {
4202
- display: flex;
4203
- background-color: var(--input-field-color-default-background);
4204
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4205
- border-radius: var(--input-field-radius-md);
4206
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4207
- transition: border-color 0.2s ease, background-color 0.2s ease;
4208
- box-sizing: border-box;
4266
+ .muka-tile--image-right {
4267
+ flex-direction: row;
4209
4268
  }
4210
4269
 
4211
- .muka-textarea__field--sm {
4212
- min-height: var(--input-textarea-height-sm);
4213
- border-radius: var(--input-field-radius-sm);
4214
- }
4270
+ /* ─── Gap by size (top) ───────────────────────────────── */
4215
4271
 
4216
- .muka-textarea__field--md {
4217
- min-height: var(--input-textarea-height-default);
4218
- border-radius: var(--input-field-radius-md);
4272
+ .muka-tile--image-top.muka-tile--lg {
4273
+ gap: var(--spacing-6);
4219
4274
  }
4220
4275
 
4221
- .muka-textarea__field--lg {
4222
- min-height: var(--input-textarea-height-lg);
4223
- border-radius: var(--input-field-radius-lg);
4276
+ .muka-tile--image-top.muka-tile--md {
4277
+ gap: var(--spacing-6);
4278
+ width: 320px;
4224
4279
  }
4225
4280
 
4226
- /* Focus state */
4227
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4228
- border-width: var(--border-width-bold);
4229
- border-color: var(--input-field-color-focus-border);
4230
- background-color: var(--input-field-color-focus-background);
4231
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4281
+ .muka-tile--image-top.muka-tile--sm {
4282
+ gap: var(--spacing-4);
4283
+ min-width: 120px;
4232
4284
  }
4233
4285
 
4234
- /* Error state */
4235
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4236
- border-width: var(--border-width-bold);
4237
- border-color: var(--input-field-color-error-border);
4238
- background-color: var(--input-field-color-error-background);
4239
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4240
- }
4286
+ /* ─── Gap by size (left/right) ────────────────────────── */
4241
4287
 
4242
- /* Disabled state */
4243
- .muka-textarea__field--disabled {
4244
- background-color: var(--input-field-color-disabled-background);
4245
- border-color: var(--input-field-color-disabled-border);
4246
- cursor: not-allowed;
4288
+ .muka-tile--image-left.muka-tile--lg,
4289
+ .muka-tile--image-right.muka-tile--lg {
4290
+ gap: var(--spacing-6);
4291
+ align-items: center;
4247
4292
  }
4248
4293
 
4249
- /* Native textarea */
4250
- .muka-textarea__native {
4251
- flex: 1;
4252
- border: none;
4253
- outline: none;
4254
- background: transparent;
4255
- color: var(--input-field-color-default-foreground);
4256
- font-family: var(--text-input-md-fontFamily);
4257
- font-weight: var(--text-input-md-fontWeight);
4258
- font-size: var(--text-input-md-fontSize);
4259
- line-height: var(--text-input-md-lineHeight);
4260
- padding: 0;
4261
- width: 100%;
4262
- min-width: 0;
4294
+ .muka-tile--image-left.muka-tile--md,
4295
+ .muka-tile--image-right.muka-tile--md {
4296
+ gap: var(--spacing-6);
4297
+ align-items: center;
4263
4298
  }
4264
4299
 
4265
- .muka-textarea__field--sm .muka-textarea__native {
4266
- font-family: var(--text-input-sm-fontFamily);
4267
- font-weight: var(--text-input-sm-fontWeight);
4268
- font-size: var(--text-input-sm-fontSize);
4269
- line-height: var(--text-input-sm-lineHeight);
4300
+ .muka-tile--image-left.muka-tile--sm,
4301
+ .muka-tile--image-right.muka-tile--sm {
4302
+ gap: var(--spacing-4);
4303
+ align-items: flex-start;
4270
4304
  }
4271
4305
 
4272
- .muka-textarea__field--lg .muka-textarea__native {
4273
- font-family: var(--text-input-lg-fontFamily);
4274
- font-weight: var(--text-input-lg-fontWeight);
4275
- font-size: var(--text-input-lg-fontSize);
4276
- line-height: var(--text-input-lg-lineHeight);
4306
+ /* ─── Photos container ────────────────────────────────── */
4307
+
4308
+ .muka-tile__photos {
4309
+ position: relative;
4310
+ flex-shrink: 0;
4311
+ overflow: hidden;
4312
+ display: flex;
4313
+ flex-direction: column;
4314
+ isolation: isolate;
4277
4315
  }
4278
4316
 
4279
- .muka-textarea__native::placeholder {
4280
- color: var(--color-text-subtle-default);
4317
+ /* Photos border radius by size */
4318
+ .muka-tile--lg .muka-tile__photos,
4319
+ .muka-tile--md .muka-tile__photos {
4320
+ border-radius: var(--border-radius-lg);
4281
4321
  }
4282
4322
 
4283
- .muka-textarea__field--disabled .muka-textarea__native {
4284
- color: var(--input-field-color-disabled-foreground);
4285
- cursor: not-allowed;
4323
+ .muka-tile--sm .muka-tile__photos {
4324
+ border-radius: var(--border-radius-md);
4286
4325
  }
4287
4326
 
4288
- /* Footer (helper/error + count) */
4289
- .muka-textarea__footer {
4290
- display: flex;
4291
- justify-content: space-between;
4292
- align-items: flex-start;
4293
- gap: var(--spacing-2);
4327
+ /* Photos sizing: top layout */
4328
+ .muka-tile--image-top .muka-tile__photos {
4329
+ width: 100%;
4294
4330
  }
4295
4331
 
4296
- .muka-textarea__helper {
4297
- font-family: var(--text-label-sm-regular-fontFamily);
4298
- font-weight: var(--text-label-sm-regular-fontWeight);
4299
- font-size: var(--text-label-sm-regular-fontSize);
4300
- line-height: var(--text-label-sm-regular-lineHeight);
4301
- color: var(--color-text-subtle-default);
4302
- margin: 0;
4332
+ /* Photos sizing: left/right large */
4333
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4334
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4335
+ width: 520px;
4303
4336
  }
4304
4337
 
4305
- .muka-textarea__error {
4306
- font-family: var(--text-label-sm-regular-fontFamily);
4307
- font-weight: var(--text-label-sm-regular-fontWeight);
4308
- font-size: var(--text-label-sm-regular-fontSize);
4309
- line-height: var(--text-label-sm-regular-lineHeight);
4310
- color: var(--color-state-error-default);
4311
- margin: 0;
4338
+ /* Photos sizing: left/right medium */
4339
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4340
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4341
+ width: 320px;
4312
4342
  }
4313
4343
 
4314
- .muka-textarea__count {
4315
- font-family: var(--text-label-sm-regular-fontFamily);
4316
- font-weight: var(--text-label-sm-regular-fontWeight);
4317
- font-size: var(--text-label-sm-regular-fontSize);
4318
- line-height: var(--text-label-sm-regular-lineHeight);
4319
- color: var(--color-text-subtle-default);
4320
- margin-left: auto;
4344
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4345
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4346
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4347
+ width: 80px;
4348
+ align-self: stretch;
4321
4349
  }
4322
4350
 
4351
+ /* ─── Main photo ──────────────────────────────────────── */
4323
4352
 
4324
- /* TextLink */
4325
- /* TextLink Component Styles - Using Muka Design Tokens */
4326
-
4327
- .muka-text-link {
4328
- display: inline;
4329
- cursor: pointer;
4330
- text-decoration: underline;
4331
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4332
- text-underline-offset: 0.2em;
4333
- text-decoration-thickness: from-font;
4334
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4335
- border-radius: var(--border-radius-sm);
4336
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4353
+ .muka-tile__photo-main {
4354
+ position: relative;
4355
+ width: 100%;
4356
+ overflow: hidden;
4357
+ flex-shrink: 0;
4337
4358
  }
4338
4359
 
4339
- /* ─── Sizes ───────────────────────────────────────────────
4340
- Mirrors the body text scale so a link matches the copy it sits in. */
4341
- .muka-text-link--sm {
4342
- font-family: var(--text-body-sm-regular-fontFamily);
4343
- font-weight: var(--text-body-sm-regular-fontWeight);
4344
- font-size: var(--text-body-sm-regular-fontSize);
4345
- line-height: var(--text-body-sm-regular-lineHeight);
4360
+ /* 16:9 aspect for lg and md */
4361
+ .muka-tile--lg .muka-tile__photo-main,
4362
+ .muka-tile--md .muka-tile__photo-main {
4363
+ aspect-ratio: 1280 / 720;
4346
4364
  }
4347
4365
 
4348
- .muka-text-link--base {
4349
- font-family: var(--text-body-base-regular-fontFamily);
4350
- font-weight: var(--text-body-base-regular-fontWeight);
4351
- font-size: var(--text-body-base-regular-fontSize);
4352
- line-height: var(--text-body-base-regular-lineHeight);
4366
+ /* 1:1 aspect for top + sm */
4367
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4368
+ aspect-ratio: 1 / 1;
4353
4369
  }
4354
4370
 
4355
- .muka-text-link--lg {
4356
- font-family: var(--text-body-lg-regular-fontFamily);
4357
- font-weight: var(--text-body-lg-regular-fontWeight);
4358
- font-size: var(--text-body-lg-regular-fontSize);
4359
- line-height: var(--text-body-lg-regular-lineHeight);
4371
+ /* Fixed size for left/right + sm */
4372
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4373
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4374
+ width: 80px;
4375
+ height: 80px;
4376
+ aspect-ratio: auto;
4360
4377
  }
4361
4378
 
4362
- /* ─── Variant: default (accent) ───────────────────────────
4363
- Visited repeats the default colour on purpose: the design treats visited and
4364
- default the same, and pinning it stops the browser's purple from showing. */
4365
- .muka-text-link--default,
4366
- .muka-text-link--default:visited {
4367
- color: var(--color-text-action-default);
4379
+ .muka-tile__photo-main img {
4380
+ width: 100%;
4381
+ height: 100%;
4382
+ object-fit: cover;
4383
+ display: block;
4368
4384
  }
4369
4385
 
4370
- .muka-text-link--default:hover,
4371
- .muka-text-link--default:focus-visible {
4372
- color: var(--color-text-action-hover);
4386
+ /* ─── Favourite overlay ───────────────────────────────── */
4387
+
4388
+ .muka-tile__favourite {
4389
+ position: absolute;
4390
+ z-index: 3;
4373
4391
  }
4374
4392
 
4375
- .muka-text-link--default:active {
4376
- color: var(--color-text-action-pressed);
4393
+ .muka-tile--lg .muka-tile__favourite,
4394
+ .muka-tile--md .muka-tile__favourite {
4395
+ top: var(--spacing-4);
4396
+ right: var(--spacing-4);
4377
4397
  }
4378
4398
 
4379
- /* ─── Variant: subtle (neutral) ───────────────────────────
4380
- Hover, focus and pressed all darken to the default text colour. */
4381
- .muka-text-link--subtle,
4382
- .muka-text-link--subtle:visited {
4383
- color: var(--color-text-subtle-default);
4399
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4400
+ top: var(--spacing-1);
4401
+ right: var(--spacing-1);
4384
4402
  }
4385
4403
 
4386
- .muka-text-link--subtle:hover,
4387
- .muka-text-link--subtle:focus-visible,
4388
- .muka-text-link--subtle:active {
4389
- color: var(--color-text-default-default);
4404
+ /* ─── Thumbnails ──────────────────────────────────────── */
4405
+
4406
+ .muka-tile__thumbnails {
4407
+ display: flex;
4408
+ gap: 2px;
4409
+ overflow: hidden;
4410
+ flex-shrink: 0;
4411
+ height: 80px;
4390
4412
  }
4391
4413
 
4392
- /* ─── Focus ───────────────────────────────────────────────
4393
- Same ring as every other focusable Muka component. */
4394
- .muka-text-link:focus-visible {
4395
- outline: 2px solid var(--color-border-focus);
4396
- outline-offset: 2px;
4414
+ .muka-tile__thumbnail {
4415
+ width: 80px;
4416
+ height: 80px;
4417
+ flex-shrink: 0;
4418
+ overflow: hidden;
4397
4419
  }
4398
4420
 
4399
- @media (prefers-reduced-motion: reduce) {
4400
- .muka-text-link {
4401
- transition: none;
4402
- }
4421
+ .muka-tile__thumbnail img {
4422
+ width: 100%;
4423
+ height: 100%;
4424
+ object-fit: cover;
4425
+ display: block;
4403
4426
  }
4404
4427
 
4428
+ /* Gap between main photo and thumbnails */
4429
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4430
+ margin-top: 2px;
4431
+ }
4405
4432
 
4406
- /* Tabs */
4407
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4433
+ /* ─── Content section ─────────────────────────────────── */
4408
4434
 
4409
- .muka-tabs {
4435
+ .muka-tile__content {
4410
4436
  display: flex;
4411
4437
  flex-direction: column;
4438
+ flex: 1;
4439
+ min-width: 0;
4412
4440
  }
4413
4441
 
4414
- /* Alignment Variants */
4415
- .muka-tabs--align-left .muka-tabs__list {
4416
- justify-content: flex-start;
4417
- }
4418
- .muka-tabs--align-center .muka-tabs__list {
4419
- justify-content: center;
4420
- }
4421
- .muka-tabs--align-fill .muka-tabs__list {
4422
- justify-content: space-between;
4423
- }
4424
- .muka-tabs--align-fill .muka-tabs__trigger {
4425
- flex: 1;
4442
+ /* Top layout: content has horizontal padding */
4443
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4444
+ padding: 0 var(--spacing-3);
4445
+ gap: var(--spacing-1);
4426
4446
  }
4427
4447
 
4428
- /* Tab List — strip container */
4429
- .muka-tabs__list {
4430
- display: flex;
4431
- align-items: center;
4432
- position: relative;
4433
- z-index: 2;
4434
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4448
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4449
+ padding: 0 var(--spacing-3);
4450
+ gap: var(--spacing-2);
4435
4451
  }
4436
4452
 
4437
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4438
- .muka-tabs--padding-default .muka-tabs__list {
4439
- padding-inline: var(--tabs-list-padding-x);
4453
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4454
+ gap: var(--spacing-2);
4440
4455
  }
4441
4456
 
4442
- /* Tab Trigger — clean underline style */
4443
- .muka-tabs__trigger {
4444
- display: inline-flex;
4445
- align-items: center;
4446
- justify-content: center;
4447
- gap: var(--spacing-1);
4448
- background: transparent;
4449
- border: none;
4450
- cursor: pointer;
4451
- user-select: none;
4452
- transition: background-color 0.2s ease, color 0.2s ease;
4453
- outline: none;
4454
- white-space: nowrap;
4455
- position: relative;
4456
- z-index: 2;
4457
- color: var(--tabs-trigger-color-default-foreground);
4457
+ /* Left/right layout: content grows to fill space */
4458
+ .muka-tile--image-left .muka-tile__content,
4459
+ .muka-tile--image-right .muka-tile__content {
4460
+ gap: var(--spacing-3);
4461
+ }
4458
4462
 
4459
- /* Default MD size values */
4460
- min-height: var(--tabs-trigger-min-height-md);
4461
- padding: var(--spacing-3);
4462
- font-family: var(--text-label-md-regular-fontFamily);
4463
- font-weight: var(--text-label-md-regular-fontWeight);
4464
- font-size: var(--text-label-md-regular-fontSize);
4465
- line-height: var(--text-label-md-regular-lineHeight);
4463
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4464
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4465
+ padding: 0 var(--spacing-3);
4466
4466
  }
4467
4467
 
4468
- /* Size Variants */
4469
- .muka-tabs--size-sm .muka-tabs__trigger {
4470
- min-height: var(--tabs-trigger-min-height-sm);
4471
- padding: 0 var(--spacing-2);
4472
- font-family: var(--text-label-sm-regular-fontFamily);
4473
- font-weight: var(--text-label-sm-regular-fontWeight);
4474
- font-size: var(--text-label-sm-regular-fontSize);
4475
- line-height: var(--text-label-sm-regular-lineHeight);
4468
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4469
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4470
+ padding: var(--spacing-2) var(--spacing-3);
4476
4471
  }
4477
4472
 
4478
- .muka-tabs--size-lg .muka-tabs__trigger {
4479
- min-height: var(--tabs-trigger-min-height-lg);
4480
- padding: var(--spacing-4);
4481
- font-family: var(--text-label-lg-regular-fontFamily);
4482
- font-weight: var(--text-label-lg-regular-fontWeight);
4483
- font-size: var(--text-label-lg-regular-fontSize);
4484
- line-height: var(--text-label-lg-regular-lineHeight);
4473
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4474
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4475
+ gap: var(--spacing-2);
4485
4476
  }
4486
4477
 
4487
- /* Hover state */
4488
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4489
- color: var(--tabs-trigger-color-hover-foreground);
4478
+ /* ─── Header (heading row + price) ────────────────────── */
4479
+
4480
+ .muka-tile__header {
4481
+ display: flex;
4482
+ align-items: flex-start;
4483
+ gap: var(--spacing-4);
4490
4484
  }
4491
4485
 
4492
- /* Current tab */
4493
- .muka-tabs__trigger--current {
4494
- color: var(--tabs-trigger-color-current-foreground);
4486
+ /* Small horizontal: row with text and action */
4487
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4488
+ gap: var(--spacing-2);
4489
+ align-items: center;
4490
+ padding-top: var(--spacing-1);
4495
4491
  }
4496
4492
 
4497
- /* Active bottom border (underline) */
4498
- .muka-tabs__trigger--current::after {
4499
- content: '';
4500
- position: absolute;
4501
- bottom: -1px; /* Overlap the 1px border */
4502
- left: 0;
4503
- right: 0;
4504
- height: var(--tabs-indicator-height-md);
4505
- background-color: var(--tabs-indicator-color);
4506
- border-bottom-left-radius: 1px;
4507
- border-bottom-right-radius: 1px;
4508
- border-top-left-radius: 3px;
4509
- border-top-right-radius: 3px;
4510
- z-index: 3;
4493
+ /* ─── Text group ──────────────────────────────────────── */
4494
+
4495
+ .muka-tile__text {
4496
+ display: flex;
4497
+ flex-direction: column;
4498
+ flex: 1;
4499
+ min-width: 0;
4500
+ gap: var(--spacing-2);
4511
4501
  }
4512
4502
 
4513
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4514
- height: var(--tabs-indicator-height-sm);
4503
+ /* ─── Heading typography ──────────────────────────────── */
4504
+
4505
+ .muka-tile__heading {
4506
+ margin: 0;
4515
4507
  }
4516
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4517
- height: var(--tabs-indicator-height-lg);
4508
+
4509
+ .muka-tile--lg .muka-tile__heading {
4510
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4511
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4512
+ font-size: var(--text-label-2xl-semibold-fontSize);
4513
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4514
+ color: var(--color-text-default-default);
4518
4515
  }
4519
4516
 
4520
- .muka-tabs__trigger--disabled {
4521
- color: var(--tabs-trigger-color-disabled-foreground);
4522
- cursor: not-allowed;
4517
+ .muka-tile--md .muka-tile__heading {
4518
+ font-family: var(--text-label-xl-semibold-fontFamily);
4519
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4520
+ font-size: var(--text-label-xl-semibold-fontSize);
4521
+ line-height: var(--text-label-xl-semibold-lineHeight);
4522
+ color: var(--color-text-default-default);
4523
4523
  }
4524
4524
 
4525
- .muka-tabs__trigger:focus-visible {
4526
- outline: 2px solid var(--color-border-focus);
4527
- outline-offset: -2px;
4525
+ .muka-tile--sm .muka-tile__heading {
4526
+ font-family: var(--text-label-lg-bold-fontFamily);
4527
+ font-weight: var(--text-label-lg-bold-fontWeight);
4528
+ font-size: var(--text-label-lg-bold-fontSize);
4529
+ line-height: var(--text-label-lg-bold-lineHeight);
4530
+ color: var(--color-text-default-default);
4528
4531
  }
4529
4532
 
4530
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4531
- item sits 12px from the text */
4532
- .muka-tabs__label {
4533
- padding: 0 var(--spacing-2);
4533
+ /* ─── Subheading typography ───────────────────────────── */
4534
+
4535
+ .muka-tile__subheading {
4536
+ margin: 0;
4537
+ color: var(--color-text-subtle-default);
4534
4538
  }
4535
4539
 
4536
- /* Leading item: icon, avatar, avatar group or data pie chart */
4537
- .muka-tabs__leading {
4538
- display: flex;
4539
- align-items: center;
4540
- justify-content: center;
4541
- flex-shrink: 0;
4540
+ .muka-tile--lg .muka-tile__subheading {
4541
+ font-family: var(--text-subheading-md-fontFamily);
4542
+ font-weight: var(--text-subheading-md-fontWeight);
4543
+ font-size: var(--text-subheading-md-fontSize);
4544
+ line-height: var(--text-subheading-md-lineHeight);
4542
4545
  }
4543
- .muka-tabs__trigger .muka-icon {
4544
- color: inherit;
4546
+
4547
+ .muka-tile--md .muka-tile__subheading,
4548
+ .muka-tile--sm .muka-tile__subheading {
4549
+ font-family: var(--text-subheading-sm-fontFamily);
4550
+ font-weight: var(--text-subheading-sm-fontWeight);
4551
+ font-size: var(--text-subheading-sm-fontSize);
4552
+ line-height: var(--text-subheading-sm-lineHeight);
4545
4553
  }
4546
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4547
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4548
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4549
- .muka-tabs--size-md .muka-tabs__leading > svg,
4550
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4551
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4552
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4553
4554
 
4554
- /* Responsive Scroll behavior on small screens */
4555
- @media (max-width: 768px) {
4556
- .muka-tabs__list {
4557
- /* Make scrollable */
4558
- overflow-x: auto;
4559
- overflow-y: hidden;
4560
- /* Force left alignment on mobile to prevent clipping when scrolling */
4561
- justify-content: flex-start !important;
4562
- max-width: 100vw;
4563
- -webkit-overflow-scrolling: touch;
4564
- /* Hide scrollbar for cleaner look */
4565
- scrollbar-width: none;
4566
- }
4567
- .muka-tabs__list::-webkit-scrollbar {
4568
- display: none;
4569
- }
4570
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4571
- .muka-tabs--align-fill .muka-tabs__trigger {
4572
- flex: 0 0 auto;
4573
- }
4555
+ /* ─── Description typography ──────────────────────────── */
4556
+
4557
+ .muka-tile__description {
4558
+ margin: 0;
4559
+ color: var(--color-text-default-default);
4574
4560
  }
4575
4561
 
4576
- /* Tab Panel — content area */
4577
- .muka-tabs__panel {
4578
- background-color: var(--tabs-panel-background);
4579
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4580
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4581
- padding: var(--spacing-4);
4582
- position: relative;
4583
- z-index: 1;
4562
+ .muka-tile--lg .muka-tile__description {
4563
+ font-family: var(--text-body-lg-regular-fontFamily);
4564
+ font-weight: var(--text-body-lg-regular-fontWeight);
4565
+ font-size: var(--text-body-lg-regular-fontSize);
4566
+ line-height: var(--text-body-lg-regular-lineHeight);
4567
+ }
4568
+
4569
+ .muka-tile--md .muka-tile__description,
4570
+ .muka-tile--sm .muka-tile__description {
4584
4571
  font-family: var(--text-body-base-regular-fontFamily);
4585
4572
  font-weight: var(--text-body-base-regular-fontWeight);
4586
4573
  font-size: var(--text-body-base-regular-fontSize);
4587
4574
  line-height: var(--text-body-base-regular-lineHeight);
4588
4575
  }
4589
4576
 
4590
- .muka-tabs__panel:focus-visible {
4591
- outline: 2px solid var(--color-border-focus);
4592
- outline-offset: 2px;
4577
+ /* Description overflow for medium */
4578
+ .muka-tile--md .muka-tile__description {
4579
+ overflow: hidden;
4580
+ text-overflow: ellipsis;
4581
+ }
4582
+
4583
+ /* ─── Price slot ──────────────────────────────────────── */
4584
+
4585
+ .muka-tile__price {
4586
+ flex-shrink: 0;
4587
+ }
4588
+
4589
+ /* ─── Action slot ─────────────────────────────────────── */
4590
+
4591
+ .muka-tile__action {
4592
+ flex-shrink: 0;
4593
4593
  }
4594
4594
 
4595
4595
 
@@ -5094,92 +5094,14 @@ body {
5094
5094
  color: var(--color-text-default-inverse);
5095
5095
  }
5096
5096
 
5097
- .muka-swipe-actions__button--warning {
5098
- background-color: var(--color-state-warning-default);
5099
- color: var(--color-text-default-default);
5100
- }
5101
-
5102
- .muka-swipe-actions__button--destructive {
5103
- background-color: var(--color-state-error-default);
5104
- color: var(--color-text-default-inverse);
5105
- }
5106
-
5107
-
5108
- /* Spinner */
5109
- /* Spinner Component Styles */
5110
-
5111
- .muka-spinner {
5112
- display: inline-flex;
5113
- align-items: center;
5114
- justify-content: center;
5115
- color: var(--color-text-default-default);
5116
- line-height: 0;
5117
- }
5118
-
5119
- .muka-spinner--subtle {
5120
- color: var(--color-text-subtle-default);
5121
- }
5122
-
5123
- .muka-spinner--inverse {
5124
- color: var(--color-text-default-inverse);
5125
- }
5126
-
5127
- .muka-spinner__circle {
5128
- display: inline-block;
5129
- border-radius: 50%;
5130
- border-style: solid;
5131
- border-color: currentColor;
5132
- border-right-color: transparent;
5133
- animation: muka-spinner-rotate 0.7s linear infinite;
5134
- box-sizing: border-box;
5135
- }
5136
-
5137
- /* ─── Sizes ───────────────────────────────────────────── */
5138
-
5139
- .muka-spinner--sm .muka-spinner__circle {
5140
- width: 16px;
5141
- height: 16px;
5142
- border-width: 2px;
5143
- }
5144
-
5145
- .muka-spinner--md .muka-spinner__circle {
5146
- width: 20px;
5147
- height: 20px;
5148
- border-width: 2px;
5149
- }
5150
-
5151
- .muka-spinner--lg .muka-spinner__circle {
5152
- width: 24px;
5153
- height: 24px;
5154
- border-width: 3px;
5155
- }
5156
-
5157
- /* ─── Visually-hidden label ───────────────────────────── */
5158
-
5159
- .muka-spinner__sr-label {
5160
- position: absolute;
5161
- width: 1px;
5162
- height: 1px;
5163
- padding: 0;
5164
- margin: -1px;
5165
- overflow: hidden;
5166
- clip: rect(0, 0, 0, 0);
5167
- white-space: nowrap;
5168
- border: 0;
5169
- }
5170
-
5171
- /* ─── Reduced motion ──────────────────────────────────── */
5172
-
5173
- @keyframes muka-spinner-rotate {
5174
- to {
5175
- transform: rotate(360deg);
5176
- }
5097
+ .muka-swipe-actions__button--warning {
5098
+ background-color: var(--color-state-warning-default);
5099
+ color: var(--color-text-default-default);
5177
5100
  }
5178
5101
 
5179
- @media (prefers-reduced-motion: reduce) {
5180
- .muka-spinner__circle {
5181
- animation-duration: 2.5s;
5182
- }
5102
+ .muka-swipe-actions__button--destructive {
5103
+ background-color: var(--color-state-error-default);
5104
+ color: var(--color-text-default-inverse);
5183
5105
  }
5184
5106
 
5185
5107
 
@@ -5268,6 +5190,84 @@ body {
5268
5190
  }
5269
5191
 
5270
5192
 
5193
+ /* Spinner */
5194
+ /* Spinner Component Styles */
5195
+
5196
+ .muka-spinner {
5197
+ display: inline-flex;
5198
+ align-items: center;
5199
+ justify-content: center;
5200
+ color: var(--color-text-default-default);
5201
+ line-height: 0;
5202
+ }
5203
+
5204
+ .muka-spinner--subtle {
5205
+ color: var(--color-text-subtle-default);
5206
+ }
5207
+
5208
+ .muka-spinner--inverse {
5209
+ color: var(--color-text-default-inverse);
5210
+ }
5211
+
5212
+ .muka-spinner__circle {
5213
+ display: inline-block;
5214
+ border-radius: 50%;
5215
+ border-style: solid;
5216
+ border-color: currentColor;
5217
+ border-right-color: transparent;
5218
+ animation: muka-spinner-rotate 0.7s linear infinite;
5219
+ box-sizing: border-box;
5220
+ }
5221
+
5222
+ /* ─── Sizes ───────────────────────────────────────────── */
5223
+
5224
+ .muka-spinner--sm .muka-spinner__circle {
5225
+ width: 16px;
5226
+ height: 16px;
5227
+ border-width: 2px;
5228
+ }
5229
+
5230
+ .muka-spinner--md .muka-spinner__circle {
5231
+ width: 20px;
5232
+ height: 20px;
5233
+ border-width: 2px;
5234
+ }
5235
+
5236
+ .muka-spinner--lg .muka-spinner__circle {
5237
+ width: 24px;
5238
+ height: 24px;
5239
+ border-width: 3px;
5240
+ }
5241
+
5242
+ /* ─── Visually-hidden label ───────────────────────────── */
5243
+
5244
+ .muka-spinner__sr-label {
5245
+ position: absolute;
5246
+ width: 1px;
5247
+ height: 1px;
5248
+ padding: 0;
5249
+ margin: -1px;
5250
+ overflow: hidden;
5251
+ clip: rect(0, 0, 0, 0);
5252
+ white-space: nowrap;
5253
+ border: 0;
5254
+ }
5255
+
5256
+ /* ─── Reduced motion ──────────────────────────────────── */
5257
+
5258
+ @keyframes muka-spinner-rotate {
5259
+ to {
5260
+ transform: rotate(360deg);
5261
+ }
5262
+ }
5263
+
5264
+ @media (prefers-reduced-motion: reduce) {
5265
+ .muka-spinner__circle {
5266
+ animation-duration: 2.5s;
5267
+ }
5268
+ }
5269
+
5270
+
5271
5271
  /* SmsOtpField */
5272
5272
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5273
5273
 
@@ -5476,212 +5476,62 @@ body {
5476
5476
  }
5477
5477
 
5478
5478
  .muka-skeleton--circular {
5479
- width: 2.5rem;
5480
- height: 2.5rem;
5481
- border-radius: var(--radius-full);
5482
- }
5483
-
5484
- .muka-skeleton--rectangular {
5485
- height: 7.5rem;
5486
- border-radius: var(--radius-md);
5487
- width: 100%;
5488
- }
5489
-
5490
- /* Last line in multi-line text is shorter */
5491
- .muka-skeleton--last-line {
5492
- width: 80%;
5493
- }
5494
-
5495
- /* Lines container */
5496
- .muka-skeleton__lines {
5497
- display: flex;
5498
- flex-direction: column;
5499
- gap: var(--spacing-2);
5500
- }
5501
-
5502
- /* Shimmer animation */
5503
- @keyframes muka-skeleton-shimmer {
5504
- 0% {
5505
- background-position: -200% 0;
5506
- }
5507
- 100% {
5508
- background-position: 200% 0;
5509
- }
5510
- }
5511
-
5512
- .muka-skeleton--shimmer {
5513
- background: linear-gradient(
5514
- 90deg,
5515
- var(--color-surface-level1) 25%,
5516
- var(--color-surface-level2) 50%,
5517
- var(--color-surface-level1) 75%
5518
- );
5519
- background-size: 200% 100%;
5520
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5521
- }
5522
-
5523
- /* Pulse animation */
5524
- @keyframes muka-skeleton-pulse {
5525
- 0%, 100% {
5526
- opacity: 1;
5527
- }
5528
- 50% {
5529
- opacity: 0.4;
5530
- }
5531
- }
5532
-
5533
- .muka-skeleton--pulse {
5534
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5535
- }
5536
-
5537
-
5538
- /* SocialSignInButton */
5539
- /*
5540
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5541
- * Google Identity branding) and intentionally fixed across Muka brands —
5542
- * same exception pattern as LicensePlateInput regulatory colors.
5543
- *
5544
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5545
- * Google: https://developers.google.com/identity/branding-guidelines
5546
- */
5547
- .muka-social-sign-in-button {
5548
- --ssi-white: #ffffff;
5549
- --ssi-black: #000000;
5550
- --ssi-google-text-light: #1f1f1f;
5551
-
5552
- display: inline-flex;
5553
- align-items: center;
5554
- justify-content: center;
5555
-
5556
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5557
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5558
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5559
- font-family: inherit;
5560
- font-weight: 600;
5561
- text-decoration: none;
5562
- white-space: nowrap;
5563
-
5564
- border: 1px solid transparent;
5565
- cursor: pointer;
5566
- user-select: none;
5567
- transition: opacity 0.15s ease, filter 0.15s ease;
5568
-
5569
- outline: none;
5570
- position: relative;
5571
- box-sizing: border-box;
5572
- }
5573
-
5574
- .muka-social-sign-in-button--apple {
5575
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5576
- Helvetica, Arial, sans-serif;
5577
- font-weight: 600;
5578
- }
5579
-
5580
- .muka-social-sign-in-button--google {
5581
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5582
- font-weight: 500;
5583
- }
5584
-
5585
- .muka-social-sign-in-button:focus-visible {
5586
- outline: 2px solid var(--color-border-focus);
5587
- outline-offset: 2px;
5588
- }
5589
-
5590
- /* Sizes — heights align with Button md/lg */
5591
- .muka-social-sign-in-button--md {
5592
- padding: 0 var(--button-padding-md-x);
5593
- border-radius: var(--button-radius-md);
5594
- font-size: var(--text-label-sm-semibold-fontSize);
5595
- line-height: var(--text-label-sm-semibold-lineHeight);
5596
- min-height: 40px;
5597
- min-width: 240px;
5598
- }
5599
-
5600
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5601
- padding: 0 var(--button-gap-md);
5602
- }
5603
-
5604
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5605
- width: var(--button-icon-md);
5606
- height: var(--button-icon-md);
5607
- }
5608
-
5609
- .muka-social-sign-in-button--lg {
5610
- padding: 0 var(--button-padding-lg-x);
5611
- border-radius: var(--button-radius-lg);
5612
- font-size: var(--text-label-lg-semibold-fontSize);
5613
- line-height: var(--text-label-lg-semibold-lineHeight);
5614
- min-height: 48px;
5615
- min-width: 280px;
5616
- }
5617
-
5618
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5619
- padding: 0 var(--button-gap-lg);
5620
- }
5621
-
5622
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5623
- width: var(--button-icon-lg);
5624
- height: var(--button-icon-lg);
5625
- }
5626
-
5627
- /* White lockup — for dark surfaces (Apple White with Outline) */
5628
- .muka-social-sign-in-button--white {
5629
- background-color: var(--ssi-white);
5630
- color: var(--ssi-black);
5631
- border-color: var(--ssi-black);
5632
- }
5633
-
5634
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5635
- color: var(--ssi-google-text-light);
5636
- }
5637
-
5638
- /* Black lockup — for light surfaces */
5639
- .muka-social-sign-in-button--black {
5640
- background-color: var(--ssi-black);
5641
- color: var(--ssi-white);
5642
- border-color: transparent;
5479
+ width: 2.5rem;
5480
+ height: 2.5rem;
5481
+ border-radius: var(--radius-full);
5643
5482
  }
5644
5483
 
5645
- /* Interaction — luminance/opacity only; no brand tint */
5646
- .muka-social-sign-in-button:hover:not(:disabled) {
5647
- filter: brightness(0.92);
5484
+ .muka-skeleton--rectangular {
5485
+ height: 7.5rem;
5486
+ border-radius: var(--radius-md);
5487
+ width: 100%;
5648
5488
  }
5649
5489
 
5650
- .muka-social-sign-in-button:active:not(:disabled) {
5651
- filter: brightness(0.85);
5490
+ /* Last line in multi-line text is shorter */
5491
+ .muka-skeleton--last-line {
5492
+ width: 80%;
5652
5493
  }
5653
5494
 
5654
- .muka-social-sign-in-button:disabled,
5655
- .muka-social-sign-in-button--disabled {
5656
- cursor: not-allowed;
5657
- opacity: 0.4;
5658
- pointer-events: none;
5659
- filter: none;
5495
+ /* Lines container */
5496
+ .muka-skeleton__lines {
5497
+ display: flex;
5498
+ flex-direction: column;
5499
+ gap: var(--spacing-2);
5660
5500
  }
5661
5501
 
5662
- .muka-social-sign-in-button--full-width {
5663
- width: 100%;
5664
- min-width: 0;
5502
+ /* Shimmer animation */
5503
+ @keyframes muka-skeleton-shimmer {
5504
+ 0% {
5505
+ background-position: -200% 0;
5506
+ }
5507
+ 100% {
5508
+ background-position: 200% 0;
5509
+ }
5665
5510
  }
5666
5511
 
5667
- .muka-social-sign-in-button__icon {
5668
- display: inline-flex;
5669
- align-items: center;
5670
- justify-content: center;
5671
- flex-shrink: 0;
5512
+ .muka-skeleton--shimmer {
5513
+ background: linear-gradient(
5514
+ 90deg,
5515
+ var(--color-surface-level1) 25%,
5516
+ var(--color-surface-level2) 50%,
5517
+ var(--color-surface-level1) 75%
5518
+ );
5519
+ background-size: 200% 100%;
5520
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5672
5521
  }
5673
5522
 
5674
- .muka-social-sign-in-button__icon > *,
5675
- .muka-social-sign-in-button__icon svg {
5676
- width: auto;
5677
- height: 100%;
5678
- max-width: 100%;
5679
- display: block;
5523
+ /* Pulse animation */
5524
+ @keyframes muka-skeleton-pulse {
5525
+ 0%, 100% {
5526
+ opacity: 1;
5527
+ }
5528
+ 50% {
5529
+ opacity: 0.4;
5530
+ }
5680
5531
  }
5681
5532
 
5682
- .muka-social-sign-in-button__label {
5683
- display: inline-flex;
5684
- align-items: center;
5533
+ .muka-skeleton--pulse {
5534
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5685
5535
  }
5686
5536
 
5687
5537
 
@@ -5822,243 +5672,55 @@ body {
5822
5672
 
5823
5673
  background-color: var(--color-surface-level3);
5824
5674
  border-top-left-radius: var(--radius-lg);
5825
- border-top-right-radius: var(--radius-lg);
5826
- box-shadow: var(--shadow-level5);
5827
-
5828
- outline: none;
5829
- }
5830
-
5831
- /* Safe-area bottom inset for the iPhone home indicator. */
5832
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5833
- padding-bottom: env(safe-area-inset-bottom);
5834
- }
5835
-
5836
- /* ─── Drag handle ─────────────────────────────────────── */
5837
-
5838
- .muka-sheet__handle-container {
5839
- display: flex;
5840
- justify-content: center;
5841
- flex-shrink: 0;
5842
- padding: var(--spacing-3) 0;
5843
- }
5844
-
5845
- .muka-sheet__handle {
5846
- width: var(--dialog-drag-handle-width);
5847
- height: var(--dialog-drag-handle-height);
5848
- background-color: var(--dialog-drag-handle-color);
5849
- border-radius: var(--dialog-drag-handle-radius);
5850
- }
5851
-
5852
- /* ─── Body (scrollable) ───────────────────────────────── */
5853
-
5854
- .muka-sheet__body {
5855
- flex: 1 1 0%;
5856
- min-height: 0;
5857
- overflow-y: auto;
5858
- -webkit-overflow-scrolling: touch;
5859
- overscroll-behavior: contain;
5860
- }
5861
-
5862
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5863
-
5864
- .muka-sheet__sr-title {
5865
- position: absolute;
5866
- width: 1px;
5867
- height: 1px;
5868
- padding: 0;
5869
- margin: -1px;
5870
- overflow: hidden;
5871
- clip: rect(0, 0, 0, 0);
5872
- white-space: nowrap;
5873
- border: 0;
5874
- }
5875
-
5876
-
5877
- /* SegmentGroup */
5878
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5879
-
5880
- /* Container */
5881
- .muka-segmentgroup {
5882
- display: inline-flex;
5883
- align-items: center;
5884
- gap: 0;
5885
- padding: var(--segmentgroup-container-padding);
5886
- background-color: var(--segmentgroup-container-background);
5887
- border-radius: var(--segmentgroup-container-radius);
5888
- position: relative;
5889
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5890
- }
5891
-
5892
- /* Inset shadow on container */
5893
- .muka-segmentgroup::after {
5894
- content: '';
5895
- position: absolute;
5896
- inset: 0;
5897
- border-radius: inherit;
5898
- box-shadow: var(--segmentgroup-container-shadow);
5899
- pointer-events: none;
5900
- }
5901
-
5902
- /* Full width variant */
5903
- .muka-segmentgroup--full-width {
5904
- width: 100%;
5905
- }
5906
-
5907
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5908
- flex: 1;
5909
- }
5910
-
5911
- /* Pill */
5912
- .muka-segmentgroup__pill {
5913
- position: absolute;
5914
- top: var(--segmentgroup-container-padding);
5915
- bottom: var(--segmentgroup-container-padding);
5916
- left: 0;
5917
- margin: 0;
5918
- background-color: var(--segmentgroup-segment-color-selected-background);
5919
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5920
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5921
- z-index: 0;
5922
- pointer-events: none;
5923
- }
5924
-
5925
- /* Segment button */
5926
- .muka-segmentgroup__segment {
5927
- display: inline-flex;
5928
- align-items: center;
5929
- justify-content: center;
5930
- gap: var(--segmentgroup-segment-gap);
5931
- border: none;
5932
- background-color: var(--segmentgroup-segment-color-unselected-background);
5933
- color: var(--segmentgroup-segment-color-unselected-foreground);
5934
- border-radius: var(--segmentgroup-segment-radius);
5935
- cursor: pointer;
5936
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5937
- position: relative;
5938
- outline: none;
5939
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
5940
- font-family: var(--alias-font-plain-family);
5941
- font-weight: var(--segmentgroup-segment-fontWeight);
5942
- z-index: 1; /* Keep above pill */
5943
- }
5944
-
5945
- /* Size variants */
5946
- .muka-segmentgroup--sm {
5947
- border-radius: var(--border-radius-xl, 16px);
5948
- }
5949
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
5950
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
5951
- border-radius: var(--border-radius-xl, 16px);
5952
- }
5953
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
5954
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5955
- height: var(--segmentgroup-segment-height-sm);
5956
- font-size: var(--text-label-sm-fontSize);
5957
- line-height: var(--text-label-sm-lineHeight);
5958
- }
5959
-
5960
- .muka-segmentgroup--md {
5961
- border-radius: var(--border-radius-xl, 16px);
5962
- }
5963
- .muka-segmentgroup--md .muka-segmentgroup__segment,
5964
- .muka-segmentgroup--md .muka-segmentgroup__pill {
5965
- border-radius: var(--border-radius-xl, 16px);
5966
- }
5967
- .muka-segmentgroup--md .muka-segmentgroup__segment {
5968
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5969
- font-size: var(--text-label-md-fontSize);
5970
- line-height: var(--text-label-md-lineHeight);
5971
- }
5972
-
5973
- .muka-segmentgroup--lg {
5974
- border-radius: var(--border-radius-full, 9999px);
5975
- }
5976
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
5977
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
5978
- border-radius: var(--border-radius-full, 9999px);
5979
- }
5980
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
5981
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5982
- height: 40px;
5983
- font-size: var(--text-label-lg-fontSize);
5984
- line-height: var(--text-label-lg-lineHeight);
5985
- }
5986
-
5987
- /* Icon-only variants */
5988
- .muka-segmentgroup--icon-only {
5989
- gap: var(--spacing-1, 4px);
5990
- }
5991
-
5992
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5993
- width: 24px;
5994
- height: 24px;
5995
- padding: 0;
5996
- }
5997
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5998
- width: 16px;
5999
- height: 16px;
6000
- }
6001
-
6002
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6003
- width: 32px;
6004
- height: 32px;
6005
- padding: 0;
6006
- }
6007
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6008
- width: 20px;
6009
- height: 20px;
6010
- }
5675
+ border-top-right-radius: var(--radius-lg);
5676
+ box-shadow: var(--shadow-level5);
6011
5677
 
6012
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6013
- width: 40px;
6014
- height: 40px;
6015
- padding: 0;
5678
+ outline: none;
6016
5679
  }
6017
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6018
- width: 24px;
6019
- height: 24px;
5680
+
5681
+ /* Safe-area bottom inset for the iPhone home indicator. */
5682
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5683
+ padding-bottom: env(safe-area-inset-bottom);
6020
5684
  }
6021
5685
 
6022
- /* Icon */
6023
- .muka-segmentgroup__icon {
6024
- display: inline-flex;
6025
- align-items: center;
5686
+ /* ─── Drag handle ─────────────────────────────────────── */
5687
+
5688
+ .muka-sheet__handle-container {
5689
+ display: flex;
6026
5690
  justify-content: center;
5691
+ flex-shrink: 0;
5692
+ padding: var(--spacing-3) 0;
6027
5693
  }
6028
5694
 
6029
- /* Selected state */
6030
- .muka-segmentgroup__segment--selected {
6031
- background-color: transparent;
6032
- box-shadow: none;
6033
- color: var(--segmentgroup-segment-color-selected-foreground);
6034
- z-index: 2; /* Highlight pill when focused is tested below */
5695
+ .muka-sheet__handle {
5696
+ width: var(--dialog-drag-handle-width);
5697
+ height: var(--dialog-drag-handle-height);
5698
+ background-color: var(--dialog-drag-handle-color);
5699
+ border-radius: var(--dialog-drag-handle-radius);
6035
5700
  }
6036
5701
 
6037
- /* Hover state (only for unselected) */
6038
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6039
- color: var(--segmentgroup-segment-color-hover-foreground);
6040
- }
5702
+ /* ─── Body (scrollable) ───────────────────────────────── */
6041
5703
 
6042
- /* Focus visible */
6043
- .muka-segmentgroup__segment:focus-visible {
6044
- outline: 2px solid var(--color-border-focus);
6045
- outline-offset: 2px;
6046
- z-index: 2;
5704
+ .muka-sheet__body {
5705
+ flex: 1 1 0%;
5706
+ min-height: 0;
5707
+ overflow-y: auto;
5708
+ -webkit-overflow-scrolling: touch;
5709
+ overscroll-behavior: contain;
6047
5710
  }
6048
5711
 
6049
- /* Disabled state */
6050
- .muka-segmentgroup__segment--disabled,
6051
- .muka-segmentgroup__segment:disabled {
6052
- cursor: not-allowed;
6053
- opacity: 0.5;
6054
- }
5712
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6055
5713
 
6056
- /* Label */
6057
- .muka-segmentgroup__label {
6058
- display: inline-flex;
6059
- align-items: center;
5714
+ .muka-sheet__sr-title {
5715
+ position: absolute;
5716
+ width: 1px;
5717
+ height: 1px;
5718
+ padding: 0;
5719
+ margin: -1px;
5720
+ overflow: hidden;
5721
+ clip: rect(0, 0, 0, 0);
6060
5722
  white-space: nowrap;
6061
- user-select: none;
5723
+ border: 0;
6062
5724
  }
6063
5725
 
6064
5726
 
@@ -6245,14 +5907,202 @@ body {
6245
5907
  margin: 0;
6246
5908
  }
6247
5909
 
6248
- /* Error message — same as Input */
6249
- .muka-select__error {
6250
- font-family: var(--text-label-sm-regular-fontFamily);
6251
- font-weight: var(--text-label-sm-regular-fontWeight);
6252
- font-size: var(--text-label-sm-regular-fontSize);
6253
- line-height: var(--text-label-sm-regular-lineHeight);
6254
- color: var(--color-state-error-default);
6255
- margin: 0;
5910
+ /* Error message — same as Input */
5911
+ .muka-select__error {
5912
+ font-family: var(--text-label-sm-regular-fontFamily);
5913
+ font-weight: var(--text-label-sm-regular-fontWeight);
5914
+ font-size: var(--text-label-sm-regular-fontSize);
5915
+ line-height: var(--text-label-sm-regular-lineHeight);
5916
+ color: var(--color-state-error-default);
5917
+ margin: 0;
5918
+ }
5919
+
5920
+
5921
+ /* SegmentGroup */
5922
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5923
+
5924
+ /* Container */
5925
+ .muka-segmentgroup {
5926
+ display: inline-flex;
5927
+ align-items: center;
5928
+ gap: 0;
5929
+ padding: var(--segmentgroup-container-padding);
5930
+ background-color: var(--segmentgroup-container-background);
5931
+ border-radius: var(--segmentgroup-container-radius);
5932
+ position: relative;
5933
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
5934
+ }
5935
+
5936
+ /* Inset shadow on container */
5937
+ .muka-segmentgroup::after {
5938
+ content: '';
5939
+ position: absolute;
5940
+ inset: 0;
5941
+ border-radius: inherit;
5942
+ box-shadow: var(--segmentgroup-container-shadow);
5943
+ pointer-events: none;
5944
+ }
5945
+
5946
+ /* Full width variant */
5947
+ .muka-segmentgroup--full-width {
5948
+ width: 100%;
5949
+ }
5950
+
5951
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5952
+ flex: 1;
5953
+ }
5954
+
5955
+ /* Pill */
5956
+ .muka-segmentgroup__pill {
5957
+ position: absolute;
5958
+ top: var(--segmentgroup-container-padding);
5959
+ bottom: var(--segmentgroup-container-padding);
5960
+ left: 0;
5961
+ margin: 0;
5962
+ background-color: var(--segmentgroup-segment-color-selected-background);
5963
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
5964
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5965
+ z-index: 0;
5966
+ pointer-events: none;
5967
+ }
5968
+
5969
+ /* Segment button */
5970
+ .muka-segmentgroup__segment {
5971
+ display: inline-flex;
5972
+ align-items: center;
5973
+ justify-content: center;
5974
+ gap: var(--segmentgroup-segment-gap);
5975
+ border: none;
5976
+ background-color: var(--segmentgroup-segment-color-unselected-background);
5977
+ color: var(--segmentgroup-segment-color-unselected-foreground);
5978
+ border-radius: var(--segmentgroup-segment-radius);
5979
+ cursor: pointer;
5980
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5981
+ position: relative;
5982
+ outline: none;
5983
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
5984
+ font-family: var(--alias-font-plain-family);
5985
+ font-weight: var(--segmentgroup-segment-fontWeight);
5986
+ z-index: 1; /* Keep above pill */
5987
+ }
5988
+
5989
+ /* Size variants */
5990
+ .muka-segmentgroup--sm {
5991
+ border-radius: var(--border-radius-xl, 16px);
5992
+ }
5993
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
5994
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
5995
+ border-radius: var(--border-radius-xl, 16px);
5996
+ }
5997
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
5998
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5999
+ height: var(--segmentgroup-segment-height-sm);
6000
+ font-size: var(--text-label-sm-fontSize);
6001
+ line-height: var(--text-label-sm-lineHeight);
6002
+ }
6003
+
6004
+ .muka-segmentgroup--md {
6005
+ border-radius: var(--border-radius-xl, 16px);
6006
+ }
6007
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
6008
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
6009
+ border-radius: var(--border-radius-xl, 16px);
6010
+ }
6011
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
6012
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6013
+ font-size: var(--text-label-md-fontSize);
6014
+ line-height: var(--text-label-md-lineHeight);
6015
+ }
6016
+
6017
+ .muka-segmentgroup--lg {
6018
+ border-radius: var(--border-radius-full, 9999px);
6019
+ }
6020
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
6021
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
6022
+ border-radius: var(--border-radius-full, 9999px);
6023
+ }
6024
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
6025
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6026
+ height: 40px;
6027
+ font-size: var(--text-label-lg-fontSize);
6028
+ line-height: var(--text-label-lg-lineHeight);
6029
+ }
6030
+
6031
+ /* Icon-only variants */
6032
+ .muka-segmentgroup--icon-only {
6033
+ gap: var(--spacing-1, 4px);
6034
+ }
6035
+
6036
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6037
+ width: 24px;
6038
+ height: 24px;
6039
+ padding: 0;
6040
+ }
6041
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6042
+ width: 16px;
6043
+ height: 16px;
6044
+ }
6045
+
6046
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6047
+ width: 32px;
6048
+ height: 32px;
6049
+ padding: 0;
6050
+ }
6051
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6052
+ width: 20px;
6053
+ height: 20px;
6054
+ }
6055
+
6056
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6057
+ width: 40px;
6058
+ height: 40px;
6059
+ padding: 0;
6060
+ }
6061
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6062
+ width: 24px;
6063
+ height: 24px;
6064
+ }
6065
+
6066
+ /* Icon */
6067
+ .muka-segmentgroup__icon {
6068
+ display: inline-flex;
6069
+ align-items: center;
6070
+ justify-content: center;
6071
+ }
6072
+
6073
+ /* Selected state */
6074
+ .muka-segmentgroup__segment--selected {
6075
+ background-color: transparent;
6076
+ box-shadow: none;
6077
+ color: var(--segmentgroup-segment-color-selected-foreground);
6078
+ z-index: 2; /* Highlight pill when focused is tested below */
6079
+ }
6080
+
6081
+ /* Hover state (only for unselected) */
6082
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6083
+ color: var(--segmentgroup-segment-color-hover-foreground);
6084
+ }
6085
+
6086
+ /* Focus visible */
6087
+ .muka-segmentgroup__segment:focus-visible {
6088
+ outline: 2px solid var(--color-border-focus);
6089
+ outline-offset: 2px;
6090
+ z-index: 2;
6091
+ }
6092
+
6093
+ /* Disabled state */
6094
+ .muka-segmentgroup__segment--disabled,
6095
+ .muka-segmentgroup__segment:disabled {
6096
+ cursor: not-allowed;
6097
+ opacity: 0.5;
6098
+ }
6099
+
6100
+ /* Label */
6101
+ .muka-segmentgroup__label {
6102
+ display: inline-flex;
6103
+ align-items: center;
6104
+ white-space: nowrap;
6105
+ user-select: none;
6256
6106
  }
6257
6107
 
6258
6108
 
@@ -7128,6 +6978,53 @@ body {
7128
6978
  }
7129
6979
 
7130
6980
 
6981
+ /* PullToRefresh */
6982
+ /* PullToRefresh Component Styles */
6983
+
6984
+ .muka-pull-to-refresh {
6985
+ position: relative;
6986
+ display: flex;
6987
+ flex-direction: column;
6988
+ width: 100%;
6989
+ height: 100%;
6990
+ overflow: hidden;
6991
+ }
6992
+
6993
+ .muka-pull-to-refresh__indicator {
6994
+ position: absolute;
6995
+ top: 0;
6996
+ left: 0;
6997
+ right: 0;
6998
+ display: flex;
6999
+ align-items: flex-end;
7000
+ justify-content: center;
7001
+ padding-bottom: var(--spacing-2);
7002
+ color: var(--color-text-subtle-default);
7003
+ overflow: hidden;
7004
+ pointer-events: none;
7005
+ z-index: 1;
7006
+ }
7007
+
7008
+ .muka-pull-to-refresh__chevron {
7009
+ display: inline-flex;
7010
+ align-items: center;
7011
+ justify-content: center;
7012
+ transition: transform 0.16s ease;
7013
+ }
7014
+
7015
+ .muka-pull-to-refresh__scroller {
7016
+ flex: 1 1 auto;
7017
+ min-height: 0;
7018
+ width: 100%;
7019
+ overflow-x: clip;
7020
+ overflow-y: auto;
7021
+ -webkit-overflow-scrolling: touch;
7022
+ overscroll-behavior-y: contain;
7023
+ touch-action: pan-y;
7024
+ will-change: transform;
7025
+ }
7026
+
7027
+
7131
7028
  /* ProgressTracker */
7132
7029
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
7133
7030
 
@@ -7950,53 +7847,6 @@ button.muka-progress-tracker__tab:focus-visible {
7950
7847
  }
7951
7848
 
7952
7849
 
7953
- /* PullToRefresh */
7954
- /* PullToRefresh Component Styles */
7955
-
7956
- .muka-pull-to-refresh {
7957
- position: relative;
7958
- display: flex;
7959
- flex-direction: column;
7960
- width: 100%;
7961
- height: 100%;
7962
- overflow: hidden;
7963
- }
7964
-
7965
- .muka-pull-to-refresh__indicator {
7966
- position: absolute;
7967
- top: 0;
7968
- left: 0;
7969
- right: 0;
7970
- display: flex;
7971
- align-items: flex-end;
7972
- justify-content: center;
7973
- padding-bottom: var(--spacing-2);
7974
- color: var(--color-text-subtle-default);
7975
- overflow: hidden;
7976
- pointer-events: none;
7977
- z-index: 1;
7978
- }
7979
-
7980
- .muka-pull-to-refresh__chevron {
7981
- display: inline-flex;
7982
- align-items: center;
7983
- justify-content: center;
7984
- transition: transform 0.16s ease;
7985
- }
7986
-
7987
- .muka-pull-to-refresh__scroller {
7988
- flex: 1 1 auto;
7989
- min-height: 0;
7990
- width: 100%;
7991
- overflow-x: clip;
7992
- overflow-y: auto;
7993
- -webkit-overflow-scrolling: touch;
7994
- overscroll-behavior-y: contain;
7995
- touch-action: pan-y;
7996
- will-change: transform;
7997
- }
7998
-
7999
-
8000
7850
  /* Progress */
8001
7851
  /* Progress Component Styles - Using Muka Design Tokens */
8002
7852
 
@@ -10058,11 +9908,12 @@ button.muka-progress-tracker__tab:focus-visible {
10058
9908
  margin: 0;
10059
9909
  padding: 0;
10060
9910
 
10061
- /* Typography - using semantic tokens */
10062
- font-family: var(--alias-font-plain-family);
10063
- font-weight: var(--alias-font-plain-weight-regular, 400);
10064
- font-size: var(--text-body-sm-fontSize);
10065
- line-height: var(--text-body-sm-lineHeight);
9911
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
9912
+ names exist only as fallbacks in base.css, not in any theme. */
9913
+ font-family: var(--text-body-sm-regular-fontFamily);
9914
+ font-weight: var(--text-body-sm-regular-fontWeight);
9915
+ font-size: var(--text-body-sm-regular-fontSize);
9916
+ line-height: var(--text-body-sm-regular-lineHeight);
10066
9917
  color: var(--color-text-subtle-default);
10067
9918
 
10068
9919
  /* Text handling */
@@ -11108,48 +10959,189 @@ li.muka-listitem {
11108
10959
  text-overflow: ellipsis;
11109
10960
  }
11110
10961
 
11111
- .muka-fileupload-item--error .muka-fileupload-item__name {
11112
- color: var(--fileupload-item-color-error-foreground);
10962
+ .muka-fileupload-item--error .muka-fileupload-item__name {
10963
+ color: var(--fileupload-item-color-error-foreground);
10964
+ }
10965
+
10966
+ .muka-fileupload-item__meta {
10967
+ font-family: var(--text-label-sm-regular-fontFamily);
10968
+ font-size: var(--text-label-sm-regular-fontSize);
10969
+ font-weight: var(--text-label-sm-regular-fontWeight);
10970
+ line-height: var(--text-label-sm-regular-lineHeight);
10971
+ color: var(--color-text-subtle-default);
10972
+ }
10973
+
10974
+ .muka-fileupload-item__error {
10975
+ color: var(--fileupload-item-color-error-foreground);
10976
+ }
10977
+
10978
+ .muka-fileupload-item__progress {
10979
+ margin-top: var(--spacing-1);
10980
+ }
10981
+
10982
+ /* Actions */
10983
+ .muka-fileupload-item__actions {
10984
+ display: flex;
10985
+ align-items: center;
10986
+ gap: var(--spacing-2);
10987
+ flex-shrink: 0;
10988
+ }
10989
+
10990
+ .muka-fileupload-item__status-icon--success {
10991
+ color: var(--fileupload-item-color-success-foreground);
10992
+ }
10993
+
10994
+ .muka-fileupload-item__status-icon--error {
10995
+ color: var(--fileupload-item-color-error-foreground);
10996
+ }
10997
+
10998
+ .muka-fileupload-item__remove {
10999
+ opacity: 0.7;
11000
+ }
11001
+
11002
+ .muka-fileupload-item__remove:hover {
11003
+ opacity: 1;
11004
+ }
11005
+
11006
+
11007
+ /* FAB */
11008
+ /* FAB (Floating Action Button) Component Styles */
11009
+
11010
+ .muka-fab {
11011
+ position: fixed;
11012
+ z-index: 40;
11013
+
11014
+ display: inline-flex;
11015
+ align-items: center;
11016
+ justify-content: center;
11017
+ gap: var(--spacing-2);
11018
+
11019
+ border: none;
11020
+ cursor: pointer;
11021
+ font-family: inherit;
11022
+ box-shadow: var(--shadow-level4);
11023
+
11024
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11025
+ -webkit-tap-highlight-color: transparent;
11026
+ }
11027
+
11028
+ .muka-fab:active {
11029
+ transform: scale(0.96);
11030
+ box-shadow: var(--shadow-level3);
11031
+ }
11032
+
11033
+ .muka-fab:focus-visible {
11034
+ outline: 2px solid var(--color-action-default);
11035
+ outline-offset: 2px;
11036
+ }
11037
+
11038
+ .muka-fab:disabled {
11039
+ opacity: 0.5;
11040
+ cursor: not-allowed;
11041
+ box-shadow: none;
11042
+ }
11043
+
11044
+ /* ─── Variants ────────────────────────────────────────── */
11045
+
11046
+ .muka-fab--primary {
11047
+ background-color: var(--color-action-default);
11048
+ color: var(--color-text-default-inverse);
11049
+ }
11050
+
11051
+ .muka-fab--primary:hover:not(:disabled) {
11052
+ background-color: var(--color-action-hover);
11053
+ }
11054
+
11055
+ .muka-fab--secondary {
11056
+ background-color: var(--color-surface-level3);
11057
+ color: var(--color-text-default-default);
11058
+ }
11059
+
11060
+ .muka-fab--secondary:hover:not(:disabled) {
11061
+ background-color: var(--color-surface-level2);
11062
+ }
11063
+
11064
+ /* ─── Sizes (circular by default) ─────────────────────── */
11065
+
11066
+ .muka-fab--md {
11067
+ width: 56px;
11068
+ height: 56px;
11069
+ border-radius: 50%;
11070
+ }
11071
+
11072
+ .muka-fab--lg {
11073
+ width: 64px;
11074
+ height: 64px;
11075
+ border-radius: 50%;
11076
+ }
11077
+
11078
+ /* ─── Extended (pill shape with label) ────────────────── */
11079
+
11080
+ .muka-fab--extended {
11081
+ width: auto;
11082
+ height: auto;
11083
+ padding: var(--spacing-3) var(--spacing-4);
11084
+ border-radius: var(--radius-full);
11085
+ }
11086
+
11087
+ .muka-fab--extended.muka-fab--lg {
11088
+ padding: var(--spacing-4) var(--spacing-5);
11089
+ }
11090
+
11091
+ .muka-fab__icon {
11092
+ display: inline-flex;
11093
+ align-items: center;
11094
+ justify-content: center;
11095
+ width: 24px;
11096
+ height: 24px;
11097
+ }
11098
+
11099
+ .muka-fab__icon svg {
11100
+ width: 100%;
11101
+ height: 100%;
11113
11102
  }
11114
11103
 
11115
- .muka-fileupload-item__meta {
11116
- font-family: var(--text-label-sm-regular-fontFamily);
11117
- font-size: var(--text-label-sm-regular-fontSize);
11118
- font-weight: var(--text-label-sm-regular-fontWeight);
11119
- line-height: var(--text-label-sm-regular-lineHeight);
11120
- color: var(--color-text-subtle-default);
11104
+ .muka-fab__label {
11105
+ font-family: var(--text-label-md-semibold-fontFamily);
11106
+ font-weight: var(--text-label-md-semibold-fontWeight);
11107
+ font-size: var(--text-label-md-semibold-fontSize);
11108
+ line-height: var(--text-label-md-semibold-lineHeight);
11121
11109
  }
11122
11110
 
11123
- .muka-fileupload-item__error {
11124
- color: var(--fileupload-item-color-error-foreground);
11111
+ /* ─── Positioning ─────────────────────────────────────── */
11112
+
11113
+ .muka-fab--bottom-right {
11114
+ right: var(--spacing-4);
11115
+ bottom: var(--spacing-4);
11125
11116
  }
11126
11117
 
11127
- .muka-fileupload-item__progress {
11128
- margin-top: var(--spacing-1);
11118
+ .muka-fab--bottom-left {
11119
+ left: var(--spacing-4);
11120
+ bottom: var(--spacing-4);
11129
11121
  }
11130
11122
 
11131
- /* Actions */
11132
- .muka-fileupload-item__actions {
11133
- display: flex;
11134
- align-items: center;
11135
- gap: var(--spacing-2);
11136
- flex-shrink: 0;
11123
+ .muka-fab--bottom-center {
11124
+ left: 50%;
11125
+ bottom: var(--spacing-4);
11126
+ transform: translateX(-50%);
11137
11127
  }
11138
11128
 
11139
- .muka-fileupload-item__status-icon--success {
11140
- color: var(--fileupload-item-color-success-foreground);
11129
+ .muka-fab--bottom-center:active {
11130
+ transform: translateX(-50%) scale(0.96);
11141
11131
  }
11142
11132
 
11143
- .muka-fileupload-item__status-icon--error {
11144
- color: var(--fileupload-item-color-error-foreground);
11133
+ /* Add the iOS home-indicator inset to the bottom offset. */
11134
+ .muka-fab:not(.muka-fab--no-safe-area) {
11135
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11145
11136
  }
11146
11137
 
11147
- .muka-fileupload-item__remove {
11148
- opacity: 0.7;
11138
+ /* Lateral safe-area for landscape iPhone with notch. */
11139
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11140
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11149
11141
  }
11150
11142
 
11151
- .muka-fileupload-item__remove:hover {
11152
- opacity: 1;
11143
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11144
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11153
11145
  }
11154
11146
 
11155
11147
 
@@ -11544,147 +11536,6 @@ li.muka-listitem {
11544
11536
  }
11545
11537
 
11546
11538
 
11547
- /* FAB */
11548
- /* FAB (Floating Action Button) Component Styles */
11549
-
11550
- .muka-fab {
11551
- position: fixed;
11552
- z-index: 40;
11553
-
11554
- display: inline-flex;
11555
- align-items: center;
11556
- justify-content: center;
11557
- gap: var(--spacing-2);
11558
-
11559
- border: none;
11560
- cursor: pointer;
11561
- font-family: inherit;
11562
- box-shadow: var(--shadow-level4);
11563
-
11564
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11565
- -webkit-tap-highlight-color: transparent;
11566
- }
11567
-
11568
- .muka-fab:active {
11569
- transform: scale(0.96);
11570
- box-shadow: var(--shadow-level3);
11571
- }
11572
-
11573
- .muka-fab:focus-visible {
11574
- outline: 2px solid var(--color-action-default);
11575
- outline-offset: 2px;
11576
- }
11577
-
11578
- .muka-fab:disabled {
11579
- opacity: 0.5;
11580
- cursor: not-allowed;
11581
- box-shadow: none;
11582
- }
11583
-
11584
- /* ─── Variants ────────────────────────────────────────── */
11585
-
11586
- .muka-fab--primary {
11587
- background-color: var(--color-action-default);
11588
- color: var(--color-text-default-inverse);
11589
- }
11590
-
11591
- .muka-fab--primary:hover:not(:disabled) {
11592
- background-color: var(--color-action-hover);
11593
- }
11594
-
11595
- .muka-fab--secondary {
11596
- background-color: var(--color-surface-level3);
11597
- color: var(--color-text-default-default);
11598
- }
11599
-
11600
- .muka-fab--secondary:hover:not(:disabled) {
11601
- background-color: var(--color-surface-level2);
11602
- }
11603
-
11604
- /* ─── Sizes (circular by default) ─────────────────────── */
11605
-
11606
- .muka-fab--md {
11607
- width: 56px;
11608
- height: 56px;
11609
- border-radius: 50%;
11610
- }
11611
-
11612
- .muka-fab--lg {
11613
- width: 64px;
11614
- height: 64px;
11615
- border-radius: 50%;
11616
- }
11617
-
11618
- /* ─── Extended (pill shape with label) ────────────────── */
11619
-
11620
- .muka-fab--extended {
11621
- width: auto;
11622
- height: auto;
11623
- padding: var(--spacing-3) var(--spacing-4);
11624
- border-radius: var(--radius-full);
11625
- }
11626
-
11627
- .muka-fab--extended.muka-fab--lg {
11628
- padding: var(--spacing-4) var(--spacing-5);
11629
- }
11630
-
11631
- .muka-fab__icon {
11632
- display: inline-flex;
11633
- align-items: center;
11634
- justify-content: center;
11635
- width: 24px;
11636
- height: 24px;
11637
- }
11638
-
11639
- .muka-fab__icon svg {
11640
- width: 100%;
11641
- height: 100%;
11642
- }
11643
-
11644
- .muka-fab__label {
11645
- font-family: var(--text-label-md-semibold-fontFamily);
11646
- font-weight: var(--text-label-md-semibold-fontWeight);
11647
- font-size: var(--text-label-md-semibold-fontSize);
11648
- line-height: var(--text-label-md-semibold-lineHeight);
11649
- }
11650
-
11651
- /* ─── Positioning ─────────────────────────────────────── */
11652
-
11653
- .muka-fab--bottom-right {
11654
- right: var(--spacing-4);
11655
- bottom: var(--spacing-4);
11656
- }
11657
-
11658
- .muka-fab--bottom-left {
11659
- left: var(--spacing-4);
11660
- bottom: var(--spacing-4);
11661
- }
11662
-
11663
- .muka-fab--bottom-center {
11664
- left: 50%;
11665
- bottom: var(--spacing-4);
11666
- transform: translateX(-50%);
11667
- }
11668
-
11669
- .muka-fab--bottom-center:active {
11670
- transform: translateX(-50%) scale(0.96);
11671
- }
11672
-
11673
- /* Add the iOS home-indicator inset to the bottom offset. */
11674
- .muka-fab:not(.muka-fab--no-safe-area) {
11675
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11676
- }
11677
-
11678
- /* Lateral safe-area for landscape iPhone with notch. */
11679
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11680
- right: max(var(--spacing-4), env(safe-area-inset-right));
11681
- }
11682
-
11683
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11684
- left: max(var(--spacing-4), env(safe-area-inset-left));
11685
- }
11686
-
11687
-
11688
11539
  /* Drawer */
11689
11540
  /* Drawer Component Styles */
11690
11541
 
@@ -14309,25 +14160,93 @@ button.muka-chat-photo-grid__tile:focus-visible {
14309
14160
  grid-column: span 3;
14310
14161
  }
14311
14162
 
14312
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14313
- grid-column: span 2;
14163
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14164
+ grid-column: span 2;
14165
+ }
14166
+
14167
+ .muka-chat-photo-grid--6,
14168
+ .muka-chat-photo-grid--overflow {
14169
+ grid-template-columns: repeat(3, 1fr);
14170
+ }
14171
+
14172
+ /* ─── Print ────────────────────────────────────────────── */
14173
+
14174
+ @media print {
14175
+ .muka-chat-photo-grid {
14176
+ break-inside: avoid;
14177
+ }
14178
+
14179
+ .muka-chat-photo-grid__image {
14180
+ print-color-adjust: exact;
14181
+ -webkit-print-color-adjust: exact;
14182
+ }
14183
+ }
14184
+
14185
+
14186
+ /* ChatMessageStack */
14187
+ /* ChatMessageStack Component Styles */
14188
+
14189
+ .muka-chat-message-stack {
14190
+ display: flex;
14191
+ flex-direction: column;
14192
+ gap: var(--chatbubble-stack-gap);
14193
+ width: 100%;
14194
+ max-width: 100%;
14195
+ }
14196
+
14197
+ .muka-chat-message-stack__messages {
14198
+ display: flex;
14199
+ flex-direction: column;
14200
+ gap: var(--chatbubble-stack-gap);
14201
+ width: 100%;
14202
+ }
14203
+
14204
+ /*
14205
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14206
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14207
+ */
14208
+ .muka-chat-message-stack__reasoning {
14209
+ min-width: 0;
14210
+ }
14211
+
14212
+ /* In-thread widgets after the messages share the reasoning's indent. */
14213
+ .muka-chat-message-stack__widgets {
14214
+ display: flex;
14215
+ flex-direction: column;
14216
+ gap: var(--chatbubble-stack-gap);
14217
+ min-width: 0;
14218
+ }
14219
+
14220
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14221
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14222
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14314
14223
  }
14315
14224
 
14316
- .muka-chat-photo-grid--6,
14317
- .muka-chat-photo-grid--overflow {
14318
- grid-template-columns: repeat(3, 1fr);
14225
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14226
+ .muka-chat-message-stack__widgets,
14227
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14228
+ .muka-chat-message-stack__reasoning {
14229
+ padding-left: 0;
14230
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14319
14231
  }
14320
14232
 
14321
- /* ─── Print ────────────────────────────────────────────── */
14322
-
14323
- @media print {
14324
- .muka-chat-photo-grid {
14325
- break-inside: avoid;
14233
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14234
+ @media (max-width: 1023px) {
14235
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14236
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14237
+ padding-left: calc(
14238
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14239
+ );
14326
14240
  }
14327
14241
 
14328
- .muka-chat-photo-grid__image {
14329
- print-color-adjust: exact;
14330
- -webkit-print-color-adjust: exact;
14242
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14243
+ .muka-chat-message-stack__widgets,
14244
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14245
+ .muka-chat-message-stack__reasoning {
14246
+ padding-left: 0;
14247
+ padding-right: calc(
14248
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14249
+ );
14331
14250
  }
14332
14251
  }
14333
14252
 
@@ -14706,74 +14625,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14706
14625
  }
14707
14626
 
14708
14627
 
14709
- /* ChatMessageStack */
14710
- /* ChatMessageStack Component Styles */
14711
-
14712
- .muka-chat-message-stack {
14713
- display: flex;
14714
- flex-direction: column;
14715
- gap: var(--chatbubble-stack-gap);
14716
- width: 100%;
14717
- max-width: 100%;
14718
- }
14719
-
14720
- .muka-chat-message-stack__messages {
14721
- display: flex;
14722
- flex-direction: column;
14723
- gap: var(--chatbubble-stack-gap);
14724
- width: 100%;
14725
- }
14726
-
14727
- /*
14728
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14729
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14730
- */
14731
- .muka-chat-message-stack__reasoning {
14732
- min-width: 0;
14733
- }
14734
-
14735
- /* In-thread widgets after the messages share the reasoning's indent. */
14736
- .muka-chat-message-stack__widgets {
14737
- display: flex;
14738
- flex-direction: column;
14739
- gap: var(--chatbubble-stack-gap);
14740
- min-width: 0;
14741
- }
14742
-
14743
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14744
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14745
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14746
- }
14747
-
14748
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14749
- .muka-chat-message-stack__widgets,
14750
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14751
- .muka-chat-message-stack__reasoning {
14752
- padding-left: 0;
14753
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14754
- }
14755
-
14756
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14757
- @media (max-width: 1023px) {
14758
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14759
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14760
- padding-left: calc(
14761
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14762
- );
14763
- }
14764
-
14765
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14766
- .muka-chat-message-stack__widgets,
14767
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14768
- .muka-chat-message-stack__reasoning {
14769
- padding-left: 0;
14770
- padding-right: calc(
14771
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14772
- );
14773
- }
14774
- }
14775
-
14776
-
14777
14628
  /* ChatComposer */
14778
14629
  /* ChatComposer Component Styles */
14779
14630
 
@@ -17753,3 +17604,153 @@ button.muka-chat-photo-grid__tile:focus-visible {
17753
17604
  border-bottom: none;
17754
17605
  }
17755
17606
 
17607
+
17608
+ /* SocialSignInButton */
17609
+ /*
17610
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17611
+ * Google Identity branding) and intentionally fixed across Muka brands —
17612
+ * same exception pattern as LicensePlateInput regulatory colors.
17613
+ *
17614
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17615
+ * Google: https://developers.google.com/identity/branding-guidelines
17616
+ */
17617
+ .muka-social-sign-in-button {
17618
+ --ssi-white: #ffffff;
17619
+ --ssi-black: #000000;
17620
+ --ssi-google-text-light: #1f1f1f;
17621
+
17622
+ display: inline-flex;
17623
+ align-items: center;
17624
+ justify-content: center;
17625
+
17626
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17627
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17628
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17629
+ font-family: inherit;
17630
+ font-weight: 600;
17631
+ text-decoration: none;
17632
+ white-space: nowrap;
17633
+
17634
+ border: 1px solid transparent;
17635
+ cursor: pointer;
17636
+ user-select: none;
17637
+ transition: opacity 0.15s ease, filter 0.15s ease;
17638
+
17639
+ outline: none;
17640
+ position: relative;
17641
+ box-sizing: border-box;
17642
+ }
17643
+
17644
+ .muka-social-sign-in-button--apple {
17645
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17646
+ Helvetica, Arial, sans-serif;
17647
+ font-weight: 600;
17648
+ }
17649
+
17650
+ .muka-social-sign-in-button--google {
17651
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17652
+ font-weight: 500;
17653
+ }
17654
+
17655
+ .muka-social-sign-in-button:focus-visible {
17656
+ outline: 2px solid var(--color-border-focus);
17657
+ outline-offset: 2px;
17658
+ }
17659
+
17660
+ /* Sizes — heights align with Button md/lg */
17661
+ .muka-social-sign-in-button--md {
17662
+ padding: 0 var(--button-padding-md-x);
17663
+ border-radius: var(--button-radius-md);
17664
+ font-size: var(--text-label-sm-semibold-fontSize);
17665
+ line-height: var(--text-label-sm-semibold-lineHeight);
17666
+ min-height: 40px;
17667
+ min-width: 240px;
17668
+ }
17669
+
17670
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17671
+ padding: 0 var(--button-gap-md);
17672
+ }
17673
+
17674
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17675
+ width: var(--button-icon-md);
17676
+ height: var(--button-icon-md);
17677
+ }
17678
+
17679
+ .muka-social-sign-in-button--lg {
17680
+ padding: 0 var(--button-padding-lg-x);
17681
+ border-radius: var(--button-radius-lg);
17682
+ font-size: var(--text-label-lg-semibold-fontSize);
17683
+ line-height: var(--text-label-lg-semibold-lineHeight);
17684
+ min-height: 48px;
17685
+ min-width: 280px;
17686
+ }
17687
+
17688
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17689
+ padding: 0 var(--button-gap-lg);
17690
+ }
17691
+
17692
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17693
+ width: var(--button-icon-lg);
17694
+ height: var(--button-icon-lg);
17695
+ }
17696
+
17697
+ /* White lockup — for dark surfaces (Apple White with Outline) */
17698
+ .muka-social-sign-in-button--white {
17699
+ background-color: var(--ssi-white);
17700
+ color: var(--ssi-black);
17701
+ border-color: var(--ssi-black);
17702
+ }
17703
+
17704
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17705
+ color: var(--ssi-google-text-light);
17706
+ }
17707
+
17708
+ /* Black lockup — for light surfaces */
17709
+ .muka-social-sign-in-button--black {
17710
+ background-color: var(--ssi-black);
17711
+ color: var(--ssi-white);
17712
+ border-color: transparent;
17713
+ }
17714
+
17715
+ /* Interaction — luminance/opacity only; no brand tint */
17716
+ .muka-social-sign-in-button:hover:not(:disabled) {
17717
+ filter: brightness(0.92);
17718
+ }
17719
+
17720
+ .muka-social-sign-in-button:active:not(:disabled) {
17721
+ filter: brightness(0.85);
17722
+ }
17723
+
17724
+ .muka-social-sign-in-button:disabled,
17725
+ .muka-social-sign-in-button--disabled {
17726
+ cursor: not-allowed;
17727
+ opacity: 0.4;
17728
+ pointer-events: none;
17729
+ filter: none;
17730
+ }
17731
+
17732
+ .muka-social-sign-in-button--full-width {
17733
+ width: 100%;
17734
+ min-width: 0;
17735
+ }
17736
+
17737
+ .muka-social-sign-in-button__icon {
17738
+ display: inline-flex;
17739
+ align-items: center;
17740
+ justify-content: center;
17741
+ flex-shrink: 0;
17742
+ }
17743
+
17744
+ .muka-social-sign-in-button__icon > *,
17745
+ .muka-social-sign-in-button__icon svg {
17746
+ width: auto;
17747
+ height: 100%;
17748
+ max-width: 100%;
17749
+ display: block;
17750
+ }
17751
+
17752
+ .muka-social-sign-in-button__label {
17753
+ display: inline-flex;
17754
+ align-items: center;
17755
+ }
17756
+