@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
@@ -153,6 +153,9 @@ body {
153
153
  --font-lineHeight-4xl: 2.5rem;
154
154
  --font-lineHeight-5xl: 3rem;
155
155
  --font-lineHeight-6xl: 4rem;
156
+ --font-leading-sm: 1.25rem;
157
+ --font-leading-md: 1.5rem;
158
+ --font-leading-lg: 1.75rem;
156
159
  --font-letterSpacing-tighter: -0.05em;
157
160
  --font-letterSpacing-tight: -0.025em;
158
161
  --font-letterSpacing-normal: 0;
@@ -1419,6 +1422,7 @@ body {
1419
1422
  --text-label-sm-bold-fontWeight: 700;
1420
1423
  --text-label-sm-bold-fontSize: 0.875rem;
1421
1424
  --text-label-sm-bold-lineHeight: 0.875rem;
1425
+ --text-label-sm-leading: 1.25rem;
1422
1426
  --text-label-md-regular-fontFamily: Roboto;
1423
1427
  --text-label-md-regular-fontWeight: 400;
1424
1428
  --text-label-md-regular-fontSize: 1rem;
@@ -1431,6 +1435,7 @@ body {
1431
1435
  --text-label-md-bold-fontWeight: 700;
1432
1436
  --text-label-md-bold-fontSize: 1rem;
1433
1437
  --text-label-md-bold-lineHeight: 1rem;
1438
+ --text-label-md-leading: 1.5rem;
1434
1439
  --text-label-lg-regular-fontFamily: Roboto;
1435
1440
  --text-label-lg-regular-fontWeight: 400;
1436
1441
  --text-label-lg-regular-fontSize: 1.125rem;
@@ -1443,6 +1448,7 @@ body {
1443
1448
  --text-label-lg-bold-fontWeight: 700;
1444
1449
  --text-label-lg-bold-fontSize: 1.125rem;
1445
1450
  --text-label-lg-bold-lineHeight: 1.125rem;
1451
+ --text-label-lg-leading: 1.75rem;
1446
1452
  --text-label-xl-regular-fontFamily: Roboto;
1447
1453
  --text-label-xl-regular-fontWeight: 400;
1448
1454
  --text-label-xl-regular-fontSize: 1.25rem;
@@ -2502,38 +2508,6 @@ body {
2502
2508
  }
2503
2509
 
2504
2510
 
2505
- /* VoiceMessage */
2506
- /* VoiceMessage Component Styles */
2507
-
2508
- .muka-voice-message {
2509
- display: flex;
2510
- align-items: center;
2511
- gap: var(--spacing-3);
2512
- width: 100%;
2513
- min-width: min(16rem, 60vw);
2514
- }
2515
-
2516
- .muka-voice-message__wave {
2517
- flex: 1 1 auto;
2518
- min-width: 0;
2519
- }
2520
-
2521
- .muka-voice-message__time {
2522
- flex: 0 0 auto;
2523
- white-space: nowrap;
2524
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2525
- line-height: var(--text-label-sm-lineHeight, 1);
2526
- font-variant-numeric: tabular-nums;
2527
- color: var(--color-text-subtle-default);
2528
- }
2529
-
2530
- /* On the tinted own bubble the surface is the action color, so the timer flips
2531
- * to the inverse text token for contrast. */
2532
- .muka-voice-message--own .muka-voice-message__time {
2533
- color: var(--color-text-default-inverse);
2534
- }
2535
-
2536
-
2537
2511
  /* View */
2538
2512
  /* View Component Styles */
2539
2513
 
@@ -2748,6 +2722,38 @@ body {
2748
2722
  }
2749
2723
 
2750
2724
 
2725
+ /* VoiceMessage */
2726
+ /* VoiceMessage Component Styles */
2727
+
2728
+ .muka-voice-message {
2729
+ display: flex;
2730
+ align-items: center;
2731
+ gap: var(--spacing-3);
2732
+ width: 100%;
2733
+ min-width: min(16rem, 60vw);
2734
+ }
2735
+
2736
+ .muka-voice-message__wave {
2737
+ flex: 1 1 auto;
2738
+ min-width: 0;
2739
+ }
2740
+
2741
+ .muka-voice-message__time {
2742
+ flex: 0 0 auto;
2743
+ white-space: nowrap;
2744
+ font-size: var(--text-label-sm-regular-fontSize);
2745
+ line-height: var(--text-label-sm-leading);
2746
+ font-variant-numeric: tabular-nums;
2747
+ color: var(--color-text-subtle-default);
2748
+ }
2749
+
2750
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2751
+ * to the inverse text token for contrast. */
2752
+ .muka-voice-message--own .muka-voice-message__time {
2753
+ color: var(--color-text-default-inverse);
2754
+ }
2755
+
2756
+
2751
2757
  /* TypingIndicator */
2752
2758
  /* TypingIndicator Component Styles */
2753
2759
 
@@ -3055,6 +3061,28 @@ body {
3055
3061
  color: var(--color-text-subtle-default);
3056
3062
  }
3057
3063
 
3064
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3065
+ The row takes the title's grid cell: the avatar, then the title (block). */
3066
+
3067
+ .muka-topbar__title-row {
3068
+ grid-column: 2;
3069
+ display: flex;
3070
+ align-items: center;
3071
+ justify-content: var(--tb-title-justify);
3072
+ gap: var(--spacing-2);
3073
+ min-width: 0;
3074
+ }
3075
+
3076
+ .muka-topbar__title-row > .muka-topbar__title,
3077
+ .muka-topbar__title-row > .muka-topbar__title-block {
3078
+ min-width: 0;
3079
+ }
3080
+
3081
+ .muka-topbar__title-leading {
3082
+ display: inline-flex;
3083
+ flex-shrink: 0;
3084
+ }
3085
+
3058
3086
  /* ─── Title as a button (titleTrailing) ──────────────────
3059
3087
  Same type as the text title, with a trailing glyph; sized to its content so
3060
3088
  only the title is the hit area, centred (start in the large tier). */
@@ -3611,985 +3639,985 @@ body {
3611
3639
  }
3612
3640
 
3613
3641
 
3614
- /* Thumbnail */
3615
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3642
+ /* Tile */
3643
+ /* Tile Component Styles - Using Muka Design Tokens */
3616
3644
 
3617
- .muka-thumbnail {
3618
- position: relative;
3619
- flex-shrink: 0;
3620
- }
3645
+ /* ─── Base ────────────────────────────────────────────── */
3621
3646
 
3622
- /* The frame carries the border, background and shape clip. Keeping it separate
3623
- from the root lets the remove (×) button sit outside the clip (needed for the
3624
- circular/ellipse shape, whose corners would otherwise clip the button). */
3625
- .muka-thumbnail__frame {
3626
- position: absolute;
3627
- inset: 0;
3628
- overflow: hidden;
3629
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3630
- border-radius: var(--border-radius-lg);
3631
- background-color: var(--color-surface-level1);
3647
+ .muka-tile {
3648
+ display: flex;
3649
+ color: var(--color-text-default-default);
3632
3650
  }
3633
3651
 
3634
- /* ─── Shapes ──────────────────────────────────────────── */
3635
- .muka-thumbnail--4-3 {
3636
- width: 160px;
3637
- height: 120px;
3652
+ .muka-tile--interactive {
3653
+ cursor: pointer;
3654
+ user-select: none;
3638
3655
  }
3639
3656
 
3640
- .muka-thumbnail--1-1 {
3641
- width: 120px;
3642
- height: 120px;
3657
+ .muka-tile--interactive:focus-visible {
3658
+ outline: 2px solid var(--color-border-focus);
3659
+ outline-offset: 2px;
3660
+ border-radius: var(--border-radius-lg);
3643
3661
  }
3644
3662
 
3645
- .muka-thumbnail--ellipse {
3646
- width: 120px;
3647
- height: 120px;
3648
- }
3663
+ /* ─── Image position variants ─────────────────────────── */
3649
3664
 
3650
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3651
- .muka-thumbnail--fluid {
3652
- width: 100%;
3653
- height: auto;
3654
- aspect-ratio: 1 / 1;
3665
+ .muka-tile--image-top {
3666
+ flex-direction: column;
3655
3667
  }
3656
3668
 
3657
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3658
- aspect-ratio: 4 / 3;
3669
+ .muka-tile--image-left {
3670
+ flex-direction: row;
3659
3671
  }
3660
3672
 
3661
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3662
- border-radius: var(--border-radius-full);
3673
+ .muka-tile--image-right {
3674
+ flex-direction: row;
3663
3675
  }
3664
3676
 
3665
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3666
- interactive hover zoom has a clean origin. */
3667
- .muka-thumbnail__image {
3668
- position: absolute;
3669
- inset: 0;
3670
- width: 100%;
3671
- height: 100%;
3672
- object-fit: cover;
3673
- display: block;
3674
- transform-origin: center;
3675
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3676
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3677
- }
3677
+ /* ─── Gap by size (top) ───────────────────────────────── */
3678
3678
 
3679
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3680
- .muka-thumbnail__trigger {
3681
- position: absolute;
3682
- inset: 0;
3683
- padding: 0;
3684
- border: 0;
3685
- background: none;
3686
- cursor: pointer;
3687
- overflow: hidden;
3679
+ .muka-tile--image-top.muka-tile--lg {
3680
+ gap: var(--spacing-6);
3688
3681
  }
3689
3682
 
3690
- .muka-thumbnail__trigger:focus-visible {
3691
- outline: 2px solid var(--color-border-focus);
3692
- outline-offset: -2px;
3683
+ .muka-tile--image-top.muka-tile--md {
3684
+ gap: var(--spacing-6);
3685
+ width: 320px;
3693
3686
  }
3694
3687
 
3695
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3696
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3697
- transform: scale(1.05);
3688
+ .muka-tile--image-top.muka-tile--sm {
3689
+ gap: var(--spacing-4);
3690
+ min-width: 120px;
3698
3691
  }
3699
3692
 
3700
- /* ─── Loading overlay + progress donut ────────────────── */
3701
- .muka-thumbnail__overlay {
3702
- position: absolute;
3703
- inset: 0;
3704
- display: flex;
3693
+ /* ─── Gap by size (left/right) ────────────────────────── */
3694
+
3695
+ .muka-tile--image-left.muka-tile--lg,
3696
+ .muka-tile--image-right.muka-tile--lg {
3697
+ gap: var(--spacing-6);
3705
3698
  align-items: center;
3706
- justify-content: center;
3707
- background-color: var(--dialog-color-backdrop);
3708
3699
  }
3709
3700
 
3710
- .muka-thumbnail__progress {
3711
- width: 40px;
3712
- height: 40px;
3701
+ .muka-tile--image-left.muka-tile--md,
3702
+ .muka-tile--image-right.muka-tile--md {
3703
+ gap: var(--spacing-6);
3704
+ align-items: center;
3713
3705
  }
3714
3706
 
3715
- /* ─── Error / corrupt state ───────────────────────────── */
3716
- .muka-thumbnail--error .muka-thumbnail__frame {
3717
- background-color: var(--alias-color-state-error-muted);
3718
- border-color: var(--alias-color-state-error-default);
3707
+ .muka-tile--image-left.muka-tile--sm,
3708
+ .muka-tile--image-right.muka-tile--sm {
3709
+ gap: var(--spacing-4);
3710
+ align-items: flex-start;
3719
3711
  }
3720
3712
 
3721
- .muka-thumbnail__error {
3722
- position: absolute;
3723
- inset: 0;
3713
+ /* ─── Photos container ────────────────────────────────── */
3714
+
3715
+ .muka-tile__photos {
3716
+ position: relative;
3717
+ flex-shrink: 0;
3718
+ overflow: hidden;
3724
3719
  display: flex;
3725
3720
  flex-direction: column;
3726
- align-items: center;
3727
- justify-content: center;
3728
- gap: var(--spacing-2);
3729
- padding: var(--spacing-3);
3730
- text-align: center;
3731
- }
3732
-
3733
- .muka-thumbnail__error-icon {
3734
- color: var(--alert-color-error-accent);
3721
+ isolation: isolate;
3735
3722
  }
3736
3723
 
3737
- .muka-thumbnail__caption {
3738
- max-width: 100%;
3739
- overflow: hidden;
3740
- text-overflow: ellipsis;
3741
- white-space: nowrap;
3742
- color: var(--alert-color-error-accent);
3743
- font-family: var(--text-body-sm-regular-fontFamily);
3744
- font-size: var(--text-body-sm-regular-fontSize);
3745
- font-weight: var(--text-body-sm-regular-fontWeight);
3746
- line-height: var(--text-body-sm-regular-lineHeight);
3724
+ /* Photos border radius by size */
3725
+ .muka-tile--lg .muka-tile__photos,
3726
+ .muka-tile--md .muka-tile__photos {
3727
+ border-radius: var(--border-radius-lg);
3747
3728
  }
3748
3729
 
3749
- /* ─── Remove (×) button ───────────────────────────────── */
3750
- .muka-thumbnail__remove {
3751
- position: absolute;
3752
- top: var(--spacing-2);
3753
- right: var(--spacing-2);
3754
- display: flex;
3755
- align-items: center;
3756
- justify-content: center;
3757
- width: var(--size-2xl);
3758
- height: var(--size-2xl);
3759
- padding: 0;
3760
- color: var(--button-color-tertiary-foreground-default);
3761
- background-color: var(--button-color-tertiary-background-default);
3762
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3763
- border-radius: var(--border-radius-lg);
3764
- cursor: pointer;
3765
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3766
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3730
+ .muka-tile--sm .muka-tile__photos {
3731
+ border-radius: var(--border-radius-md);
3767
3732
  }
3768
3733
 
3769
- .muka-thumbnail__remove:hover {
3770
- color: var(--button-color-tertiary-foreground-hover);
3771
- background-color: var(--button-color-tertiary-background-hover);
3772
- border-color: var(--button-color-tertiary-border-hover);
3734
+ /* Photos sizing: top layout */
3735
+ .muka-tile--image-top .muka-tile__photos {
3736
+ width: 100%;
3773
3737
  }
3774
3738
 
3775
- .muka-thumbnail__remove:active {
3776
- color: var(--button-color-tertiary-foreground-pressed);
3777
- background-color: var(--button-color-tertiary-background-pressed);
3778
- border-color: var(--button-color-tertiary-border-pressed);
3739
+ /* Photos sizing: left/right large */
3740
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3741
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3742
+ width: 520px;
3779
3743
  }
3780
3744
 
3781
- .muka-thumbnail__remove:focus-visible {
3782
- outline: 2px solid var(--color-border-focus);
3783
- outline-offset: 2px;
3745
+ /* Photos sizing: left/right medium */
3746
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3747
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3748
+ width: 320px;
3784
3749
  }
3785
3750
 
3786
- /* ─── Reduced motion ──────────────────────────────────── */
3787
- @media (prefers-reduced-motion: reduce) {
3788
- .muka-thumbnail__image,
3789
- .muka-thumbnail__remove {
3790
- transition: none;
3791
- }
3792
-
3793
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3794
- transform: none;
3795
- }
3751
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3752
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3753
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3754
+ width: 80px;
3755
+ align-self: stretch;
3796
3756
  }
3797
3757
 
3758
+ /* ─── Main photo ──────────────────────────────────────── */
3798
3759
 
3799
- /* Textarea */
3800
- /* Textarea Component Styles - Using Muka Design Tokens */
3760
+ .muka-tile__photo-main {
3761
+ position: relative;
3762
+ width: 100%;
3763
+ overflow: hidden;
3764
+ flex-shrink: 0;
3765
+ }
3801
3766
 
3802
- .muka-textarea {
3803
- display: inline-flex;
3804
- flex-direction: column;
3805
- gap: var(--spacing-2);
3767
+ /* 16:9 aspect for lg and md */
3768
+ .muka-tile--lg .muka-tile__photo-main,
3769
+ .muka-tile--md .muka-tile__photo-main {
3770
+ aspect-ratio: 1280 / 720;
3806
3771
  }
3807
3772
 
3808
- /* Label */
3809
- .muka-textarea__label {
3810
- color: var(--color-text-default-default);
3811
- cursor: pointer;
3773
+ /* 1:1 aspect for top + sm */
3774
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3775
+ aspect-ratio: 1 / 1;
3812
3776
  }
3813
3777
 
3814
- .muka-textarea__label--sm {
3815
- font-family: var(--text-label-sm-semibold-fontFamily);
3816
- font-weight: var(--text-label-sm-semibold-fontWeight);
3817
- font-size: var(--text-label-sm-semibold-fontSize);
3818
- line-height: var(--text-label-sm-semibold-lineHeight);
3778
+ /* Fixed size for left/right + sm */
3779
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3780
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3781
+ width: 80px;
3782
+ height: 80px;
3783
+ aspect-ratio: auto;
3819
3784
  }
3820
3785
 
3821
- .muka-textarea__label--md {
3822
- font-family: var(--text-label-md-semibold-fontFamily);
3823
- font-weight: var(--text-label-md-semibold-fontWeight);
3824
- font-size: var(--text-label-md-semibold-fontSize);
3825
- line-height: var(--text-label-md-semibold-lineHeight);
3786
+ .muka-tile__photo-main img {
3787
+ width: 100%;
3788
+ height: 100%;
3789
+ object-fit: cover;
3790
+ display: block;
3826
3791
  }
3827
3792
 
3828
- .muka-textarea__label--lg {
3829
- font-family: var(--text-label-lg-semibold-fontFamily);
3830
- font-weight: var(--text-label-lg-semibold-fontWeight);
3831
- font-size: var(--text-label-lg-semibold-fontSize);
3832
- line-height: var(--text-label-lg-semibold-lineHeight);
3793
+ /* ─── Favourite overlay ───────────────────────────────── */
3794
+
3795
+ .muka-tile__favourite {
3796
+ position: absolute;
3797
+ z-index: 3;
3833
3798
  }
3834
3799
 
3835
- .muka-textarea__required {
3836
- color: var(--color-state-error-default);
3800
+ .muka-tile--lg .muka-tile__favourite,
3801
+ .muka-tile--md .muka-tile__favourite {
3802
+ top: var(--spacing-4);
3803
+ right: var(--spacing-4);
3837
3804
  }
3838
3805
 
3839
- /* Field container */
3840
- .muka-textarea__field {
3806
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3807
+ top: var(--spacing-1);
3808
+ right: var(--spacing-1);
3809
+ }
3810
+
3811
+ /* ─── Thumbnails ──────────────────────────────────────── */
3812
+
3813
+ .muka-tile__thumbnails {
3841
3814
  display: flex;
3842
- background-color: var(--input-field-color-default-background);
3843
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3844
- border-radius: var(--input-field-radius-md);
3845
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3846
- transition: border-color 0.2s ease, background-color 0.2s ease;
3847
- box-sizing: border-box;
3815
+ gap: 2px;
3816
+ overflow: hidden;
3817
+ flex-shrink: 0;
3818
+ height: 80px;
3848
3819
  }
3849
3820
 
3850
- .muka-textarea__field--sm {
3851
- min-height: var(--input-textarea-height-sm);
3852
- border-radius: var(--input-field-radius-sm);
3821
+ .muka-tile__thumbnail {
3822
+ width: 80px;
3823
+ height: 80px;
3824
+ flex-shrink: 0;
3825
+ overflow: hidden;
3853
3826
  }
3854
3827
 
3855
- .muka-textarea__field--md {
3856
- min-height: var(--input-textarea-height-default);
3857
- border-radius: var(--input-field-radius-md);
3828
+ .muka-tile__thumbnail img {
3829
+ width: 100%;
3830
+ height: 100%;
3831
+ object-fit: cover;
3832
+ display: block;
3858
3833
  }
3859
3834
 
3860
- .muka-textarea__field--lg {
3861
- min-height: var(--input-textarea-height-lg);
3862
- border-radius: var(--input-field-radius-lg);
3835
+ /* Gap between main photo and thumbnails */
3836
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3837
+ margin-top: 2px;
3863
3838
  }
3864
3839
 
3865
- /* Focus state */
3866
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3867
- border-width: var(--border-width-bold);
3868
- border-color: var(--input-field-color-focus-border);
3869
- background-color: var(--input-field-color-focus-background);
3870
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3840
+ /* ─── Content section ─────────────────────────────────── */
3841
+
3842
+ .muka-tile__content {
3843
+ display: flex;
3844
+ flex-direction: column;
3845
+ flex: 1;
3846
+ min-width: 0;
3871
3847
  }
3872
3848
 
3873
- /* Error state */
3874
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3875
- border-width: var(--border-width-bold);
3876
- border-color: var(--input-field-color-error-border);
3877
- background-color: var(--input-field-color-error-background);
3878
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3849
+ /* Top layout: content has horizontal padding */
3850
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3851
+ padding: 0 var(--spacing-3);
3852
+ gap: var(--spacing-1);
3879
3853
  }
3880
3854
 
3881
- /* Disabled state */
3882
- .muka-textarea__field--disabled {
3883
- background-color: var(--input-field-color-disabled-background);
3884
- border-color: var(--input-field-color-disabled-border);
3885
- cursor: not-allowed;
3855
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3856
+ padding: 0 var(--spacing-3);
3857
+ gap: var(--spacing-2);
3886
3858
  }
3887
3859
 
3888
- /* Native textarea */
3889
- .muka-textarea__native {
3890
- flex: 1;
3891
- border: none;
3892
- outline: none;
3893
- background: transparent;
3894
- color: var(--input-field-color-default-foreground);
3895
- font-family: var(--text-input-md-fontFamily);
3896
- font-weight: var(--text-input-md-fontWeight);
3897
- font-size: var(--text-input-md-fontSize);
3898
- line-height: var(--text-input-md-lineHeight);
3899
- padding: 0;
3900
- width: 100%;
3901
- min-width: 0;
3860
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3861
+ gap: var(--spacing-2);
3902
3862
  }
3903
3863
 
3904
- .muka-textarea__field--sm .muka-textarea__native {
3905
- font-family: var(--text-input-sm-fontFamily);
3906
- font-weight: var(--text-input-sm-fontWeight);
3907
- font-size: var(--text-input-sm-fontSize);
3908
- line-height: var(--text-input-sm-lineHeight);
3864
+ /* Left/right layout: content grows to fill space */
3865
+ .muka-tile--image-left .muka-tile__content,
3866
+ .muka-tile--image-right .muka-tile__content {
3867
+ gap: var(--spacing-3);
3909
3868
  }
3910
3869
 
3911
- .muka-textarea__field--lg .muka-textarea__native {
3912
- font-family: var(--text-input-lg-fontFamily);
3913
- font-weight: var(--text-input-lg-fontWeight);
3914
- font-size: var(--text-input-lg-fontSize);
3915
- line-height: var(--text-input-lg-lineHeight);
3870
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3871
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3872
+ padding: 0 var(--spacing-3);
3916
3873
  }
3917
3874
 
3918
- .muka-textarea__native::placeholder {
3919
- color: var(--color-text-subtle-default);
3875
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3876
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3877
+ padding: var(--spacing-2) var(--spacing-3);
3920
3878
  }
3921
3879
 
3922
- .muka-textarea__field--disabled .muka-textarea__native {
3923
- color: var(--input-field-color-disabled-foreground);
3924
- cursor: not-allowed;
3880
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3881
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3882
+ gap: var(--spacing-2);
3925
3883
  }
3926
3884
 
3927
- /* Footer (helper/error + count) */
3928
- .muka-textarea__footer {
3885
+ /* ─── Header (heading row + price) ────────────────────── */
3886
+
3887
+ .muka-tile__header {
3929
3888
  display: flex;
3930
- justify-content: space-between;
3931
3889
  align-items: flex-start;
3932
- gap: var(--spacing-2);
3890
+ gap: var(--spacing-4);
3933
3891
  }
3934
3892
 
3935
- .muka-textarea__helper {
3936
- font-family: var(--text-label-sm-regular-fontFamily);
3937
- font-weight: var(--text-label-sm-regular-fontWeight);
3938
- font-size: var(--text-label-sm-regular-fontSize);
3939
- line-height: var(--text-label-sm-regular-lineHeight);
3940
- color: var(--color-text-subtle-default);
3941
- margin: 0;
3893
+ /* Small horizontal: row with text and action */
3894
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3895
+ gap: var(--spacing-2);
3896
+ align-items: center;
3897
+ padding-top: var(--spacing-1);
3942
3898
  }
3943
3899
 
3944
- .muka-textarea__error {
3945
- font-family: var(--text-label-sm-regular-fontFamily);
3946
- font-weight: var(--text-label-sm-regular-fontWeight);
3947
- font-size: var(--text-label-sm-regular-fontSize);
3948
- line-height: var(--text-label-sm-regular-lineHeight);
3949
- color: var(--color-state-error-default);
3950
- margin: 0;
3951
- }
3900
+ /* ─── Text group ──────────────────────────────────────── */
3952
3901
 
3953
- .muka-textarea__count {
3954
- font-family: var(--text-label-sm-regular-fontFamily);
3955
- font-weight: var(--text-label-sm-regular-fontWeight);
3956
- font-size: var(--text-label-sm-regular-fontSize);
3957
- line-height: var(--text-label-sm-regular-lineHeight);
3958
- color: var(--color-text-subtle-default);
3959
- margin-left: auto;
3902
+ .muka-tile__text {
3903
+ display: flex;
3904
+ flex-direction: column;
3905
+ flex: 1;
3906
+ min-width: 0;
3907
+ gap: var(--spacing-2);
3960
3908
  }
3961
3909
 
3910
+ /* ─── Heading typography ──────────────────────────────── */
3962
3911
 
3963
- /* TextLink */
3964
- /* TextLink Component Styles - Using Muka Design Tokens */
3912
+ .muka-tile__heading {
3913
+ margin: 0;
3914
+ }
3965
3915
 
3966
- .muka-text-link {
3967
- display: inline;
3968
- cursor: pointer;
3969
- text-decoration: underline;
3970
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3971
- text-underline-offset: 0.2em;
3972
- text-decoration-thickness: from-font;
3973
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3974
- border-radius: var(--border-radius-sm);
3975
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3916
+ .muka-tile--lg .muka-tile__heading {
3917
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3918
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3919
+ font-size: var(--text-label-2xl-semibold-fontSize);
3920
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3921
+ color: var(--color-text-default-default);
3976
3922
  }
3977
3923
 
3978
- /* ─── Sizes ───────────────────────────────────────────────
3979
- Mirrors the body text scale so a link matches the copy it sits in. */
3980
- .muka-text-link--sm {
3981
- font-family: var(--text-body-sm-regular-fontFamily);
3982
- font-weight: var(--text-body-sm-regular-fontWeight);
3983
- font-size: var(--text-body-sm-regular-fontSize);
3984
- line-height: var(--text-body-sm-regular-lineHeight);
3924
+ .muka-tile--md .muka-tile__heading {
3925
+ font-family: var(--text-label-xl-semibold-fontFamily);
3926
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3927
+ font-size: var(--text-label-xl-semibold-fontSize);
3928
+ line-height: var(--text-label-xl-semibold-lineHeight);
3929
+ color: var(--color-text-default-default);
3985
3930
  }
3986
3931
 
3987
- .muka-text-link--base {
3988
- font-family: var(--text-body-base-regular-fontFamily);
3989
- font-weight: var(--text-body-base-regular-fontWeight);
3990
- font-size: var(--text-body-base-regular-fontSize);
3991
- line-height: var(--text-body-base-regular-lineHeight);
3932
+ .muka-tile--sm .muka-tile__heading {
3933
+ font-family: var(--text-label-lg-bold-fontFamily);
3934
+ font-weight: var(--text-label-lg-bold-fontWeight);
3935
+ font-size: var(--text-label-lg-bold-fontSize);
3936
+ line-height: var(--text-label-lg-bold-lineHeight);
3937
+ color: var(--color-text-default-default);
3992
3938
  }
3993
3939
 
3994
- .muka-text-link--lg {
3995
- font-family: var(--text-body-lg-regular-fontFamily);
3996
- font-weight: var(--text-body-lg-regular-fontWeight);
3997
- font-size: var(--text-body-lg-regular-fontSize);
3998
- line-height: var(--text-body-lg-regular-lineHeight);
3999
- }
3940
+ /* ─── Subheading typography ───────────────────────────── */
4000
3941
 
4001
- /* ─── Variant: default (accent) ───────────────────────────
4002
- Visited repeats the default colour on purpose: the design treats visited and
4003
- default the same, and pinning it stops the browser's purple from showing. */
4004
- .muka-text-link--default,
4005
- .muka-text-link--default:visited {
4006
- color: var(--color-text-action-default);
3942
+ .muka-tile__subheading {
3943
+ margin: 0;
3944
+ color: var(--color-text-subtle-default);
4007
3945
  }
4008
3946
 
4009
- .muka-text-link--default:hover,
4010
- .muka-text-link--default:focus-visible {
4011
- color: var(--color-text-action-hover);
3947
+ .muka-tile--lg .muka-tile__subheading {
3948
+ font-family: var(--text-subheading-md-fontFamily);
3949
+ font-weight: var(--text-subheading-md-fontWeight);
3950
+ font-size: var(--text-subheading-md-fontSize);
3951
+ line-height: var(--text-subheading-md-lineHeight);
4012
3952
  }
4013
3953
 
4014
- .muka-text-link--default:active {
4015
- color: var(--color-text-action-pressed);
3954
+ .muka-tile--md .muka-tile__subheading,
3955
+ .muka-tile--sm .muka-tile__subheading {
3956
+ font-family: var(--text-subheading-sm-fontFamily);
3957
+ font-weight: var(--text-subheading-sm-fontWeight);
3958
+ font-size: var(--text-subheading-sm-fontSize);
3959
+ line-height: var(--text-subheading-sm-lineHeight);
4016
3960
  }
4017
3961
 
4018
- /* ─── Variant: subtle (neutral) ───────────────────────────
4019
- Hover, focus and pressed all darken to the default text colour. */
4020
- .muka-text-link--subtle,
4021
- .muka-text-link--subtle:visited {
4022
- color: var(--color-text-subtle-default);
4023
- }
3962
+ /* ─── Description typography ──────────────────────────── */
4024
3963
 
4025
- .muka-text-link--subtle:hover,
4026
- .muka-text-link--subtle:focus-visible,
4027
- .muka-text-link--subtle:active {
3964
+ .muka-tile__description {
3965
+ margin: 0;
4028
3966
  color: var(--color-text-default-default);
4029
3967
  }
4030
3968
 
4031
- /* ─── Focus ───────────────────────────────────────────────
4032
- Same ring as every other focusable Muka component. */
4033
- .muka-text-link:focus-visible {
4034
- outline: 2px solid var(--color-border-focus);
4035
- outline-offset: 2px;
3969
+ .muka-tile--lg .muka-tile__description {
3970
+ font-family: var(--text-body-lg-regular-fontFamily);
3971
+ font-weight: var(--text-body-lg-regular-fontWeight);
3972
+ font-size: var(--text-body-lg-regular-fontSize);
3973
+ line-height: var(--text-body-lg-regular-lineHeight);
4036
3974
  }
4037
3975
 
4038
- @media (prefers-reduced-motion: reduce) {
4039
- .muka-text-link {
4040
- transition: none;
4041
- }
3976
+ .muka-tile--md .muka-tile__description,
3977
+ .muka-tile--sm .muka-tile__description {
3978
+ font-family: var(--text-body-base-regular-fontFamily);
3979
+ font-weight: var(--text-body-base-regular-fontWeight);
3980
+ font-size: var(--text-body-base-regular-fontSize);
3981
+ line-height: var(--text-body-base-regular-lineHeight);
4042
3982
  }
4043
3983
 
3984
+ /* Description overflow for medium */
3985
+ .muka-tile--md .muka-tile__description {
3986
+ overflow: hidden;
3987
+ text-overflow: ellipsis;
3988
+ }
4044
3989
 
4045
- /* Tabs */
4046
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
3990
+ /* ─── Price slot ──────────────────────────────────────── */
4047
3991
 
4048
- .muka-tabs {
4049
- display: flex;
4050
- flex-direction: column;
3992
+ .muka-tile__price {
3993
+ flex-shrink: 0;
4051
3994
  }
4052
3995
 
4053
- /* Alignment Variants */
4054
- .muka-tabs--align-left .muka-tabs__list {
4055
- justify-content: flex-start;
4056
- }
4057
- .muka-tabs--align-center .muka-tabs__list {
4058
- justify-content: center;
4059
- }
4060
- .muka-tabs--align-fill .muka-tabs__list {
4061
- justify-content: space-between;
4062
- }
4063
- .muka-tabs--align-fill .muka-tabs__trigger {
4064
- flex: 1;
4065
- }
3996
+ /* ─── Action slot ─────────────────────────────────────── */
4066
3997
 
4067
- /* Tab List — strip container */
4068
- .muka-tabs__list {
4069
- display: flex;
4070
- align-items: center;
4071
- position: relative;
4072
- z-index: 2;
4073
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3998
+ .muka-tile__action {
3999
+ flex-shrink: 0;
4074
4000
  }
4075
4001
 
4076
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4077
- .muka-tabs--padding-default .muka-tabs__list {
4078
- padding-inline: var(--tabs-list-padding-x);
4079
- }
4080
4002
 
4081
- /* Tab Trigger — clean underline style */
4082
- .muka-tabs__trigger {
4083
- display: inline-flex;
4084
- align-items: center;
4085
- justify-content: center;
4086
- gap: var(--spacing-1);
4087
- background: transparent;
4088
- border: none;
4089
- cursor: pointer;
4090
- user-select: none;
4091
- transition: background-color 0.2s ease, color 0.2s ease;
4092
- outline: none;
4093
- white-space: nowrap;
4003
+ /* Thumbnail */
4004
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4005
+
4006
+ .muka-thumbnail {
4094
4007
  position: relative;
4095
- z-index: 2;
4096
- color: var(--tabs-trigger-color-default-foreground);
4008
+ flex-shrink: 0;
4009
+ }
4097
4010
 
4098
- /* Default MD size values */
4099
- min-height: var(--tabs-trigger-min-height-md);
4100
- padding: var(--spacing-3);
4101
- font-family: var(--text-label-md-regular-fontFamily);
4102
- font-weight: var(--text-label-md-regular-fontWeight);
4103
- font-size: var(--text-label-md-regular-fontSize);
4104
- line-height: var(--text-label-md-regular-lineHeight);
4011
+ /* The frame carries the border, background and shape clip. Keeping it separate
4012
+ from the root lets the remove (×) button sit outside the clip (needed for the
4013
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4014
+ .muka-thumbnail__frame {
4015
+ position: absolute;
4016
+ inset: 0;
4017
+ overflow: hidden;
4018
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4019
+ border-radius: var(--border-radius-lg);
4020
+ background-color: var(--color-surface-level1);
4105
4021
  }
4106
4022
 
4107
- /* Size Variants */
4108
- .muka-tabs--size-sm .muka-tabs__trigger {
4109
- min-height: var(--tabs-trigger-min-height-sm);
4110
- padding: 0 var(--spacing-2);
4111
- font-family: var(--text-label-sm-regular-fontFamily);
4112
- font-weight: var(--text-label-sm-regular-fontWeight);
4113
- font-size: var(--text-label-sm-regular-fontSize);
4114
- line-height: var(--text-label-sm-regular-lineHeight);
4023
+ /* ─── Shapes ──────────────────────────────────────────── */
4024
+ .muka-thumbnail--4-3 {
4025
+ width: 160px;
4026
+ height: 120px;
4115
4027
  }
4116
4028
 
4117
- .muka-tabs--size-lg .muka-tabs__trigger {
4118
- min-height: var(--tabs-trigger-min-height-lg);
4119
- padding: var(--spacing-4);
4120
- font-family: var(--text-label-lg-regular-fontFamily);
4121
- font-weight: var(--text-label-lg-regular-fontWeight);
4122
- font-size: var(--text-label-lg-regular-fontSize);
4123
- line-height: var(--text-label-lg-regular-lineHeight);
4029
+ .muka-thumbnail--1-1 {
4030
+ width: 120px;
4031
+ height: 120px;
4124
4032
  }
4125
4033
 
4126
- /* Hover state */
4127
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4128
- color: var(--tabs-trigger-color-hover-foreground);
4034
+ .muka-thumbnail--ellipse {
4035
+ width: 120px;
4036
+ height: 120px;
4129
4037
  }
4130
4038
 
4131
- /* Current tab */
4132
- .muka-tabs__trigger--current {
4133
- color: var(--tabs-trigger-color-current-foreground);
4039
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4040
+ .muka-thumbnail--fluid {
4041
+ width: 100%;
4042
+ height: auto;
4043
+ aspect-ratio: 1 / 1;
4134
4044
  }
4135
4045
 
4136
- /* Active bottom border (underline) */
4137
- .muka-tabs__trigger--current::after {
4138
- content: '';
4139
- position: absolute;
4140
- bottom: -1px; /* Overlap the 1px border */
4141
- left: 0;
4142
- right: 0;
4143
- height: var(--tabs-indicator-height-md);
4144
- background-color: var(--tabs-indicator-color);
4145
- border-bottom-left-radius: 1px;
4146
- border-bottom-right-radius: 1px;
4147
- border-top-left-radius: 3px;
4148
- border-top-right-radius: 3px;
4149
- z-index: 3;
4046
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4047
+ aspect-ratio: 4 / 3;
4150
4048
  }
4151
4049
 
4152
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4153
- height: var(--tabs-indicator-height-sm);
4050
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4051
+ border-radius: var(--border-radius-full);
4154
4052
  }
4155
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4156
- height: var(--tabs-indicator-height-lg);
4053
+
4054
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4055
+ interactive hover zoom has a clean origin. */
4056
+ .muka-thumbnail__image {
4057
+ position: absolute;
4058
+ inset: 0;
4059
+ width: 100%;
4060
+ height: 100%;
4061
+ object-fit: cover;
4062
+ display: block;
4063
+ transform-origin: center;
4064
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4065
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4157
4066
  }
4158
4067
 
4159
- .muka-tabs__trigger--disabled {
4160
- color: var(--tabs-trigger-color-disabled-foreground);
4161
- cursor: not-allowed;
4068
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4069
+ .muka-thumbnail__trigger {
4070
+ position: absolute;
4071
+ inset: 0;
4072
+ padding: 0;
4073
+ border: 0;
4074
+ background: none;
4075
+ cursor: pointer;
4076
+ overflow: hidden;
4162
4077
  }
4163
4078
 
4164
- .muka-tabs__trigger:focus-visible {
4079
+ .muka-thumbnail__trigger:focus-visible {
4165
4080
  outline: 2px solid var(--color-border-focus);
4166
4081
  outline-offset: -2px;
4167
4082
  }
4168
4083
 
4169
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4170
- item sits 12px from the text */
4171
- .muka-tabs__label {
4172
- padding: 0 var(--spacing-2);
4084
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4085
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4086
+ transform: scale(1.05);
4173
4087
  }
4174
4088
 
4175
- /* Leading item: icon, avatar, avatar group or data pie chart */
4176
- .muka-tabs__leading {
4089
+ /* ─── Loading overlay + progress donut ────────────────── */
4090
+ .muka-thumbnail__overlay {
4091
+ position: absolute;
4092
+ inset: 0;
4177
4093
  display: flex;
4178
4094
  align-items: center;
4179
4095
  justify-content: center;
4180
- flex-shrink: 0;
4181
- }
4182
- .muka-tabs__trigger .muka-icon {
4183
- color: inherit;
4096
+ background-color: var(--dialog-color-backdrop);
4184
4097
  }
4185
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4186
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4187
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4188
- .muka-tabs--size-md .muka-tabs__leading > svg,
4189
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4190
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4191
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4192
4098
 
4193
- /* Responsive Scroll behavior on small screens */
4194
- @media (max-width: 768px) {
4195
- .muka-tabs__list {
4196
- /* Make scrollable */
4197
- overflow-x: auto;
4198
- overflow-y: hidden;
4199
- /* Force left alignment on mobile to prevent clipping when scrolling */
4200
- justify-content: flex-start !important;
4201
- max-width: 100vw;
4202
- -webkit-overflow-scrolling: touch;
4203
- /* Hide scrollbar for cleaner look */
4204
- scrollbar-width: none;
4205
- }
4206
- .muka-tabs__list::-webkit-scrollbar {
4207
- display: none;
4208
- }
4209
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4210
- .muka-tabs--align-fill .muka-tabs__trigger {
4211
- flex: 0 0 auto;
4212
- }
4099
+ .muka-thumbnail__progress {
4100
+ width: 40px;
4101
+ height: 40px;
4213
4102
  }
4214
4103
 
4215
- /* Tab Panel — content area */
4216
- .muka-tabs__panel {
4217
- background-color: var(--tabs-panel-background);
4218
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4219
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4220
- padding: var(--spacing-4);
4221
- position: relative;
4222
- z-index: 1;
4223
- font-family: var(--text-body-base-regular-fontFamily);
4224
- font-weight: var(--text-body-base-regular-fontWeight);
4225
- font-size: var(--text-body-base-regular-fontSize);
4226
- line-height: var(--text-body-base-regular-lineHeight);
4104
+ /* ─── Error / corrupt state ───────────────────────────── */
4105
+ .muka-thumbnail--error .muka-thumbnail__frame {
4106
+ background-color: var(--alias-color-state-error-muted);
4107
+ border-color: var(--alias-color-state-error-default);
4227
4108
  }
4228
4109
 
4229
- .muka-tabs__panel:focus-visible {
4230
- outline: 2px solid var(--color-border-focus);
4231
- outline-offset: 2px;
4110
+ .muka-thumbnail__error {
4111
+ position: absolute;
4112
+ inset: 0;
4113
+ display: flex;
4114
+ flex-direction: column;
4115
+ align-items: center;
4116
+ justify-content: center;
4117
+ gap: var(--spacing-2);
4118
+ padding: var(--spacing-3);
4119
+ text-align: center;
4232
4120
  }
4233
4121
 
4122
+ .muka-thumbnail__error-icon {
4123
+ color: var(--alert-color-error-accent);
4124
+ }
4234
4125
 
4235
- /* Tile */
4236
- /* Tile Component Styles - Using Muka Design Tokens */
4237
-
4238
- /* ─── Base ────────────────────────────────────────────── */
4126
+ .muka-thumbnail__caption {
4127
+ max-width: 100%;
4128
+ overflow: hidden;
4129
+ text-overflow: ellipsis;
4130
+ white-space: nowrap;
4131
+ color: var(--alert-color-error-accent);
4132
+ font-family: var(--text-body-sm-regular-fontFamily);
4133
+ font-size: var(--text-body-sm-regular-fontSize);
4134
+ font-weight: var(--text-body-sm-regular-fontWeight);
4135
+ line-height: var(--text-body-sm-regular-lineHeight);
4136
+ }
4239
4137
 
4240
- .muka-tile {
4138
+ /* ─── Remove (×) button ───────────────────────────────── */
4139
+ .muka-thumbnail__remove {
4140
+ position: absolute;
4141
+ top: var(--spacing-2);
4142
+ right: var(--spacing-2);
4241
4143
  display: flex;
4242
- color: var(--color-text-default-default);
4144
+ align-items: center;
4145
+ justify-content: center;
4146
+ width: var(--size-2xl);
4147
+ height: var(--size-2xl);
4148
+ padding: 0;
4149
+ color: var(--button-color-tertiary-foreground-default);
4150
+ background-color: var(--button-color-tertiary-background-default);
4151
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4152
+ border-radius: var(--border-radius-lg);
4153
+ cursor: pointer;
4154
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4155
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4243
4156
  }
4244
4157
 
4245
- .muka-tile--interactive {
4246
- cursor: pointer;
4247
- user-select: none;
4158
+ .muka-thumbnail__remove:hover {
4159
+ color: var(--button-color-tertiary-foreground-hover);
4160
+ background-color: var(--button-color-tertiary-background-hover);
4161
+ border-color: var(--button-color-tertiary-border-hover);
4248
4162
  }
4249
4163
 
4250
- .muka-tile--interactive:focus-visible {
4164
+ .muka-thumbnail__remove:active {
4165
+ color: var(--button-color-tertiary-foreground-pressed);
4166
+ background-color: var(--button-color-tertiary-background-pressed);
4167
+ border-color: var(--button-color-tertiary-border-pressed);
4168
+ }
4169
+
4170
+ .muka-thumbnail__remove:focus-visible {
4251
4171
  outline: 2px solid var(--color-border-focus);
4252
4172
  outline-offset: 2px;
4253
- border-radius: var(--border-radius-lg);
4254
4173
  }
4255
4174
 
4256
- /* ─── Image position variants ─────────────────────────── */
4175
+ /* ─── Reduced motion ──────────────────────────────────── */
4176
+ @media (prefers-reduced-motion: reduce) {
4177
+ .muka-thumbnail__image,
4178
+ .muka-thumbnail__remove {
4179
+ transition: none;
4180
+ }
4257
4181
 
4258
- .muka-tile--image-top {
4259
- flex-direction: column;
4182
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4183
+ transform: none;
4184
+ }
4260
4185
  }
4261
4186
 
4262
- .muka-tile--image-left {
4263
- flex-direction: row;
4187
+
4188
+ /* TextLink */
4189
+ /* TextLink Component Styles - Using Muka Design Tokens */
4190
+
4191
+ .muka-text-link {
4192
+ display: inline;
4193
+ cursor: pointer;
4194
+ text-decoration: underline;
4195
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4196
+ text-underline-offset: 0.2em;
4197
+ text-decoration-thickness: from-font;
4198
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4199
+ border-radius: var(--border-radius-sm);
4200
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4264
4201
  }
4265
4202
 
4266
- .muka-tile--image-right {
4267
- flex-direction: row;
4203
+ /* ─── Sizes ───────────────────────────────────────────────
4204
+ Mirrors the body text scale so a link matches the copy it sits in. */
4205
+ .muka-text-link--sm {
4206
+ font-family: var(--text-body-sm-regular-fontFamily);
4207
+ font-weight: var(--text-body-sm-regular-fontWeight);
4208
+ font-size: var(--text-body-sm-regular-fontSize);
4209
+ line-height: var(--text-body-sm-regular-lineHeight);
4268
4210
  }
4269
4211
 
4270
- /* ─── Gap by size (top) ───────────────────────────────── */
4212
+ .muka-text-link--base {
4213
+ font-family: var(--text-body-base-regular-fontFamily);
4214
+ font-weight: var(--text-body-base-regular-fontWeight);
4215
+ font-size: var(--text-body-base-regular-fontSize);
4216
+ line-height: var(--text-body-base-regular-lineHeight);
4217
+ }
4271
4218
 
4272
- .muka-tile--image-top.muka-tile--lg {
4273
- gap: var(--spacing-6);
4219
+ .muka-text-link--lg {
4220
+ font-family: var(--text-body-lg-regular-fontFamily);
4221
+ font-weight: var(--text-body-lg-regular-fontWeight);
4222
+ font-size: var(--text-body-lg-regular-fontSize);
4223
+ line-height: var(--text-body-lg-regular-lineHeight);
4274
4224
  }
4275
4225
 
4276
- .muka-tile--image-top.muka-tile--md {
4277
- gap: var(--spacing-6);
4278
- width: 320px;
4226
+ /* ─── Variant: default (accent) ───────────────────────────
4227
+ Visited repeats the default colour on purpose: the design treats visited and
4228
+ default the same, and pinning it stops the browser's purple from showing. */
4229
+ .muka-text-link--default,
4230
+ .muka-text-link--default:visited {
4231
+ color: var(--color-text-action-default);
4279
4232
  }
4280
4233
 
4281
- .muka-tile--image-top.muka-tile--sm {
4282
- gap: var(--spacing-4);
4283
- min-width: 120px;
4234
+ .muka-text-link--default:hover,
4235
+ .muka-text-link--default:focus-visible {
4236
+ color: var(--color-text-action-hover);
4284
4237
  }
4285
4238
 
4286
- /* ─── Gap by size (left/right) ────────────────────────── */
4239
+ .muka-text-link--default:active {
4240
+ color: var(--color-text-action-pressed);
4241
+ }
4287
4242
 
4288
- .muka-tile--image-left.muka-tile--lg,
4289
- .muka-tile--image-right.muka-tile--lg {
4290
- gap: var(--spacing-6);
4291
- align-items: center;
4243
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4244
+ Hover, focus and pressed all darken to the default text colour. */
4245
+ .muka-text-link--subtle,
4246
+ .muka-text-link--subtle:visited {
4247
+ color: var(--color-text-subtle-default);
4292
4248
  }
4293
4249
 
4294
- .muka-tile--image-left.muka-tile--md,
4295
- .muka-tile--image-right.muka-tile--md {
4296
- gap: var(--spacing-6);
4297
- align-items: center;
4250
+ .muka-text-link--subtle:hover,
4251
+ .muka-text-link--subtle:focus-visible,
4252
+ .muka-text-link--subtle:active {
4253
+ color: var(--color-text-default-default);
4298
4254
  }
4299
4255
 
4300
- .muka-tile--image-left.muka-tile--sm,
4301
- .muka-tile--image-right.muka-tile--sm {
4302
- gap: var(--spacing-4);
4303
- align-items: flex-start;
4256
+ /* ─── Focus ───────────────────────────────────────────────
4257
+ Same ring as every other focusable Muka component. */
4258
+ .muka-text-link:focus-visible {
4259
+ outline: 2px solid var(--color-border-focus);
4260
+ outline-offset: 2px;
4304
4261
  }
4305
4262
 
4306
- /* ─── Photos container ────────────────────────────────── */
4263
+ @media (prefers-reduced-motion: reduce) {
4264
+ .muka-text-link {
4265
+ transition: none;
4266
+ }
4267
+ }
4307
4268
 
4308
- .muka-tile__photos {
4309
- position: relative;
4310
- flex-shrink: 0;
4311
- overflow: hidden;
4312
- display: flex;
4269
+
4270
+ /* Textarea */
4271
+ /* Textarea Component Styles - Using Muka Design Tokens */
4272
+
4273
+ .muka-textarea {
4274
+ display: inline-flex;
4313
4275
  flex-direction: column;
4314
- isolation: isolate;
4276
+ gap: var(--spacing-2);
4277
+ }
4278
+
4279
+ /* Label */
4280
+ .muka-textarea__label {
4281
+ color: var(--color-text-default-default);
4282
+ cursor: pointer;
4283
+ }
4284
+
4285
+ .muka-textarea__label--sm {
4286
+ font-family: var(--text-label-sm-semibold-fontFamily);
4287
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4288
+ font-size: var(--text-label-sm-semibold-fontSize);
4289
+ line-height: var(--text-label-sm-semibold-lineHeight);
4315
4290
  }
4316
4291
 
4317
- /* Photos border radius by size */
4318
- .muka-tile--lg .muka-tile__photos,
4319
- .muka-tile--md .muka-tile__photos {
4320
- border-radius: var(--border-radius-lg);
4292
+ .muka-textarea__label--md {
4293
+ font-family: var(--text-label-md-semibold-fontFamily);
4294
+ font-weight: var(--text-label-md-semibold-fontWeight);
4295
+ font-size: var(--text-label-md-semibold-fontSize);
4296
+ line-height: var(--text-label-md-semibold-lineHeight);
4321
4297
  }
4322
4298
 
4323
- .muka-tile--sm .muka-tile__photos {
4324
- border-radius: var(--border-radius-md);
4299
+ .muka-textarea__label--lg {
4300
+ font-family: var(--text-label-lg-semibold-fontFamily);
4301
+ font-weight: var(--text-label-lg-semibold-fontWeight);
4302
+ font-size: var(--text-label-lg-semibold-fontSize);
4303
+ line-height: var(--text-label-lg-semibold-lineHeight);
4325
4304
  }
4326
4305
 
4327
- /* Photos sizing: top layout */
4328
- .muka-tile--image-top .muka-tile__photos {
4329
- width: 100%;
4306
+ .muka-textarea__required {
4307
+ color: var(--color-state-error-default);
4330
4308
  }
4331
4309
 
4332
- /* Photos sizing: left/right large */
4333
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4334
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4335
- width: 520px;
4310
+ /* Field container */
4311
+ .muka-textarea__field {
4312
+ display: flex;
4313
+ background-color: var(--input-field-color-default-background);
4314
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4315
+ border-radius: var(--input-field-radius-md);
4316
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
4317
+ transition: border-color 0.2s ease, background-color 0.2s ease;
4318
+ box-sizing: border-box;
4336
4319
  }
4337
4320
 
4338
- /* Photos sizing: left/right medium */
4339
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4340
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4341
- width: 320px;
4321
+ .muka-textarea__field--sm {
4322
+ min-height: var(--input-textarea-height-sm);
4323
+ border-radius: var(--input-field-radius-sm);
4342
4324
  }
4343
4325
 
4344
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4345
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4346
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4347
- width: 80px;
4348
- align-self: stretch;
4326
+ .muka-textarea__field--md {
4327
+ min-height: var(--input-textarea-height-default);
4328
+ border-radius: var(--input-field-radius-md);
4349
4329
  }
4350
4330
 
4351
- /* ─── Main photo ──────────────────────────────────────── */
4352
-
4353
- .muka-tile__photo-main {
4354
- position: relative;
4355
- width: 100%;
4356
- overflow: hidden;
4357
- flex-shrink: 0;
4331
+ .muka-textarea__field--lg {
4332
+ min-height: var(--input-textarea-height-lg);
4333
+ border-radius: var(--input-field-radius-lg);
4358
4334
  }
4359
4335
 
4360
- /* 16:9 aspect for lg and md */
4361
- .muka-tile--lg .muka-tile__photo-main,
4362
- .muka-tile--md .muka-tile__photo-main {
4363
- aspect-ratio: 1280 / 720;
4336
+ /* Focus state */
4337
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4338
+ border-width: var(--border-width-bold);
4339
+ border-color: var(--input-field-color-focus-border);
4340
+ background-color: var(--input-field-color-focus-background);
4341
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4364
4342
  }
4365
4343
 
4366
- /* 1:1 aspect for top + sm */
4367
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4368
- aspect-ratio: 1 / 1;
4344
+ /* Error state */
4345
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4346
+ border-width: var(--border-width-bold);
4347
+ border-color: var(--input-field-color-error-border);
4348
+ background-color: var(--input-field-color-error-background);
4349
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4369
4350
  }
4370
4351
 
4371
- /* Fixed size for left/right + sm */
4372
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4373
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4374
- width: 80px;
4375
- height: 80px;
4376
- aspect-ratio: auto;
4352
+ /* Disabled state */
4353
+ .muka-textarea__field--disabled {
4354
+ background-color: var(--input-field-color-disabled-background);
4355
+ border-color: var(--input-field-color-disabled-border);
4356
+ cursor: not-allowed;
4377
4357
  }
4378
4358
 
4379
- .muka-tile__photo-main img {
4359
+ /* Native textarea */
4360
+ .muka-textarea__native {
4361
+ flex: 1;
4362
+ border: none;
4363
+ outline: none;
4364
+ background: transparent;
4365
+ color: var(--input-field-color-default-foreground);
4366
+ font-family: var(--text-input-md-fontFamily);
4367
+ font-weight: var(--text-input-md-fontWeight);
4368
+ font-size: var(--text-input-md-fontSize);
4369
+ line-height: var(--text-input-md-lineHeight);
4370
+ padding: 0;
4380
4371
  width: 100%;
4381
- height: 100%;
4382
- object-fit: cover;
4383
- display: block;
4372
+ min-width: 0;
4384
4373
  }
4385
4374
 
4386
- /* ─── Favourite overlay ───────────────────────────────── */
4387
-
4388
- .muka-tile__favourite {
4389
- position: absolute;
4390
- z-index: 3;
4375
+ .muka-textarea__field--sm .muka-textarea__native {
4376
+ font-family: var(--text-input-sm-fontFamily);
4377
+ font-weight: var(--text-input-sm-fontWeight);
4378
+ font-size: var(--text-input-sm-fontSize);
4379
+ line-height: var(--text-input-sm-lineHeight);
4391
4380
  }
4392
4381
 
4393
- .muka-tile--lg .muka-tile__favourite,
4394
- .muka-tile--md .muka-tile__favourite {
4395
- top: var(--spacing-4);
4396
- right: var(--spacing-4);
4382
+ .muka-textarea__field--lg .muka-textarea__native {
4383
+ font-family: var(--text-input-lg-fontFamily);
4384
+ font-weight: var(--text-input-lg-fontWeight);
4385
+ font-size: var(--text-input-lg-fontSize);
4386
+ line-height: var(--text-input-lg-lineHeight);
4397
4387
  }
4398
4388
 
4399
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4400
- top: var(--spacing-1);
4401
- right: var(--spacing-1);
4389
+ .muka-textarea__native::placeholder {
4390
+ color: var(--color-text-subtle-default);
4402
4391
  }
4403
4392
 
4404
- /* ─── Thumbnails ──────────────────────────────────────── */
4393
+ .muka-textarea__field--disabled .muka-textarea__native {
4394
+ color: var(--input-field-color-disabled-foreground);
4395
+ cursor: not-allowed;
4396
+ }
4405
4397
 
4406
- .muka-tile__thumbnails {
4398
+ /* Footer (helper/error + count) */
4399
+ .muka-textarea__footer {
4407
4400
  display: flex;
4408
- gap: 2px;
4409
- overflow: hidden;
4410
- flex-shrink: 0;
4411
- height: 80px;
4401
+ justify-content: space-between;
4402
+ align-items: flex-start;
4403
+ gap: var(--spacing-2);
4412
4404
  }
4413
4405
 
4414
- .muka-tile__thumbnail {
4415
- width: 80px;
4416
- height: 80px;
4417
- flex-shrink: 0;
4418
- overflow: hidden;
4406
+ .muka-textarea__helper {
4407
+ font-family: var(--text-label-sm-regular-fontFamily);
4408
+ font-weight: var(--text-label-sm-regular-fontWeight);
4409
+ font-size: var(--text-label-sm-regular-fontSize);
4410
+ line-height: var(--text-label-sm-regular-lineHeight);
4411
+ color: var(--color-text-subtle-default);
4412
+ margin: 0;
4419
4413
  }
4420
4414
 
4421
- .muka-tile__thumbnail img {
4422
- width: 100%;
4423
- height: 100%;
4424
- object-fit: cover;
4425
- display: block;
4415
+ .muka-textarea__error {
4416
+ font-family: var(--text-label-sm-regular-fontFamily);
4417
+ font-weight: var(--text-label-sm-regular-fontWeight);
4418
+ font-size: var(--text-label-sm-regular-fontSize);
4419
+ line-height: var(--text-label-sm-regular-lineHeight);
4420
+ color: var(--color-state-error-default);
4421
+ margin: 0;
4426
4422
  }
4427
4423
 
4428
- /* Gap between main photo and thumbnails */
4429
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4430
- margin-top: 2px;
4424
+ .muka-textarea__count {
4425
+ font-family: var(--text-label-sm-regular-fontFamily);
4426
+ font-weight: var(--text-label-sm-regular-fontWeight);
4427
+ font-size: var(--text-label-sm-regular-fontSize);
4428
+ line-height: var(--text-label-sm-regular-lineHeight);
4429
+ color: var(--color-text-subtle-default);
4430
+ margin-left: auto;
4431
4431
  }
4432
4432
 
4433
- /* ─── Content section ─────────────────────────────────── */
4434
4433
 
4435
- .muka-tile__content {
4434
+ /* Tabs */
4435
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4436
+
4437
+ .muka-tabs {
4436
4438
  display: flex;
4437
4439
  flex-direction: column;
4438
- flex: 1;
4439
- min-width: 0;
4440
4440
  }
4441
4441
 
4442
- /* Top layout: content has horizontal padding */
4443
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4444
- padding: 0 var(--spacing-3);
4445
- gap: var(--spacing-1);
4442
+ /* Alignment Variants */
4443
+ .muka-tabs--align-left .muka-tabs__list {
4444
+ justify-content: flex-start;
4446
4445
  }
4447
-
4448
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4449
- padding: 0 var(--spacing-3);
4450
- gap: var(--spacing-2);
4446
+ .muka-tabs--align-center .muka-tabs__list {
4447
+ justify-content: center;
4451
4448
  }
4452
-
4453
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4454
- gap: var(--spacing-2);
4449
+ .muka-tabs--align-fill .muka-tabs__list {
4450
+ justify-content: space-between;
4451
+ }
4452
+ .muka-tabs--align-fill .muka-tabs__trigger {
4453
+ flex: 1;
4455
4454
  }
4456
4455
 
4457
- /* Left/right layout: content grows to fill space */
4458
- .muka-tile--image-left .muka-tile__content,
4459
- .muka-tile--image-right .muka-tile__content {
4460
- gap: var(--spacing-3);
4456
+ /* Tab List — strip container */
4457
+ .muka-tabs__list {
4458
+ display: flex;
4459
+ align-items: center;
4460
+ position: relative;
4461
+ z-index: 2;
4462
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4461
4463
  }
4462
4464
 
4463
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4464
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4465
- padding: 0 var(--spacing-3);
4465
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4466
+ .muka-tabs--padding-default .muka-tabs__list {
4467
+ padding-inline: var(--tabs-list-padding-x);
4466
4468
  }
4467
4469
 
4468
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4469
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4470
- padding: var(--spacing-2) var(--spacing-3);
4470
+ /* Tab Trigger — clean underline style */
4471
+ .muka-tabs__trigger {
4472
+ display: inline-flex;
4473
+ align-items: center;
4474
+ justify-content: center;
4475
+ gap: var(--spacing-1);
4476
+ background: transparent;
4477
+ border: none;
4478
+ cursor: pointer;
4479
+ user-select: none;
4480
+ transition: background-color 0.2s ease, color 0.2s ease;
4481
+ outline: none;
4482
+ white-space: nowrap;
4483
+ position: relative;
4484
+ z-index: 2;
4485
+ color: var(--tabs-trigger-color-default-foreground);
4486
+
4487
+ /* Default MD size values */
4488
+ min-height: var(--tabs-trigger-min-height-md);
4489
+ padding: var(--spacing-3);
4490
+ font-family: var(--text-label-md-regular-fontFamily);
4491
+ font-weight: var(--text-label-md-regular-fontWeight);
4492
+ font-size: var(--text-label-md-regular-fontSize);
4493
+ line-height: var(--text-label-md-regular-lineHeight);
4471
4494
  }
4472
4495
 
4473
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4474
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4475
- gap: var(--spacing-2);
4496
+ /* Size Variants */
4497
+ .muka-tabs--size-sm .muka-tabs__trigger {
4498
+ min-height: var(--tabs-trigger-min-height-sm);
4499
+ padding: 0 var(--spacing-2);
4500
+ font-family: var(--text-label-sm-regular-fontFamily);
4501
+ font-weight: var(--text-label-sm-regular-fontWeight);
4502
+ font-size: var(--text-label-sm-regular-fontSize);
4503
+ line-height: var(--text-label-sm-regular-lineHeight);
4476
4504
  }
4477
4505
 
4478
- /* ─── Header (heading row + price) ────────────────────── */
4479
-
4480
- .muka-tile__header {
4481
- display: flex;
4482
- align-items: flex-start;
4483
- gap: var(--spacing-4);
4506
+ .muka-tabs--size-lg .muka-tabs__trigger {
4507
+ min-height: var(--tabs-trigger-min-height-lg);
4508
+ padding: var(--spacing-4);
4509
+ font-family: var(--text-label-lg-regular-fontFamily);
4510
+ font-weight: var(--text-label-lg-regular-fontWeight);
4511
+ font-size: var(--text-label-lg-regular-fontSize);
4512
+ line-height: var(--text-label-lg-regular-lineHeight);
4484
4513
  }
4485
4514
 
4486
- /* Small horizontal: row with text and action */
4487
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4488
- gap: var(--spacing-2);
4489
- align-items: center;
4490
- padding-top: var(--spacing-1);
4515
+ /* Hover state */
4516
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4517
+ color: var(--tabs-trigger-color-hover-foreground);
4491
4518
  }
4492
4519
 
4493
- /* ─── Text group ──────────────────────────────────────── */
4494
-
4495
- .muka-tile__text {
4496
- display: flex;
4497
- flex-direction: column;
4498
- flex: 1;
4499
- min-width: 0;
4500
- gap: var(--spacing-2);
4520
+ /* Current tab */
4521
+ .muka-tabs__trigger--current {
4522
+ color: var(--tabs-trigger-color-current-foreground);
4501
4523
  }
4502
4524
 
4503
- /* ─── Heading typography ──────────────────────────────── */
4504
-
4505
- .muka-tile__heading {
4506
- margin: 0;
4525
+ /* Active bottom border (underline) */
4526
+ .muka-tabs__trigger--current::after {
4527
+ content: '';
4528
+ position: absolute;
4529
+ bottom: -1px; /* Overlap the 1px border */
4530
+ left: 0;
4531
+ right: 0;
4532
+ height: var(--tabs-indicator-height-md);
4533
+ background-color: var(--tabs-indicator-color);
4534
+ border-bottom-left-radius: 1px;
4535
+ border-bottom-right-radius: 1px;
4536
+ border-top-left-radius: 3px;
4537
+ border-top-right-radius: 3px;
4538
+ z-index: 3;
4507
4539
  }
4508
4540
 
4509
- .muka-tile--lg .muka-tile__heading {
4510
- font-family: var(--text-label-2xl-semibold-fontFamily);
4511
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4512
- font-size: var(--text-label-2xl-semibold-fontSize);
4513
- line-height: var(--text-label-2xl-semibold-lineHeight);
4514
- color: var(--color-text-default-default);
4541
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4542
+ height: var(--tabs-indicator-height-sm);
4515
4543
  }
4516
-
4517
- .muka-tile--md .muka-tile__heading {
4518
- font-family: var(--text-label-xl-semibold-fontFamily);
4519
- font-weight: var(--text-label-xl-semibold-fontWeight);
4520
- font-size: var(--text-label-xl-semibold-fontSize);
4521
- line-height: var(--text-label-xl-semibold-lineHeight);
4522
- color: var(--color-text-default-default);
4544
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4545
+ height: var(--tabs-indicator-height-lg);
4523
4546
  }
4524
4547
 
4525
- .muka-tile--sm .muka-tile__heading {
4526
- font-family: var(--text-label-lg-bold-fontFamily);
4527
- font-weight: var(--text-label-lg-bold-fontWeight);
4528
- font-size: var(--text-label-lg-bold-fontSize);
4529
- line-height: var(--text-label-lg-bold-lineHeight);
4530
- color: var(--color-text-default-default);
4548
+ .muka-tabs__trigger--disabled {
4549
+ color: var(--tabs-trigger-color-disabled-foreground);
4550
+ cursor: not-allowed;
4531
4551
  }
4532
4552
 
4533
- /* ─── Subheading typography ───────────────────────────── */
4534
-
4535
- .muka-tile__subheading {
4536
- margin: 0;
4537
- color: var(--color-text-subtle-default);
4553
+ .muka-tabs__trigger:focus-visible {
4554
+ outline: 2px solid var(--color-border-focus);
4555
+ outline-offset: -2px;
4538
4556
  }
4539
4557
 
4540
- .muka-tile--lg .muka-tile__subheading {
4541
- font-family: var(--text-subheading-md-fontFamily);
4542
- font-weight: var(--text-subheading-md-fontWeight);
4543
- font-size: var(--text-subheading-md-fontSize);
4544
- line-height: var(--text-subheading-md-lineHeight);
4558
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4559
+ item sits 12px from the text */
4560
+ .muka-tabs__label {
4561
+ padding: 0 var(--spacing-2);
4545
4562
  }
4546
4563
 
4547
- .muka-tile--md .muka-tile__subheading,
4548
- .muka-tile--sm .muka-tile__subheading {
4549
- font-family: var(--text-subheading-sm-fontFamily);
4550
- font-weight: var(--text-subheading-sm-fontWeight);
4551
- font-size: var(--text-subheading-sm-fontSize);
4552
- line-height: var(--text-subheading-sm-lineHeight);
4564
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4565
+ .muka-tabs__leading {
4566
+ display: flex;
4567
+ align-items: center;
4568
+ justify-content: center;
4569
+ flex-shrink: 0;
4553
4570
  }
4554
-
4555
- /* ─── Description typography ──────────────────────────── */
4556
-
4557
- .muka-tile__description {
4558
- margin: 0;
4559
- color: var(--color-text-default-default);
4571
+ .muka-tabs__trigger .muka-icon {
4572
+ color: inherit;
4560
4573
  }
4574
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4575
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4576
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4577
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4578
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4579
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4580
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4561
4581
 
4562
- .muka-tile--lg .muka-tile__description {
4563
- font-family: var(--text-body-lg-regular-fontFamily);
4564
- font-weight: var(--text-body-lg-regular-fontWeight);
4565
- font-size: var(--text-body-lg-regular-fontSize);
4566
- line-height: var(--text-body-lg-regular-lineHeight);
4582
+ /* Responsive Scroll behavior on small screens */
4583
+ @media (max-width: 768px) {
4584
+ .muka-tabs__list {
4585
+ /* Make scrollable */
4586
+ overflow-x: auto;
4587
+ overflow-y: hidden;
4588
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4589
+ justify-content: flex-start !important;
4590
+ max-width: 100vw;
4591
+ -webkit-overflow-scrolling: touch;
4592
+ /* Hide scrollbar for cleaner look */
4593
+ scrollbar-width: none;
4594
+ }
4595
+ .muka-tabs__list::-webkit-scrollbar {
4596
+ display: none;
4597
+ }
4598
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4599
+ .muka-tabs--align-fill .muka-tabs__trigger {
4600
+ flex: 0 0 auto;
4601
+ }
4567
4602
  }
4568
4603
 
4569
- .muka-tile--md .muka-tile__description,
4570
- .muka-tile--sm .muka-tile__description {
4604
+ /* Tab Panel — content area */
4605
+ .muka-tabs__panel {
4606
+ background-color: var(--tabs-panel-background);
4607
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4608
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4609
+ padding: var(--spacing-4);
4610
+ position: relative;
4611
+ z-index: 1;
4571
4612
  font-family: var(--text-body-base-regular-fontFamily);
4572
4613
  font-weight: var(--text-body-base-regular-fontWeight);
4573
4614
  font-size: var(--text-body-base-regular-fontSize);
4574
4615
  line-height: var(--text-body-base-regular-lineHeight);
4575
4616
  }
4576
4617
 
4577
- /* Description overflow for medium */
4578
- .muka-tile--md .muka-tile__description {
4579
- overflow: hidden;
4580
- text-overflow: ellipsis;
4581
- }
4582
-
4583
- /* ─── Price slot ──────────────────────────────────────── */
4584
-
4585
- .muka-tile__price {
4586
- flex-shrink: 0;
4587
- }
4588
-
4589
- /* ─── Action slot ─────────────────────────────────────── */
4590
-
4591
- .muka-tile__action {
4592
- flex-shrink: 0;
4618
+ .muka-tabs__panel:focus-visible {
4619
+ outline: 2px solid var(--color-border-focus);
4620
+ outline-offset: 2px;
4593
4621
  }
4594
4622
 
4595
4623
 
@@ -5099,9 +5127,87 @@ body {
5099
5127
  color: var(--color-text-default-default);
5100
5128
  }
5101
5129
 
5102
- .muka-swipe-actions__button--destructive {
5103
- background-color: var(--color-state-error-default);
5104
- color: var(--color-text-default-inverse);
5130
+ .muka-swipe-actions__button--destructive {
5131
+ background-color: var(--color-state-error-default);
5132
+ color: var(--color-text-default-inverse);
5133
+ }
5134
+
5135
+
5136
+ /* Spinner */
5137
+ /* Spinner Component Styles */
5138
+
5139
+ .muka-spinner {
5140
+ display: inline-flex;
5141
+ align-items: center;
5142
+ justify-content: center;
5143
+ color: var(--color-text-default-default);
5144
+ line-height: 0;
5145
+ }
5146
+
5147
+ .muka-spinner--subtle {
5148
+ color: var(--color-text-subtle-default);
5149
+ }
5150
+
5151
+ .muka-spinner--inverse {
5152
+ color: var(--color-text-default-inverse);
5153
+ }
5154
+
5155
+ .muka-spinner__circle {
5156
+ display: inline-block;
5157
+ border-radius: 50%;
5158
+ border-style: solid;
5159
+ border-color: currentColor;
5160
+ border-right-color: transparent;
5161
+ animation: muka-spinner-rotate 0.7s linear infinite;
5162
+ box-sizing: border-box;
5163
+ }
5164
+
5165
+ /* ─── Sizes ───────────────────────────────────────────── */
5166
+
5167
+ .muka-spinner--sm .muka-spinner__circle {
5168
+ width: 16px;
5169
+ height: 16px;
5170
+ border-width: 2px;
5171
+ }
5172
+
5173
+ .muka-spinner--md .muka-spinner__circle {
5174
+ width: 20px;
5175
+ height: 20px;
5176
+ border-width: 2px;
5177
+ }
5178
+
5179
+ .muka-spinner--lg .muka-spinner__circle {
5180
+ width: 24px;
5181
+ height: 24px;
5182
+ border-width: 3px;
5183
+ }
5184
+
5185
+ /* ─── Visually-hidden label ───────────────────────────── */
5186
+
5187
+ .muka-spinner__sr-label {
5188
+ position: absolute;
5189
+ width: 1px;
5190
+ height: 1px;
5191
+ padding: 0;
5192
+ margin: -1px;
5193
+ overflow: hidden;
5194
+ clip: rect(0, 0, 0, 0);
5195
+ white-space: nowrap;
5196
+ border: 0;
5197
+ }
5198
+
5199
+ /* ─── Reduced motion ──────────────────────────────────── */
5200
+
5201
+ @keyframes muka-spinner-rotate {
5202
+ to {
5203
+ transform: rotate(360deg);
5204
+ }
5205
+ }
5206
+
5207
+ @media (prefers-reduced-motion: reduce) {
5208
+ .muka-spinner__circle {
5209
+ animation-duration: 2.5s;
5210
+ }
5105
5211
  }
5106
5212
 
5107
5213
 
@@ -5190,81 +5296,153 @@ body {
5190
5296
  }
5191
5297
 
5192
5298
 
5193
- /* Spinner */
5194
- /* Spinner Component Styles */
5299
+ /* SocialSignInButton */
5300
+ /*
5301
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5302
+ * Google Identity branding) and intentionally fixed across Muka brands —
5303
+ * same exception pattern as LicensePlateInput regulatory colors.
5304
+ *
5305
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5306
+ * Google: https://developers.google.com/identity/branding-guidelines
5307
+ */
5308
+ .muka-social-sign-in-button {
5309
+ --ssi-white: #ffffff;
5310
+ --ssi-black: #000000;
5311
+ --ssi-google-text-light: #1f1f1f;
5195
5312
 
5196
- .muka-spinner {
5197
5313
  display: inline-flex;
5198
5314
  align-items: center;
5199
5315
  justify-content: center;
5200
- color: var(--color-text-default-default);
5201
- line-height: 0;
5316
+
5317
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5318
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5319
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5320
+ font-family: inherit;
5321
+ font-weight: 600;
5322
+ text-decoration: none;
5323
+ white-space: nowrap;
5324
+
5325
+ border: 1px solid transparent;
5326
+ cursor: pointer;
5327
+ user-select: none;
5328
+ transition: opacity 0.15s ease, filter 0.15s ease;
5329
+
5330
+ outline: none;
5331
+ position: relative;
5332
+ box-sizing: border-box;
5202
5333
  }
5203
5334
 
5204
- .muka-spinner--subtle {
5205
- color: var(--color-text-subtle-default);
5335
+ .muka-social-sign-in-button--apple {
5336
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5337
+ Helvetica, Arial, sans-serif;
5338
+ font-weight: 600;
5206
5339
  }
5207
5340
 
5208
- .muka-spinner--inverse {
5209
- color: var(--color-text-default-inverse);
5341
+ .muka-social-sign-in-button--google {
5342
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5343
+ font-weight: 500;
5210
5344
  }
5211
5345
 
5212
- .muka-spinner__circle {
5213
- display: inline-block;
5214
- border-radius: 50%;
5215
- border-style: solid;
5216
- border-color: currentColor;
5217
- border-right-color: transparent;
5218
- animation: muka-spinner-rotate 0.7s linear infinite;
5219
- box-sizing: border-box;
5346
+ .muka-social-sign-in-button:focus-visible {
5347
+ outline: 2px solid var(--color-border-focus);
5348
+ outline-offset: 2px;
5220
5349
  }
5221
5350
 
5222
- /* ─── Sizes ───────────────────────────────────────────── */
5351
+ /* Sizes — heights align with Button md/lg */
5352
+ .muka-social-sign-in-button--md {
5353
+ padding: 0 var(--button-padding-md-x);
5354
+ border-radius: var(--button-radius-md);
5355
+ font-size: var(--text-label-sm-semibold-fontSize);
5356
+ line-height: var(--text-label-sm-semibold-lineHeight);
5357
+ min-height: 40px;
5358
+ min-width: 240px;
5359
+ }
5223
5360
 
5224
- .muka-spinner--sm .muka-spinner__circle {
5225
- width: 16px;
5226
- height: 16px;
5227
- border-width: 2px;
5361
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5362
+ padding: 0 var(--button-gap-md);
5228
5363
  }
5229
5364
 
5230
- .muka-spinner--md .muka-spinner__circle {
5231
- width: 20px;
5232
- height: 20px;
5233
- border-width: 2px;
5365
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5366
+ width: var(--button-icon-md);
5367
+ height: var(--button-icon-md);
5234
5368
  }
5235
5369
 
5236
- .muka-spinner--lg .muka-spinner__circle {
5237
- width: 24px;
5238
- height: 24px;
5239
- border-width: 3px;
5370
+ .muka-social-sign-in-button--lg {
5371
+ padding: 0 var(--button-padding-lg-x);
5372
+ border-radius: var(--button-radius-lg);
5373
+ font-size: var(--text-label-lg-semibold-fontSize);
5374
+ line-height: var(--text-label-lg-semibold-lineHeight);
5375
+ min-height: 48px;
5376
+ min-width: 280px;
5240
5377
  }
5241
5378
 
5242
- /* ─── Visually-hidden label ───────────────────────────── */
5379
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5380
+ padding: 0 var(--button-gap-lg);
5381
+ }
5243
5382
 
5244
- .muka-spinner__sr-label {
5245
- position: absolute;
5246
- width: 1px;
5247
- height: 1px;
5248
- padding: 0;
5249
- margin: -1px;
5250
- overflow: hidden;
5251
- clip: rect(0, 0, 0, 0);
5252
- white-space: nowrap;
5253
- border: 0;
5383
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5384
+ width: var(--button-icon-lg);
5385
+ height: var(--button-icon-lg);
5254
5386
  }
5255
5387
 
5256
- /* ─── Reduced motion ──────────────────────────────────── */
5388
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5389
+ .muka-social-sign-in-button--white {
5390
+ background-color: var(--ssi-white);
5391
+ color: var(--ssi-black);
5392
+ border-color: var(--ssi-black);
5393
+ }
5257
5394
 
5258
- @keyframes muka-spinner-rotate {
5259
- to {
5260
- transform: rotate(360deg);
5261
- }
5395
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5396
+ color: var(--ssi-google-text-light);
5262
5397
  }
5263
5398
 
5264
- @media (prefers-reduced-motion: reduce) {
5265
- .muka-spinner__circle {
5266
- animation-duration: 2.5s;
5267
- }
5399
+ /* Black lockup — for light surfaces */
5400
+ .muka-social-sign-in-button--black {
5401
+ background-color: var(--ssi-black);
5402
+ color: var(--ssi-white);
5403
+ border-color: transparent;
5404
+ }
5405
+
5406
+ /* Interaction — luminance/opacity only; no brand tint */
5407
+ .muka-social-sign-in-button:hover:not(:disabled) {
5408
+ filter: brightness(0.92);
5409
+ }
5410
+
5411
+ .muka-social-sign-in-button:active:not(:disabled) {
5412
+ filter: brightness(0.85);
5413
+ }
5414
+
5415
+ .muka-social-sign-in-button:disabled,
5416
+ .muka-social-sign-in-button--disabled {
5417
+ cursor: not-allowed;
5418
+ opacity: 0.4;
5419
+ pointer-events: none;
5420
+ filter: none;
5421
+ }
5422
+
5423
+ .muka-social-sign-in-button--full-width {
5424
+ width: 100%;
5425
+ min-width: 0;
5426
+ }
5427
+
5428
+ .muka-social-sign-in-button__icon {
5429
+ display: inline-flex;
5430
+ align-items: center;
5431
+ justify-content: center;
5432
+ flex-shrink: 0;
5433
+ }
5434
+
5435
+ .muka-social-sign-in-button__icon > *,
5436
+ .muka-social-sign-in-button__icon svg {
5437
+ width: auto;
5438
+ height: 100%;
5439
+ max-width: 100%;
5440
+ display: block;
5441
+ }
5442
+
5443
+ .muka-social-sign-in-button__label {
5444
+ display: inline-flex;
5445
+ align-items: center;
5268
5446
  }
5269
5447
 
5270
5448
 
@@ -5997,8 +6175,8 @@ body {
5997
6175
  .muka-segmentgroup--sm .muka-segmentgroup__segment {
5998
6176
  padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5999
6177
  height: var(--segmentgroup-segment-height-sm);
6000
- font-size: var(--text-label-sm-fontSize);
6001
- line-height: var(--text-label-sm-lineHeight);
6178
+ font-size: var(--text-label-sm-regular-fontSize);
6179
+ line-height: var(--text-label-sm-leading);
6002
6180
  }
6003
6181
 
6004
6182
  .muka-segmentgroup--md {
@@ -6010,8 +6188,8 @@ body {
6010
6188
  }
6011
6189
  .muka-segmentgroup--md .muka-segmentgroup__segment {
6012
6190
  padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6013
- font-size: var(--text-label-md-fontSize);
6014
- line-height: var(--text-label-md-lineHeight);
6191
+ font-size: var(--text-label-md-regular-fontSize);
6192
+ line-height: var(--text-label-md-leading);
6015
6193
  }
6016
6194
 
6017
6195
  .muka-segmentgroup--lg {
@@ -6024,8 +6202,8 @@ body {
6024
6202
  .muka-segmentgroup--lg .muka-segmentgroup__segment {
6025
6203
  padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6026
6204
  height: 40px;
6027
- font-size: var(--text-label-lg-fontSize);
6028
- line-height: var(--text-label-lg-lineHeight);
6205
+ font-size: var(--text-label-lg-regular-fontSize);
6206
+ line-height: var(--text-label-lg-leading);
6029
6207
  }
6030
6208
 
6031
6209
  /* Icon-only variants */
@@ -6447,8 +6625,8 @@ body {
6447
6625
 
6448
6626
  .muka-recording-bar__time {
6449
6627
  flex: 0 0 auto;
6450
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6451
- line-height: var(--text-label-sm-lineHeight, 1);
6628
+ font-size: var(--text-label-sm-regular-fontSize);
6629
+ line-height: var(--text-label-sm-leading);
6452
6630
  font-variant-numeric: tabular-nums;
6453
6631
  color: var(--color-text-default-default);
6454
6632
  }
@@ -9893,8 +10071,8 @@ button.muka-progress-tracker__tab:focus-visible {
9893
10071
  /* Typography - using semantic tokens */
9894
10072
  font-family: var(--alias-font-plain-family);
9895
10073
  font-weight: var(--alias-font-plain-weight-semibold, 600);
9896
- font-size: var(--text-label-md-fontSize);
9897
- line-height: var(--text-label-md-lineHeight);
10074
+ font-size: var(--text-label-md-regular-fontSize);
10075
+ line-height: var(--text-label-md-leading);
9898
10076
  color: var(--color-text-default-default);
9899
10077
 
9900
10078
  /* Text handling */
@@ -9935,43 +10113,112 @@ button.muka-progress-tracker__tab:focus-visible {
9935
10113
  gap: var(--spacing-1);
9936
10114
  flex-shrink: 0;
9937
10115
  font-family: var(--alias-font-plain-family);
9938
- font-size: var(--text-body-sm-fontSize);
9939
- line-height: var(--text-body-sm-lineHeight);
10116
+ font-size: var(--text-body-sm-regular-fontSize);
10117
+ line-height: var(--text-body-sm-regular-lineHeight);
9940
10118
  color: var(--color-text-subtle-default);
9941
10119
  white-space: nowrap;
9942
10120
  }
9943
10121
 
9944
- /* Trailing chevron */
9945
- .muka-listitem__chevron {
9946
- display: inline-flex;
9947
- align-items: center;
9948
- justify-content: center;
9949
- flex-shrink: 0;
9950
- width: 24px;
9951
- height: 24px;
9952
- color: var(--color-text-subtle-default);
10122
+ /* Trailing chevron */
10123
+ .muka-listitem__chevron {
10124
+ display: inline-flex;
10125
+ align-items: center;
10126
+ justify-content: center;
10127
+ flex-shrink: 0;
10128
+ width: 24px;
10129
+ height: 24px;
10130
+ color: var(--color-text-subtle-default);
10131
+ }
10132
+
10133
+ /* Bottom divider */
10134
+ .muka-listitem__divider {
10135
+ position: absolute;
10136
+ bottom: 0;
10137
+ left: 0;
10138
+ right: 0;
10139
+ height: 1px;
10140
+ background-color: var(--color-border-default);
10141
+ }
10142
+
10143
+ /* Button and anchor specific styles */
10144
+ button.muka-listitem,
10145
+ a.muka-listitem {
10146
+ text-align: left;
10147
+ width: 100%;
10148
+ }
10149
+
10150
+ /* A row rendered as a link reads as a row, not as link text */
10151
+ a.muka-listitem {
10152
+ color: inherit;
10153
+ text-decoration: none;
10154
+ }
10155
+
10156
+ /* List item specific styles */
10157
+ li.muka-listitem {
10158
+ list-style: none;
10159
+ }
10160
+
10161
+ /* ─── Tone ─────────────────────────────────────────────── */
10162
+
10163
+ .muka-listitem--tone-info,
10164
+ .muka-listitem-group--tone-info {
10165
+ background-color: var(--color-state-info-background);
10166
+ }
10167
+
10168
+ .muka-listitem--tone-warning,
10169
+ .muka-listitem-group--tone-warning {
10170
+ background-color: var(--color-state-warning-background);
10171
+ }
10172
+
10173
+ /* ─── Actions beside the row ───────────────────────────── */
10174
+
10175
+ /*
10176
+ * With `actions`, the row (the click target) and the actions are siblings in a
10177
+ * group. The group carries the surface, the tone and the divider; the row
10178
+ * fills the space and the actions sit at the end.
10179
+ */
10180
+ .muka-listitem-group {
10181
+ display: flex;
10182
+ align-items: center;
10183
+ position: relative;
10184
+ background-color: var(--color-surface-level3);
10185
+ list-style: none;
10186
+ }
10187
+
10188
+ .muka-listitem-group--selected {
10189
+ background-color: var(--color-surface-level2);
10190
+ }
10191
+
10192
+ .muka-listitem-group--disabled {
10193
+ opacity: 0.5;
10194
+ }
10195
+
10196
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10197
+ /* The group already dims; don't dim the row twice */
10198
+ opacity: 1;
10199
+ }
10200
+
10201
+ .muka-listitem--with-actions {
10202
+ flex: 1;
10203
+ min-width: 0;
10204
+ padding-right: var(--spacing-2);
10205
+ background-color: transparent;
9953
10206
  }
9954
10207
 
9955
- /* Bottom divider */
9956
- .muka-listitem__divider {
9957
- position: absolute;
9958
- bottom: 0;
9959
- left: 0;
9960
- right: 0;
9961
- height: 1px;
9962
- background-color: var(--color-border-default);
10208
+ .muka-listitem--with-actions.muka-listitem--selected {
10209
+ background-color: transparent;
9963
10210
  }
9964
10211
 
9965
- /* Button and anchor specific styles */
9966
- button.muka-listitem,
9967
- a.muka-listitem {
9968
- text-align: left;
9969
- width: 100%;
10212
+ .muka-listitem__actions {
10213
+ display: flex;
10214
+ align-items: center;
10215
+ gap: var(--spacing-2);
10216
+ flex-shrink: 0;
10217
+ padding-right: var(--spacing-4);
9970
10218
  }
9971
10219
 
9972
- /* List item specific styles */
9973
- li.muka-listitem {
9974
- list-style: none;
10220
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10221
+ display: none;
9975
10222
  }
9976
10223
 
9977
10224
 
@@ -11788,8 +12035,8 @@ li.muka-listitem {
11788
12035
  padding: var(--spacing-1) var(--spacing-2);
11789
12036
  text-align: center;
11790
12037
  font-family: var(--alias-font-brand-family);
11791
- font-size: var(--text-label-sm-fontSize);
11792
- line-height: var(--text-label-sm-lineHeight);
12038
+ font-size: var(--text-label-sm-regular-fontSize);
12039
+ line-height: var(--text-label-sm-leading);
11793
12040
  border: 1px solid var(--color-border-default);
11794
12041
  border-radius: var(--border-radius-md);
11795
12042
  background-color: var(--color-surface-level0);
@@ -11804,7 +12051,7 @@ li.muka-listitem {
11804
12051
 
11805
12052
  .muka-documentviewer__page-total {
11806
12053
  font-family: var(--alias-font-brand-family);
11807
- font-size: var(--text-label-sm-fontSize);
12054
+ font-size: var(--text-label-sm-regular-fontSize);
11808
12055
  color: var(--color-text-subtle-default);
11809
12056
  }
11810
12057
 
@@ -11813,7 +12060,7 @@ li.muka-listitem {
11813
12060
  min-width: var(--documentviewer-zoom-button-width);
11814
12061
  padding: var(--spacing-1) var(--spacing-2);
11815
12062
  font-family: var(--alias-font-brand-family);
11816
- font-size: var(--text-label-sm-fontSize);
12063
+ font-size: var(--text-label-sm-regular-fontSize);
11817
12064
  font-weight: var(--alias-font-brand-weight-semibold);
11818
12065
  color: var(--color-text-default-default);
11819
12066
  background: transparent;
@@ -11875,7 +12122,7 @@ li.muka-listitem {
11875
12122
  text-align: center;
11876
12123
  padding: var(--spacing-2);
11877
12124
  font-family: var(--alias-font-brand-family);
11878
- font-size: var(--text-label-sm-fontSize);
12125
+ font-size: var(--text-label-sm-regular-fontSize);
11879
12126
  color: var(--color-text-subtle-default);
11880
12127
  }
11881
12128
 
@@ -12051,6 +12298,33 @@ li.muka-listitem {
12051
12298
  background-color: var(--separator-color-contrast);
12052
12299
  }
12053
12300
 
12301
+ /* ─── With a label in the middle ───────────────────────── */
12302
+
12303
+ .muka-divider-labelled {
12304
+ display: flex;
12305
+ align-items: center;
12306
+ gap: var(--spacing-3);
12307
+ width: 100%;
12308
+ }
12309
+
12310
+ .muka-divider-labelled > .muka-divider {
12311
+ flex: 1 1 0%;
12312
+ width: auto;
12313
+ }
12314
+
12315
+ .muka-divider-labelled__label {
12316
+ flex-shrink: 0;
12317
+ max-width: 70%;
12318
+ overflow: hidden;
12319
+ text-overflow: ellipsis;
12320
+ white-space: nowrap;
12321
+ color: var(--color-text-default-default);
12322
+ font-family: var(--text-label-sm-regular-fontFamily);
12323
+ font-weight: var(--text-label-sm-regular-fontWeight);
12324
+ font-size: var(--text-label-sm-regular-fontSize);
12325
+ line-height: var(--text-label-sm-leading);
12326
+ }
12327
+
12054
12328
 
12055
12329
  /* Dialog */
12056
12330
  /* Dialog Component Styles */
@@ -14624,6 +14898,68 @@ button.muka-chat-photo-grid__tile:focus-visible {
14624
14898
  }
14625
14899
  }
14626
14900
 
14901
+ /* ─── Muted (a message from another context) ──────────────
14902
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14903
+ * current conversation; the text keeps full contrast. */
14904
+
14905
+ .muka-chat-message--muted .muka-chat-message__bubble {
14906
+ background-color: transparent;
14907
+ border-color: var(--chatbubble-color-peer-border);
14908
+ color: var(--color-text-default-default);
14909
+ }
14910
+
14911
+
14912
+ /* ChatEvent */
14913
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14914
+
14915
+ .muka-chat-event {
14916
+ display: flex;
14917
+ flex-direction: column;
14918
+ align-items: center;
14919
+ gap: var(--spacing-2);
14920
+ width: 100%;
14921
+ padding: 0 var(--spacing-4);
14922
+ box-sizing: border-box;
14923
+ text-align: center;
14924
+ }
14925
+
14926
+ .muka-chat-event__text {
14927
+ margin: 0;
14928
+ max-width: var(--chatbubble-max-width);
14929
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14930
+ and this is body text. Size and centring set it apart from messages. */
14931
+ color: var(--color-text-default-default);
14932
+ font-family: var(--text-body-sm-regular-fontFamily);
14933
+ font-weight: var(--text-body-sm-regular-fontWeight);
14934
+ font-size: var(--text-body-sm-regular-fontSize);
14935
+ line-height: var(--text-body-sm-regular-lineHeight);
14936
+ }
14937
+
14938
+ .muka-chat-event__timestamp {
14939
+ white-space: nowrap;
14940
+ }
14941
+
14942
+ .muka-chat-event__media {
14943
+ display: flex;
14944
+ flex-wrap: wrap;
14945
+ justify-content: center;
14946
+ gap: var(--spacing-2);
14947
+ }
14948
+
14949
+ /* Day divider: a small pill */
14950
+ .muka-chat-event__pill {
14951
+ display: inline-flex;
14952
+ align-items: center;
14953
+ padding: var(--spacing-1) var(--spacing-3);
14954
+ border-radius: var(--radius-full);
14955
+ background-color: var(--color-surface-level2);
14956
+ color: var(--color-text-default-default);
14957
+ font-family: var(--text-label-sm-regular-fontFamily);
14958
+ font-weight: var(--text-label-sm-regular-fontWeight);
14959
+ font-size: var(--text-label-sm-regular-fontSize);
14960
+ line-height: var(--text-label-sm-leading);
14961
+ }
14962
+
14627
14963
 
14628
14964
  /* ChatComposer */
14629
14965
  /* ChatComposer Component Styles */
@@ -17604,153 +17940,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17604
17940
  border-bottom: none;
17605
17941
  }
17606
17942
 
17607
-
17608
- /* SocialSignInButton */
17609
- /*
17610
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
17611
- * Google Identity branding) and intentionally fixed across Muka brands —
17612
- * same exception pattern as LicensePlateInput regulatory colors.
17613
- *
17614
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
17615
- * Google: https://developers.google.com/identity/branding-guidelines
17616
- */
17617
- .muka-social-sign-in-button {
17618
- --ssi-white: #ffffff;
17619
- --ssi-black: #000000;
17620
- --ssi-google-text-light: #1f1f1f;
17621
-
17622
- display: inline-flex;
17623
- align-items: center;
17624
- justify-content: center;
17625
-
17626
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
17627
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
17628
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
17629
- font-family: inherit;
17630
- font-weight: 600;
17631
- text-decoration: none;
17632
- white-space: nowrap;
17633
-
17634
- border: 1px solid transparent;
17635
- cursor: pointer;
17636
- user-select: none;
17637
- transition: opacity 0.15s ease, filter 0.15s ease;
17638
-
17639
- outline: none;
17640
- position: relative;
17641
- box-sizing: border-box;
17642
- }
17643
-
17644
- .muka-social-sign-in-button--apple {
17645
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17646
- Helvetica, Arial, sans-serif;
17647
- font-weight: 600;
17648
- }
17649
-
17650
- .muka-social-sign-in-button--google {
17651
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
17652
- font-weight: 500;
17653
- }
17654
-
17655
- .muka-social-sign-in-button:focus-visible {
17656
- outline: 2px solid var(--color-border-focus);
17657
- outline-offset: 2px;
17658
- }
17659
-
17660
- /* Sizes — heights align with Button md/lg */
17661
- .muka-social-sign-in-button--md {
17662
- padding: 0 var(--button-padding-md-x);
17663
- border-radius: var(--button-radius-md);
17664
- font-size: var(--text-label-sm-semibold-fontSize);
17665
- line-height: var(--text-label-sm-semibold-lineHeight);
17666
- min-height: 40px;
17667
- min-width: 240px;
17668
- }
17669
-
17670
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
17671
- padding: 0 var(--button-gap-md);
17672
- }
17673
-
17674
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
17675
- width: var(--button-icon-md);
17676
- height: var(--button-icon-md);
17677
- }
17678
-
17679
- .muka-social-sign-in-button--lg {
17680
- padding: 0 var(--button-padding-lg-x);
17681
- border-radius: var(--button-radius-lg);
17682
- font-size: var(--text-label-lg-semibold-fontSize);
17683
- line-height: var(--text-label-lg-semibold-lineHeight);
17684
- min-height: 48px;
17685
- min-width: 280px;
17686
- }
17687
-
17688
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
17689
- padding: 0 var(--button-gap-lg);
17690
- }
17691
-
17692
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
17693
- width: var(--button-icon-lg);
17694
- height: var(--button-icon-lg);
17695
- }
17696
-
17697
- /* White lockup — for dark surfaces (Apple White with Outline) */
17698
- .muka-social-sign-in-button--white {
17699
- background-color: var(--ssi-white);
17700
- color: var(--ssi-black);
17701
- border-color: var(--ssi-black);
17702
- }
17703
-
17704
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
17705
- color: var(--ssi-google-text-light);
17706
- }
17707
-
17708
- /* Black lockup — for light surfaces */
17709
- .muka-social-sign-in-button--black {
17710
- background-color: var(--ssi-black);
17711
- color: var(--ssi-white);
17712
- border-color: transparent;
17713
- }
17714
-
17715
- /* Interaction — luminance/opacity only; no brand tint */
17716
- .muka-social-sign-in-button:hover:not(:disabled) {
17717
- filter: brightness(0.92);
17718
- }
17719
-
17720
- .muka-social-sign-in-button:active:not(:disabled) {
17721
- filter: brightness(0.85);
17722
- }
17723
-
17724
- .muka-social-sign-in-button:disabled,
17725
- .muka-social-sign-in-button--disabled {
17726
- cursor: not-allowed;
17727
- opacity: 0.4;
17728
- pointer-events: none;
17729
- filter: none;
17730
- }
17731
-
17732
- .muka-social-sign-in-button--full-width {
17733
- width: 100%;
17734
- min-width: 0;
17735
- }
17736
-
17737
- .muka-social-sign-in-button__icon {
17738
- display: inline-flex;
17739
- align-items: center;
17740
- justify-content: center;
17741
- flex-shrink: 0;
17742
- }
17743
-
17744
- .muka-social-sign-in-button__icon > *,
17745
- .muka-social-sign-in-button__icon svg {
17746
- width: auto;
17747
- height: 100%;
17748
- max-width: 100%;
17749
- display: block;
17750
- }
17751
-
17752
- .muka-social-sign-in-button__label {
17753
- display: inline-flex;
17754
- align-items: center;
17755
- }
17756
-