@revikornmann/muka-ui 0.61.0 → 0.63.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 (66) hide show
  1. package/cli/templates/agents-block.md +7 -0
  2. package/dist/cjs/components/ChatComposer/ChatComposer.css +23 -0
  3. package/dist/cjs/components/ChatComposer/ChatComposer.js +87 -4
  4. package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
  5. package/dist/cjs/components/ChatComposer/index.js.map +1 -1
  6. package/dist/cjs/components/ChatMessage/ChatMessage.css +9 -0
  7. package/dist/cjs/components/FileUpload/FileUpload.js +5 -1
  8. package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
  9. package/dist/cjs/components/FileUpload/FileUploadItem.js +16 -2
  10. package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
  11. package/dist/cjs/components/View/View.css +80 -0
  12. package/dist/cjs/components/View/View.js +54 -6
  13. package/dist/cjs/components/View/View.js.map +1 -1
  14. package/dist/cjs/components/View/viewNavigation.js +131 -0
  15. package/dist/cjs/components/View/viewNavigation.js.map +1 -0
  16. package/dist/cjs/components/index.js.map +1 -1
  17. package/dist/esm/components/ChatComposer/ChatComposer.css +23 -0
  18. package/dist/esm/components/ChatComposer/ChatComposer.js +87 -4
  19. package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
  20. package/dist/esm/components/ChatComposer/index.js.map +1 -1
  21. package/dist/esm/components/ChatMessage/ChatMessage.css +9 -0
  22. package/dist/esm/components/FileUpload/FileUpload.js +5 -1
  23. package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
  24. package/dist/esm/components/FileUpload/FileUploadItem.js +16 -2
  25. package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
  26. package/dist/esm/components/View/View.css +80 -0
  27. package/dist/esm/components/View/View.js +21 -3
  28. package/dist/esm/components/View/View.js.map +1 -1
  29. package/dist/esm/components/View/viewNavigation.js +126 -0
  30. package/dist/esm/components/View/viewNavigation.js.map +1 -0
  31. package/dist/esm/components/index.js.map +1 -1
  32. package/dist/styles/components/ChatComposer.css +23 -0
  33. package/dist/styles/components/ChatMessage.css +9 -0
  34. package/dist/styles/components/View.css +80 -0
  35. package/dist/styles/index.css +1662 -1549
  36. package/dist/styles/muka-dark.css +1662 -1549
  37. package/dist/styles/muka-light.css +1662 -1549
  38. package/dist/styles/tokens-bouwplan-dark.css +1 -0
  39. package/dist/styles/tokens-bouwplan-light.css +1 -0
  40. package/dist/styles/tokens-fscl-dark.css +1 -0
  41. package/dist/styles/tokens-fscl-light.css +1 -0
  42. package/dist/styles/tokens-grip-dark.css +1 -0
  43. package/dist/styles/tokens-grip-light.css +1 -0
  44. package/dist/styles/tokens-muka-dark.css +1 -0
  45. package/dist/styles/tokens-muka-light.css +1 -0
  46. package/dist/styles/tokens-wireframe-dark.css +1 -0
  47. package/dist/styles/tokens-wireframe-light.css +1 -0
  48. package/dist/styles/wireframe-dark.css +1662 -1549
  49. package/dist/styles/wireframe-light.css +1662 -1549
  50. package/dist/types/components/ChatComposer/ChatComposer.d.ts +27 -0
  51. package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
  52. package/dist/types/components/ChatComposer/index.d.ts +1 -1
  53. package/dist/types/components/ChatComposer/index.d.ts.map +1 -1
  54. package/dist/types/components/FileUpload/FileUpload.d.ts +16 -2
  55. package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
  56. package/dist/types/components/FileUpload/FileUploadItem.d.ts +18 -2
  57. package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
  58. package/dist/types/components/View/View.d.ts +9 -2
  59. package/dist/types/components/View/View.d.ts.map +1 -1
  60. package/dist/types/components/View/viewNavigation.d.ts +46 -0
  61. package/dist/types/components/View/viewNavigation.d.ts.map +1 -0
  62. package/dist/types/components/index.d.ts +1 -1
  63. package/dist/types/components/index.d.ts.map +1 -1
  64. package/docs/consumers/devices.md +45 -0
  65. package/package.json +1 -1
  66. package/tokens/t4-components/chatbubble.json +4 -0
@@ -1799,6 +1799,7 @@ body {
1799
1799
  --chatbubble-embed-color-agent-border: #4d3000;
1800
1800
  --chatbubble-embed-color-agent-foreground: #e6e6ea;
1801
1801
  --chatbubble-action-stack-gap: 0.75rem;
1802
+ --chatbubble-action-stack-offset: 1rem;
1802
1803
  --chatphotogrid-gap: 0.25rem;
1803
1804
  --chatphotogrid-radius: 0.375rem;
1804
1805
  --chatphotogrid-color-placeholder: #232326;
@@ -2728,6 +2729,86 @@ body {
2728
2729
  display: none;
2729
2730
  }
2730
2731
 
2732
+ /* ─── Loading state ───────────────────────────────────── */
2733
+
2734
+ .muka-view__loading {
2735
+ display: flex;
2736
+ flex-direction: column;
2737
+ gap: var(--spacing-3);
2738
+ padding: var(--spacing-4);
2739
+ }
2740
+
2741
+ /* ─── Navigation motion (push / pop) ──────────────────────
2742
+ React wraps each View in <ViewTransition enter="muka-view-enter"
2743
+ exit="muka-view-exit">; viewNavigation.ts writes the direction to
2744
+ <html data-muka-nav> during the commit. Without the attribute (a tab switch,
2745
+ a loading View replaced by its content) nothing slides.
2746
+
2747
+ iOS navigation-controller motion: the pushed View slides in from the right
2748
+ over the current one, which moves 30% left; a pop reverses it. Small and
2749
+ medium screens only — at the large tier the sidebar stays put and views swap
2750
+ in place. --motion-duration-view is 0ms under prefers-reduced-motion. */
2751
+
2752
+ /* No direction, or the large tier: swap without the browser's default crossfade. */
2753
+ ::view-transition-old(.muka-view-exit),
2754
+ ::view-transition-new(.muka-view-enter) {
2755
+ animation: none;
2756
+ }
2757
+
2758
+ @media (max-width: 1023px) {
2759
+ /* Taps during the slide reach the new View instead of being swallowed. */
2760
+ :root[data-muka-nav]::view-transition {
2761
+ pointer-events: none;
2762
+ }
2763
+
2764
+ :root[data-muka-nav='push']::view-transition-group(.muka-view-enter),
2765
+ :root[data-muka-nav='pop']::view-transition-group(.muka-view-exit) {
2766
+ z-index: 2;
2767
+ }
2768
+
2769
+ :root[data-muka-nav='push']::view-transition-group(.muka-view-exit),
2770
+ :root[data-muka-nav='pop']::view-transition-group(.muka-view-enter) {
2771
+ z-index: 1;
2772
+ }
2773
+
2774
+ :root[data-muka-nav='push']::view-transition-new(.muka-view-enter) {
2775
+ animation: muka-view-from-right var(--motion-duration-view) var(--motion-easing-enter) both;
2776
+ }
2777
+
2778
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
2779
+ animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2780
+ }
2781
+
2782
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2783
+ animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2784
+ }
2785
+
2786
+ :root[data-muka-nav='pop']::view-transition-new(.muka-view-enter) {
2787
+ animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2788
+ }
2789
+
2790
+ }
2791
+
2792
+ @keyframes muka-view-from-right {
2793
+ from { transform: translateX(100%); }
2794
+ to { transform: translateX(0); }
2795
+ }
2796
+
2797
+ @keyframes muka-view-to-right {
2798
+ from { transform: translateX(0); }
2799
+ to { transform: translateX(100%); }
2800
+ }
2801
+
2802
+ @keyframes muka-view-to-behind {
2803
+ from { transform: translateX(0); }
2804
+ to { transform: translateX(-30%); }
2805
+ }
2806
+
2807
+ @keyframes muka-view-from-behind {
2808
+ from { transform: translateX(-30%); }
2809
+ to { transform: translateX(0); }
2810
+ }
2811
+
2731
2812
 
2732
2813
  /* Typography */
2733
2814
  .muka-typography-catalog {
@@ -4061,191 +4142,6 @@ body {
4061
4142
  }
4062
4143
 
4063
4144
 
4064
- /* Thumbnail */
4065
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4066
-
4067
- .muka-thumbnail {
4068
- position: relative;
4069
- flex-shrink: 0;
4070
- }
4071
-
4072
- /* The frame carries the border, background and shape clip. Keeping it separate
4073
- from the root lets the remove (×) button sit outside the clip (needed for the
4074
- circular/ellipse shape, whose corners would otherwise clip the button). */
4075
- .muka-thumbnail__frame {
4076
- position: absolute;
4077
- inset: 0;
4078
- overflow: hidden;
4079
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4080
- border-radius: var(--border-radius-lg);
4081
- background-color: var(--color-surface-level1);
4082
- }
4083
-
4084
- /* ─── Shapes ──────────────────────────────────────────── */
4085
- .muka-thumbnail--4-3 {
4086
- width: 160px;
4087
- height: 120px;
4088
- }
4089
-
4090
- .muka-thumbnail--1-1 {
4091
- width: 120px;
4092
- height: 120px;
4093
- }
4094
-
4095
- .muka-thumbnail--ellipse {
4096
- width: 120px;
4097
- height: 120px;
4098
- }
4099
-
4100
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4101
- .muka-thumbnail--fluid {
4102
- width: 100%;
4103
- height: auto;
4104
- aspect-ratio: 1 / 1;
4105
- }
4106
-
4107
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4108
- aspect-ratio: 4 / 3;
4109
- }
4110
-
4111
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4112
- border-radius: var(--border-radius-full);
4113
- }
4114
-
4115
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4116
- interactive hover zoom has a clean origin. */
4117
- .muka-thumbnail__image {
4118
- position: absolute;
4119
- inset: 0;
4120
- width: 100%;
4121
- height: 100%;
4122
- object-fit: cover;
4123
- display: block;
4124
- transform-origin: center;
4125
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4126
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4127
- }
4128
-
4129
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4130
- .muka-thumbnail__trigger {
4131
- position: absolute;
4132
- inset: 0;
4133
- padding: 0;
4134
- border: 0;
4135
- background: none;
4136
- cursor: pointer;
4137
- overflow: hidden;
4138
- }
4139
-
4140
- .muka-thumbnail__trigger:focus-visible {
4141
- outline: 2px solid var(--color-border-focus);
4142
- outline-offset: -2px;
4143
- }
4144
-
4145
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4146
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4147
- transform: scale(1.05);
4148
- }
4149
-
4150
- /* ─── Loading overlay + progress donut ────────────────── */
4151
- .muka-thumbnail__overlay {
4152
- position: absolute;
4153
- inset: 0;
4154
- display: flex;
4155
- align-items: center;
4156
- justify-content: center;
4157
- background-color: var(--dialog-color-backdrop);
4158
- }
4159
-
4160
- .muka-thumbnail__progress {
4161
- width: 40px;
4162
- height: 40px;
4163
- }
4164
-
4165
- /* ─── Error / corrupt state ───────────────────────────── */
4166
- .muka-thumbnail--error .muka-thumbnail__frame {
4167
- background-color: var(--alias-color-state-error-muted);
4168
- border-color: var(--alias-color-state-error-default);
4169
- }
4170
-
4171
- .muka-thumbnail__error {
4172
- position: absolute;
4173
- inset: 0;
4174
- display: flex;
4175
- flex-direction: column;
4176
- align-items: center;
4177
- justify-content: center;
4178
- gap: var(--spacing-2);
4179
- padding: var(--spacing-3);
4180
- text-align: center;
4181
- }
4182
-
4183
- .muka-thumbnail__error-icon {
4184
- color: var(--alert-color-error-accent);
4185
- }
4186
-
4187
- .muka-thumbnail__caption {
4188
- max-width: 100%;
4189
- overflow: hidden;
4190
- text-overflow: ellipsis;
4191
- white-space: nowrap;
4192
- color: var(--alert-color-error-accent);
4193
- font-family: var(--text-body-sm-regular-fontFamily);
4194
- font-size: var(--text-body-sm-regular-fontSize);
4195
- font-weight: var(--text-body-sm-regular-fontWeight);
4196
- line-height: var(--text-body-sm-regular-lineHeight);
4197
- }
4198
-
4199
- /* ─── Remove (×) button ───────────────────────────────── */
4200
- .muka-thumbnail__remove {
4201
- position: absolute;
4202
- top: var(--spacing-2);
4203
- right: var(--spacing-2);
4204
- display: flex;
4205
- align-items: center;
4206
- justify-content: center;
4207
- width: var(--size-2xl);
4208
- height: var(--size-2xl);
4209
- padding: 0;
4210
- color: var(--button-color-tertiary-foreground-default);
4211
- background-color: var(--button-color-tertiary-background-default);
4212
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4213
- border-radius: var(--border-radius-lg);
4214
- cursor: pointer;
4215
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4216
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4217
- }
4218
-
4219
- .muka-thumbnail__remove:hover {
4220
- color: var(--button-color-tertiary-foreground-hover);
4221
- background-color: var(--button-color-tertiary-background-hover);
4222
- border-color: var(--button-color-tertiary-border-hover);
4223
- }
4224
-
4225
- .muka-thumbnail__remove:active {
4226
- color: var(--button-color-tertiary-foreground-pressed);
4227
- background-color: var(--button-color-tertiary-background-pressed);
4228
- border-color: var(--button-color-tertiary-border-pressed);
4229
- }
4230
-
4231
- .muka-thumbnail__remove:focus-visible {
4232
- outline: 2px solid var(--color-border-focus);
4233
- outline-offset: 2px;
4234
- }
4235
-
4236
- /* ─── Reduced motion ──────────────────────────────────── */
4237
- @media (prefers-reduced-motion: reduce) {
4238
- .muka-thumbnail__image,
4239
- .muka-thumbnail__remove {
4240
- transition: none;
4241
- }
4242
-
4243
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4244
- transform: none;
4245
- }
4246
- }
4247
-
4248
-
4249
4145
  /* Textarea */
4250
4146
  /* Textarea Component Styles - Using Muka Design Tokens */
4251
4147
 
@@ -4492,31 +4388,216 @@ body {
4492
4388
  }
4493
4389
 
4494
4390
 
4495
- /* Tabs */
4496
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4391
+ /* Thumbnail */
4392
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
4497
4393
 
4498
- .muka-tabs {
4499
- display: flex;
4500
- flex-direction: column;
4394
+ .muka-thumbnail {
4395
+ position: relative;
4396
+ flex-shrink: 0;
4501
4397
  }
4502
4398
 
4503
- /* Alignment Variants */
4504
- .muka-tabs--align-left .muka-tabs__list {
4505
- justify-content: flex-start;
4506
- }
4507
- .muka-tabs--align-center .muka-tabs__list {
4508
- justify-content: center;
4509
- }
4510
- .muka-tabs--align-fill .muka-tabs__list {
4511
- justify-content: space-between;
4512
- }
4513
- .muka-tabs--align-fill .muka-tabs__trigger {
4514
- flex: 1;
4399
+ /* The frame carries the border, background and shape clip. Keeping it separate
4400
+ from the root lets the remove (×) button sit outside the clip (needed for the
4401
+ circular/ellipse shape, whose corners would otherwise clip the button). */
4402
+ .muka-thumbnail__frame {
4403
+ position: absolute;
4404
+ inset: 0;
4405
+ overflow: hidden;
4406
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4407
+ border-radius: var(--border-radius-lg);
4408
+ background-color: var(--color-surface-level1);
4515
4409
  }
4516
4410
 
4517
- /* Tab List — strip container */
4518
- .muka-tabs__list {
4519
- display: flex;
4411
+ /* ─── Shapes ──────────────────────────────────────────── */
4412
+ .muka-thumbnail--4-3 {
4413
+ width: 160px;
4414
+ height: 120px;
4415
+ }
4416
+
4417
+ .muka-thumbnail--1-1 {
4418
+ width: 120px;
4419
+ height: 120px;
4420
+ }
4421
+
4422
+ .muka-thumbnail--ellipse {
4423
+ width: 120px;
4424
+ height: 120px;
4425
+ }
4426
+
4427
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4428
+ .muka-thumbnail--fluid {
4429
+ width: 100%;
4430
+ height: auto;
4431
+ aspect-ratio: 1 / 1;
4432
+ }
4433
+
4434
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4435
+ aspect-ratio: 4 / 3;
4436
+ }
4437
+
4438
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
4439
+ border-radius: var(--border-radius-full);
4440
+ }
4441
+
4442
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4443
+ interactive hover zoom has a clean origin. */
4444
+ .muka-thumbnail__image {
4445
+ position: absolute;
4446
+ inset: 0;
4447
+ width: 100%;
4448
+ height: 100%;
4449
+ object-fit: cover;
4450
+ display: block;
4451
+ transform-origin: center;
4452
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4453
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4454
+ }
4455
+
4456
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
4457
+ .muka-thumbnail__trigger {
4458
+ position: absolute;
4459
+ inset: 0;
4460
+ padding: 0;
4461
+ border: 0;
4462
+ background: none;
4463
+ cursor: pointer;
4464
+ overflow: hidden;
4465
+ }
4466
+
4467
+ .muka-thumbnail__trigger:focus-visible {
4468
+ outline: 2px solid var(--color-border-focus);
4469
+ outline-offset: -2px;
4470
+ }
4471
+
4472
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4473
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4474
+ transform: scale(1.05);
4475
+ }
4476
+
4477
+ /* ─── Loading overlay + progress donut ────────────────── */
4478
+ .muka-thumbnail__overlay {
4479
+ position: absolute;
4480
+ inset: 0;
4481
+ display: flex;
4482
+ align-items: center;
4483
+ justify-content: center;
4484
+ background-color: var(--dialog-color-backdrop);
4485
+ }
4486
+
4487
+ .muka-thumbnail__progress {
4488
+ width: 40px;
4489
+ height: 40px;
4490
+ }
4491
+
4492
+ /* ─── Error / corrupt state ───────────────────────────── */
4493
+ .muka-thumbnail--error .muka-thumbnail__frame {
4494
+ background-color: var(--alias-color-state-error-muted);
4495
+ border-color: var(--alias-color-state-error-default);
4496
+ }
4497
+
4498
+ .muka-thumbnail__error {
4499
+ position: absolute;
4500
+ inset: 0;
4501
+ display: flex;
4502
+ flex-direction: column;
4503
+ align-items: center;
4504
+ justify-content: center;
4505
+ gap: var(--spacing-2);
4506
+ padding: var(--spacing-3);
4507
+ text-align: center;
4508
+ }
4509
+
4510
+ .muka-thumbnail__error-icon {
4511
+ color: var(--alert-color-error-accent);
4512
+ }
4513
+
4514
+ .muka-thumbnail__caption {
4515
+ max-width: 100%;
4516
+ overflow: hidden;
4517
+ text-overflow: ellipsis;
4518
+ white-space: nowrap;
4519
+ color: var(--alert-color-error-accent);
4520
+ font-family: var(--text-body-sm-regular-fontFamily);
4521
+ font-size: var(--text-body-sm-regular-fontSize);
4522
+ font-weight: var(--text-body-sm-regular-fontWeight);
4523
+ line-height: var(--text-body-sm-regular-lineHeight);
4524
+ }
4525
+
4526
+ /* ─── Remove (×) button ───────────────────────────────── */
4527
+ .muka-thumbnail__remove {
4528
+ position: absolute;
4529
+ top: var(--spacing-2);
4530
+ right: var(--spacing-2);
4531
+ display: flex;
4532
+ align-items: center;
4533
+ justify-content: center;
4534
+ width: var(--size-2xl);
4535
+ height: var(--size-2xl);
4536
+ padding: 0;
4537
+ color: var(--button-color-tertiary-foreground-default);
4538
+ background-color: var(--button-color-tertiary-background-default);
4539
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4540
+ border-radius: var(--border-radius-lg);
4541
+ cursor: pointer;
4542
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4543
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
4544
+ }
4545
+
4546
+ .muka-thumbnail__remove:hover {
4547
+ color: var(--button-color-tertiary-foreground-hover);
4548
+ background-color: var(--button-color-tertiary-background-hover);
4549
+ border-color: var(--button-color-tertiary-border-hover);
4550
+ }
4551
+
4552
+ .muka-thumbnail__remove:active {
4553
+ color: var(--button-color-tertiary-foreground-pressed);
4554
+ background-color: var(--button-color-tertiary-background-pressed);
4555
+ border-color: var(--button-color-tertiary-border-pressed);
4556
+ }
4557
+
4558
+ .muka-thumbnail__remove:focus-visible {
4559
+ outline: 2px solid var(--color-border-focus);
4560
+ outline-offset: 2px;
4561
+ }
4562
+
4563
+ /* ─── Reduced motion ──────────────────────────────────── */
4564
+ @media (prefers-reduced-motion: reduce) {
4565
+ .muka-thumbnail__image,
4566
+ .muka-thumbnail__remove {
4567
+ transition: none;
4568
+ }
4569
+
4570
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4571
+ transform: none;
4572
+ }
4573
+ }
4574
+
4575
+
4576
+ /* Tabs */
4577
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4578
+
4579
+ .muka-tabs {
4580
+ display: flex;
4581
+ flex-direction: column;
4582
+ }
4583
+
4584
+ /* Alignment Variants */
4585
+ .muka-tabs--align-left .muka-tabs__list {
4586
+ justify-content: flex-start;
4587
+ }
4588
+ .muka-tabs--align-center .muka-tabs__list {
4589
+ justify-content: center;
4590
+ }
4591
+ .muka-tabs--align-fill .muka-tabs__list {
4592
+ justify-content: space-between;
4593
+ }
4594
+ .muka-tabs--align-fill .muka-tabs__trigger {
4595
+ flex: 1;
4596
+ }
4597
+
4598
+ /* Tab List — strip container */
4599
+ .muka-tabs__list {
4600
+ display: flex;
4520
4601
  align-items: center;
4521
4602
  position: relative;
4522
4603
  z-index: 2;
@@ -5357,191 +5438,41 @@ body {
5357
5438
  }
5358
5439
 
5359
5440
 
5360
- /* SocialSignInButton */
5361
- /*
5362
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5363
- * Google Identity branding) and intentionally fixed across Muka brands —
5364
- * same exception pattern as LicensePlateInput regulatory colors.
5365
- *
5366
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5367
- * Google: https://developers.google.com/identity/branding-guidelines
5368
- */
5369
- .muka-social-sign-in-button {
5370
- --ssi-white: #ffffff;
5371
- --ssi-black: #000000;
5372
- --ssi-google-text-light: #1f1f1f;
5441
+ /* SmsOtpField */
5442
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
5373
5443
 
5444
+ /* Wrapper */
5445
+ .muka-sms-otp-field {
5374
5446
  display: inline-flex;
5375
- align-items: center;
5376
- justify-content: center;
5377
-
5378
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5379
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5380
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5381
- font-family: inherit;
5382
- font-weight: 600;
5383
- text-decoration: none;
5384
- white-space: nowrap;
5447
+ flex-direction: column;
5448
+ gap: var(--spacing-2);
5449
+ }
5385
5450
 
5386
- border: 1px solid transparent;
5451
+ /* Label */
5452
+ .muka-sms-otp-field__label {
5453
+ color: var(--color-text-default-default);
5387
5454
  cursor: pointer;
5388
- user-select: none;
5389
- transition: opacity 0.15s ease, filter 0.15s ease;
5390
-
5391
- outline: none;
5392
- position: relative;
5393
- box-sizing: border-box;
5394
5455
  }
5395
5456
 
5396
- .muka-social-sign-in-button--apple {
5397
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5398
- Helvetica, Arial, sans-serif;
5399
- font-weight: 600;
5457
+ .muka-sms-otp-field__label--sm {
5458
+ font-family: var(--text-label-sm-semibold-fontFamily);
5459
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5460
+ font-size: var(--text-label-sm-semibold-fontSize);
5461
+ line-height: var(--text-label-sm-semibold-lineHeight);
5400
5462
  }
5401
5463
 
5402
- .muka-social-sign-in-button--google {
5403
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5404
- font-weight: 500;
5464
+ .muka-sms-otp-field__label--md {
5465
+ font-family: var(--text-label-md-semibold-fontFamily);
5466
+ font-weight: var(--text-label-md-semibold-fontWeight);
5467
+ font-size: var(--text-label-md-semibold-fontSize);
5468
+ line-height: var(--text-label-md-semibold-lineHeight);
5405
5469
  }
5406
5470
 
5407
- .muka-social-sign-in-button:focus-visible {
5408
- outline: 2px solid var(--color-border-focus);
5409
- outline-offset: 2px;
5410
- }
5411
-
5412
- /* Sizes — heights align with Button md/lg */
5413
- .muka-social-sign-in-button--md {
5414
- padding: 0 var(--button-padding-md-x);
5415
- border-radius: var(--button-radius-md);
5416
- font-size: var(--text-label-sm-semibold-fontSize);
5417
- line-height: var(--text-label-sm-semibold-lineHeight);
5418
- min-height: 40px;
5419
- min-width: 240px;
5420
- }
5421
-
5422
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5423
- padding: 0 var(--button-gap-md);
5424
- }
5425
-
5426
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5427
- width: var(--button-icon-md);
5428
- height: var(--button-icon-md);
5429
- }
5430
-
5431
- .muka-social-sign-in-button--lg {
5432
- padding: 0 var(--button-padding-lg-x);
5433
- border-radius: var(--button-radius-lg);
5434
- font-size: var(--text-label-lg-semibold-fontSize);
5435
- line-height: var(--text-label-lg-semibold-lineHeight);
5436
- min-height: 48px;
5437
- min-width: 280px;
5438
- }
5439
-
5440
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5441
- padding: 0 var(--button-gap-lg);
5442
- }
5443
-
5444
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5445
- width: var(--button-icon-lg);
5446
- height: var(--button-icon-lg);
5447
- }
5448
-
5449
- /* White lockup — for dark surfaces (Apple White with Outline) */
5450
- .muka-social-sign-in-button--white {
5451
- background-color: var(--ssi-white);
5452
- color: var(--ssi-black);
5453
- border-color: var(--ssi-black);
5454
- }
5455
-
5456
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5457
- color: var(--ssi-google-text-light);
5458
- }
5459
-
5460
- /* Black lockup — for light surfaces */
5461
- .muka-social-sign-in-button--black {
5462
- background-color: var(--ssi-black);
5463
- color: var(--ssi-white);
5464
- border-color: transparent;
5465
- }
5466
-
5467
- /* Interaction — luminance/opacity only; no brand tint */
5468
- .muka-social-sign-in-button:hover:not(:disabled) {
5469
- filter: brightness(0.92);
5470
- }
5471
-
5472
- .muka-social-sign-in-button:active:not(:disabled) {
5473
- filter: brightness(0.85);
5474
- }
5475
-
5476
- .muka-social-sign-in-button:disabled,
5477
- .muka-social-sign-in-button--disabled {
5478
- cursor: not-allowed;
5479
- opacity: 0.4;
5480
- pointer-events: none;
5481
- filter: none;
5482
- }
5483
-
5484
- .muka-social-sign-in-button--full-width {
5485
- width: 100%;
5486
- min-width: 0;
5487
- }
5488
-
5489
- .muka-social-sign-in-button__icon {
5490
- display: inline-flex;
5491
- align-items: center;
5492
- justify-content: center;
5493
- flex-shrink: 0;
5494
- }
5495
-
5496
- .muka-social-sign-in-button__icon > *,
5497
- .muka-social-sign-in-button__icon svg {
5498
- width: auto;
5499
- height: 100%;
5500
- max-width: 100%;
5501
- display: block;
5502
- }
5503
-
5504
- .muka-social-sign-in-button__label {
5505
- display: inline-flex;
5506
- align-items: center;
5507
- }
5508
-
5509
-
5510
- /* SmsOtpField */
5511
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
5512
-
5513
- /* Wrapper */
5514
- .muka-sms-otp-field {
5515
- display: inline-flex;
5516
- flex-direction: column;
5517
- gap: var(--spacing-2);
5518
- }
5519
-
5520
- /* Label */
5521
- .muka-sms-otp-field__label {
5522
- color: var(--color-text-default-default);
5523
- cursor: pointer;
5524
- }
5525
-
5526
- .muka-sms-otp-field__label--sm {
5527
- font-family: var(--text-label-sm-semibold-fontFamily);
5528
- font-weight: var(--text-label-sm-semibold-fontWeight);
5529
- font-size: var(--text-label-sm-semibold-fontSize);
5530
- line-height: var(--text-label-sm-semibold-lineHeight);
5531
- }
5532
-
5533
- .muka-sms-otp-field__label--md {
5534
- font-family: var(--text-label-md-semibold-fontFamily);
5535
- font-weight: var(--text-label-md-semibold-fontWeight);
5536
- font-size: var(--text-label-md-semibold-fontSize);
5537
- line-height: var(--text-label-md-semibold-lineHeight);
5538
- }
5539
-
5540
- .muka-sms-otp-field__label--lg {
5541
- font-family: var(--text-label-lg-semibold-fontFamily);
5542
- font-weight: var(--text-label-lg-semibold-fontWeight);
5543
- font-size: var(--text-label-lg-semibold-fontSize);
5544
- line-height: var(--text-label-lg-semibold-lineHeight);
5471
+ .muka-sms-otp-field__label--lg {
5472
+ font-family: var(--text-label-lg-semibold-fontFamily);
5473
+ font-weight: var(--text-label-lg-semibold-fontWeight);
5474
+ font-size: var(--text-label-lg-semibold-fontSize);
5475
+ line-height: var(--text-label-lg-semibold-lineHeight);
5545
5476
  }
5546
5477
 
5547
5478
  .muka-sms-otp-field__required {
@@ -5699,6 +5630,156 @@ body {
5699
5630
  }
5700
5631
 
5701
5632
 
5633
+ /* SocialSignInButton */
5634
+ /*
5635
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5636
+ * Google Identity branding) and intentionally fixed across Muka brands —
5637
+ * same exception pattern as LicensePlateInput regulatory colors.
5638
+ *
5639
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5640
+ * Google: https://developers.google.com/identity/branding-guidelines
5641
+ */
5642
+ .muka-social-sign-in-button {
5643
+ --ssi-white: #ffffff;
5644
+ --ssi-black: #000000;
5645
+ --ssi-google-text-light: #1f1f1f;
5646
+
5647
+ display: inline-flex;
5648
+ align-items: center;
5649
+ justify-content: center;
5650
+
5651
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5652
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5653
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5654
+ font-family: inherit;
5655
+ font-weight: 600;
5656
+ text-decoration: none;
5657
+ white-space: nowrap;
5658
+
5659
+ border: 1px solid transparent;
5660
+ cursor: pointer;
5661
+ user-select: none;
5662
+ transition: opacity 0.15s ease, filter 0.15s ease;
5663
+
5664
+ outline: none;
5665
+ position: relative;
5666
+ box-sizing: border-box;
5667
+ }
5668
+
5669
+ .muka-social-sign-in-button--apple {
5670
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5671
+ Helvetica, Arial, sans-serif;
5672
+ font-weight: 600;
5673
+ }
5674
+
5675
+ .muka-social-sign-in-button--google {
5676
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5677
+ font-weight: 500;
5678
+ }
5679
+
5680
+ .muka-social-sign-in-button:focus-visible {
5681
+ outline: 2px solid var(--color-border-focus);
5682
+ outline-offset: 2px;
5683
+ }
5684
+
5685
+ /* Sizes — heights align with Button md/lg */
5686
+ .muka-social-sign-in-button--md {
5687
+ padding: 0 var(--button-padding-md-x);
5688
+ border-radius: var(--button-radius-md);
5689
+ font-size: var(--text-label-sm-semibold-fontSize);
5690
+ line-height: var(--text-label-sm-semibold-lineHeight);
5691
+ min-height: 40px;
5692
+ min-width: 240px;
5693
+ }
5694
+
5695
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5696
+ padding: 0 var(--button-gap-md);
5697
+ }
5698
+
5699
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5700
+ width: var(--button-icon-md);
5701
+ height: var(--button-icon-md);
5702
+ }
5703
+
5704
+ .muka-social-sign-in-button--lg {
5705
+ padding: 0 var(--button-padding-lg-x);
5706
+ border-radius: var(--button-radius-lg);
5707
+ font-size: var(--text-label-lg-semibold-fontSize);
5708
+ line-height: var(--text-label-lg-semibold-lineHeight);
5709
+ min-height: 48px;
5710
+ min-width: 280px;
5711
+ }
5712
+
5713
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5714
+ padding: 0 var(--button-gap-lg);
5715
+ }
5716
+
5717
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5718
+ width: var(--button-icon-lg);
5719
+ height: var(--button-icon-lg);
5720
+ }
5721
+
5722
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5723
+ .muka-social-sign-in-button--white {
5724
+ background-color: var(--ssi-white);
5725
+ color: var(--ssi-black);
5726
+ border-color: var(--ssi-black);
5727
+ }
5728
+
5729
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5730
+ color: var(--ssi-google-text-light);
5731
+ }
5732
+
5733
+ /* Black lockup — for light surfaces */
5734
+ .muka-social-sign-in-button--black {
5735
+ background-color: var(--ssi-black);
5736
+ color: var(--ssi-white);
5737
+ border-color: transparent;
5738
+ }
5739
+
5740
+ /* Interaction — luminance/opacity only; no brand tint */
5741
+ .muka-social-sign-in-button:hover:not(:disabled) {
5742
+ filter: brightness(0.92);
5743
+ }
5744
+
5745
+ .muka-social-sign-in-button:active:not(:disabled) {
5746
+ filter: brightness(0.85);
5747
+ }
5748
+
5749
+ .muka-social-sign-in-button:disabled,
5750
+ .muka-social-sign-in-button--disabled {
5751
+ cursor: not-allowed;
5752
+ opacity: 0.4;
5753
+ pointer-events: none;
5754
+ filter: none;
5755
+ }
5756
+
5757
+ .muka-social-sign-in-button--full-width {
5758
+ width: 100%;
5759
+ min-width: 0;
5760
+ }
5761
+
5762
+ .muka-social-sign-in-button__icon {
5763
+ display: inline-flex;
5764
+ align-items: center;
5765
+ justify-content: center;
5766
+ flex-shrink: 0;
5767
+ }
5768
+
5769
+ .muka-social-sign-in-button__icon > *,
5770
+ .muka-social-sign-in-button__icon svg {
5771
+ width: auto;
5772
+ height: 100%;
5773
+ max-width: 100%;
5774
+ display: block;
5775
+ }
5776
+
5777
+ .muka-social-sign-in-button__label {
5778
+ display: inline-flex;
5779
+ align-items: center;
5780
+ }
5781
+
5782
+
5702
5783
  /* Skeleton */
5703
5784
  /* Skeleton Component Styles */
5704
5785
 
@@ -6553,75 +6634,25 @@ body {
6553
6634
  .muka-search-input__cancel {
6554
6635
  flex-shrink: 0;
6555
6636
  background: none;
6556
- border: none;
6557
- padding: var(--spacing-1) var(--spacing-2);
6558
- cursor: pointer;
6559
- color: var(--color-action-default);
6560
- font-family: var(--text-label-md-regular-fontFamily);
6561
- font-weight: var(--text-label-md-regular-fontWeight);
6562
- font-size: var(--text-label-md-regular-fontSize);
6563
- line-height: var(--text-label-md-regular-lineHeight);
6564
- -webkit-tap-highlight-color: transparent;
6565
- }
6566
-
6567
- .muka-search-input__cancel:hover {
6568
- color: var(--color-action-hover);
6569
- }
6570
-
6571
- .muka-search-input__cancel:focus-visible {
6572
- outline: 2px solid var(--color-action-default);
6573
- outline-offset: 2px;
6574
- border-radius: var(--radius-sm);
6575
- }
6576
-
6577
-
6578
- /* RecordingBar */
6579
- /* RecordingBar Component Styles */
6580
-
6581
- .muka-recording-bar {
6582
- display: flex;
6583
- align-items: center;
6584
- gap: var(--spacing-3);
6585
- width: 100%;
6586
- min-width: 0;
6587
- }
6588
-
6589
- .muka-recording-bar__dot {
6590
- flex: 0 0 auto;
6591
- width: 0.625rem;
6592
- height: 0.625rem;
6593
- border-radius: var(--radius-full, 9999px);
6594
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6595
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6596
- }
6597
-
6598
- .muka-recording-bar__time {
6599
- flex: 0 0 auto;
6600
- font-size: var(--text-label-sm-regular-fontSize);
6601
- line-height: var(--text-label-sm-leading);
6602
- font-variant-numeric: tabular-nums;
6603
- color: var(--color-text-default-default);
6604
- }
6605
-
6606
- .muka-recording-bar__wave {
6607
- flex: 1 1 auto;
6608
- min-width: 0;
6637
+ border: none;
6638
+ padding: var(--spacing-1) var(--spacing-2);
6639
+ cursor: pointer;
6640
+ color: var(--color-action-default);
6641
+ font-family: var(--text-label-md-regular-fontFamily);
6642
+ font-weight: var(--text-label-md-regular-fontWeight);
6643
+ font-size: var(--text-label-md-regular-fontSize);
6644
+ line-height: var(--text-label-md-regular-lineHeight);
6645
+ -webkit-tap-highlight-color: transparent;
6609
6646
  }
6610
6647
 
6611
- @keyframes muka-recording-bar-pulse {
6612
- 0%,
6613
- 100% {
6614
- opacity: 1;
6615
- }
6616
- 50% {
6617
- opacity: 0.3;
6618
- }
6648
+ .muka-search-input__cancel:hover {
6649
+ color: var(--color-action-hover);
6619
6650
  }
6620
6651
 
6621
- @media (prefers-reduced-motion: reduce) {
6622
- .muka-recording-bar__dot {
6623
- animation: none;
6624
- }
6652
+ .muka-search-input__cancel:focus-visible {
6653
+ outline: 2px solid var(--color-action-default);
6654
+ outline-offset: 2px;
6655
+ border-radius: var(--radius-sm);
6625
6656
  }
6626
6657
 
6627
6658
 
@@ -6752,6 +6783,56 @@ body {
6752
6783
  }
6753
6784
 
6754
6785
 
6786
+ /* RecordingBar */
6787
+ /* RecordingBar Component Styles */
6788
+
6789
+ .muka-recording-bar {
6790
+ display: flex;
6791
+ align-items: center;
6792
+ gap: var(--spacing-3);
6793
+ width: 100%;
6794
+ min-width: 0;
6795
+ }
6796
+
6797
+ .muka-recording-bar__dot {
6798
+ flex: 0 0 auto;
6799
+ width: 0.625rem;
6800
+ height: 0.625rem;
6801
+ border-radius: var(--radius-full, 9999px);
6802
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6803
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6804
+ }
6805
+
6806
+ .muka-recording-bar__time {
6807
+ flex: 0 0 auto;
6808
+ font-size: var(--text-label-sm-regular-fontSize);
6809
+ line-height: var(--text-label-sm-leading);
6810
+ font-variant-numeric: tabular-nums;
6811
+ color: var(--color-text-default-default);
6812
+ }
6813
+
6814
+ .muka-recording-bar__wave {
6815
+ flex: 1 1 auto;
6816
+ min-width: 0;
6817
+ }
6818
+
6819
+ @keyframes muka-recording-bar-pulse {
6820
+ 0%,
6821
+ 100% {
6822
+ opacity: 1;
6823
+ }
6824
+ 50% {
6825
+ opacity: 0.3;
6826
+ }
6827
+ }
6828
+
6829
+ @media (prefers-reduced-motion: reduce) {
6830
+ .muka-recording-bar__dot {
6831
+ animation: none;
6832
+ }
6833
+ }
6834
+
6835
+
6755
6836
  /* RangeSlider */
6756
6837
  /* RangeSlider Component Styles - Using Muka Design Tokens */
6757
6838
 
@@ -6873,242 +6954,98 @@ body {
6873
6954
  );
6874
6955
  }
6875
6956
 
6876
- .muka-range-slider__input:focus {
6877
- outline: none;
6878
- }
6879
-
6880
- /* WebKit / Blink track */
6881
- .muka-range-slider__input::-webkit-slider-runnable-track {
6882
- height: var(--muka-range-track-h);
6883
- border-radius: var(--border-radius-full);
6884
- background-image: var(--muka-range-track-fill);
6885
- border: 1px solid var(--color-border-contrast);
6886
- box-shadow: var(--shadow-sunken);
6887
- }
6888
-
6889
- /* Firefox track + progress */
6890
- .muka-range-slider__input::-moz-range-track {
6891
- height: var(--muka-range-track-h);
6892
- border-radius: var(--border-radius-full);
6893
- background: var(--color-surface-sunken);
6894
- border: 1px solid var(--color-border-contrast);
6895
- box-shadow: var(--shadow-sunken);
6896
- }
6897
- .muka-range-slider__input::-moz-range-progress {
6898
- height: var(--muka-range-track-h);
6899
- border-radius: var(--border-radius-full);
6900
- background: var(--color-action-default);
6901
- }
6902
-
6903
- /* WebKit / Blink thumb (vertically centred over the track) */
6904
- .muka-range-slider__input::-webkit-slider-thumb {
6905
- -webkit-appearance: none;
6906
- appearance: none;
6907
- width: var(--muka-range-thumb);
6908
- height: var(--muka-range-thumb);
6909
- margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6910
- border-radius: var(--border-radius-full);
6911
- border: 1px solid var(--color-border-contrast);
6912
- box-shadow: var(--shadow-level2);
6913
- background-color: var(--color-surface-level1);
6914
- background-image:
6915
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6916
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6917
- background-repeat: no-repeat;
6918
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6919
- background-position:
6920
- calc(50% - var(--muka-range-grip-gap)) center,
6921
- calc(50% + var(--muka-range-grip-gap)) center;
6922
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6923
- }
6924
-
6925
- /* Firefox thumb */
6926
- .muka-range-slider__input::-moz-range-thumb {
6927
- width: var(--muka-range-thumb);
6928
- height: var(--muka-range-thumb);
6929
- border-radius: var(--border-radius-full);
6930
- border: 1px solid var(--color-border-contrast);
6931
- box-shadow: var(--shadow-level2);
6932
- background-color: var(--color-surface-level1);
6933
- background-image:
6934
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6935
- linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6936
- background-repeat: no-repeat;
6937
- background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
6938
- background-position:
6939
- calc(50% - var(--muka-range-grip-gap)) center,
6940
- calc(50% + var(--muka-range-grip-gap)) center;
6941
- transition: box-shadow 0.15s ease, background-color 0.15s ease;
6942
- }
6943
-
6944
- /* Hover */
6945
- .muka-range-slider__input:hover::-webkit-slider-thumb {
6946
- background-color: var(--color-surface-level1);
6947
- box-shadow: var(--shadow-level3);
6948
- }
6949
- .muka-range-slider__input:hover::-moz-range-thumb {
6950
- background-color: var(--color-surface-level1);
6951
- box-shadow: var(--shadow-level3);
6952
- }
6953
-
6954
- /* Focus ring */
6955
- .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
6956
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6957
- }
6958
- .muka-range-slider__input:focus-visible::-moz-range-thumb {
6959
- box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
6960
- }
6961
-
6962
- /* Disabled */
6963
- .muka-range-slider--disabled {
6964
- opacity: 0.5;
6965
- }
6966
- .muka-range-slider--disabled .muka-range-slider__input {
6967
- cursor: not-allowed;
6968
- }
6969
-
6970
-
6971
- /* Radio */
6972
- /* Radio Component Styles - Using Muka Design Tokens */
6973
-
6974
- /* Wrapper - clickable label container */
6975
- .muka-radio {
6976
- display: inline-flex;
6977
- align-items: center;
6978
- gap: var(--spacing-4);
6979
- cursor: pointer;
6980
- user-select: none;
6981
- }
6982
-
6983
- .muka-radio--disabled {
6984
- cursor: not-allowed;
6985
- opacity: 0.6;
6986
- }
6987
-
6988
- /* Control container */
6989
- .muka-radio__control {
6990
- position: relative;
6991
- display: inline-flex;
6992
- align-items: center;
6993
- justify-content: center;
6994
- flex-shrink: 0;
6995
- }
6996
-
6997
- /* Hidden native input */
6998
- .muka-radio__input {
6999
- position: absolute;
7000
- width: 1px;
7001
- height: 1px;
7002
- padding: 0;
7003
- margin: -1px;
7004
- overflow: hidden;
7005
- clip: rect(0, 0, 0, 0);
7006
- white-space: nowrap;
7007
- border: 0;
7008
- }
7009
-
7010
- /* Visual indicator (circle) */
7011
- .muka-radio__indicator {
7012
- display: flex;
7013
- align-items: center;
7014
- justify-content: center;
7015
- width: var(--radio-size-default);
7016
- height: var(--radio-size-default);
7017
- border-radius: var(--border-radius-full);
7018
- background-color: var(--radio-color-default-background);
7019
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7020
- transition: all 0.15s ease;
7021
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7022
- }
7023
-
7024
- /* Size variants */
7025
- .muka-radio--sm .muka-radio__indicator {
7026
- width: var(--radio-size-sm);
7027
- height: var(--radio-size-sm);
7028
- }
7029
-
7030
- .muka-radio--lg .muka-radio__indicator {
7031
- width: var(--radio-size-lg);
7032
- height: var(--radio-size-lg);
7033
- }
7034
-
7035
- /* Inner dot (shown when checked) */
7036
- .muka-radio__dot {
7037
- width: var(--radio-dot-size-default);
7038
- height: var(--radio-dot-size-default);
7039
- border-radius: var(--border-radius-full);
7040
- background-color: var(--radio-color-default-dot);
7041
- transform: scale(0);
7042
- transition: transform 0.15s ease;
7043
- }
7044
-
7045
- .muka-radio--sm .muka-radio__dot {
7046
- width: var(--radio-dot-size-sm);
7047
- height: var(--radio-dot-size-sm);
7048
- }
7049
-
7050
- .muka-radio--lg .muka-radio__dot {
7051
- width: var(--radio-dot-size-lg);
7052
- height: var(--radio-dot-size-lg);
7053
- }
7054
-
7055
- /* Hover state - removed per design */
7056
-
7057
- /* Focus state */
7058
- .muka-radio__input:focus-visible + .muka-radio__indicator {
7059
- outline: 2px solid var(--color-border-focus);
7060
- outline-offset: 2px;
6957
+ .muka-range-slider__input:focus {
6958
+ outline: none;
7061
6959
  }
7062
6960
 
7063
- /* Checked state */
7064
- .muka-radio__input:checked + .muka-radio__indicator {
7065
- background-color: var(--radio-color-checked-background);
7066
- border-width: var(--border-width-bold);
7067
- border-color: var(--radio-color-checked-border);
7068
- box-shadow: none;
6961
+ /* WebKit / Blink track */
6962
+ .muka-range-slider__input::-webkit-slider-runnable-track {
6963
+ height: var(--muka-range-track-h);
6964
+ border-radius: var(--border-radius-full);
6965
+ background-image: var(--muka-range-track-fill);
6966
+ border: 1px solid var(--color-border-contrast);
6967
+ box-shadow: var(--shadow-sunken);
7069
6968
  }
7070
6969
 
7071
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7072
- background-color: var(--radio-color-checked-dot);
7073
- transform: scale(1);
6970
+ /* Firefox track + progress */
6971
+ .muka-range-slider__input::-moz-range-track {
6972
+ height: var(--muka-range-track-h);
6973
+ border-radius: var(--border-radius-full);
6974
+ background: var(--color-surface-sunken);
6975
+ border: 1px solid var(--color-border-contrast);
6976
+ box-shadow: var(--shadow-sunken);
7074
6977
  }
7075
-
7076
- /* Disabled state */
7077
- .muka-radio--disabled .muka-radio__indicator {
7078
- background-color: var(--radio-color-disabled-background);
7079
- border-color: var(--radio-color-disabled-border);
7080
- box-shadow: none;
6978
+ .muka-range-slider__input::-moz-range-progress {
6979
+ height: var(--muka-range-track-h);
6980
+ border-radius: var(--border-radius-full);
6981
+ background: var(--color-action-default);
7081
6982
  }
7082
6983
 
7083
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7084
- background-color: var(--radio-color-disabled-dot);
6984
+ /* WebKit / Blink thumb (vertically centred over the track) */
6985
+ .muka-range-slider__input::-webkit-slider-thumb {
6986
+ -webkit-appearance: none;
6987
+ appearance: none;
6988
+ width: var(--muka-range-thumb);
6989
+ height: var(--muka-range-thumb);
6990
+ margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
6991
+ border-radius: var(--border-radius-full);
6992
+ border: 1px solid var(--color-border-contrast);
6993
+ box-shadow: var(--shadow-level2);
6994
+ background-color: var(--color-surface-level1);
6995
+ background-image:
6996
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
6997
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
6998
+ background-repeat: no-repeat;
6999
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
7000
+ background-position:
7001
+ calc(50% - var(--muka-range-grip-gap)) center,
7002
+ calc(50% + var(--muka-range-grip-gap)) center;
7003
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
7085
7004
  }
7086
7005
 
7087
- /* Label text */
7088
- .muka-radio__label {
7089
- font-family: var(--text-label-lg-regular-fontFamily);
7090
- font-weight: var(--text-label-lg-regular-fontWeight);
7091
- font-size: var(--text-label-lg-regular-fontSize);
7092
- line-height: var(--text-label-lg-regular-lineHeight);
7093
- color: var(--color-text-default-default);
7006
+ /* Firefox thumb */
7007
+ .muka-range-slider__input::-moz-range-thumb {
7008
+ width: var(--muka-range-thumb);
7009
+ height: var(--muka-range-thumb);
7010
+ border-radius: var(--border-radius-full);
7011
+ border: 1px solid var(--color-border-contrast);
7012
+ box-shadow: var(--shadow-level2);
7013
+ background-color: var(--color-surface-level1);
7014
+ background-image:
7015
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
7016
+ linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
7017
+ background-repeat: no-repeat;
7018
+ background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
7019
+ background-position:
7020
+ calc(50% - var(--muka-range-grip-gap)) center,
7021
+ calc(50% + var(--muka-range-grip-gap)) center;
7022
+ transition: box-shadow 0.15s ease, background-color 0.15s ease;
7094
7023
  }
7095
7024
 
7096
- .muka-radio--sm .muka-radio__label {
7097
- font-family: var(--text-label-md-regular-fontFamily);
7098
- font-weight: var(--text-label-md-regular-fontWeight);
7099
- font-size: var(--text-label-md-regular-fontSize);
7100
- line-height: var(--text-label-md-regular-lineHeight);
7025
+ /* Hover */
7026
+ .muka-range-slider__input:hover::-webkit-slider-thumb {
7027
+ background-color: var(--color-surface-level1);
7028
+ box-shadow: var(--shadow-level3);
7029
+ }
7030
+ .muka-range-slider__input:hover::-moz-range-thumb {
7031
+ background-color: var(--color-surface-level1);
7032
+ box-shadow: var(--shadow-level3);
7101
7033
  }
7102
7034
 
7103
- .muka-radio--lg .muka-radio__label {
7104
- font-family: var(--text-label-xl-regular-fontFamily);
7105
- font-weight: var(--text-label-xl-regular-fontWeight);
7106
- font-size: var(--text-label-xl-regular-fontSize);
7107
- line-height: var(--text-label-xl-regular-lineHeight);
7035
+ /* Focus ring */
7036
+ .muka-range-slider__input:focus-visible::-webkit-slider-thumb {
7037
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
7038
+ }
7039
+ .muka-range-slider__input:focus-visible::-moz-range-thumb {
7040
+ box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
7108
7041
  }
7109
7042
 
7110
- .muka-radio--disabled .muka-radio__label {
7111
- color: var(--color-text-subtle-default);
7043
+ /* Disabled */
7044
+ .muka-range-slider--disabled {
7045
+ opacity: 0.5;
7046
+ }
7047
+ .muka-range-slider--disabled .muka-range-slider__input {
7048
+ cursor: not-allowed;
7112
7049
  }
7113
7050
 
7114
7051
 
@@ -7853,16 +7790,160 @@ button.muka-progress-tracker__tab:focus-visible {
7853
7790
  line-height: var(--text-body-base-regular-lineHeight);
7854
7791
  }
7855
7792
 
7856
- .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7857
- font-family: var(--text-body-base-bold-fontFamily);
7858
- font-weight: var(--text-body-base-bold-fontWeight);
7793
+ .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7794
+ font-family: var(--text-body-base-bold-fontFamily);
7795
+ font-weight: var(--text-body-base-bold-fontWeight);
7796
+ }
7797
+
7798
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7799
+ font-family: var(--text-label-md-semibold-fontFamily);
7800
+ font-weight: var(--text-label-md-semibold-fontWeight);
7801
+ font-size: var(--text-label-md-semibold-fontSize);
7802
+ line-height: var(--text-label-md-semibold-lineHeight);
7803
+ }
7804
+
7805
+
7806
+ /* Radio */
7807
+ /* Radio Component Styles - Using Muka Design Tokens */
7808
+
7809
+ /* Wrapper - clickable label container */
7810
+ .muka-radio {
7811
+ display: inline-flex;
7812
+ align-items: center;
7813
+ gap: var(--spacing-4);
7814
+ cursor: pointer;
7815
+ user-select: none;
7816
+ }
7817
+
7818
+ .muka-radio--disabled {
7819
+ cursor: not-allowed;
7820
+ opacity: 0.6;
7821
+ }
7822
+
7823
+ /* Control container */
7824
+ .muka-radio__control {
7825
+ position: relative;
7826
+ display: inline-flex;
7827
+ align-items: center;
7828
+ justify-content: center;
7829
+ flex-shrink: 0;
7830
+ }
7831
+
7832
+ /* Hidden native input */
7833
+ .muka-radio__input {
7834
+ position: absolute;
7835
+ width: 1px;
7836
+ height: 1px;
7837
+ padding: 0;
7838
+ margin: -1px;
7839
+ overflow: hidden;
7840
+ clip: rect(0, 0, 0, 0);
7841
+ white-space: nowrap;
7842
+ border: 0;
7843
+ }
7844
+
7845
+ /* Visual indicator (circle) */
7846
+ .muka-radio__indicator {
7847
+ display: flex;
7848
+ align-items: center;
7849
+ justify-content: center;
7850
+ width: var(--radio-size-default);
7851
+ height: var(--radio-size-default);
7852
+ border-radius: var(--border-radius-full);
7853
+ background-color: var(--radio-color-default-background);
7854
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7855
+ transition: all 0.15s ease;
7856
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7857
+ }
7858
+
7859
+ /* Size variants */
7860
+ .muka-radio--sm .muka-radio__indicator {
7861
+ width: var(--radio-size-sm);
7862
+ height: var(--radio-size-sm);
7863
+ }
7864
+
7865
+ .muka-radio--lg .muka-radio__indicator {
7866
+ width: var(--radio-size-lg);
7867
+ height: var(--radio-size-lg);
7868
+ }
7869
+
7870
+ /* Inner dot (shown when checked) */
7871
+ .muka-radio__dot {
7872
+ width: var(--radio-dot-size-default);
7873
+ height: var(--radio-dot-size-default);
7874
+ border-radius: var(--border-radius-full);
7875
+ background-color: var(--radio-color-default-dot);
7876
+ transform: scale(0);
7877
+ transition: transform 0.15s ease;
7878
+ }
7879
+
7880
+ .muka-radio--sm .muka-radio__dot {
7881
+ width: var(--radio-dot-size-sm);
7882
+ height: var(--radio-dot-size-sm);
7883
+ }
7884
+
7885
+ .muka-radio--lg .muka-radio__dot {
7886
+ width: var(--radio-dot-size-lg);
7887
+ height: var(--radio-dot-size-lg);
7888
+ }
7889
+
7890
+ /* Hover state - removed per design */
7891
+
7892
+ /* Focus state */
7893
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7894
+ outline: 2px solid var(--color-border-focus);
7895
+ outline-offset: 2px;
7896
+ }
7897
+
7898
+ /* Checked state */
7899
+ .muka-radio__input:checked + .muka-radio__indicator {
7900
+ background-color: var(--radio-color-checked-background);
7901
+ border-width: var(--border-width-bold);
7902
+ border-color: var(--radio-color-checked-border);
7903
+ box-shadow: none;
7904
+ }
7905
+
7906
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7907
+ background-color: var(--radio-color-checked-dot);
7908
+ transform: scale(1);
7909
+ }
7910
+
7911
+ /* Disabled state */
7912
+ .muka-radio--disabled .muka-radio__indicator {
7913
+ background-color: var(--radio-color-disabled-background);
7914
+ border-color: var(--radio-color-disabled-border);
7915
+ box-shadow: none;
7916
+ }
7917
+
7918
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7919
+ background-color: var(--radio-color-disabled-dot);
7920
+ }
7921
+
7922
+ /* Label text */
7923
+ .muka-radio__label {
7924
+ font-family: var(--text-label-lg-regular-fontFamily);
7925
+ font-weight: var(--text-label-lg-regular-fontWeight);
7926
+ font-size: var(--text-label-lg-regular-fontSize);
7927
+ line-height: var(--text-label-lg-regular-lineHeight);
7928
+ color: var(--color-text-default-default);
7929
+ }
7930
+
7931
+ .muka-radio--sm .muka-radio__label {
7932
+ font-family: var(--text-label-md-regular-fontFamily);
7933
+ font-weight: var(--text-label-md-regular-fontWeight);
7934
+ font-size: var(--text-label-md-regular-fontSize);
7935
+ line-height: var(--text-label-md-regular-lineHeight);
7859
7936
  }
7860
7937
 
7861
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7862
- font-family: var(--text-label-md-semibold-fontFamily);
7863
- font-weight: var(--text-label-md-semibold-fontWeight);
7864
- font-size: var(--text-label-md-semibold-fontSize);
7865
- line-height: var(--text-label-md-semibold-lineHeight);
7938
+ .muka-radio--lg .muka-radio__label {
7939
+ font-family: var(--text-label-xl-regular-fontFamily);
7940
+ font-weight: var(--text-label-xl-regular-fontWeight);
7941
+ font-size: var(--text-label-xl-regular-fontSize);
7942
+ line-height: var(--text-label-xl-regular-lineHeight);
7943
+ }
7944
+
7945
+ .muka-radio--disabled .muka-radio__label {
7946
+ color: var(--color-text-subtle-default);
7866
7947
  }
7867
7948
 
7868
7949
 
@@ -8410,37 +8491,6 @@ button.muka-progress-tracker__tab:focus-visible {
8410
8491
  }
8411
8492
 
8412
8493
 
8413
- /* Popover */
8414
- /* Popover Component Styles */
8415
-
8416
- .muka-popover__content {
8417
- background-color: var(--color-surface-level3);
8418
- border: var(--border-width-regular) solid var(--color-border-default);
8419
- border-radius: var(--radius-md);
8420
- padding: var(--spacing-4);
8421
- box-shadow: var(--shadow-level3);
8422
- max-width: 20rem;
8423
- z-index: 50;
8424
- animation: muka-popover-fade-in 150ms ease;
8425
- }
8426
-
8427
- @keyframes muka-popover-fade-in {
8428
- from {
8429
- opacity: 0;
8430
- transform: scale(0.96);
8431
- }
8432
- to {
8433
- opacity: 1;
8434
- transform: scale(1);
8435
- }
8436
- }
8437
-
8438
- /* Arrow */
8439
- .muka-popover__arrow {
8440
- fill: var(--color-surface-level3);
8441
- }
8442
-
8443
-
8444
8494
  /* PriceTag */
8445
8495
  /* PriceTag Component Styles - Using Muka Design Tokens */
8446
8496
 
@@ -8538,6 +8588,37 @@ button.muka-progress-tracker__tab:focus-visible {
8538
8588
  }
8539
8589
 
8540
8590
 
8591
+ /* Popover */
8592
+ /* Popover Component Styles */
8593
+
8594
+ .muka-popover__content {
8595
+ background-color: var(--color-surface-level3);
8596
+ border: var(--border-width-regular) solid var(--color-border-default);
8597
+ border-radius: var(--radius-md);
8598
+ padding: var(--spacing-4);
8599
+ box-shadow: var(--shadow-level3);
8600
+ max-width: 20rem;
8601
+ z-index: 50;
8602
+ animation: muka-popover-fade-in 150ms ease;
8603
+ }
8604
+
8605
+ @keyframes muka-popover-fade-in {
8606
+ from {
8607
+ opacity: 0;
8608
+ transform: scale(0.96);
8609
+ }
8610
+ to {
8611
+ opacity: 1;
8612
+ transform: scale(1);
8613
+ }
8614
+ }
8615
+
8616
+ /* Arrow */
8617
+ .muka-popover__arrow {
8618
+ fill: var(--color-surface-level3);
8619
+ }
8620
+
8621
+
8541
8622
  /* PlanningGantt */
8542
8623
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8543
8624
 
@@ -14038,108 +14119,266 @@ button.muka-chip__trailing[aria-expanded='true'],
14038
14119
  cursor: pointer;
14039
14120
  }
14040
14121
 
14041
- .muka-chip--expandable:focus-visible {
14042
- outline: 2px solid var(--color-border-focus);
14043
- outline-offset: 2px;
14122
+ .muka-chip--expandable:focus-visible {
14123
+ outline: 2px solid var(--color-border-focus);
14124
+ outline-offset: 2px;
14125
+ }
14126
+
14127
+ .muka-chip--expandable:disabled {
14128
+ cursor: not-allowed;
14129
+ }
14130
+
14131
+ .muka-chip--expandable .muka-chip__trailing {
14132
+ pointer-events: none;
14133
+ }
14134
+
14135
+ /* Variants: body fill, foreground, and the trailing button's colour steps */
14136
+ .muka-chip--default {
14137
+ background-color: var(--chip-neutral-background-default);
14138
+ color: var(--color-text-default-default);
14139
+ --_chip-tr-bg: var(--chip-trailing-default-background-default);
14140
+ --_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
14141
+ --_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
14142
+ --_chip-tr-fg: var(--chip-trailing-default-foreground-default);
14143
+ --_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
14144
+ --_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
14145
+ }
14146
+
14147
+ .muka-chip--success {
14148
+ background-color: var(--color-state-success-background);
14149
+ color: var(--color-state-success-contrast);
14150
+ --_chip-tr-bg: var(--chip-trailing-success-background-default);
14151
+ --_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
14152
+ --_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
14153
+ --_chip-tr-fg: var(--chip-trailing-success-foreground-default);
14154
+ --_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
14155
+ --_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
14156
+ }
14157
+
14158
+ .muka-chip--warning {
14159
+ background-color: var(--color-state-warning-background);
14160
+ color: var(--color-state-warning-contrast);
14161
+ --_chip-tr-bg: var(--chip-trailing-warning-background-default);
14162
+ --_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
14163
+ --_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
14164
+ --_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
14165
+ --_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
14166
+ --_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
14167
+ }
14168
+
14169
+ .muka-chip--error {
14170
+ background-color: var(--color-state-error-background);
14171
+ color: var(--color-state-error-contrast);
14172
+ --_chip-tr-bg: var(--chip-trailing-error-background-default);
14173
+ --_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
14174
+ --_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
14175
+ --_chip-tr-fg: var(--chip-trailing-error-foreground-default);
14176
+ --_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
14177
+ --_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
14178
+ }
14179
+
14180
+ .muka-chip--info {
14181
+ background-color: var(--color-state-info-background);
14182
+ color: var(--color-state-info-contrast);
14183
+ --_chip-tr-bg: var(--chip-trailing-info-background-default);
14184
+ --_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
14185
+ --_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
14186
+ --_chip-tr-fg: var(--chip-trailing-info-foreground-default);
14187
+ --_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
14188
+ --_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
14189
+ }
14190
+
14191
+ /* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
14192
+ .muka-chip--ghost {
14193
+ background-color: var(--chip-ghost-background-default);
14194
+ color: var(--chip-ghost-foreground-default);
14195
+ --_chip-tr-border: var(--chip-trailing-ghost-border-default);
14196
+ --_chip-tr-bg: var(--chip-trailing-ghost-background-default);
14197
+ --_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
14198
+ --_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
14199
+ --_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
14200
+ --_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
14201
+ --_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
14202
+ }
14203
+
14204
+ /*
14205
+ * Body hover (Figma Chip State=Hover) — only on chips whose body does
14206
+ * something: the whole-chip button, or a label link/button (hovering just the
14207
+ * label, not the trailing button, which has its own states). A static chip
14208
+ * doesn't hover.
14209
+ */
14210
+ .muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14211
+ .muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14212
+ background-color: var(--chip-neutral-background-hover);
14213
+ }
14214
+
14215
+ .muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14216
+ .muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14217
+ background-color: var(--chip-ghost-background-hover);
14218
+ color: var(--chip-ghost-foreground-hover);
14219
+ }
14220
+
14221
+ /* Icons (leading + trailing) inherit their slot's foreground color */
14222
+ .muka-chip .muka-icon {
14223
+ color: inherit;
14224
+ }
14225
+
14226
+
14227
+ /* CheckboxTile */
14228
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
14229
+
14230
+ /* Base tile styles - horizontal */
14231
+ .muka-checkbox-tile {
14232
+ display: flex;
14233
+ align-items: center;
14234
+ gap: var(--spacing-4);
14235
+ padding: var(--spacing-4);
14236
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
14237
+ border-radius: var(--input-field-radius-lg);
14238
+ background-color: var(--color-surface-level3);
14239
+ cursor: pointer;
14240
+ transition: border-color 0.15s ease, border-width 0.15s ease;
14241
+ overflow: hidden;
14242
+ box-sizing: border-box;
14243
+ }
14244
+
14245
+ .muka-checkbox-tile--disabled {
14246
+ cursor: not-allowed;
14247
+ opacity: 0.6;
14248
+ }
14249
+
14250
+ /* Selected state */
14251
+ .muka-checkbox-tile[data-checked] {
14252
+ border-width: var(--border-width-bold);
14253
+ border-color: var(--color-action-default);
14254
+ }
14255
+
14256
+ /* Vertical layout */
14257
+ .muka-checkbox-tile--vertical {
14258
+ flex-direction: column;
14259
+ align-items: center;
14260
+ gap: var(--spacing-2);
14261
+ position: relative;
14262
+ width: 160px;
14263
+ }
14264
+
14265
+ /* Checkbox container */
14266
+ .muka-checkbox-tile__checkbox {
14267
+ flex-shrink: 0;
14268
+ }
14269
+
14270
+ /* Corner-positioned checkbox for vertical */
14271
+ .muka-checkbox-tile__checkbox--corner {
14272
+ position: absolute;
14273
+ top: var(--spacing-4);
14274
+ left: var(--spacing-4);
14275
+ }
14276
+
14277
+ /* Adjust corner position when selected (border is thicker) */
14278
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
14279
+ top: calc(var(--spacing-4) - 1px);
14280
+ left: calc(var(--spacing-4) - 1px);
14281
+ }
14282
+
14283
+ /* Icon */
14284
+ .muka-checkbox-tile__icon {
14285
+ display: flex;
14286
+ align-items: center;
14287
+ justify-content: center;
14288
+ flex-shrink: 0;
14289
+ width: var(--icon-size-default);
14290
+ height: var(--icon-size-default);
14291
+ color: var(--color-text-default-default);
14292
+ }
14293
+
14294
+ .muka-checkbox-tile__icon svg {
14295
+ width: 100%;
14296
+ height: 100%;
14044
14297
  }
14045
14298
 
14046
- .muka-chip--expandable:disabled {
14047
- cursor: not-allowed;
14299
+ /* Image */
14300
+ .muka-checkbox-tile__image {
14301
+ flex-shrink: 0;
14302
+ overflow: hidden;
14303
+ border-radius: var(--border-radius-sm);
14048
14304
  }
14049
14305
 
14050
- .muka-chip--expandable .muka-chip__trailing {
14051
- pointer-events: none;
14306
+ .muka-checkbox-tile__image img {
14307
+ display: block;
14308
+ width: 100%;
14309
+ height: 100%;
14310
+ object-fit: cover;
14052
14311
  }
14053
14312
 
14054
- /* Variants: body fill, foreground, and the trailing button's colour steps */
14055
- .muka-chip--default {
14056
- background-color: var(--chip-neutral-background-default);
14057
- color: var(--color-text-default-default);
14058
- --_chip-tr-bg: var(--chip-trailing-default-background-default);
14059
- --_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
14060
- --_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
14061
- --_chip-tr-fg: var(--chip-trailing-default-foreground-default);
14062
- --_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
14063
- --_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
14313
+ /* Horizontal image sizing */
14314
+ .muka-checkbox-tile__image--horizontal {
14315
+ width: 40px;
14316
+ height: 40px;
14064
14317
  }
14065
14318
 
14066
- .muka-chip--success {
14067
- background-color: var(--color-state-success-background);
14068
- color: var(--color-state-success-contrast);
14069
- --_chip-tr-bg: var(--chip-trailing-success-background-default);
14070
- --_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
14071
- --_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
14072
- --_chip-tr-fg: var(--chip-trailing-success-foreground-default);
14073
- --_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
14074
- --_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
14319
+ /* Vertical image sizing */
14320
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14321
+ width: 100%;
14322
+ aspect-ratio: 4/3;
14075
14323
  }
14076
14324
 
14077
- .muka-chip--warning {
14078
- background-color: var(--color-state-warning-background);
14079
- color: var(--color-state-warning-contrast);
14080
- --_chip-tr-bg: var(--chip-trailing-warning-background-default);
14081
- --_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
14082
- --_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
14083
- --_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
14084
- --_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
14085
- --_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
14325
+ /* Content container */
14326
+ .muka-checkbox-tile__content {
14327
+ display: flex;
14328
+ flex-direction: column;
14329
+ flex: 1;
14330
+ min-width: 0;
14331
+ gap: var(--spacing-2);
14086
14332
  }
14087
14333
 
14088
- .muka-chip--error {
14089
- background-color: var(--color-state-error-background);
14090
- color: var(--color-state-error-contrast);
14091
- --_chip-tr-bg: var(--chip-trailing-error-background-default);
14092
- --_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
14093
- --_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
14094
- --_chip-tr-fg: var(--chip-trailing-error-foreground-default);
14095
- --_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
14096
- --_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
14334
+ .muka-checkbox-tile__content-inner {
14335
+ display: flex;
14336
+ flex-direction: column;
14337
+ gap: var(--spacing-1);
14097
14338
  }
14098
14339
 
14099
- .muka-chip--info {
14100
- background-color: var(--color-state-info-background);
14101
- color: var(--color-state-info-contrast);
14102
- --_chip-tr-bg: var(--chip-trailing-info-background-default);
14103
- --_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
14104
- --_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
14105
- --_chip-tr-fg: var(--chip-trailing-info-foreground-default);
14106
- --_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
14107
- --_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
14340
+ /* Chip slot (replaces badge; use Chip component) */
14341
+ .muka-checkbox-tile__chip {
14342
+ flex-shrink: 0;
14108
14343
  }
14109
14344
 
14110
- /* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
14111
- .muka-chip--ghost {
14112
- background-color: var(--chip-ghost-background-default);
14113
- color: var(--chip-ghost-foreground-default);
14114
- --_chip-tr-border: var(--chip-trailing-ghost-border-default);
14115
- --_chip-tr-bg: var(--chip-trailing-ghost-background-default);
14116
- --_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
14117
- --_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
14118
- --_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
14119
- --_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
14120
- --_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
14345
+ .muka-checkbox-tile__chip--vertical {
14346
+ margin-top: var(--spacing-1);
14121
14347
  }
14122
14348
 
14123
- /*
14124
- * Body hover (Figma Chip State=Hover) — only on chips whose body does
14125
- * something: the whole-chip button, or a label link/button (hovering just the
14126
- * label, not the trailing button, which has its own states). A static chip
14127
- * doesn't hover.
14128
- */
14129
- .muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14130
- .muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14131
- background-color: var(--chip-neutral-background-hover);
14349
+ /* Label */
14350
+ .muka-checkbox-tile__label {
14351
+ font-family: var(--text-body-lg-regular-fontFamily);
14352
+ font-weight: var(--text-body-lg-regular-fontWeight);
14353
+ font-size: var(--text-body-lg-regular-fontSize);
14354
+ line-height: var(--text-body-lg-regular-lineHeight);
14355
+ color: var(--color-text-default-default);
14132
14356
  }
14133
14357
 
14134
- .muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
14135
- .muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
14136
- background-color: var(--chip-ghost-background-hover);
14137
- color: var(--chip-ghost-foreground-hover);
14358
+ .muka-checkbox-tile__label--bold {
14359
+ font-family: var(--text-label-lg-semibold-fontFamily);
14360
+ font-weight: var(--text-label-lg-semibold-fontWeight);
14361
+ font-size: var(--text-label-lg-semibold-fontSize);
14362
+ line-height: var(--text-label-lg-semibold-lineHeight);
14138
14363
  }
14139
14364
 
14140
- /* Icons (leading + trailing) inherit their slot's foreground color */
14141
- .muka-chip .muka-icon {
14142
- color: inherit;
14365
+ .muka-checkbox-tile__label--center {
14366
+ text-align: center;
14367
+ }
14368
+
14369
+ /* Caption */
14370
+ .muka-checkbox-tile__caption {
14371
+ font-family: var(--text-body-base-regular-fontFamily);
14372
+ font-weight: var(--text-body-base-regular-fontWeight);
14373
+ font-size: var(--text-body-base-regular-fontSize);
14374
+ line-height: var(--text-body-base-regular-lineHeight);
14375
+ color: var(--color-text-subtle-default);
14376
+ }
14377
+
14378
+ /* Disabled states */
14379
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14380
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14381
+ color: var(--color-text-subtle-default);
14143
14382
  }
14144
14383
 
14145
14384
 
@@ -14430,161 +14669,125 @@ button.muka-chip__trailing[aria-expanded='true'],
14430
14669
  }
14431
14670
 
14432
14671
 
14433
- /* CheckboxTile */
14434
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
14672
+ /* ChatPhotoGrid */
14673
+ /* ChatPhotoGrid Component Styles */
14435
14674
 
14436
- /* Base tile styles - horizontal */
14437
- .muka-checkbox-tile {
14438
- display: flex;
14439
- align-items: center;
14440
- gap: var(--spacing-4);
14441
- padding: var(--spacing-4);
14442
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
14443
- border-radius: var(--input-field-radius-lg);
14444
- background-color: var(--color-surface-level3);
14445
- cursor: pointer;
14446
- transition: border-color 0.15s ease, border-width 0.15s ease;
14675
+ /*
14676
+ * The grid clips to its own radius and the tiles stay square, so only the four
14677
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
14678
+ */
14679
+ .muka-chat-photo-grid {
14680
+ display: grid;
14681
+ gap: var(--chatphotogrid-gap);
14682
+ width: 100%;
14683
+ min-width: 0;
14447
14684
  overflow: hidden;
14448
- box-sizing: border-box;
14449
- }
14450
-
14451
- .muka-checkbox-tile--disabled {
14452
- cursor: not-allowed;
14453
- opacity: 0.6;
14685
+ border-radius: var(--chatphotogrid-radius);
14454
14686
  }
14455
14687
 
14456
- /* Selected state */
14457
- .muka-checkbox-tile[data-checked] {
14458
- border-width: var(--border-width-bold);
14459
- border-color: var(--color-action-default);
14460
- }
14688
+ /* ─── Tiles ────────────────────────────────────────────── */
14461
14689
 
14462
- /* Vertical layout */
14463
- .muka-checkbox-tile--vertical {
14464
- flex-direction: column;
14465
- align-items: center;
14466
- gap: var(--spacing-2);
14690
+ .muka-chat-photo-grid__tile {
14467
14691
  position: relative;
14468
- width: 160px;
14469
- }
14470
-
14471
- /* Checkbox container */
14472
- .muka-checkbox-tile__checkbox {
14473
- flex-shrink: 0;
14474
- }
14475
-
14476
- /* Corner-positioned checkbox for vertical */
14477
- .muka-checkbox-tile__checkbox--corner {
14478
- position: absolute;
14479
- top: var(--spacing-4);
14480
- left: var(--spacing-4);
14692
+ display: block;
14693
+ overflow: hidden;
14694
+ min-width: 0;
14695
+ padding: 0;
14696
+ margin: 0;
14697
+ border: none;
14698
+ background-color: var(--chatphotogrid-color-placeholder);
14699
+ aspect-ratio: 1 / 1;
14481
14700
  }
14482
14701
 
14483
- /* Adjust corner position when selected (border is thicker) */
14484
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
14485
- top: calc(var(--spacing-4) - 1px);
14486
- left: calc(var(--spacing-4) - 1px);
14702
+ button.muka-chat-photo-grid__tile {
14703
+ cursor: pointer;
14704
+ appearance: none;
14487
14705
  }
14488
14706
 
14489
- /* Icon */
14490
- .muka-checkbox-tile__icon {
14491
- display: flex;
14492
- align-items: center;
14493
- justify-content: center;
14494
- flex-shrink: 0;
14495
- width: var(--icon-size-default);
14496
- height: var(--icon-size-default);
14497
- color: var(--color-text-default-default);
14707
+ button.muka-chat-photo-grid__tile:focus-visible {
14708
+ outline: var(--border-width-bold) solid var(--color-border-focus);
14709
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14710
+ outline-offset: calc(-1 * var(--border-width-bold));
14498
14711
  }
14499
14712
 
14500
- .muka-checkbox-tile__icon svg {
14713
+ .muka-chat-photo-grid__image {
14714
+ display: block;
14501
14715
  width: 100%;
14502
14716
  height: 100%;
14717
+ object-fit: cover;
14503
14718
  }
14504
14719
 
14505
- /* Image */
14506
- .muka-checkbox-tile__image {
14507
- flex-shrink: 0;
14508
- overflow: hidden;
14509
- border-radius: var(--border-radius-sm);
14510
- }
14720
+ /* ─── Overflow tile ────────────────────────────────────── */
14511
14721
 
14512
- .muka-checkbox-tile__image img {
14513
- display: block;
14514
- width: 100%;
14515
- height: 100%;
14516
- object-fit: cover;
14722
+ .muka-chat-photo-grid__overflow {
14723
+ position: absolute;
14724
+ inset: 0;
14725
+ display: flex;
14726
+ align-items: center;
14727
+ justify-content: center;
14728
+ background-color: var(--chatphotogrid-color-overflow-background);
14729
+ color: var(--chatphotogrid-color-overflow-foreground);
14730
+ font-family: var(--text-body-2xl-regular-fontFamily);
14731
+ font-weight: var(--text-body-2xl-regular-fontWeight);
14732
+ font-size: var(--text-body-2xl-regular-fontSize);
14733
+ line-height: var(--text-body-2xl-regular-lineHeight);
14517
14734
  }
14518
14735
 
14519
- /* Horizontal image sizing */
14520
- .muka-checkbox-tile__image--horizontal {
14521
- width: 40px;
14522
- height: 40px;
14736
+ /* ─── Layouts ──────────────────────────────────────────── */
14737
+
14738
+ .muka-chat-photo-grid--1 {
14739
+ grid-template-columns: 1fr;
14523
14740
  }
14524
14741
 
14525
- /* Vertical image sizing */
14526
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14527
- width: 100%;
14528
- aspect-ratio: 4/3;
14742
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14743
+ aspect-ratio: 4 / 3;
14529
14744
  }
14530
14745
 
14531
- /* Content container */
14532
- .muka-checkbox-tile__content {
14533
- display: flex;
14534
- flex-direction: column;
14535
- flex: 1;
14536
- min-width: 0;
14537
- gap: var(--spacing-2);
14746
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14747
+ aspect-ratio: 3 / 4;
14538
14748
  }
14539
14749
 
14540
- .muka-checkbox-tile__content-inner {
14541
- display: flex;
14542
- flex-direction: column;
14543
- gap: var(--spacing-1);
14750
+ .muka-chat-photo-grid--2 {
14751
+ grid-template-columns: repeat(2, 1fr);
14544
14752
  }
14545
14753
 
14546
- /* Chip slot (replaces badge; use Chip component) */
14547
- .muka-checkbox-tile__chip {
14548
- flex-shrink: 0;
14754
+ .muka-chat-photo-grid--3 {
14755
+ grid-template-columns: repeat(3, 1fr);
14549
14756
  }
14550
14757
 
14551
- .muka-checkbox-tile__chip--vertical {
14552
- margin-top: var(--spacing-1);
14758
+ .muka-chat-photo-grid--4 {
14759
+ grid-template-columns: repeat(2, 1fr);
14553
14760
  }
14554
14761
 
14555
- /* Label */
14556
- .muka-checkbox-tile__label {
14557
- font-family: var(--text-body-lg-regular-fontFamily);
14558
- font-weight: var(--text-body-lg-regular-fontWeight);
14559
- font-size: var(--text-body-lg-regular-fontSize);
14560
- line-height: var(--text-body-lg-regular-lineHeight);
14561
- color: var(--color-text-default-default);
14762
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14763
+ .muka-chat-photo-grid--5 {
14764
+ grid-template-columns: repeat(6, 1fr);
14562
14765
  }
14563
14766
 
14564
- .muka-checkbox-tile__label--bold {
14565
- font-family: var(--text-label-lg-semibold-fontFamily);
14566
- font-weight: var(--text-label-lg-semibold-fontWeight);
14567
- font-size: var(--text-label-lg-semibold-fontSize);
14568
- line-height: var(--text-label-lg-semibold-lineHeight);
14767
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14768
+ grid-column: span 3;
14569
14769
  }
14570
14770
 
14571
- .muka-checkbox-tile__label--center {
14572
- text-align: center;
14771
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14772
+ grid-column: span 2;
14573
14773
  }
14574
14774
 
14575
- /* Caption */
14576
- .muka-checkbox-tile__caption {
14577
- font-family: var(--text-body-base-regular-fontFamily);
14578
- font-weight: var(--text-body-base-regular-fontWeight);
14579
- font-size: var(--text-body-base-regular-fontSize);
14580
- line-height: var(--text-body-base-regular-lineHeight);
14581
- color: var(--color-text-subtle-default);
14775
+ .muka-chat-photo-grid--6,
14776
+ .muka-chat-photo-grid--overflow {
14777
+ grid-template-columns: repeat(3, 1fr);
14582
14778
  }
14583
14779
 
14584
- /* Disabled states */
14585
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14586
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14587
- color: var(--color-text-subtle-default);
14780
+ /* ─── Print ────────────────────────────────────────────── */
14781
+
14782
+ @media print {
14783
+ .muka-chat-photo-grid {
14784
+ break-inside: avoid;
14785
+ }
14786
+
14787
+ .muka-chat-photo-grid__image {
14788
+ print-color-adjust: exact;
14789
+ -webkit-print-color-adjust: exact;
14790
+ }
14588
14791
  }
14589
14792
 
14590
14793
 
@@ -14935,6 +15138,15 @@ button.muka-chip__trailing[aria-expanded='true'],
14935
15138
  gap: var(--chatbubble-action-stack-gap);
14936
15139
  }
14937
15140
 
15141
+ /*
15142
+ * Buttons below text (or an embed) sit a full offset away from it, not the
15143
+ * body's tight block gap: the margin tops the gap up to the offset.
15144
+ */
15145
+ .muka-chat-message__message:not(:empty) + .muka-chat-message__action-stack,
15146
+ .muka-chat-message__embed + .muka-chat-message__action-stack {
15147
+ margin-top: calc(var(--chatbubble-action-stack-offset) - var(--chatbubble-gap));
15148
+ }
15149
+
14938
15150
  /* ─── Inset timestamp ──────────────────────────────────── */
14939
15151
 
14940
15152
  /*
@@ -14955,210 +15167,88 @@ button.muka-chip__trailing[aria-expanded='true'],
14955
15167
  * Pinned to the corner rather than stacked below the message, so a one-line
14956
15168
  * message stays one line tall. The message reserves the width it needs.
14957
15169
  */
14958
- .muka-chat-message__timestamp--inset {
14959
- position: absolute;
14960
- right: var(--spacing-2);
14961
- bottom: var(--spacing-1);
14962
- }
14963
-
14964
- /*
14965
- * When the last block in the body is media, an embed or an action stack (not
14966
- * trailing text), it runs the full width, so reserve a line below for the inset
14967
- * timestamp. A message that ends in text clears the corner inline instead (see
14968
- * `__message` padding-right above), so it needs no extra bottom space.
14969
- */
14970
- .muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
14971
- padding-bottom: var(--text-body-xs-regular-lineHeight);
14972
- }
14973
-
14974
- /* ─── Menu affordance ──────────────────────────────────── */
14975
-
14976
- /*
14977
- * Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
14978
- * everywhere, and pinned while its menu is open. On touch the equivalent
14979
- * affordance is a long-press on the bubble, which opens an ActionSheet.
14980
- */
14981
- .muka-chat-message__menu {
14982
- position: absolute;
14983
- top: var(--spacing-1);
14984
- right: var(--spacing-1);
14985
- opacity: 0;
14986
- pointer-events: none;
14987
- }
14988
-
14989
- .muka-chat-message__menu:focus-within,
14990
- .muka-chat-message--menu-open .muka-chat-message__menu {
14991
- opacity: 1;
14992
- pointer-events: auto;
14993
- }
14994
-
14995
- @media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
14996
- .muka-chat-message__bubble:hover .muka-chat-message__menu {
14997
- opacity: 1;
14998
- pointer-events: auto;
14999
- }
15000
- }
15001
-
15002
- /* Suppress iOS Safari's own callout so the long-press sheet can take over */
15003
- @media (pointer: coarse) {
15004
- .muka-chat-message--has-menu .muka-chat-message__bubble {
15005
- -webkit-touch-callout: none;
15006
- }
15007
- }
15008
-
15009
- /* ─── Print ────────────────────────────────────────────── */
15010
-
15011
- @media print {
15012
- .muka-chat-message__bubble {
15013
- box-shadow: none;
15014
- break-inside: avoid;
15015
- print-color-adjust: exact;
15016
- -webkit-print-color-adjust: exact;
15017
- }
15018
-
15019
- .muka-chat-message__embed {
15020
- break-inside: avoid;
15021
- print-color-adjust: exact;
15022
- -webkit-print-color-adjust: exact;
15023
- }
15024
-
15025
- .muka-chat-message__menu,
15026
- .muka-chat-message__embed-copy,
15027
- .muka-chat-message__action-stack {
15028
- display: none;
15029
- }
15030
- }
15031
-
15032
- /* ─── Muted (a message from another context) ──────────────
15033
- * The bubble drops its fill and keeps a hairline, so it recedes next to the
15034
- * current conversation; the text keeps full contrast. */
15035
-
15036
- .muka-chat-message--muted .muka-chat-message__bubble {
15037
- background-color: transparent;
15038
- border-color: var(--chatbubble-color-peer-border);
15039
- color: var(--color-text-default-default);
15040
- }
15041
-
15042
-
15043
- /* ChatPhotoGrid */
15044
- /* ChatPhotoGrid Component Styles */
15045
-
15046
- /*
15047
- * The grid clips to its own radius and the tiles stay square, so only the four
15048
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
15049
- */
15050
- .muka-chat-photo-grid {
15051
- display: grid;
15052
- gap: var(--chatphotogrid-gap);
15053
- width: 100%;
15054
- min-width: 0;
15055
- overflow: hidden;
15056
- border-radius: var(--chatphotogrid-radius);
15057
- }
15058
-
15059
- /* ─── Tiles ────────────────────────────────────────────── */
15060
-
15061
- .muka-chat-photo-grid__tile {
15062
- position: relative;
15063
- display: block;
15064
- overflow: hidden;
15065
- min-width: 0;
15066
- padding: 0;
15067
- margin: 0;
15068
- border: none;
15069
- background-color: var(--chatphotogrid-color-placeholder);
15070
- aspect-ratio: 1 / 1;
15071
- }
15072
-
15073
- button.muka-chat-photo-grid__tile {
15074
- cursor: pointer;
15075
- appearance: none;
15076
- }
15077
-
15078
- button.muka-chat-photo-grid__tile:focus-visible {
15079
- outline: var(--border-width-bold) solid var(--color-border-focus);
15080
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
15081
- outline-offset: calc(-1 * var(--border-width-bold));
15082
- }
15083
-
15084
- .muka-chat-photo-grid__image {
15085
- display: block;
15086
- width: 100%;
15087
- height: 100%;
15088
- object-fit: cover;
15089
- }
15090
-
15091
- /* ─── Overflow tile ────────────────────────────────────── */
15092
-
15093
- .muka-chat-photo-grid__overflow {
15094
- position: absolute;
15095
- inset: 0;
15096
- display: flex;
15097
- align-items: center;
15098
- justify-content: center;
15099
- background-color: var(--chatphotogrid-color-overflow-background);
15100
- color: var(--chatphotogrid-color-overflow-foreground);
15101
- font-family: var(--text-body-2xl-regular-fontFamily);
15102
- font-weight: var(--text-body-2xl-regular-fontWeight);
15103
- font-size: var(--text-body-2xl-regular-fontSize);
15104
- line-height: var(--text-body-2xl-regular-lineHeight);
15105
- }
15106
-
15107
- /* ─── Layouts ──────────────────────────────────────────── */
15108
-
15109
- .muka-chat-photo-grid--1 {
15110
- grid-template-columns: 1fr;
15111
- }
15112
-
15113
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
15114
- aspect-ratio: 4 / 3;
15115
- }
15116
-
15117
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
15118
- aspect-ratio: 3 / 4;
15119
- }
15120
-
15121
- .muka-chat-photo-grid--2 {
15122
- grid-template-columns: repeat(2, 1fr);
15170
+ .muka-chat-message__timestamp--inset {
15171
+ position: absolute;
15172
+ right: var(--spacing-2);
15173
+ bottom: var(--spacing-1);
15123
15174
  }
15124
15175
 
15125
- .muka-chat-photo-grid--3 {
15126
- grid-template-columns: repeat(3, 1fr);
15176
+ /*
15177
+ * When the last block in the body is media, an embed or an action stack (not
15178
+ * trailing text), it runs the full width, so reserve a line below for the inset
15179
+ * timestamp. A message that ends in text clears the corner inline instead (see
15180
+ * `__message` padding-right above), so it needs no extra bottom space.
15181
+ */
15182
+ .muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
15183
+ padding-bottom: var(--text-body-xs-regular-lineHeight);
15127
15184
  }
15128
15185
 
15129
- .muka-chat-photo-grid--4 {
15130
- grid-template-columns: repeat(2, 1fr);
15131
- }
15186
+ /* ─── Menu affordance ──────────────────────────────────── */
15132
15187
 
15133
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
15134
- .muka-chat-photo-grid--5 {
15135
- grid-template-columns: repeat(6, 1fr);
15188
+ /*
15189
+ * Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
15190
+ * everywhere, and pinned while its menu is open. On touch the equivalent
15191
+ * affordance is a long-press on the bubble, which opens an ActionSheet.
15192
+ */
15193
+ .muka-chat-message__menu {
15194
+ position: absolute;
15195
+ top: var(--spacing-1);
15196
+ right: var(--spacing-1);
15197
+ opacity: 0;
15198
+ pointer-events: none;
15136
15199
  }
15137
15200
 
15138
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
15139
- grid-column: span 3;
15201
+ .muka-chat-message__menu:focus-within,
15202
+ .muka-chat-message--menu-open .muka-chat-message__menu {
15203
+ opacity: 1;
15204
+ pointer-events: auto;
15140
15205
  }
15141
15206
 
15142
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
15143
- grid-column: span 2;
15207
+ @media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
15208
+ .muka-chat-message__bubble:hover .muka-chat-message__menu {
15209
+ opacity: 1;
15210
+ pointer-events: auto;
15211
+ }
15144
15212
  }
15145
15213
 
15146
- .muka-chat-photo-grid--6,
15147
- .muka-chat-photo-grid--overflow {
15148
- grid-template-columns: repeat(3, 1fr);
15214
+ /* Suppress iOS Safari's own callout so the long-press sheet can take over */
15215
+ @media (pointer: coarse) {
15216
+ .muka-chat-message--has-menu .muka-chat-message__bubble {
15217
+ -webkit-touch-callout: none;
15218
+ }
15149
15219
  }
15150
15220
 
15151
15221
  /* ─── Print ────────────────────────────────────────────── */
15152
15222
 
15153
15223
  @media print {
15154
- .muka-chat-photo-grid {
15224
+ .muka-chat-message__bubble {
15225
+ box-shadow: none;
15155
15226
  break-inside: avoid;
15227
+ print-color-adjust: exact;
15228
+ -webkit-print-color-adjust: exact;
15156
15229
  }
15157
15230
 
15158
- .muka-chat-photo-grid__image {
15231
+ .muka-chat-message__embed {
15232
+ break-inside: avoid;
15159
15233
  print-color-adjust: exact;
15160
15234
  -webkit-print-color-adjust: exact;
15161
15235
  }
15236
+
15237
+ .muka-chat-message__menu,
15238
+ .muka-chat-message__embed-copy,
15239
+ .muka-chat-message__action-stack {
15240
+ display: none;
15241
+ }
15242
+ }
15243
+
15244
+ /* ─── Muted (a message from another context) ──────────────
15245
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
15246
+ * current conversation; the text keeps full contrast. */
15247
+
15248
+ .muka-chat-message--muted .muka-chat-message__bubble {
15249
+ background-color: transparent;
15250
+ border-color: var(--chatbubble-color-peer-border);
15251
+ color: var(--color-text-default-default);
15162
15252
  }
15163
15253
 
15164
15254
 
@@ -15253,6 +15343,29 @@ button.muka-chat-photo-grid__tile:focus-visible {
15253
15343
  flex-shrink: 0;
15254
15344
  }
15255
15345
 
15346
+ /* ─── Suggestions ──────────────────────────────────────── */
15347
+
15348
+ /*
15349
+ * Suggestions for the typed text sit in the composer, just above the field:
15350
+ * the menu surface and rows (Menu.css), in flow rather than a floating
15351
+ * popover, so they stay above the mobile keyboard.
15352
+ */
15353
+ .muka-chat-composer__suggestions {
15354
+ width: 100%;
15355
+ min-width: 0;
15356
+ box-sizing: border-box;
15357
+ animation: none;
15358
+ }
15359
+
15360
+ /* One line per label, the match included; long labels truncate. */
15361
+ .muka-chat-composer__suggestion-text {
15362
+ display: block;
15363
+ min-width: 0;
15364
+ overflow: hidden;
15365
+ text-overflow: ellipsis;
15366
+ white-space: nowrap;
15367
+ }
15368
+
15256
15369
  /* ─── Text field ───────────────────────────────────────── */
15257
15370
 
15258
15371
  .muka-chat-composer__field {
@@ -15586,261 +15699,115 @@ button.muka-chat-photo-grid__tile:focus-visible {
15586
15699
  text-align: left;
15587
15700
  color: inherit;
15588
15701
  font: inherit;
15589
- cursor: default;
15590
- -webkit-tap-highlight-color: transparent;
15591
- }
15592
-
15593
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15594
- cursor: pointer;
15595
- }
15596
-
15597
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15598
- outline: 2px solid var(--color-action-default);
15599
- outline-offset: 2px;
15600
- border-radius: var(--radius-sm);
15601
- }
15602
-
15603
- .muka-chat-attachment-chip__icon {
15604
- display: inline-flex;
15605
- align-items: center;
15606
- justify-content: center;
15607
- flex-shrink: 0;
15608
- color: var(--color-text-subtle-default);
15609
- }
15610
-
15611
- .muka-chat-attachment-chip__text {
15612
- display: flex;
15613
- flex-direction: column;
15614
- min-width: 0;
15615
- flex: 1 1 auto;
15616
- }
15617
-
15618
- .muka-chat-attachment-chip__name {
15619
- color: var(--color-text-default-default);
15620
- font-family: var(--text-body-sm-regular-fontFamily);
15621
- font-weight: var(--text-body-sm-regular-fontWeight);
15622
- font-size: var(--text-body-sm-regular-fontSize);
15623
- line-height: var(--text-body-sm-regular-lineHeight);
15624
- white-space: nowrap;
15625
- overflow: hidden;
15626
- text-overflow: ellipsis;
15627
- }
15628
-
15629
- .muka-chat-attachment-chip__meta {
15630
- color: var(--color-text-subtle-default);
15631
- font-family: var(--text-body-sm-regular-fontFamily);
15632
- font-weight: var(--text-body-sm-regular-fontWeight);
15633
- font-size: var(--text-body-sm-regular-fontSize);
15634
- line-height: var(--text-body-sm-regular-lineHeight);
15635
- white-space: nowrap;
15636
- overflow: hidden;
15637
- text-overflow: ellipsis;
15638
- }
15639
-
15640
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15641
- color: var(--color-state-error-default, var(--color-text-default-default));
15642
- }
15643
-
15644
- /* ─── Remove button ────────────────────────────────────── */
15645
-
15646
- .muka-chat-attachment-chip__remove {
15647
- display: inline-flex;
15648
- align-items: center;
15649
- justify-content: center;
15650
- width: 20px;
15651
- height: 20px;
15652
- border: none;
15653
- background: none;
15654
- padding: 0;
15655
- border-radius: var(--radius-sm);
15656
- cursor: pointer;
15657
- color: var(--color-text-subtle-default);
15658
- flex-shrink: 0;
15659
- -webkit-tap-highlight-color: transparent;
15660
- }
15661
-
15662
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15663
- color: var(--color-text-default-default);
15664
- background-color: var(--color-surface-level2);
15665
- }
15666
-
15667
- .muka-chat-attachment-chip__remove:focus-visible {
15668
- outline: 2px solid var(--color-action-default);
15669
- outline-offset: 2px;
15670
- }
15671
-
15672
- .muka-chat-attachment-chip__remove:disabled {
15673
- cursor: not-allowed;
15674
- opacity: 0.5;
15675
- }
15676
-
15677
- /* ─── Progress bar ─────────────────────────────────────── */
15678
-
15679
- .muka-chat-attachment-chip__progress {
15680
- position: absolute;
15681
- left: 0;
15682
- right: 0;
15683
- bottom: 0;
15684
- height: 2px;
15685
- background-color: var(--color-surface-level2);
15686
- overflow: hidden;
15687
- }
15688
-
15689
- .muka-chat-attachment-chip__progress-fill {
15690
- display: block;
15691
- height: 100%;
15692
- background-color: var(--color-action-default);
15693
- transition: width 0.16s ease;
15694
- }
15695
-
15696
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15697
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15698
- }
15699
-
15700
-
15701
- /* Card */
15702
- /* Card Component Styles - Using Muka Design Tokens */
15703
-
15704
- .muka-card {
15705
- background-color: var(--card-color-default-background);
15706
- color: var(--card-color-default-foreground);
15707
- border: var(--border-width-regular) solid var(--card-color-default-border);
15708
- box-shadow: var(--card-shadow-default);
15709
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15710
- overflow: hidden;
15711
- }
15712
-
15713
- /* Padding variants */
15714
- .muka-card--padding-none {
15715
- padding: 0;
15716
- }
15717
-
15718
- .muka-card--padding-sm {
15719
- padding: var(--card-padding-sm);
15720
- }
15721
-
15722
- .muka-card--padding-md {
15723
- padding: var(--card-padding-md);
15724
- }
15725
-
15726
- .muka-card--padding-lg {
15727
- padding: var(--card-padding-lg);
15728
- }
15729
-
15730
- /* Radius variants */
15731
- .muka-card--radius-sm {
15732
- border-radius: var(--card-radius-sm);
15733
- }
15734
-
15735
- .muka-card--radius-md {
15736
- border-radius: var(--card-radius-md);
15737
- }
15738
-
15739
- .muka-card--radius-lg {
15740
- border-radius: var(--card-radius-lg);
15741
- }
15742
-
15743
- /* Interactive variant */
15744
- .muka-card--interactive {
15745
- cursor: pointer;
15746
- user-select: none;
15747
- }
15748
-
15749
- .muka-card--interactive:hover {
15750
- background-color: var(--card-color-hover-background);
15751
- border-color: var(--card-color-hover-border);
15752
- box-shadow: var(--card-shadow-hover);
15702
+ cursor: default;
15703
+ -webkit-tap-highlight-color: transparent;
15753
15704
  }
15754
15705
 
15755
- .muka-card--interactive:active,
15756
- .muka-card--interactive.muka-card--pressed {
15757
- background-color: var(--card-color-pressed-background);
15758
- border-color: var(--card-color-pressed-border);
15759
- box-shadow: var(--card-shadow-pressed);
15706
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15707
+ cursor: pointer;
15760
15708
  }
15761
15709
 
15762
- .muka-card--interactive:focus-visible {
15763
- outline: 2px solid var(--color-border-focus);
15710
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15711
+ outline: 2px solid var(--color-action-default);
15764
15712
  outline-offset: 2px;
15713
+ border-radius: var(--radius-sm);
15765
15714
  }
15766
15715
 
15767
- /* Selected variant */
15768
- .muka-card--selected {
15769
- background-color: var(--card-color-selected-background);
15770
- border-color: var(--card-color-selected-border);
15771
- border-width: var(--border-width-bold);
15772
- box-shadow: var(--card-shadow-selected);
15716
+ .muka-chat-attachment-chip__icon {
15717
+ display: inline-flex;
15718
+ align-items: center;
15719
+ justify-content: center;
15720
+ flex-shrink: 0;
15721
+ color: var(--color-text-subtle-default);
15773
15722
  }
15774
15723
 
15775
- /* Tone: sticky note (MUK-105) */
15776
- .muka-card--tone-note {
15777
- background-color: var(--card-color-note-background);
15778
- color: var(--card-color-note-foreground);
15779
- border-color: var(--card-color-note-border);
15780
- box-shadow: var(--card-shadow-note);
15724
+ .muka-chat-attachment-chip__text {
15725
+ display: flex;
15726
+ flex-direction: column;
15727
+ min-width: 0;
15728
+ flex: 1 1 auto;
15781
15729
  }
15782
15730
 
15783
- .muka-card--tone-note.muka-card--interactive:hover,
15784
- .muka-card--tone-note.muka-card--interactive:active,
15785
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15786
- background-color: var(--card-color-note-background);
15787
- border-color: var(--card-color-note-border);
15731
+ .muka-chat-attachment-chip__name {
15732
+ color: var(--color-text-default-default);
15733
+ font-family: var(--text-body-sm-regular-fontFamily);
15734
+ font-weight: var(--text-body-sm-regular-fontWeight);
15735
+ font-size: var(--text-body-sm-regular-fontSize);
15736
+ line-height: var(--text-body-sm-regular-lineHeight);
15737
+ white-space: nowrap;
15738
+ overflow: hidden;
15739
+ text-overflow: ellipsis;
15788
15740
  }
15789
15741
 
15790
- .muka-card--tilt-left {
15791
- transform: rotate(-0.75deg);
15742
+ .muka-chat-attachment-chip__meta {
15743
+ color: var(--color-text-subtle-default);
15744
+ font-family: var(--text-body-sm-regular-fontFamily);
15745
+ font-weight: var(--text-body-sm-regular-fontWeight);
15746
+ font-size: var(--text-body-sm-regular-fontSize);
15747
+ line-height: var(--text-body-sm-regular-lineHeight);
15748
+ white-space: nowrap;
15749
+ overflow: hidden;
15750
+ text-overflow: ellipsis;
15792
15751
  }
15793
15752
 
15794
- .muka-card--tilt-right {
15795
- transform: rotate(0.6deg);
15753
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15754
+ color: var(--color-state-error-default, var(--color-text-default-default));
15796
15755
  }
15797
15756
 
15798
- @media (prefers-reduced-motion: no-preference) {
15799
- .muka-card--tilt-left,
15800
- .muka-card--tilt-right {
15801
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15802
- }
15757
+ /* ─── Remove button ────────────────────────────────────── */
15758
+
15759
+ .muka-chat-attachment-chip__remove {
15760
+ display: inline-flex;
15761
+ align-items: center;
15762
+ justify-content: center;
15763
+ width: 20px;
15764
+ height: 20px;
15765
+ border: none;
15766
+ background: none;
15767
+ padding: 0;
15768
+ border-radius: var(--radius-sm);
15769
+ cursor: pointer;
15770
+ color: var(--color-text-subtle-default);
15771
+ flex-shrink: 0;
15772
+ -webkit-tap-highlight-color: transparent;
15803
15773
  }
15804
15774
 
15805
- .muka-card--interactive.muka-card--tilt-left:hover,
15806
- .muka-card--interactive.muka-card--tilt-right:hover {
15807
- transform: none;
15775
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15776
+ color: var(--color-text-default-default);
15777
+ background-color: var(--color-surface-level2);
15808
15778
  }
15809
15779
 
15810
- /* Optional header (title + description) */
15811
- .muka-card__header {
15812
- margin-bottom: var(--spacing-4);
15780
+ .muka-chat-attachment-chip__remove:focus-visible {
15781
+ outline: 2px solid var(--color-action-default);
15782
+ outline-offset: 2px;
15813
15783
  }
15814
15784
 
15815
- .muka-card__title {
15816
- margin: 0;
15817
- color: var(--color-text-default-default);
15818
- font-family: var(--text-heading-xs-fontFamily);
15819
- font-weight: var(--text-heading-xs-fontWeight);
15820
- font-size: var(--text-heading-xs-fontSize);
15821
- line-height: var(--text-heading-xs-lineHeight);
15822
- letter-spacing: var(--text-heading-xs-letterSpacing);
15785
+ .muka-chat-attachment-chip__remove:disabled {
15786
+ cursor: not-allowed;
15787
+ opacity: 0.5;
15823
15788
  }
15824
15789
 
15825
- .muka-card__description {
15826
- margin: var(--spacing-1) 0 0;
15827
- color: var(--color-text-subtle-default);
15828
- font-family: var(--text-body-sm-regular-fontFamily);
15829
- font-weight: var(--text-body-sm-regular-fontWeight);
15830
- font-size: var(--text-body-sm-regular-fontSize);
15831
- line-height: var(--text-body-sm-regular-lineHeight);
15790
+ /* ─── Progress bar ─────────────────────────────────────── */
15791
+
15792
+ .muka-chat-attachment-chip__progress {
15793
+ position: absolute;
15794
+ left: 0;
15795
+ right: 0;
15796
+ bottom: 0;
15797
+ height: 2px;
15798
+ background-color: var(--color-surface-level2);
15799
+ overflow: hidden;
15832
15800
  }
15833
15801
 
15834
- /* Hide divider on last list item inside card */
15835
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15836
- display: none;
15802
+ .muka-chat-attachment-chip__progress-fill {
15803
+ display: block;
15804
+ height: 100%;
15805
+ background-color: var(--color-action-default);
15806
+ transition: width 0.16s ease;
15837
15807
  }
15838
15808
 
15839
- /* Disabled state */
15840
- .muka-card--disabled {
15841
- opacity: 0.5;
15842
- cursor: not-allowed;
15843
- pointer-events: none;
15809
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15810
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15844
15811
  }
15845
15812
 
15846
15813
 
@@ -16145,56 +16112,202 @@ button.muka-chat-photo-grid__tile:focus-visible {
16145
16112
  display: block;
16146
16113
  }
16147
16114
 
16148
- /* A Spinner in the icon slot keeps its own flex centring: as a block its
16149
- circle sat at the top of the slot (4px high in an lg icon-only button). */
16150
- .muka-button .muka-button__icon > .muka-spinner {
16151
- display: flex;
16115
+ /* A Spinner in the icon slot keeps its own flex centring: as a block its
16116
+ circle sat at the top of the slot (4px high in an lg icon-only button). */
16117
+ .muka-button .muka-button__icon > .muka-spinner {
16118
+ display: flex;
16119
+ }
16120
+
16121
+ .muka-button--sm .muka-button__icon {
16122
+ width: var(--button-icon-sm);
16123
+ height: var(--button-icon-sm);
16124
+ }
16125
+
16126
+ .muka-button--md .muka-button__icon {
16127
+ width: var(--button-icon-md);
16128
+ height: var(--button-icon-md);
16129
+ }
16130
+
16131
+ .muka-button--lg .muka-button__icon {
16132
+ width: var(--button-icon-lg);
16133
+ height: var(--button-icon-lg);
16134
+ }
16135
+
16136
+ .muka-button--xl .muka-button__icon {
16137
+ width: var(--button-icon-xl);
16138
+ height: var(--button-icon-xl);
16139
+ }
16140
+
16141
+ .muka-button__label {
16142
+ display: inline-flex;
16143
+ align-items: center;
16144
+ }
16145
+
16146
+ /* Icon-only buttons - square, sized to the button height per size */
16147
+ .muka-button--icon-only {
16148
+ padding: 0;
16149
+ }
16150
+
16151
+ .muka-button--icon-only.muka-button--sm {
16152
+ width: 32px;
16153
+ }
16154
+
16155
+ .muka-button--icon-only.muka-button--md {
16156
+ width: 40px;
16157
+ }
16158
+
16159
+ .muka-button--icon-only.muka-button--lg {
16160
+ width: 48px;
16161
+ }
16162
+
16163
+ .muka-button--icon-only.muka-button--xl {
16164
+ width: 64px;
16165
+ }
16166
+
16167
+
16168
+ /* Card */
16169
+ /* Card Component Styles - Using Muka Design Tokens */
16170
+
16171
+ .muka-card {
16172
+ background-color: var(--card-color-default-background);
16173
+ color: var(--card-color-default-foreground);
16174
+ border: var(--border-width-regular) solid var(--card-color-default-border);
16175
+ box-shadow: var(--card-shadow-default);
16176
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
16177
+ overflow: hidden;
16178
+ }
16179
+
16180
+ /* Padding variants */
16181
+ .muka-card--padding-none {
16182
+ padding: 0;
16183
+ }
16184
+
16185
+ .muka-card--padding-sm {
16186
+ padding: var(--card-padding-sm);
16187
+ }
16188
+
16189
+ .muka-card--padding-md {
16190
+ padding: var(--card-padding-md);
16191
+ }
16192
+
16193
+ .muka-card--padding-lg {
16194
+ padding: var(--card-padding-lg);
16195
+ }
16196
+
16197
+ /* Radius variants */
16198
+ .muka-card--radius-sm {
16199
+ border-radius: var(--card-radius-sm);
16200
+ }
16201
+
16202
+ .muka-card--radius-md {
16203
+ border-radius: var(--card-radius-md);
16204
+ }
16205
+
16206
+ .muka-card--radius-lg {
16207
+ border-radius: var(--card-radius-lg);
16208
+ }
16209
+
16210
+ /* Interactive variant */
16211
+ .muka-card--interactive {
16212
+ cursor: pointer;
16213
+ user-select: none;
16214
+ }
16215
+
16216
+ .muka-card--interactive:hover {
16217
+ background-color: var(--card-color-hover-background);
16218
+ border-color: var(--card-color-hover-border);
16219
+ box-shadow: var(--card-shadow-hover);
16220
+ }
16221
+
16222
+ .muka-card--interactive:active,
16223
+ .muka-card--interactive.muka-card--pressed {
16224
+ background-color: var(--card-color-pressed-background);
16225
+ border-color: var(--card-color-pressed-border);
16226
+ box-shadow: var(--card-shadow-pressed);
16227
+ }
16228
+
16229
+ .muka-card--interactive:focus-visible {
16230
+ outline: 2px solid var(--color-border-focus);
16231
+ outline-offset: 2px;
16152
16232
  }
16153
16233
 
16154
- .muka-button--sm .muka-button__icon {
16155
- width: var(--button-icon-sm);
16156
- height: var(--button-icon-sm);
16234
+ /* Selected variant */
16235
+ .muka-card--selected {
16236
+ background-color: var(--card-color-selected-background);
16237
+ border-color: var(--card-color-selected-border);
16238
+ border-width: var(--border-width-bold);
16239
+ box-shadow: var(--card-shadow-selected);
16157
16240
  }
16158
16241
 
16159
- .muka-button--md .muka-button__icon {
16160
- width: var(--button-icon-md);
16161
- height: var(--button-icon-md);
16242
+ /* Tone: sticky note (MUK-105) */
16243
+ .muka-card--tone-note {
16244
+ background-color: var(--card-color-note-background);
16245
+ color: var(--card-color-note-foreground);
16246
+ border-color: var(--card-color-note-border);
16247
+ box-shadow: var(--card-shadow-note);
16162
16248
  }
16163
16249
 
16164
- .muka-button--lg .muka-button__icon {
16165
- width: var(--button-icon-lg);
16166
- height: var(--button-icon-lg);
16250
+ .muka-card--tone-note.muka-card--interactive:hover,
16251
+ .muka-card--tone-note.muka-card--interactive:active,
16252
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
16253
+ background-color: var(--card-color-note-background);
16254
+ border-color: var(--card-color-note-border);
16167
16255
  }
16168
16256
 
16169
- .muka-button--xl .muka-button__icon {
16170
- width: var(--button-icon-xl);
16171
- height: var(--button-icon-xl);
16257
+ .muka-card--tilt-left {
16258
+ transform: rotate(-0.75deg);
16172
16259
  }
16173
16260
 
16174
- .muka-button__label {
16175
- display: inline-flex;
16176
- align-items: center;
16261
+ .muka-card--tilt-right {
16262
+ transform: rotate(0.6deg);
16177
16263
  }
16178
16264
 
16179
- /* Icon-only buttons - square, sized to the button height per size */
16180
- .muka-button--icon-only {
16181
- padding: 0;
16265
+ @media (prefers-reduced-motion: no-preference) {
16266
+ .muka-card--tilt-left,
16267
+ .muka-card--tilt-right {
16268
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
16269
+ }
16182
16270
  }
16183
16271
 
16184
- .muka-button--icon-only.muka-button--sm {
16185
- width: 32px;
16272
+ .muka-card--interactive.muka-card--tilt-left:hover,
16273
+ .muka-card--interactive.muka-card--tilt-right:hover {
16274
+ transform: none;
16186
16275
  }
16187
16276
 
16188
- .muka-button--icon-only.muka-button--md {
16189
- width: 40px;
16277
+ /* Optional header (title + description) */
16278
+ .muka-card__header {
16279
+ margin-bottom: var(--spacing-4);
16190
16280
  }
16191
16281
 
16192
- .muka-button--icon-only.muka-button--lg {
16193
- width: 48px;
16282
+ .muka-card__title {
16283
+ margin: 0;
16284
+ color: var(--color-text-default-default);
16285
+ font-family: var(--text-heading-xs-fontFamily);
16286
+ font-weight: var(--text-heading-xs-fontWeight);
16287
+ font-size: var(--text-heading-xs-fontSize);
16288
+ line-height: var(--text-heading-xs-lineHeight);
16289
+ letter-spacing: var(--text-heading-xs-letterSpacing);
16194
16290
  }
16195
16291
 
16196
- .muka-button--icon-only.muka-button--xl {
16197
- width: 64px;
16292
+ .muka-card__description {
16293
+ margin: var(--spacing-1) 0 0;
16294
+ color: var(--color-text-subtle-default);
16295
+ font-family: var(--text-body-sm-regular-fontFamily);
16296
+ font-weight: var(--text-body-sm-regular-fontWeight);
16297
+ font-size: var(--text-body-sm-regular-fontSize);
16298
+ line-height: var(--text-body-sm-regular-lineHeight);
16299
+ }
16300
+
16301
+ /* Hide divider on last list item inside card */
16302
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
16303
+ display: none;
16304
+ }
16305
+
16306
+ /* Disabled state */
16307
+ .muka-card--disabled {
16308
+ opacity: 0.5;
16309
+ cursor: not-allowed;
16310
+ pointer-events: none;
16198
16311
  }
16199
16312
 
16200
16313
 
@@ -17653,104 +17766,246 @@ button.muka-chat-photo-grid__tile:focus-visible {
17653
17766
  height: 100%;
17654
17767
  }
17655
17768
 
17656
- /* The leading icon and the dismiss (×) icon inherit the variant accent set on
17657
- their container, overriding the Icon component's default color. */
17658
- .muka-alert__icon .muka-icon,
17659
- .muka-alert__dismiss .muka-icon {
17660
- color: inherit;
17769
+ /* The leading icon and the dismiss (×) icon inherit the variant accent set on
17770
+ their container, overriding the Icon component's default color. */
17771
+ .muka-alert__icon .muka-icon,
17772
+ .muka-alert__dismiss .muka-icon {
17773
+ color: inherit;
17774
+ }
17775
+
17776
+ /* Content */
17777
+ .muka-alert__content {
17778
+ flex: 1;
17779
+ min-width: 0;
17780
+ }
17781
+
17782
+ .muka-alert__title {
17783
+ font-family: var(--text-label-md-semibold-fontFamily);
17784
+ font-weight: var(--text-label-md-semibold-fontWeight);
17785
+ font-size: var(--text-label-md-semibold-fontSize);
17786
+ line-height: var(--text-label-md-semibold-lineHeight);
17787
+ margin-bottom: var(--spacing-1);
17788
+ }
17789
+
17790
+ .muka-alert--sm .muka-alert__title {
17791
+ font-family: var(--text-label-sm-semibold-fontFamily);
17792
+ font-weight: var(--text-label-sm-semibold-fontWeight);
17793
+ font-size: var(--text-label-sm-semibold-fontSize);
17794
+ line-height: var(--text-label-sm-semibold-lineHeight);
17795
+ }
17796
+
17797
+ .muka-alert--lg .muka-alert__title {
17798
+ font-family: var(--text-label-lg-semibold-fontFamily);
17799
+ font-weight: var(--text-label-lg-semibold-fontWeight);
17800
+ font-size: var(--text-label-lg-semibold-fontSize);
17801
+ line-height: var(--text-label-lg-semibold-lineHeight);
17802
+ }
17803
+
17804
+ .muka-alert__message {
17805
+ font-family: var(--text-body-sm-regular-fontFamily);
17806
+ font-weight: var(--text-body-sm-regular-fontWeight);
17807
+ font-size: var(--text-body-sm-regular-fontSize);
17808
+ line-height: var(--text-body-sm-regular-lineHeight);
17809
+ /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
17810
+ foreground stays readable in light and dark themes. */
17811
+ color: inherit;
17812
+ }
17813
+
17814
+ .muka-alert .muka-alert__message,
17815
+ .muka-alert .muka-alert__message * {
17816
+ color: inherit;
17817
+ }
17818
+
17819
+ .muka-alert--lg .muka-alert__message {
17820
+ font-family: var(--text-body-base-regular-fontFamily);
17821
+ font-weight: var(--text-body-base-regular-fontWeight);
17822
+ font-size: var(--text-body-base-regular-fontSize);
17823
+ line-height: var(--text-body-base-regular-lineHeight);
17824
+ }
17825
+
17826
+ /* Action slot — TextLink (or similar) below the message, matching Figma */
17827
+ .muka-alert__action {
17828
+ display: flex;
17829
+ flex-direction: column;
17830
+ align-items: flex-start;
17831
+ padding-top: var(--spacing-1);
17832
+ }
17833
+
17834
+ /* Dismiss button - uses accent color per variant, aligned with icon row */
17835
+ .muka-alert__dismiss {
17836
+ display: flex;
17837
+ align-items: center;
17838
+ justify-content: center;
17839
+ flex-shrink: 0;
17840
+ align-self: flex-start;
17841
+ width: 24px;
17842
+ height: 24px;
17843
+ padding: 0;
17844
+ margin: 0 0 0 auto;
17845
+ border: none;
17846
+ background: transparent;
17847
+ cursor: pointer;
17848
+ border-radius: var(--border-radius-sm);
17849
+ transition: opacity 0.15s ease, background-color 0.15s ease;
17850
+ }
17851
+
17852
+ .muka-alert__dismiss:hover {
17853
+ opacity: 0.85;
17854
+ background-color: rgba(0, 0, 0, 0.05);
17855
+ }
17856
+
17857
+ .muka-alert__dismiss:focus-visible {
17858
+ outline: 2px solid var(--color-border-focus);
17859
+ outline-offset: 2px;
17860
+ }
17861
+
17862
+ .muka-alert__dismiss svg {
17863
+ width: 16px;
17864
+ height: 16px;
17865
+ }
17866
+
17867
+
17868
+ /* ActionSheet */
17869
+ /* ActionSheet Component Styles */
17870
+
17871
+ .muka-action-sheet__inner {
17872
+ display: flex;
17873
+ flex-direction: column;
17874
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17875
+ gap: var(--spacing-3);
17876
+ }
17877
+
17878
+ /* ─── Header ──────────────────────────────────────────── */
17879
+
17880
+ .muka-action-sheet__header {
17881
+ display: flex;
17882
+ flex-direction: column;
17883
+ align-items: center;
17884
+ gap: var(--spacing-1);
17885
+ padding: var(--spacing-2) 0 var(--spacing-3);
17886
+ text-align: center;
17887
+ }
17888
+
17889
+ .muka-action-sheet__title {
17890
+ margin: 0;
17891
+ color: var(--color-text-default-default);
17892
+ font-family: var(--text-label-md-semibold-fontFamily);
17893
+ font-weight: var(--text-label-md-semibold-fontWeight);
17894
+ font-size: var(--text-label-md-semibold-fontSize);
17895
+ line-height: var(--text-label-md-semibold-lineHeight);
17896
+ }
17897
+
17898
+ .muka-action-sheet__description {
17899
+ margin: 0;
17900
+ color: var(--color-text-subtle-default);
17901
+ font-family: var(--text-body-sm-regular-fontFamily);
17902
+ font-weight: var(--text-body-sm-regular-fontWeight);
17903
+ font-size: var(--text-body-sm-regular-fontSize);
17904
+ line-height: var(--text-body-sm-regular-lineHeight);
17905
+ }
17906
+
17907
+ /* ─── Actions group ───────────────────────────────────── */
17908
+
17909
+ .muka-action-sheet__actions {
17910
+ display: flex;
17911
+ flex-direction: column;
17912
+ background-color: var(--color-surface-level1);
17913
+ border-radius: var(--radius-md);
17914
+ overflow: hidden;
17915
+ }
17916
+
17917
+ .muka-action-sheet__item {
17918
+ display: flex;
17919
+ align-items: center;
17920
+ gap: var(--spacing-3);
17921
+ padding: var(--spacing-3) var(--spacing-4);
17922
+ background: none;
17923
+ border: none;
17924
+ cursor: pointer;
17925
+ text-align: left;
17926
+ color: var(--color-text-default-default);
17927
+ font-family: var(--text-body-base-regular-fontFamily);
17928
+ font-weight: var(--text-body-base-regular-fontWeight);
17929
+ font-size: var(--text-body-base-regular-fontSize);
17930
+ line-height: var(--text-body-base-regular-lineHeight);
17931
+ -webkit-tap-highlight-color: transparent;
17932
+ transition: background-color 0.12s ease;
17933
+ }
17934
+
17935
+ .muka-action-sheet__item + .muka-action-sheet__item {
17936
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17661
17937
  }
17662
17938
 
17663
- /* Content */
17664
- .muka-alert__content {
17665
- flex: 1;
17666
- min-width: 0;
17939
+ .muka-action-sheet__item:hover:not(:disabled) {
17940
+ background-color: var(--color-surface-level2);
17667
17941
  }
17668
17942
 
17669
- .muka-alert__title {
17670
- font-family: var(--text-label-md-semibold-fontFamily);
17671
- font-weight: var(--text-label-md-semibold-fontWeight);
17672
- font-size: var(--text-label-md-semibold-fontSize);
17673
- line-height: var(--text-label-md-semibold-lineHeight);
17674
- margin-bottom: var(--spacing-1);
17943
+ .muka-action-sheet__item:active:not(:disabled) {
17944
+ background-color: var(--color-surface-level3);
17675
17945
  }
17676
17946
 
17677
- .muka-alert--sm .muka-alert__title {
17678
- font-family: var(--text-label-sm-semibold-fontFamily);
17679
- font-weight: var(--text-label-sm-semibold-fontWeight);
17680
- font-size: var(--text-label-sm-semibold-fontSize);
17681
- line-height: var(--text-label-sm-semibold-lineHeight);
17947
+ .muka-action-sheet__item:focus-visible {
17948
+ outline: 2px solid var(--color-action-default);
17949
+ outline-offset: -2px;
17682
17950
  }
17683
17951
 
17684
- .muka-alert--lg .muka-alert__title {
17685
- font-family: var(--text-label-lg-semibold-fontFamily);
17686
- font-weight: var(--text-label-lg-semibold-fontWeight);
17687
- font-size: var(--text-label-lg-semibold-fontSize);
17688
- line-height: var(--text-label-lg-semibold-lineHeight);
17952
+ .muka-action-sheet__item--destructive {
17953
+ color: var(--color-state-error-default);
17689
17954
  }
17690
17955
 
17691
- .muka-alert__message {
17692
- font-family: var(--text-body-sm-regular-fontFamily);
17693
- font-weight: var(--text-body-sm-regular-fontWeight);
17694
- font-size: var(--text-body-sm-regular-fontSize);
17695
- line-height: var(--text-body-sm-regular-lineHeight);
17696
- /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
17697
- foreground stays readable in light and dark themes. */
17698
- color: inherit;
17956
+ .muka-action-sheet__item--disabled,
17957
+ .muka-action-sheet__item:disabled {
17958
+ opacity: 0.5;
17959
+ cursor: not-allowed;
17699
17960
  }
17700
17961
 
17701
- .muka-alert .muka-alert__message,
17702
- .muka-alert .muka-alert__message * {
17703
- color: inherit;
17962
+ .muka-action-sheet__item-icon {
17963
+ display: inline-flex;
17964
+ align-items: center;
17965
+ justify-content: center;
17966
+ width: 24px;
17967
+ height: 24px;
17968
+ flex-shrink: 0;
17704
17969
  }
17705
17970
 
17706
- .muka-alert--lg .muka-alert__message {
17707
- font-family: var(--text-body-base-regular-fontFamily);
17708
- font-weight: var(--text-body-base-regular-fontWeight);
17709
- font-size: var(--text-body-base-regular-fontSize);
17710
- line-height: var(--text-body-base-regular-lineHeight);
17971
+ .muka-action-sheet__item-icon svg {
17972
+ width: 100%;
17973
+ height: 100%;
17711
17974
  }
17712
17975
 
17713
- /* Action slot — TextLink (or similar) below the message, matching Figma */
17714
- .muka-alert__action {
17715
- display: flex;
17716
- flex-direction: column;
17717
- align-items: flex-start;
17718
- padding-top: var(--spacing-1);
17976
+ .muka-action-sheet__item-label {
17977
+ flex: 1;
17719
17978
  }
17720
17979
 
17721
- /* Dismiss button - uses accent color per variant, aligned with icon row */
17722
- .muka-alert__dismiss {
17980
+ /* ─── Cancel button (separate at bottom) ──────────────── */
17981
+
17982
+ .muka-action-sheet__cancel {
17723
17983
  display: flex;
17724
17984
  align-items: center;
17725
17985
  justify-content: center;
17726
- flex-shrink: 0;
17727
- align-self: flex-start;
17728
- width: 24px;
17729
- height: 24px;
17730
- padding: 0;
17731
- margin: 0 0 0 auto;
17986
+ padding: var(--spacing-3) var(--spacing-4);
17987
+ background-color: var(--color-surface-level1);
17732
17988
  border: none;
17733
- background: transparent;
17989
+ border-radius: var(--radius-md);
17734
17990
  cursor: pointer;
17735
- border-radius: var(--border-radius-sm);
17736
- transition: opacity 0.15s ease, background-color 0.15s ease;
17991
+ color: var(--color-text-default-default);
17992
+ font-family: var(--text-label-md-semibold-fontFamily);
17993
+ font-weight: var(--text-label-md-semibold-fontWeight);
17994
+ font-size: var(--text-label-md-semibold-fontSize);
17995
+ line-height: var(--text-label-md-semibold-lineHeight);
17996
+ -webkit-tap-highlight-color: transparent;
17997
+ transition: background-color 0.12s ease;
17737
17998
  }
17738
17999
 
17739
- .muka-alert__dismiss:hover {
17740
- opacity: 0.85;
17741
- background-color: rgba(0, 0, 0, 0.05);
18000
+ .muka-action-sheet__cancel:hover {
18001
+ background-color: var(--color-surface-level2);
17742
18002
  }
17743
18003
 
17744
- .muka-alert__dismiss:focus-visible {
17745
- outline: 2px solid var(--color-border-focus);
18004
+ .muka-action-sheet__cancel:focus-visible {
18005
+ outline: 2px solid var(--color-action-default);
17746
18006
  outline-offset: 2px;
17747
18007
  }
17748
18008
 
17749
- .muka-alert__dismiss svg {
17750
- width: 16px;
17751
- height: 16px;
17752
- }
17753
-
17754
18009
 
17755
18010
  /* AgentTaskList */
17756
18011
  /* AgentTaskList Component Styles */
@@ -17921,148 +18176,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17921
18176
  }
17922
18177
 
17923
18178
 
17924
- /* ActionSheet */
17925
- /* ActionSheet Component Styles */
17926
-
17927
- .muka-action-sheet__inner {
17928
- display: flex;
17929
- flex-direction: column;
17930
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
17931
- gap: var(--spacing-3);
17932
- }
17933
-
17934
- /* ─── Header ──────────────────────────────────────────── */
17935
-
17936
- .muka-action-sheet__header {
17937
- display: flex;
17938
- flex-direction: column;
17939
- align-items: center;
17940
- gap: var(--spacing-1);
17941
- padding: var(--spacing-2) 0 var(--spacing-3);
17942
- text-align: center;
17943
- }
17944
-
17945
- .muka-action-sheet__title {
17946
- margin: 0;
17947
- color: var(--color-text-default-default);
17948
- font-family: var(--text-label-md-semibold-fontFamily);
17949
- font-weight: var(--text-label-md-semibold-fontWeight);
17950
- font-size: var(--text-label-md-semibold-fontSize);
17951
- line-height: var(--text-label-md-semibold-lineHeight);
17952
- }
17953
-
17954
- .muka-action-sheet__description {
17955
- margin: 0;
17956
- color: var(--color-text-subtle-default);
17957
- font-family: var(--text-body-sm-regular-fontFamily);
17958
- font-weight: var(--text-body-sm-regular-fontWeight);
17959
- font-size: var(--text-body-sm-regular-fontSize);
17960
- line-height: var(--text-body-sm-regular-lineHeight);
17961
- }
17962
-
17963
- /* ─── Actions group ───────────────────────────────────── */
17964
-
17965
- .muka-action-sheet__actions {
17966
- display: flex;
17967
- flex-direction: column;
17968
- background-color: var(--color-surface-level1);
17969
- border-radius: var(--radius-md);
17970
- overflow: hidden;
17971
- }
17972
-
17973
- .muka-action-sheet__item {
17974
- display: flex;
17975
- align-items: center;
17976
- gap: var(--spacing-3);
17977
- padding: var(--spacing-3) var(--spacing-4);
17978
- background: none;
17979
- border: none;
17980
- cursor: pointer;
17981
- text-align: left;
17982
- color: var(--color-text-default-default);
17983
- font-family: var(--text-body-base-regular-fontFamily);
17984
- font-weight: var(--text-body-base-regular-fontWeight);
17985
- font-size: var(--text-body-base-regular-fontSize);
17986
- line-height: var(--text-body-base-regular-lineHeight);
17987
- -webkit-tap-highlight-color: transparent;
17988
- transition: background-color 0.12s ease;
17989
- }
17990
-
17991
- .muka-action-sheet__item + .muka-action-sheet__item {
17992
- border-top: var(--border-width-regular) solid var(--color-border-default);
17993
- }
17994
-
17995
- .muka-action-sheet__item:hover:not(:disabled) {
17996
- background-color: var(--color-surface-level2);
17997
- }
17998
-
17999
- .muka-action-sheet__item:active:not(:disabled) {
18000
- background-color: var(--color-surface-level3);
18001
- }
18002
-
18003
- .muka-action-sheet__item:focus-visible {
18004
- outline: 2px solid var(--color-action-default);
18005
- outline-offset: -2px;
18006
- }
18007
-
18008
- .muka-action-sheet__item--destructive {
18009
- color: var(--color-state-error-default);
18010
- }
18011
-
18012
- .muka-action-sheet__item--disabled,
18013
- .muka-action-sheet__item:disabled {
18014
- opacity: 0.5;
18015
- cursor: not-allowed;
18016
- }
18017
-
18018
- .muka-action-sheet__item-icon {
18019
- display: inline-flex;
18020
- align-items: center;
18021
- justify-content: center;
18022
- width: 24px;
18023
- height: 24px;
18024
- flex-shrink: 0;
18025
- }
18026
-
18027
- .muka-action-sheet__item-icon svg {
18028
- width: 100%;
18029
- height: 100%;
18030
- }
18031
-
18032
- .muka-action-sheet__item-label {
18033
- flex: 1;
18034
- }
18035
-
18036
- /* ─── Cancel button (separate at bottom) ──────────────── */
18037
-
18038
- .muka-action-sheet__cancel {
18039
- display: flex;
18040
- align-items: center;
18041
- justify-content: center;
18042
- padding: var(--spacing-3) var(--spacing-4);
18043
- background-color: var(--color-surface-level1);
18044
- border: none;
18045
- border-radius: var(--radius-md);
18046
- cursor: pointer;
18047
- color: var(--color-text-default-default);
18048
- font-family: var(--text-label-md-semibold-fontFamily);
18049
- font-weight: var(--text-label-md-semibold-fontWeight);
18050
- font-size: var(--text-label-md-semibold-fontSize);
18051
- line-height: var(--text-label-md-semibold-lineHeight);
18052
- -webkit-tap-highlight-color: transparent;
18053
- transition: background-color 0.12s ease;
18054
- }
18055
-
18056
- .muka-action-sheet__cancel:hover {
18057
- background-color: var(--color-surface-level2);
18058
- }
18059
-
18060
- .muka-action-sheet__cancel:focus-visible {
18061
- outline: 2px solid var(--color-action-default);
18062
- outline-offset: 2px;
18063
- }
18064
-
18065
-
18066
18179
  /* Accordion */
18067
18180
  /* Accordion Component Styles */
18068
18181