@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
@@ -153,6 +153,9 @@ body {
153
153
  --font-lineHeight-4xl: 2.5rem;
154
154
  --font-lineHeight-5xl: 3rem;
155
155
  --font-lineHeight-6xl: 4rem;
156
+ --font-leading-sm: 1.25rem;
157
+ --font-leading-md: 1.5rem;
158
+ --font-leading-lg: 1.75rem;
156
159
  --font-letterSpacing-tighter: -0.05em;
157
160
  --font-letterSpacing-tight: -0.025em;
158
161
  --font-letterSpacing-normal: 0;
@@ -1419,6 +1422,7 @@ body {
1419
1422
  --text-label-sm-bold-fontWeight: 700;
1420
1423
  --text-label-sm-bold-fontSize: 0.875rem;
1421
1424
  --text-label-sm-bold-lineHeight: 0.875rem;
1425
+ --text-label-sm-leading: 1.25rem;
1422
1426
  --text-label-md-regular-fontFamily: Roboto;
1423
1427
  --text-label-md-regular-fontWeight: 400;
1424
1428
  --text-label-md-regular-fontSize: 1rem;
@@ -1431,6 +1435,7 @@ body {
1431
1435
  --text-label-md-bold-fontWeight: 700;
1432
1436
  --text-label-md-bold-fontSize: 1rem;
1433
1437
  --text-label-md-bold-lineHeight: 1rem;
1438
+ --text-label-md-leading: 1.5rem;
1434
1439
  --text-label-lg-regular-fontFamily: Roboto;
1435
1440
  --text-label-lg-regular-fontWeight: 400;
1436
1441
  --text-label-lg-regular-fontSize: 1.125rem;
@@ -1443,6 +1448,7 @@ body {
1443
1448
  --text-label-lg-bold-fontWeight: 700;
1444
1449
  --text-label-lg-bold-fontSize: 1.125rem;
1445
1450
  --text-label-lg-bold-lineHeight: 1.125rem;
1451
+ --text-label-lg-leading: 1.75rem;
1446
1452
  --text-label-xl-regular-fontFamily: Roboto;
1447
1453
  --text-label-xl-regular-fontWeight: 400;
1448
1454
  --text-label-xl-regular-fontSize: 1.25rem;
@@ -2521,8 +2527,8 @@ body {
2521
2527
  .muka-voice-message__time {
2522
2528
  flex: 0 0 auto;
2523
2529
  white-space: nowrap;
2524
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2525
- line-height: var(--text-label-sm-lineHeight, 1);
2530
+ font-size: var(--text-label-sm-regular-fontSize);
2531
+ line-height: var(--text-label-sm-leading);
2526
2532
  font-variant-numeric: tabular-nums;
2527
2533
  color: var(--color-text-subtle-default);
2528
2534
  }
@@ -3611,985 +3617,985 @@ body {
3611
3617
  }
3612
3618
 
3613
3619
 
3614
- /* Thumbnail */
3615
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3620
+ /* Tile */
3621
+ /* Tile Component Styles - Using Muka Design Tokens */
3616
3622
 
3617
- .muka-thumbnail {
3618
- position: relative;
3619
- flex-shrink: 0;
3620
- }
3623
+ /* ─── Base ────────────────────────────────────────────── */
3621
3624
 
3622
- /* The frame carries the border, background and shape clip. Keeping it separate
3623
- from the root lets the remove (×) button sit outside the clip (needed for the
3624
- circular/ellipse shape, whose corners would otherwise clip the button). */
3625
- .muka-thumbnail__frame {
3626
- position: absolute;
3627
- inset: 0;
3628
- overflow: hidden;
3629
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3630
- border-radius: var(--border-radius-lg);
3631
- background-color: var(--color-surface-level1);
3625
+ .muka-tile {
3626
+ display: flex;
3627
+ color: var(--color-text-default-default);
3632
3628
  }
3633
3629
 
3634
- /* ─── Shapes ──────────────────────────────────────────── */
3635
- .muka-thumbnail--4-3 {
3636
- width: 160px;
3637
- height: 120px;
3630
+ .muka-tile--interactive {
3631
+ cursor: pointer;
3632
+ user-select: none;
3638
3633
  }
3639
3634
 
3640
- .muka-thumbnail--1-1 {
3641
- width: 120px;
3642
- height: 120px;
3635
+ .muka-tile--interactive:focus-visible {
3636
+ outline: 2px solid var(--color-border-focus);
3637
+ outline-offset: 2px;
3638
+ border-radius: var(--border-radius-lg);
3643
3639
  }
3644
3640
 
3645
- .muka-thumbnail--ellipse {
3646
- width: 120px;
3647
- height: 120px;
3648
- }
3641
+ /* ─── Image position variants ─────────────────────────── */
3649
3642
 
3650
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3651
- .muka-thumbnail--fluid {
3652
- width: 100%;
3653
- height: auto;
3654
- aspect-ratio: 1 / 1;
3643
+ .muka-tile--image-top {
3644
+ flex-direction: column;
3655
3645
  }
3656
3646
 
3657
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3658
- aspect-ratio: 4 / 3;
3647
+ .muka-tile--image-left {
3648
+ flex-direction: row;
3659
3649
  }
3660
3650
 
3661
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3662
- border-radius: var(--border-radius-full);
3651
+ .muka-tile--image-right {
3652
+ flex-direction: row;
3663
3653
  }
3664
3654
 
3665
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3666
- interactive hover zoom has a clean origin. */
3667
- .muka-thumbnail__image {
3668
- position: absolute;
3669
- inset: 0;
3670
- width: 100%;
3671
- height: 100%;
3672
- object-fit: cover;
3673
- display: block;
3674
- transform-origin: center;
3675
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3676
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3677
- }
3655
+ /* ─── Gap by size (top) ───────────────────────────────── */
3678
3656
 
3679
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3680
- .muka-thumbnail__trigger {
3681
- position: absolute;
3682
- inset: 0;
3683
- padding: 0;
3684
- border: 0;
3685
- background: none;
3686
- cursor: pointer;
3687
- overflow: hidden;
3657
+ .muka-tile--image-top.muka-tile--lg {
3658
+ gap: var(--spacing-6);
3688
3659
  }
3689
3660
 
3690
- .muka-thumbnail__trigger:focus-visible {
3691
- outline: 2px solid var(--color-border-focus);
3692
- outline-offset: -2px;
3661
+ .muka-tile--image-top.muka-tile--md {
3662
+ gap: var(--spacing-6);
3663
+ width: 320px;
3693
3664
  }
3694
3665
 
3695
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3696
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3697
- transform: scale(1.05);
3666
+ .muka-tile--image-top.muka-tile--sm {
3667
+ gap: var(--spacing-4);
3668
+ min-width: 120px;
3698
3669
  }
3699
3670
 
3700
- /* ─── Loading overlay + progress donut ────────────────── */
3701
- .muka-thumbnail__overlay {
3702
- position: absolute;
3703
- inset: 0;
3704
- display: flex;
3671
+ /* ─── Gap by size (left/right) ────────────────────────── */
3672
+
3673
+ .muka-tile--image-left.muka-tile--lg,
3674
+ .muka-tile--image-right.muka-tile--lg {
3675
+ gap: var(--spacing-6);
3705
3676
  align-items: center;
3706
- justify-content: center;
3707
- background-color: var(--dialog-color-backdrop);
3708
3677
  }
3709
3678
 
3710
- .muka-thumbnail__progress {
3711
- width: 40px;
3712
- height: 40px;
3679
+ .muka-tile--image-left.muka-tile--md,
3680
+ .muka-tile--image-right.muka-tile--md {
3681
+ gap: var(--spacing-6);
3682
+ align-items: center;
3713
3683
  }
3714
3684
 
3715
- /* ─── Error / corrupt state ───────────────────────────── */
3716
- .muka-thumbnail--error .muka-thumbnail__frame {
3717
- background-color: var(--alias-color-state-error-muted);
3718
- border-color: var(--alias-color-state-error-default);
3685
+ .muka-tile--image-left.muka-tile--sm,
3686
+ .muka-tile--image-right.muka-tile--sm {
3687
+ gap: var(--spacing-4);
3688
+ align-items: flex-start;
3719
3689
  }
3720
3690
 
3721
- .muka-thumbnail__error {
3722
- position: absolute;
3723
- inset: 0;
3691
+ /* ─── Photos container ────────────────────────────────── */
3692
+
3693
+ .muka-tile__photos {
3694
+ position: relative;
3695
+ flex-shrink: 0;
3696
+ overflow: hidden;
3724
3697
  display: flex;
3725
3698
  flex-direction: column;
3726
- align-items: center;
3727
- justify-content: center;
3728
- gap: var(--spacing-2);
3729
- padding: var(--spacing-3);
3730
- text-align: center;
3699
+ isolation: isolate;
3731
3700
  }
3732
3701
 
3733
- .muka-thumbnail__error-icon {
3734
- color: var(--alert-color-error-accent);
3702
+ /* Photos border radius by size */
3703
+ .muka-tile--lg .muka-tile__photos,
3704
+ .muka-tile--md .muka-tile__photos {
3705
+ border-radius: var(--border-radius-lg);
3735
3706
  }
3736
3707
 
3737
- .muka-thumbnail__caption {
3738
- max-width: 100%;
3739
- overflow: hidden;
3740
- text-overflow: ellipsis;
3741
- white-space: nowrap;
3742
- color: var(--alert-color-error-accent);
3743
- font-family: var(--text-body-sm-regular-fontFamily);
3744
- font-size: var(--text-body-sm-regular-fontSize);
3745
- font-weight: var(--text-body-sm-regular-fontWeight);
3746
- line-height: var(--text-body-sm-regular-lineHeight);
3708
+ .muka-tile--sm .muka-tile__photos {
3709
+ border-radius: var(--border-radius-md);
3747
3710
  }
3748
3711
 
3749
- /* ─── Remove (×) button ───────────────────────────────── */
3750
- .muka-thumbnail__remove {
3751
- position: absolute;
3752
- top: var(--spacing-2);
3753
- right: var(--spacing-2);
3754
- display: flex;
3755
- align-items: center;
3756
- justify-content: center;
3757
- width: var(--size-2xl);
3758
- height: var(--size-2xl);
3759
- padding: 0;
3760
- color: var(--button-color-tertiary-foreground-default);
3761
- background-color: var(--button-color-tertiary-background-default);
3762
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3763
- border-radius: var(--border-radius-lg);
3764
- cursor: pointer;
3765
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3766
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3712
+ /* Photos sizing: top layout */
3713
+ .muka-tile--image-top .muka-tile__photos {
3714
+ width: 100%;
3767
3715
  }
3768
3716
 
3769
- .muka-thumbnail__remove:hover {
3770
- color: var(--button-color-tertiary-foreground-hover);
3771
- background-color: var(--button-color-tertiary-background-hover);
3772
- border-color: var(--button-color-tertiary-border-hover);
3717
+ /* Photos sizing: left/right large */
3718
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3719
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3720
+ width: 520px;
3773
3721
  }
3774
3722
 
3775
- .muka-thumbnail__remove:active {
3776
- color: var(--button-color-tertiary-foreground-pressed);
3777
- background-color: var(--button-color-tertiary-background-pressed);
3778
- border-color: var(--button-color-tertiary-border-pressed);
3723
+ /* Photos sizing: left/right medium */
3724
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3725
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3726
+ width: 320px;
3779
3727
  }
3780
3728
 
3781
- .muka-thumbnail__remove:focus-visible {
3782
- outline: 2px solid var(--color-border-focus);
3783
- outline-offset: 2px;
3729
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3730
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3731
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3732
+ width: 80px;
3733
+ align-self: stretch;
3784
3734
  }
3785
3735
 
3786
- /* ─── Reduced motion ──────────────────────────────────── */
3787
- @media (prefers-reduced-motion: reduce) {
3788
- .muka-thumbnail__image,
3789
- .muka-thumbnail__remove {
3790
- transition: none;
3791
- }
3736
+ /* ─── Main photo ──────────────────────────────────────── */
3792
3737
 
3793
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3794
- transform: none;
3795
- }
3738
+ .muka-tile__photo-main {
3739
+ position: relative;
3740
+ width: 100%;
3741
+ overflow: hidden;
3742
+ flex-shrink: 0;
3796
3743
  }
3797
3744
 
3798
-
3799
- /* Textarea */
3800
- /* Textarea Component Styles - Using Muka Design Tokens */
3801
-
3802
- .muka-textarea {
3803
- display: inline-flex;
3804
- flex-direction: column;
3805
- gap: var(--spacing-2);
3745
+ /* 16:9 aspect for lg and md */
3746
+ .muka-tile--lg .muka-tile__photo-main,
3747
+ .muka-tile--md .muka-tile__photo-main {
3748
+ aspect-ratio: 1280 / 720;
3806
3749
  }
3807
3750
 
3808
- /* Label */
3809
- .muka-textarea__label {
3810
- color: var(--color-text-default-default);
3811
- cursor: pointer;
3751
+ /* 1:1 aspect for top + sm */
3752
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3753
+ aspect-ratio: 1 / 1;
3812
3754
  }
3813
3755
 
3814
- .muka-textarea__label--sm {
3815
- font-family: var(--text-label-sm-semibold-fontFamily);
3816
- font-weight: var(--text-label-sm-semibold-fontWeight);
3817
- font-size: var(--text-label-sm-semibold-fontSize);
3818
- line-height: var(--text-label-sm-semibold-lineHeight);
3756
+ /* Fixed size for left/right + sm */
3757
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3758
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3759
+ width: 80px;
3760
+ height: 80px;
3761
+ aspect-ratio: auto;
3819
3762
  }
3820
3763
 
3821
- .muka-textarea__label--md {
3822
- font-family: var(--text-label-md-semibold-fontFamily);
3823
- font-weight: var(--text-label-md-semibold-fontWeight);
3824
- font-size: var(--text-label-md-semibold-fontSize);
3825
- line-height: var(--text-label-md-semibold-lineHeight);
3764
+ .muka-tile__photo-main img {
3765
+ width: 100%;
3766
+ height: 100%;
3767
+ object-fit: cover;
3768
+ display: block;
3826
3769
  }
3827
3770
 
3828
- .muka-textarea__label--lg {
3829
- font-family: var(--text-label-lg-semibold-fontFamily);
3830
- font-weight: var(--text-label-lg-semibold-fontWeight);
3831
- font-size: var(--text-label-lg-semibold-fontSize);
3832
- line-height: var(--text-label-lg-semibold-lineHeight);
3771
+ /* ─── Favourite overlay ───────────────────────────────── */
3772
+
3773
+ .muka-tile__favourite {
3774
+ position: absolute;
3775
+ z-index: 3;
3833
3776
  }
3834
3777
 
3835
- .muka-textarea__required {
3836
- color: var(--color-state-error-default);
3778
+ .muka-tile--lg .muka-tile__favourite,
3779
+ .muka-tile--md .muka-tile__favourite {
3780
+ top: var(--spacing-4);
3781
+ right: var(--spacing-4);
3837
3782
  }
3838
3783
 
3839
- /* Field container */
3840
- .muka-textarea__field {
3784
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3785
+ top: var(--spacing-1);
3786
+ right: var(--spacing-1);
3787
+ }
3788
+
3789
+ /* ─── Thumbnails ──────────────────────────────────────── */
3790
+
3791
+ .muka-tile__thumbnails {
3841
3792
  display: flex;
3842
- background-color: var(--input-field-color-default-background);
3843
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3844
- border-radius: var(--input-field-radius-md);
3845
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3846
- transition: border-color 0.2s ease, background-color 0.2s ease;
3847
- box-sizing: border-box;
3793
+ gap: 2px;
3794
+ overflow: hidden;
3795
+ flex-shrink: 0;
3796
+ height: 80px;
3848
3797
  }
3849
3798
 
3850
- .muka-textarea__field--sm {
3851
- min-height: var(--input-textarea-height-sm);
3852
- border-radius: var(--input-field-radius-sm);
3799
+ .muka-tile__thumbnail {
3800
+ width: 80px;
3801
+ height: 80px;
3802
+ flex-shrink: 0;
3803
+ overflow: hidden;
3853
3804
  }
3854
3805
 
3855
- .muka-textarea__field--md {
3856
- min-height: var(--input-textarea-height-default);
3857
- border-radius: var(--input-field-radius-md);
3806
+ .muka-tile__thumbnail img {
3807
+ width: 100%;
3808
+ height: 100%;
3809
+ object-fit: cover;
3810
+ display: block;
3858
3811
  }
3859
3812
 
3860
- .muka-textarea__field--lg {
3861
- min-height: var(--input-textarea-height-lg);
3862
- border-radius: var(--input-field-radius-lg);
3813
+ /* Gap between main photo and thumbnails */
3814
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3815
+ margin-top: 2px;
3863
3816
  }
3864
3817
 
3865
- /* Focus state */
3866
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3867
- border-width: var(--border-width-bold);
3868
- border-color: var(--input-field-color-focus-border);
3869
- background-color: var(--input-field-color-focus-background);
3870
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3818
+ /* ─── Content section ─────────────────────────────────── */
3819
+
3820
+ .muka-tile__content {
3821
+ display: flex;
3822
+ flex-direction: column;
3823
+ flex: 1;
3824
+ min-width: 0;
3871
3825
  }
3872
3826
 
3873
- /* Error state */
3874
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3875
- border-width: var(--border-width-bold);
3876
- border-color: var(--input-field-color-error-border);
3877
- background-color: var(--input-field-color-error-background);
3878
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3827
+ /* Top layout: content has horizontal padding */
3828
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3829
+ padding: 0 var(--spacing-3);
3830
+ gap: var(--spacing-1);
3879
3831
  }
3880
3832
 
3881
- /* Disabled state */
3882
- .muka-textarea__field--disabled {
3883
- background-color: var(--input-field-color-disabled-background);
3884
- border-color: var(--input-field-color-disabled-border);
3885
- cursor: not-allowed;
3833
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3834
+ padding: 0 var(--spacing-3);
3835
+ gap: var(--spacing-2);
3886
3836
  }
3887
3837
 
3888
- /* Native textarea */
3889
- .muka-textarea__native {
3890
- flex: 1;
3891
- border: none;
3892
- outline: none;
3893
- background: transparent;
3894
- color: var(--input-field-color-default-foreground);
3895
- font-family: var(--text-input-md-fontFamily);
3896
- font-weight: var(--text-input-md-fontWeight);
3897
- font-size: var(--text-input-md-fontSize);
3898
- line-height: var(--text-input-md-lineHeight);
3899
- padding: 0;
3900
- width: 100%;
3901
- min-width: 0;
3838
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3839
+ gap: var(--spacing-2);
3902
3840
  }
3903
3841
 
3904
- .muka-textarea__field--sm .muka-textarea__native {
3905
- font-family: var(--text-input-sm-fontFamily);
3906
- font-weight: var(--text-input-sm-fontWeight);
3907
- font-size: var(--text-input-sm-fontSize);
3908
- line-height: var(--text-input-sm-lineHeight);
3842
+ /* Left/right layout: content grows to fill space */
3843
+ .muka-tile--image-left .muka-tile__content,
3844
+ .muka-tile--image-right .muka-tile__content {
3845
+ gap: var(--spacing-3);
3909
3846
  }
3910
3847
 
3911
- .muka-textarea__field--lg .muka-textarea__native {
3912
- font-family: var(--text-input-lg-fontFamily);
3913
- font-weight: var(--text-input-lg-fontWeight);
3914
- font-size: var(--text-input-lg-fontSize);
3915
- line-height: var(--text-input-lg-lineHeight);
3848
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3849
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3850
+ padding: 0 var(--spacing-3);
3916
3851
  }
3917
3852
 
3918
- .muka-textarea__native::placeholder {
3919
- color: var(--color-text-subtle-default);
3853
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3854
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3855
+ padding: var(--spacing-2) var(--spacing-3);
3920
3856
  }
3921
3857
 
3922
- .muka-textarea__field--disabled .muka-textarea__native {
3923
- color: var(--input-field-color-disabled-foreground);
3924
- cursor: not-allowed;
3858
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3859
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3860
+ gap: var(--spacing-2);
3925
3861
  }
3926
3862
 
3927
- /* Footer (helper/error + count) */
3928
- .muka-textarea__footer {
3863
+ /* ─── Header (heading row + price) ────────────────────── */
3864
+
3865
+ .muka-tile__header {
3929
3866
  display: flex;
3930
- justify-content: space-between;
3931
3867
  align-items: flex-start;
3868
+ gap: var(--spacing-4);
3869
+ }
3870
+
3871
+ /* Small horizontal: row with text and action */
3872
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3932
3873
  gap: var(--spacing-2);
3874
+ align-items: center;
3875
+ padding-top: var(--spacing-1);
3933
3876
  }
3934
3877
 
3935
- .muka-textarea__helper {
3936
- font-family: var(--text-label-sm-regular-fontFamily);
3937
- font-weight: var(--text-label-sm-regular-fontWeight);
3938
- font-size: var(--text-label-sm-regular-fontSize);
3939
- line-height: var(--text-label-sm-regular-lineHeight);
3940
- color: var(--color-text-subtle-default);
3941
- margin: 0;
3878
+ /* ─── Text group ──────────────────────────────────────── */
3879
+
3880
+ .muka-tile__text {
3881
+ display: flex;
3882
+ flex-direction: column;
3883
+ flex: 1;
3884
+ min-width: 0;
3885
+ gap: var(--spacing-2);
3942
3886
  }
3943
3887
 
3944
- .muka-textarea__error {
3945
- font-family: var(--text-label-sm-regular-fontFamily);
3946
- font-weight: var(--text-label-sm-regular-fontWeight);
3947
- font-size: var(--text-label-sm-regular-fontSize);
3948
- line-height: var(--text-label-sm-regular-lineHeight);
3949
- color: var(--color-state-error-default);
3888
+ /* ─── Heading typography ──────────────────────────────── */
3889
+
3890
+ .muka-tile__heading {
3950
3891
  margin: 0;
3951
3892
  }
3952
3893
 
3953
- .muka-textarea__count {
3954
- font-family: var(--text-label-sm-regular-fontFamily);
3955
- font-weight: var(--text-label-sm-regular-fontWeight);
3956
- font-size: var(--text-label-sm-regular-fontSize);
3957
- line-height: var(--text-label-sm-regular-lineHeight);
3958
- color: var(--color-text-subtle-default);
3959
- margin-left: auto;
3894
+ .muka-tile--lg .muka-tile__heading {
3895
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3896
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3897
+ font-size: var(--text-label-2xl-semibold-fontSize);
3898
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3899
+ color: var(--color-text-default-default);
3960
3900
  }
3961
3901
 
3902
+ .muka-tile--md .muka-tile__heading {
3903
+ font-family: var(--text-label-xl-semibold-fontFamily);
3904
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3905
+ font-size: var(--text-label-xl-semibold-fontSize);
3906
+ line-height: var(--text-label-xl-semibold-lineHeight);
3907
+ color: var(--color-text-default-default);
3908
+ }
3962
3909
 
3963
- /* TextLink */
3964
- /* TextLink Component Styles - Using Muka Design Tokens */
3910
+ .muka-tile--sm .muka-tile__heading {
3911
+ font-family: var(--text-label-lg-bold-fontFamily);
3912
+ font-weight: var(--text-label-lg-bold-fontWeight);
3913
+ font-size: var(--text-label-lg-bold-fontSize);
3914
+ line-height: var(--text-label-lg-bold-lineHeight);
3915
+ color: var(--color-text-default-default);
3916
+ }
3965
3917
 
3966
- .muka-text-link {
3967
- display: inline;
3968
- cursor: pointer;
3969
- text-decoration: underline;
3970
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3971
- text-underline-offset: 0.2em;
3972
- text-decoration-thickness: from-font;
3973
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3974
- border-radius: var(--border-radius-sm);
3975
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3918
+ /* ─── Subheading typography ───────────────────────────── */
3919
+
3920
+ .muka-tile__subheading {
3921
+ margin: 0;
3922
+ color: var(--color-text-subtle-default);
3976
3923
  }
3977
3924
 
3978
- /* ─── Sizes ───────────────────────────────────────────────
3979
- Mirrors the body text scale so a link matches the copy it sits in. */
3980
- .muka-text-link--sm {
3981
- font-family: var(--text-body-sm-regular-fontFamily);
3982
- font-weight: var(--text-body-sm-regular-fontWeight);
3983
- font-size: var(--text-body-sm-regular-fontSize);
3984
- line-height: var(--text-body-sm-regular-lineHeight);
3925
+ .muka-tile--lg .muka-tile__subheading {
3926
+ font-family: var(--text-subheading-md-fontFamily);
3927
+ font-weight: var(--text-subheading-md-fontWeight);
3928
+ font-size: var(--text-subheading-md-fontSize);
3929
+ line-height: var(--text-subheading-md-lineHeight);
3985
3930
  }
3986
3931
 
3987
- .muka-text-link--base {
3988
- font-family: var(--text-body-base-regular-fontFamily);
3989
- font-weight: var(--text-body-base-regular-fontWeight);
3990
- font-size: var(--text-body-base-regular-fontSize);
3991
- line-height: var(--text-body-base-regular-lineHeight);
3932
+ .muka-tile--md .muka-tile__subheading,
3933
+ .muka-tile--sm .muka-tile__subheading {
3934
+ font-family: var(--text-subheading-sm-fontFamily);
3935
+ font-weight: var(--text-subheading-sm-fontWeight);
3936
+ font-size: var(--text-subheading-sm-fontSize);
3937
+ line-height: var(--text-subheading-sm-lineHeight);
3992
3938
  }
3993
3939
 
3994
- .muka-text-link--lg {
3940
+ /* ─── Description typography ──────────────────────────── */
3941
+
3942
+ .muka-tile__description {
3943
+ margin: 0;
3944
+ color: var(--color-text-default-default);
3945
+ }
3946
+
3947
+ .muka-tile--lg .muka-tile__description {
3995
3948
  font-family: var(--text-body-lg-regular-fontFamily);
3996
3949
  font-weight: var(--text-body-lg-regular-fontWeight);
3997
3950
  font-size: var(--text-body-lg-regular-fontSize);
3998
3951
  line-height: var(--text-body-lg-regular-lineHeight);
3999
3952
  }
4000
3953
 
4001
- /* ─── Variant: default (accent) ───────────────────────────
4002
- Visited repeats the default colour on purpose: the design treats visited and
4003
- default the same, and pinning it stops the browser's purple from showing. */
4004
- .muka-text-link--default,
4005
- .muka-text-link--default:visited {
4006
- color: var(--color-text-action-default);
3954
+ .muka-tile--md .muka-tile__description,
3955
+ .muka-tile--sm .muka-tile__description {
3956
+ font-family: var(--text-body-base-regular-fontFamily);
3957
+ font-weight: var(--text-body-base-regular-fontWeight);
3958
+ font-size: var(--text-body-base-regular-fontSize);
3959
+ line-height: var(--text-body-base-regular-lineHeight);
4007
3960
  }
4008
3961
 
4009
- .muka-text-link--default:hover,
4010
- .muka-text-link--default:focus-visible {
4011
- color: var(--color-text-action-hover);
4012
- }
4013
-
4014
- .muka-text-link--default:active {
4015
- color: var(--color-text-action-pressed);
3962
+ /* Description overflow for medium */
3963
+ .muka-tile--md .muka-tile__description {
3964
+ overflow: hidden;
3965
+ text-overflow: ellipsis;
4016
3966
  }
4017
3967
 
4018
- /* ─── Variant: subtle (neutral) ───────────────────────────
4019
- Hover, focus and pressed all darken to the default text colour. */
4020
- .muka-text-link--subtle,
4021
- .muka-text-link--subtle:visited {
4022
- color: var(--color-text-subtle-default);
4023
- }
3968
+ /* ─── Price slot ──────────────────────────────────────── */
4024
3969
 
4025
- .muka-text-link--subtle:hover,
4026
- .muka-text-link--subtle:focus-visible,
4027
- .muka-text-link--subtle:active {
4028
- color: var(--color-text-default-default);
3970
+ .muka-tile__price {
3971
+ flex-shrink: 0;
4029
3972
  }
4030
3973
 
4031
- /* ─── Focus ───────────────────────────────────────────────
4032
- Same ring as every other focusable Muka component. */
4033
- .muka-text-link:focus-visible {
4034
- outline: 2px solid var(--color-border-focus);
4035
- outline-offset: 2px;
4036
- }
3974
+ /* ─── Action slot ─────────────────────────────────────── */
4037
3975
 
4038
- @media (prefers-reduced-motion: reduce) {
4039
- .muka-text-link {
4040
- transition: none;
4041
- }
3976
+ .muka-tile__action {
3977
+ flex-shrink: 0;
4042
3978
  }
4043
3979
 
4044
3980
 
4045
- /* Tabs */
4046
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
3981
+ /* Thumbnail */
3982
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4047
3983
 
4048
- .muka-tabs {
4049
- display: flex;
4050
- flex-direction: column;
3984
+ .muka-thumbnail {
3985
+ position: relative;
3986
+ flex-shrink: 0;
4051
3987
  }
4052
3988
 
4053
- /* Alignment Variants */
4054
- .muka-tabs--align-left .muka-tabs__list {
4055
- justify-content: flex-start;
4056
- }
4057
- .muka-tabs--align-center .muka-tabs__list {
4058
- justify-content: center;
3989
+ /* The frame carries the border, background and shape clip. Keeping it separate
3990
+ from the root lets the remove (×) button sit outside the clip (needed for the
3991
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3992
+ .muka-thumbnail__frame {
3993
+ position: absolute;
3994
+ inset: 0;
3995
+ overflow: hidden;
3996
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3997
+ border-radius: var(--border-radius-lg);
3998
+ background-color: var(--color-surface-level1);
4059
3999
  }
4060
- .muka-tabs--align-fill .muka-tabs__list {
4061
- justify-content: space-between;
4000
+
4001
+ /* ─── Shapes ──────────────────────────────────────────── */
4002
+ .muka-thumbnail--4-3 {
4003
+ width: 160px;
4004
+ height: 120px;
4062
4005
  }
4063
- .muka-tabs--align-fill .muka-tabs__trigger {
4064
- flex: 1;
4006
+
4007
+ .muka-thumbnail--1-1 {
4008
+ width: 120px;
4009
+ height: 120px;
4065
4010
  }
4066
4011
 
4067
- /* Tab List — strip container */
4068
- .muka-tabs__list {
4069
- display: flex;
4070
- align-items: center;
4071
- position: relative;
4072
- z-index: 2;
4073
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4012
+ .muka-thumbnail--ellipse {
4013
+ width: 120px;
4014
+ height: 120px;
4074
4015
  }
4075
4016
 
4076
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4077
- .muka-tabs--padding-default .muka-tabs__list {
4078
- padding-inline: var(--tabs-list-padding-x);
4017
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4018
+ .muka-thumbnail--fluid {
4019
+ width: 100%;
4020
+ height: auto;
4021
+ aspect-ratio: 1 / 1;
4079
4022
  }
4080
4023
 
4081
- /* Tab Trigger — clean underline style */
4082
- .muka-tabs__trigger {
4083
- display: inline-flex;
4084
- align-items: center;
4085
- justify-content: center;
4086
- gap: var(--spacing-1);
4087
- background: transparent;
4088
- border: none;
4089
- cursor: pointer;
4090
- user-select: none;
4091
- transition: background-color 0.2s ease, color 0.2s ease;
4092
- outline: none;
4093
- white-space: nowrap;
4094
- position: relative;
4095
- z-index: 2;
4096
- color: var(--tabs-trigger-color-default-foreground);
4024
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4025
+ aspect-ratio: 4 / 3;
4026
+ }
4097
4027
 
4098
- /* Default MD size values */
4099
- min-height: var(--tabs-trigger-min-height-md);
4100
- padding: var(--spacing-3);
4101
- font-family: var(--text-label-md-regular-fontFamily);
4102
- font-weight: var(--text-label-md-regular-fontWeight);
4103
- font-size: var(--text-label-md-regular-fontSize);
4104
- line-height: var(--text-label-md-regular-lineHeight);
4028
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4029
+ border-radius: var(--border-radius-full);
4105
4030
  }
4106
4031
 
4107
- /* Size Variants */
4108
- .muka-tabs--size-sm .muka-tabs__trigger {
4109
- min-height: var(--tabs-trigger-min-height-sm);
4110
- padding: 0 var(--spacing-2);
4111
- font-family: var(--text-label-sm-regular-fontFamily);
4112
- font-weight: var(--text-label-sm-regular-fontWeight);
4113
- font-size: var(--text-label-sm-regular-fontSize);
4114
- line-height: var(--text-label-sm-regular-lineHeight);
4032
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4033
+ interactive hover zoom has a clean origin. */
4034
+ .muka-thumbnail__image {
4035
+ position: absolute;
4036
+ inset: 0;
4037
+ width: 100%;
4038
+ height: 100%;
4039
+ object-fit: cover;
4040
+ display: block;
4041
+ transform-origin: center;
4042
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4043
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4115
4044
  }
4116
4045
 
4117
- .muka-tabs--size-lg .muka-tabs__trigger {
4118
- min-height: var(--tabs-trigger-min-height-lg);
4119
- padding: var(--spacing-4);
4120
- font-family: var(--text-label-lg-regular-fontFamily);
4121
- font-weight: var(--text-label-lg-regular-fontWeight);
4122
- font-size: var(--text-label-lg-regular-fontSize);
4123
- line-height: var(--text-label-lg-regular-lineHeight);
4046
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4047
+ .muka-thumbnail__trigger {
4048
+ position: absolute;
4049
+ inset: 0;
4050
+ padding: 0;
4051
+ border: 0;
4052
+ background: none;
4053
+ cursor: pointer;
4054
+ overflow: hidden;
4124
4055
  }
4125
4056
 
4126
- /* Hover state */
4127
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4128
- color: var(--tabs-trigger-color-hover-foreground);
4057
+ .muka-thumbnail__trigger:focus-visible {
4058
+ outline: 2px solid var(--color-border-focus);
4059
+ outline-offset: -2px;
4129
4060
  }
4130
4061
 
4131
- /* Current tab */
4132
- .muka-tabs__trigger--current {
4133
- color: var(--tabs-trigger-color-current-foreground);
4062
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4063
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4064
+ transform: scale(1.05);
4134
4065
  }
4135
4066
 
4136
- /* Active bottom border (underline) */
4137
- .muka-tabs__trigger--current::after {
4138
- content: '';
4067
+ /* ─── Loading overlay + progress donut ────────────────── */
4068
+ .muka-thumbnail__overlay {
4139
4069
  position: absolute;
4140
- bottom: -1px; /* Overlap the 1px border */
4141
- left: 0;
4142
- right: 0;
4143
- height: var(--tabs-indicator-height-md);
4144
- background-color: var(--tabs-indicator-color);
4145
- border-bottom-left-radius: 1px;
4146
- border-bottom-right-radius: 1px;
4147
- border-top-left-radius: 3px;
4148
- border-top-right-radius: 3px;
4149
- z-index: 3;
4070
+ inset: 0;
4071
+ display: flex;
4072
+ align-items: center;
4073
+ justify-content: center;
4074
+ background-color: var(--dialog-color-backdrop);
4150
4075
  }
4151
4076
 
4152
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4153
- height: var(--tabs-indicator-height-sm);
4077
+ .muka-thumbnail__progress {
4078
+ width: 40px;
4079
+ height: 40px;
4154
4080
  }
4155
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4156
- height: var(--tabs-indicator-height-lg);
4081
+
4082
+ /* ─── Error / corrupt state ───────────────────────────── */
4083
+ .muka-thumbnail--error .muka-thumbnail__frame {
4084
+ background-color: var(--alias-color-state-error-muted);
4085
+ border-color: var(--alias-color-state-error-default);
4157
4086
  }
4158
4087
 
4159
- .muka-tabs__trigger--disabled {
4160
- color: var(--tabs-trigger-color-disabled-foreground);
4161
- cursor: not-allowed;
4088
+ .muka-thumbnail__error {
4089
+ position: absolute;
4090
+ inset: 0;
4091
+ display: flex;
4092
+ flex-direction: column;
4093
+ align-items: center;
4094
+ justify-content: center;
4095
+ gap: var(--spacing-2);
4096
+ padding: var(--spacing-3);
4097
+ text-align: center;
4162
4098
  }
4163
4099
 
4164
- .muka-tabs__trigger:focus-visible {
4165
- outline: 2px solid var(--color-border-focus);
4166
- outline-offset: -2px;
4100
+ .muka-thumbnail__error-icon {
4101
+ color: var(--alert-color-error-accent);
4167
4102
  }
4168
4103
 
4169
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4170
- item sits 12px from the text */
4171
- .muka-tabs__label {
4172
- padding: 0 var(--spacing-2);
4104
+ .muka-thumbnail__caption {
4105
+ max-width: 100%;
4106
+ overflow: hidden;
4107
+ text-overflow: ellipsis;
4108
+ white-space: nowrap;
4109
+ color: var(--alert-color-error-accent);
4110
+ font-family: var(--text-body-sm-regular-fontFamily);
4111
+ font-size: var(--text-body-sm-regular-fontSize);
4112
+ font-weight: var(--text-body-sm-regular-fontWeight);
4113
+ line-height: var(--text-body-sm-regular-lineHeight);
4173
4114
  }
4174
4115
 
4175
- /* Leading item: icon, avatar, avatar group or data pie chart */
4176
- .muka-tabs__leading {
4116
+ /* ─── Remove (×) button ───────────────────────────────── */
4117
+ .muka-thumbnail__remove {
4118
+ position: absolute;
4119
+ top: var(--spacing-2);
4120
+ right: var(--spacing-2);
4177
4121
  display: flex;
4178
4122
  align-items: center;
4179
4123
  justify-content: center;
4180
- flex-shrink: 0;
4181
- }
4182
- .muka-tabs__trigger .muka-icon {
4183
- color: inherit;
4124
+ width: var(--size-2xl);
4125
+ height: var(--size-2xl);
4126
+ padding: 0;
4127
+ color: var(--button-color-tertiary-foreground-default);
4128
+ background-color: var(--button-color-tertiary-background-default);
4129
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4130
+ border-radius: var(--border-radius-lg);
4131
+ cursor: pointer;
4132
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4133
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4184
4134
  }
4185
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4186
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4187
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4188
- .muka-tabs--size-md .muka-tabs__leading > svg,
4189
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4190
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4191
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4192
4135
 
4193
- /* Responsive Scroll behavior on small screens */
4194
- @media (max-width: 768px) {
4195
- .muka-tabs__list {
4196
- /* Make scrollable */
4197
- overflow-x: auto;
4198
- overflow-y: hidden;
4199
- /* Force left alignment on mobile to prevent clipping when scrolling */
4200
- justify-content: flex-start !important;
4201
- max-width: 100vw;
4202
- -webkit-overflow-scrolling: touch;
4203
- /* Hide scrollbar for cleaner look */
4204
- scrollbar-width: none;
4205
- }
4206
- .muka-tabs__list::-webkit-scrollbar {
4207
- display: none;
4208
- }
4209
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4210
- .muka-tabs--align-fill .muka-tabs__trigger {
4211
- flex: 0 0 auto;
4212
- }
4136
+ .muka-thumbnail__remove:hover {
4137
+ color: var(--button-color-tertiary-foreground-hover);
4138
+ background-color: var(--button-color-tertiary-background-hover);
4139
+ border-color: var(--button-color-tertiary-border-hover);
4213
4140
  }
4214
4141
 
4215
- /* Tab Panel — content area */
4216
- .muka-tabs__panel {
4217
- background-color: var(--tabs-panel-background);
4218
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4219
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4220
- padding: var(--spacing-4);
4221
- position: relative;
4222
- z-index: 1;
4223
- font-family: var(--text-body-base-regular-fontFamily);
4224
- font-weight: var(--text-body-base-regular-fontWeight);
4225
- font-size: var(--text-body-base-regular-fontSize);
4226
- line-height: var(--text-body-base-regular-lineHeight);
4142
+ .muka-thumbnail__remove:active {
4143
+ color: var(--button-color-tertiary-foreground-pressed);
4144
+ background-color: var(--button-color-tertiary-background-pressed);
4145
+ border-color: var(--button-color-tertiary-border-pressed);
4227
4146
  }
4228
4147
 
4229
- .muka-tabs__panel:focus-visible {
4148
+ .muka-thumbnail__remove:focus-visible {
4230
4149
  outline: 2px solid var(--color-border-focus);
4231
4150
  outline-offset: 2px;
4232
4151
  }
4233
4152
 
4153
+ /* ─── Reduced motion ──────────────────────────────────── */
4154
+ @media (prefers-reduced-motion: reduce) {
4155
+ .muka-thumbnail__image,
4156
+ .muka-thumbnail__remove {
4157
+ transition: none;
4158
+ }
4234
4159
 
4235
- /* Tile */
4236
- /* Tile Component Styles - Using Muka Design Tokens */
4160
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4161
+ transform: none;
4162
+ }
4163
+ }
4237
4164
 
4238
- /* ─── Base ────────────────────────────────────────────── */
4239
4165
 
4240
- .muka-tile {
4241
- display: flex;
4242
- color: var(--color-text-default-default);
4166
+ /* Textarea */
4167
+ /* Textarea Component Styles - Using Muka Design Tokens */
4168
+
4169
+ .muka-textarea {
4170
+ display: inline-flex;
4171
+ flex-direction: column;
4172
+ gap: var(--spacing-2);
4243
4173
  }
4244
4174
 
4245
- .muka-tile--interactive {
4175
+ /* Label */
4176
+ .muka-textarea__label {
4177
+ color: var(--color-text-default-default);
4246
4178
  cursor: pointer;
4247
- user-select: none;
4248
4179
  }
4249
4180
 
4250
- .muka-tile--interactive:focus-visible {
4251
- outline: 2px solid var(--color-border-focus);
4252
- outline-offset: 2px;
4253
- border-radius: var(--border-radius-lg);
4181
+ .muka-textarea__label--sm {
4182
+ font-family: var(--text-label-sm-semibold-fontFamily);
4183
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4184
+ font-size: var(--text-label-sm-semibold-fontSize);
4185
+ line-height: var(--text-label-sm-semibold-lineHeight);
4254
4186
  }
4255
4187
 
4256
- /* ─── Image position variants ─────────────────────────── */
4188
+ .muka-textarea__label--md {
4189
+ font-family: var(--text-label-md-semibold-fontFamily);
4190
+ font-weight: var(--text-label-md-semibold-fontWeight);
4191
+ font-size: var(--text-label-md-semibold-fontSize);
4192
+ line-height: var(--text-label-md-semibold-lineHeight);
4193
+ }
4257
4194
 
4258
- .muka-tile--image-top {
4259
- flex-direction: column;
4195
+ .muka-textarea__label--lg {
4196
+ font-family: var(--text-label-lg-semibold-fontFamily);
4197
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4198
+ font-size: var(--text-label-lg-semibold-fontSize);
4199
+ line-height: var(--text-label-lg-semibold-lineHeight);
4260
4200
  }
4261
4201
 
4262
- .muka-tile--image-left {
4263
- flex-direction: row;
4202
+ .muka-textarea__required {
4203
+ color: var(--color-state-error-default);
4264
4204
  }
4265
4205
 
4266
- .muka-tile--image-right {
4267
- flex-direction: row;
4206
+ /* Field container */
4207
+ .muka-textarea__field {
4208
+ display: flex;
4209
+ background-color: var(--input-field-color-default-background);
4210
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4211
+ border-radius: var(--input-field-radius-md);
4212
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4213
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4214
+ box-sizing: border-box;
4268
4215
  }
4269
4216
 
4270
- /* ─── Gap by size (top) ───────────────────────────────── */
4217
+ .muka-textarea__field--sm {
4218
+ min-height: var(--input-textarea-height-sm);
4219
+ border-radius: var(--input-field-radius-sm);
4220
+ }
4271
4221
 
4272
- .muka-tile--image-top.muka-tile--lg {
4273
- gap: var(--spacing-6);
4222
+ .muka-textarea__field--md {
4223
+ min-height: var(--input-textarea-height-default);
4224
+ border-radius: var(--input-field-radius-md);
4274
4225
  }
4275
4226
 
4276
- .muka-tile--image-top.muka-tile--md {
4277
- gap: var(--spacing-6);
4278
- width: 320px;
4227
+ .muka-textarea__field--lg {
4228
+ min-height: var(--input-textarea-height-lg);
4229
+ border-radius: var(--input-field-radius-lg);
4279
4230
  }
4280
4231
 
4281
- .muka-tile--image-top.muka-tile--sm {
4282
- gap: var(--spacing-4);
4283
- min-width: 120px;
4232
+ /* Focus state */
4233
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4234
+ border-width: var(--border-width-bold);
4235
+ border-color: var(--input-field-color-focus-border);
4236
+ background-color: var(--input-field-color-focus-background);
4237
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4284
4238
  }
4285
4239
 
4286
- /* ─── Gap by size (left/right) ────────────────────────── */
4240
+ /* Error state */
4241
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4242
+ border-width: var(--border-width-bold);
4243
+ border-color: var(--input-field-color-error-border);
4244
+ background-color: var(--input-field-color-error-background);
4245
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4246
+ }
4287
4247
 
4288
- .muka-tile--image-left.muka-tile--lg,
4289
- .muka-tile--image-right.muka-tile--lg {
4290
- gap: var(--spacing-6);
4291
- align-items: center;
4248
+ /* Disabled state */
4249
+ .muka-textarea__field--disabled {
4250
+ background-color: var(--input-field-color-disabled-background);
4251
+ border-color: var(--input-field-color-disabled-border);
4252
+ cursor: not-allowed;
4292
4253
  }
4293
4254
 
4294
- .muka-tile--image-left.muka-tile--md,
4295
- .muka-tile--image-right.muka-tile--md {
4296
- gap: var(--spacing-6);
4297
- align-items: center;
4255
+ /* Native textarea */
4256
+ .muka-textarea__native {
4257
+ flex: 1;
4258
+ border: none;
4259
+ outline: none;
4260
+ background: transparent;
4261
+ color: var(--input-field-color-default-foreground);
4262
+ font-family: var(--text-input-md-fontFamily);
4263
+ font-weight: var(--text-input-md-fontWeight);
4264
+ font-size: var(--text-input-md-fontSize);
4265
+ line-height: var(--text-input-md-lineHeight);
4266
+ padding: 0;
4267
+ width: 100%;
4268
+ min-width: 0;
4298
4269
  }
4299
4270
 
4300
- .muka-tile--image-left.muka-tile--sm,
4301
- .muka-tile--image-right.muka-tile--sm {
4302
- gap: var(--spacing-4);
4303
- align-items: flex-start;
4271
+ .muka-textarea__field--sm .muka-textarea__native {
4272
+ font-family: var(--text-input-sm-fontFamily);
4273
+ font-weight: var(--text-input-sm-fontWeight);
4274
+ font-size: var(--text-input-sm-fontSize);
4275
+ line-height: var(--text-input-sm-lineHeight);
4304
4276
  }
4305
4277
 
4306
- /* ─── Photos container ────────────────────────────────── */
4278
+ .muka-textarea__field--lg .muka-textarea__native {
4279
+ font-family: var(--text-input-lg-fontFamily);
4280
+ font-weight: var(--text-input-lg-fontWeight);
4281
+ font-size: var(--text-input-lg-fontSize);
4282
+ line-height: var(--text-input-lg-lineHeight);
4283
+ }
4307
4284
 
4308
- .muka-tile__photos {
4309
- position: relative;
4310
- flex-shrink: 0;
4311
- overflow: hidden;
4312
- display: flex;
4313
- flex-direction: column;
4314
- isolation: isolate;
4285
+ .muka-textarea__native::placeholder {
4286
+ color: var(--color-text-subtle-default);
4315
4287
  }
4316
4288
 
4317
- /* Photos border radius by size */
4318
- .muka-tile--lg .muka-tile__photos,
4319
- .muka-tile--md .muka-tile__photos {
4320
- border-radius: var(--border-radius-lg);
4289
+ .muka-textarea__field--disabled .muka-textarea__native {
4290
+ color: var(--input-field-color-disabled-foreground);
4291
+ cursor: not-allowed;
4321
4292
  }
4322
4293
 
4323
- .muka-tile--sm .muka-tile__photos {
4324
- border-radius: var(--border-radius-md);
4294
+ /* Footer (helper/error + count) */
4295
+ .muka-textarea__footer {
4296
+ display: flex;
4297
+ justify-content: space-between;
4298
+ align-items: flex-start;
4299
+ gap: var(--spacing-2);
4325
4300
  }
4326
4301
 
4327
- /* Photos sizing: top layout */
4328
- .muka-tile--image-top .muka-tile__photos {
4329
- width: 100%;
4302
+ .muka-textarea__helper {
4303
+ font-family: var(--text-label-sm-regular-fontFamily);
4304
+ font-weight: var(--text-label-sm-regular-fontWeight);
4305
+ font-size: var(--text-label-sm-regular-fontSize);
4306
+ line-height: var(--text-label-sm-regular-lineHeight);
4307
+ color: var(--color-text-subtle-default);
4308
+ margin: 0;
4330
4309
  }
4331
4310
 
4332
- /* Photos sizing: left/right large */
4333
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4334
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4335
- width: 520px;
4311
+ .muka-textarea__error {
4312
+ font-family: var(--text-label-sm-regular-fontFamily);
4313
+ font-weight: var(--text-label-sm-regular-fontWeight);
4314
+ font-size: var(--text-label-sm-regular-fontSize);
4315
+ line-height: var(--text-label-sm-regular-lineHeight);
4316
+ color: var(--color-state-error-default);
4317
+ margin: 0;
4336
4318
  }
4337
4319
 
4338
- /* Photos sizing: left/right medium */
4339
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4340
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4341
- width: 320px;
4320
+ .muka-textarea__count {
4321
+ font-family: var(--text-label-sm-regular-fontFamily);
4322
+ font-weight: var(--text-label-sm-regular-fontWeight);
4323
+ font-size: var(--text-label-sm-regular-fontSize);
4324
+ line-height: var(--text-label-sm-regular-lineHeight);
4325
+ color: var(--color-text-subtle-default);
4326
+ margin-left: auto;
4342
4327
  }
4343
4328
 
4344
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4345
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4346
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4347
- width: 80px;
4348
- align-self: stretch;
4349
- }
4350
4329
 
4351
- /* ─── Main photo ──────────────────────────────────────── */
4330
+ /* TextLink */
4331
+ /* TextLink Component Styles - Using Muka Design Tokens */
4352
4332
 
4353
- .muka-tile__photo-main {
4354
- position: relative;
4355
- width: 100%;
4356
- overflow: hidden;
4357
- flex-shrink: 0;
4333
+ .muka-text-link {
4334
+ display: inline;
4335
+ cursor: pointer;
4336
+ text-decoration: underline;
4337
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4338
+ text-underline-offset: 0.2em;
4339
+ text-decoration-thickness: from-font;
4340
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4341
+ border-radius: var(--border-radius-sm);
4342
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4358
4343
  }
4359
4344
 
4360
- /* 16:9 aspect for lg and md */
4361
- .muka-tile--lg .muka-tile__photo-main,
4362
- .muka-tile--md .muka-tile__photo-main {
4363
- aspect-ratio: 1280 / 720;
4345
+ /* ─── Sizes ───────────────────────────────────────────────
4346
+ Mirrors the body text scale so a link matches the copy it sits in. */
4347
+ .muka-text-link--sm {
4348
+ font-family: var(--text-body-sm-regular-fontFamily);
4349
+ font-weight: var(--text-body-sm-regular-fontWeight);
4350
+ font-size: var(--text-body-sm-regular-fontSize);
4351
+ line-height: var(--text-body-sm-regular-lineHeight);
4364
4352
  }
4365
4353
 
4366
- /* 1:1 aspect for top + sm */
4367
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4368
- aspect-ratio: 1 / 1;
4354
+ .muka-text-link--base {
4355
+ font-family: var(--text-body-base-regular-fontFamily);
4356
+ font-weight: var(--text-body-base-regular-fontWeight);
4357
+ font-size: var(--text-body-base-regular-fontSize);
4358
+ line-height: var(--text-body-base-regular-lineHeight);
4369
4359
  }
4370
4360
 
4371
- /* Fixed size for left/right + sm */
4372
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4373
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4374
- width: 80px;
4375
- height: 80px;
4376
- aspect-ratio: auto;
4361
+ .muka-text-link--lg {
4362
+ font-family: var(--text-body-lg-regular-fontFamily);
4363
+ font-weight: var(--text-body-lg-regular-fontWeight);
4364
+ font-size: var(--text-body-lg-regular-fontSize);
4365
+ line-height: var(--text-body-lg-regular-lineHeight);
4377
4366
  }
4378
4367
 
4379
- .muka-tile__photo-main img {
4380
- width: 100%;
4381
- height: 100%;
4382
- object-fit: cover;
4383
- display: block;
4368
+ /* ─── Variant: default (accent) ───────────────────────────
4369
+ Visited repeats the default colour on purpose: the design treats visited and
4370
+ default the same, and pinning it stops the browser's purple from showing. */
4371
+ .muka-text-link--default,
4372
+ .muka-text-link--default:visited {
4373
+ color: var(--color-text-action-default);
4384
4374
  }
4385
4375
 
4386
- /* ─── Favourite overlay ───────────────────────────────── */
4387
-
4388
- .muka-tile__favourite {
4389
- position: absolute;
4390
- z-index: 3;
4376
+ .muka-text-link--default:hover,
4377
+ .muka-text-link--default:focus-visible {
4378
+ color: var(--color-text-action-hover);
4391
4379
  }
4392
4380
 
4393
- .muka-tile--lg .muka-tile__favourite,
4394
- .muka-tile--md .muka-tile__favourite {
4395
- top: var(--spacing-4);
4396
- right: var(--spacing-4);
4381
+ .muka-text-link--default:active {
4382
+ color: var(--color-text-action-pressed);
4397
4383
  }
4398
4384
 
4399
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4400
- top: var(--spacing-1);
4401
- right: var(--spacing-1);
4385
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4386
+ Hover, focus and pressed all darken to the default text colour. */
4387
+ .muka-text-link--subtle,
4388
+ .muka-text-link--subtle:visited {
4389
+ color: var(--color-text-subtle-default);
4402
4390
  }
4403
4391
 
4404
- /* ─── Thumbnails ──────────────────────────────────────── */
4405
-
4406
- .muka-tile__thumbnails {
4407
- display: flex;
4408
- gap: 2px;
4409
- overflow: hidden;
4410
- flex-shrink: 0;
4411
- height: 80px;
4392
+ .muka-text-link--subtle:hover,
4393
+ .muka-text-link--subtle:focus-visible,
4394
+ .muka-text-link--subtle:active {
4395
+ color: var(--color-text-default-default);
4412
4396
  }
4413
4397
 
4414
- .muka-tile__thumbnail {
4415
- width: 80px;
4416
- height: 80px;
4417
- flex-shrink: 0;
4418
- overflow: hidden;
4398
+ /* ─── Focus ───────────────────────────────────────────────
4399
+ Same ring as every other focusable Muka component. */
4400
+ .muka-text-link:focus-visible {
4401
+ outline: 2px solid var(--color-border-focus);
4402
+ outline-offset: 2px;
4419
4403
  }
4420
4404
 
4421
- .muka-tile__thumbnail img {
4422
- width: 100%;
4423
- height: 100%;
4424
- object-fit: cover;
4425
- display: block;
4405
+ @media (prefers-reduced-motion: reduce) {
4406
+ .muka-text-link {
4407
+ transition: none;
4408
+ }
4426
4409
  }
4427
4410
 
4428
- /* Gap between main photo and thumbnails */
4429
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4430
- margin-top: 2px;
4431
- }
4432
4411
 
4433
- /* ─── Content section ─────────────────────────────────── */
4412
+ /* Tabs */
4413
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4434
4414
 
4435
- .muka-tile__content {
4415
+ .muka-tabs {
4436
4416
  display: flex;
4437
4417
  flex-direction: column;
4438
- flex: 1;
4439
- min-width: 0;
4440
- }
4441
-
4442
- /* Top layout: content has horizontal padding */
4443
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4444
- padding: 0 var(--spacing-3);
4445
- gap: var(--spacing-1);
4446
4418
  }
4447
4419
 
4448
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4449
- padding: 0 var(--spacing-3);
4450
- gap: var(--spacing-2);
4420
+ /* Alignment Variants */
4421
+ .muka-tabs--align-left .muka-tabs__list {
4422
+ justify-content: flex-start;
4451
4423
  }
4452
-
4453
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4454
- gap: var(--spacing-2);
4424
+ .muka-tabs--align-center .muka-tabs__list {
4425
+ justify-content: center;
4455
4426
  }
4456
-
4457
- /* Left/right layout: content grows to fill space */
4458
- .muka-tile--image-left .muka-tile__content,
4459
- .muka-tile--image-right .muka-tile__content {
4460
- gap: var(--spacing-3);
4427
+ .muka-tabs--align-fill .muka-tabs__list {
4428
+ justify-content: space-between;
4461
4429
  }
4462
-
4463
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4464
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4465
- padding: 0 var(--spacing-3);
4430
+ .muka-tabs--align-fill .muka-tabs__trigger {
4431
+ flex: 1;
4466
4432
  }
4467
4433
 
4468
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4469
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4470
- padding: var(--spacing-2) var(--spacing-3);
4434
+ /* Tab List — strip container */
4435
+ .muka-tabs__list {
4436
+ display: flex;
4437
+ align-items: center;
4438
+ position: relative;
4439
+ z-index: 2;
4440
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4471
4441
  }
4472
4442
 
4473
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4474
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4475
- gap: var(--spacing-2);
4443
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4444
+ .muka-tabs--padding-default .muka-tabs__list {
4445
+ padding-inline: var(--tabs-list-padding-x);
4476
4446
  }
4477
4447
 
4478
- /* ─── Header (heading row + price) ────────────────────── */
4448
+ /* Tab Trigger — clean underline style */
4449
+ .muka-tabs__trigger {
4450
+ display: inline-flex;
4451
+ align-items: center;
4452
+ justify-content: center;
4453
+ gap: var(--spacing-1);
4454
+ background: transparent;
4455
+ border: none;
4456
+ cursor: pointer;
4457
+ user-select: none;
4458
+ transition: background-color 0.2s ease, color 0.2s ease;
4459
+ outline: none;
4460
+ white-space: nowrap;
4461
+ position: relative;
4462
+ z-index: 2;
4463
+ color: var(--tabs-trigger-color-default-foreground);
4479
4464
 
4480
- .muka-tile__header {
4481
- display: flex;
4482
- align-items: flex-start;
4483
- gap: var(--spacing-4);
4465
+ /* Default MD size values */
4466
+ min-height: var(--tabs-trigger-min-height-md);
4467
+ padding: var(--spacing-3);
4468
+ font-family: var(--text-label-md-regular-fontFamily);
4469
+ font-weight: var(--text-label-md-regular-fontWeight);
4470
+ font-size: var(--text-label-md-regular-fontSize);
4471
+ line-height: var(--text-label-md-regular-lineHeight);
4484
4472
  }
4485
4473
 
4486
- /* Small horizontal: row with text and action */
4487
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4488
- gap: var(--spacing-2);
4489
- align-items: center;
4490
- padding-top: var(--spacing-1);
4474
+ /* Size Variants */
4475
+ .muka-tabs--size-sm .muka-tabs__trigger {
4476
+ min-height: var(--tabs-trigger-min-height-sm);
4477
+ padding: 0 var(--spacing-2);
4478
+ font-family: var(--text-label-sm-regular-fontFamily);
4479
+ font-weight: var(--text-label-sm-regular-fontWeight);
4480
+ font-size: var(--text-label-sm-regular-fontSize);
4481
+ line-height: var(--text-label-sm-regular-lineHeight);
4491
4482
  }
4492
4483
 
4493
- /* ─── Text group ──────────────────────────────────────── */
4484
+ .muka-tabs--size-lg .muka-tabs__trigger {
4485
+ min-height: var(--tabs-trigger-min-height-lg);
4486
+ padding: var(--spacing-4);
4487
+ font-family: var(--text-label-lg-regular-fontFamily);
4488
+ font-weight: var(--text-label-lg-regular-fontWeight);
4489
+ font-size: var(--text-label-lg-regular-fontSize);
4490
+ line-height: var(--text-label-lg-regular-lineHeight);
4491
+ }
4494
4492
 
4495
- .muka-tile__text {
4496
- display: flex;
4497
- flex-direction: column;
4498
- flex: 1;
4499
- min-width: 0;
4500
- gap: var(--spacing-2);
4493
+ /* Hover state */
4494
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4495
+ color: var(--tabs-trigger-color-hover-foreground);
4501
4496
  }
4502
4497
 
4503
- /* ─── Heading typography ──────────────────────────────── */
4498
+ /* Current tab */
4499
+ .muka-tabs__trigger--current {
4500
+ color: var(--tabs-trigger-color-current-foreground);
4501
+ }
4504
4502
 
4505
- .muka-tile__heading {
4506
- margin: 0;
4503
+ /* Active bottom border (underline) */
4504
+ .muka-tabs__trigger--current::after {
4505
+ content: '';
4506
+ position: absolute;
4507
+ bottom: -1px; /* Overlap the 1px border */
4508
+ left: 0;
4509
+ right: 0;
4510
+ height: var(--tabs-indicator-height-md);
4511
+ background-color: var(--tabs-indicator-color);
4512
+ border-bottom-left-radius: 1px;
4513
+ border-bottom-right-radius: 1px;
4514
+ border-top-left-radius: 3px;
4515
+ border-top-right-radius: 3px;
4516
+ z-index: 3;
4507
4517
  }
4508
4518
 
4509
- .muka-tile--lg .muka-tile__heading {
4510
- font-family: var(--text-label-2xl-semibold-fontFamily);
4511
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4512
- font-size: var(--text-label-2xl-semibold-fontSize);
4513
- line-height: var(--text-label-2xl-semibold-lineHeight);
4514
- color: var(--color-text-default-default);
4519
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4520
+ height: var(--tabs-indicator-height-sm);
4515
4521
  }
4516
-
4517
- .muka-tile--md .muka-tile__heading {
4518
- font-family: var(--text-label-xl-semibold-fontFamily);
4519
- font-weight: var(--text-label-xl-semibold-fontWeight);
4520
- font-size: var(--text-label-xl-semibold-fontSize);
4521
- line-height: var(--text-label-xl-semibold-lineHeight);
4522
- color: var(--color-text-default-default);
4522
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4523
+ height: var(--tabs-indicator-height-lg);
4523
4524
  }
4524
4525
 
4525
- .muka-tile--sm .muka-tile__heading {
4526
- font-family: var(--text-label-lg-bold-fontFamily);
4527
- font-weight: var(--text-label-lg-bold-fontWeight);
4528
- font-size: var(--text-label-lg-bold-fontSize);
4529
- line-height: var(--text-label-lg-bold-lineHeight);
4530
- color: var(--color-text-default-default);
4526
+ .muka-tabs__trigger--disabled {
4527
+ color: var(--tabs-trigger-color-disabled-foreground);
4528
+ cursor: not-allowed;
4531
4529
  }
4532
4530
 
4533
- /* ─── Subheading typography ───────────────────────────── */
4534
-
4535
- .muka-tile__subheading {
4536
- margin: 0;
4537
- color: var(--color-text-subtle-default);
4531
+ .muka-tabs__trigger:focus-visible {
4532
+ outline: 2px solid var(--color-border-focus);
4533
+ outline-offset: -2px;
4538
4534
  }
4539
4535
 
4540
- .muka-tile--lg .muka-tile__subheading {
4541
- font-family: var(--text-subheading-md-fontFamily);
4542
- font-weight: var(--text-subheading-md-fontWeight);
4543
- font-size: var(--text-subheading-md-fontSize);
4544
- line-height: var(--text-subheading-md-lineHeight);
4536
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4537
+ item sits 12px from the text */
4538
+ .muka-tabs__label {
4539
+ padding: 0 var(--spacing-2);
4545
4540
  }
4546
4541
 
4547
- .muka-tile--md .muka-tile__subheading,
4548
- .muka-tile--sm .muka-tile__subheading {
4549
- font-family: var(--text-subheading-sm-fontFamily);
4550
- font-weight: var(--text-subheading-sm-fontWeight);
4551
- font-size: var(--text-subheading-sm-fontSize);
4552
- line-height: var(--text-subheading-sm-lineHeight);
4542
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4543
+ .muka-tabs__leading {
4544
+ display: flex;
4545
+ align-items: center;
4546
+ justify-content: center;
4547
+ flex-shrink: 0;
4553
4548
  }
4554
-
4555
- /* ─── Description typography ──────────────────────────── */
4556
-
4557
- .muka-tile__description {
4558
- margin: 0;
4559
- color: var(--color-text-default-default);
4549
+ .muka-tabs__trigger .muka-icon {
4550
+ color: inherit;
4560
4551
  }
4552
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4553
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4554
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4555
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4556
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4557
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4558
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4561
4559
 
4562
- .muka-tile--lg .muka-tile__description {
4563
- font-family: var(--text-body-lg-regular-fontFamily);
4564
- font-weight: var(--text-body-lg-regular-fontWeight);
4565
- font-size: var(--text-body-lg-regular-fontSize);
4566
- line-height: var(--text-body-lg-regular-lineHeight);
4560
+ /* Responsive Scroll behavior on small screens */
4561
+ @media (max-width: 768px) {
4562
+ .muka-tabs__list {
4563
+ /* Make scrollable */
4564
+ overflow-x: auto;
4565
+ overflow-y: hidden;
4566
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4567
+ justify-content: flex-start !important;
4568
+ max-width: 100vw;
4569
+ -webkit-overflow-scrolling: touch;
4570
+ /* Hide scrollbar for cleaner look */
4571
+ scrollbar-width: none;
4572
+ }
4573
+ .muka-tabs__list::-webkit-scrollbar {
4574
+ display: none;
4575
+ }
4576
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4577
+ .muka-tabs--align-fill .muka-tabs__trigger {
4578
+ flex: 0 0 auto;
4579
+ }
4567
4580
  }
4568
4581
 
4569
- .muka-tile--md .muka-tile__description,
4570
- .muka-tile--sm .muka-tile__description {
4582
+ /* Tab Panel — content area */
4583
+ .muka-tabs__panel {
4584
+ background-color: var(--tabs-panel-background);
4585
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4586
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4587
+ padding: var(--spacing-4);
4588
+ position: relative;
4589
+ z-index: 1;
4571
4590
  font-family: var(--text-body-base-regular-fontFamily);
4572
4591
  font-weight: var(--text-body-base-regular-fontWeight);
4573
4592
  font-size: var(--text-body-base-regular-fontSize);
4574
4593
  line-height: var(--text-body-base-regular-lineHeight);
4575
4594
  }
4576
4595
 
4577
- /* Description overflow for medium */
4578
- .muka-tile--md .muka-tile__description {
4579
- overflow: hidden;
4580
- text-overflow: ellipsis;
4581
- }
4582
-
4583
- /* ─── Price slot ──────────────────────────────────────── */
4584
-
4585
- .muka-tile__price {
4586
- flex-shrink: 0;
4587
- }
4588
-
4589
- /* ─── Action slot ─────────────────────────────────────── */
4590
-
4591
- .muka-tile__action {
4592
- flex-shrink: 0;
4596
+ .muka-tabs__panel:focus-visible {
4597
+ outline: 2px solid var(--color-border-focus);
4598
+ outline-offset: 2px;
4593
4599
  }
4594
4600
 
4595
4601
 
@@ -5105,6 +5111,84 @@ body {
5105
5111
  }
5106
5112
 
5107
5113
 
5114
+ /* Spinner */
5115
+ /* Spinner Component Styles */
5116
+
5117
+ .muka-spinner {
5118
+ display: inline-flex;
5119
+ align-items: center;
5120
+ justify-content: center;
5121
+ color: var(--color-text-default-default);
5122
+ line-height: 0;
5123
+ }
5124
+
5125
+ .muka-spinner--subtle {
5126
+ color: var(--color-text-subtle-default);
5127
+ }
5128
+
5129
+ .muka-spinner--inverse {
5130
+ color: var(--color-text-default-inverse);
5131
+ }
5132
+
5133
+ .muka-spinner__circle {
5134
+ display: inline-block;
5135
+ border-radius: 50%;
5136
+ border-style: solid;
5137
+ border-color: currentColor;
5138
+ border-right-color: transparent;
5139
+ animation: muka-spinner-rotate 0.7s linear infinite;
5140
+ box-sizing: border-box;
5141
+ }
5142
+
5143
+ /* ─── Sizes ───────────────────────────────────────────── */
5144
+
5145
+ .muka-spinner--sm .muka-spinner__circle {
5146
+ width: 16px;
5147
+ height: 16px;
5148
+ border-width: 2px;
5149
+ }
5150
+
5151
+ .muka-spinner--md .muka-spinner__circle {
5152
+ width: 20px;
5153
+ height: 20px;
5154
+ border-width: 2px;
5155
+ }
5156
+
5157
+ .muka-spinner--lg .muka-spinner__circle {
5158
+ width: 24px;
5159
+ height: 24px;
5160
+ border-width: 3px;
5161
+ }
5162
+
5163
+ /* ─── Visually-hidden label ───────────────────────────── */
5164
+
5165
+ .muka-spinner__sr-label {
5166
+ position: absolute;
5167
+ width: 1px;
5168
+ height: 1px;
5169
+ padding: 0;
5170
+ margin: -1px;
5171
+ overflow: hidden;
5172
+ clip: rect(0, 0, 0, 0);
5173
+ white-space: nowrap;
5174
+ border: 0;
5175
+ }
5176
+
5177
+ /* ─── Reduced motion ──────────────────────────────────── */
5178
+
5179
+ @keyframes muka-spinner-rotate {
5180
+ to {
5181
+ transform: rotate(360deg);
5182
+ }
5183
+ }
5184
+
5185
+ @media (prefers-reduced-motion: reduce) {
5186
+ .muka-spinner__circle {
5187
+ animation-duration: 2.5s;
5188
+ }
5189
+ }
5190
+
5191
+
5108
5192
  /* SpecList */
5109
5193
  /* SpecList Component Styles */
5110
5194
 
@@ -5165,106 +5249,178 @@ body {
5165
5249
 
5166
5250
  /* ─── Label width (horizontal stacking) ───────────────── */
5167
5251
 
5168
- .muka-spec-list--label-small .muka-spec-row__label {
5169
- width: 80px;
5252
+ .muka-spec-list--label-small .muka-spec-row__label {
5253
+ width: 80px;
5254
+ }
5255
+
5256
+ .muka-spec-list--label-medium .muka-spec-row__label {
5257
+ width: 120px;
5258
+ }
5259
+
5260
+ .muka-spec-list--label-large .muka-spec-row__label {
5261
+ width: 160px;
5262
+ }
5263
+
5264
+ /* ─── Vertical stacking ───────────────────────────────── */
5265
+
5266
+ .muka-spec-list--vertical .muka-spec-row {
5267
+ flex-direction: column;
5268
+ gap: var(--spacing-1);
5269
+ }
5270
+
5271
+ .muka-spec-list--vertical .muka-spec-row__label {
5272
+ width: 100%;
5273
+ white-space: normal;
5274
+ }
5275
+
5276
+
5277
+ /* SocialSignInButton */
5278
+ /*
5279
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5280
+ * Google Identity branding) and intentionally fixed across Muka brands —
5281
+ * same exception pattern as LicensePlateInput regulatory colors.
5282
+ *
5283
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5284
+ * Google: https://developers.google.com/identity/branding-guidelines
5285
+ */
5286
+ .muka-social-sign-in-button {
5287
+ --ssi-white: #ffffff;
5288
+ --ssi-black: #000000;
5289
+ --ssi-google-text-light: #1f1f1f;
5290
+
5291
+ display: inline-flex;
5292
+ align-items: center;
5293
+ justify-content: center;
5294
+
5295
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5296
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5297
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5298
+ font-family: inherit;
5299
+ font-weight: 600;
5300
+ text-decoration: none;
5301
+ white-space: nowrap;
5302
+
5303
+ border: 1px solid transparent;
5304
+ cursor: pointer;
5305
+ user-select: none;
5306
+ transition: opacity 0.15s ease, filter 0.15s ease;
5307
+
5308
+ outline: none;
5309
+ position: relative;
5310
+ box-sizing: border-box;
5170
5311
  }
5171
5312
 
5172
- .muka-spec-list--label-medium .muka-spec-row__label {
5173
- width: 120px;
5313
+ .muka-social-sign-in-button--apple {
5314
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5315
+ Helvetica, Arial, sans-serif;
5316
+ font-weight: 600;
5174
5317
  }
5175
5318
 
5176
- .muka-spec-list--label-large .muka-spec-row__label {
5177
- width: 160px;
5319
+ .muka-social-sign-in-button--google {
5320
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5321
+ font-weight: 500;
5178
5322
  }
5179
5323
 
5180
- /* ─── Vertical stacking ───────────────────────────────── */
5181
-
5182
- .muka-spec-list--vertical .muka-spec-row {
5183
- flex-direction: column;
5184
- gap: var(--spacing-1);
5324
+ .muka-social-sign-in-button:focus-visible {
5325
+ outline: 2px solid var(--color-border-focus);
5326
+ outline-offset: 2px;
5185
5327
  }
5186
5328
 
5187
- .muka-spec-list--vertical .muka-spec-row__label {
5188
- width: 100%;
5189
- white-space: normal;
5329
+ /* Sizes — heights align with Button md/lg */
5330
+ .muka-social-sign-in-button--md {
5331
+ padding: 0 var(--button-padding-md-x);
5332
+ border-radius: var(--button-radius-md);
5333
+ font-size: var(--text-label-sm-semibold-fontSize);
5334
+ line-height: var(--text-label-sm-semibold-lineHeight);
5335
+ min-height: 40px;
5336
+ min-width: 240px;
5190
5337
  }
5191
5338
 
5339
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5340
+ padding: 0 var(--button-gap-md);
5341
+ }
5192
5342
 
5193
- /* Spinner */
5194
- /* Spinner Component Styles */
5343
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5344
+ width: var(--button-icon-md);
5345
+ height: var(--button-icon-md);
5346
+ }
5195
5347
 
5196
- .muka-spinner {
5197
- display: inline-flex;
5198
- align-items: center;
5199
- justify-content: center;
5200
- color: var(--color-text-default-default);
5201
- line-height: 0;
5348
+ .muka-social-sign-in-button--lg {
5349
+ padding: 0 var(--button-padding-lg-x);
5350
+ border-radius: var(--button-radius-lg);
5351
+ font-size: var(--text-label-lg-semibold-fontSize);
5352
+ line-height: var(--text-label-lg-semibold-lineHeight);
5353
+ min-height: 48px;
5354
+ min-width: 280px;
5202
5355
  }
5203
5356
 
5204
- .muka-spinner--subtle {
5205
- color: var(--color-text-subtle-default);
5357
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5358
+ padding: 0 var(--button-gap-lg);
5206
5359
  }
5207
5360
 
5208
- .muka-spinner--inverse {
5209
- color: var(--color-text-default-inverse);
5361
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5362
+ width: var(--button-icon-lg);
5363
+ height: var(--button-icon-lg);
5210
5364
  }
5211
5365
 
5212
- .muka-spinner__circle {
5213
- display: inline-block;
5214
- border-radius: 50%;
5215
- border-style: solid;
5216
- border-color: currentColor;
5217
- border-right-color: transparent;
5218
- animation: muka-spinner-rotate 0.7s linear infinite;
5219
- box-sizing: border-box;
5366
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5367
+ .muka-social-sign-in-button--white {
5368
+ background-color: var(--ssi-white);
5369
+ color: var(--ssi-black);
5370
+ border-color: var(--ssi-black);
5220
5371
  }
5221
5372
 
5222
- /* ─── Sizes ───────────────────────────────────────────── */
5373
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5374
+ color: var(--ssi-google-text-light);
5375
+ }
5223
5376
 
5224
- .muka-spinner--sm .muka-spinner__circle {
5225
- width: 16px;
5226
- height: 16px;
5227
- border-width: 2px;
5377
+ /* Black lockup — for light surfaces */
5378
+ .muka-social-sign-in-button--black {
5379
+ background-color: var(--ssi-black);
5380
+ color: var(--ssi-white);
5381
+ border-color: transparent;
5228
5382
  }
5229
5383
 
5230
- .muka-spinner--md .muka-spinner__circle {
5231
- width: 20px;
5232
- height: 20px;
5233
- border-width: 2px;
5384
+ /* Interaction — luminance/opacity only; no brand tint */
5385
+ .muka-social-sign-in-button:hover:not(:disabled) {
5386
+ filter: brightness(0.92);
5234
5387
  }
5235
5388
 
5236
- .muka-spinner--lg .muka-spinner__circle {
5237
- width: 24px;
5238
- height: 24px;
5239
- border-width: 3px;
5389
+ .muka-social-sign-in-button:active:not(:disabled) {
5390
+ filter: brightness(0.85);
5240
5391
  }
5241
5392
 
5242
- /* ─── Visually-hidden label ───────────────────────────── */
5393
+ .muka-social-sign-in-button:disabled,
5394
+ .muka-social-sign-in-button--disabled {
5395
+ cursor: not-allowed;
5396
+ opacity: 0.4;
5397
+ pointer-events: none;
5398
+ filter: none;
5399
+ }
5243
5400
 
5244
- .muka-spinner__sr-label {
5245
- position: absolute;
5246
- width: 1px;
5247
- height: 1px;
5248
- padding: 0;
5249
- margin: -1px;
5250
- overflow: hidden;
5251
- clip: rect(0, 0, 0, 0);
5252
- white-space: nowrap;
5253
- border: 0;
5401
+ .muka-social-sign-in-button--full-width {
5402
+ width: 100%;
5403
+ min-width: 0;
5254
5404
  }
5255
5405
 
5256
- /* ─── Reduced motion ──────────────────────────────────── */
5406
+ .muka-social-sign-in-button__icon {
5407
+ display: inline-flex;
5408
+ align-items: center;
5409
+ justify-content: center;
5410
+ flex-shrink: 0;
5411
+ }
5257
5412
 
5258
- @keyframes muka-spinner-rotate {
5259
- to {
5260
- transform: rotate(360deg);
5261
- }
5413
+ .muka-social-sign-in-button__icon > *,
5414
+ .muka-social-sign-in-button__icon svg {
5415
+ width: auto;
5416
+ height: 100%;
5417
+ max-width: 100%;
5418
+ display: block;
5262
5419
  }
5263
5420
 
5264
- @media (prefers-reduced-motion: reduce) {
5265
- .muka-spinner__circle {
5266
- animation-duration: 2.5s;
5267
- }
5421
+ .muka-social-sign-in-button__label {
5422
+ display: inline-flex;
5423
+ align-items: center;
5268
5424
  }
5269
5425
 
5270
5426
 
@@ -5997,8 +6153,8 @@ body {
5997
6153
  .muka-segmentgroup--sm .muka-segmentgroup__segment {
5998
6154
  padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5999
6155
  height: var(--segmentgroup-segment-height-sm);
6000
- font-size: var(--text-label-sm-fontSize);
6001
- line-height: var(--text-label-sm-lineHeight);
6156
+ font-size: var(--text-label-sm-regular-fontSize);
6157
+ line-height: var(--text-label-sm-leading);
6002
6158
  }
6003
6159
 
6004
6160
  .muka-segmentgroup--md {
@@ -6010,8 +6166,8 @@ body {
6010
6166
  }
6011
6167
  .muka-segmentgroup--md .muka-segmentgroup__segment {
6012
6168
  padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6013
- font-size: var(--text-label-md-fontSize);
6014
- line-height: var(--text-label-md-lineHeight);
6169
+ font-size: var(--text-label-md-regular-fontSize);
6170
+ line-height: var(--text-label-md-leading);
6015
6171
  }
6016
6172
 
6017
6173
  .muka-segmentgroup--lg {
@@ -6024,8 +6180,8 @@ body {
6024
6180
  .muka-segmentgroup--lg .muka-segmentgroup__segment {
6025
6181
  padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6026
6182
  height: 40px;
6027
- font-size: var(--text-label-lg-fontSize);
6028
- line-height: var(--text-label-lg-lineHeight);
6183
+ font-size: var(--text-label-lg-regular-fontSize);
6184
+ line-height: var(--text-label-lg-leading);
6029
6185
  }
6030
6186
 
6031
6187
  /* Icon-only variants */
@@ -6447,8 +6603,8 @@ body {
6447
6603
 
6448
6604
  .muka-recording-bar__time {
6449
6605
  flex: 0 0 auto;
6450
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6451
- line-height: var(--text-label-sm-lineHeight, 1);
6606
+ font-size: var(--text-label-sm-regular-fontSize);
6607
+ line-height: var(--text-label-sm-leading);
6452
6608
  font-variant-numeric: tabular-nums;
6453
6609
  color: var(--color-text-default-default);
6454
6610
  }
@@ -9020,36 +9176,6 @@ button.muka-progress-tracker__tab:focus-visible {
9020
9176
  }
9021
9177
 
9022
9178
 
9023
- /* NumberInput */
9024
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9025
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9026
-
9027
- .muka-numberinput__addon {
9028
- display: inline-flex;
9029
- align-items: center;
9030
- flex: none;
9031
- color: var(--color-text-subtle-default);
9032
- font-family: var(--text-input-md-fontFamily);
9033
- font-size: var(--text-input-md-fontSize);
9034
- line-height: var(--text-input-md-lineHeight);
9035
- user-select: none;
9036
- pointer-events: none;
9037
- white-space: nowrap;
9038
- }
9039
-
9040
- /* Hide the native number spinners — affixes/step API replace them. */
9041
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9042
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9043
- -webkit-appearance: none;
9044
- margin: 0;
9045
- }
9046
-
9047
- .muka-numberinput__field .muka-input__native {
9048
- -moz-appearance: textfield;
9049
- appearance: textfield;
9050
- }
9051
-
9052
-
9053
9179
  /* NavigationTransition */
9054
9180
  /* NavigationTransition Component Styles */
9055
9181
 
@@ -9575,6 +9701,36 @@ button.muka-progress-tracker__tab:focus-visible {
9575
9701
  }
9576
9702
 
9577
9703
 
9704
+ /* NumberInput */
9705
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9706
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9707
+
9708
+ .muka-numberinput__addon {
9709
+ display: inline-flex;
9710
+ align-items: center;
9711
+ flex: none;
9712
+ color: var(--color-text-subtle-default);
9713
+ font-family: var(--text-input-md-fontFamily);
9714
+ font-size: var(--text-input-md-fontSize);
9715
+ line-height: var(--text-input-md-lineHeight);
9716
+ user-select: none;
9717
+ pointer-events: none;
9718
+ white-space: nowrap;
9719
+ }
9720
+
9721
+ /* Hide the native number spinners — affixes/step API replace them. */
9722
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9723
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9724
+ -webkit-appearance: none;
9725
+ margin: 0;
9726
+ }
9727
+
9728
+ .muka-numberinput__field .muka-input__native {
9729
+ -moz-appearance: textfield;
9730
+ appearance: textfield;
9731
+ }
9732
+
9733
+
9578
9734
  /* MediaViewer */
9579
9735
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9580
9736
 
@@ -9893,8 +10049,8 @@ button.muka-progress-tracker__tab:focus-visible {
9893
10049
  /* Typography - using semantic tokens */
9894
10050
  font-family: var(--alias-font-plain-family);
9895
10051
  font-weight: var(--alias-font-plain-weight-semibold, 600);
9896
- font-size: var(--text-label-md-fontSize);
9897
- line-height: var(--text-label-md-lineHeight);
10052
+ font-size: var(--text-label-md-regular-fontSize);
10053
+ line-height: var(--text-label-md-leading);
9898
10054
  color: var(--color-text-default-default);
9899
10055
 
9900
10056
  /* Text handling */
@@ -9935,8 +10091,8 @@ button.muka-progress-tracker__tab:focus-visible {
9935
10091
  gap: var(--spacing-1);
9936
10092
  flex-shrink: 0;
9937
10093
  font-family: var(--alias-font-plain-family);
9938
- font-size: var(--text-body-sm-fontSize);
9939
- line-height: var(--text-body-sm-lineHeight);
10094
+ font-size: var(--text-body-sm-regular-fontSize);
10095
+ line-height: var(--text-body-sm-regular-lineHeight);
9940
10096
  color: var(--color-text-subtle-default);
9941
10097
  white-space: nowrap;
9942
10098
  }
@@ -9962,16 +10118,57 @@ button.muka-progress-tracker__tab:focus-visible {
9962
10118
  background-color: var(--color-border-default);
9963
10119
  }
9964
10120
 
9965
- /* Button and anchor specific styles */
9966
- button.muka-listitem,
9967
- a.muka-listitem {
9968
- text-align: left;
9969
- width: 100%;
10121
+ /* Button and anchor specific styles */
10122
+ button.muka-listitem,
10123
+ a.muka-listitem {
10124
+ text-align: left;
10125
+ width: 100%;
10126
+ }
10127
+
10128
+ /* List item specific styles */
10129
+ li.muka-listitem {
10130
+ list-style: none;
10131
+ }
10132
+
10133
+
10134
+ /* Label */
10135
+ /* Label Component Styles - Using Muka Design Tokens */
10136
+
10137
+ .muka-label {
10138
+ display: inline-flex;
10139
+ align-items: center;
10140
+ color: var(--color-text-default-default);
10141
+ cursor: pointer;
10142
+ }
10143
+
10144
+ .muka-label--sm {
10145
+ font-family: var(--text-label-sm-semibold-fontFamily);
10146
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10147
+ font-size: var(--text-label-sm-semibold-fontSize);
10148
+ line-height: var(--text-label-sm-semibold-lineHeight);
10149
+ }
10150
+
10151
+ .muka-label--md {
10152
+ font-family: var(--text-label-md-semibold-fontFamily);
10153
+ font-weight: var(--text-label-md-semibold-fontWeight);
10154
+ font-size: var(--text-label-md-semibold-fontSize);
10155
+ line-height: var(--text-label-md-semibold-lineHeight);
10156
+ }
10157
+
10158
+ .muka-label--lg {
10159
+ font-family: var(--text-label-lg-semibold-fontFamily);
10160
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10161
+ font-size: var(--text-label-lg-semibold-fontSize);
10162
+ line-height: var(--text-label-lg-semibold-lineHeight);
9970
10163
  }
9971
10164
 
9972
- /* List item specific styles */
9973
- li.muka-listitem {
9974
- list-style: none;
10165
+ .muka-label--disabled {
10166
+ color: var(--color-text-subtle-default);
10167
+ cursor: not-allowed;
10168
+ }
10169
+
10170
+ .muka-label__required {
10171
+ color: var(--color-state-error-default);
9975
10172
  }
9976
10173
 
9977
10174
 
@@ -10168,47 +10365,6 @@ li.muka-listitem {
10168
10365
  }
10169
10366
 
10170
10367
 
10171
- /* Label */
10172
- /* Label Component Styles - Using Muka Design Tokens */
10173
-
10174
- .muka-label {
10175
- display: inline-flex;
10176
- align-items: center;
10177
- color: var(--color-text-default-default);
10178
- cursor: pointer;
10179
- }
10180
-
10181
- .muka-label--sm {
10182
- font-family: var(--text-label-sm-semibold-fontFamily);
10183
- font-weight: var(--text-label-sm-semibold-fontWeight);
10184
- font-size: var(--text-label-sm-semibold-fontSize);
10185
- line-height: var(--text-label-sm-semibold-lineHeight);
10186
- }
10187
-
10188
- .muka-label--md {
10189
- font-family: var(--text-label-md-semibold-fontFamily);
10190
- font-weight: var(--text-label-md-semibold-fontWeight);
10191
- font-size: var(--text-label-md-semibold-fontSize);
10192
- line-height: var(--text-label-md-semibold-lineHeight);
10193
- }
10194
-
10195
- .muka-label--lg {
10196
- font-family: var(--text-label-lg-semibold-fontFamily);
10197
- font-weight: var(--text-label-lg-semibold-fontWeight);
10198
- font-size: var(--text-label-lg-semibold-fontSize);
10199
- line-height: var(--text-label-lg-semibold-lineHeight);
10200
- }
10201
-
10202
- .muka-label--disabled {
10203
- color: var(--color-text-subtle-default);
10204
- cursor: not-allowed;
10205
- }
10206
-
10207
- .muka-label__required {
10208
- color: var(--color-state-error-default);
10209
- }
10210
-
10211
-
10212
10368
  /* InputCounter */
10213
10369
  /* InputCounter — numeric field + joined decrement/increment buttons.
10214
10370
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -10668,6 +10824,26 @@ li.muka-listitem {
10668
10824
  }
10669
10825
 
10670
10826
 
10827
+ /* Form */
10828
+ .muka-form {
10829
+ display: flex;
10830
+ flex-direction: column;
10831
+ width: 100%;
10832
+ }
10833
+
10834
+ .muka-form--gap-sm {
10835
+ gap: var(--size-sm);
10836
+ }
10837
+
10838
+ .muka-form--gap-md {
10839
+ gap: var(--size-md);
10840
+ }
10841
+
10842
+ .muka-form--gap-lg {
10843
+ gap: var(--size-lg);
10844
+ }
10845
+
10846
+
10671
10847
  /* Icon */
10672
10848
  /* Icon Component Styles - Using Muka Design Tokens */
10673
10849
 
@@ -10722,26 +10898,6 @@ li.muka-listitem {
10722
10898
  }
10723
10899
 
10724
10900
 
10725
- /* Form */
10726
- .muka-form {
10727
- display: flex;
10728
- flex-direction: column;
10729
- width: 100%;
10730
- }
10731
-
10732
- .muka-form--gap-sm {
10733
- gap: var(--size-sm);
10734
- }
10735
-
10736
- .muka-form--gap-md {
10737
- gap: var(--size-md);
10738
- }
10739
-
10740
- .muka-form--gap-lg {
10741
- gap: var(--size-lg);
10742
- }
10743
-
10744
-
10745
10901
  /* FileUpload */
10746
10902
  /* FileUpload Component Styles */
10747
10903
 
@@ -11788,8 +11944,8 @@ li.muka-listitem {
11788
11944
  padding: var(--spacing-1) var(--spacing-2);
11789
11945
  text-align: center;
11790
11946
  font-family: var(--alias-font-brand-family);
11791
- font-size: var(--text-label-sm-fontSize);
11792
- line-height: var(--text-label-sm-lineHeight);
11947
+ font-size: var(--text-label-sm-regular-fontSize);
11948
+ line-height: var(--text-label-sm-leading);
11793
11949
  border: 1px solid var(--color-border-default);
11794
11950
  border-radius: var(--border-radius-md);
11795
11951
  background-color: var(--color-surface-level0);
@@ -11804,7 +11960,7 @@ li.muka-listitem {
11804
11960
 
11805
11961
  .muka-documentviewer__page-total {
11806
11962
  font-family: var(--alias-font-brand-family);
11807
- font-size: var(--text-label-sm-fontSize);
11963
+ font-size: var(--text-label-sm-regular-fontSize);
11808
11964
  color: var(--color-text-subtle-default);
11809
11965
  }
11810
11966
 
@@ -11813,7 +11969,7 @@ li.muka-listitem {
11813
11969
  min-width: var(--documentviewer-zoom-button-width);
11814
11970
  padding: var(--spacing-1) var(--spacing-2);
11815
11971
  font-family: var(--alias-font-brand-family);
11816
- font-size: var(--text-label-sm-fontSize);
11972
+ font-size: var(--text-label-sm-regular-fontSize);
11817
11973
  font-weight: var(--alias-font-brand-weight-semibold);
11818
11974
  color: var(--color-text-default-default);
11819
11975
  background: transparent;
@@ -11875,7 +12031,7 @@ li.muka-listitem {
11875
12031
  text-align: center;
11876
12032
  padding: var(--spacing-2);
11877
12033
  font-family: var(--alias-font-brand-family);
11878
- font-size: var(--text-label-sm-fontSize);
12034
+ font-size: var(--text-label-sm-regular-fontSize);
11879
12035
  color: var(--color-text-subtle-default);
11880
12036
  }
11881
12037
 
@@ -17604,153 +17760,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17604
17760
  border-bottom: none;
17605
17761
  }
17606
17762
 
17607
-
17608
- /* SocialSignInButton */
17609
- /*
17610
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17611
- * Google Identity branding) and intentionally fixed across Muka brands —
17612
- * same exception pattern as LicensePlateInput regulatory colors.
17613
- *
17614
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17615
- * Google: https://developers.google.com/identity/branding-guidelines
17616
- */
17617
- .muka-social-sign-in-button {
17618
- --ssi-white: #ffffff;
17619
- --ssi-black: #000000;
17620
- --ssi-google-text-light: #1f1f1f;
17621
-
17622
- display: inline-flex;
17623
- align-items: center;
17624
- justify-content: center;
17625
-
17626
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17627
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17628
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17629
- font-family: inherit;
17630
- font-weight: 600;
17631
- text-decoration: none;
17632
- white-space: nowrap;
17633
-
17634
- border: 1px solid transparent;
17635
- cursor: pointer;
17636
- user-select: none;
17637
- transition: opacity 0.15s ease, filter 0.15s ease;
17638
-
17639
- outline: none;
17640
- position: relative;
17641
- box-sizing: border-box;
17642
- }
17643
-
17644
- .muka-social-sign-in-button--apple {
17645
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17646
- Helvetica, Arial, sans-serif;
17647
- font-weight: 600;
17648
- }
17649
-
17650
- .muka-social-sign-in-button--google {
17651
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17652
- font-weight: 500;
17653
- }
17654
-
17655
- .muka-social-sign-in-button:focus-visible {
17656
- outline: 2px solid var(--color-border-focus);
17657
- outline-offset: 2px;
17658
- }
17659
-
17660
- /* Sizes — heights align with Button md/lg */
17661
- .muka-social-sign-in-button--md {
17662
- padding: 0 var(--button-padding-md-x);
17663
- border-radius: var(--button-radius-md);
17664
- font-size: var(--text-label-sm-semibold-fontSize);
17665
- line-height: var(--text-label-sm-semibold-lineHeight);
17666
- min-height: 40px;
17667
- min-width: 240px;
17668
- }
17669
-
17670
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17671
- padding: 0 var(--button-gap-md);
17672
- }
17673
-
17674
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17675
- width: var(--button-icon-md);
17676
- height: var(--button-icon-md);
17677
- }
17678
-
17679
- .muka-social-sign-in-button--lg {
17680
- padding: 0 var(--button-padding-lg-x);
17681
- border-radius: var(--button-radius-lg);
17682
- font-size: var(--text-label-lg-semibold-fontSize);
17683
- line-height: var(--text-label-lg-semibold-lineHeight);
17684
- min-height: 48px;
17685
- min-width: 280px;
17686
- }
17687
-
17688
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17689
- padding: 0 var(--button-gap-lg);
17690
- }
17691
-
17692
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17693
- width: var(--button-icon-lg);
17694
- height: var(--button-icon-lg);
17695
- }
17696
-
17697
- /* White lockup — for dark surfaces (Apple White with Outline) */
17698
- .muka-social-sign-in-button--white {
17699
- background-color: var(--ssi-white);
17700
- color: var(--ssi-black);
17701
- border-color: var(--ssi-black);
17702
- }
17703
-
17704
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17705
- color: var(--ssi-google-text-light);
17706
- }
17707
-
17708
- /* Black lockup — for light surfaces */
17709
- .muka-social-sign-in-button--black {
17710
- background-color: var(--ssi-black);
17711
- color: var(--ssi-white);
17712
- border-color: transparent;
17713
- }
17714
-
17715
- /* Interaction — luminance/opacity only; no brand tint */
17716
- .muka-social-sign-in-button:hover:not(:disabled) {
17717
- filter: brightness(0.92);
17718
- }
17719
-
17720
- .muka-social-sign-in-button:active:not(:disabled) {
17721
- filter: brightness(0.85);
17722
- }
17723
-
17724
- .muka-social-sign-in-button:disabled,
17725
- .muka-social-sign-in-button--disabled {
17726
- cursor: not-allowed;
17727
- opacity: 0.4;
17728
- pointer-events: none;
17729
- filter: none;
17730
- }
17731
-
17732
- .muka-social-sign-in-button--full-width {
17733
- width: 100%;
17734
- min-width: 0;
17735
- }
17736
-
17737
- .muka-social-sign-in-button__icon {
17738
- display: inline-flex;
17739
- align-items: center;
17740
- justify-content: center;
17741
- flex-shrink: 0;
17742
- }
17743
-
17744
- .muka-social-sign-in-button__icon > *,
17745
- .muka-social-sign-in-button__icon svg {
17746
- width: auto;
17747
- height: 100%;
17748
- max-width: 100%;
17749
- display: block;
17750
- }
17751
-
17752
- .muka-social-sign-in-button__label {
17753
- display: inline-flex;
17754
- align-items: center;
17755
- }
17756
-