@revikornmann/muka-ui 0.53.1 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/cjs/components/ChatEvent/ChatEvent.css +49 -0
  2. package/dist/cjs/components/ChatEvent/ChatEvent.js +23 -0
  3. package/dist/cjs/components/ChatEvent/ChatEvent.js.map +1 -0
  4. package/dist/cjs/components/ChatEvent/index.js +6 -0
  5. package/dist/cjs/components/ChatEvent/index.js.map +1 -0
  6. package/dist/cjs/components/ChatMessage/ChatMessage.css +10 -0
  7. package/dist/cjs/components/ChatMessage/ChatMessage.js +5 -3
  8. package/dist/cjs/components/ChatMessage/ChatMessage.js.map +1 -1
  9. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js +5 -2
  10. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  11. package/dist/cjs/components/Divider/Divider.css +27 -0
  12. package/dist/cjs/components/Divider/Divider.js +5 -1
  13. package/dist/cjs/components/Divider/Divider.js.map +1 -1
  14. package/dist/cjs/components/DocumentViewer/DocumentViewer.css +5 -5
  15. package/dist/cjs/components/ListItem/ListItem.css +73 -4
  16. package/dist/cjs/components/ListItem/ListItem.js +25 -6
  17. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  18. package/dist/cjs/components/RecordingBar/RecordingBar.css +2 -2
  19. package/dist/cjs/components/SegmentGroup/SegmentGroup.css +6 -6
  20. package/dist/cjs/components/TopBar/TopBar.css +22 -0
  21. package/dist/cjs/components/TopBar/TopBar.js +16 -7
  22. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  23. package/dist/cjs/components/View/View.js +2 -2
  24. package/dist/cjs/components/View/View.js.map +1 -1
  25. package/dist/cjs/components/VoiceMessage/VoiceMessage.css +2 -2
  26. package/dist/cjs/components/index.js +3 -1
  27. package/dist/cjs/components/index.js.map +1 -1
  28. package/dist/esm/components/ChatEvent/ChatEvent.css +49 -0
  29. package/dist/esm/components/ChatEvent/ChatEvent.js +19 -0
  30. package/dist/esm/components/ChatEvent/ChatEvent.js.map +1 -0
  31. package/dist/esm/components/ChatEvent/index.js +2 -0
  32. package/dist/esm/components/ChatEvent/index.js.map +1 -0
  33. package/dist/esm/components/ChatMessage/ChatMessage.css +10 -0
  34. package/dist/esm/components/ChatMessage/ChatMessage.js +5 -3
  35. package/dist/esm/components/ChatMessage/ChatMessage.js.map +1 -1
  36. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js +5 -2
  37. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  38. package/dist/esm/components/Divider/Divider.css +27 -0
  39. package/dist/esm/components/Divider/Divider.js +6 -2
  40. package/dist/esm/components/Divider/Divider.js.map +1 -1
  41. package/dist/esm/components/DocumentViewer/DocumentViewer.css +5 -5
  42. package/dist/esm/components/ListItem/ListItem.css +73 -4
  43. package/dist/esm/components/ListItem/ListItem.js +25 -6
  44. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  45. package/dist/esm/components/RecordingBar/RecordingBar.css +2 -2
  46. package/dist/esm/components/SegmentGroup/SegmentGroup.css +6 -6
  47. package/dist/esm/components/TopBar/TopBar.css +22 -0
  48. package/dist/esm/components/TopBar/TopBar.js +16 -7
  49. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  50. package/dist/esm/components/View/View.js +2 -2
  51. package/dist/esm/components/View/View.js.map +1 -1
  52. package/dist/esm/components/VoiceMessage/VoiceMessage.css +2 -2
  53. package/dist/esm/components/index.js +1 -0
  54. package/dist/esm/components/index.js.map +1 -1
  55. package/dist/styles/components/ChatEvent.css +49 -0
  56. package/dist/styles/components/ChatMessage.css +10 -0
  57. package/dist/styles/components/Divider.css +27 -0
  58. package/dist/styles/components/DocumentViewer.css +5 -5
  59. package/dist/styles/components/ListItem.css +73 -4
  60. package/dist/styles/components/RecordingBar.css +2 -2
  61. package/dist/styles/components/SegmentGroup.css +6 -6
  62. package/dist/styles/components/TopBar.css +22 -0
  63. package/dist/styles/components/VoiceMessage.css +2 -2
  64. package/dist/styles/index.css +1162 -976
  65. package/dist/styles/muka-dark.css +1162 -976
  66. package/dist/styles/muka-light.css +1162 -976
  67. package/dist/styles/tokens-bouwplan-dark.css +6 -0
  68. package/dist/styles/tokens-bouwplan-light.css +6 -0
  69. package/dist/styles/tokens-fscl-dark.css +6 -0
  70. package/dist/styles/tokens-fscl-light.css +6 -0
  71. package/dist/styles/tokens-grip-dark.css +6 -0
  72. package/dist/styles/tokens-grip-light.css +6 -0
  73. package/dist/styles/tokens-muka-dark.css +6 -0
  74. package/dist/styles/tokens-muka-light.css +6 -0
  75. package/dist/styles/tokens-wireframe-dark.css +6 -0
  76. package/dist/styles/tokens-wireframe-light.css +6 -0
  77. package/dist/styles/wireframe-dark.css +1162 -976
  78. package/dist/styles/wireframe-light.css +1162 -976
  79. package/dist/types/components/ChatEvent/ChatEvent.d.ts +33 -0
  80. package/dist/types/components/ChatEvent/ChatEvent.d.ts.map +1 -0
  81. package/dist/types/components/ChatEvent/index.d.ts +2 -0
  82. package/dist/types/components/ChatEvent/index.d.ts.map +1 -0
  83. package/dist/types/components/ChatMessage/ChatMessage.d.ts +8 -3
  84. package/dist/types/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  85. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts +4 -2
  86. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts.map +1 -1
  87. package/dist/types/components/Divider/Divider.d.ts +6 -0
  88. package/dist/types/components/Divider/Divider.d.ts.map +1 -1
  89. package/dist/types/components/ListItem/ListItem.d.ts +17 -3
  90. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  91. package/dist/types/components/TopBar/TopBar.d.ts +6 -0
  92. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  93. package/dist/types/components/View/View.d.ts +2 -0
  94. package/dist/types/components/View/View.d.ts.map +1 -1
  95. package/dist/types/components/index.d.ts +1 -0
  96. package/dist/types/components/index.d.ts.map +1 -1
  97. package/package.json +1 -1
  98. package/tokens/t1-primitives/typography.json +15 -0
  99. package/tokens/t3-semantics/ui.json +15 -0
@@ -218,6 +218,9 @@ body {
218
218
  --font-lineHeight-4xl: 2.5rem;
219
219
  --font-lineHeight-5xl: 3rem;
220
220
  --font-lineHeight-6xl: 4rem;
221
+ --font-leading-sm: 1.25rem;
222
+ --font-leading-md: 1.5rem;
223
+ --font-leading-lg: 1.75rem;
221
224
  --font-letterSpacing-tighter: -0.05em;
222
225
  --font-letterSpacing-tight: -0.025em;
223
226
  --font-letterSpacing-normal: 0;
@@ -1484,6 +1487,7 @@ body {
1484
1487
  --text-label-sm-bold-fontWeight: 700;
1485
1488
  --text-label-sm-bold-fontSize: 0.875rem;
1486
1489
  --text-label-sm-bold-lineHeight: 0.875rem;
1490
+ --text-label-sm-leading: 1.25rem;
1487
1491
  --text-label-md-regular-fontFamily: Funnel Sans;
1488
1492
  --text-label-md-regular-fontWeight: 400;
1489
1493
  --text-label-md-regular-fontSize: 1rem;
@@ -1496,6 +1500,7 @@ body {
1496
1500
  --text-label-md-bold-fontWeight: 700;
1497
1501
  --text-label-md-bold-fontSize: 1rem;
1498
1502
  --text-label-md-bold-lineHeight: 1rem;
1503
+ --text-label-md-leading: 1.5rem;
1499
1504
  --text-label-lg-regular-fontFamily: Funnel Sans;
1500
1505
  --text-label-lg-regular-fontWeight: 400;
1501
1506
  --text-label-lg-regular-fontSize: 1.125rem;
@@ -1508,6 +1513,7 @@ body {
1508
1513
  --text-label-lg-bold-fontWeight: 700;
1509
1514
  --text-label-lg-bold-fontSize: 1.125rem;
1510
1515
  --text-label-lg-bold-lineHeight: 1.125rem;
1516
+ --text-label-lg-leading: 1.75rem;
1511
1517
  --text-label-xl-regular-fontFamily: Funnel Sans;
1512
1518
  --text-label-xl-regular-fontWeight: 400;
1513
1519
  --text-label-xl-regular-fontSize: 1.25rem;
@@ -2567,38 +2573,6 @@ body {
2567
2573
  }
2568
2574
 
2569
2575
 
2570
- /* VoiceMessage */
2571
- /* VoiceMessage Component Styles */
2572
-
2573
- .muka-voice-message {
2574
- display: flex;
2575
- align-items: center;
2576
- gap: var(--spacing-3);
2577
- width: 100%;
2578
- min-width: min(16rem, 60vw);
2579
- }
2580
-
2581
- .muka-voice-message__wave {
2582
- flex: 1 1 auto;
2583
- min-width: 0;
2584
- }
2585
-
2586
- .muka-voice-message__time {
2587
- flex: 0 0 auto;
2588
- white-space: nowrap;
2589
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2590
- line-height: var(--text-label-sm-lineHeight, 1);
2591
- font-variant-numeric: tabular-nums;
2592
- color: var(--color-text-subtle-default);
2593
- }
2594
-
2595
- /* On the tinted own bubble the surface is the action color, so the timer flips
2596
- * to the inverse text token for contrast. */
2597
- .muka-voice-message--own .muka-voice-message__time {
2598
- color: var(--color-text-default-inverse);
2599
- }
2600
-
2601
-
2602
2576
  /* View */
2603
2577
  /* View Component Styles */
2604
2578
 
@@ -2813,6 +2787,38 @@ body {
2813
2787
  }
2814
2788
 
2815
2789
 
2790
+ /* VoiceMessage */
2791
+ /* VoiceMessage Component Styles */
2792
+
2793
+ .muka-voice-message {
2794
+ display: flex;
2795
+ align-items: center;
2796
+ gap: var(--spacing-3);
2797
+ width: 100%;
2798
+ min-width: min(16rem, 60vw);
2799
+ }
2800
+
2801
+ .muka-voice-message__wave {
2802
+ flex: 1 1 auto;
2803
+ min-width: 0;
2804
+ }
2805
+
2806
+ .muka-voice-message__time {
2807
+ flex: 0 0 auto;
2808
+ white-space: nowrap;
2809
+ font-size: var(--text-label-sm-regular-fontSize);
2810
+ line-height: var(--text-label-sm-leading);
2811
+ font-variant-numeric: tabular-nums;
2812
+ color: var(--color-text-subtle-default);
2813
+ }
2814
+
2815
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2816
+ * to the inverse text token for contrast. */
2817
+ .muka-voice-message--own .muka-voice-message__time {
2818
+ color: var(--color-text-default-inverse);
2819
+ }
2820
+
2821
+
2816
2822
  /* TypingIndicator */
2817
2823
  /* TypingIndicator Component Styles */
2818
2824
 
@@ -3120,6 +3126,28 @@ body {
3120
3126
  color: var(--color-text-subtle-default);
3121
3127
  }
3122
3128
 
3129
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3130
+ The row takes the title's grid cell: the avatar, then the title (block). */
3131
+
3132
+ .muka-topbar__title-row {
3133
+ grid-column: 2;
3134
+ display: flex;
3135
+ align-items: center;
3136
+ justify-content: var(--tb-title-justify);
3137
+ gap: var(--spacing-2);
3138
+ min-width: 0;
3139
+ }
3140
+
3141
+ .muka-topbar__title-row > .muka-topbar__title,
3142
+ .muka-topbar__title-row > .muka-topbar__title-block {
3143
+ min-width: 0;
3144
+ }
3145
+
3146
+ .muka-topbar__title-leading {
3147
+ display: inline-flex;
3148
+ flex-shrink: 0;
3149
+ }
3150
+
3123
3151
  /* ─── Title as a button (titleTrailing) ──────────────────
3124
3152
  Same type as the text title, with a trailing glyph; sized to its content so
3125
3153
  only the title is the hit area, centred (start in the large tier). */
@@ -3676,985 +3704,985 @@ body {
3676
3704
  }
3677
3705
 
3678
3706
 
3679
- /* Thumbnail */
3680
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3707
+ /* Tile */
3708
+ /* Tile Component Styles - Using Muka Design Tokens */
3681
3709
 
3682
- .muka-thumbnail {
3683
- position: relative;
3684
- flex-shrink: 0;
3685
- }
3710
+ /* ─── Base ────────────────────────────────────────────── */
3686
3711
 
3687
- /* The frame carries the border, background and shape clip. Keeping it separate
3688
- from the root lets the remove (×) button sit outside the clip (needed for the
3689
- circular/ellipse shape, whose corners would otherwise clip the button). */
3690
- .muka-thumbnail__frame {
3691
- position: absolute;
3692
- inset: 0;
3693
- overflow: hidden;
3694
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3695
- border-radius: var(--border-radius-lg);
3696
- background-color: var(--color-surface-level1);
3712
+ .muka-tile {
3713
+ display: flex;
3714
+ color: var(--color-text-default-default);
3697
3715
  }
3698
3716
 
3699
- /* ─── Shapes ──────────────────────────────────────────── */
3700
- .muka-thumbnail--4-3 {
3701
- width: 160px;
3702
- height: 120px;
3717
+ .muka-tile--interactive {
3718
+ cursor: pointer;
3719
+ user-select: none;
3703
3720
  }
3704
3721
 
3705
- .muka-thumbnail--1-1 {
3706
- width: 120px;
3707
- height: 120px;
3722
+ .muka-tile--interactive:focus-visible {
3723
+ outline: 2px solid var(--color-border-focus);
3724
+ outline-offset: 2px;
3725
+ border-radius: var(--border-radius-lg);
3708
3726
  }
3709
3727
 
3710
- .muka-thumbnail--ellipse {
3711
- width: 120px;
3712
- height: 120px;
3713
- }
3728
+ /* ─── Image position variants ─────────────────────────── */
3714
3729
 
3715
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3716
- .muka-thumbnail--fluid {
3717
- width: 100%;
3718
- height: auto;
3719
- aspect-ratio: 1 / 1;
3730
+ .muka-tile--image-top {
3731
+ flex-direction: column;
3720
3732
  }
3721
3733
 
3722
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3723
- aspect-ratio: 4 / 3;
3734
+ .muka-tile--image-left {
3735
+ flex-direction: row;
3724
3736
  }
3725
3737
 
3726
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3727
- border-radius: var(--border-radius-full);
3738
+ .muka-tile--image-right {
3739
+ flex-direction: row;
3728
3740
  }
3729
3741
 
3730
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3731
- interactive hover zoom has a clean origin. */
3732
- .muka-thumbnail__image {
3733
- position: absolute;
3734
- inset: 0;
3735
- width: 100%;
3736
- height: 100%;
3737
- object-fit: cover;
3738
- display: block;
3739
- transform-origin: center;
3740
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3741
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3742
- }
3742
+ /* ─── Gap by size (top) ───────────────────────────────── */
3743
3743
 
3744
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3745
- .muka-thumbnail__trigger {
3746
- position: absolute;
3747
- inset: 0;
3748
- padding: 0;
3749
- border: 0;
3750
- background: none;
3751
- cursor: pointer;
3752
- overflow: hidden;
3744
+ .muka-tile--image-top.muka-tile--lg {
3745
+ gap: var(--spacing-6);
3753
3746
  }
3754
3747
 
3755
- .muka-thumbnail__trigger:focus-visible {
3756
- outline: 2px solid var(--color-border-focus);
3757
- outline-offset: -2px;
3748
+ .muka-tile--image-top.muka-tile--md {
3749
+ gap: var(--spacing-6);
3750
+ width: 320px;
3758
3751
  }
3759
3752
 
3760
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3761
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3762
- transform: scale(1.05);
3753
+ .muka-tile--image-top.muka-tile--sm {
3754
+ gap: var(--spacing-4);
3755
+ min-width: 120px;
3763
3756
  }
3764
3757
 
3765
- /* ─── Loading overlay + progress donut ────────────────── */
3766
- .muka-thumbnail__overlay {
3767
- position: absolute;
3768
- inset: 0;
3769
- display: flex;
3758
+ /* ─── Gap by size (left/right) ────────────────────────── */
3759
+
3760
+ .muka-tile--image-left.muka-tile--lg,
3761
+ .muka-tile--image-right.muka-tile--lg {
3762
+ gap: var(--spacing-6);
3770
3763
  align-items: center;
3771
- justify-content: center;
3772
- background-color: var(--dialog-color-backdrop);
3773
3764
  }
3774
3765
 
3775
- .muka-thumbnail__progress {
3776
- width: 40px;
3777
- height: 40px;
3766
+ .muka-tile--image-left.muka-tile--md,
3767
+ .muka-tile--image-right.muka-tile--md {
3768
+ gap: var(--spacing-6);
3769
+ align-items: center;
3778
3770
  }
3779
3771
 
3780
- /* ─── Error / corrupt state ───────────────────────────── */
3781
- .muka-thumbnail--error .muka-thumbnail__frame {
3782
- background-color: var(--alias-color-state-error-muted);
3783
- border-color: var(--alias-color-state-error-default);
3772
+ .muka-tile--image-left.muka-tile--sm,
3773
+ .muka-tile--image-right.muka-tile--sm {
3774
+ gap: var(--spacing-4);
3775
+ align-items: flex-start;
3784
3776
  }
3785
3777
 
3786
- .muka-thumbnail__error {
3787
- position: absolute;
3788
- inset: 0;
3778
+ /* ─── Photos container ────────────────────────────────── */
3779
+
3780
+ .muka-tile__photos {
3781
+ position: relative;
3782
+ flex-shrink: 0;
3783
+ overflow: hidden;
3789
3784
  display: flex;
3790
3785
  flex-direction: column;
3791
- align-items: center;
3792
- justify-content: center;
3793
- gap: var(--spacing-2);
3794
- padding: var(--spacing-3);
3795
- text-align: center;
3796
- }
3797
-
3798
- .muka-thumbnail__error-icon {
3799
- color: var(--alert-color-error-accent);
3786
+ isolation: isolate;
3800
3787
  }
3801
3788
 
3802
- .muka-thumbnail__caption {
3803
- max-width: 100%;
3804
- overflow: hidden;
3805
- text-overflow: ellipsis;
3806
- white-space: nowrap;
3807
- color: var(--alert-color-error-accent);
3808
- font-family: var(--text-body-sm-regular-fontFamily);
3809
- font-size: var(--text-body-sm-regular-fontSize);
3810
- font-weight: var(--text-body-sm-regular-fontWeight);
3811
- line-height: var(--text-body-sm-regular-lineHeight);
3789
+ /* Photos border radius by size */
3790
+ .muka-tile--lg .muka-tile__photos,
3791
+ .muka-tile--md .muka-tile__photos {
3792
+ border-radius: var(--border-radius-lg);
3812
3793
  }
3813
3794
 
3814
- /* ─── Remove (×) button ───────────────────────────────── */
3815
- .muka-thumbnail__remove {
3816
- position: absolute;
3817
- top: var(--spacing-2);
3818
- right: var(--spacing-2);
3819
- display: flex;
3820
- align-items: center;
3821
- justify-content: center;
3822
- width: var(--size-2xl);
3823
- height: var(--size-2xl);
3824
- padding: 0;
3825
- color: var(--button-color-tertiary-foreground-default);
3826
- background-color: var(--button-color-tertiary-background-default);
3827
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3828
- border-radius: var(--border-radius-lg);
3829
- cursor: pointer;
3830
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3831
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3795
+ .muka-tile--sm .muka-tile__photos {
3796
+ border-radius: var(--border-radius-md);
3832
3797
  }
3833
3798
 
3834
- .muka-thumbnail__remove:hover {
3835
- color: var(--button-color-tertiary-foreground-hover);
3836
- background-color: var(--button-color-tertiary-background-hover);
3837
- border-color: var(--button-color-tertiary-border-hover);
3799
+ /* Photos sizing: top layout */
3800
+ .muka-tile--image-top .muka-tile__photos {
3801
+ width: 100%;
3838
3802
  }
3839
3803
 
3840
- .muka-thumbnail__remove:active {
3841
- color: var(--button-color-tertiary-foreground-pressed);
3842
- background-color: var(--button-color-tertiary-background-pressed);
3843
- border-color: var(--button-color-tertiary-border-pressed);
3804
+ /* Photos sizing: left/right large */
3805
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3806
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3807
+ width: 520px;
3844
3808
  }
3845
3809
 
3846
- .muka-thumbnail__remove:focus-visible {
3847
- outline: 2px solid var(--color-border-focus);
3848
- outline-offset: 2px;
3810
+ /* Photos sizing: left/right medium */
3811
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3812
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3813
+ width: 320px;
3849
3814
  }
3850
3815
 
3851
- /* ─── Reduced motion ──────────────────────────────────── */
3852
- @media (prefers-reduced-motion: reduce) {
3853
- .muka-thumbnail__image,
3854
- .muka-thumbnail__remove {
3855
- transition: none;
3856
- }
3857
-
3858
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3859
- transform: none;
3860
- }
3816
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3817
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3818
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3819
+ width: 80px;
3820
+ align-self: stretch;
3861
3821
  }
3862
3822
 
3823
+ /* ─── Main photo ──────────────────────────────────────── */
3863
3824
 
3864
- /* Textarea */
3865
- /* Textarea Component Styles - Using Muka Design Tokens */
3825
+ .muka-tile__photo-main {
3826
+ position: relative;
3827
+ width: 100%;
3828
+ overflow: hidden;
3829
+ flex-shrink: 0;
3830
+ }
3866
3831
 
3867
- .muka-textarea {
3868
- display: inline-flex;
3869
- flex-direction: column;
3870
- gap: var(--spacing-2);
3832
+ /* 16:9 aspect for lg and md */
3833
+ .muka-tile--lg .muka-tile__photo-main,
3834
+ .muka-tile--md .muka-tile__photo-main {
3835
+ aspect-ratio: 1280 / 720;
3871
3836
  }
3872
3837
 
3873
- /* Label */
3874
- .muka-textarea__label {
3875
- color: var(--color-text-default-default);
3876
- cursor: pointer;
3838
+ /* 1:1 aspect for top + sm */
3839
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3840
+ aspect-ratio: 1 / 1;
3877
3841
  }
3878
3842
 
3879
- .muka-textarea__label--sm {
3880
- font-family: var(--text-label-sm-semibold-fontFamily);
3881
- font-weight: var(--text-label-sm-semibold-fontWeight);
3882
- font-size: var(--text-label-sm-semibold-fontSize);
3883
- line-height: var(--text-label-sm-semibold-lineHeight);
3843
+ /* Fixed size for left/right + sm */
3844
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3845
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3846
+ width: 80px;
3847
+ height: 80px;
3848
+ aspect-ratio: auto;
3884
3849
  }
3885
3850
 
3886
- .muka-textarea__label--md {
3887
- font-family: var(--text-label-md-semibold-fontFamily);
3888
- font-weight: var(--text-label-md-semibold-fontWeight);
3889
- font-size: var(--text-label-md-semibold-fontSize);
3890
- line-height: var(--text-label-md-semibold-lineHeight);
3851
+ .muka-tile__photo-main img {
3852
+ width: 100%;
3853
+ height: 100%;
3854
+ object-fit: cover;
3855
+ display: block;
3891
3856
  }
3892
3857
 
3893
- .muka-textarea__label--lg {
3894
- font-family: var(--text-label-lg-semibold-fontFamily);
3895
- font-weight: var(--text-label-lg-semibold-fontWeight);
3896
- font-size: var(--text-label-lg-semibold-fontSize);
3897
- line-height: var(--text-label-lg-semibold-lineHeight);
3858
+ /* ─── Favourite overlay ───────────────────────────────── */
3859
+
3860
+ .muka-tile__favourite {
3861
+ position: absolute;
3862
+ z-index: 3;
3898
3863
  }
3899
3864
 
3900
- .muka-textarea__required {
3901
- color: var(--color-state-error-default);
3865
+ .muka-tile--lg .muka-tile__favourite,
3866
+ .muka-tile--md .muka-tile__favourite {
3867
+ top: var(--spacing-4);
3868
+ right: var(--spacing-4);
3902
3869
  }
3903
3870
 
3904
- /* Field container */
3905
- .muka-textarea__field {
3871
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3872
+ top: var(--spacing-1);
3873
+ right: var(--spacing-1);
3874
+ }
3875
+
3876
+ /* ─── Thumbnails ──────────────────────────────────────── */
3877
+
3878
+ .muka-tile__thumbnails {
3906
3879
  display: flex;
3907
- background-color: var(--input-field-color-default-background);
3908
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3909
- border-radius: var(--input-field-radius-md);
3910
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3911
- transition: border-color 0.2s ease, background-color 0.2s ease;
3912
- box-sizing: border-box;
3880
+ gap: 2px;
3881
+ overflow: hidden;
3882
+ flex-shrink: 0;
3883
+ height: 80px;
3913
3884
  }
3914
3885
 
3915
- .muka-textarea__field--sm {
3916
- min-height: var(--input-textarea-height-sm);
3917
- border-radius: var(--input-field-radius-sm);
3886
+ .muka-tile__thumbnail {
3887
+ width: 80px;
3888
+ height: 80px;
3889
+ flex-shrink: 0;
3890
+ overflow: hidden;
3918
3891
  }
3919
3892
 
3920
- .muka-textarea__field--md {
3921
- min-height: var(--input-textarea-height-default);
3922
- border-radius: var(--input-field-radius-md);
3893
+ .muka-tile__thumbnail img {
3894
+ width: 100%;
3895
+ height: 100%;
3896
+ object-fit: cover;
3897
+ display: block;
3923
3898
  }
3924
3899
 
3925
- .muka-textarea__field--lg {
3926
- min-height: var(--input-textarea-height-lg);
3927
- border-radius: var(--input-field-radius-lg);
3900
+ /* Gap between main photo and thumbnails */
3901
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3902
+ margin-top: 2px;
3928
3903
  }
3929
3904
 
3930
- /* Focus state */
3931
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3932
- border-width: var(--border-width-bold);
3933
- border-color: var(--input-field-color-focus-border);
3934
- background-color: var(--input-field-color-focus-background);
3935
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3905
+ /* ─── Content section ─────────────────────────────────── */
3906
+
3907
+ .muka-tile__content {
3908
+ display: flex;
3909
+ flex-direction: column;
3910
+ flex: 1;
3911
+ min-width: 0;
3936
3912
  }
3937
3913
 
3938
- /* Error state */
3939
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3940
- border-width: var(--border-width-bold);
3941
- border-color: var(--input-field-color-error-border);
3942
- background-color: var(--input-field-color-error-background);
3943
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3914
+ /* Top layout: content has horizontal padding */
3915
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3916
+ padding: 0 var(--spacing-3);
3917
+ gap: var(--spacing-1);
3944
3918
  }
3945
3919
 
3946
- /* Disabled state */
3947
- .muka-textarea__field--disabled {
3948
- background-color: var(--input-field-color-disabled-background);
3949
- border-color: var(--input-field-color-disabled-border);
3950
- cursor: not-allowed;
3920
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3921
+ padding: 0 var(--spacing-3);
3922
+ gap: var(--spacing-2);
3951
3923
  }
3952
3924
 
3953
- /* Native textarea */
3954
- .muka-textarea__native {
3955
- flex: 1;
3956
- border: none;
3957
- outline: none;
3958
- background: transparent;
3959
- color: var(--input-field-color-default-foreground);
3960
- font-family: var(--text-input-md-fontFamily);
3961
- font-weight: var(--text-input-md-fontWeight);
3962
- font-size: var(--text-input-md-fontSize);
3963
- line-height: var(--text-input-md-lineHeight);
3964
- padding: 0;
3965
- width: 100%;
3966
- min-width: 0;
3925
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3926
+ gap: var(--spacing-2);
3967
3927
  }
3968
3928
 
3969
- .muka-textarea__field--sm .muka-textarea__native {
3970
- font-family: var(--text-input-sm-fontFamily);
3971
- font-weight: var(--text-input-sm-fontWeight);
3972
- font-size: var(--text-input-sm-fontSize);
3973
- line-height: var(--text-input-sm-lineHeight);
3929
+ /* Left/right layout: content grows to fill space */
3930
+ .muka-tile--image-left .muka-tile__content,
3931
+ .muka-tile--image-right .muka-tile__content {
3932
+ gap: var(--spacing-3);
3974
3933
  }
3975
3934
 
3976
- .muka-textarea__field--lg .muka-textarea__native {
3977
- font-family: var(--text-input-lg-fontFamily);
3978
- font-weight: var(--text-input-lg-fontWeight);
3979
- font-size: var(--text-input-lg-fontSize);
3980
- line-height: var(--text-input-lg-lineHeight);
3935
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3936
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3937
+ padding: 0 var(--spacing-3);
3981
3938
  }
3982
3939
 
3983
- .muka-textarea__native::placeholder {
3984
- color: var(--color-text-subtle-default);
3940
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3941
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3942
+ padding: var(--spacing-2) var(--spacing-3);
3985
3943
  }
3986
3944
 
3987
- .muka-textarea__field--disabled .muka-textarea__native {
3988
- color: var(--input-field-color-disabled-foreground);
3989
- cursor: not-allowed;
3945
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3946
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3947
+ gap: var(--spacing-2);
3990
3948
  }
3991
3949
 
3992
- /* Footer (helper/error + count) */
3993
- .muka-textarea__footer {
3950
+ /* ─── Header (heading row + price) ────────────────────── */
3951
+
3952
+ .muka-tile__header {
3994
3953
  display: flex;
3995
- justify-content: space-between;
3996
3954
  align-items: flex-start;
3997
- gap: var(--spacing-2);
3955
+ gap: var(--spacing-4);
3998
3956
  }
3999
3957
 
4000
- .muka-textarea__helper {
4001
- font-family: var(--text-label-sm-regular-fontFamily);
4002
- font-weight: var(--text-label-sm-regular-fontWeight);
4003
- font-size: var(--text-label-sm-regular-fontSize);
4004
- line-height: var(--text-label-sm-regular-lineHeight);
4005
- color: var(--color-text-subtle-default);
4006
- margin: 0;
3958
+ /* Small horizontal: row with text and action */
3959
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3960
+ gap: var(--spacing-2);
3961
+ align-items: center;
3962
+ padding-top: var(--spacing-1);
4007
3963
  }
4008
3964
 
4009
- .muka-textarea__error {
4010
- font-family: var(--text-label-sm-regular-fontFamily);
4011
- font-weight: var(--text-label-sm-regular-fontWeight);
4012
- font-size: var(--text-label-sm-regular-fontSize);
4013
- line-height: var(--text-label-sm-regular-lineHeight);
4014
- color: var(--color-state-error-default);
4015
- margin: 0;
4016
- }
3965
+ /* ─── Text group ──────────────────────────────────────── */
4017
3966
 
4018
- .muka-textarea__count {
4019
- font-family: var(--text-label-sm-regular-fontFamily);
4020
- font-weight: var(--text-label-sm-regular-fontWeight);
4021
- font-size: var(--text-label-sm-regular-fontSize);
4022
- line-height: var(--text-label-sm-regular-lineHeight);
4023
- color: var(--color-text-subtle-default);
4024
- margin-left: auto;
3967
+ .muka-tile__text {
3968
+ display: flex;
3969
+ flex-direction: column;
3970
+ flex: 1;
3971
+ min-width: 0;
3972
+ gap: var(--spacing-2);
4025
3973
  }
4026
3974
 
3975
+ /* ─── Heading typography ──────────────────────────────── */
4027
3976
 
4028
- /* TextLink */
4029
- /* TextLink Component Styles - Using Muka Design Tokens */
3977
+ .muka-tile__heading {
3978
+ margin: 0;
3979
+ }
4030
3980
 
4031
- .muka-text-link {
4032
- display: inline;
4033
- cursor: pointer;
4034
- text-decoration: underline;
4035
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4036
- text-underline-offset: 0.2em;
4037
- text-decoration-thickness: from-font;
4038
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4039
- border-radius: var(--border-radius-sm);
4040
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3981
+ .muka-tile--lg .muka-tile__heading {
3982
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3983
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3984
+ font-size: var(--text-label-2xl-semibold-fontSize);
3985
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3986
+ color: var(--color-text-default-default);
4041
3987
  }
4042
3988
 
4043
- /* ─── Sizes ───────────────────────────────────────────────
4044
- Mirrors the body text scale so a link matches the copy it sits in. */
4045
- .muka-text-link--sm {
4046
- font-family: var(--text-body-sm-regular-fontFamily);
4047
- font-weight: var(--text-body-sm-regular-fontWeight);
4048
- font-size: var(--text-body-sm-regular-fontSize);
4049
- line-height: var(--text-body-sm-regular-lineHeight);
3989
+ .muka-tile--md .muka-tile__heading {
3990
+ font-family: var(--text-label-xl-semibold-fontFamily);
3991
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3992
+ font-size: var(--text-label-xl-semibold-fontSize);
3993
+ line-height: var(--text-label-xl-semibold-lineHeight);
3994
+ color: var(--color-text-default-default);
4050
3995
  }
4051
3996
 
4052
- .muka-text-link--base {
4053
- font-family: var(--text-body-base-regular-fontFamily);
4054
- font-weight: var(--text-body-base-regular-fontWeight);
4055
- font-size: var(--text-body-base-regular-fontSize);
4056
- line-height: var(--text-body-base-regular-lineHeight);
3997
+ .muka-tile--sm .muka-tile__heading {
3998
+ font-family: var(--text-label-lg-bold-fontFamily);
3999
+ font-weight: var(--text-label-lg-bold-fontWeight);
4000
+ font-size: var(--text-label-lg-bold-fontSize);
4001
+ line-height: var(--text-label-lg-bold-lineHeight);
4002
+ color: var(--color-text-default-default);
4057
4003
  }
4058
4004
 
4059
- .muka-text-link--lg {
4060
- font-family: var(--text-body-lg-regular-fontFamily);
4061
- font-weight: var(--text-body-lg-regular-fontWeight);
4062
- font-size: var(--text-body-lg-regular-fontSize);
4063
- line-height: var(--text-body-lg-regular-lineHeight);
4064
- }
4005
+ /* ─── Subheading typography ───────────────────────────── */
4065
4006
 
4066
- /* ─── Variant: default (accent) ───────────────────────────
4067
- Visited repeats the default colour on purpose: the design treats visited and
4068
- default the same, and pinning it stops the browser's purple from showing. */
4069
- .muka-text-link--default,
4070
- .muka-text-link--default:visited {
4071
- color: var(--color-text-action-default);
4007
+ .muka-tile__subheading {
4008
+ margin: 0;
4009
+ color: var(--color-text-subtle-default);
4072
4010
  }
4073
4011
 
4074
- .muka-text-link--default:hover,
4075
- .muka-text-link--default:focus-visible {
4076
- color: var(--color-text-action-hover);
4012
+ .muka-tile--lg .muka-tile__subheading {
4013
+ font-family: var(--text-subheading-md-fontFamily);
4014
+ font-weight: var(--text-subheading-md-fontWeight);
4015
+ font-size: var(--text-subheading-md-fontSize);
4016
+ line-height: var(--text-subheading-md-lineHeight);
4077
4017
  }
4078
4018
 
4079
- .muka-text-link--default:active {
4080
- color: var(--color-text-action-pressed);
4019
+ .muka-tile--md .muka-tile__subheading,
4020
+ .muka-tile--sm .muka-tile__subheading {
4021
+ font-family: var(--text-subheading-sm-fontFamily);
4022
+ font-weight: var(--text-subheading-sm-fontWeight);
4023
+ font-size: var(--text-subheading-sm-fontSize);
4024
+ line-height: var(--text-subheading-sm-lineHeight);
4081
4025
  }
4082
4026
 
4083
- /* ─── Variant: subtle (neutral) ───────────────────────────
4084
- Hover, focus and pressed all darken to the default text colour. */
4085
- .muka-text-link--subtle,
4086
- .muka-text-link--subtle:visited {
4087
- color: var(--color-text-subtle-default);
4088
- }
4027
+ /* ─── Description typography ──────────────────────────── */
4089
4028
 
4090
- .muka-text-link--subtle:hover,
4091
- .muka-text-link--subtle:focus-visible,
4092
- .muka-text-link--subtle:active {
4029
+ .muka-tile__description {
4030
+ margin: 0;
4093
4031
  color: var(--color-text-default-default);
4094
4032
  }
4095
4033
 
4096
- /* ─── Focus ───────────────────────────────────────────────
4097
- Same ring as every other focusable Muka component. */
4098
- .muka-text-link:focus-visible {
4099
- outline: 2px solid var(--color-border-focus);
4100
- outline-offset: 2px;
4034
+ .muka-tile--lg .muka-tile__description {
4035
+ font-family: var(--text-body-lg-regular-fontFamily);
4036
+ font-weight: var(--text-body-lg-regular-fontWeight);
4037
+ font-size: var(--text-body-lg-regular-fontSize);
4038
+ line-height: var(--text-body-lg-regular-lineHeight);
4101
4039
  }
4102
4040
 
4103
- @media (prefers-reduced-motion: reduce) {
4104
- .muka-text-link {
4105
- transition: none;
4106
- }
4041
+ .muka-tile--md .muka-tile__description,
4042
+ .muka-tile--sm .muka-tile__description {
4043
+ font-family: var(--text-body-base-regular-fontFamily);
4044
+ font-weight: var(--text-body-base-regular-fontWeight);
4045
+ font-size: var(--text-body-base-regular-fontSize);
4046
+ line-height: var(--text-body-base-regular-lineHeight);
4107
4047
  }
4108
4048
 
4049
+ /* Description overflow for medium */
4050
+ .muka-tile--md .muka-tile__description {
4051
+ overflow: hidden;
4052
+ text-overflow: ellipsis;
4053
+ }
4109
4054
 
4110
- /* Tabs */
4111
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4055
+ /* ─── Price slot ──────────────────────────────────────── */
4112
4056
 
4113
- .muka-tabs {
4114
- display: flex;
4115
- flex-direction: column;
4057
+ .muka-tile__price {
4058
+ flex-shrink: 0;
4116
4059
  }
4117
4060
 
4118
- /* Alignment Variants */
4119
- .muka-tabs--align-left .muka-tabs__list {
4120
- justify-content: flex-start;
4121
- }
4122
- .muka-tabs--align-center .muka-tabs__list {
4123
- justify-content: center;
4124
- }
4125
- .muka-tabs--align-fill .muka-tabs__list {
4126
- justify-content: space-between;
4127
- }
4128
- .muka-tabs--align-fill .muka-tabs__trigger {
4129
- flex: 1;
4130
- }
4061
+ /* ─── Action slot ─────────────────────────────────────── */
4131
4062
 
4132
- /* Tab List — strip container */
4133
- .muka-tabs__list {
4134
- display: flex;
4135
- align-items: center;
4136
- position: relative;
4137
- z-index: 2;
4138
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4063
+ .muka-tile__action {
4064
+ flex-shrink: 0;
4139
4065
  }
4140
4066
 
4141
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4142
- .muka-tabs--padding-default .muka-tabs__list {
4143
- padding-inline: var(--tabs-list-padding-x);
4144
- }
4145
4067
 
4146
- /* Tab Trigger — clean underline style */
4147
- .muka-tabs__trigger {
4148
- display: inline-flex;
4149
- align-items: center;
4150
- justify-content: center;
4151
- gap: var(--spacing-1);
4152
- background: transparent;
4153
- border: none;
4154
- cursor: pointer;
4155
- user-select: none;
4156
- transition: background-color 0.2s ease, color 0.2s ease;
4157
- outline: none;
4158
- white-space: nowrap;
4068
+ /* Thumbnail */
4069
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4070
+
4071
+ .muka-thumbnail {
4159
4072
  position: relative;
4160
- z-index: 2;
4161
- color: var(--tabs-trigger-color-default-foreground);
4073
+ flex-shrink: 0;
4074
+ }
4162
4075
 
4163
- /* Default MD size values */
4164
- min-height: var(--tabs-trigger-min-height-md);
4165
- padding: var(--spacing-3);
4166
- font-family: var(--text-label-md-regular-fontFamily);
4167
- font-weight: var(--text-label-md-regular-fontWeight);
4168
- font-size: var(--text-label-md-regular-fontSize);
4169
- line-height: var(--text-label-md-regular-lineHeight);
4076
+ /* The frame carries the border, background and shape clip. Keeping it separate
4077
+ from the root lets the remove (×) button sit outside the clip (needed for the
4078
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4079
+ .muka-thumbnail__frame {
4080
+ position: absolute;
4081
+ inset: 0;
4082
+ overflow: hidden;
4083
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4084
+ border-radius: var(--border-radius-lg);
4085
+ background-color: var(--color-surface-level1);
4170
4086
  }
4171
4087
 
4172
- /* Size Variants */
4173
- .muka-tabs--size-sm .muka-tabs__trigger {
4174
- min-height: var(--tabs-trigger-min-height-sm);
4175
- padding: 0 var(--spacing-2);
4176
- font-family: var(--text-label-sm-regular-fontFamily);
4177
- font-weight: var(--text-label-sm-regular-fontWeight);
4178
- font-size: var(--text-label-sm-regular-fontSize);
4179
- line-height: var(--text-label-sm-regular-lineHeight);
4088
+ /* ─── Shapes ──────────────────────────────────────────── */
4089
+ .muka-thumbnail--4-3 {
4090
+ width: 160px;
4091
+ height: 120px;
4180
4092
  }
4181
4093
 
4182
- .muka-tabs--size-lg .muka-tabs__trigger {
4183
- min-height: var(--tabs-trigger-min-height-lg);
4184
- padding: var(--spacing-4);
4185
- font-family: var(--text-label-lg-regular-fontFamily);
4186
- font-weight: var(--text-label-lg-regular-fontWeight);
4187
- font-size: var(--text-label-lg-regular-fontSize);
4188
- line-height: var(--text-label-lg-regular-lineHeight);
4094
+ .muka-thumbnail--1-1 {
4095
+ width: 120px;
4096
+ height: 120px;
4189
4097
  }
4190
4098
 
4191
- /* Hover state */
4192
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4193
- color: var(--tabs-trigger-color-hover-foreground);
4099
+ .muka-thumbnail--ellipse {
4100
+ width: 120px;
4101
+ height: 120px;
4194
4102
  }
4195
4103
 
4196
- /* Current tab */
4197
- .muka-tabs__trigger--current {
4198
- color: var(--tabs-trigger-color-current-foreground);
4104
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4105
+ .muka-thumbnail--fluid {
4106
+ width: 100%;
4107
+ height: auto;
4108
+ aspect-ratio: 1 / 1;
4199
4109
  }
4200
4110
 
4201
- /* Active bottom border (underline) */
4202
- .muka-tabs__trigger--current::after {
4203
- content: '';
4204
- position: absolute;
4205
- bottom: -1px; /* Overlap the 1px border */
4206
- left: 0;
4207
- right: 0;
4208
- height: var(--tabs-indicator-height-md);
4209
- background-color: var(--tabs-indicator-color);
4210
- border-bottom-left-radius: 1px;
4211
- border-bottom-right-radius: 1px;
4212
- border-top-left-radius: 3px;
4213
- border-top-right-radius: 3px;
4214
- z-index: 3;
4111
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4112
+ aspect-ratio: 4 / 3;
4215
4113
  }
4216
4114
 
4217
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4218
- height: var(--tabs-indicator-height-sm);
4115
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4116
+ border-radius: var(--border-radius-full);
4219
4117
  }
4220
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4221
- height: var(--tabs-indicator-height-lg);
4118
+
4119
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4120
+ interactive hover zoom has a clean origin. */
4121
+ .muka-thumbnail__image {
4122
+ position: absolute;
4123
+ inset: 0;
4124
+ width: 100%;
4125
+ height: 100%;
4126
+ object-fit: cover;
4127
+ display: block;
4128
+ transform-origin: center;
4129
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4130
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4222
4131
  }
4223
4132
 
4224
- .muka-tabs__trigger--disabled {
4225
- color: var(--tabs-trigger-color-disabled-foreground);
4226
- cursor: not-allowed;
4133
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4134
+ .muka-thumbnail__trigger {
4135
+ position: absolute;
4136
+ inset: 0;
4137
+ padding: 0;
4138
+ border: 0;
4139
+ background: none;
4140
+ cursor: pointer;
4141
+ overflow: hidden;
4227
4142
  }
4228
4143
 
4229
- .muka-tabs__trigger:focus-visible {
4144
+ .muka-thumbnail__trigger:focus-visible {
4230
4145
  outline: 2px solid var(--color-border-focus);
4231
4146
  outline-offset: -2px;
4232
4147
  }
4233
4148
 
4234
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4235
- item sits 12px from the text */
4236
- .muka-tabs__label {
4237
- padding: 0 var(--spacing-2);
4149
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4150
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4151
+ transform: scale(1.05);
4238
4152
  }
4239
4153
 
4240
- /* Leading item: icon, avatar, avatar group or data pie chart */
4241
- .muka-tabs__leading {
4154
+ /* ─── Loading overlay + progress donut ────────────────── */
4155
+ .muka-thumbnail__overlay {
4156
+ position: absolute;
4157
+ inset: 0;
4242
4158
  display: flex;
4243
4159
  align-items: center;
4244
4160
  justify-content: center;
4245
- flex-shrink: 0;
4246
- }
4247
- .muka-tabs__trigger .muka-icon {
4248
- color: inherit;
4161
+ background-color: var(--dialog-color-backdrop);
4249
4162
  }
4250
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4251
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4252
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4253
- .muka-tabs--size-md .muka-tabs__leading > svg,
4254
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4255
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4256
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4257
4163
 
4258
- /* Responsive Scroll behavior on small screens */
4259
- @media (max-width: 768px) {
4260
- .muka-tabs__list {
4261
- /* Make scrollable */
4262
- overflow-x: auto;
4263
- overflow-y: hidden;
4264
- /* Force left alignment on mobile to prevent clipping when scrolling */
4265
- justify-content: flex-start !important;
4266
- max-width: 100vw;
4267
- -webkit-overflow-scrolling: touch;
4268
- /* Hide scrollbar for cleaner look */
4269
- scrollbar-width: none;
4270
- }
4271
- .muka-tabs__list::-webkit-scrollbar {
4272
- display: none;
4273
- }
4274
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4275
- .muka-tabs--align-fill .muka-tabs__trigger {
4276
- flex: 0 0 auto;
4277
- }
4164
+ .muka-thumbnail__progress {
4165
+ width: 40px;
4166
+ height: 40px;
4278
4167
  }
4279
4168
 
4280
- /* Tab Panel — content area */
4281
- .muka-tabs__panel {
4282
- background-color: var(--tabs-panel-background);
4283
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4284
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4285
- padding: var(--spacing-4);
4286
- position: relative;
4287
- z-index: 1;
4288
- font-family: var(--text-body-base-regular-fontFamily);
4289
- font-weight: var(--text-body-base-regular-fontWeight);
4290
- font-size: var(--text-body-base-regular-fontSize);
4291
- line-height: var(--text-body-base-regular-lineHeight);
4169
+ /* ─── Error / corrupt state ───────────────────────────── */
4170
+ .muka-thumbnail--error .muka-thumbnail__frame {
4171
+ background-color: var(--alias-color-state-error-muted);
4172
+ border-color: var(--alias-color-state-error-default);
4292
4173
  }
4293
4174
 
4294
- .muka-tabs__panel:focus-visible {
4295
- outline: 2px solid var(--color-border-focus);
4296
- outline-offset: 2px;
4175
+ .muka-thumbnail__error {
4176
+ position: absolute;
4177
+ inset: 0;
4178
+ display: flex;
4179
+ flex-direction: column;
4180
+ align-items: center;
4181
+ justify-content: center;
4182
+ gap: var(--spacing-2);
4183
+ padding: var(--spacing-3);
4184
+ text-align: center;
4297
4185
  }
4298
4186
 
4187
+ .muka-thumbnail__error-icon {
4188
+ color: var(--alert-color-error-accent);
4189
+ }
4299
4190
 
4300
- /* Tile */
4301
- /* Tile Component Styles - Using Muka Design Tokens */
4302
-
4303
- /* ─── Base ────────────────────────────────────────────── */
4191
+ .muka-thumbnail__caption {
4192
+ max-width: 100%;
4193
+ overflow: hidden;
4194
+ text-overflow: ellipsis;
4195
+ white-space: nowrap;
4196
+ color: var(--alert-color-error-accent);
4197
+ font-family: var(--text-body-sm-regular-fontFamily);
4198
+ font-size: var(--text-body-sm-regular-fontSize);
4199
+ font-weight: var(--text-body-sm-regular-fontWeight);
4200
+ line-height: var(--text-body-sm-regular-lineHeight);
4201
+ }
4304
4202
 
4305
- .muka-tile {
4203
+ /* ─── Remove (×) button ───────────────────────────────── */
4204
+ .muka-thumbnail__remove {
4205
+ position: absolute;
4206
+ top: var(--spacing-2);
4207
+ right: var(--spacing-2);
4306
4208
  display: flex;
4307
- color: var(--color-text-default-default);
4209
+ align-items: center;
4210
+ justify-content: center;
4211
+ width: var(--size-2xl);
4212
+ height: var(--size-2xl);
4213
+ padding: 0;
4214
+ color: var(--button-color-tertiary-foreground-default);
4215
+ background-color: var(--button-color-tertiary-background-default);
4216
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4217
+ border-radius: var(--border-radius-lg);
4218
+ cursor: pointer;
4219
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4220
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4308
4221
  }
4309
4222
 
4310
- .muka-tile--interactive {
4311
- cursor: pointer;
4312
- user-select: none;
4223
+ .muka-thumbnail__remove:hover {
4224
+ color: var(--button-color-tertiary-foreground-hover);
4225
+ background-color: var(--button-color-tertiary-background-hover);
4226
+ border-color: var(--button-color-tertiary-border-hover);
4313
4227
  }
4314
4228
 
4315
- .muka-tile--interactive:focus-visible {
4229
+ .muka-thumbnail__remove:active {
4230
+ color: var(--button-color-tertiary-foreground-pressed);
4231
+ background-color: var(--button-color-tertiary-background-pressed);
4232
+ border-color: var(--button-color-tertiary-border-pressed);
4233
+ }
4234
+
4235
+ .muka-thumbnail__remove:focus-visible {
4316
4236
  outline: 2px solid var(--color-border-focus);
4317
4237
  outline-offset: 2px;
4318
- border-radius: var(--border-radius-lg);
4319
4238
  }
4320
4239
 
4321
- /* ─── Image position variants ─────────────────────────── */
4240
+ /* ─── Reduced motion ──────────────────────────────────── */
4241
+ @media (prefers-reduced-motion: reduce) {
4242
+ .muka-thumbnail__image,
4243
+ .muka-thumbnail__remove {
4244
+ transition: none;
4245
+ }
4322
4246
 
4323
- .muka-tile--image-top {
4324
- flex-direction: column;
4247
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4248
+ transform: none;
4249
+ }
4325
4250
  }
4326
4251
 
4327
- .muka-tile--image-left {
4328
- flex-direction: row;
4252
+
4253
+ /* TextLink */
4254
+ /* TextLink Component Styles - Using Muka Design Tokens */
4255
+
4256
+ .muka-text-link {
4257
+ display: inline;
4258
+ cursor: pointer;
4259
+ text-decoration: underline;
4260
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4261
+ text-underline-offset: 0.2em;
4262
+ text-decoration-thickness: from-font;
4263
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4264
+ border-radius: var(--border-radius-sm);
4265
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4329
4266
  }
4330
4267
 
4331
- .muka-tile--image-right {
4332
- flex-direction: row;
4268
+ /* ─── Sizes ───────────────────────────────────────────────
4269
+ Mirrors the body text scale so a link matches the copy it sits in. */
4270
+ .muka-text-link--sm {
4271
+ font-family: var(--text-body-sm-regular-fontFamily);
4272
+ font-weight: var(--text-body-sm-regular-fontWeight);
4273
+ font-size: var(--text-body-sm-regular-fontSize);
4274
+ line-height: var(--text-body-sm-regular-lineHeight);
4333
4275
  }
4334
4276
 
4335
- /* ─── Gap by size (top) ───────────────────────────────── */
4277
+ .muka-text-link--base {
4278
+ font-family: var(--text-body-base-regular-fontFamily);
4279
+ font-weight: var(--text-body-base-regular-fontWeight);
4280
+ font-size: var(--text-body-base-regular-fontSize);
4281
+ line-height: var(--text-body-base-regular-lineHeight);
4282
+ }
4336
4283
 
4337
- .muka-tile--image-top.muka-tile--lg {
4338
- gap: var(--spacing-6);
4284
+ .muka-text-link--lg {
4285
+ font-family: var(--text-body-lg-regular-fontFamily);
4286
+ font-weight: var(--text-body-lg-regular-fontWeight);
4287
+ font-size: var(--text-body-lg-regular-fontSize);
4288
+ line-height: var(--text-body-lg-regular-lineHeight);
4339
4289
  }
4340
4290
 
4341
- .muka-tile--image-top.muka-tile--md {
4342
- gap: var(--spacing-6);
4343
- width: 320px;
4291
+ /* ─── Variant: default (accent) ───────────────────────────
4292
+ Visited repeats the default colour on purpose: the design treats visited and
4293
+ default the same, and pinning it stops the browser's purple from showing. */
4294
+ .muka-text-link--default,
4295
+ .muka-text-link--default:visited {
4296
+ color: var(--color-text-action-default);
4344
4297
  }
4345
4298
 
4346
- .muka-tile--image-top.muka-tile--sm {
4347
- gap: var(--spacing-4);
4348
- min-width: 120px;
4299
+ .muka-text-link--default:hover,
4300
+ .muka-text-link--default:focus-visible {
4301
+ color: var(--color-text-action-hover);
4349
4302
  }
4350
4303
 
4351
- /* ─── Gap by size (left/right) ────────────────────────── */
4304
+ .muka-text-link--default:active {
4305
+ color: var(--color-text-action-pressed);
4306
+ }
4352
4307
 
4353
- .muka-tile--image-left.muka-tile--lg,
4354
- .muka-tile--image-right.muka-tile--lg {
4355
- gap: var(--spacing-6);
4356
- align-items: center;
4308
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4309
+ Hover, focus and pressed all darken to the default text colour. */
4310
+ .muka-text-link--subtle,
4311
+ .muka-text-link--subtle:visited {
4312
+ color: var(--color-text-subtle-default);
4357
4313
  }
4358
4314
 
4359
- .muka-tile--image-left.muka-tile--md,
4360
- .muka-tile--image-right.muka-tile--md {
4361
- gap: var(--spacing-6);
4362
- align-items: center;
4315
+ .muka-text-link--subtle:hover,
4316
+ .muka-text-link--subtle:focus-visible,
4317
+ .muka-text-link--subtle:active {
4318
+ color: var(--color-text-default-default);
4363
4319
  }
4364
4320
 
4365
- .muka-tile--image-left.muka-tile--sm,
4366
- .muka-tile--image-right.muka-tile--sm {
4367
- gap: var(--spacing-4);
4368
- align-items: flex-start;
4321
+ /* ─── Focus ───────────────────────────────────────────────
4322
+ Same ring as every other focusable Muka component. */
4323
+ .muka-text-link:focus-visible {
4324
+ outline: 2px solid var(--color-border-focus);
4325
+ outline-offset: 2px;
4369
4326
  }
4370
4327
 
4371
- /* ─── Photos container ────────────────────────────────── */
4328
+ @media (prefers-reduced-motion: reduce) {
4329
+ .muka-text-link {
4330
+ transition: none;
4331
+ }
4332
+ }
4372
4333
 
4373
- .muka-tile__photos {
4374
- position: relative;
4375
- flex-shrink: 0;
4376
- overflow: hidden;
4377
- display: flex;
4334
+
4335
+ /* Textarea */
4336
+ /* Textarea Component Styles - Using Muka Design Tokens */
4337
+
4338
+ .muka-textarea {
4339
+ display: inline-flex;
4378
4340
  flex-direction: column;
4379
- isolation: isolate;
4341
+ gap: var(--spacing-2);
4342
+ }
4343
+
4344
+ /* Label */
4345
+ .muka-textarea__label {
4346
+ color: var(--color-text-default-default);
4347
+ cursor: pointer;
4348
+ }
4349
+
4350
+ .muka-textarea__label--sm {
4351
+ font-family: var(--text-label-sm-semibold-fontFamily);
4352
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4353
+ font-size: var(--text-label-sm-semibold-fontSize);
4354
+ line-height: var(--text-label-sm-semibold-lineHeight);
4380
4355
  }
4381
4356
 
4382
- /* Photos border radius by size */
4383
- .muka-tile--lg .muka-tile__photos,
4384
- .muka-tile--md .muka-tile__photos {
4385
- border-radius: var(--border-radius-lg);
4357
+ .muka-textarea__label--md {
4358
+ font-family: var(--text-label-md-semibold-fontFamily);
4359
+ font-weight: var(--text-label-md-semibold-fontWeight);
4360
+ font-size: var(--text-label-md-semibold-fontSize);
4361
+ line-height: var(--text-label-md-semibold-lineHeight);
4386
4362
  }
4387
4363
 
4388
- .muka-tile--sm .muka-tile__photos {
4389
- border-radius: var(--border-radius-md);
4364
+ .muka-textarea__label--lg {
4365
+ font-family: var(--text-label-lg-semibold-fontFamily);
4366
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4367
+ font-size: var(--text-label-lg-semibold-fontSize);
4368
+ line-height: var(--text-label-lg-semibold-lineHeight);
4390
4369
  }
4391
4370
 
4392
- /* Photos sizing: top layout */
4393
- .muka-tile--image-top .muka-tile__photos {
4394
- width: 100%;
4371
+ .muka-textarea__required {
4372
+ color: var(--color-state-error-default);
4395
4373
  }
4396
4374
 
4397
- /* Photos sizing: left/right large */
4398
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4399
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4400
- width: 520px;
4375
+ /* Field container */
4376
+ .muka-textarea__field {
4377
+ display: flex;
4378
+ background-color: var(--input-field-color-default-background);
4379
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4380
+ border-radius: var(--input-field-radius-md);
4381
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4382
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4383
+ box-sizing: border-box;
4401
4384
  }
4402
4385
 
4403
- /* Photos sizing: left/right medium */
4404
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4405
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4406
- width: 320px;
4386
+ .muka-textarea__field--sm {
4387
+ min-height: var(--input-textarea-height-sm);
4388
+ border-radius: var(--input-field-radius-sm);
4407
4389
  }
4408
4390
 
4409
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4410
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4411
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4412
- width: 80px;
4413
- align-self: stretch;
4391
+ .muka-textarea__field--md {
4392
+ min-height: var(--input-textarea-height-default);
4393
+ border-radius: var(--input-field-radius-md);
4414
4394
  }
4415
4395
 
4416
- /* ─── Main photo ──────────────────────────────────────── */
4417
-
4418
- .muka-tile__photo-main {
4419
- position: relative;
4420
- width: 100%;
4421
- overflow: hidden;
4422
- flex-shrink: 0;
4396
+ .muka-textarea__field--lg {
4397
+ min-height: var(--input-textarea-height-lg);
4398
+ border-radius: var(--input-field-radius-lg);
4423
4399
  }
4424
4400
 
4425
- /* 16:9 aspect for lg and md */
4426
- .muka-tile--lg .muka-tile__photo-main,
4427
- .muka-tile--md .muka-tile__photo-main {
4428
- aspect-ratio: 1280 / 720;
4401
+ /* Focus state */
4402
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4403
+ border-width: var(--border-width-bold);
4404
+ border-color: var(--input-field-color-focus-border);
4405
+ background-color: var(--input-field-color-focus-background);
4406
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4429
4407
  }
4430
4408
 
4431
- /* 1:1 aspect for top + sm */
4432
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4433
- aspect-ratio: 1 / 1;
4409
+ /* Error state */
4410
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4411
+ border-width: var(--border-width-bold);
4412
+ border-color: var(--input-field-color-error-border);
4413
+ background-color: var(--input-field-color-error-background);
4414
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4434
4415
  }
4435
4416
 
4436
- /* Fixed size for left/right + sm */
4437
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4438
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4439
- width: 80px;
4440
- height: 80px;
4441
- aspect-ratio: auto;
4417
+ /* Disabled state */
4418
+ .muka-textarea__field--disabled {
4419
+ background-color: var(--input-field-color-disabled-background);
4420
+ border-color: var(--input-field-color-disabled-border);
4421
+ cursor: not-allowed;
4442
4422
  }
4443
4423
 
4444
- .muka-tile__photo-main img {
4424
+ /* Native textarea */
4425
+ .muka-textarea__native {
4426
+ flex: 1;
4427
+ border: none;
4428
+ outline: none;
4429
+ background: transparent;
4430
+ color: var(--input-field-color-default-foreground);
4431
+ font-family: var(--text-input-md-fontFamily);
4432
+ font-weight: var(--text-input-md-fontWeight);
4433
+ font-size: var(--text-input-md-fontSize);
4434
+ line-height: var(--text-input-md-lineHeight);
4435
+ padding: 0;
4445
4436
  width: 100%;
4446
- height: 100%;
4447
- object-fit: cover;
4448
- display: block;
4437
+ min-width: 0;
4449
4438
  }
4450
4439
 
4451
- /* ─── Favourite overlay ───────────────────────────────── */
4452
-
4453
- .muka-tile__favourite {
4454
- position: absolute;
4455
- z-index: 3;
4440
+ .muka-textarea__field--sm .muka-textarea__native {
4441
+ font-family: var(--text-input-sm-fontFamily);
4442
+ font-weight: var(--text-input-sm-fontWeight);
4443
+ font-size: var(--text-input-sm-fontSize);
4444
+ line-height: var(--text-input-sm-lineHeight);
4456
4445
  }
4457
4446
 
4458
- .muka-tile--lg .muka-tile__favourite,
4459
- .muka-tile--md .muka-tile__favourite {
4460
- top: var(--spacing-4);
4461
- right: var(--spacing-4);
4447
+ .muka-textarea__field--lg .muka-textarea__native {
4448
+ font-family: var(--text-input-lg-fontFamily);
4449
+ font-weight: var(--text-input-lg-fontWeight);
4450
+ font-size: var(--text-input-lg-fontSize);
4451
+ line-height: var(--text-input-lg-lineHeight);
4462
4452
  }
4463
4453
 
4464
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4465
- top: var(--spacing-1);
4466
- right: var(--spacing-1);
4454
+ .muka-textarea__native::placeholder {
4455
+ color: var(--color-text-subtle-default);
4467
4456
  }
4468
4457
 
4469
- /* ─── Thumbnails ──────────────────────────────────────── */
4458
+ .muka-textarea__field--disabled .muka-textarea__native {
4459
+ color: var(--input-field-color-disabled-foreground);
4460
+ cursor: not-allowed;
4461
+ }
4470
4462
 
4471
- .muka-tile__thumbnails {
4463
+ /* Footer (helper/error + count) */
4464
+ .muka-textarea__footer {
4472
4465
  display: flex;
4473
- gap: 2px;
4474
- overflow: hidden;
4475
- flex-shrink: 0;
4476
- height: 80px;
4466
+ justify-content: space-between;
4467
+ align-items: flex-start;
4468
+ gap: var(--spacing-2);
4477
4469
  }
4478
4470
 
4479
- .muka-tile__thumbnail {
4480
- width: 80px;
4481
- height: 80px;
4482
- flex-shrink: 0;
4483
- overflow: hidden;
4471
+ .muka-textarea__helper {
4472
+ font-family: var(--text-label-sm-regular-fontFamily);
4473
+ font-weight: var(--text-label-sm-regular-fontWeight);
4474
+ font-size: var(--text-label-sm-regular-fontSize);
4475
+ line-height: var(--text-label-sm-regular-lineHeight);
4476
+ color: var(--color-text-subtle-default);
4477
+ margin: 0;
4484
4478
  }
4485
4479
 
4486
- .muka-tile__thumbnail img {
4487
- width: 100%;
4488
- height: 100%;
4489
- object-fit: cover;
4490
- display: block;
4480
+ .muka-textarea__error {
4481
+ font-family: var(--text-label-sm-regular-fontFamily);
4482
+ font-weight: var(--text-label-sm-regular-fontWeight);
4483
+ font-size: var(--text-label-sm-regular-fontSize);
4484
+ line-height: var(--text-label-sm-regular-lineHeight);
4485
+ color: var(--color-state-error-default);
4486
+ margin: 0;
4491
4487
  }
4492
4488
 
4493
- /* Gap between main photo and thumbnails */
4494
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4495
- margin-top: 2px;
4489
+ .muka-textarea__count {
4490
+ font-family: var(--text-label-sm-regular-fontFamily);
4491
+ font-weight: var(--text-label-sm-regular-fontWeight);
4492
+ font-size: var(--text-label-sm-regular-fontSize);
4493
+ line-height: var(--text-label-sm-regular-lineHeight);
4494
+ color: var(--color-text-subtle-default);
4495
+ margin-left: auto;
4496
4496
  }
4497
4497
 
4498
- /* ─── Content section ─────────────────────────────────── */
4499
4498
 
4500
- .muka-tile__content {
4499
+ /* Tabs */
4500
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4501
+
4502
+ .muka-tabs {
4501
4503
  display: flex;
4502
4504
  flex-direction: column;
4503
- flex: 1;
4504
- min-width: 0;
4505
4505
  }
4506
4506
 
4507
- /* Top layout: content has horizontal padding */
4508
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4509
- padding: 0 var(--spacing-3);
4510
- gap: var(--spacing-1);
4507
+ /* Alignment Variants */
4508
+ .muka-tabs--align-left .muka-tabs__list {
4509
+ justify-content: flex-start;
4511
4510
  }
4512
-
4513
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4514
- padding: 0 var(--spacing-3);
4515
- gap: var(--spacing-2);
4511
+ .muka-tabs--align-center .muka-tabs__list {
4512
+ justify-content: center;
4516
4513
  }
4517
-
4518
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4519
- gap: var(--spacing-2);
4514
+ .muka-tabs--align-fill .muka-tabs__list {
4515
+ justify-content: space-between;
4516
+ }
4517
+ .muka-tabs--align-fill .muka-tabs__trigger {
4518
+ flex: 1;
4520
4519
  }
4521
4520
 
4522
- /* Left/right layout: content grows to fill space */
4523
- .muka-tile--image-left .muka-tile__content,
4524
- .muka-tile--image-right .muka-tile__content {
4525
- gap: var(--spacing-3);
4521
+ /* Tab List — strip container */
4522
+ .muka-tabs__list {
4523
+ display: flex;
4524
+ align-items: center;
4525
+ position: relative;
4526
+ z-index: 2;
4527
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4526
4528
  }
4527
4529
 
4528
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4529
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4530
- padding: 0 var(--spacing-3);
4530
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4531
+ .muka-tabs--padding-default .muka-tabs__list {
4532
+ padding-inline: var(--tabs-list-padding-x);
4531
4533
  }
4532
4534
 
4533
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4534
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4535
- padding: var(--spacing-2) var(--spacing-3);
4535
+ /* Tab Trigger — clean underline style */
4536
+ .muka-tabs__trigger {
4537
+ display: inline-flex;
4538
+ align-items: center;
4539
+ justify-content: center;
4540
+ gap: var(--spacing-1);
4541
+ background: transparent;
4542
+ border: none;
4543
+ cursor: pointer;
4544
+ user-select: none;
4545
+ transition: background-color 0.2s ease, color 0.2s ease;
4546
+ outline: none;
4547
+ white-space: nowrap;
4548
+ position: relative;
4549
+ z-index: 2;
4550
+ color: var(--tabs-trigger-color-default-foreground);
4551
+
4552
+ /* Default MD size values */
4553
+ min-height: var(--tabs-trigger-min-height-md);
4554
+ padding: var(--spacing-3);
4555
+ font-family: var(--text-label-md-regular-fontFamily);
4556
+ font-weight: var(--text-label-md-regular-fontWeight);
4557
+ font-size: var(--text-label-md-regular-fontSize);
4558
+ line-height: var(--text-label-md-regular-lineHeight);
4536
4559
  }
4537
4560
 
4538
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4539
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4540
- gap: var(--spacing-2);
4561
+ /* Size Variants */
4562
+ .muka-tabs--size-sm .muka-tabs__trigger {
4563
+ min-height: var(--tabs-trigger-min-height-sm);
4564
+ padding: 0 var(--spacing-2);
4565
+ font-family: var(--text-label-sm-regular-fontFamily);
4566
+ font-weight: var(--text-label-sm-regular-fontWeight);
4567
+ font-size: var(--text-label-sm-regular-fontSize);
4568
+ line-height: var(--text-label-sm-regular-lineHeight);
4541
4569
  }
4542
4570
 
4543
- /* ─── Header (heading row + price) ────────────────────── */
4544
-
4545
- .muka-tile__header {
4546
- display: flex;
4547
- align-items: flex-start;
4548
- gap: var(--spacing-4);
4571
+ .muka-tabs--size-lg .muka-tabs__trigger {
4572
+ min-height: var(--tabs-trigger-min-height-lg);
4573
+ padding: var(--spacing-4);
4574
+ font-family: var(--text-label-lg-regular-fontFamily);
4575
+ font-weight: var(--text-label-lg-regular-fontWeight);
4576
+ font-size: var(--text-label-lg-regular-fontSize);
4577
+ line-height: var(--text-label-lg-regular-lineHeight);
4549
4578
  }
4550
4579
 
4551
- /* Small horizontal: row with text and action */
4552
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4553
- gap: var(--spacing-2);
4554
- align-items: center;
4555
- padding-top: var(--spacing-1);
4580
+ /* Hover state */
4581
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4582
+ color: var(--tabs-trigger-color-hover-foreground);
4556
4583
  }
4557
4584
 
4558
- /* ─── Text group ──────────────────────────────────────── */
4559
-
4560
- .muka-tile__text {
4561
- display: flex;
4562
- flex-direction: column;
4563
- flex: 1;
4564
- min-width: 0;
4565
- gap: var(--spacing-2);
4585
+ /* Current tab */
4586
+ .muka-tabs__trigger--current {
4587
+ color: var(--tabs-trigger-color-current-foreground);
4566
4588
  }
4567
4589
 
4568
- /* ─── Heading typography ──────────────────────────────── */
4569
-
4570
- .muka-tile__heading {
4571
- margin: 0;
4590
+ /* Active bottom border (underline) */
4591
+ .muka-tabs__trigger--current::after {
4592
+ content: '';
4593
+ position: absolute;
4594
+ bottom: -1px; /* Overlap the 1px border */
4595
+ left: 0;
4596
+ right: 0;
4597
+ height: var(--tabs-indicator-height-md);
4598
+ background-color: var(--tabs-indicator-color);
4599
+ border-bottom-left-radius: 1px;
4600
+ border-bottom-right-radius: 1px;
4601
+ border-top-left-radius: 3px;
4602
+ border-top-right-radius: 3px;
4603
+ z-index: 3;
4572
4604
  }
4573
4605
 
4574
- .muka-tile--lg .muka-tile__heading {
4575
- font-family: var(--text-label-2xl-semibold-fontFamily);
4576
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4577
- font-size: var(--text-label-2xl-semibold-fontSize);
4578
- line-height: var(--text-label-2xl-semibold-lineHeight);
4579
- color: var(--color-text-default-default);
4606
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4607
+ height: var(--tabs-indicator-height-sm);
4580
4608
  }
4581
-
4582
- .muka-tile--md .muka-tile__heading {
4583
- font-family: var(--text-label-xl-semibold-fontFamily);
4584
- font-weight: var(--text-label-xl-semibold-fontWeight);
4585
- font-size: var(--text-label-xl-semibold-fontSize);
4586
- line-height: var(--text-label-xl-semibold-lineHeight);
4587
- color: var(--color-text-default-default);
4609
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4610
+ height: var(--tabs-indicator-height-lg);
4588
4611
  }
4589
4612
 
4590
- .muka-tile--sm .muka-tile__heading {
4591
- font-family: var(--text-label-lg-bold-fontFamily);
4592
- font-weight: var(--text-label-lg-bold-fontWeight);
4593
- font-size: var(--text-label-lg-bold-fontSize);
4594
- line-height: var(--text-label-lg-bold-lineHeight);
4595
- color: var(--color-text-default-default);
4613
+ .muka-tabs__trigger--disabled {
4614
+ color: var(--tabs-trigger-color-disabled-foreground);
4615
+ cursor: not-allowed;
4596
4616
  }
4597
4617
 
4598
- /* ─── Subheading typography ───────────────────────────── */
4599
-
4600
- .muka-tile__subheading {
4601
- margin: 0;
4602
- color: var(--color-text-subtle-default);
4618
+ .muka-tabs__trigger:focus-visible {
4619
+ outline: 2px solid var(--color-border-focus);
4620
+ outline-offset: -2px;
4603
4621
  }
4604
4622
 
4605
- .muka-tile--lg .muka-tile__subheading {
4606
- font-family: var(--text-subheading-md-fontFamily);
4607
- font-weight: var(--text-subheading-md-fontWeight);
4608
- font-size: var(--text-subheading-md-fontSize);
4609
- line-height: var(--text-subheading-md-lineHeight);
4623
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4624
+ item sits 12px from the text */
4625
+ .muka-tabs__label {
4626
+ padding: 0 var(--spacing-2);
4610
4627
  }
4611
4628
 
4612
- .muka-tile--md .muka-tile__subheading,
4613
- .muka-tile--sm .muka-tile__subheading {
4614
- font-family: var(--text-subheading-sm-fontFamily);
4615
- font-weight: var(--text-subheading-sm-fontWeight);
4616
- font-size: var(--text-subheading-sm-fontSize);
4617
- line-height: var(--text-subheading-sm-lineHeight);
4629
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4630
+ .muka-tabs__leading {
4631
+ display: flex;
4632
+ align-items: center;
4633
+ justify-content: center;
4634
+ flex-shrink: 0;
4618
4635
  }
4619
-
4620
- /* ─── Description typography ──────────────────────────── */
4621
-
4622
- .muka-tile__description {
4623
- margin: 0;
4624
- color: var(--color-text-default-default);
4636
+ .muka-tabs__trigger .muka-icon {
4637
+ color: inherit;
4625
4638
  }
4639
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4640
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4641
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4642
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4643
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4644
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4645
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4626
4646
 
4627
- .muka-tile--lg .muka-tile__description {
4628
- font-family: var(--text-body-lg-regular-fontFamily);
4629
- font-weight: var(--text-body-lg-regular-fontWeight);
4630
- font-size: var(--text-body-lg-regular-fontSize);
4631
- line-height: var(--text-body-lg-regular-lineHeight);
4647
+ /* Responsive Scroll behavior on small screens */
4648
+ @media (max-width: 768px) {
4649
+ .muka-tabs__list {
4650
+ /* Make scrollable */
4651
+ overflow-x: auto;
4652
+ overflow-y: hidden;
4653
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4654
+ justify-content: flex-start !important;
4655
+ max-width: 100vw;
4656
+ -webkit-overflow-scrolling: touch;
4657
+ /* Hide scrollbar for cleaner look */
4658
+ scrollbar-width: none;
4659
+ }
4660
+ .muka-tabs__list::-webkit-scrollbar {
4661
+ display: none;
4662
+ }
4663
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4664
+ .muka-tabs--align-fill .muka-tabs__trigger {
4665
+ flex: 0 0 auto;
4666
+ }
4632
4667
  }
4633
4668
 
4634
- .muka-tile--md .muka-tile__description,
4635
- .muka-tile--sm .muka-tile__description {
4669
+ /* Tab Panel — content area */
4670
+ .muka-tabs__panel {
4671
+ background-color: var(--tabs-panel-background);
4672
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4673
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4674
+ padding: var(--spacing-4);
4675
+ position: relative;
4676
+ z-index: 1;
4636
4677
  font-family: var(--text-body-base-regular-fontFamily);
4637
4678
  font-weight: var(--text-body-base-regular-fontWeight);
4638
4679
  font-size: var(--text-body-base-regular-fontSize);
4639
4680
  line-height: var(--text-body-base-regular-lineHeight);
4640
4681
  }
4641
4682
 
4642
- /* Description overflow for medium */
4643
- .muka-tile--md .muka-tile__description {
4644
- overflow: hidden;
4645
- text-overflow: ellipsis;
4646
- }
4647
-
4648
- /* ─── Price slot ──────────────────────────────────────── */
4649
-
4650
- .muka-tile__price {
4651
- flex-shrink: 0;
4652
- }
4653
-
4654
- /* ─── Action slot ─────────────────────────────────────── */
4655
-
4656
- .muka-tile__action {
4657
- flex-shrink: 0;
4683
+ .muka-tabs__panel:focus-visible {
4684
+ outline: 2px solid var(--color-border-focus);
4685
+ outline-offset: 2px;
4658
4686
  }
4659
4687
 
4660
4688
 
@@ -5164,9 +5192,87 @@ body {
5164
5192
  color: var(--color-text-default-default);
5165
5193
  }
5166
5194
 
5167
- .muka-swipe-actions__button--destructive {
5168
- background-color: var(--color-state-error-default);
5169
- color: var(--color-text-default-inverse);
5195
+ .muka-swipe-actions__button--destructive {
5196
+ background-color: var(--color-state-error-default);
5197
+ color: var(--color-text-default-inverse);
5198
+ }
5199
+
5200
+
5201
+ /* Spinner */
5202
+ /* Spinner Component Styles */
5203
+
5204
+ .muka-spinner {
5205
+ display: inline-flex;
5206
+ align-items: center;
5207
+ justify-content: center;
5208
+ color: var(--color-text-default-default);
5209
+ line-height: 0;
5210
+ }
5211
+
5212
+ .muka-spinner--subtle {
5213
+ color: var(--color-text-subtle-default);
5214
+ }
5215
+
5216
+ .muka-spinner--inverse {
5217
+ color: var(--color-text-default-inverse);
5218
+ }
5219
+
5220
+ .muka-spinner__circle {
5221
+ display: inline-block;
5222
+ border-radius: 50%;
5223
+ border-style: solid;
5224
+ border-color: currentColor;
5225
+ border-right-color: transparent;
5226
+ animation: muka-spinner-rotate 0.7s linear infinite;
5227
+ box-sizing: border-box;
5228
+ }
5229
+
5230
+ /* ─── Sizes ───────────────────────────────────────────── */
5231
+
5232
+ .muka-spinner--sm .muka-spinner__circle {
5233
+ width: 16px;
5234
+ height: 16px;
5235
+ border-width: 2px;
5236
+ }
5237
+
5238
+ .muka-spinner--md .muka-spinner__circle {
5239
+ width: 20px;
5240
+ height: 20px;
5241
+ border-width: 2px;
5242
+ }
5243
+
5244
+ .muka-spinner--lg .muka-spinner__circle {
5245
+ width: 24px;
5246
+ height: 24px;
5247
+ border-width: 3px;
5248
+ }
5249
+
5250
+ /* ─── Visually-hidden label ───────────────────────────── */
5251
+
5252
+ .muka-spinner__sr-label {
5253
+ position: absolute;
5254
+ width: 1px;
5255
+ height: 1px;
5256
+ padding: 0;
5257
+ margin: -1px;
5258
+ overflow: hidden;
5259
+ clip: rect(0, 0, 0, 0);
5260
+ white-space: nowrap;
5261
+ border: 0;
5262
+ }
5263
+
5264
+ /* ─── Reduced motion ──────────────────────────────────── */
5265
+
5266
+ @keyframes muka-spinner-rotate {
5267
+ to {
5268
+ transform: rotate(360deg);
5269
+ }
5270
+ }
5271
+
5272
+ @media (prefers-reduced-motion: reduce) {
5273
+ .muka-spinner__circle {
5274
+ animation-duration: 2.5s;
5275
+ }
5170
5276
  }
5171
5277
 
5172
5278
 
@@ -5255,81 +5361,153 @@ body {
5255
5361
  }
5256
5362
 
5257
5363
 
5258
- /* Spinner */
5259
- /* Spinner Component Styles */
5364
+ /* SocialSignInButton */
5365
+ /*
5366
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5367
+ * Google Identity branding) and intentionally fixed across Muka brands —
5368
+ * same exception pattern as LicensePlateInput regulatory colors.
5369
+ *
5370
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5371
+ * Google: https://developers.google.com/identity/branding-guidelines
5372
+ */
5373
+ .muka-social-sign-in-button {
5374
+ --ssi-white: #ffffff;
5375
+ --ssi-black: #000000;
5376
+ --ssi-google-text-light: #1f1f1f;
5260
5377
 
5261
- .muka-spinner {
5262
5378
  display: inline-flex;
5263
5379
  align-items: center;
5264
5380
  justify-content: center;
5265
- color: var(--color-text-default-default);
5266
- line-height: 0;
5381
+
5382
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5383
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5384
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5385
+ font-family: inherit;
5386
+ font-weight: 600;
5387
+ text-decoration: none;
5388
+ white-space: nowrap;
5389
+
5390
+ border: 1px solid transparent;
5391
+ cursor: pointer;
5392
+ user-select: none;
5393
+ transition: opacity 0.15s ease, filter 0.15s ease;
5394
+
5395
+ outline: none;
5396
+ position: relative;
5397
+ box-sizing: border-box;
5267
5398
  }
5268
5399
 
5269
- .muka-spinner--subtle {
5270
- color: var(--color-text-subtle-default);
5400
+ .muka-social-sign-in-button--apple {
5401
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5402
+ Helvetica, Arial, sans-serif;
5403
+ font-weight: 600;
5271
5404
  }
5272
5405
 
5273
- .muka-spinner--inverse {
5274
- color: var(--color-text-default-inverse);
5406
+ .muka-social-sign-in-button--google {
5407
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5408
+ font-weight: 500;
5275
5409
  }
5276
5410
 
5277
- .muka-spinner__circle {
5278
- display: inline-block;
5279
- border-radius: 50%;
5280
- border-style: solid;
5281
- border-color: currentColor;
5282
- border-right-color: transparent;
5283
- animation: muka-spinner-rotate 0.7s linear infinite;
5284
- box-sizing: border-box;
5411
+ .muka-social-sign-in-button:focus-visible {
5412
+ outline: 2px solid var(--color-border-focus);
5413
+ outline-offset: 2px;
5285
5414
  }
5286
5415
 
5287
- /* ─── Sizes ───────────────────────────────────────────── */
5416
+ /* Sizes — heights align with Button md/lg */
5417
+ .muka-social-sign-in-button--md {
5418
+ padding: 0 var(--button-padding-md-x);
5419
+ border-radius: var(--button-radius-md);
5420
+ font-size: var(--text-label-sm-semibold-fontSize);
5421
+ line-height: var(--text-label-sm-semibold-lineHeight);
5422
+ min-height: 40px;
5423
+ min-width: 240px;
5424
+ }
5288
5425
 
5289
- .muka-spinner--sm .muka-spinner__circle {
5290
- width: 16px;
5291
- height: 16px;
5292
- border-width: 2px;
5426
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5427
+ padding: 0 var(--button-gap-md);
5293
5428
  }
5294
5429
 
5295
- .muka-spinner--md .muka-spinner__circle {
5296
- width: 20px;
5297
- height: 20px;
5298
- border-width: 2px;
5430
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5431
+ width: var(--button-icon-md);
5432
+ height: var(--button-icon-md);
5299
5433
  }
5300
5434
 
5301
- .muka-spinner--lg .muka-spinner__circle {
5302
- width: 24px;
5303
- height: 24px;
5304
- border-width: 3px;
5435
+ .muka-social-sign-in-button--lg {
5436
+ padding: 0 var(--button-padding-lg-x);
5437
+ border-radius: var(--button-radius-lg);
5438
+ font-size: var(--text-label-lg-semibold-fontSize);
5439
+ line-height: var(--text-label-lg-semibold-lineHeight);
5440
+ min-height: 48px;
5441
+ min-width: 280px;
5305
5442
  }
5306
5443
 
5307
- /* ─── Visually-hidden label ───────────────────────────── */
5444
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5445
+ padding: 0 var(--button-gap-lg);
5446
+ }
5308
5447
 
5309
- .muka-spinner__sr-label {
5310
- position: absolute;
5311
- width: 1px;
5312
- height: 1px;
5313
- padding: 0;
5314
- margin: -1px;
5315
- overflow: hidden;
5316
- clip: rect(0, 0, 0, 0);
5317
- white-space: nowrap;
5318
- border: 0;
5448
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5449
+ width: var(--button-icon-lg);
5450
+ height: var(--button-icon-lg);
5319
5451
  }
5320
5452
 
5321
- /* ─── Reduced motion ──────────────────────────────────── */
5453
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5454
+ .muka-social-sign-in-button--white {
5455
+ background-color: var(--ssi-white);
5456
+ color: var(--ssi-black);
5457
+ border-color: var(--ssi-black);
5458
+ }
5322
5459
 
5323
- @keyframes muka-spinner-rotate {
5324
- to {
5325
- transform: rotate(360deg);
5326
- }
5460
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5461
+ color: var(--ssi-google-text-light);
5327
5462
  }
5328
5463
 
5329
- @media (prefers-reduced-motion: reduce) {
5330
- .muka-spinner__circle {
5331
- animation-duration: 2.5s;
5332
- }
5464
+ /* Black lockup — for light surfaces */
5465
+ .muka-social-sign-in-button--black {
5466
+ background-color: var(--ssi-black);
5467
+ color: var(--ssi-white);
5468
+ border-color: transparent;
5469
+ }
5470
+
5471
+ /* Interaction — luminance/opacity only; no brand tint */
5472
+ .muka-social-sign-in-button:hover:not(:disabled) {
5473
+ filter: brightness(0.92);
5474
+ }
5475
+
5476
+ .muka-social-sign-in-button:active:not(:disabled) {
5477
+ filter: brightness(0.85);
5478
+ }
5479
+
5480
+ .muka-social-sign-in-button:disabled,
5481
+ .muka-social-sign-in-button--disabled {
5482
+ cursor: not-allowed;
5483
+ opacity: 0.4;
5484
+ pointer-events: none;
5485
+ filter: none;
5486
+ }
5487
+
5488
+ .muka-social-sign-in-button--full-width {
5489
+ width: 100%;
5490
+ min-width: 0;
5491
+ }
5492
+
5493
+ .muka-social-sign-in-button__icon {
5494
+ display: inline-flex;
5495
+ align-items: center;
5496
+ justify-content: center;
5497
+ flex-shrink: 0;
5498
+ }
5499
+
5500
+ .muka-social-sign-in-button__icon > *,
5501
+ .muka-social-sign-in-button__icon svg {
5502
+ width: auto;
5503
+ height: 100%;
5504
+ max-width: 100%;
5505
+ display: block;
5506
+ }
5507
+
5508
+ .muka-social-sign-in-button__label {
5509
+ display: inline-flex;
5510
+ align-items: center;
5333
5511
  }
5334
5512
 
5335
5513
 
@@ -6062,8 +6240,8 @@ body {
6062
6240
  .muka-segmentgroup--sm .muka-segmentgroup__segment {
6063
6241
  padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6064
6242
  height: var(--segmentgroup-segment-height-sm);
6065
- font-size: var(--text-label-sm-fontSize);
6066
- line-height: var(--text-label-sm-lineHeight);
6243
+ font-size: var(--text-label-sm-regular-fontSize);
6244
+ line-height: var(--text-label-sm-leading);
6067
6245
  }
6068
6246
 
6069
6247
  .muka-segmentgroup--md {
@@ -6075,8 +6253,8 @@ body {
6075
6253
  }
6076
6254
  .muka-segmentgroup--md .muka-segmentgroup__segment {
6077
6255
  padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6078
- font-size: var(--text-label-md-fontSize);
6079
- line-height: var(--text-label-md-lineHeight);
6256
+ font-size: var(--text-label-md-regular-fontSize);
6257
+ line-height: var(--text-label-md-leading);
6080
6258
  }
6081
6259
 
6082
6260
  .muka-segmentgroup--lg {
@@ -6089,8 +6267,8 @@ body {
6089
6267
  .muka-segmentgroup--lg .muka-segmentgroup__segment {
6090
6268
  padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6091
6269
  height: 40px;
6092
- font-size: var(--text-label-lg-fontSize);
6093
- line-height: var(--text-label-lg-lineHeight);
6270
+ font-size: var(--text-label-lg-regular-fontSize);
6271
+ line-height: var(--text-label-lg-leading);
6094
6272
  }
6095
6273
 
6096
6274
  /* Icon-only variants */
@@ -6512,8 +6690,8 @@ body {
6512
6690
 
6513
6691
  .muka-recording-bar__time {
6514
6692
  flex: 0 0 auto;
6515
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6516
- line-height: var(--text-label-sm-lineHeight, 1);
6693
+ font-size: var(--text-label-sm-regular-fontSize);
6694
+ line-height: var(--text-label-sm-leading);
6517
6695
  font-variant-numeric: tabular-nums;
6518
6696
  color: var(--color-text-default-default);
6519
6697
  }
@@ -9958,8 +10136,8 @@ button.muka-progress-tracker__tab:focus-visible {
9958
10136
  /* Typography - using semantic tokens */
9959
10137
  font-family: var(--alias-font-plain-family);
9960
10138
  font-weight: var(--alias-font-plain-weight-semibold, 600);
9961
- font-size: var(--text-label-md-fontSize);
9962
- line-height: var(--text-label-md-lineHeight);
10139
+ font-size: var(--text-label-md-regular-fontSize);
10140
+ line-height: var(--text-label-md-leading);
9963
10141
  color: var(--color-text-default-default);
9964
10142
 
9965
10143
  /* Text handling */
@@ -10000,43 +10178,112 @@ button.muka-progress-tracker__tab:focus-visible {
10000
10178
  gap: var(--spacing-1);
10001
10179
  flex-shrink: 0;
10002
10180
  font-family: var(--alias-font-plain-family);
10003
- font-size: var(--text-body-sm-fontSize);
10004
- line-height: var(--text-body-sm-lineHeight);
10181
+ font-size: var(--text-body-sm-regular-fontSize);
10182
+ line-height: var(--text-body-sm-regular-lineHeight);
10005
10183
  color: var(--color-text-subtle-default);
10006
10184
  white-space: nowrap;
10007
10185
  }
10008
10186
 
10009
- /* Trailing chevron */
10010
- .muka-listitem__chevron {
10011
- display: inline-flex;
10012
- align-items: center;
10013
- justify-content: center;
10014
- flex-shrink: 0;
10015
- width: 24px;
10016
- height: 24px;
10017
- color: var(--color-text-subtle-default);
10187
+ /* Trailing chevron */
10188
+ .muka-listitem__chevron {
10189
+ display: inline-flex;
10190
+ align-items: center;
10191
+ justify-content: center;
10192
+ flex-shrink: 0;
10193
+ width: 24px;
10194
+ height: 24px;
10195
+ color: var(--color-text-subtle-default);
10196
+ }
10197
+
10198
+ /* Bottom divider */
10199
+ .muka-listitem__divider {
10200
+ position: absolute;
10201
+ bottom: 0;
10202
+ left: 0;
10203
+ right: 0;
10204
+ height: 1px;
10205
+ background-color: var(--color-border-default);
10206
+ }
10207
+
10208
+ /* Button and anchor specific styles */
10209
+ button.muka-listitem,
10210
+ a.muka-listitem {
10211
+ text-align: left;
10212
+ width: 100%;
10213
+ }
10214
+
10215
+ /* A row rendered as a link reads as a row, not as link text */
10216
+ a.muka-listitem {
10217
+ color: inherit;
10218
+ text-decoration: none;
10219
+ }
10220
+
10221
+ /* List item specific styles */
10222
+ li.muka-listitem {
10223
+ list-style: none;
10224
+ }
10225
+
10226
+ /* ─── Tone ─────────────────────────────────────────────── */
10227
+
10228
+ .muka-listitem--tone-info,
10229
+ .muka-listitem-group--tone-info {
10230
+ background-color: var(--color-state-info-background);
10231
+ }
10232
+
10233
+ .muka-listitem--tone-warning,
10234
+ .muka-listitem-group--tone-warning {
10235
+ background-color: var(--color-state-warning-background);
10236
+ }
10237
+
10238
+ /* ─── Actions beside the row ───────────────────────────── */
10239
+
10240
+ /*
10241
+ * With `actions`, the row (the click target) and the actions are siblings in a
10242
+ * group. The group carries the surface, the tone and the divider; the row
10243
+ * fills the space and the actions sit at the end.
10244
+ */
10245
+ .muka-listitem-group {
10246
+ display: flex;
10247
+ align-items: center;
10248
+ position: relative;
10249
+ background-color: var(--color-surface-level3);
10250
+ list-style: none;
10251
+ }
10252
+
10253
+ .muka-listitem-group--selected {
10254
+ background-color: var(--color-surface-level2);
10255
+ }
10256
+
10257
+ .muka-listitem-group--disabled {
10258
+ opacity: 0.5;
10259
+ }
10260
+
10261
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10262
+ /* The group already dims; don't dim the row twice */
10263
+ opacity: 1;
10264
+ }
10265
+
10266
+ .muka-listitem--with-actions {
10267
+ flex: 1;
10268
+ min-width: 0;
10269
+ padding-right: var(--spacing-2);
10270
+ background-color: transparent;
10018
10271
  }
10019
10272
 
10020
- /* Bottom divider */
10021
- .muka-listitem__divider {
10022
- position: absolute;
10023
- bottom: 0;
10024
- left: 0;
10025
- right: 0;
10026
- height: 1px;
10027
- background-color: var(--color-border-default);
10273
+ .muka-listitem--with-actions.muka-listitem--selected {
10274
+ background-color: transparent;
10028
10275
  }
10029
10276
 
10030
- /* Button and anchor specific styles */
10031
- button.muka-listitem,
10032
- a.muka-listitem {
10033
- text-align: left;
10034
- width: 100%;
10277
+ .muka-listitem__actions {
10278
+ display: flex;
10279
+ align-items: center;
10280
+ gap: var(--spacing-2);
10281
+ flex-shrink: 0;
10282
+ padding-right: var(--spacing-4);
10035
10283
  }
10036
10284
 
10037
- /* List item specific styles */
10038
- li.muka-listitem {
10039
- list-style: none;
10285
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10286
+ display: none;
10040
10287
  }
10041
10288
 
10042
10289
 
@@ -11853,8 +12100,8 @@ li.muka-listitem {
11853
12100
  padding: var(--spacing-1) var(--spacing-2);
11854
12101
  text-align: center;
11855
12102
  font-family: var(--alias-font-brand-family);
11856
- font-size: var(--text-label-sm-fontSize);
11857
- line-height: var(--text-label-sm-lineHeight);
12103
+ font-size: var(--text-label-sm-regular-fontSize);
12104
+ line-height: var(--text-label-sm-leading);
11858
12105
  border: 1px solid var(--color-border-default);
11859
12106
  border-radius: var(--border-radius-md);
11860
12107
  background-color: var(--color-surface-level0);
@@ -11869,7 +12116,7 @@ li.muka-listitem {
11869
12116
 
11870
12117
  .muka-documentviewer__page-total {
11871
12118
  font-family: var(--alias-font-brand-family);
11872
- font-size: var(--text-label-sm-fontSize);
12119
+ font-size: var(--text-label-sm-regular-fontSize);
11873
12120
  color: var(--color-text-subtle-default);
11874
12121
  }
11875
12122
 
@@ -11878,7 +12125,7 @@ li.muka-listitem {
11878
12125
  min-width: var(--documentviewer-zoom-button-width);
11879
12126
  padding: var(--spacing-1) var(--spacing-2);
11880
12127
  font-family: var(--alias-font-brand-family);
11881
- font-size: var(--text-label-sm-fontSize);
12128
+ font-size: var(--text-label-sm-regular-fontSize);
11882
12129
  font-weight: var(--alias-font-brand-weight-semibold);
11883
12130
  color: var(--color-text-default-default);
11884
12131
  background: transparent;
@@ -11940,7 +12187,7 @@ li.muka-listitem {
11940
12187
  text-align: center;
11941
12188
  padding: var(--spacing-2);
11942
12189
  font-family: var(--alias-font-brand-family);
11943
- font-size: var(--text-label-sm-fontSize);
12190
+ font-size: var(--text-label-sm-regular-fontSize);
11944
12191
  color: var(--color-text-subtle-default);
11945
12192
  }
11946
12193
 
@@ -12116,6 +12363,33 @@ li.muka-listitem {
12116
12363
  background-color: var(--separator-color-contrast);
12117
12364
  }
12118
12365
 
12366
+ /* ─── With a label in the middle ───────────────────────── */
12367
+
12368
+ .muka-divider-labelled {
12369
+ display: flex;
12370
+ align-items: center;
12371
+ gap: var(--spacing-3);
12372
+ width: 100%;
12373
+ }
12374
+
12375
+ .muka-divider-labelled > .muka-divider {
12376
+ flex: 1 1 0%;
12377
+ width: auto;
12378
+ }
12379
+
12380
+ .muka-divider-labelled__label {
12381
+ flex-shrink: 0;
12382
+ max-width: 70%;
12383
+ overflow: hidden;
12384
+ text-overflow: ellipsis;
12385
+ white-space: nowrap;
12386
+ color: var(--color-text-default-default);
12387
+ font-family: var(--text-label-sm-regular-fontFamily);
12388
+ font-weight: var(--text-label-sm-regular-fontWeight);
12389
+ font-size: var(--text-label-sm-regular-fontSize);
12390
+ line-height: var(--text-label-sm-leading);
12391
+ }
12392
+
12119
12393
 
12120
12394
  /* Dialog */
12121
12395
  /* Dialog Component Styles */
@@ -14689,6 +14963,68 @@ button.muka-chat-photo-grid__tile:focus-visible {
14689
14963
  }
14690
14964
  }
14691
14965
 
14966
+ /* ─── Muted (a message from another context) ──────────────
14967
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14968
+ * current conversation; the text keeps full contrast. */
14969
+
14970
+ .muka-chat-message--muted .muka-chat-message__bubble {
14971
+ background-color: transparent;
14972
+ border-color: var(--chatbubble-color-peer-border);
14973
+ color: var(--color-text-default-default);
14974
+ }
14975
+
14976
+
14977
+ /* ChatEvent */
14978
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14979
+
14980
+ .muka-chat-event {
14981
+ display: flex;
14982
+ flex-direction: column;
14983
+ align-items: center;
14984
+ gap: var(--spacing-2);
14985
+ width: 100%;
14986
+ padding: 0 var(--spacing-4);
14987
+ box-sizing: border-box;
14988
+ text-align: center;
14989
+ }
14990
+
14991
+ .muka-chat-event__text {
14992
+ margin: 0;
14993
+ max-width: var(--chatbubble-max-width);
14994
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14995
+ and this is body text. Size and centring set it apart from messages. */
14996
+ color: var(--color-text-default-default);
14997
+ font-family: var(--text-body-sm-regular-fontFamily);
14998
+ font-weight: var(--text-body-sm-regular-fontWeight);
14999
+ font-size: var(--text-body-sm-regular-fontSize);
15000
+ line-height: var(--text-body-sm-regular-lineHeight);
15001
+ }
15002
+
15003
+ .muka-chat-event__timestamp {
15004
+ white-space: nowrap;
15005
+ }
15006
+
15007
+ .muka-chat-event__media {
15008
+ display: flex;
15009
+ flex-wrap: wrap;
15010
+ justify-content: center;
15011
+ gap: var(--spacing-2);
15012
+ }
15013
+
15014
+ /* Day divider: a small pill */
15015
+ .muka-chat-event__pill {
15016
+ display: inline-flex;
15017
+ align-items: center;
15018
+ padding: var(--spacing-1) var(--spacing-3);
15019
+ border-radius: var(--radius-full);
15020
+ background-color: var(--color-surface-level2);
15021
+ color: var(--color-text-default-default);
15022
+ font-family: var(--text-label-sm-regular-fontFamily);
15023
+ font-weight: var(--text-label-sm-regular-fontWeight);
15024
+ font-size: var(--text-label-sm-regular-fontSize);
15025
+ line-height: var(--text-label-sm-leading);
15026
+ }
15027
+
14692
15028
 
14693
15029
  /* ChatComposer */
14694
15030
  /* ChatComposer Component Styles */
@@ -17669,153 +18005,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17669
18005
  border-bottom: none;
17670
18006
  }
17671
18007
 
17672
-
17673
- /* SocialSignInButton */
17674
- /*
17675
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17676
- * Google Identity branding) and intentionally fixed across Muka brands —
17677
- * same exception pattern as LicensePlateInput regulatory colors.
17678
- *
17679
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17680
- * Google: https://developers.google.com/identity/branding-guidelines
17681
- */
17682
- .muka-social-sign-in-button {
17683
- --ssi-white: #ffffff;
17684
- --ssi-black: #000000;
17685
- --ssi-google-text-light: #1f1f1f;
17686
-
17687
- display: inline-flex;
17688
- align-items: center;
17689
- justify-content: center;
17690
-
17691
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17692
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17693
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17694
- font-family: inherit;
17695
- font-weight: 600;
17696
- text-decoration: none;
17697
- white-space: nowrap;
17698
-
17699
- border: 1px solid transparent;
17700
- cursor: pointer;
17701
- user-select: none;
17702
- transition: opacity 0.15s ease, filter 0.15s ease;
17703
-
17704
- outline: none;
17705
- position: relative;
17706
- box-sizing: border-box;
17707
- }
17708
-
17709
- .muka-social-sign-in-button--apple {
17710
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17711
- Helvetica, Arial, sans-serif;
17712
- font-weight: 600;
17713
- }
17714
-
17715
- .muka-social-sign-in-button--google {
17716
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17717
- font-weight: 500;
17718
- }
17719
-
17720
- .muka-social-sign-in-button:focus-visible {
17721
- outline: 2px solid var(--color-border-focus);
17722
- outline-offset: 2px;
17723
- }
17724
-
17725
- /* Sizes — heights align with Button md/lg */
17726
- .muka-social-sign-in-button--md {
17727
- padding: 0 var(--button-padding-md-x);
17728
- border-radius: var(--button-radius-md);
17729
- font-size: var(--text-label-sm-semibold-fontSize);
17730
- line-height: var(--text-label-sm-semibold-lineHeight);
17731
- min-height: 40px;
17732
- min-width: 240px;
17733
- }
17734
-
17735
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17736
- padding: 0 var(--button-gap-md);
17737
- }
17738
-
17739
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17740
- width: var(--button-icon-md);
17741
- height: var(--button-icon-md);
17742
- }
17743
-
17744
- .muka-social-sign-in-button--lg {
17745
- padding: 0 var(--button-padding-lg-x);
17746
- border-radius: var(--button-radius-lg);
17747
- font-size: var(--text-label-lg-semibold-fontSize);
17748
- line-height: var(--text-label-lg-semibold-lineHeight);
17749
- min-height: 48px;
17750
- min-width: 280px;
17751
- }
17752
-
17753
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17754
- padding: 0 var(--button-gap-lg);
17755
- }
17756
-
17757
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17758
- width: var(--button-icon-lg);
17759
- height: var(--button-icon-lg);
17760
- }
17761
-
17762
- /* White lockup — for dark surfaces (Apple White with Outline) */
17763
- .muka-social-sign-in-button--white {
17764
- background-color: var(--ssi-white);
17765
- color: var(--ssi-black);
17766
- border-color: var(--ssi-black);
17767
- }
17768
-
17769
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17770
- color: var(--ssi-google-text-light);
17771
- }
17772
-
17773
- /* Black lockup — for light surfaces */
17774
- .muka-social-sign-in-button--black {
17775
- background-color: var(--ssi-black);
17776
- color: var(--ssi-white);
17777
- border-color: transparent;
17778
- }
17779
-
17780
- /* Interaction — luminance/opacity only; no brand tint */
17781
- .muka-social-sign-in-button:hover:not(:disabled) {
17782
- filter: brightness(0.92);
17783
- }
17784
-
17785
- .muka-social-sign-in-button:active:not(:disabled) {
17786
- filter: brightness(0.85);
17787
- }
17788
-
17789
- .muka-social-sign-in-button:disabled,
17790
- .muka-social-sign-in-button--disabled {
17791
- cursor: not-allowed;
17792
- opacity: 0.4;
17793
- pointer-events: none;
17794
- filter: none;
17795
- }
17796
-
17797
- .muka-social-sign-in-button--full-width {
17798
- width: 100%;
17799
- min-width: 0;
17800
- }
17801
-
17802
- .muka-social-sign-in-button__icon {
17803
- display: inline-flex;
17804
- align-items: center;
17805
- justify-content: center;
17806
- flex-shrink: 0;
17807
- }
17808
-
17809
- .muka-social-sign-in-button__icon > *,
17810
- .muka-social-sign-in-button__icon svg {
17811
- width: auto;
17812
- height: 100%;
17813
- max-width: 100%;
17814
- display: block;
17815
- }
17816
-
17817
- .muka-social-sign-in-button__label {
17818
- display: inline-flex;
17819
- align-items: center;
17820
- }
17821
-