@revikornmann/muka-ui 0.52.0 → 0.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/cjs/components/ListItem/ListItem.css +6 -5
  2. package/dist/cjs/components/Menu/Menu.css +18 -0
  3. package/dist/cjs/components/Menu/Menu.js +3 -2
  4. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  5. package/dist/cjs/components/TopBar/TopBar.css +68 -0
  6. package/dist/cjs/components/TopBar/TopBar.js +11 -2
  7. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  8. package/dist/cjs/components/TopBar/index.js.map +1 -1
  9. package/dist/cjs/components/View/View.js +2 -2
  10. package/dist/cjs/components/View/View.js.map +1 -1
  11. package/dist/cjs/components/index.js.map +1 -1
  12. package/dist/esm/components/ListItem/ListItem.css +6 -5
  13. package/dist/esm/components/Menu/Menu.css +18 -0
  14. package/dist/esm/components/Menu/Menu.js +3 -2
  15. package/dist/esm/components/Menu/Menu.js.map +1 -1
  16. package/dist/esm/components/TopBar/TopBar.css +68 -0
  17. package/dist/esm/components/TopBar/TopBar.js +11 -2
  18. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  19. package/dist/esm/components/TopBar/index.js.map +1 -1
  20. package/dist/esm/components/View/View.js +2 -2
  21. package/dist/esm/components/View/View.js.map +1 -1
  22. package/dist/esm/components/index.js.map +1 -1
  23. package/dist/styles/components/ListItem.css +6 -5
  24. package/dist/styles/components/Menu.css +18 -0
  25. package/dist/styles/components/TopBar.css +68 -0
  26. package/dist/styles/index.css +1052 -965
  27. package/dist/styles/muka-dark.css +1052 -965
  28. package/dist/styles/muka-light.css +1052 -965
  29. package/dist/styles/wireframe-dark.css +1052 -965
  30. package/dist/styles/wireframe-light.css +1052 -965
  31. package/dist/types/components/Menu/Menu.d.ts +5 -0
  32. package/dist/types/components/Menu/Menu.d.ts.map +1 -1
  33. package/dist/types/components/TopBar/TopBar.d.ts +36 -0
  34. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  35. package/dist/types/components/TopBar/index.d.ts +1 -1
  36. package/dist/types/components/TopBar/index.d.ts.map +1 -1
  37. package/dist/types/components/View/View.d.ts +11 -0
  38. package/dist/types/components/View/View.d.ts.map +1 -1
  39. package/dist/types/components/index.d.ts +1 -1
  40. package/dist/types/components/index.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -2846,6 +2846,7 @@ body {
2846
2846
  of overlapping it. */
2847
2847
  --tb-container-display: grid;
2848
2848
  --tb-title-align: center;
2849
+ --tb-title-justify: center;
2849
2850
  --tb-title-font-family: var(--text-heading-xs-fontFamily);
2850
2851
  --tb-title-font-weight: var(--text-heading-xs-fontWeight);
2851
2852
  --tb-title-font-size: var(--text-heading-xs-fontSize);
@@ -2886,6 +2887,7 @@ body {
2886
2887
  --tb-pad-y: var(--spacing-4);
2887
2888
  --tb-container-display: flex;
2888
2889
  --tb-title-align: left;
2890
+ --tb-title-justify: start;
2889
2891
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2890
2892
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2891
2893
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -2901,6 +2903,7 @@ body {
2901
2903
  --tb-pad-y: var(--spacing-4);
2902
2904
  --tb-container-display: flex;
2903
2905
  --tb-title-align: left;
2906
+ --tb-title-justify: start;
2904
2907
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2905
2908
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2906
2909
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -3023,6 +3026,71 @@ body {
3023
3026
  margin: 0;
3024
3027
  }
3025
3028
 
3029
+ /* ─── Title with a subtitle ─────────────────────────────
3030
+ The block takes the title's grid cell and stacks the title over a subdued
3031
+ line (subtitle), aligned like the title: centred, start in the large tier. */
3032
+
3033
+ .muka-topbar__title-block {
3034
+ grid-column: 2;
3035
+ display: flex;
3036
+ flex-direction: column;
3037
+ align-items: var(--tb-title-justify);
3038
+ min-width: 0;
3039
+ }
3040
+
3041
+ .muka-topbar__title-block > .muka-topbar__title {
3042
+ max-width: 100%;
3043
+ }
3044
+
3045
+ .muka-topbar__subtitle {
3046
+ max-width: 100%;
3047
+ overflow: hidden;
3048
+ text-overflow: ellipsis;
3049
+ white-space: nowrap;
3050
+ text-align: var(--tb-title-align);
3051
+ font-family: var(--text-body-sm-regular-fontFamily);
3052
+ font-weight: var(--text-body-sm-regular-fontWeight);
3053
+ font-size: var(--text-body-sm-regular-fontSize);
3054
+ line-height: var(--text-body-sm-regular-lineHeight);
3055
+ color: var(--color-text-subtle-default);
3056
+ }
3057
+
3058
+ /* ─── Title as a button (titleTrailing) ──────────────────
3059
+ Same type as the text title, with a trailing glyph; sized to its content so
3060
+ only the title is the hit area, centred (start in the large tier). */
3061
+
3062
+ .muka-topbar__title--button {
3063
+ display: inline-flex;
3064
+ align-items: center;
3065
+ gap: var(--spacing-1);
3066
+ justify-self: var(--tb-title-justify);
3067
+ align-self: var(--tb-title-justify);
3068
+ max-width: 100%;
3069
+ padding: 0;
3070
+ border: 0;
3071
+ background: none;
3072
+ cursor: pointer;
3073
+ border-radius: var(--radius-sm);
3074
+ }
3075
+
3076
+ .muka-topbar__title-text {
3077
+ min-width: 0;
3078
+ overflow: hidden;
3079
+ text-overflow: ellipsis;
3080
+ white-space: nowrap;
3081
+ }
3082
+
3083
+ .muka-topbar__title-glyph {
3084
+ display: inline-flex;
3085
+ flex-shrink: 0;
3086
+ color: var(--color-text-subtle-default);
3087
+ }
3088
+
3089
+ .muka-topbar__title--button:focus-visible {
3090
+ outline: 2px solid var(--color-border-focus);
3091
+ outline-offset: 2px;
3092
+ }
3093
+
3026
3094
  /* ─── Trailing slot ───────────────────────────────────── */
3027
3095
 
3028
3096
  .muka-topbar__trailing {
@@ -3543,985 +3611,985 @@ body {
3543
3611
  }
3544
3612
 
3545
3613
 
3546
- /* Tile */
3547
- /* Tile Component Styles - Using Muka Design Tokens */
3548
-
3549
- /* ─── Base ────────────────────────────────────────────── */
3550
-
3551
- .muka-tile {
3552
- display: flex;
3553
- color: var(--color-text-default-default);
3554
- }
3614
+ /* Thumbnail */
3615
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3555
3616
 
3556
- .muka-tile--interactive {
3557
- cursor: pointer;
3558
- user-select: none;
3617
+ .muka-thumbnail {
3618
+ position: relative;
3619
+ flex-shrink: 0;
3559
3620
  }
3560
3621
 
3561
- .muka-tile--interactive:focus-visible {
3562
- outline: 2px solid var(--color-border-focus);
3563
- outline-offset: 2px;
3622
+ /* The frame carries the border, background and shape clip. Keeping it separate
3623
+ from the root lets the remove (×) button sit outside the clip (needed for the
3624
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3625
+ .muka-thumbnail__frame {
3626
+ position: absolute;
3627
+ inset: 0;
3628
+ overflow: hidden;
3629
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3564
3630
  border-radius: var(--border-radius-lg);
3631
+ background-color: var(--color-surface-level1);
3565
3632
  }
3566
3633
 
3567
- /* ─── Image position variants ─────────────────────────── */
3634
+ /* ─── Shapes ──────────────────────────────────────────── */
3635
+ .muka-thumbnail--4-3 {
3636
+ width: 160px;
3637
+ height: 120px;
3638
+ }
3568
3639
 
3569
- .muka-tile--image-top {
3570
- flex-direction: column;
3640
+ .muka-thumbnail--1-1 {
3641
+ width: 120px;
3642
+ height: 120px;
3571
3643
  }
3572
3644
 
3573
- .muka-tile--image-left {
3574
- flex-direction: row;
3645
+ .muka-thumbnail--ellipse {
3646
+ width: 120px;
3647
+ height: 120px;
3575
3648
  }
3576
3649
 
3577
- .muka-tile--image-right {
3578
- flex-direction: row;
3650
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3651
+ .muka-thumbnail--fluid {
3652
+ width: 100%;
3653
+ height: auto;
3654
+ aspect-ratio: 1 / 1;
3579
3655
  }
3580
3656
 
3581
- /* ─── Gap by size (top) ───────────────────────────────── */
3657
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3658
+ aspect-ratio: 4 / 3;
3659
+ }
3582
3660
 
3583
- .muka-tile--image-top.muka-tile--lg {
3584
- gap: var(--spacing-6);
3661
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3662
+ border-radius: var(--border-radius-full);
3585
3663
  }
3586
3664
 
3587
- .muka-tile--image-top.muka-tile--md {
3588
- gap: var(--spacing-6);
3589
- width: 320px;
3665
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3666
+ interactive hover zoom has a clean origin. */
3667
+ .muka-thumbnail__image {
3668
+ position: absolute;
3669
+ inset: 0;
3670
+ width: 100%;
3671
+ height: 100%;
3672
+ object-fit: cover;
3673
+ display: block;
3674
+ transform-origin: center;
3675
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3676
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3590
3677
  }
3591
3678
 
3592
- .muka-tile--image-top.muka-tile--sm {
3593
- gap: var(--spacing-4);
3594
- min-width: 120px;
3679
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3680
+ .muka-thumbnail__trigger {
3681
+ position: absolute;
3682
+ inset: 0;
3683
+ padding: 0;
3684
+ border: 0;
3685
+ background: none;
3686
+ cursor: pointer;
3687
+ overflow: hidden;
3595
3688
  }
3596
3689
 
3597
- /* ─── Gap by size (left/right) ────────────────────────── */
3690
+ .muka-thumbnail__trigger:focus-visible {
3691
+ outline: 2px solid var(--color-border-focus);
3692
+ outline-offset: -2px;
3693
+ }
3598
3694
 
3599
- .muka-tile--image-left.muka-tile--lg,
3600
- .muka-tile--image-right.muka-tile--lg {
3601
- gap: var(--spacing-6);
3602
- align-items: center;
3695
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3696
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3697
+ transform: scale(1.05);
3603
3698
  }
3604
3699
 
3605
- .muka-tile--image-left.muka-tile--md,
3606
- .muka-tile--image-right.muka-tile--md {
3607
- gap: var(--spacing-6);
3700
+ /* ─── Loading overlay + progress donut ────────────────── */
3701
+ .muka-thumbnail__overlay {
3702
+ position: absolute;
3703
+ inset: 0;
3704
+ display: flex;
3608
3705
  align-items: center;
3706
+ justify-content: center;
3707
+ background-color: var(--dialog-color-backdrop);
3609
3708
  }
3610
3709
 
3611
- .muka-tile--image-left.muka-tile--sm,
3612
- .muka-tile--image-right.muka-tile--sm {
3613
- gap: var(--spacing-4);
3614
- align-items: flex-start;
3710
+ .muka-thumbnail__progress {
3711
+ width: 40px;
3712
+ height: 40px;
3615
3713
  }
3616
3714
 
3617
- /* ─── Photos container ────────────────────────────────── */
3715
+ /* ─── Error / corrupt state ───────────────────────────── */
3716
+ .muka-thumbnail--error .muka-thumbnail__frame {
3717
+ background-color: var(--alias-color-state-error-muted);
3718
+ border-color: var(--alias-color-state-error-default);
3719
+ }
3618
3720
 
3619
- .muka-tile__photos {
3620
- position: relative;
3621
- flex-shrink: 0;
3622
- overflow: hidden;
3721
+ .muka-thumbnail__error {
3722
+ position: absolute;
3723
+ inset: 0;
3623
3724
  display: flex;
3624
3725
  flex-direction: column;
3625
- isolation: isolate;
3726
+ align-items: center;
3727
+ justify-content: center;
3728
+ gap: var(--spacing-2);
3729
+ padding: var(--spacing-3);
3730
+ text-align: center;
3626
3731
  }
3627
3732
 
3628
- /* Photos border radius by size */
3629
- .muka-tile--lg .muka-tile__photos,
3630
- .muka-tile--md .muka-tile__photos {
3631
- border-radius: var(--border-radius-lg);
3733
+ .muka-thumbnail__error-icon {
3734
+ color: var(--alert-color-error-accent);
3632
3735
  }
3633
3736
 
3634
- .muka-tile--sm .muka-tile__photos {
3635
- border-radius: var(--border-radius-md);
3737
+ .muka-thumbnail__caption {
3738
+ max-width: 100%;
3739
+ overflow: hidden;
3740
+ text-overflow: ellipsis;
3741
+ white-space: nowrap;
3742
+ color: var(--alert-color-error-accent);
3743
+ font-family: var(--text-body-sm-regular-fontFamily);
3744
+ font-size: var(--text-body-sm-regular-fontSize);
3745
+ font-weight: var(--text-body-sm-regular-fontWeight);
3746
+ line-height: var(--text-body-sm-regular-lineHeight);
3636
3747
  }
3637
3748
 
3638
- /* Photos sizing: top layout */
3639
- .muka-tile--image-top .muka-tile__photos {
3640
- width: 100%;
3749
+ /* ─── Remove (×) button ───────────────────────────────── */
3750
+ .muka-thumbnail__remove {
3751
+ position: absolute;
3752
+ top: var(--spacing-2);
3753
+ right: var(--spacing-2);
3754
+ display: flex;
3755
+ align-items: center;
3756
+ justify-content: center;
3757
+ width: var(--size-2xl);
3758
+ height: var(--size-2xl);
3759
+ padding: 0;
3760
+ color: var(--button-color-tertiary-foreground-default);
3761
+ background-color: var(--button-color-tertiary-background-default);
3762
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3763
+ border-radius: var(--border-radius-lg);
3764
+ cursor: pointer;
3765
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3766
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3641
3767
  }
3642
3768
 
3643
- /* Photos sizing: left/right large */
3644
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3645
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3646
- width: 520px;
3769
+ .muka-thumbnail__remove:hover {
3770
+ color: var(--button-color-tertiary-foreground-hover);
3771
+ background-color: var(--button-color-tertiary-background-hover);
3772
+ border-color: var(--button-color-tertiary-border-hover);
3647
3773
  }
3648
3774
 
3649
- /* Photos sizing: left/right medium */
3650
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3651
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3652
- width: 320px;
3775
+ .muka-thumbnail__remove:active {
3776
+ color: var(--button-color-tertiary-foreground-pressed);
3777
+ background-color: var(--button-color-tertiary-background-pressed);
3778
+ border-color: var(--button-color-tertiary-border-pressed);
3653
3779
  }
3654
3780
 
3655
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3656
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3657
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3658
- width: 80px;
3659
- align-self: stretch;
3781
+ .muka-thumbnail__remove:focus-visible {
3782
+ outline: 2px solid var(--color-border-focus);
3783
+ outline-offset: 2px;
3660
3784
  }
3661
3785
 
3662
- /* ─── Main photo ──────────────────────────────────────── */
3786
+ /* ─── Reduced motion ──────────────────────────────────── */
3787
+ @media (prefers-reduced-motion: reduce) {
3788
+ .muka-thumbnail__image,
3789
+ .muka-thumbnail__remove {
3790
+ transition: none;
3791
+ }
3663
3792
 
3664
- .muka-tile__photo-main {
3665
- position: relative;
3666
- width: 100%;
3667
- overflow: hidden;
3668
- flex-shrink: 0;
3793
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3794
+ transform: none;
3795
+ }
3669
3796
  }
3670
3797
 
3671
- /* 16:9 aspect for lg and md */
3672
- .muka-tile--lg .muka-tile__photo-main,
3673
- .muka-tile--md .muka-tile__photo-main {
3674
- aspect-ratio: 1280 / 720;
3675
- }
3676
3798
 
3677
- /* 1:1 aspect for top + sm */
3678
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3679
- aspect-ratio: 1 / 1;
3680
- }
3799
+ /* Textarea */
3800
+ /* Textarea Component Styles - Using Muka Design Tokens */
3681
3801
 
3682
- /* Fixed size for left/right + sm */
3683
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3684
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3685
- width: 80px;
3686
- height: 80px;
3687
- aspect-ratio: auto;
3802
+ .muka-textarea {
3803
+ display: inline-flex;
3804
+ flex-direction: column;
3805
+ gap: var(--spacing-2);
3688
3806
  }
3689
3807
 
3690
- .muka-tile__photo-main img {
3691
- width: 100%;
3692
- height: 100%;
3693
- object-fit: cover;
3694
- display: block;
3808
+ /* Label */
3809
+ .muka-textarea__label {
3810
+ color: var(--color-text-default-default);
3811
+ cursor: pointer;
3695
3812
  }
3696
3813
 
3697
- /* ─── Favourite overlay ───────────────────────────────── */
3698
-
3699
- .muka-tile__favourite {
3700
- position: absolute;
3701
- z-index: 3;
3814
+ .muka-textarea__label--sm {
3815
+ font-family: var(--text-label-sm-semibold-fontFamily);
3816
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3817
+ font-size: var(--text-label-sm-semibold-fontSize);
3818
+ line-height: var(--text-label-sm-semibold-lineHeight);
3702
3819
  }
3703
3820
 
3704
- .muka-tile--lg .muka-tile__favourite,
3705
- .muka-tile--md .muka-tile__favourite {
3706
- top: var(--spacing-4);
3707
- right: var(--spacing-4);
3821
+ .muka-textarea__label--md {
3822
+ font-family: var(--text-label-md-semibold-fontFamily);
3823
+ font-weight: var(--text-label-md-semibold-fontWeight);
3824
+ font-size: var(--text-label-md-semibold-fontSize);
3825
+ line-height: var(--text-label-md-semibold-lineHeight);
3708
3826
  }
3709
3827
 
3710
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3711
- top: var(--spacing-1);
3712
- right: var(--spacing-1);
3828
+ .muka-textarea__label--lg {
3829
+ font-family: var(--text-label-lg-semibold-fontFamily);
3830
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3831
+ font-size: var(--text-label-lg-semibold-fontSize);
3832
+ line-height: var(--text-label-lg-semibold-lineHeight);
3713
3833
  }
3714
3834
 
3715
- /* ─── Thumbnails ──────────────────────────────────────── */
3835
+ .muka-textarea__required {
3836
+ color: var(--color-state-error-default);
3837
+ }
3716
3838
 
3717
- .muka-tile__thumbnails {
3839
+ /* Field container */
3840
+ .muka-textarea__field {
3718
3841
  display: flex;
3719
- gap: 2px;
3720
- overflow: hidden;
3721
- flex-shrink: 0;
3722
- height: 80px;
3842
+ background-color: var(--input-field-color-default-background);
3843
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3844
+ border-radius: var(--input-field-radius-md);
3845
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3846
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3847
+ box-sizing: border-box;
3723
3848
  }
3724
3849
 
3725
- .muka-tile__thumbnail {
3726
- width: 80px;
3727
- height: 80px;
3728
- flex-shrink: 0;
3729
- overflow: hidden;
3850
+ .muka-textarea__field--sm {
3851
+ min-height: var(--input-textarea-height-sm);
3852
+ border-radius: var(--input-field-radius-sm);
3730
3853
  }
3731
3854
 
3732
- .muka-tile__thumbnail img {
3733
- width: 100%;
3734
- height: 100%;
3735
- object-fit: cover;
3736
- display: block;
3855
+ .muka-textarea__field--md {
3856
+ min-height: var(--input-textarea-height-default);
3857
+ border-radius: var(--input-field-radius-md);
3737
3858
  }
3738
3859
 
3739
- /* Gap between main photo and thumbnails */
3740
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3741
- margin-top: 2px;
3860
+ .muka-textarea__field--lg {
3861
+ min-height: var(--input-textarea-height-lg);
3862
+ border-radius: var(--input-field-radius-lg);
3742
3863
  }
3743
3864
 
3744
- /* ─── Content section ─────────────────────────────────── */
3745
-
3746
- .muka-tile__content {
3747
- display: flex;
3748
- flex-direction: column;
3749
- flex: 1;
3750
- min-width: 0;
3865
+ /* Focus state */
3866
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3867
+ border-width: var(--border-width-bold);
3868
+ border-color: var(--input-field-color-focus-border);
3869
+ background-color: var(--input-field-color-focus-background);
3870
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3751
3871
  }
3752
3872
 
3753
- /* Top layout: content has horizontal padding */
3754
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3755
- padding: 0 var(--spacing-3);
3756
- gap: var(--spacing-1);
3873
+ /* Error state */
3874
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3875
+ border-width: var(--border-width-bold);
3876
+ border-color: var(--input-field-color-error-border);
3877
+ background-color: var(--input-field-color-error-background);
3878
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3757
3879
  }
3758
3880
 
3759
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3760
- padding: 0 var(--spacing-3);
3761
- gap: var(--spacing-2);
3881
+ /* Disabled state */
3882
+ .muka-textarea__field--disabled {
3883
+ background-color: var(--input-field-color-disabled-background);
3884
+ border-color: var(--input-field-color-disabled-border);
3885
+ cursor: not-allowed;
3762
3886
  }
3763
3887
 
3764
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3765
- gap: var(--spacing-2);
3888
+ /* Native textarea */
3889
+ .muka-textarea__native {
3890
+ flex: 1;
3891
+ border: none;
3892
+ outline: none;
3893
+ background: transparent;
3894
+ color: var(--input-field-color-default-foreground);
3895
+ font-family: var(--text-input-md-fontFamily);
3896
+ font-weight: var(--text-input-md-fontWeight);
3897
+ font-size: var(--text-input-md-fontSize);
3898
+ line-height: var(--text-input-md-lineHeight);
3899
+ padding: 0;
3900
+ width: 100%;
3901
+ min-width: 0;
3766
3902
  }
3767
3903
 
3768
- /* Left/right layout: content grows to fill space */
3769
- .muka-tile--image-left .muka-tile__content,
3770
- .muka-tile--image-right .muka-tile__content {
3771
- gap: var(--spacing-3);
3904
+ .muka-textarea__field--sm .muka-textarea__native {
3905
+ font-family: var(--text-input-sm-fontFamily);
3906
+ font-weight: var(--text-input-sm-fontWeight);
3907
+ font-size: var(--text-input-sm-fontSize);
3908
+ line-height: var(--text-input-sm-lineHeight);
3772
3909
  }
3773
3910
 
3774
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3775
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3776
- padding: 0 var(--spacing-3);
3911
+ .muka-textarea__field--lg .muka-textarea__native {
3912
+ font-family: var(--text-input-lg-fontFamily);
3913
+ font-weight: var(--text-input-lg-fontWeight);
3914
+ font-size: var(--text-input-lg-fontSize);
3915
+ line-height: var(--text-input-lg-lineHeight);
3777
3916
  }
3778
3917
 
3779
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3780
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3781
- padding: var(--spacing-2) var(--spacing-3);
3918
+ .muka-textarea__native::placeholder {
3919
+ color: var(--color-text-subtle-default);
3782
3920
  }
3783
3921
 
3784
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3785
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3786
- gap: var(--spacing-2);
3922
+ .muka-textarea__field--disabled .muka-textarea__native {
3923
+ color: var(--input-field-color-disabled-foreground);
3924
+ cursor: not-allowed;
3787
3925
  }
3788
3926
 
3789
- /* ─── Header (heading row + price) ────────────────────── */
3790
-
3791
- .muka-tile__header {
3927
+ /* Footer (helper/error + count) */
3928
+ .muka-textarea__footer {
3792
3929
  display: flex;
3930
+ justify-content: space-between;
3793
3931
  align-items: flex-start;
3794
- gap: var(--spacing-4);
3795
- }
3796
-
3797
- /* Small horizontal: row with text and action */
3798
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3799
3932
  gap: var(--spacing-2);
3800
- align-items: center;
3801
- padding-top: var(--spacing-1);
3802
3933
  }
3803
3934
 
3804
- /* ─── Text group ──────────────────────────────────────── */
3805
-
3806
- .muka-tile__text {
3807
- display: flex;
3808
- flex-direction: column;
3809
- flex: 1;
3810
- min-width: 0;
3811
- gap: var(--spacing-2);
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;
3812
3942
  }
3813
3943
 
3814
- /* ─── Heading typography ──────────────────────────────── */
3815
-
3816
- .muka-tile__heading {
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);
3817
3950
  margin: 0;
3818
3951
  }
3819
3952
 
3820
- .muka-tile--lg .muka-tile__heading {
3821
- font-family: var(--text-label-2xl-semibold-fontFamily);
3822
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3823
- font-size: var(--text-label-2xl-semibold-fontSize);
3824
- line-height: var(--text-label-2xl-semibold-lineHeight);
3825
- color: var(--color-text-default-default);
3953
+ .muka-textarea__count {
3954
+ font-family: var(--text-label-sm-regular-fontFamily);
3955
+ font-weight: var(--text-label-sm-regular-fontWeight);
3956
+ font-size: var(--text-label-sm-regular-fontSize);
3957
+ line-height: var(--text-label-sm-regular-lineHeight);
3958
+ color: var(--color-text-subtle-default);
3959
+ margin-left: auto;
3826
3960
  }
3827
3961
 
3828
- .muka-tile--md .muka-tile__heading {
3829
- font-family: var(--text-label-xl-semibold-fontFamily);
3830
- font-weight: var(--text-label-xl-semibold-fontWeight);
3831
- font-size: var(--text-label-xl-semibold-fontSize);
3832
- line-height: var(--text-label-xl-semibold-lineHeight);
3833
- color: var(--color-text-default-default);
3834
- }
3835
3962
 
3836
- .muka-tile--sm .muka-tile__heading {
3837
- font-family: var(--text-label-lg-bold-fontFamily);
3838
- font-weight: var(--text-label-lg-bold-fontWeight);
3839
- font-size: var(--text-label-lg-bold-fontSize);
3840
- line-height: var(--text-label-lg-bold-lineHeight);
3841
- color: var(--color-text-default-default);
3842
- }
3963
+ /* TextLink */
3964
+ /* TextLink Component Styles - Using Muka Design Tokens */
3843
3965
 
3844
- /* ─── Subheading typography ───────────────────────────── */
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);
3976
+ }
3845
3977
 
3846
- .muka-tile__subheading {
3847
- margin: 0;
3848
- color: var(--color-text-subtle-default);
3849
- }
3850
-
3851
- .muka-tile--lg .muka-tile__subheading {
3852
- font-family: var(--text-subheading-md-fontFamily);
3853
- font-weight: var(--text-subheading-md-fontWeight);
3854
- font-size: var(--text-subheading-md-fontSize);
3855
- line-height: var(--text-subheading-md-lineHeight);
3856
- }
3857
-
3858
- .muka-tile--md .muka-tile__subheading,
3859
- .muka-tile--sm .muka-tile__subheading {
3860
- font-family: var(--text-subheading-sm-fontFamily);
3861
- font-weight: var(--text-subheading-sm-fontWeight);
3862
- font-size: var(--text-subheading-sm-fontSize);
3863
- line-height: var(--text-subheading-sm-lineHeight);
3978
+ /* ─── Sizes ───────────────────────────────────────────────
3979
+ Mirrors the body text scale so a link matches the copy it sits in. */
3980
+ .muka-text-link--sm {
3981
+ font-family: var(--text-body-sm-regular-fontFamily);
3982
+ font-weight: var(--text-body-sm-regular-fontWeight);
3983
+ font-size: var(--text-body-sm-regular-fontSize);
3984
+ line-height: var(--text-body-sm-regular-lineHeight);
3864
3985
  }
3865
3986
 
3866
- /* ─── Description typography ──────────────────────────── */
3867
-
3868
- .muka-tile__description {
3869
- margin: 0;
3870
- color: var(--color-text-default-default);
3987
+ .muka-text-link--base {
3988
+ font-family: var(--text-body-base-regular-fontFamily);
3989
+ font-weight: var(--text-body-base-regular-fontWeight);
3990
+ font-size: var(--text-body-base-regular-fontSize);
3991
+ line-height: var(--text-body-base-regular-lineHeight);
3871
3992
  }
3872
3993
 
3873
- .muka-tile--lg .muka-tile__description {
3994
+ .muka-text-link--lg {
3874
3995
  font-family: var(--text-body-lg-regular-fontFamily);
3875
3996
  font-weight: var(--text-body-lg-regular-fontWeight);
3876
3997
  font-size: var(--text-body-lg-regular-fontSize);
3877
3998
  line-height: var(--text-body-lg-regular-lineHeight);
3878
3999
  }
3879
4000
 
3880
- .muka-tile--md .muka-tile__description,
3881
- .muka-tile--sm .muka-tile__description {
3882
- font-family: var(--text-body-base-regular-fontFamily);
3883
- font-weight: var(--text-body-base-regular-fontWeight);
3884
- font-size: var(--text-body-base-regular-fontSize);
3885
- line-height: var(--text-body-base-regular-lineHeight);
4001
+ /* ─── Variant: default (accent) ───────────────────────────
4002
+ Visited repeats the default colour on purpose: the design treats visited and
4003
+ default the same, and pinning it stops the browser's purple from showing. */
4004
+ .muka-text-link--default,
4005
+ .muka-text-link--default:visited {
4006
+ color: var(--color-text-action-default);
3886
4007
  }
3887
4008
 
3888
- /* Description overflow for medium */
3889
- .muka-tile--md .muka-tile__description {
3890
- overflow: hidden;
3891
- text-overflow: ellipsis;
4009
+ .muka-text-link--default:hover,
4010
+ .muka-text-link--default:focus-visible {
4011
+ color: var(--color-text-action-hover);
3892
4012
  }
3893
4013
 
3894
- /* ─── Price slot ──────────────────────────────────────── */
4014
+ .muka-text-link--default:active {
4015
+ color: var(--color-text-action-pressed);
4016
+ }
3895
4017
 
3896
- .muka-tile__price {
3897
- flex-shrink: 0;
4018
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4019
+ Hover, focus and pressed all darken to the default text colour. */
4020
+ .muka-text-link--subtle,
4021
+ .muka-text-link--subtle:visited {
4022
+ color: var(--color-text-subtle-default);
3898
4023
  }
3899
4024
 
3900
- /* ─── Action slot ─────────────────────────────────────── */
4025
+ .muka-text-link--subtle:hover,
4026
+ .muka-text-link--subtle:focus-visible,
4027
+ .muka-text-link--subtle:active {
4028
+ color: var(--color-text-default-default);
4029
+ }
3901
4030
 
3902
- .muka-tile__action {
3903
- flex-shrink: 0;
4031
+ /* ─── Focus ───────────────────────────────────────────────
4032
+ Same ring as every other focusable Muka component. */
4033
+ .muka-text-link:focus-visible {
4034
+ outline: 2px solid var(--color-border-focus);
4035
+ outline-offset: 2px;
3904
4036
  }
3905
4037
 
4038
+ @media (prefers-reduced-motion: reduce) {
4039
+ .muka-text-link {
4040
+ transition: none;
4041
+ }
4042
+ }
3906
4043
 
3907
- /* Thumbnail */
3908
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3909
4044
 
3910
- .muka-thumbnail {
3911
- position: relative;
3912
- flex-shrink: 0;
3913
- }
4045
+ /* Tabs */
4046
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3914
4047
 
3915
- /* The frame carries the border, background and shape clip. Keeping it separate
3916
- from the root lets the remove (×) button sit outside the clip (needed for the
3917
- circular/ellipse shape, whose corners would otherwise clip the button). */
3918
- .muka-thumbnail__frame {
3919
- position: absolute;
3920
- inset: 0;
3921
- overflow: hidden;
3922
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3923
- border-radius: var(--border-radius-lg);
3924
- background-color: var(--color-surface-level1);
4048
+ .muka-tabs {
4049
+ display: flex;
4050
+ flex-direction: column;
3925
4051
  }
3926
4052
 
3927
- /* ─── Shapes ──────────────────────────────────────────── */
3928
- .muka-thumbnail--4-3 {
3929
- width: 160px;
3930
- height: 120px;
4053
+ /* Alignment Variants */
4054
+ .muka-tabs--align-left .muka-tabs__list {
4055
+ justify-content: flex-start;
3931
4056
  }
3932
-
3933
- .muka-thumbnail--1-1 {
3934
- width: 120px;
3935
- height: 120px;
4057
+ .muka-tabs--align-center .muka-tabs__list {
4058
+ justify-content: center;
3936
4059
  }
3937
-
3938
- .muka-thumbnail--ellipse {
3939
- width: 120px;
3940
- height: 120px;
4060
+ .muka-tabs--align-fill .muka-tabs__list {
4061
+ justify-content: space-between;
4062
+ }
4063
+ .muka-tabs--align-fill .muka-tabs__trigger {
4064
+ flex: 1;
3941
4065
  }
3942
4066
 
3943
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3944
- .muka-thumbnail--fluid {
3945
- width: 100%;
3946
- height: auto;
3947
- aspect-ratio: 1 / 1;
4067
+ /* Tab List — strip container */
4068
+ .muka-tabs__list {
4069
+ display: flex;
4070
+ align-items: center;
4071
+ position: relative;
4072
+ z-index: 2;
4073
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3948
4074
  }
3949
4075
 
3950
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3951
- aspect-ratio: 4 / 3;
4076
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4077
+ .muka-tabs--padding-default .muka-tabs__list {
4078
+ padding-inline: var(--tabs-list-padding-x);
3952
4079
  }
3953
4080
 
3954
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3955
- border-radius: var(--border-radius-full);
4081
+ /* Tab Trigger — clean underline style */
4082
+ .muka-tabs__trigger {
4083
+ display: inline-flex;
4084
+ align-items: center;
4085
+ justify-content: center;
4086
+ gap: var(--spacing-1);
4087
+ background: transparent;
4088
+ border: none;
4089
+ cursor: pointer;
4090
+ user-select: none;
4091
+ transition: background-color 0.2s ease, color 0.2s ease;
4092
+ outline: none;
4093
+ white-space: nowrap;
4094
+ position: relative;
4095
+ z-index: 2;
4096
+ color: var(--tabs-trigger-color-default-foreground);
4097
+
4098
+ /* Default MD size values */
4099
+ min-height: var(--tabs-trigger-min-height-md);
4100
+ padding: var(--spacing-3);
4101
+ font-family: var(--text-label-md-regular-fontFamily);
4102
+ font-weight: var(--text-label-md-regular-fontWeight);
4103
+ font-size: var(--text-label-md-regular-fontSize);
4104
+ line-height: var(--text-label-md-regular-lineHeight);
3956
4105
  }
3957
4106
 
3958
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3959
- interactive hover zoom has a clean origin. */
3960
- .muka-thumbnail__image {
3961
- position: absolute;
3962
- inset: 0;
3963
- width: 100%;
3964
- height: 100%;
3965
- object-fit: cover;
3966
- display: block;
3967
- transform-origin: center;
3968
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3969
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4107
+ /* Size Variants */
4108
+ .muka-tabs--size-sm .muka-tabs__trigger {
4109
+ min-height: var(--tabs-trigger-min-height-sm);
4110
+ padding: 0 var(--spacing-2);
4111
+ font-family: var(--text-label-sm-regular-fontFamily);
4112
+ font-weight: var(--text-label-sm-regular-fontWeight);
4113
+ font-size: var(--text-label-sm-regular-fontSize);
4114
+ line-height: var(--text-label-sm-regular-lineHeight);
3970
4115
  }
3971
4116
 
3972
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3973
- .muka-thumbnail__trigger {
3974
- position: absolute;
3975
- inset: 0;
3976
- padding: 0;
3977
- border: 0;
3978
- background: none;
3979
- cursor: pointer;
3980
- overflow: hidden;
4117
+ .muka-tabs--size-lg .muka-tabs__trigger {
4118
+ min-height: var(--tabs-trigger-min-height-lg);
4119
+ padding: var(--spacing-4);
4120
+ font-family: var(--text-label-lg-regular-fontFamily);
4121
+ font-weight: var(--text-label-lg-regular-fontWeight);
4122
+ font-size: var(--text-label-lg-regular-fontSize);
4123
+ line-height: var(--text-label-lg-regular-lineHeight);
3981
4124
  }
3982
4125
 
3983
- .muka-thumbnail__trigger:focus-visible {
3984
- outline: 2px solid var(--color-border-focus);
3985
- outline-offset: -2px;
4126
+ /* Hover state */
4127
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4128
+ color: var(--tabs-trigger-color-hover-foreground);
3986
4129
  }
3987
4130
 
3988
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3989
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3990
- transform: scale(1.05);
4131
+ /* Current tab */
4132
+ .muka-tabs__trigger--current {
4133
+ color: var(--tabs-trigger-color-current-foreground);
3991
4134
  }
3992
4135
 
3993
- /* ─── Loading overlay + progress donut ────────────────── */
3994
- .muka-thumbnail__overlay {
4136
+ /* Active bottom border (underline) */
4137
+ .muka-tabs__trigger--current::after {
4138
+ content: '';
3995
4139
  position: absolute;
3996
- inset: 0;
3997
- display: flex;
3998
- align-items: center;
3999
- justify-content: center;
4000
- background-color: var(--dialog-color-backdrop);
4140
+ bottom: -1px; /* Overlap the 1px border */
4141
+ left: 0;
4142
+ right: 0;
4143
+ height: var(--tabs-indicator-height-md);
4144
+ background-color: var(--tabs-indicator-color);
4145
+ border-bottom-left-radius: 1px;
4146
+ border-bottom-right-radius: 1px;
4147
+ border-top-left-radius: 3px;
4148
+ border-top-right-radius: 3px;
4149
+ z-index: 3;
4001
4150
  }
4002
4151
 
4003
- .muka-thumbnail__progress {
4004
- width: 40px;
4005
- height: 40px;
4152
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4153
+ height: var(--tabs-indicator-height-sm);
4006
4154
  }
4007
-
4008
- /* ─── Error / corrupt state ───────────────────────────── */
4009
- .muka-thumbnail--error .muka-thumbnail__frame {
4010
- background-color: var(--alias-color-state-error-muted);
4011
- border-color: var(--alias-color-state-error-default);
4155
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4156
+ height: var(--tabs-indicator-height-lg);
4012
4157
  }
4013
4158
 
4014
- .muka-thumbnail__error {
4015
- position: absolute;
4016
- inset: 0;
4017
- display: flex;
4018
- flex-direction: column;
4019
- align-items: center;
4020
- justify-content: center;
4021
- gap: var(--spacing-2);
4022
- padding: var(--spacing-3);
4023
- text-align: center;
4159
+ .muka-tabs__trigger--disabled {
4160
+ color: var(--tabs-trigger-color-disabled-foreground);
4161
+ cursor: not-allowed;
4024
4162
  }
4025
4163
 
4026
- .muka-thumbnail__error-icon {
4027
- color: var(--alert-color-error-accent);
4164
+ .muka-tabs__trigger:focus-visible {
4165
+ outline: 2px solid var(--color-border-focus);
4166
+ outline-offset: -2px;
4028
4167
  }
4029
4168
 
4030
- .muka-thumbnail__caption {
4031
- max-width: 100%;
4032
- overflow: hidden;
4033
- text-overflow: ellipsis;
4034
- white-space: nowrap;
4035
- color: var(--alert-color-error-accent);
4036
- font-family: var(--text-body-sm-regular-fontFamily);
4037
- font-size: var(--text-body-sm-regular-fontSize);
4038
- font-weight: var(--text-body-sm-regular-fontWeight);
4039
- line-height: var(--text-body-sm-regular-lineHeight);
4169
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4170
+ item sits 12px from the text */
4171
+ .muka-tabs__label {
4172
+ padding: 0 var(--spacing-2);
4040
4173
  }
4041
4174
 
4042
- /* ─── Remove (×) button ───────────────────────────────── */
4043
- .muka-thumbnail__remove {
4044
- position: absolute;
4045
- top: var(--spacing-2);
4046
- right: var(--spacing-2);
4175
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4176
+ .muka-tabs__leading {
4047
4177
  display: flex;
4048
4178
  align-items: center;
4049
4179
  justify-content: center;
4050
- width: var(--size-2xl);
4051
- height: var(--size-2xl);
4052
- padding: 0;
4053
- color: var(--button-color-tertiary-foreground-default);
4054
- background-color: var(--button-color-tertiary-background-default);
4055
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4056
- border-radius: var(--border-radius-lg);
4057
- cursor: pointer;
4058
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4059
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4180
+ flex-shrink: 0;
4060
4181
  }
4182
+ .muka-tabs__trigger .muka-icon {
4183
+ color: inherit;
4184
+ }
4185
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4186
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4187
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4188
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4189
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4190
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4191
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4061
4192
 
4062
- .muka-thumbnail__remove:hover {
4063
- color: var(--button-color-tertiary-foreground-hover);
4064
- background-color: var(--button-color-tertiary-background-hover);
4065
- border-color: var(--button-color-tertiary-border-hover);
4193
+ /* Responsive Scroll behavior on small screens */
4194
+ @media (max-width: 768px) {
4195
+ .muka-tabs__list {
4196
+ /* Make scrollable */
4197
+ overflow-x: auto;
4198
+ overflow-y: hidden;
4199
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4200
+ justify-content: flex-start !important;
4201
+ max-width: 100vw;
4202
+ -webkit-overflow-scrolling: touch;
4203
+ /* Hide scrollbar for cleaner look */
4204
+ scrollbar-width: none;
4205
+ }
4206
+ .muka-tabs__list::-webkit-scrollbar {
4207
+ display: none;
4208
+ }
4209
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4210
+ .muka-tabs--align-fill .muka-tabs__trigger {
4211
+ flex: 0 0 auto;
4212
+ }
4066
4213
  }
4067
4214
 
4068
- .muka-thumbnail__remove:active {
4069
- color: var(--button-color-tertiary-foreground-pressed);
4070
- background-color: var(--button-color-tertiary-background-pressed);
4071
- border-color: var(--button-color-tertiary-border-pressed);
4215
+ /* Tab Panel — content area */
4216
+ .muka-tabs__panel {
4217
+ background-color: var(--tabs-panel-background);
4218
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4219
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4220
+ padding: var(--spacing-4);
4221
+ position: relative;
4222
+ z-index: 1;
4223
+ font-family: var(--text-body-base-regular-fontFamily);
4224
+ font-weight: var(--text-body-base-regular-fontWeight);
4225
+ font-size: var(--text-body-base-regular-fontSize);
4226
+ line-height: var(--text-body-base-regular-lineHeight);
4072
4227
  }
4073
4228
 
4074
- .muka-thumbnail__remove:focus-visible {
4229
+ .muka-tabs__panel:focus-visible {
4075
4230
  outline: 2px solid var(--color-border-focus);
4076
4231
  outline-offset: 2px;
4077
4232
  }
4078
4233
 
4079
- /* ─── Reduced motion ──────────────────────────────────── */
4080
- @media (prefers-reduced-motion: reduce) {
4081
- .muka-thumbnail__image,
4082
- .muka-thumbnail__remove {
4083
- transition: none;
4084
- }
4085
-
4086
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4087
- transform: none;
4088
- }
4089
- }
4090
-
4091
4234
 
4092
- /* Textarea */
4093
- /* Textarea Component Styles - Using Muka Design Tokens */
4235
+ /* Tile */
4236
+ /* Tile Component Styles - Using Muka Design Tokens */
4094
4237
 
4095
- .muka-textarea {
4096
- display: inline-flex;
4097
- flex-direction: column;
4098
- gap: var(--spacing-2);
4099
- }
4238
+ /* ─── Base ────────────────────────────────────────────── */
4100
4239
 
4101
- /* Label */
4102
- .muka-textarea__label {
4240
+ .muka-tile {
4241
+ display: flex;
4103
4242
  color: var(--color-text-default-default);
4104
- cursor: pointer;
4105
- }
4106
-
4107
- .muka-textarea__label--sm {
4108
- font-family: var(--text-label-sm-semibold-fontFamily);
4109
- font-weight: var(--text-label-sm-semibold-fontWeight);
4110
- font-size: var(--text-label-sm-semibold-fontSize);
4111
- line-height: var(--text-label-sm-semibold-lineHeight);
4112
4243
  }
4113
4244
 
4114
- .muka-textarea__label--md {
4115
- font-family: var(--text-label-md-semibold-fontFamily);
4116
- font-weight: var(--text-label-md-semibold-fontWeight);
4117
- font-size: var(--text-label-md-semibold-fontSize);
4118
- line-height: var(--text-label-md-semibold-lineHeight);
4245
+ .muka-tile--interactive {
4246
+ cursor: pointer;
4247
+ user-select: none;
4119
4248
  }
4120
4249
 
4121
- .muka-textarea__label--lg {
4122
- font-family: var(--text-label-lg-semibold-fontFamily);
4123
- font-weight: var(--text-label-lg-semibold-fontWeight);
4124
- font-size: var(--text-label-lg-semibold-fontSize);
4125
- line-height: var(--text-label-lg-semibold-lineHeight);
4250
+ .muka-tile--interactive:focus-visible {
4251
+ outline: 2px solid var(--color-border-focus);
4252
+ outline-offset: 2px;
4253
+ border-radius: var(--border-radius-lg);
4126
4254
  }
4127
4255
 
4128
- .muka-textarea__required {
4129
- color: var(--color-state-error-default);
4130
- }
4256
+ /* ─── Image position variants ─────────────────────────── */
4131
4257
 
4132
- /* Field container */
4133
- .muka-textarea__field {
4134
- display: flex;
4135
- background-color: var(--input-field-color-default-background);
4136
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4137
- border-radius: var(--input-field-radius-md);
4138
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4139
- transition: border-color 0.2s ease, background-color 0.2s ease;
4140
- box-sizing: border-box;
4258
+ .muka-tile--image-top {
4259
+ flex-direction: column;
4141
4260
  }
4142
4261
 
4143
- .muka-textarea__field--sm {
4144
- min-height: var(--input-textarea-height-sm);
4145
- border-radius: var(--input-field-radius-sm);
4262
+ .muka-tile--image-left {
4263
+ flex-direction: row;
4146
4264
  }
4147
4265
 
4148
- .muka-textarea__field--md {
4149
- min-height: var(--input-textarea-height-default);
4150
- border-radius: var(--input-field-radius-md);
4266
+ .muka-tile--image-right {
4267
+ flex-direction: row;
4151
4268
  }
4152
4269
 
4153
- .muka-textarea__field--lg {
4154
- min-height: var(--input-textarea-height-lg);
4155
- border-radius: var(--input-field-radius-lg);
4156
- }
4270
+ /* ─── Gap by size (top) ───────────────────────────────── */
4157
4271
 
4158
- /* Focus state */
4159
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4160
- border-width: var(--border-width-bold);
4161
- border-color: var(--input-field-color-focus-border);
4162
- background-color: var(--input-field-color-focus-background);
4163
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4272
+ .muka-tile--image-top.muka-tile--lg {
4273
+ gap: var(--spacing-6);
4164
4274
  }
4165
4275
 
4166
- /* Error state */
4167
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4168
- border-width: var(--border-width-bold);
4169
- border-color: var(--input-field-color-error-border);
4170
- background-color: var(--input-field-color-error-background);
4171
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4276
+ .muka-tile--image-top.muka-tile--md {
4277
+ gap: var(--spacing-6);
4278
+ width: 320px;
4172
4279
  }
4173
4280
 
4174
- /* Disabled state */
4175
- .muka-textarea__field--disabled {
4176
- background-color: var(--input-field-color-disabled-background);
4177
- border-color: var(--input-field-color-disabled-border);
4178
- cursor: not-allowed;
4281
+ .muka-tile--image-top.muka-tile--sm {
4282
+ gap: var(--spacing-4);
4283
+ min-width: 120px;
4179
4284
  }
4180
4285
 
4181
- /* Native textarea */
4182
- .muka-textarea__native {
4183
- flex: 1;
4184
- border: none;
4185
- outline: none;
4186
- background: transparent;
4187
- color: var(--input-field-color-default-foreground);
4188
- font-family: var(--text-input-md-fontFamily);
4189
- font-weight: var(--text-input-md-fontWeight);
4190
- font-size: var(--text-input-md-fontSize);
4191
- line-height: var(--text-input-md-lineHeight);
4192
- padding: 0;
4193
- width: 100%;
4194
- min-width: 0;
4286
+ /* ─── Gap by size (left/right) ────────────────────────── */
4287
+
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;
4195
4292
  }
4196
4293
 
4197
- .muka-textarea__field--sm .muka-textarea__native {
4198
- font-family: var(--text-input-sm-fontFamily);
4199
- font-weight: var(--text-input-sm-fontWeight);
4200
- font-size: var(--text-input-sm-fontSize);
4201
- line-height: var(--text-input-sm-lineHeight);
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;
4202
4298
  }
4203
4299
 
4204
- .muka-textarea__field--lg .muka-textarea__native {
4205
- font-family: var(--text-input-lg-fontFamily);
4206
- font-weight: var(--text-input-lg-fontWeight);
4207
- font-size: var(--text-input-lg-fontSize);
4208
- line-height: var(--text-input-lg-lineHeight);
4300
+ .muka-tile--image-left.muka-tile--sm,
4301
+ .muka-tile--image-right.muka-tile--sm {
4302
+ gap: var(--spacing-4);
4303
+ align-items: flex-start;
4209
4304
  }
4210
4305
 
4211
- .muka-textarea__native::placeholder {
4212
- color: var(--color-text-subtle-default);
4306
+ /* ─── Photos container ────────────────────────────────── */
4307
+
4308
+ .muka-tile__photos {
4309
+ position: relative;
4310
+ flex-shrink: 0;
4311
+ overflow: hidden;
4312
+ display: flex;
4313
+ flex-direction: column;
4314
+ isolation: isolate;
4213
4315
  }
4214
4316
 
4215
- .muka-textarea__field--disabled .muka-textarea__native {
4216
- color: var(--input-field-color-disabled-foreground);
4217
- cursor: not-allowed;
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);
4218
4321
  }
4219
4322
 
4220
- /* Footer (helper/error + count) */
4221
- .muka-textarea__footer {
4222
- display: flex;
4223
- justify-content: space-between;
4224
- align-items: flex-start;
4225
- gap: var(--spacing-2);
4323
+ .muka-tile--sm .muka-tile__photos {
4324
+ border-radius: var(--border-radius-md);
4226
4325
  }
4227
4326
 
4228
- .muka-textarea__helper {
4229
- font-family: var(--text-label-sm-regular-fontFamily);
4230
- font-weight: var(--text-label-sm-regular-fontWeight);
4231
- font-size: var(--text-label-sm-regular-fontSize);
4232
- line-height: var(--text-label-sm-regular-lineHeight);
4233
- color: var(--color-text-subtle-default);
4234
- margin: 0;
4327
+ /* Photos sizing: top layout */
4328
+ .muka-tile--image-top .muka-tile__photos {
4329
+ width: 100%;
4235
4330
  }
4236
4331
 
4237
- .muka-textarea__error {
4238
- font-family: var(--text-label-sm-regular-fontFamily);
4239
- font-weight: var(--text-label-sm-regular-fontWeight);
4240
- font-size: var(--text-label-sm-regular-fontSize);
4241
- line-height: var(--text-label-sm-regular-lineHeight);
4242
- color: var(--color-state-error-default);
4243
- margin: 0;
4332
+ /* Photos sizing: left/right large */
4333
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4334
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4335
+ width: 520px;
4244
4336
  }
4245
4337
 
4246
- .muka-textarea__count {
4247
- font-family: var(--text-label-sm-regular-fontFamily);
4248
- font-weight: var(--text-label-sm-regular-fontWeight);
4249
- font-size: var(--text-label-sm-regular-fontSize);
4250
- line-height: var(--text-label-sm-regular-lineHeight);
4251
- color: var(--color-text-subtle-default);
4252
- margin-left: auto;
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;
4253
4342
  }
4254
4343
 
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
+ }
4255
4350
 
4256
- /* TextLink */
4257
- /* TextLink Component Styles - Using Muka Design Tokens */
4351
+ /* ─── Main photo ──────────────────────────────────────── */
4258
4352
 
4259
- .muka-text-link {
4260
- display: inline;
4261
- cursor: pointer;
4262
- text-decoration: underline;
4263
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4264
- text-underline-offset: 0.2em;
4265
- text-decoration-thickness: from-font;
4266
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4267
- border-radius: var(--border-radius-sm);
4268
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4353
+ .muka-tile__photo-main {
4354
+ position: relative;
4355
+ width: 100%;
4356
+ overflow: hidden;
4357
+ flex-shrink: 0;
4269
4358
  }
4270
4359
 
4271
- /* ─── Sizes ───────────────────────────────────────────────
4272
- Mirrors the body text scale so a link matches the copy it sits in. */
4273
- .muka-text-link--sm {
4274
- font-family: var(--text-body-sm-regular-fontFamily);
4275
- font-weight: var(--text-body-sm-regular-fontWeight);
4276
- font-size: var(--text-body-sm-regular-fontSize);
4277
- line-height: var(--text-body-sm-regular-lineHeight);
4360
+ /* 16:9 aspect for lg and md */
4361
+ .muka-tile--lg .muka-tile__photo-main,
4362
+ .muka-tile--md .muka-tile__photo-main {
4363
+ aspect-ratio: 1280 / 720;
4278
4364
  }
4279
4365
 
4280
- .muka-text-link--base {
4281
- font-family: var(--text-body-base-regular-fontFamily);
4282
- font-weight: var(--text-body-base-regular-fontWeight);
4283
- font-size: var(--text-body-base-regular-fontSize);
4284
- line-height: var(--text-body-base-regular-lineHeight);
4366
+ /* 1:1 aspect for top + sm */
4367
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4368
+ aspect-ratio: 1 / 1;
4285
4369
  }
4286
4370
 
4287
- .muka-text-link--lg {
4288
- font-family: var(--text-body-lg-regular-fontFamily);
4289
- font-weight: var(--text-body-lg-regular-fontWeight);
4290
- font-size: var(--text-body-lg-regular-fontSize);
4291
- line-height: var(--text-body-lg-regular-lineHeight);
4371
+ /* Fixed size for left/right + sm */
4372
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4373
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4374
+ width: 80px;
4375
+ height: 80px;
4376
+ aspect-ratio: auto;
4292
4377
  }
4293
4378
 
4294
- /* ─── Variant: default (accent) ───────────────────────────
4295
- Visited repeats the default colour on purpose: the design treats visited and
4296
- default the same, and pinning it stops the browser's purple from showing. */
4297
- .muka-text-link--default,
4298
- .muka-text-link--default:visited {
4299
- color: var(--color-text-action-default);
4379
+ .muka-tile__photo-main img {
4380
+ width: 100%;
4381
+ height: 100%;
4382
+ object-fit: cover;
4383
+ display: block;
4300
4384
  }
4301
4385
 
4302
- .muka-text-link--default:hover,
4303
- .muka-text-link--default:focus-visible {
4304
- color: var(--color-text-action-hover);
4386
+ /* ─── Favourite overlay ───────────────────────────────── */
4387
+
4388
+ .muka-tile__favourite {
4389
+ position: absolute;
4390
+ z-index: 3;
4305
4391
  }
4306
4392
 
4307
- .muka-text-link--default:active {
4308
- color: var(--color-text-action-pressed);
4393
+ .muka-tile--lg .muka-tile__favourite,
4394
+ .muka-tile--md .muka-tile__favourite {
4395
+ top: var(--spacing-4);
4396
+ right: var(--spacing-4);
4309
4397
  }
4310
4398
 
4311
- /* ─── Variant: subtle (neutral) ───────────────────────────
4312
- Hover, focus and pressed all darken to the default text colour. */
4313
- .muka-text-link--subtle,
4314
- .muka-text-link--subtle:visited {
4315
- color: var(--color-text-subtle-default);
4399
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4400
+ top: var(--spacing-1);
4401
+ right: var(--spacing-1);
4316
4402
  }
4317
4403
 
4318
- .muka-text-link--subtle:hover,
4319
- .muka-text-link--subtle:focus-visible,
4320
- .muka-text-link--subtle:active {
4321
- color: var(--color-text-default-default);
4404
+ /* ─── Thumbnails ──────────────────────────────────────── */
4405
+
4406
+ .muka-tile__thumbnails {
4407
+ display: flex;
4408
+ gap: 2px;
4409
+ overflow: hidden;
4410
+ flex-shrink: 0;
4411
+ height: 80px;
4322
4412
  }
4323
4413
 
4324
- /* ─── Focus ───────────────────────────────────────────────
4325
- Same ring as every other focusable Muka component. */
4326
- .muka-text-link:focus-visible {
4327
- outline: 2px solid var(--color-border-focus);
4328
- outline-offset: 2px;
4414
+ .muka-tile__thumbnail {
4415
+ width: 80px;
4416
+ height: 80px;
4417
+ flex-shrink: 0;
4418
+ overflow: hidden;
4329
4419
  }
4330
4420
 
4331
- @media (prefers-reduced-motion: reduce) {
4332
- .muka-text-link {
4333
- transition: none;
4334
- }
4421
+ .muka-tile__thumbnail img {
4422
+ width: 100%;
4423
+ height: 100%;
4424
+ object-fit: cover;
4425
+ display: block;
4335
4426
  }
4336
4427
 
4428
+ /* Gap between main photo and thumbnails */
4429
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4430
+ margin-top: 2px;
4431
+ }
4337
4432
 
4338
- /* Tabs */
4339
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4433
+ /* ─── Content section ─────────────────────────────────── */
4340
4434
 
4341
- .muka-tabs {
4435
+ .muka-tile__content {
4342
4436
  display: flex;
4343
4437
  flex-direction: column;
4438
+ flex: 1;
4439
+ min-width: 0;
4344
4440
  }
4345
4441
 
4346
- /* Alignment Variants */
4347
- .muka-tabs--align-left .muka-tabs__list {
4348
- justify-content: flex-start;
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);
4349
4446
  }
4350
- .muka-tabs--align-center .muka-tabs__list {
4351
- justify-content: center;
4447
+
4448
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4449
+ padding: 0 var(--spacing-3);
4450
+ gap: var(--spacing-2);
4352
4451
  }
4353
- .muka-tabs--align-fill .muka-tabs__list {
4354
- justify-content: space-between;
4452
+
4453
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4454
+ gap: var(--spacing-2);
4355
4455
  }
4356
- .muka-tabs--align-fill .muka-tabs__trigger {
4357
- flex: 1;
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);
4461
+ }
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);
4358
4466
  }
4359
4467
 
4360
- /* Tab List — strip container */
4361
- .muka-tabs__list {
4362
- display: flex;
4363
- align-items: center;
4364
- position: relative;
4365
- z-index: 2;
4366
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
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);
4367
4471
  }
4368
4472
 
4369
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4370
- .muka-tabs--padding-default .muka-tabs__list {
4371
- padding-inline: var(--tabs-list-padding-x);
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);
4372
4476
  }
4373
4477
 
4374
- /* Tab Trigger — clean underline style */
4375
- .muka-tabs__trigger {
4376
- display: inline-flex;
4377
- align-items: center;
4378
- justify-content: center;
4379
- gap: var(--spacing-1);
4380
- background: transparent;
4381
- border: none;
4382
- cursor: pointer;
4383
- user-select: none;
4384
- transition: background-color 0.2s ease, color 0.2s ease;
4385
- outline: none;
4386
- white-space: nowrap;
4387
- position: relative;
4388
- z-index: 2;
4389
- color: var(--tabs-trigger-color-default-foreground);
4478
+ /* ─── Header (heading row + price) ────────────────────── */
4390
4479
 
4391
- /* Default MD size values */
4392
- min-height: var(--tabs-trigger-min-height-md);
4393
- padding: var(--spacing-3);
4394
- font-family: var(--text-label-md-regular-fontFamily);
4395
- font-weight: var(--text-label-md-regular-fontWeight);
4396
- font-size: var(--text-label-md-regular-fontSize);
4397
- line-height: var(--text-label-md-regular-lineHeight);
4480
+ .muka-tile__header {
4481
+ display: flex;
4482
+ align-items: flex-start;
4483
+ gap: var(--spacing-4);
4398
4484
  }
4399
4485
 
4400
- /* Size Variants */
4401
- .muka-tabs--size-sm .muka-tabs__trigger {
4402
- min-height: var(--tabs-trigger-min-height-sm);
4403
- padding: 0 var(--spacing-2);
4404
- font-family: var(--text-label-sm-regular-fontFamily);
4405
- font-weight: var(--text-label-sm-regular-fontWeight);
4406
- font-size: var(--text-label-sm-regular-fontSize);
4407
- line-height: var(--text-label-sm-regular-lineHeight);
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);
4408
4491
  }
4409
4492
 
4410
- .muka-tabs--size-lg .muka-tabs__trigger {
4411
- min-height: var(--tabs-trigger-min-height-lg);
4412
- padding: var(--spacing-4);
4413
- font-family: var(--text-label-lg-regular-fontFamily);
4414
- font-weight: var(--text-label-lg-regular-fontWeight);
4415
- font-size: var(--text-label-lg-regular-fontSize);
4416
- line-height: var(--text-label-lg-regular-lineHeight);
4417
- }
4493
+ /* ─── Text group ──────────────────────────────────────── */
4418
4494
 
4419
- /* Hover state */
4420
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4421
- color: var(--tabs-trigger-color-hover-foreground);
4495
+ .muka-tile__text {
4496
+ display: flex;
4497
+ flex-direction: column;
4498
+ flex: 1;
4499
+ min-width: 0;
4500
+ gap: var(--spacing-2);
4422
4501
  }
4423
4502
 
4424
- /* Current tab */
4425
- .muka-tabs__trigger--current {
4426
- color: var(--tabs-trigger-color-current-foreground);
4427
- }
4503
+ /* ─── Heading typography ──────────────────────────────── */
4428
4504
 
4429
- /* Active bottom border (underline) */
4430
- .muka-tabs__trigger--current::after {
4431
- content: '';
4432
- position: absolute;
4433
- bottom: -1px; /* Overlap the 1px border */
4434
- left: 0;
4435
- right: 0;
4436
- height: var(--tabs-indicator-height-md);
4437
- background-color: var(--tabs-indicator-color);
4438
- border-bottom-left-radius: 1px;
4439
- border-bottom-right-radius: 1px;
4440
- border-top-left-radius: 3px;
4441
- border-top-right-radius: 3px;
4442
- z-index: 3;
4505
+ .muka-tile__heading {
4506
+ margin: 0;
4443
4507
  }
4444
4508
 
4445
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4446
- height: var(--tabs-indicator-height-sm);
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);
4447
4515
  }
4448
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4449
- height: var(--tabs-indicator-height-lg);
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);
4450
4523
  }
4451
4524
 
4452
- .muka-tabs__trigger--disabled {
4453
- color: var(--tabs-trigger-color-disabled-foreground);
4454
- cursor: not-allowed;
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);
4455
4531
  }
4456
4532
 
4457
- .muka-tabs__trigger:focus-visible {
4458
- outline: 2px solid var(--color-border-focus);
4459
- outline-offset: -2px;
4533
+ /* ─── Subheading typography ───────────────────────────── */
4534
+
4535
+ .muka-tile__subheading {
4536
+ margin: 0;
4537
+ color: var(--color-text-subtle-default);
4460
4538
  }
4461
4539
 
4462
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4463
- item sits 12px from the text */
4464
- .muka-tabs__label {
4465
- padding: 0 var(--spacing-2);
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);
4466
4545
  }
4467
4546
 
4468
- /* Leading item: icon, avatar, avatar group or data pie chart */
4469
- .muka-tabs__leading {
4470
- display: flex;
4471
- align-items: center;
4472
- justify-content: center;
4473
- flex-shrink: 0;
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);
4474
4553
  }
4475
- .muka-tabs__trigger .muka-icon {
4476
- color: inherit;
4554
+
4555
+ /* ─── Description typography ──────────────────────────── */
4556
+
4557
+ .muka-tile__description {
4558
+ margin: 0;
4559
+ color: var(--color-text-default-default);
4477
4560
  }
4478
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4479
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4480
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4481
- .muka-tabs--size-md .muka-tabs__leading > svg,
4482
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4483
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4484
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4485
4561
 
4486
- /* Responsive Scroll behavior on small screens */
4487
- @media (max-width: 768px) {
4488
- .muka-tabs__list {
4489
- /* Make scrollable */
4490
- overflow-x: auto;
4491
- overflow-y: hidden;
4492
- /* Force left alignment on mobile to prevent clipping when scrolling */
4493
- justify-content: flex-start !important;
4494
- max-width: 100vw;
4495
- -webkit-overflow-scrolling: touch;
4496
- /* Hide scrollbar for cleaner look */
4497
- scrollbar-width: none;
4498
- }
4499
- .muka-tabs__list::-webkit-scrollbar {
4500
- display: none;
4501
- }
4502
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4503
- .muka-tabs--align-fill .muka-tabs__trigger {
4504
- flex: 0 0 auto;
4505
- }
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);
4506
4567
  }
4507
4568
 
4508
- /* Tab Panel — content area */
4509
- .muka-tabs__panel {
4510
- background-color: var(--tabs-panel-background);
4511
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4512
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4513
- padding: var(--spacing-4);
4514
- position: relative;
4515
- z-index: 1;
4569
+ .muka-tile--md .muka-tile__description,
4570
+ .muka-tile--sm .muka-tile__description {
4516
4571
  font-family: var(--text-body-base-regular-fontFamily);
4517
4572
  font-weight: var(--text-body-base-regular-fontWeight);
4518
4573
  font-size: var(--text-body-base-regular-fontSize);
4519
4574
  line-height: var(--text-body-base-regular-lineHeight);
4520
4575
  }
4521
4576
 
4522
- .muka-tabs__panel:focus-visible {
4523
- outline: 2px solid var(--color-border-focus);
4524
- outline-offset: 2px;
4577
+ /* Description overflow for medium */
4578
+ .muka-tile--md .muka-tile__description {
4579
+ overflow: hidden;
4580
+ text-overflow: ellipsis;
4581
+ }
4582
+
4583
+ /* ─── Price slot ──────────────────────────────────────── */
4584
+
4585
+ .muka-tile__price {
4586
+ flex-shrink: 0;
4587
+ }
4588
+
4589
+ /* ─── Action slot ─────────────────────────────────────── */
4590
+
4591
+ .muka-tile__action {
4592
+ flex-shrink: 0;
4525
4593
  }
4526
4594
 
4527
4595
 
@@ -4906,104 +4974,134 @@ body {
4906
4974
  color: var(--color-text-default-default);
4907
4975
  }
4908
4976
 
4909
- .muka-table__header-cell--sortable:focus-visible {
4910
- outline: 2px solid var(--color-action-default);
4911
- outline-offset: -2px;
4977
+ .muka-table__header-cell--sortable:focus-visible {
4978
+ outline: 2px solid var(--color-action-default);
4979
+ outline-offset: -2px;
4980
+ }
4981
+
4982
+ /* Sort icon */
4983
+ .muka-table__sort-icon {
4984
+ width: 1em;
4985
+ height: 1em;
4986
+ opacity: 0.4;
4987
+ transition: opacity 0.2s, transform 0.2s;
4988
+ }
4989
+
4990
+ .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
4991
+ opacity: 0.7;
4992
+ }
4993
+
4994
+ .muka-table__sort-icon--asc,
4995
+ .muka-table__sort-icon--desc {
4996
+ opacity: 1;
4997
+ }
4998
+
4999
+
5000
+ /* SwipeActions */
5001
+ /* SwipeActions Component Styles */
5002
+
5003
+ .muka-swipe-actions {
5004
+ position: relative;
5005
+ overflow: hidden;
5006
+ touch-action: pan-y;
5007
+ -webkit-user-select: none;
5008
+ user-select: none;
5009
+ background-color: var(--color-surface-level3);
5010
+ }
5011
+
5012
+ .muka-swipe-actions--disabled {
5013
+ touch-action: auto;
4912
5014
  }
4913
5015
 
4914
- /* Sort icon */
4915
- .muka-table__sort-icon {
4916
- width: 1em;
4917
- height: 1em;
4918
- opacity: 0.4;
4919
- transition: opacity 0.2s, transform 0.2s;
5016
+ /* ─── Row that holds the actual content ────────────────── */
5017
+
5018
+ .muka-swipe-actions__row {
5019
+ position: relative;
5020
+ z-index: 1;
5021
+ background-color: inherit;
5022
+ will-change: transform;
4920
5023
  }
4921
5024
 
4922
- .muka-table__header-cell--sortable:hover .muka-table__sort-icon {
4923
- opacity: 0.7;
5025
+ /* ─── Action panels — sit beneath the row ──────────────── */
5026
+
5027
+ .muka-swipe-actions__panel {
5028
+ position: absolute;
5029
+ top: 0;
5030
+ bottom: 0;
5031
+ display: flex;
5032
+ align-items: stretch;
5033
+ z-index: 0;
4924
5034
  }
4925
5035
 
4926
- .muka-table__sort-icon--asc,
4927
- .muka-table__sort-icon--desc {
4928
- opacity: 1;
5036
+ .muka-swipe-actions__panel--left {
5037
+ left: 0;
4929
5038
  }
4930
5039
 
5040
+ .muka-swipe-actions__panel--right {
5041
+ right: 0;
5042
+ }
4931
5043
 
4932
- /* Spinner */
4933
- /* Spinner Component Styles */
5044
+ /* ─── Single action button ─────────────────────────────── */
4934
5045
 
4935
- .muka-spinner {
4936
- display: inline-flex;
5046
+ .muka-swipe-actions__button {
5047
+ display: flex;
5048
+ flex-direction: column;
4937
5049
  align-items: center;
4938
5050
  justify-content: center;
5051
+ gap: var(--spacing-1);
5052
+ border: none;
5053
+ cursor: pointer;
5054
+ padding: var(--spacing-2);
5055
+ background-color: var(--color-surface-level2);
4939
5056
  color: var(--color-text-default-default);
4940
- line-height: 0;
5057
+ font-family: var(--text-label-sm-semibold-fontFamily);
5058
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5059
+ font-size: var(--text-label-sm-semibold-fontSize);
5060
+ line-height: var(--text-label-sm-semibold-lineHeight);
5061
+ -webkit-tap-highlight-color: transparent;
5062
+ transition: filter 0.12s ease;
4941
5063
  }
4942
5064
 
4943
- .muka-spinner--subtle {
4944
- color: var(--color-text-subtle-default);
5065
+ .muka-swipe-actions__button:hover {
5066
+ filter: brightness(0.95);
4945
5067
  }
4946
5068
 
4947
- .muka-spinner--inverse {
4948
- color: var(--color-text-default-inverse);
5069
+ .muka-swipe-actions__button:focus-visible {
5070
+ outline: 2px solid var(--color-action-default);
5071
+ outline-offset: -2px;
4949
5072
  }
4950
5073
 
4951
- .muka-spinner__circle {
4952
- display: inline-block;
4953
- border-radius: 50%;
4954
- border-style: solid;
4955
- border-color: currentColor;
4956
- border-right-color: transparent;
4957
- animation: muka-spinner-rotate 0.7s linear infinite;
4958
- box-sizing: border-box;
5074
+ .muka-swipe-actions__button-icon {
5075
+ display: inline-flex;
5076
+ align-items: center;
5077
+ justify-content: center;
4959
5078
  }
4960
5079
 
4961
- /* ─── Sizes ───────────────────────────────────────────── */
4962
-
4963
- .muka-spinner--sm .muka-spinner__circle {
4964
- width: 16px;
4965
- height: 16px;
4966
- border-width: 2px;
4967
- }
5080
+ /* ─── Color variants ───────────────────────────────────── */
4968
5081
 
4969
- .muka-spinner--md .muka-spinner__circle {
4970
- width: 20px;
4971
- height: 20px;
4972
- border-width: 2px;
5082
+ .muka-swipe-actions__button--neutral {
5083
+ background-color: var(--color-surface-level2);
5084
+ color: var(--color-text-default-default);
4973
5085
  }
4974
5086
 
4975
- .muka-spinner--lg .muka-spinner__circle {
4976
- width: 24px;
4977
- height: 24px;
4978
- border-width: 3px;
5087
+ .muka-swipe-actions__button--primary {
5088
+ background-color: var(--color-action-default);
5089
+ color: var(--color-text-default-inverse);
4979
5090
  }
4980
5091
 
4981
- /* ─── Visually-hidden label ───────────────────────────── */
4982
-
4983
- .muka-spinner__sr-label {
4984
- position: absolute;
4985
- width: 1px;
4986
- height: 1px;
4987
- padding: 0;
4988
- margin: -1px;
4989
- overflow: hidden;
4990
- clip: rect(0, 0, 0, 0);
4991
- white-space: nowrap;
4992
- border: 0;
5092
+ .muka-swipe-actions__button--success {
5093
+ background-color: var(--color-state-success-default);
5094
+ color: var(--color-text-default-inverse);
4993
5095
  }
4994
5096
 
4995
- /* ─── Reduced motion ──────────────────────────────────── */
4996
-
4997
- @keyframes muka-spinner-rotate {
4998
- to {
4999
- transform: rotate(360deg);
5000
- }
5097
+ .muka-swipe-actions__button--warning {
5098
+ background-color: var(--color-state-warning-default);
5099
+ color: var(--color-text-default-default);
5001
5100
  }
5002
5101
 
5003
- @media (prefers-reduced-motion: reduce) {
5004
- .muka-spinner__circle {
5005
- animation-duration: 2.5s;
5006
- }
5102
+ .muka-swipe-actions__button--destructive {
5103
+ background-color: var(--color-state-error-default);
5104
+ color: var(--color-text-default-inverse);
5007
5105
  }
5008
5106
 
5009
5107
 
@@ -5092,153 +5190,81 @@ body {
5092
5190
  }
5093
5191
 
5094
5192
 
5095
- /* SocialSignInButton */
5096
- /*
5097
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5098
- * Google Identity branding) and intentionally fixed across Muka brands —
5099
- * same exception pattern as LicensePlateInput regulatory colors.
5100
- *
5101
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5102
- * Google: https://developers.google.com/identity/branding-guidelines
5103
- */
5104
- .muka-social-sign-in-button {
5105
- --ssi-white: #ffffff;
5106
- --ssi-black: #000000;
5107
- --ssi-google-text-light: #1f1f1f;
5193
+ /* Spinner */
5194
+ /* Spinner Component Styles */
5108
5195
 
5196
+ .muka-spinner {
5109
5197
  display: inline-flex;
5110
5198
  align-items: center;
5111
5199
  justify-content: center;
5112
-
5113
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5114
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5115
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5116
- font-family: inherit;
5117
- font-weight: 600;
5118
- text-decoration: none;
5119
- white-space: nowrap;
5120
-
5121
- border: 1px solid transparent;
5122
- cursor: pointer;
5123
- user-select: none;
5124
- transition: opacity 0.15s ease, filter 0.15s ease;
5125
-
5126
- outline: none;
5127
- position: relative;
5128
- box-sizing: border-box;
5129
- }
5130
-
5131
- .muka-social-sign-in-button--apple {
5132
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5133
- Helvetica, Arial, sans-serif;
5134
- font-weight: 600;
5135
- }
5136
-
5137
- .muka-social-sign-in-button--google {
5138
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5139
- font-weight: 500;
5140
- }
5141
-
5142
- .muka-social-sign-in-button:focus-visible {
5143
- outline: 2px solid var(--color-border-focus);
5144
- outline-offset: 2px;
5145
- }
5146
-
5147
- /* Sizes — heights align with Button md/lg */
5148
- .muka-social-sign-in-button--md {
5149
- padding: 0 var(--button-padding-md-x);
5150
- border-radius: var(--button-radius-md);
5151
- font-size: var(--text-label-sm-semibold-fontSize);
5152
- line-height: var(--text-label-sm-semibold-lineHeight);
5153
- min-height: 40px;
5154
- min-width: 240px;
5155
- }
5156
-
5157
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5158
- padding: 0 var(--button-gap-md);
5159
- }
5160
-
5161
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5162
- width: var(--button-icon-md);
5163
- height: var(--button-icon-md);
5164
- }
5165
-
5166
- .muka-social-sign-in-button--lg {
5167
- padding: 0 var(--button-padding-lg-x);
5168
- border-radius: var(--button-radius-lg);
5169
- font-size: var(--text-label-lg-semibold-fontSize);
5170
- line-height: var(--text-label-lg-semibold-lineHeight);
5171
- min-height: 48px;
5172
- min-width: 280px;
5173
- }
5174
-
5175
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5176
- padding: 0 var(--button-gap-lg);
5200
+ color: var(--color-text-default-default);
5201
+ line-height: 0;
5177
5202
  }
5178
5203
 
5179
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5180
- width: var(--button-icon-lg);
5181
- height: var(--button-icon-lg);
5204
+ .muka-spinner--subtle {
5205
+ color: var(--color-text-subtle-default);
5182
5206
  }
5183
5207
 
5184
- /* White lockup — for dark surfaces (Apple White with Outline) */
5185
- .muka-social-sign-in-button--white {
5186
- background-color: var(--ssi-white);
5187
- color: var(--ssi-black);
5188
- border-color: var(--ssi-black);
5208
+ .muka-spinner--inverse {
5209
+ color: var(--color-text-default-inverse);
5189
5210
  }
5190
5211
 
5191
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5192
- color: var(--ssi-google-text-light);
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;
5193
5220
  }
5194
5221
 
5195
- /* Black lockup — for light surfaces */
5196
- .muka-social-sign-in-button--black {
5197
- background-color: var(--ssi-black);
5198
- color: var(--ssi-white);
5199
- border-color: transparent;
5200
- }
5222
+ /* ─── Sizes ───────────────────────────────────────────── */
5201
5223
 
5202
- /* Interaction — luminance/opacity only; no brand tint */
5203
- .muka-social-sign-in-button:hover:not(:disabled) {
5204
- filter: brightness(0.92);
5224
+ .muka-spinner--sm .muka-spinner__circle {
5225
+ width: 16px;
5226
+ height: 16px;
5227
+ border-width: 2px;
5205
5228
  }
5206
5229
 
5207
- .muka-social-sign-in-button:active:not(:disabled) {
5208
- filter: brightness(0.85);
5230
+ .muka-spinner--md .muka-spinner__circle {
5231
+ width: 20px;
5232
+ height: 20px;
5233
+ border-width: 2px;
5209
5234
  }
5210
5235
 
5211
- .muka-social-sign-in-button:disabled,
5212
- .muka-social-sign-in-button--disabled {
5213
- cursor: not-allowed;
5214
- opacity: 0.4;
5215
- pointer-events: none;
5216
- filter: none;
5236
+ .muka-spinner--lg .muka-spinner__circle {
5237
+ width: 24px;
5238
+ height: 24px;
5239
+ border-width: 3px;
5217
5240
  }
5218
5241
 
5219
- .muka-social-sign-in-button--full-width {
5220
- width: 100%;
5221
- min-width: 0;
5222
- }
5242
+ /* ─── Visually-hidden label ───────────────────────────── */
5223
5243
 
5224
- .muka-social-sign-in-button__icon {
5225
- display: inline-flex;
5226
- align-items: center;
5227
- justify-content: center;
5228
- flex-shrink: 0;
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;
5229
5254
  }
5230
5255
 
5231
- .muka-social-sign-in-button__icon > *,
5232
- .muka-social-sign-in-button__icon svg {
5233
- width: auto;
5234
- height: 100%;
5235
- max-width: 100%;
5236
- display: block;
5256
+ /* ─── Reduced motion ──────────────────────────────────── */
5257
+
5258
+ @keyframes muka-spinner-rotate {
5259
+ to {
5260
+ transform: rotate(360deg);
5261
+ }
5237
5262
  }
5238
5263
 
5239
- .muka-social-sign-in-button__label {
5240
- display: inline-flex;
5241
- align-items: center;
5264
+ @media (prefers-reduced-motion: reduce) {
5265
+ .muka-spinner__circle {
5266
+ animation-duration: 2.5s;
5267
+ }
5242
5268
  }
5243
5269
 
5244
5270
 
@@ -9318,6 +9344,24 @@ button.muka-progress-tracker__tab:focus-visible {
9318
9344
  white-space: nowrap;
9319
9345
  }
9320
9346
 
9347
+ /* A second line under the label (description): label above, subdued below. */
9348
+ .muka-menu__item--has-description .muka-menu__item-label {
9349
+ display: flex;
9350
+ flex-direction: column;
9351
+ overflow: hidden;
9352
+ }
9353
+
9354
+ .muka-menu__item-description {
9355
+ overflow: hidden;
9356
+ text-overflow: ellipsis;
9357
+ white-space: nowrap;
9358
+ font-family: var(--text-body-sm-regular-fontFamily);
9359
+ font-weight: var(--text-body-sm-regular-fontWeight);
9360
+ font-size: var(--text-body-sm-regular-fontSize);
9361
+ line-height: var(--text-body-sm-regular-lineHeight);
9362
+ color: var(--color-text-subtle-default);
9363
+ }
9364
+
9321
9365
  /* Shortcut trailers replace icons and sit with an 8px right inset. */
9322
9366
  .muka-menu__item--has-shortcut {
9323
9367
  padding-right: var(--spacing-2);
@@ -9864,11 +9908,12 @@ button.muka-progress-tracker__tab:focus-visible {
9864
9908
  margin: 0;
9865
9909
  padding: 0;
9866
9910
 
9867
- /* Typography - using semantic tokens */
9868
- font-family: var(--alias-font-plain-family);
9869
- font-weight: var(--alias-font-plain-weight-regular, 400);
9870
- font-size: var(--text-body-sm-fontSize);
9871
- line-height: var(--text-body-sm-lineHeight);
9911
+ /* Typography: the body-sm regular text style. The bare --text-body-sm-*
9912
+ names exist only as fallbacks in base.css, not in any theme. */
9913
+ font-family: var(--text-body-sm-regular-fontFamily);
9914
+ font-weight: var(--text-body-sm-regular-fontWeight);
9915
+ font-size: var(--text-body-sm-regular-fontSize);
9916
+ line-height: var(--text-body-sm-regular-lineHeight);
9872
9917
  color: var(--color-text-subtle-default);
9873
9918
 
9874
9919
  /* Text handling */
@@ -17560,110 +17605,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
17560
17605
  }
17561
17606
 
17562
17607
 
17563
- /* SwipeActions */
17564
- /* SwipeActions Component Styles */
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;
17565
17621
 
17566
- .muka-swipe-actions {
17567
- position: relative;
17568
- overflow: hidden;
17569
- touch-action: pan-y;
17570
- -webkit-user-select: none;
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;
17571
17636
  user-select: none;
17572
- background-color: var(--color-surface-level3);
17637
+ transition: opacity 0.15s ease, filter 0.15s ease;
17638
+
17639
+ outline: none;
17640
+ position: relative;
17641
+ box-sizing: border-box;
17573
17642
  }
17574
17643
 
17575
- .muka-swipe-actions--disabled {
17576
- touch-action: auto;
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;
17577
17648
  }
17578
17649
 
17579
- /* ─── Row that holds the actual content ────────────────── */
17650
+ .muka-social-sign-in-button--google {
17651
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17652
+ font-weight: 500;
17653
+ }
17580
17654
 
17581
- .muka-swipe-actions__row {
17582
- position: relative;
17583
- z-index: 1;
17584
- background-color: inherit;
17585
- will-change: transform;
17655
+ .muka-social-sign-in-button:focus-visible {
17656
+ outline: 2px solid var(--color-border-focus);
17657
+ outline-offset: 2px;
17586
17658
  }
17587
17659
 
17588
- /* ─── Action panels — sit beneath the row ──────────────── */
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
+ }
17589
17669
 
17590
- .muka-swipe-actions__panel {
17591
- position: absolute;
17592
- top: 0;
17593
- bottom: 0;
17594
- display: flex;
17595
- align-items: stretch;
17596
- z-index: 0;
17670
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17671
+ padding: 0 var(--button-gap-md);
17597
17672
  }
17598
17673
 
17599
- .muka-swipe-actions__panel--left {
17600
- left: 0;
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);
17601
17677
  }
17602
17678
 
17603
- .muka-swipe-actions__panel--right {
17604
- right: 0;
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;
17605
17686
  }
17606
17687
 
17607
- /* ─── Single action button ─────────────────────────────── */
17688
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17689
+ padding: 0 var(--button-gap-lg);
17690
+ }
17608
17691
 
17609
- .muka-swipe-actions__button {
17610
- display: flex;
17611
- flex-direction: column;
17612
- align-items: center;
17613
- justify-content: center;
17614
- gap: var(--spacing-1);
17615
- border: none;
17616
- cursor: pointer;
17617
- padding: var(--spacing-2);
17618
- background-color: var(--color-surface-level2);
17619
- color: var(--color-text-default-default);
17620
- font-family: var(--text-label-sm-semibold-fontFamily);
17621
- font-weight: var(--text-label-sm-semibold-fontWeight);
17622
- font-size: var(--text-label-sm-semibold-fontSize);
17623
- line-height: var(--text-label-sm-semibold-lineHeight);
17624
- -webkit-tap-highlight-color: transparent;
17625
- transition: filter 0.12s ease;
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);
17626
17695
  }
17627
17696
 
17628
- .muka-swipe-actions__button:hover {
17629
- filter: brightness(0.95);
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);
17630
17702
  }
17631
17703
 
17632
- .muka-swipe-actions__button:focus-visible {
17633
- outline: 2px solid var(--color-action-default);
17634
- outline-offset: -2px;
17704
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17705
+ color: var(--ssi-google-text-light);
17635
17706
  }
17636
17707
 
17637
- .muka-swipe-actions__button-icon {
17638
- display: inline-flex;
17639
- align-items: center;
17640
- justify-content: center;
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;
17641
17713
  }
17642
17714
 
17643
- /* ─── Color variants ───────────────────────────────────── */
17715
+ /* Interaction — luminance/opacity only; no brand tint */
17716
+ .muka-social-sign-in-button:hover:not(:disabled) {
17717
+ filter: brightness(0.92);
17718
+ }
17644
17719
 
17645
- .muka-swipe-actions__button--neutral {
17646
- background-color: var(--color-surface-level2);
17647
- color: var(--color-text-default-default);
17720
+ .muka-social-sign-in-button:active:not(:disabled) {
17721
+ filter: brightness(0.85);
17648
17722
  }
17649
17723
 
17650
- .muka-swipe-actions__button--primary {
17651
- background-color: var(--color-action-default);
17652
- color: var(--color-text-default-inverse);
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;
17653
17730
  }
17654
17731
 
17655
- .muka-swipe-actions__button--success {
17656
- background-color: var(--color-state-success-default);
17657
- color: var(--color-text-default-inverse);
17732
+ .muka-social-sign-in-button--full-width {
17733
+ width: 100%;
17734
+ min-width: 0;
17658
17735
  }
17659
17736
 
17660
- .muka-swipe-actions__button--warning {
17661
- background-color: var(--color-state-warning-default);
17662
- color: var(--color-text-default-default);
17737
+ .muka-social-sign-in-button__icon {
17738
+ display: inline-flex;
17739
+ align-items: center;
17740
+ justify-content: center;
17741
+ flex-shrink: 0;
17663
17742
  }
17664
17743
 
17665
- .muka-swipe-actions__button--destructive {
17666
- background-color: var(--color-state-error-default);
17667
- color: var(--color-text-default-inverse);
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;
17668
17755
  }
17669
17756