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