@revikornmann/muka-ui 0.53.1 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/cjs/components/DocumentViewer/DocumentViewer.css +5 -5
  2. package/dist/cjs/components/ListItem/ListItem.css +4 -4
  3. package/dist/cjs/components/RecordingBar/RecordingBar.css +2 -2
  4. package/dist/cjs/components/SegmentGroup/SegmentGroup.css +6 -6
  5. package/dist/cjs/components/VoiceMessage/VoiceMessage.css +2 -2
  6. package/dist/esm/components/DocumentViewer/DocumentViewer.css +5 -5
  7. package/dist/esm/components/ListItem/ListItem.css +4 -4
  8. package/dist/esm/components/RecordingBar/RecordingBar.css +2 -2
  9. package/dist/esm/components/SegmentGroup/SegmentGroup.css +6 -6
  10. package/dist/esm/components/VoiceMessage/VoiceMessage.css +2 -2
  11. package/dist/styles/components/DocumentViewer.css +5 -5
  12. package/dist/styles/components/ListItem.css +4 -4
  13. package/dist/styles/components/RecordingBar.css +2 -2
  14. package/dist/styles/components/SegmentGroup.css +6 -6
  15. package/dist/styles/components/VoiceMessage.css +2 -2
  16. package/dist/styles/index.css +1037 -1031
  17. package/dist/styles/muka-dark.css +1037 -1031
  18. package/dist/styles/muka-light.css +1037 -1031
  19. package/dist/styles/tokens-bouwplan-dark.css +6 -0
  20. package/dist/styles/tokens-bouwplan-light.css +6 -0
  21. package/dist/styles/tokens-fscl-dark.css +6 -0
  22. package/dist/styles/tokens-fscl-light.css +6 -0
  23. package/dist/styles/tokens-grip-dark.css +6 -0
  24. package/dist/styles/tokens-grip-light.css +6 -0
  25. package/dist/styles/tokens-muka-dark.css +6 -0
  26. package/dist/styles/tokens-muka-light.css +6 -0
  27. package/dist/styles/tokens-wireframe-dark.css +6 -0
  28. package/dist/styles/tokens-wireframe-light.css +6 -0
  29. package/dist/styles/wireframe-dark.css +1037 -1031
  30. package/dist/styles/wireframe-light.css +1037 -1031
  31. package/package.json +1 -1
  32. package/tokens/t1-primitives/typography.json +15 -0
  33. package/tokens/t3-semantics/ui.json +15 -0
@@ -219,6 +219,9 @@ body {
219
219
  --font-lineHeight-4xl: 2.5rem;
220
220
  --font-lineHeight-5xl: 3rem;
221
221
  --font-lineHeight-6xl: 4rem;
222
+ --font-leading-sm: 1.25rem;
223
+ --font-leading-md: 1.5rem;
224
+ --font-leading-lg: 1.75rem;
222
225
  --font-letterSpacing-tighter: -0.05em;
223
226
  --font-letterSpacing-tight: -0.025em;
224
227
  --font-letterSpacing-normal: 0;
@@ -1485,6 +1488,7 @@ body {
1485
1488
  --text-label-sm-bold-fontWeight: 700;
1486
1489
  --text-label-sm-bold-fontSize: 0.875rem;
1487
1490
  --text-label-sm-bold-lineHeight: 0.875rem;
1491
+ --text-label-sm-leading: 1.25rem;
1488
1492
  --text-label-md-regular-fontFamily: Funnel Sans;
1489
1493
  --text-label-md-regular-fontWeight: 400;
1490
1494
  --text-label-md-regular-fontSize: 1rem;
@@ -1497,6 +1501,7 @@ body {
1497
1501
  --text-label-md-bold-fontWeight: 700;
1498
1502
  --text-label-md-bold-fontSize: 1rem;
1499
1503
  --text-label-md-bold-lineHeight: 1rem;
1504
+ --text-label-md-leading: 1.5rem;
1500
1505
  --text-label-lg-regular-fontFamily: Funnel Sans;
1501
1506
  --text-label-lg-regular-fontWeight: 400;
1502
1507
  --text-label-lg-regular-fontSize: 1.125rem;
@@ -1509,6 +1514,7 @@ body {
1509
1514
  --text-label-lg-bold-fontWeight: 700;
1510
1515
  --text-label-lg-bold-fontSize: 1.125rem;
1511
1516
  --text-label-lg-bold-lineHeight: 1.125rem;
1517
+ --text-label-lg-leading: 1.75rem;
1512
1518
  --text-label-xl-regular-fontFamily: Funnel Sans;
1513
1519
  --text-label-xl-regular-fontWeight: 400;
1514
1520
  --text-label-xl-regular-fontSize: 1.25rem;
@@ -2587,8 +2593,8 @@ body {
2587
2593
  .muka-voice-message__time {
2588
2594
  flex: 0 0 auto;
2589
2595
  white-space: nowrap;
2590
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2591
- line-height: var(--text-label-sm-lineHeight, 1);
2596
+ font-size: var(--text-label-sm-regular-fontSize);
2597
+ line-height: var(--text-label-sm-leading);
2592
2598
  font-variant-numeric: tabular-nums;
2593
2599
  color: var(--color-text-subtle-default);
2594
2600
  }
@@ -3677,985 +3683,985 @@ body {
3677
3683
  }
3678
3684
 
3679
3685
 
3680
- /* Thumbnail */
3681
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3686
+ /* Tile */
3687
+ /* Tile Component Styles - Using Muka Design Tokens */
3682
3688
 
3683
- .muka-thumbnail {
3684
- position: relative;
3685
- flex-shrink: 0;
3686
- }
3689
+ /* ─── Base ────────────────────────────────────────────── */
3687
3690
 
3688
- /* The frame carries the border, background and shape clip. Keeping it separate
3689
- from the root lets the remove (×) button sit outside the clip (needed for the
3690
- circular/ellipse shape, whose corners would otherwise clip the button). */
3691
- .muka-thumbnail__frame {
3692
- position: absolute;
3693
- inset: 0;
3694
- overflow: hidden;
3695
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3696
- border-radius: var(--border-radius-lg);
3697
- background-color: var(--color-surface-level1);
3691
+ .muka-tile {
3692
+ display: flex;
3693
+ color: var(--color-text-default-default);
3698
3694
  }
3699
3695
 
3700
- /* ─── Shapes ──────────────────────────────────────────── */
3701
- .muka-thumbnail--4-3 {
3702
- width: 160px;
3703
- height: 120px;
3696
+ .muka-tile--interactive {
3697
+ cursor: pointer;
3698
+ user-select: none;
3704
3699
  }
3705
3700
 
3706
- .muka-thumbnail--1-1 {
3707
- width: 120px;
3708
- height: 120px;
3701
+ .muka-tile--interactive:focus-visible {
3702
+ outline: 2px solid var(--color-border-focus);
3703
+ outline-offset: 2px;
3704
+ border-radius: var(--border-radius-lg);
3709
3705
  }
3710
3706
 
3711
- .muka-thumbnail--ellipse {
3712
- width: 120px;
3713
- height: 120px;
3714
- }
3707
+ /* ─── Image position variants ─────────────────────────── */
3715
3708
 
3716
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3717
- .muka-thumbnail--fluid {
3718
- width: 100%;
3719
- height: auto;
3720
- aspect-ratio: 1 / 1;
3709
+ .muka-tile--image-top {
3710
+ flex-direction: column;
3721
3711
  }
3722
3712
 
3723
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3724
- aspect-ratio: 4 / 3;
3713
+ .muka-tile--image-left {
3714
+ flex-direction: row;
3725
3715
  }
3726
3716
 
3727
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3728
- border-radius: var(--border-radius-full);
3717
+ .muka-tile--image-right {
3718
+ flex-direction: row;
3729
3719
  }
3730
3720
 
3731
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3732
- interactive hover zoom has a clean origin. */
3733
- .muka-thumbnail__image {
3734
- position: absolute;
3735
- inset: 0;
3736
- width: 100%;
3737
- height: 100%;
3738
- object-fit: cover;
3739
- display: block;
3740
- transform-origin: center;
3741
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3742
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3743
- }
3721
+ /* ─── Gap by size (top) ───────────────────────────────── */
3744
3722
 
3745
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3746
- .muka-thumbnail__trigger {
3747
- position: absolute;
3748
- inset: 0;
3749
- padding: 0;
3750
- border: 0;
3751
- background: none;
3752
- cursor: pointer;
3753
- overflow: hidden;
3723
+ .muka-tile--image-top.muka-tile--lg {
3724
+ gap: var(--spacing-6);
3754
3725
  }
3755
3726
 
3756
- .muka-thumbnail__trigger:focus-visible {
3757
- outline: 2px solid var(--color-border-focus);
3758
- outline-offset: -2px;
3727
+ .muka-tile--image-top.muka-tile--md {
3728
+ gap: var(--spacing-6);
3729
+ width: 320px;
3759
3730
  }
3760
3731
 
3761
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3762
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3763
- transform: scale(1.05);
3732
+ .muka-tile--image-top.muka-tile--sm {
3733
+ gap: var(--spacing-4);
3734
+ min-width: 120px;
3764
3735
  }
3765
3736
 
3766
- /* ─── Loading overlay + progress donut ────────────────── */
3767
- .muka-thumbnail__overlay {
3768
- position: absolute;
3769
- inset: 0;
3770
- display: flex;
3737
+ /* ─── Gap by size (left/right) ────────────────────────── */
3738
+
3739
+ .muka-tile--image-left.muka-tile--lg,
3740
+ .muka-tile--image-right.muka-tile--lg {
3741
+ gap: var(--spacing-6);
3771
3742
  align-items: center;
3772
- justify-content: center;
3773
- background-color: var(--dialog-color-backdrop);
3774
3743
  }
3775
3744
 
3776
- .muka-thumbnail__progress {
3777
- width: 40px;
3778
- height: 40px;
3745
+ .muka-tile--image-left.muka-tile--md,
3746
+ .muka-tile--image-right.muka-tile--md {
3747
+ gap: var(--spacing-6);
3748
+ align-items: center;
3779
3749
  }
3780
3750
 
3781
- /* ─── Error / corrupt state ───────────────────────────── */
3782
- .muka-thumbnail--error .muka-thumbnail__frame {
3783
- background-color: var(--alias-color-state-error-muted);
3784
- border-color: var(--alias-color-state-error-default);
3751
+ .muka-tile--image-left.muka-tile--sm,
3752
+ .muka-tile--image-right.muka-tile--sm {
3753
+ gap: var(--spacing-4);
3754
+ align-items: flex-start;
3785
3755
  }
3786
3756
 
3787
- .muka-thumbnail__error {
3788
- position: absolute;
3789
- inset: 0;
3757
+ /* ─── Photos container ────────────────────────────────── */
3758
+
3759
+ .muka-tile__photos {
3760
+ position: relative;
3761
+ flex-shrink: 0;
3762
+ overflow: hidden;
3790
3763
  display: flex;
3791
3764
  flex-direction: column;
3792
- align-items: center;
3793
- justify-content: center;
3794
- gap: var(--spacing-2);
3795
- padding: var(--spacing-3);
3796
- text-align: center;
3765
+ isolation: isolate;
3797
3766
  }
3798
3767
 
3799
- .muka-thumbnail__error-icon {
3800
- color: var(--alert-color-error-accent);
3768
+ /* Photos border radius by size */
3769
+ .muka-tile--lg .muka-tile__photos,
3770
+ .muka-tile--md .muka-tile__photos {
3771
+ border-radius: var(--border-radius-lg);
3801
3772
  }
3802
3773
 
3803
- .muka-thumbnail__caption {
3804
- max-width: 100%;
3805
- overflow: hidden;
3806
- text-overflow: ellipsis;
3807
- white-space: nowrap;
3808
- color: var(--alert-color-error-accent);
3809
- font-family: var(--text-body-sm-regular-fontFamily);
3810
- font-size: var(--text-body-sm-regular-fontSize);
3811
- font-weight: var(--text-body-sm-regular-fontWeight);
3812
- line-height: var(--text-body-sm-regular-lineHeight);
3774
+ .muka-tile--sm .muka-tile__photos {
3775
+ border-radius: var(--border-radius-md);
3813
3776
  }
3814
3777
 
3815
- /* ─── Remove (×) button ───────────────────────────────── */
3816
- .muka-thumbnail__remove {
3817
- position: absolute;
3818
- top: var(--spacing-2);
3819
- right: var(--spacing-2);
3820
- display: flex;
3821
- align-items: center;
3822
- justify-content: center;
3823
- width: var(--size-2xl);
3824
- height: var(--size-2xl);
3825
- padding: 0;
3826
- color: var(--button-color-tertiary-foreground-default);
3827
- background-color: var(--button-color-tertiary-background-default);
3828
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3829
- border-radius: var(--border-radius-lg);
3830
- cursor: pointer;
3831
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3832
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3778
+ /* Photos sizing: top layout */
3779
+ .muka-tile--image-top .muka-tile__photos {
3780
+ width: 100%;
3833
3781
  }
3834
3782
 
3835
- .muka-thumbnail__remove:hover {
3836
- color: var(--button-color-tertiary-foreground-hover);
3837
- background-color: var(--button-color-tertiary-background-hover);
3838
- border-color: var(--button-color-tertiary-border-hover);
3783
+ /* Photos sizing: left/right large */
3784
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3785
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3786
+ width: 520px;
3839
3787
  }
3840
3788
 
3841
- .muka-thumbnail__remove:active {
3842
- color: var(--button-color-tertiary-foreground-pressed);
3843
- background-color: var(--button-color-tertiary-background-pressed);
3844
- border-color: var(--button-color-tertiary-border-pressed);
3789
+ /* Photos sizing: left/right medium */
3790
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3791
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3792
+ width: 320px;
3845
3793
  }
3846
3794
 
3847
- .muka-thumbnail__remove:focus-visible {
3848
- outline: 2px solid var(--color-border-focus);
3849
- outline-offset: 2px;
3795
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3796
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3797
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3798
+ width: 80px;
3799
+ align-self: stretch;
3850
3800
  }
3851
3801
 
3852
- /* ─── Reduced motion ──────────────────────────────────── */
3853
- @media (prefers-reduced-motion: reduce) {
3854
- .muka-thumbnail__image,
3855
- .muka-thumbnail__remove {
3856
- transition: none;
3857
- }
3802
+ /* ─── Main photo ──────────────────────────────────────── */
3858
3803
 
3859
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3860
- transform: none;
3861
- }
3804
+ .muka-tile__photo-main {
3805
+ position: relative;
3806
+ width: 100%;
3807
+ overflow: hidden;
3808
+ flex-shrink: 0;
3862
3809
  }
3863
3810
 
3864
-
3865
- /* Textarea */
3866
- /* Textarea Component Styles - Using Muka Design Tokens */
3867
-
3868
- .muka-textarea {
3869
- display: inline-flex;
3870
- flex-direction: column;
3871
- gap: var(--spacing-2);
3811
+ /* 16:9 aspect for lg and md */
3812
+ .muka-tile--lg .muka-tile__photo-main,
3813
+ .muka-tile--md .muka-tile__photo-main {
3814
+ aspect-ratio: 1280 / 720;
3872
3815
  }
3873
3816
 
3874
- /* Label */
3875
- .muka-textarea__label {
3876
- color: var(--color-text-default-default);
3877
- cursor: pointer;
3817
+ /* 1:1 aspect for top + sm */
3818
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3819
+ aspect-ratio: 1 / 1;
3878
3820
  }
3879
3821
 
3880
- .muka-textarea__label--sm {
3881
- font-family: var(--text-label-sm-semibold-fontFamily);
3882
- font-weight: var(--text-label-sm-semibold-fontWeight);
3883
- font-size: var(--text-label-sm-semibold-fontSize);
3884
- line-height: var(--text-label-sm-semibold-lineHeight);
3822
+ /* Fixed size for left/right + sm */
3823
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3824
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3825
+ width: 80px;
3826
+ height: 80px;
3827
+ aspect-ratio: auto;
3885
3828
  }
3886
3829
 
3887
- .muka-textarea__label--md {
3888
- font-family: var(--text-label-md-semibold-fontFamily);
3889
- font-weight: var(--text-label-md-semibold-fontWeight);
3890
- font-size: var(--text-label-md-semibold-fontSize);
3891
- line-height: var(--text-label-md-semibold-lineHeight);
3830
+ .muka-tile__photo-main img {
3831
+ width: 100%;
3832
+ height: 100%;
3833
+ object-fit: cover;
3834
+ display: block;
3892
3835
  }
3893
3836
 
3894
- .muka-textarea__label--lg {
3895
- font-family: var(--text-label-lg-semibold-fontFamily);
3896
- font-weight: var(--text-label-lg-semibold-fontWeight);
3897
- font-size: var(--text-label-lg-semibold-fontSize);
3898
- line-height: var(--text-label-lg-semibold-lineHeight);
3837
+ /* ─── Favourite overlay ───────────────────────────────── */
3838
+
3839
+ .muka-tile__favourite {
3840
+ position: absolute;
3841
+ z-index: 3;
3899
3842
  }
3900
3843
 
3901
- .muka-textarea__required {
3902
- color: var(--color-state-error-default);
3844
+ .muka-tile--lg .muka-tile__favourite,
3845
+ .muka-tile--md .muka-tile__favourite {
3846
+ top: var(--spacing-4);
3847
+ right: var(--spacing-4);
3903
3848
  }
3904
3849
 
3905
- /* Field container */
3906
- .muka-textarea__field {
3850
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3851
+ top: var(--spacing-1);
3852
+ right: var(--spacing-1);
3853
+ }
3854
+
3855
+ /* ─── Thumbnails ──────────────────────────────────────── */
3856
+
3857
+ .muka-tile__thumbnails {
3907
3858
  display: flex;
3908
- background-color: var(--input-field-color-default-background);
3909
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3910
- border-radius: var(--input-field-radius-md);
3911
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3912
- transition: border-color 0.2s ease, background-color 0.2s ease;
3913
- box-sizing: border-box;
3859
+ gap: 2px;
3860
+ overflow: hidden;
3861
+ flex-shrink: 0;
3862
+ height: 80px;
3914
3863
  }
3915
3864
 
3916
- .muka-textarea__field--sm {
3917
- min-height: var(--input-textarea-height-sm);
3918
- border-radius: var(--input-field-radius-sm);
3865
+ .muka-tile__thumbnail {
3866
+ width: 80px;
3867
+ height: 80px;
3868
+ flex-shrink: 0;
3869
+ overflow: hidden;
3919
3870
  }
3920
3871
 
3921
- .muka-textarea__field--md {
3922
- min-height: var(--input-textarea-height-default);
3923
- border-radius: var(--input-field-radius-md);
3872
+ .muka-tile__thumbnail img {
3873
+ width: 100%;
3874
+ height: 100%;
3875
+ object-fit: cover;
3876
+ display: block;
3924
3877
  }
3925
3878
 
3926
- .muka-textarea__field--lg {
3927
- min-height: var(--input-textarea-height-lg);
3928
- border-radius: var(--input-field-radius-lg);
3879
+ /* Gap between main photo and thumbnails */
3880
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3881
+ margin-top: 2px;
3929
3882
  }
3930
3883
 
3931
- /* Focus state */
3932
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3933
- border-width: var(--border-width-bold);
3934
- border-color: var(--input-field-color-focus-border);
3935
- background-color: var(--input-field-color-focus-background);
3936
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3884
+ /* ─── Content section ─────────────────────────────────── */
3885
+
3886
+ .muka-tile__content {
3887
+ display: flex;
3888
+ flex-direction: column;
3889
+ flex: 1;
3890
+ min-width: 0;
3937
3891
  }
3938
3892
 
3939
- /* Error state */
3940
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3941
- border-width: var(--border-width-bold);
3942
- border-color: var(--input-field-color-error-border);
3943
- background-color: var(--input-field-color-error-background);
3944
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3893
+ /* Top layout: content has horizontal padding */
3894
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3895
+ padding: 0 var(--spacing-3);
3896
+ gap: var(--spacing-1);
3945
3897
  }
3946
3898
 
3947
- /* Disabled state */
3948
- .muka-textarea__field--disabled {
3949
- background-color: var(--input-field-color-disabled-background);
3950
- border-color: var(--input-field-color-disabled-border);
3951
- cursor: not-allowed;
3899
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3900
+ padding: 0 var(--spacing-3);
3901
+ gap: var(--spacing-2);
3952
3902
  }
3953
3903
 
3954
- /* Native textarea */
3955
- .muka-textarea__native {
3956
- flex: 1;
3957
- border: none;
3958
- outline: none;
3959
- background: transparent;
3960
- color: var(--input-field-color-default-foreground);
3961
- font-family: var(--text-input-md-fontFamily);
3962
- font-weight: var(--text-input-md-fontWeight);
3963
- font-size: var(--text-input-md-fontSize);
3964
- line-height: var(--text-input-md-lineHeight);
3965
- padding: 0;
3966
- width: 100%;
3967
- min-width: 0;
3904
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3905
+ gap: var(--spacing-2);
3968
3906
  }
3969
3907
 
3970
- .muka-textarea__field--sm .muka-textarea__native {
3971
- font-family: var(--text-input-sm-fontFamily);
3972
- font-weight: var(--text-input-sm-fontWeight);
3973
- font-size: var(--text-input-sm-fontSize);
3974
- line-height: var(--text-input-sm-lineHeight);
3908
+ /* Left/right layout: content grows to fill space */
3909
+ .muka-tile--image-left .muka-tile__content,
3910
+ .muka-tile--image-right .muka-tile__content {
3911
+ gap: var(--spacing-3);
3975
3912
  }
3976
3913
 
3977
- .muka-textarea__field--lg .muka-textarea__native {
3978
- font-family: var(--text-input-lg-fontFamily);
3979
- font-weight: var(--text-input-lg-fontWeight);
3980
- font-size: var(--text-input-lg-fontSize);
3981
- line-height: var(--text-input-lg-lineHeight);
3914
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3915
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3916
+ padding: 0 var(--spacing-3);
3982
3917
  }
3983
3918
 
3984
- .muka-textarea__native::placeholder {
3985
- color: var(--color-text-subtle-default);
3919
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3920
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3921
+ padding: var(--spacing-2) var(--spacing-3);
3986
3922
  }
3987
3923
 
3988
- .muka-textarea__field--disabled .muka-textarea__native {
3989
- color: var(--input-field-color-disabled-foreground);
3990
- cursor: not-allowed;
3924
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3925
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3926
+ gap: var(--spacing-2);
3991
3927
  }
3992
3928
 
3993
- /* Footer (helper/error + count) */
3994
- .muka-textarea__footer {
3929
+ /* ─── Header (heading row + price) ────────────────────── */
3930
+
3931
+ .muka-tile__header {
3995
3932
  display: flex;
3996
- justify-content: space-between;
3997
3933
  align-items: flex-start;
3934
+ gap: var(--spacing-4);
3935
+ }
3936
+
3937
+ /* Small horizontal: row with text and action */
3938
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3998
3939
  gap: var(--spacing-2);
3940
+ align-items: center;
3941
+ padding-top: var(--spacing-1);
3999
3942
  }
4000
3943
 
4001
- .muka-textarea__helper {
4002
- font-family: var(--text-label-sm-regular-fontFamily);
4003
- font-weight: var(--text-label-sm-regular-fontWeight);
4004
- font-size: var(--text-label-sm-regular-fontSize);
4005
- line-height: var(--text-label-sm-regular-lineHeight);
4006
- color: var(--color-text-subtle-default);
4007
- margin: 0;
3944
+ /* ─── Text group ──────────────────────────────────────── */
3945
+
3946
+ .muka-tile__text {
3947
+ display: flex;
3948
+ flex-direction: column;
3949
+ flex: 1;
3950
+ min-width: 0;
3951
+ gap: var(--spacing-2);
4008
3952
  }
4009
3953
 
4010
- .muka-textarea__error {
4011
- font-family: var(--text-label-sm-regular-fontFamily);
4012
- font-weight: var(--text-label-sm-regular-fontWeight);
4013
- font-size: var(--text-label-sm-regular-fontSize);
4014
- line-height: var(--text-label-sm-regular-lineHeight);
4015
- color: var(--color-state-error-default);
3954
+ /* ─── Heading typography ──────────────────────────────── */
3955
+
3956
+ .muka-tile__heading {
4016
3957
  margin: 0;
4017
3958
  }
4018
3959
 
4019
- .muka-textarea__count {
4020
- font-family: var(--text-label-sm-regular-fontFamily);
4021
- font-weight: var(--text-label-sm-regular-fontWeight);
4022
- font-size: var(--text-label-sm-regular-fontSize);
4023
- line-height: var(--text-label-sm-regular-lineHeight);
4024
- color: var(--color-text-subtle-default);
4025
- margin-left: auto;
3960
+ .muka-tile--lg .muka-tile__heading {
3961
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3962
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3963
+ font-size: var(--text-label-2xl-semibold-fontSize);
3964
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3965
+ color: var(--color-text-default-default);
4026
3966
  }
4027
3967
 
3968
+ .muka-tile--md .muka-tile__heading {
3969
+ font-family: var(--text-label-xl-semibold-fontFamily);
3970
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3971
+ font-size: var(--text-label-xl-semibold-fontSize);
3972
+ line-height: var(--text-label-xl-semibold-lineHeight);
3973
+ color: var(--color-text-default-default);
3974
+ }
4028
3975
 
4029
- /* TextLink */
4030
- /* TextLink Component Styles - Using Muka Design Tokens */
3976
+ .muka-tile--sm .muka-tile__heading {
3977
+ font-family: var(--text-label-lg-bold-fontFamily);
3978
+ font-weight: var(--text-label-lg-bold-fontWeight);
3979
+ font-size: var(--text-label-lg-bold-fontSize);
3980
+ line-height: var(--text-label-lg-bold-lineHeight);
3981
+ color: var(--color-text-default-default);
3982
+ }
4031
3983
 
4032
- .muka-text-link {
4033
- display: inline;
4034
- cursor: pointer;
4035
- text-decoration: underline;
4036
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4037
- text-underline-offset: 0.2em;
4038
- text-decoration-thickness: from-font;
4039
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4040
- border-radius: var(--border-radius-sm);
4041
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3984
+ /* ─── Subheading typography ───────────────────────────── */
3985
+
3986
+ .muka-tile__subheading {
3987
+ margin: 0;
3988
+ color: var(--color-text-subtle-default);
4042
3989
  }
4043
3990
 
4044
- /* ─── Sizes ───────────────────────────────────────────────
4045
- Mirrors the body text scale so a link matches the copy it sits in. */
4046
- .muka-text-link--sm {
4047
- font-family: var(--text-body-sm-regular-fontFamily);
4048
- font-weight: var(--text-body-sm-regular-fontWeight);
4049
- font-size: var(--text-body-sm-regular-fontSize);
4050
- line-height: var(--text-body-sm-regular-lineHeight);
3991
+ .muka-tile--lg .muka-tile__subheading {
3992
+ font-family: var(--text-subheading-md-fontFamily);
3993
+ font-weight: var(--text-subheading-md-fontWeight);
3994
+ font-size: var(--text-subheading-md-fontSize);
3995
+ line-height: var(--text-subheading-md-lineHeight);
4051
3996
  }
4052
3997
 
4053
- .muka-text-link--base {
4054
- font-family: var(--text-body-base-regular-fontFamily);
4055
- font-weight: var(--text-body-base-regular-fontWeight);
4056
- font-size: var(--text-body-base-regular-fontSize);
4057
- line-height: var(--text-body-base-regular-lineHeight);
3998
+ .muka-tile--md .muka-tile__subheading,
3999
+ .muka-tile--sm .muka-tile__subheading {
4000
+ font-family: var(--text-subheading-sm-fontFamily);
4001
+ font-weight: var(--text-subheading-sm-fontWeight);
4002
+ font-size: var(--text-subheading-sm-fontSize);
4003
+ line-height: var(--text-subheading-sm-lineHeight);
4058
4004
  }
4059
4005
 
4060
- .muka-text-link--lg {
4006
+ /* ─── Description typography ──────────────────────────── */
4007
+
4008
+ .muka-tile__description {
4009
+ margin: 0;
4010
+ color: var(--color-text-default-default);
4011
+ }
4012
+
4013
+ .muka-tile--lg .muka-tile__description {
4061
4014
  font-family: var(--text-body-lg-regular-fontFamily);
4062
4015
  font-weight: var(--text-body-lg-regular-fontWeight);
4063
4016
  font-size: var(--text-body-lg-regular-fontSize);
4064
4017
  line-height: var(--text-body-lg-regular-lineHeight);
4065
4018
  }
4066
4019
 
4067
- /* ─── Variant: default (accent) ───────────────────────────
4068
- Visited repeats the default colour on purpose: the design treats visited and
4069
- default the same, and pinning it stops the browser's purple from showing. */
4070
- .muka-text-link--default,
4071
- .muka-text-link--default:visited {
4072
- color: var(--color-text-action-default);
4020
+ .muka-tile--md .muka-tile__description,
4021
+ .muka-tile--sm .muka-tile__description {
4022
+ font-family: var(--text-body-base-regular-fontFamily);
4023
+ font-weight: var(--text-body-base-regular-fontWeight);
4024
+ font-size: var(--text-body-base-regular-fontSize);
4025
+ line-height: var(--text-body-base-regular-lineHeight);
4073
4026
  }
4074
4027
 
4075
- .muka-text-link--default:hover,
4076
- .muka-text-link--default:focus-visible {
4077
- color: var(--color-text-action-hover);
4078
- }
4079
-
4080
- .muka-text-link--default:active {
4081
- color: var(--color-text-action-pressed);
4028
+ /* Description overflow for medium */
4029
+ .muka-tile--md .muka-tile__description {
4030
+ overflow: hidden;
4031
+ text-overflow: ellipsis;
4082
4032
  }
4083
4033
 
4084
- /* ─── Variant: subtle (neutral) ───────────────────────────
4085
- Hover, focus and pressed all darken to the default text colour. */
4086
- .muka-text-link--subtle,
4087
- .muka-text-link--subtle:visited {
4088
- color: var(--color-text-subtle-default);
4089
- }
4034
+ /* ─── Price slot ──────────────────────────────────────── */
4090
4035
 
4091
- .muka-text-link--subtle:hover,
4092
- .muka-text-link--subtle:focus-visible,
4093
- .muka-text-link--subtle:active {
4094
- color: var(--color-text-default-default);
4036
+ .muka-tile__price {
4037
+ flex-shrink: 0;
4095
4038
  }
4096
4039
 
4097
- /* ─── Focus ───────────────────────────────────────────────
4098
- Same ring as every other focusable Muka component. */
4099
- .muka-text-link:focus-visible {
4100
- outline: 2px solid var(--color-border-focus);
4101
- outline-offset: 2px;
4102
- }
4040
+ /* ─── Action slot ─────────────────────────────────────── */
4103
4041
 
4104
- @media (prefers-reduced-motion: reduce) {
4105
- .muka-text-link {
4106
- transition: none;
4107
- }
4042
+ .muka-tile__action {
4043
+ flex-shrink: 0;
4108
4044
  }
4109
4045
 
4110
4046
 
4111
- /* Tabs */
4112
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4047
+ /* Thumbnail */
4048
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4113
4049
 
4114
- .muka-tabs {
4115
- display: flex;
4116
- flex-direction: column;
4050
+ .muka-thumbnail {
4051
+ position: relative;
4052
+ flex-shrink: 0;
4117
4053
  }
4118
4054
 
4119
- /* Alignment Variants */
4120
- .muka-tabs--align-left .muka-tabs__list {
4121
- justify-content: flex-start;
4122
- }
4123
- .muka-tabs--align-center .muka-tabs__list {
4124
- justify-content: center;
4055
+ /* The frame carries the border, background and shape clip. Keeping it separate
4056
+ from the root lets the remove (×) button sit outside the clip (needed for the
4057
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4058
+ .muka-thumbnail__frame {
4059
+ position: absolute;
4060
+ inset: 0;
4061
+ overflow: hidden;
4062
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4063
+ border-radius: var(--border-radius-lg);
4064
+ background-color: var(--color-surface-level1);
4125
4065
  }
4126
- .muka-tabs--align-fill .muka-tabs__list {
4127
- justify-content: space-between;
4066
+
4067
+ /* ─── Shapes ──────────────────────────────────────────── */
4068
+ .muka-thumbnail--4-3 {
4069
+ width: 160px;
4070
+ height: 120px;
4128
4071
  }
4129
- .muka-tabs--align-fill .muka-tabs__trigger {
4130
- flex: 1;
4072
+
4073
+ .muka-thumbnail--1-1 {
4074
+ width: 120px;
4075
+ height: 120px;
4131
4076
  }
4132
4077
 
4133
- /* Tab List — strip container */
4134
- .muka-tabs__list {
4135
- display: flex;
4136
- align-items: center;
4137
- position: relative;
4138
- z-index: 2;
4139
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4078
+ .muka-thumbnail--ellipse {
4079
+ width: 120px;
4080
+ height: 120px;
4140
4081
  }
4141
4082
 
4142
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4143
- .muka-tabs--padding-default .muka-tabs__list {
4144
- padding-inline: var(--tabs-list-padding-x);
4083
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4084
+ .muka-thumbnail--fluid {
4085
+ width: 100%;
4086
+ height: auto;
4087
+ aspect-ratio: 1 / 1;
4145
4088
  }
4146
4089
 
4147
- /* Tab Trigger — clean underline style */
4148
- .muka-tabs__trigger {
4149
- display: inline-flex;
4150
- align-items: center;
4151
- justify-content: center;
4152
- gap: var(--spacing-1);
4153
- background: transparent;
4154
- border: none;
4155
- cursor: pointer;
4156
- user-select: none;
4157
- transition: background-color 0.2s ease, color 0.2s ease;
4158
- outline: none;
4159
- white-space: nowrap;
4160
- position: relative;
4161
- z-index: 2;
4162
- color: var(--tabs-trigger-color-default-foreground);
4090
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4091
+ aspect-ratio: 4 / 3;
4092
+ }
4163
4093
 
4164
- /* Default MD size values */
4165
- min-height: var(--tabs-trigger-min-height-md);
4166
- padding: var(--spacing-3);
4167
- font-family: var(--text-label-md-regular-fontFamily);
4168
- font-weight: var(--text-label-md-regular-fontWeight);
4169
- font-size: var(--text-label-md-regular-fontSize);
4170
- line-height: var(--text-label-md-regular-lineHeight);
4094
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4095
+ border-radius: var(--border-radius-full);
4171
4096
  }
4172
4097
 
4173
- /* Size Variants */
4174
- .muka-tabs--size-sm .muka-tabs__trigger {
4175
- min-height: var(--tabs-trigger-min-height-sm);
4176
- padding: 0 var(--spacing-2);
4177
- font-family: var(--text-label-sm-regular-fontFamily);
4178
- font-weight: var(--text-label-sm-regular-fontWeight);
4179
- font-size: var(--text-label-sm-regular-fontSize);
4180
- line-height: var(--text-label-sm-regular-lineHeight);
4098
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4099
+ interactive hover zoom has a clean origin. */
4100
+ .muka-thumbnail__image {
4101
+ position: absolute;
4102
+ inset: 0;
4103
+ width: 100%;
4104
+ height: 100%;
4105
+ object-fit: cover;
4106
+ display: block;
4107
+ transform-origin: center;
4108
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4109
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4181
4110
  }
4182
4111
 
4183
- .muka-tabs--size-lg .muka-tabs__trigger {
4184
- min-height: var(--tabs-trigger-min-height-lg);
4185
- padding: var(--spacing-4);
4186
- font-family: var(--text-label-lg-regular-fontFamily);
4187
- font-weight: var(--text-label-lg-regular-fontWeight);
4188
- font-size: var(--text-label-lg-regular-fontSize);
4189
- line-height: var(--text-label-lg-regular-lineHeight);
4112
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4113
+ .muka-thumbnail__trigger {
4114
+ position: absolute;
4115
+ inset: 0;
4116
+ padding: 0;
4117
+ border: 0;
4118
+ background: none;
4119
+ cursor: pointer;
4120
+ overflow: hidden;
4190
4121
  }
4191
4122
 
4192
- /* Hover state */
4193
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4194
- color: var(--tabs-trigger-color-hover-foreground);
4123
+ .muka-thumbnail__trigger:focus-visible {
4124
+ outline: 2px solid var(--color-border-focus);
4125
+ outline-offset: -2px;
4195
4126
  }
4196
4127
 
4197
- /* Current tab */
4198
- .muka-tabs__trigger--current {
4199
- color: var(--tabs-trigger-color-current-foreground);
4128
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4129
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4130
+ transform: scale(1.05);
4200
4131
  }
4201
4132
 
4202
- /* Active bottom border (underline) */
4203
- .muka-tabs__trigger--current::after {
4204
- content: '';
4133
+ /* ─── Loading overlay + progress donut ────────────────── */
4134
+ .muka-thumbnail__overlay {
4205
4135
  position: absolute;
4206
- bottom: -1px; /* Overlap the 1px border */
4207
- left: 0;
4208
- right: 0;
4209
- height: var(--tabs-indicator-height-md);
4210
- background-color: var(--tabs-indicator-color);
4211
- border-bottom-left-radius: 1px;
4212
- border-bottom-right-radius: 1px;
4213
- border-top-left-radius: 3px;
4214
- border-top-right-radius: 3px;
4215
- z-index: 3;
4136
+ inset: 0;
4137
+ display: flex;
4138
+ align-items: center;
4139
+ justify-content: center;
4140
+ background-color: var(--dialog-color-backdrop);
4216
4141
  }
4217
4142
 
4218
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4219
- height: var(--tabs-indicator-height-sm);
4143
+ .muka-thumbnail__progress {
4144
+ width: 40px;
4145
+ height: 40px;
4220
4146
  }
4221
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4222
- height: var(--tabs-indicator-height-lg);
4147
+
4148
+ /* ─── Error / corrupt state ───────────────────────────── */
4149
+ .muka-thumbnail--error .muka-thumbnail__frame {
4150
+ background-color: var(--alias-color-state-error-muted);
4151
+ border-color: var(--alias-color-state-error-default);
4223
4152
  }
4224
4153
 
4225
- .muka-tabs__trigger--disabled {
4226
- color: var(--tabs-trigger-color-disabled-foreground);
4227
- cursor: not-allowed;
4154
+ .muka-thumbnail__error {
4155
+ position: absolute;
4156
+ inset: 0;
4157
+ display: flex;
4158
+ flex-direction: column;
4159
+ align-items: center;
4160
+ justify-content: center;
4161
+ gap: var(--spacing-2);
4162
+ padding: var(--spacing-3);
4163
+ text-align: center;
4228
4164
  }
4229
4165
 
4230
- .muka-tabs__trigger:focus-visible {
4231
- outline: 2px solid var(--color-border-focus);
4232
- outline-offset: -2px;
4166
+ .muka-thumbnail__error-icon {
4167
+ color: var(--alert-color-error-accent);
4233
4168
  }
4234
4169
 
4235
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4236
- item sits 12px from the text */
4237
- .muka-tabs__label {
4238
- padding: 0 var(--spacing-2);
4170
+ .muka-thumbnail__caption {
4171
+ max-width: 100%;
4172
+ overflow: hidden;
4173
+ text-overflow: ellipsis;
4174
+ white-space: nowrap;
4175
+ color: var(--alert-color-error-accent);
4176
+ font-family: var(--text-body-sm-regular-fontFamily);
4177
+ font-size: var(--text-body-sm-regular-fontSize);
4178
+ font-weight: var(--text-body-sm-regular-fontWeight);
4179
+ line-height: var(--text-body-sm-regular-lineHeight);
4239
4180
  }
4240
4181
 
4241
- /* Leading item: icon, avatar, avatar group or data pie chart */
4242
- .muka-tabs__leading {
4182
+ /* ─── Remove (×) button ───────────────────────────────── */
4183
+ .muka-thumbnail__remove {
4184
+ position: absolute;
4185
+ top: var(--spacing-2);
4186
+ right: var(--spacing-2);
4243
4187
  display: flex;
4244
4188
  align-items: center;
4245
4189
  justify-content: center;
4246
- flex-shrink: 0;
4247
- }
4248
- .muka-tabs__trigger .muka-icon {
4249
- color: inherit;
4190
+ width: var(--size-2xl);
4191
+ height: var(--size-2xl);
4192
+ padding: 0;
4193
+ color: var(--button-color-tertiary-foreground-default);
4194
+ background-color: var(--button-color-tertiary-background-default);
4195
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4196
+ border-radius: var(--border-radius-lg);
4197
+ cursor: pointer;
4198
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4199
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4250
4200
  }
4251
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4252
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4253
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4254
- .muka-tabs--size-md .muka-tabs__leading > svg,
4255
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4256
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4257
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4258
4201
 
4259
- /* Responsive Scroll behavior on small screens */
4260
- @media (max-width: 768px) {
4261
- .muka-tabs__list {
4262
- /* Make scrollable */
4263
- overflow-x: auto;
4264
- overflow-y: hidden;
4265
- /* Force left alignment on mobile to prevent clipping when scrolling */
4266
- justify-content: flex-start !important;
4267
- max-width: 100vw;
4268
- -webkit-overflow-scrolling: touch;
4269
- /* Hide scrollbar for cleaner look */
4270
- scrollbar-width: none;
4271
- }
4272
- .muka-tabs__list::-webkit-scrollbar {
4273
- display: none;
4274
- }
4275
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4276
- .muka-tabs--align-fill .muka-tabs__trigger {
4277
- flex: 0 0 auto;
4278
- }
4202
+ .muka-thumbnail__remove:hover {
4203
+ color: var(--button-color-tertiary-foreground-hover);
4204
+ background-color: var(--button-color-tertiary-background-hover);
4205
+ border-color: var(--button-color-tertiary-border-hover);
4279
4206
  }
4280
4207
 
4281
- /* Tab Panel — content area */
4282
- .muka-tabs__panel {
4283
- background-color: var(--tabs-panel-background);
4284
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4285
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4286
- padding: var(--spacing-4);
4287
- position: relative;
4288
- z-index: 1;
4289
- font-family: var(--text-body-base-regular-fontFamily);
4290
- font-weight: var(--text-body-base-regular-fontWeight);
4291
- font-size: var(--text-body-base-regular-fontSize);
4292
- line-height: var(--text-body-base-regular-lineHeight);
4208
+ .muka-thumbnail__remove:active {
4209
+ color: var(--button-color-tertiary-foreground-pressed);
4210
+ background-color: var(--button-color-tertiary-background-pressed);
4211
+ border-color: var(--button-color-tertiary-border-pressed);
4293
4212
  }
4294
4213
 
4295
- .muka-tabs__panel:focus-visible {
4214
+ .muka-thumbnail__remove:focus-visible {
4296
4215
  outline: 2px solid var(--color-border-focus);
4297
4216
  outline-offset: 2px;
4298
4217
  }
4299
4218
 
4219
+ /* ─── Reduced motion ──────────────────────────────────── */
4220
+ @media (prefers-reduced-motion: reduce) {
4221
+ .muka-thumbnail__image,
4222
+ .muka-thumbnail__remove {
4223
+ transition: none;
4224
+ }
4300
4225
 
4301
- /* Tile */
4302
- /* Tile Component Styles - Using Muka Design Tokens */
4226
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4227
+ transform: none;
4228
+ }
4229
+ }
4303
4230
 
4304
- /* ─── Base ────────────────────────────────────────────── */
4305
4231
 
4306
- .muka-tile {
4307
- display: flex;
4308
- color: var(--color-text-default-default);
4232
+ /* Textarea */
4233
+ /* Textarea Component Styles - Using Muka Design Tokens */
4234
+
4235
+ .muka-textarea {
4236
+ display: inline-flex;
4237
+ flex-direction: column;
4238
+ gap: var(--spacing-2);
4309
4239
  }
4310
4240
 
4311
- .muka-tile--interactive {
4241
+ /* Label */
4242
+ .muka-textarea__label {
4243
+ color: var(--color-text-default-default);
4312
4244
  cursor: pointer;
4313
- user-select: none;
4314
4245
  }
4315
4246
 
4316
- .muka-tile--interactive:focus-visible {
4317
- outline: 2px solid var(--color-border-focus);
4318
- outline-offset: 2px;
4319
- border-radius: var(--border-radius-lg);
4247
+ .muka-textarea__label--sm {
4248
+ font-family: var(--text-label-sm-semibold-fontFamily);
4249
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4250
+ font-size: var(--text-label-sm-semibold-fontSize);
4251
+ line-height: var(--text-label-sm-semibold-lineHeight);
4320
4252
  }
4321
4253
 
4322
- /* ─── Image position variants ─────────────────────────── */
4254
+ .muka-textarea__label--md {
4255
+ font-family: var(--text-label-md-semibold-fontFamily);
4256
+ font-weight: var(--text-label-md-semibold-fontWeight);
4257
+ font-size: var(--text-label-md-semibold-fontSize);
4258
+ line-height: var(--text-label-md-semibold-lineHeight);
4259
+ }
4323
4260
 
4324
- .muka-tile--image-top {
4325
- flex-direction: column;
4261
+ .muka-textarea__label--lg {
4262
+ font-family: var(--text-label-lg-semibold-fontFamily);
4263
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4264
+ font-size: var(--text-label-lg-semibold-fontSize);
4265
+ line-height: var(--text-label-lg-semibold-lineHeight);
4326
4266
  }
4327
4267
 
4328
- .muka-tile--image-left {
4329
- flex-direction: row;
4268
+ .muka-textarea__required {
4269
+ color: var(--color-state-error-default);
4330
4270
  }
4331
4271
 
4332
- .muka-tile--image-right {
4333
- flex-direction: row;
4272
+ /* Field container */
4273
+ .muka-textarea__field {
4274
+ display: flex;
4275
+ background-color: var(--input-field-color-default-background);
4276
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4277
+ border-radius: var(--input-field-radius-md);
4278
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4279
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4280
+ box-sizing: border-box;
4334
4281
  }
4335
4282
 
4336
- /* ─── Gap by size (top) ───────────────────────────────── */
4283
+ .muka-textarea__field--sm {
4284
+ min-height: var(--input-textarea-height-sm);
4285
+ border-radius: var(--input-field-radius-sm);
4286
+ }
4337
4287
 
4338
- .muka-tile--image-top.muka-tile--lg {
4339
- gap: var(--spacing-6);
4288
+ .muka-textarea__field--md {
4289
+ min-height: var(--input-textarea-height-default);
4290
+ border-radius: var(--input-field-radius-md);
4340
4291
  }
4341
4292
 
4342
- .muka-tile--image-top.muka-tile--md {
4343
- gap: var(--spacing-6);
4344
- width: 320px;
4293
+ .muka-textarea__field--lg {
4294
+ min-height: var(--input-textarea-height-lg);
4295
+ border-radius: var(--input-field-radius-lg);
4345
4296
  }
4346
4297
 
4347
- .muka-tile--image-top.muka-tile--sm {
4348
- gap: var(--spacing-4);
4349
- min-width: 120px;
4298
+ /* Focus state */
4299
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4300
+ border-width: var(--border-width-bold);
4301
+ border-color: var(--input-field-color-focus-border);
4302
+ background-color: var(--input-field-color-focus-background);
4303
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4350
4304
  }
4351
4305
 
4352
- /* ─── Gap by size (left/right) ────────────────────────── */
4306
+ /* Error state */
4307
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4308
+ border-width: var(--border-width-bold);
4309
+ border-color: var(--input-field-color-error-border);
4310
+ background-color: var(--input-field-color-error-background);
4311
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4312
+ }
4353
4313
 
4354
- .muka-tile--image-left.muka-tile--lg,
4355
- .muka-tile--image-right.muka-tile--lg {
4356
- gap: var(--spacing-6);
4357
- align-items: center;
4314
+ /* Disabled state */
4315
+ .muka-textarea__field--disabled {
4316
+ background-color: var(--input-field-color-disabled-background);
4317
+ border-color: var(--input-field-color-disabled-border);
4318
+ cursor: not-allowed;
4358
4319
  }
4359
4320
 
4360
- .muka-tile--image-left.muka-tile--md,
4361
- .muka-tile--image-right.muka-tile--md {
4362
- gap: var(--spacing-6);
4363
- align-items: center;
4321
+ /* Native textarea */
4322
+ .muka-textarea__native {
4323
+ flex: 1;
4324
+ border: none;
4325
+ outline: none;
4326
+ background: transparent;
4327
+ color: var(--input-field-color-default-foreground);
4328
+ font-family: var(--text-input-md-fontFamily);
4329
+ font-weight: var(--text-input-md-fontWeight);
4330
+ font-size: var(--text-input-md-fontSize);
4331
+ line-height: var(--text-input-md-lineHeight);
4332
+ padding: 0;
4333
+ width: 100%;
4334
+ min-width: 0;
4364
4335
  }
4365
4336
 
4366
- .muka-tile--image-left.muka-tile--sm,
4367
- .muka-tile--image-right.muka-tile--sm {
4368
- gap: var(--spacing-4);
4369
- align-items: flex-start;
4337
+ .muka-textarea__field--sm .muka-textarea__native {
4338
+ font-family: var(--text-input-sm-fontFamily);
4339
+ font-weight: var(--text-input-sm-fontWeight);
4340
+ font-size: var(--text-input-sm-fontSize);
4341
+ line-height: var(--text-input-sm-lineHeight);
4370
4342
  }
4371
4343
 
4372
- /* ─── Photos container ────────────────────────────────── */
4344
+ .muka-textarea__field--lg .muka-textarea__native {
4345
+ font-family: var(--text-input-lg-fontFamily);
4346
+ font-weight: var(--text-input-lg-fontWeight);
4347
+ font-size: var(--text-input-lg-fontSize);
4348
+ line-height: var(--text-input-lg-lineHeight);
4349
+ }
4373
4350
 
4374
- .muka-tile__photos {
4375
- position: relative;
4376
- flex-shrink: 0;
4377
- overflow: hidden;
4378
- display: flex;
4379
- flex-direction: column;
4380
- isolation: isolate;
4351
+ .muka-textarea__native::placeholder {
4352
+ color: var(--color-text-subtle-default);
4381
4353
  }
4382
4354
 
4383
- /* Photos border radius by size */
4384
- .muka-tile--lg .muka-tile__photos,
4385
- .muka-tile--md .muka-tile__photos {
4386
- border-radius: var(--border-radius-lg);
4355
+ .muka-textarea__field--disabled .muka-textarea__native {
4356
+ color: var(--input-field-color-disabled-foreground);
4357
+ cursor: not-allowed;
4387
4358
  }
4388
4359
 
4389
- .muka-tile--sm .muka-tile__photos {
4390
- border-radius: var(--border-radius-md);
4360
+ /* Footer (helper/error + count) */
4361
+ .muka-textarea__footer {
4362
+ display: flex;
4363
+ justify-content: space-between;
4364
+ align-items: flex-start;
4365
+ gap: var(--spacing-2);
4391
4366
  }
4392
4367
 
4393
- /* Photos sizing: top layout */
4394
- .muka-tile--image-top .muka-tile__photos {
4395
- width: 100%;
4368
+ .muka-textarea__helper {
4369
+ font-family: var(--text-label-sm-regular-fontFamily);
4370
+ font-weight: var(--text-label-sm-regular-fontWeight);
4371
+ font-size: var(--text-label-sm-regular-fontSize);
4372
+ line-height: var(--text-label-sm-regular-lineHeight);
4373
+ color: var(--color-text-subtle-default);
4374
+ margin: 0;
4396
4375
  }
4397
4376
 
4398
- /* Photos sizing: left/right large */
4399
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4400
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4401
- width: 520px;
4377
+ .muka-textarea__error {
4378
+ font-family: var(--text-label-sm-regular-fontFamily);
4379
+ font-weight: var(--text-label-sm-regular-fontWeight);
4380
+ font-size: var(--text-label-sm-regular-fontSize);
4381
+ line-height: var(--text-label-sm-regular-lineHeight);
4382
+ color: var(--color-state-error-default);
4383
+ margin: 0;
4402
4384
  }
4403
4385
 
4404
- /* Photos sizing: left/right medium */
4405
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4406
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4407
- width: 320px;
4386
+ .muka-textarea__count {
4387
+ font-family: var(--text-label-sm-regular-fontFamily);
4388
+ font-weight: var(--text-label-sm-regular-fontWeight);
4389
+ font-size: var(--text-label-sm-regular-fontSize);
4390
+ line-height: var(--text-label-sm-regular-lineHeight);
4391
+ color: var(--color-text-subtle-default);
4392
+ margin-left: auto;
4408
4393
  }
4409
4394
 
4410
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4411
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4412
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4413
- width: 80px;
4414
- align-self: stretch;
4415
- }
4416
4395
 
4417
- /* ─── Main photo ──────────────────────────────────────── */
4396
+ /* TextLink */
4397
+ /* TextLink Component Styles - Using Muka Design Tokens */
4418
4398
 
4419
- .muka-tile__photo-main {
4420
- position: relative;
4421
- width: 100%;
4422
- overflow: hidden;
4423
- flex-shrink: 0;
4399
+ .muka-text-link {
4400
+ display: inline;
4401
+ cursor: pointer;
4402
+ text-decoration: underline;
4403
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4404
+ text-underline-offset: 0.2em;
4405
+ text-decoration-thickness: from-font;
4406
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4407
+ border-radius: var(--border-radius-sm);
4408
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4424
4409
  }
4425
4410
 
4426
- /* 16:9 aspect for lg and md */
4427
- .muka-tile--lg .muka-tile__photo-main,
4428
- .muka-tile--md .muka-tile__photo-main {
4429
- aspect-ratio: 1280 / 720;
4411
+ /* ─── Sizes ───────────────────────────────────────────────
4412
+ Mirrors the body text scale so a link matches the copy it sits in. */
4413
+ .muka-text-link--sm {
4414
+ font-family: var(--text-body-sm-regular-fontFamily);
4415
+ font-weight: var(--text-body-sm-regular-fontWeight);
4416
+ font-size: var(--text-body-sm-regular-fontSize);
4417
+ line-height: var(--text-body-sm-regular-lineHeight);
4430
4418
  }
4431
4419
 
4432
- /* 1:1 aspect for top + sm */
4433
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4434
- aspect-ratio: 1 / 1;
4420
+ .muka-text-link--base {
4421
+ font-family: var(--text-body-base-regular-fontFamily);
4422
+ font-weight: var(--text-body-base-regular-fontWeight);
4423
+ font-size: var(--text-body-base-regular-fontSize);
4424
+ line-height: var(--text-body-base-regular-lineHeight);
4435
4425
  }
4436
4426
 
4437
- /* Fixed size for left/right + sm */
4438
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4439
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4440
- width: 80px;
4441
- height: 80px;
4442
- aspect-ratio: auto;
4427
+ .muka-text-link--lg {
4428
+ font-family: var(--text-body-lg-regular-fontFamily);
4429
+ font-weight: var(--text-body-lg-regular-fontWeight);
4430
+ font-size: var(--text-body-lg-regular-fontSize);
4431
+ line-height: var(--text-body-lg-regular-lineHeight);
4443
4432
  }
4444
4433
 
4445
- .muka-tile__photo-main img {
4446
- width: 100%;
4447
- height: 100%;
4448
- object-fit: cover;
4449
- display: block;
4434
+ /* ─── Variant: default (accent) ───────────────────────────
4435
+ Visited repeats the default colour on purpose: the design treats visited and
4436
+ default the same, and pinning it stops the browser's purple from showing. */
4437
+ .muka-text-link--default,
4438
+ .muka-text-link--default:visited {
4439
+ color: var(--color-text-action-default);
4450
4440
  }
4451
4441
 
4452
- /* ─── Favourite overlay ───────────────────────────────── */
4453
-
4454
- .muka-tile__favourite {
4455
- position: absolute;
4456
- z-index: 3;
4442
+ .muka-text-link--default:hover,
4443
+ .muka-text-link--default:focus-visible {
4444
+ color: var(--color-text-action-hover);
4457
4445
  }
4458
4446
 
4459
- .muka-tile--lg .muka-tile__favourite,
4460
- .muka-tile--md .muka-tile__favourite {
4461
- top: var(--spacing-4);
4462
- right: var(--spacing-4);
4447
+ .muka-text-link--default:active {
4448
+ color: var(--color-text-action-pressed);
4463
4449
  }
4464
4450
 
4465
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4466
- top: var(--spacing-1);
4467
- right: var(--spacing-1);
4451
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4452
+ Hover, focus and pressed all darken to the default text colour. */
4453
+ .muka-text-link--subtle,
4454
+ .muka-text-link--subtle:visited {
4455
+ color: var(--color-text-subtle-default);
4468
4456
  }
4469
4457
 
4470
- /* ─── Thumbnails ──────────────────────────────────────── */
4471
-
4472
- .muka-tile__thumbnails {
4473
- display: flex;
4474
- gap: 2px;
4475
- overflow: hidden;
4476
- flex-shrink: 0;
4477
- height: 80px;
4458
+ .muka-text-link--subtle:hover,
4459
+ .muka-text-link--subtle:focus-visible,
4460
+ .muka-text-link--subtle:active {
4461
+ color: var(--color-text-default-default);
4478
4462
  }
4479
4463
 
4480
- .muka-tile__thumbnail {
4481
- width: 80px;
4482
- height: 80px;
4483
- flex-shrink: 0;
4484
- overflow: hidden;
4464
+ /* ─── Focus ───────────────────────────────────────────────
4465
+ Same ring as every other focusable Muka component. */
4466
+ .muka-text-link:focus-visible {
4467
+ outline: 2px solid var(--color-border-focus);
4468
+ outline-offset: 2px;
4485
4469
  }
4486
4470
 
4487
- .muka-tile__thumbnail img {
4488
- width: 100%;
4489
- height: 100%;
4490
- object-fit: cover;
4491
- display: block;
4471
+ @media (prefers-reduced-motion: reduce) {
4472
+ .muka-text-link {
4473
+ transition: none;
4474
+ }
4492
4475
  }
4493
4476
 
4494
- /* Gap between main photo and thumbnails */
4495
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4496
- margin-top: 2px;
4497
- }
4498
4477
 
4499
- /* ─── Content section ─────────────────────────────────── */
4478
+ /* Tabs */
4479
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4500
4480
 
4501
- .muka-tile__content {
4481
+ .muka-tabs {
4502
4482
  display: flex;
4503
4483
  flex-direction: column;
4504
- flex: 1;
4505
- min-width: 0;
4506
- }
4507
-
4508
- /* Top layout: content has horizontal padding */
4509
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4510
- padding: 0 var(--spacing-3);
4511
- gap: var(--spacing-1);
4512
4484
  }
4513
4485
 
4514
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4515
- padding: 0 var(--spacing-3);
4516
- gap: var(--spacing-2);
4486
+ /* Alignment Variants */
4487
+ .muka-tabs--align-left .muka-tabs__list {
4488
+ justify-content: flex-start;
4517
4489
  }
4518
-
4519
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4520
- gap: var(--spacing-2);
4490
+ .muka-tabs--align-center .muka-tabs__list {
4491
+ justify-content: center;
4521
4492
  }
4522
-
4523
- /* Left/right layout: content grows to fill space */
4524
- .muka-tile--image-left .muka-tile__content,
4525
- .muka-tile--image-right .muka-tile__content {
4526
- gap: var(--spacing-3);
4493
+ .muka-tabs--align-fill .muka-tabs__list {
4494
+ justify-content: space-between;
4527
4495
  }
4528
-
4529
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4530
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4531
- padding: 0 var(--spacing-3);
4496
+ .muka-tabs--align-fill .muka-tabs__trigger {
4497
+ flex: 1;
4532
4498
  }
4533
4499
 
4534
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4535
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4536
- padding: var(--spacing-2) var(--spacing-3);
4500
+ /* Tab List — strip container */
4501
+ .muka-tabs__list {
4502
+ display: flex;
4503
+ align-items: center;
4504
+ position: relative;
4505
+ z-index: 2;
4506
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4537
4507
  }
4538
4508
 
4539
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4540
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4541
- gap: var(--spacing-2);
4509
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4510
+ .muka-tabs--padding-default .muka-tabs__list {
4511
+ padding-inline: var(--tabs-list-padding-x);
4542
4512
  }
4543
4513
 
4544
- /* ─── Header (heading row + price) ────────────────────── */
4514
+ /* Tab Trigger — clean underline style */
4515
+ .muka-tabs__trigger {
4516
+ display: inline-flex;
4517
+ align-items: center;
4518
+ justify-content: center;
4519
+ gap: var(--spacing-1);
4520
+ background: transparent;
4521
+ border: none;
4522
+ cursor: pointer;
4523
+ user-select: none;
4524
+ transition: background-color 0.2s ease, color 0.2s ease;
4525
+ outline: none;
4526
+ white-space: nowrap;
4527
+ position: relative;
4528
+ z-index: 2;
4529
+ color: var(--tabs-trigger-color-default-foreground);
4545
4530
 
4546
- .muka-tile__header {
4547
- display: flex;
4548
- align-items: flex-start;
4549
- gap: var(--spacing-4);
4531
+ /* Default MD size values */
4532
+ min-height: var(--tabs-trigger-min-height-md);
4533
+ padding: var(--spacing-3);
4534
+ font-family: var(--text-label-md-regular-fontFamily);
4535
+ font-weight: var(--text-label-md-regular-fontWeight);
4536
+ font-size: var(--text-label-md-regular-fontSize);
4537
+ line-height: var(--text-label-md-regular-lineHeight);
4550
4538
  }
4551
4539
 
4552
- /* Small horizontal: row with text and action */
4553
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4554
- gap: var(--spacing-2);
4555
- align-items: center;
4556
- padding-top: var(--spacing-1);
4540
+ /* Size Variants */
4541
+ .muka-tabs--size-sm .muka-tabs__trigger {
4542
+ min-height: var(--tabs-trigger-min-height-sm);
4543
+ padding: 0 var(--spacing-2);
4544
+ font-family: var(--text-label-sm-regular-fontFamily);
4545
+ font-weight: var(--text-label-sm-regular-fontWeight);
4546
+ font-size: var(--text-label-sm-regular-fontSize);
4547
+ line-height: var(--text-label-sm-regular-lineHeight);
4557
4548
  }
4558
4549
 
4559
- /* ─── Text group ──────────────────────────────────────── */
4550
+ .muka-tabs--size-lg .muka-tabs__trigger {
4551
+ min-height: var(--tabs-trigger-min-height-lg);
4552
+ padding: var(--spacing-4);
4553
+ font-family: var(--text-label-lg-regular-fontFamily);
4554
+ font-weight: var(--text-label-lg-regular-fontWeight);
4555
+ font-size: var(--text-label-lg-regular-fontSize);
4556
+ line-height: var(--text-label-lg-regular-lineHeight);
4557
+ }
4560
4558
 
4561
- .muka-tile__text {
4562
- display: flex;
4563
- flex-direction: column;
4564
- flex: 1;
4565
- min-width: 0;
4566
- gap: var(--spacing-2);
4559
+ /* Hover state */
4560
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4561
+ color: var(--tabs-trigger-color-hover-foreground);
4567
4562
  }
4568
4563
 
4569
- /* ─── Heading typography ──────────────────────────────── */
4564
+ /* Current tab */
4565
+ .muka-tabs__trigger--current {
4566
+ color: var(--tabs-trigger-color-current-foreground);
4567
+ }
4570
4568
 
4571
- .muka-tile__heading {
4572
- margin: 0;
4569
+ /* Active bottom border (underline) */
4570
+ .muka-tabs__trigger--current::after {
4571
+ content: '';
4572
+ position: absolute;
4573
+ bottom: -1px; /* Overlap the 1px border */
4574
+ left: 0;
4575
+ right: 0;
4576
+ height: var(--tabs-indicator-height-md);
4577
+ background-color: var(--tabs-indicator-color);
4578
+ border-bottom-left-radius: 1px;
4579
+ border-bottom-right-radius: 1px;
4580
+ border-top-left-radius: 3px;
4581
+ border-top-right-radius: 3px;
4582
+ z-index: 3;
4573
4583
  }
4574
4584
 
4575
- .muka-tile--lg .muka-tile__heading {
4576
- font-family: var(--text-label-2xl-semibold-fontFamily);
4577
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4578
- font-size: var(--text-label-2xl-semibold-fontSize);
4579
- line-height: var(--text-label-2xl-semibold-lineHeight);
4580
- color: var(--color-text-default-default);
4585
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4586
+ height: var(--tabs-indicator-height-sm);
4581
4587
  }
4582
-
4583
- .muka-tile--md .muka-tile__heading {
4584
- font-family: var(--text-label-xl-semibold-fontFamily);
4585
- font-weight: var(--text-label-xl-semibold-fontWeight);
4586
- font-size: var(--text-label-xl-semibold-fontSize);
4587
- line-height: var(--text-label-xl-semibold-lineHeight);
4588
- color: var(--color-text-default-default);
4588
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4589
+ height: var(--tabs-indicator-height-lg);
4589
4590
  }
4590
4591
 
4591
- .muka-tile--sm .muka-tile__heading {
4592
- font-family: var(--text-label-lg-bold-fontFamily);
4593
- font-weight: var(--text-label-lg-bold-fontWeight);
4594
- font-size: var(--text-label-lg-bold-fontSize);
4595
- line-height: var(--text-label-lg-bold-lineHeight);
4596
- color: var(--color-text-default-default);
4592
+ .muka-tabs__trigger--disabled {
4593
+ color: var(--tabs-trigger-color-disabled-foreground);
4594
+ cursor: not-allowed;
4597
4595
  }
4598
4596
 
4599
- /* ─── Subheading typography ───────────────────────────── */
4600
-
4601
- .muka-tile__subheading {
4602
- margin: 0;
4603
- color: var(--color-text-subtle-default);
4597
+ .muka-tabs__trigger:focus-visible {
4598
+ outline: 2px solid var(--color-border-focus);
4599
+ outline-offset: -2px;
4604
4600
  }
4605
4601
 
4606
- .muka-tile--lg .muka-tile__subheading {
4607
- font-family: var(--text-subheading-md-fontFamily);
4608
- font-weight: var(--text-subheading-md-fontWeight);
4609
- font-size: var(--text-subheading-md-fontSize);
4610
- line-height: var(--text-subheading-md-lineHeight);
4602
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4603
+ item sits 12px from the text */
4604
+ .muka-tabs__label {
4605
+ padding: 0 var(--spacing-2);
4611
4606
  }
4612
4607
 
4613
- .muka-tile--md .muka-tile__subheading,
4614
- .muka-tile--sm .muka-tile__subheading {
4615
- font-family: var(--text-subheading-sm-fontFamily);
4616
- font-weight: var(--text-subheading-sm-fontWeight);
4617
- font-size: var(--text-subheading-sm-fontSize);
4618
- line-height: var(--text-subheading-sm-lineHeight);
4608
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4609
+ .muka-tabs__leading {
4610
+ display: flex;
4611
+ align-items: center;
4612
+ justify-content: center;
4613
+ flex-shrink: 0;
4619
4614
  }
4620
-
4621
- /* ─── Description typography ──────────────────────────── */
4622
-
4623
- .muka-tile__description {
4624
- margin: 0;
4625
- color: var(--color-text-default-default);
4615
+ .muka-tabs__trigger .muka-icon {
4616
+ color: inherit;
4626
4617
  }
4618
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4619
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4620
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4621
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4622
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4623
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4624
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4627
4625
 
4628
- .muka-tile--lg .muka-tile__description {
4629
- font-family: var(--text-body-lg-regular-fontFamily);
4630
- font-weight: var(--text-body-lg-regular-fontWeight);
4631
- font-size: var(--text-body-lg-regular-fontSize);
4632
- line-height: var(--text-body-lg-regular-lineHeight);
4626
+ /* Responsive Scroll behavior on small screens */
4627
+ @media (max-width: 768px) {
4628
+ .muka-tabs__list {
4629
+ /* Make scrollable */
4630
+ overflow-x: auto;
4631
+ overflow-y: hidden;
4632
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4633
+ justify-content: flex-start !important;
4634
+ max-width: 100vw;
4635
+ -webkit-overflow-scrolling: touch;
4636
+ /* Hide scrollbar for cleaner look */
4637
+ scrollbar-width: none;
4638
+ }
4639
+ .muka-tabs__list::-webkit-scrollbar {
4640
+ display: none;
4641
+ }
4642
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4643
+ .muka-tabs--align-fill .muka-tabs__trigger {
4644
+ flex: 0 0 auto;
4645
+ }
4633
4646
  }
4634
4647
 
4635
- .muka-tile--md .muka-tile__description,
4636
- .muka-tile--sm .muka-tile__description {
4648
+ /* Tab Panel — content area */
4649
+ .muka-tabs__panel {
4650
+ background-color: var(--tabs-panel-background);
4651
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4652
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4653
+ padding: var(--spacing-4);
4654
+ position: relative;
4655
+ z-index: 1;
4637
4656
  font-family: var(--text-body-base-regular-fontFamily);
4638
4657
  font-weight: var(--text-body-base-regular-fontWeight);
4639
4658
  font-size: var(--text-body-base-regular-fontSize);
4640
4659
  line-height: var(--text-body-base-regular-lineHeight);
4641
4660
  }
4642
4661
 
4643
- /* Description overflow for medium */
4644
- .muka-tile--md .muka-tile__description {
4645
- overflow: hidden;
4646
- text-overflow: ellipsis;
4647
- }
4648
-
4649
- /* ─── Price slot ──────────────────────────────────────── */
4650
-
4651
- .muka-tile__price {
4652
- flex-shrink: 0;
4653
- }
4654
-
4655
- /* ─── Action slot ─────────────────────────────────────── */
4656
-
4657
- .muka-tile__action {
4658
- flex-shrink: 0;
4662
+ .muka-tabs__panel:focus-visible {
4663
+ outline: 2px solid var(--color-border-focus);
4664
+ outline-offset: 2px;
4659
4665
  }
4660
4666
 
4661
4667
 
@@ -5171,6 +5177,84 @@ body {
5171
5177
  }
5172
5178
 
5173
5179
 
5180
+ /* Spinner */
5181
+ /* Spinner Component Styles */
5182
+
5183
+ .muka-spinner {
5184
+ display: inline-flex;
5185
+ align-items: center;
5186
+ justify-content: center;
5187
+ color: var(--color-text-default-default);
5188
+ line-height: 0;
5189
+ }
5190
+
5191
+ .muka-spinner--subtle {
5192
+ color: var(--color-text-subtle-default);
5193
+ }
5194
+
5195
+ .muka-spinner--inverse {
5196
+ color: var(--color-text-default-inverse);
5197
+ }
5198
+
5199
+ .muka-spinner__circle {
5200
+ display: inline-block;
5201
+ border-radius: 50%;
5202
+ border-style: solid;
5203
+ border-color: currentColor;
5204
+ border-right-color: transparent;
5205
+ animation: muka-spinner-rotate 0.7s linear infinite;
5206
+ box-sizing: border-box;
5207
+ }
5208
+
5209
+ /* ─── Sizes ───────────────────────────────────────────── */
5210
+
5211
+ .muka-spinner--sm .muka-spinner__circle {
5212
+ width: 16px;
5213
+ height: 16px;
5214
+ border-width: 2px;
5215
+ }
5216
+
5217
+ .muka-spinner--md .muka-spinner__circle {
5218
+ width: 20px;
5219
+ height: 20px;
5220
+ border-width: 2px;
5221
+ }
5222
+
5223
+ .muka-spinner--lg .muka-spinner__circle {
5224
+ width: 24px;
5225
+ height: 24px;
5226
+ border-width: 3px;
5227
+ }
5228
+
5229
+ /* ─── Visually-hidden label ───────────────────────────── */
5230
+
5231
+ .muka-spinner__sr-label {
5232
+ position: absolute;
5233
+ width: 1px;
5234
+ height: 1px;
5235
+ padding: 0;
5236
+ margin: -1px;
5237
+ overflow: hidden;
5238
+ clip: rect(0, 0, 0, 0);
5239
+ white-space: nowrap;
5240
+ border: 0;
5241
+ }
5242
+
5243
+ /* ─── Reduced motion ──────────────────────────────────── */
5244
+
5245
+ @keyframes muka-spinner-rotate {
5246
+ to {
5247
+ transform: rotate(360deg);
5248
+ }
5249
+ }
5250
+
5251
+ @media (prefers-reduced-motion: reduce) {
5252
+ .muka-spinner__circle {
5253
+ animation-duration: 2.5s;
5254
+ }
5255
+ }
5256
+
5257
+
5174
5258
  /* SpecList */
5175
5259
  /* SpecList Component Styles */
5176
5260
 
@@ -5231,106 +5315,178 @@ body {
5231
5315
 
5232
5316
  /* ─── Label width (horizontal stacking) ───────────────── */
5233
5317
 
5234
- .muka-spec-list--label-small .muka-spec-row__label {
5235
- width: 80px;
5318
+ .muka-spec-list--label-small .muka-spec-row__label {
5319
+ width: 80px;
5320
+ }
5321
+
5322
+ .muka-spec-list--label-medium .muka-spec-row__label {
5323
+ width: 120px;
5324
+ }
5325
+
5326
+ .muka-spec-list--label-large .muka-spec-row__label {
5327
+ width: 160px;
5328
+ }
5329
+
5330
+ /* ─── Vertical stacking ───────────────────────────────── */
5331
+
5332
+ .muka-spec-list--vertical .muka-spec-row {
5333
+ flex-direction: column;
5334
+ gap: var(--spacing-1);
5335
+ }
5336
+
5337
+ .muka-spec-list--vertical .muka-spec-row__label {
5338
+ width: 100%;
5339
+ white-space: normal;
5340
+ }
5341
+
5342
+
5343
+ /* SocialSignInButton */
5344
+ /*
5345
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5346
+ * Google Identity branding) and intentionally fixed across Muka brands —
5347
+ * same exception pattern as LicensePlateInput regulatory colors.
5348
+ *
5349
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5350
+ * Google: https://developers.google.com/identity/branding-guidelines
5351
+ */
5352
+ .muka-social-sign-in-button {
5353
+ --ssi-white: #ffffff;
5354
+ --ssi-black: #000000;
5355
+ --ssi-google-text-light: #1f1f1f;
5356
+
5357
+ display: inline-flex;
5358
+ align-items: center;
5359
+ justify-content: center;
5360
+
5361
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5362
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5363
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5364
+ font-family: inherit;
5365
+ font-weight: 600;
5366
+ text-decoration: none;
5367
+ white-space: nowrap;
5368
+
5369
+ border: 1px solid transparent;
5370
+ cursor: pointer;
5371
+ user-select: none;
5372
+ transition: opacity 0.15s ease, filter 0.15s ease;
5373
+
5374
+ outline: none;
5375
+ position: relative;
5376
+ box-sizing: border-box;
5236
5377
  }
5237
5378
 
5238
- .muka-spec-list--label-medium .muka-spec-row__label {
5239
- width: 120px;
5379
+ .muka-social-sign-in-button--apple {
5380
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5381
+ Helvetica, Arial, sans-serif;
5382
+ font-weight: 600;
5240
5383
  }
5241
5384
 
5242
- .muka-spec-list--label-large .muka-spec-row__label {
5243
- width: 160px;
5385
+ .muka-social-sign-in-button--google {
5386
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5387
+ font-weight: 500;
5244
5388
  }
5245
5389
 
5246
- /* ─── Vertical stacking ───────────────────────────────── */
5247
-
5248
- .muka-spec-list--vertical .muka-spec-row {
5249
- flex-direction: column;
5250
- gap: var(--spacing-1);
5390
+ .muka-social-sign-in-button:focus-visible {
5391
+ outline: 2px solid var(--color-border-focus);
5392
+ outline-offset: 2px;
5251
5393
  }
5252
5394
 
5253
- .muka-spec-list--vertical .muka-spec-row__label {
5254
- width: 100%;
5255
- white-space: normal;
5395
+ /* Sizes — heights align with Button md/lg */
5396
+ .muka-social-sign-in-button--md {
5397
+ padding: 0 var(--button-padding-md-x);
5398
+ border-radius: var(--button-radius-md);
5399
+ font-size: var(--text-label-sm-semibold-fontSize);
5400
+ line-height: var(--text-label-sm-semibold-lineHeight);
5401
+ min-height: 40px;
5402
+ min-width: 240px;
5256
5403
  }
5257
5404
 
5405
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5406
+ padding: 0 var(--button-gap-md);
5407
+ }
5258
5408
 
5259
- /* Spinner */
5260
- /* Spinner Component Styles */
5409
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5410
+ width: var(--button-icon-md);
5411
+ height: var(--button-icon-md);
5412
+ }
5261
5413
 
5262
- .muka-spinner {
5263
- display: inline-flex;
5264
- align-items: center;
5265
- justify-content: center;
5266
- color: var(--color-text-default-default);
5267
- line-height: 0;
5414
+ .muka-social-sign-in-button--lg {
5415
+ padding: 0 var(--button-padding-lg-x);
5416
+ border-radius: var(--button-radius-lg);
5417
+ font-size: var(--text-label-lg-semibold-fontSize);
5418
+ line-height: var(--text-label-lg-semibold-lineHeight);
5419
+ min-height: 48px;
5420
+ min-width: 280px;
5268
5421
  }
5269
5422
 
5270
- .muka-spinner--subtle {
5271
- color: var(--color-text-subtle-default);
5423
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5424
+ padding: 0 var(--button-gap-lg);
5272
5425
  }
5273
5426
 
5274
- .muka-spinner--inverse {
5275
- color: var(--color-text-default-inverse);
5427
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5428
+ width: var(--button-icon-lg);
5429
+ height: var(--button-icon-lg);
5276
5430
  }
5277
5431
 
5278
- .muka-spinner__circle {
5279
- display: inline-block;
5280
- border-radius: 50%;
5281
- border-style: solid;
5282
- border-color: currentColor;
5283
- border-right-color: transparent;
5284
- animation: muka-spinner-rotate 0.7s linear infinite;
5285
- box-sizing: border-box;
5432
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5433
+ .muka-social-sign-in-button--white {
5434
+ background-color: var(--ssi-white);
5435
+ color: var(--ssi-black);
5436
+ border-color: var(--ssi-black);
5286
5437
  }
5287
5438
 
5288
- /* ─── Sizes ───────────────────────────────────────────── */
5439
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5440
+ color: var(--ssi-google-text-light);
5441
+ }
5289
5442
 
5290
- .muka-spinner--sm .muka-spinner__circle {
5291
- width: 16px;
5292
- height: 16px;
5293
- border-width: 2px;
5443
+ /* Black lockup — for light surfaces */
5444
+ .muka-social-sign-in-button--black {
5445
+ background-color: var(--ssi-black);
5446
+ color: var(--ssi-white);
5447
+ border-color: transparent;
5294
5448
  }
5295
5449
 
5296
- .muka-spinner--md .muka-spinner__circle {
5297
- width: 20px;
5298
- height: 20px;
5299
- border-width: 2px;
5450
+ /* Interaction — luminance/opacity only; no brand tint */
5451
+ .muka-social-sign-in-button:hover:not(:disabled) {
5452
+ filter: brightness(0.92);
5300
5453
  }
5301
5454
 
5302
- .muka-spinner--lg .muka-spinner__circle {
5303
- width: 24px;
5304
- height: 24px;
5305
- border-width: 3px;
5455
+ .muka-social-sign-in-button:active:not(:disabled) {
5456
+ filter: brightness(0.85);
5306
5457
  }
5307
5458
 
5308
- /* ─── Visually-hidden label ───────────────────────────── */
5459
+ .muka-social-sign-in-button:disabled,
5460
+ .muka-social-sign-in-button--disabled {
5461
+ cursor: not-allowed;
5462
+ opacity: 0.4;
5463
+ pointer-events: none;
5464
+ filter: none;
5465
+ }
5309
5466
 
5310
- .muka-spinner__sr-label {
5311
- position: absolute;
5312
- width: 1px;
5313
- height: 1px;
5314
- padding: 0;
5315
- margin: -1px;
5316
- overflow: hidden;
5317
- clip: rect(0, 0, 0, 0);
5318
- white-space: nowrap;
5319
- border: 0;
5467
+ .muka-social-sign-in-button--full-width {
5468
+ width: 100%;
5469
+ min-width: 0;
5320
5470
  }
5321
5471
 
5322
- /* ─── Reduced motion ──────────────────────────────────── */
5472
+ .muka-social-sign-in-button__icon {
5473
+ display: inline-flex;
5474
+ align-items: center;
5475
+ justify-content: center;
5476
+ flex-shrink: 0;
5477
+ }
5323
5478
 
5324
- @keyframes muka-spinner-rotate {
5325
- to {
5326
- transform: rotate(360deg);
5327
- }
5479
+ .muka-social-sign-in-button__icon > *,
5480
+ .muka-social-sign-in-button__icon svg {
5481
+ width: auto;
5482
+ height: 100%;
5483
+ max-width: 100%;
5484
+ display: block;
5328
5485
  }
5329
5486
 
5330
- @media (prefers-reduced-motion: reduce) {
5331
- .muka-spinner__circle {
5332
- animation-duration: 2.5s;
5333
- }
5487
+ .muka-social-sign-in-button__label {
5488
+ display: inline-flex;
5489
+ align-items: center;
5334
5490
  }
5335
5491
 
5336
5492
 
@@ -6063,8 +6219,8 @@ body {
6063
6219
  .muka-segmentgroup--sm .muka-segmentgroup__segment {
6064
6220
  padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6065
6221
  height: var(--segmentgroup-segment-height-sm);
6066
- font-size: var(--text-label-sm-fontSize);
6067
- line-height: var(--text-label-sm-lineHeight);
6222
+ font-size: var(--text-label-sm-regular-fontSize);
6223
+ line-height: var(--text-label-sm-leading);
6068
6224
  }
6069
6225
 
6070
6226
  .muka-segmentgroup--md {
@@ -6076,8 +6232,8 @@ body {
6076
6232
  }
6077
6233
  .muka-segmentgroup--md .muka-segmentgroup__segment {
6078
6234
  padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6079
- font-size: var(--text-label-md-fontSize);
6080
- line-height: var(--text-label-md-lineHeight);
6235
+ font-size: var(--text-label-md-regular-fontSize);
6236
+ line-height: var(--text-label-md-leading);
6081
6237
  }
6082
6238
 
6083
6239
  .muka-segmentgroup--lg {
@@ -6090,8 +6246,8 @@ body {
6090
6246
  .muka-segmentgroup--lg .muka-segmentgroup__segment {
6091
6247
  padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6092
6248
  height: 40px;
6093
- font-size: var(--text-label-lg-fontSize);
6094
- line-height: var(--text-label-lg-lineHeight);
6249
+ font-size: var(--text-label-lg-regular-fontSize);
6250
+ line-height: var(--text-label-lg-leading);
6095
6251
  }
6096
6252
 
6097
6253
  /* Icon-only variants */
@@ -6513,8 +6669,8 @@ body {
6513
6669
 
6514
6670
  .muka-recording-bar__time {
6515
6671
  flex: 0 0 auto;
6516
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6517
- line-height: var(--text-label-sm-lineHeight, 1);
6672
+ font-size: var(--text-label-sm-regular-fontSize);
6673
+ line-height: var(--text-label-sm-leading);
6518
6674
  font-variant-numeric: tabular-nums;
6519
6675
  color: var(--color-text-default-default);
6520
6676
  }
@@ -9086,36 +9242,6 @@ button.muka-progress-tracker__tab:focus-visible {
9086
9242
  }
9087
9243
 
9088
9244
 
9089
- /* NumberInput */
9090
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9091
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9092
-
9093
- .muka-numberinput__addon {
9094
- display: inline-flex;
9095
- align-items: center;
9096
- flex: none;
9097
- color: var(--color-text-subtle-default);
9098
- font-family: var(--text-input-md-fontFamily);
9099
- font-size: var(--text-input-md-fontSize);
9100
- line-height: var(--text-input-md-lineHeight);
9101
- user-select: none;
9102
- pointer-events: none;
9103
- white-space: nowrap;
9104
- }
9105
-
9106
- /* Hide the native number spinners — affixes/step API replace them. */
9107
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9108
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9109
- -webkit-appearance: none;
9110
- margin: 0;
9111
- }
9112
-
9113
- .muka-numberinput__field .muka-input__native {
9114
- -moz-appearance: textfield;
9115
- appearance: textfield;
9116
- }
9117
-
9118
-
9119
9245
  /* NavigationTransition */
9120
9246
  /* NavigationTransition Component Styles */
9121
9247
 
@@ -9641,6 +9767,36 @@ button.muka-progress-tracker__tab:focus-visible {
9641
9767
  }
9642
9768
 
9643
9769
 
9770
+ /* NumberInput */
9771
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9772
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9773
+
9774
+ .muka-numberinput__addon {
9775
+ display: inline-flex;
9776
+ align-items: center;
9777
+ flex: none;
9778
+ color: var(--color-text-subtle-default);
9779
+ font-family: var(--text-input-md-fontFamily);
9780
+ font-size: var(--text-input-md-fontSize);
9781
+ line-height: var(--text-input-md-lineHeight);
9782
+ user-select: none;
9783
+ pointer-events: none;
9784
+ white-space: nowrap;
9785
+ }
9786
+
9787
+ /* Hide the native number spinners — affixes/step API replace them. */
9788
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9789
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9790
+ -webkit-appearance: none;
9791
+ margin: 0;
9792
+ }
9793
+
9794
+ .muka-numberinput__field .muka-input__native {
9795
+ -moz-appearance: textfield;
9796
+ appearance: textfield;
9797
+ }
9798
+
9799
+
9644
9800
  /* MediaViewer */
9645
9801
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9646
9802
 
@@ -9959,8 +10115,8 @@ button.muka-progress-tracker__tab:focus-visible {
9959
10115
  /* Typography - using semantic tokens */
9960
10116
  font-family: var(--alias-font-plain-family);
9961
10117
  font-weight: var(--alias-font-plain-weight-semibold, 600);
9962
- font-size: var(--text-label-md-fontSize);
9963
- line-height: var(--text-label-md-lineHeight);
10118
+ font-size: var(--text-label-md-regular-fontSize);
10119
+ line-height: var(--text-label-md-leading);
9964
10120
  color: var(--color-text-default-default);
9965
10121
 
9966
10122
  /* Text handling */
@@ -10001,8 +10157,8 @@ button.muka-progress-tracker__tab:focus-visible {
10001
10157
  gap: var(--spacing-1);
10002
10158
  flex-shrink: 0;
10003
10159
  font-family: var(--alias-font-plain-family);
10004
- font-size: var(--text-body-sm-fontSize);
10005
- line-height: var(--text-body-sm-lineHeight);
10160
+ font-size: var(--text-body-sm-regular-fontSize);
10161
+ line-height: var(--text-body-sm-regular-lineHeight);
10006
10162
  color: var(--color-text-subtle-default);
10007
10163
  white-space: nowrap;
10008
10164
  }
@@ -10028,16 +10184,57 @@ button.muka-progress-tracker__tab:focus-visible {
10028
10184
  background-color: var(--color-border-default);
10029
10185
  }
10030
10186
 
10031
- /* Button and anchor specific styles */
10032
- button.muka-listitem,
10033
- a.muka-listitem {
10034
- text-align: left;
10035
- width: 100%;
10187
+ /* Button and anchor specific styles */
10188
+ button.muka-listitem,
10189
+ a.muka-listitem {
10190
+ text-align: left;
10191
+ width: 100%;
10192
+ }
10193
+
10194
+ /* List item specific styles */
10195
+ li.muka-listitem {
10196
+ list-style: none;
10197
+ }
10198
+
10199
+
10200
+ /* Label */
10201
+ /* Label Component Styles - Using Muka Design Tokens */
10202
+
10203
+ .muka-label {
10204
+ display: inline-flex;
10205
+ align-items: center;
10206
+ color: var(--color-text-default-default);
10207
+ cursor: pointer;
10208
+ }
10209
+
10210
+ .muka-label--sm {
10211
+ font-family: var(--text-label-sm-semibold-fontFamily);
10212
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10213
+ font-size: var(--text-label-sm-semibold-fontSize);
10214
+ line-height: var(--text-label-sm-semibold-lineHeight);
10215
+ }
10216
+
10217
+ .muka-label--md {
10218
+ font-family: var(--text-label-md-semibold-fontFamily);
10219
+ font-weight: var(--text-label-md-semibold-fontWeight);
10220
+ font-size: var(--text-label-md-semibold-fontSize);
10221
+ line-height: var(--text-label-md-semibold-lineHeight);
10222
+ }
10223
+
10224
+ .muka-label--lg {
10225
+ font-family: var(--text-label-lg-semibold-fontFamily);
10226
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10227
+ font-size: var(--text-label-lg-semibold-fontSize);
10228
+ line-height: var(--text-label-lg-semibold-lineHeight);
10036
10229
  }
10037
10230
 
10038
- /* List item specific styles */
10039
- li.muka-listitem {
10040
- list-style: none;
10231
+ .muka-label--disabled {
10232
+ color: var(--color-text-subtle-default);
10233
+ cursor: not-allowed;
10234
+ }
10235
+
10236
+ .muka-label__required {
10237
+ color: var(--color-state-error-default);
10041
10238
  }
10042
10239
 
10043
10240
 
@@ -10234,47 +10431,6 @@ li.muka-listitem {
10234
10431
  }
10235
10432
 
10236
10433
 
10237
- /* Label */
10238
- /* Label Component Styles - Using Muka Design Tokens */
10239
-
10240
- .muka-label {
10241
- display: inline-flex;
10242
- align-items: center;
10243
- color: var(--color-text-default-default);
10244
- cursor: pointer;
10245
- }
10246
-
10247
- .muka-label--sm {
10248
- font-family: var(--text-label-sm-semibold-fontFamily);
10249
- font-weight: var(--text-label-sm-semibold-fontWeight);
10250
- font-size: var(--text-label-sm-semibold-fontSize);
10251
- line-height: var(--text-label-sm-semibold-lineHeight);
10252
- }
10253
-
10254
- .muka-label--md {
10255
- font-family: var(--text-label-md-semibold-fontFamily);
10256
- font-weight: var(--text-label-md-semibold-fontWeight);
10257
- font-size: var(--text-label-md-semibold-fontSize);
10258
- line-height: var(--text-label-md-semibold-lineHeight);
10259
- }
10260
-
10261
- .muka-label--lg {
10262
- font-family: var(--text-label-lg-semibold-fontFamily);
10263
- font-weight: var(--text-label-lg-semibold-fontWeight);
10264
- font-size: var(--text-label-lg-semibold-fontSize);
10265
- line-height: var(--text-label-lg-semibold-lineHeight);
10266
- }
10267
-
10268
- .muka-label--disabled {
10269
- color: var(--color-text-subtle-default);
10270
- cursor: not-allowed;
10271
- }
10272
-
10273
- .muka-label__required {
10274
- color: var(--color-state-error-default);
10275
- }
10276
-
10277
-
10278
10434
  /* InputCounter */
10279
10435
  /* InputCounter — numeric field + joined decrement/increment buttons.
10280
10436
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -10734,6 +10890,26 @@ li.muka-listitem {
10734
10890
  }
10735
10891
 
10736
10892
 
10893
+ /* Form */
10894
+ .muka-form {
10895
+ display: flex;
10896
+ flex-direction: column;
10897
+ width: 100%;
10898
+ }
10899
+
10900
+ .muka-form--gap-sm {
10901
+ gap: var(--size-sm);
10902
+ }
10903
+
10904
+ .muka-form--gap-md {
10905
+ gap: var(--size-md);
10906
+ }
10907
+
10908
+ .muka-form--gap-lg {
10909
+ gap: var(--size-lg);
10910
+ }
10911
+
10912
+
10737
10913
  /* Icon */
10738
10914
  /* Icon Component Styles - Using Muka Design Tokens */
10739
10915
 
@@ -10788,26 +10964,6 @@ li.muka-listitem {
10788
10964
  }
10789
10965
 
10790
10966
 
10791
- /* Form */
10792
- .muka-form {
10793
- display: flex;
10794
- flex-direction: column;
10795
- width: 100%;
10796
- }
10797
-
10798
- .muka-form--gap-sm {
10799
- gap: var(--size-sm);
10800
- }
10801
-
10802
- .muka-form--gap-md {
10803
- gap: var(--size-md);
10804
- }
10805
-
10806
- .muka-form--gap-lg {
10807
- gap: var(--size-lg);
10808
- }
10809
-
10810
-
10811
10967
  /* FileUpload */
10812
10968
  /* FileUpload Component Styles */
10813
10969
 
@@ -11854,8 +12010,8 @@ li.muka-listitem {
11854
12010
  padding: var(--spacing-1) var(--spacing-2);
11855
12011
  text-align: center;
11856
12012
  font-family: var(--alias-font-brand-family);
11857
- font-size: var(--text-label-sm-fontSize);
11858
- line-height: var(--text-label-sm-lineHeight);
12013
+ font-size: var(--text-label-sm-regular-fontSize);
12014
+ line-height: var(--text-label-sm-leading);
11859
12015
  border: 1px solid var(--color-border-default);
11860
12016
  border-radius: var(--border-radius-md);
11861
12017
  background-color: var(--color-surface-level0);
@@ -11870,7 +12026,7 @@ li.muka-listitem {
11870
12026
 
11871
12027
  .muka-documentviewer__page-total {
11872
12028
  font-family: var(--alias-font-brand-family);
11873
- font-size: var(--text-label-sm-fontSize);
12029
+ font-size: var(--text-label-sm-regular-fontSize);
11874
12030
  color: var(--color-text-subtle-default);
11875
12031
  }
11876
12032
 
@@ -11879,7 +12035,7 @@ li.muka-listitem {
11879
12035
  min-width: var(--documentviewer-zoom-button-width);
11880
12036
  padding: var(--spacing-1) var(--spacing-2);
11881
12037
  font-family: var(--alias-font-brand-family);
11882
- font-size: var(--text-label-sm-fontSize);
12038
+ font-size: var(--text-label-sm-regular-fontSize);
11883
12039
  font-weight: var(--alias-font-brand-weight-semibold);
11884
12040
  color: var(--color-text-default-default);
11885
12041
  background: transparent;
@@ -11941,7 +12097,7 @@ li.muka-listitem {
11941
12097
  text-align: center;
11942
12098
  padding: var(--spacing-2);
11943
12099
  font-family: var(--alias-font-brand-family);
11944
- font-size: var(--text-label-sm-fontSize);
12100
+ font-size: var(--text-label-sm-regular-fontSize);
11945
12101
  color: var(--color-text-subtle-default);
11946
12102
  }
11947
12103
 
@@ -17670,153 +17826,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17670
17826
  border-bottom: none;
17671
17827
  }
17672
17828
 
17673
-
17674
- /* SocialSignInButton */
17675
- /*
17676
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17677
- * Google Identity branding) and intentionally fixed across Muka brands —
17678
- * same exception pattern as LicensePlateInput regulatory colors.
17679
- *
17680
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17681
- * Google: https://developers.google.com/identity/branding-guidelines
17682
- */
17683
- .muka-social-sign-in-button {
17684
- --ssi-white: #ffffff;
17685
- --ssi-black: #000000;
17686
- --ssi-google-text-light: #1f1f1f;
17687
-
17688
- display: inline-flex;
17689
- align-items: center;
17690
- justify-content: center;
17691
-
17692
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17693
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17694
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17695
- font-family: inherit;
17696
- font-weight: 600;
17697
- text-decoration: none;
17698
- white-space: nowrap;
17699
-
17700
- border: 1px solid transparent;
17701
- cursor: pointer;
17702
- user-select: none;
17703
- transition: opacity 0.15s ease, filter 0.15s ease;
17704
-
17705
- outline: none;
17706
- position: relative;
17707
- box-sizing: border-box;
17708
- }
17709
-
17710
- .muka-social-sign-in-button--apple {
17711
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17712
- Helvetica, Arial, sans-serif;
17713
- font-weight: 600;
17714
- }
17715
-
17716
- .muka-social-sign-in-button--google {
17717
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17718
- font-weight: 500;
17719
- }
17720
-
17721
- .muka-social-sign-in-button:focus-visible {
17722
- outline: 2px solid var(--color-border-focus);
17723
- outline-offset: 2px;
17724
- }
17725
-
17726
- /* Sizes — heights align with Button md/lg */
17727
- .muka-social-sign-in-button--md {
17728
- padding: 0 var(--button-padding-md-x);
17729
- border-radius: var(--button-radius-md);
17730
- font-size: var(--text-label-sm-semibold-fontSize);
17731
- line-height: var(--text-label-sm-semibold-lineHeight);
17732
- min-height: 40px;
17733
- min-width: 240px;
17734
- }
17735
-
17736
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17737
- padding: 0 var(--button-gap-md);
17738
- }
17739
-
17740
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17741
- width: var(--button-icon-md);
17742
- height: var(--button-icon-md);
17743
- }
17744
-
17745
- .muka-social-sign-in-button--lg {
17746
- padding: 0 var(--button-padding-lg-x);
17747
- border-radius: var(--button-radius-lg);
17748
- font-size: var(--text-label-lg-semibold-fontSize);
17749
- line-height: var(--text-label-lg-semibold-lineHeight);
17750
- min-height: 48px;
17751
- min-width: 280px;
17752
- }
17753
-
17754
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17755
- padding: 0 var(--button-gap-lg);
17756
- }
17757
-
17758
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17759
- width: var(--button-icon-lg);
17760
- height: var(--button-icon-lg);
17761
- }
17762
-
17763
- /* White lockup — for dark surfaces (Apple White with Outline) */
17764
- .muka-social-sign-in-button--white {
17765
- background-color: var(--ssi-white);
17766
- color: var(--ssi-black);
17767
- border-color: var(--ssi-black);
17768
- }
17769
-
17770
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17771
- color: var(--ssi-google-text-light);
17772
- }
17773
-
17774
- /* Black lockup — for light surfaces */
17775
- .muka-social-sign-in-button--black {
17776
- background-color: var(--ssi-black);
17777
- color: var(--ssi-white);
17778
- border-color: transparent;
17779
- }
17780
-
17781
- /* Interaction — luminance/opacity only; no brand tint */
17782
- .muka-social-sign-in-button:hover:not(:disabled) {
17783
- filter: brightness(0.92);
17784
- }
17785
-
17786
- .muka-social-sign-in-button:active:not(:disabled) {
17787
- filter: brightness(0.85);
17788
- }
17789
-
17790
- .muka-social-sign-in-button:disabled,
17791
- .muka-social-sign-in-button--disabled {
17792
- cursor: not-allowed;
17793
- opacity: 0.4;
17794
- pointer-events: none;
17795
- filter: none;
17796
- }
17797
-
17798
- .muka-social-sign-in-button--full-width {
17799
- width: 100%;
17800
- min-width: 0;
17801
- }
17802
-
17803
- .muka-social-sign-in-button__icon {
17804
- display: inline-flex;
17805
- align-items: center;
17806
- justify-content: center;
17807
- flex-shrink: 0;
17808
- }
17809
-
17810
- .muka-social-sign-in-button__icon > *,
17811
- .muka-social-sign-in-button__icon svg {
17812
- width: auto;
17813
- height: 100%;
17814
- max-width: 100%;
17815
- display: block;
17816
- }
17817
-
17818
- .muka-social-sign-in-button__label {
17819
- display: inline-flex;
17820
- align-items: center;
17821
- }
17822
-