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