@revikornmann/muka-ui 0.55.0 → 0.56.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.
@@ -2508,6 +2508,38 @@ body {
2508
2508
  }
2509
2509
 
2510
2510
 
2511
+ /* VoiceMessage */
2512
+ /* VoiceMessage Component Styles */
2513
+
2514
+ .muka-voice-message {
2515
+ display: flex;
2516
+ align-items: center;
2517
+ gap: var(--spacing-3);
2518
+ width: 100%;
2519
+ min-width: min(16rem, 60vw);
2520
+ }
2521
+
2522
+ .muka-voice-message__wave {
2523
+ flex: 1 1 auto;
2524
+ min-width: 0;
2525
+ }
2526
+
2527
+ .muka-voice-message__time {
2528
+ flex: 0 0 auto;
2529
+ white-space: nowrap;
2530
+ font-size: var(--text-label-sm-regular-fontSize);
2531
+ line-height: var(--text-label-sm-leading);
2532
+ font-variant-numeric: tabular-nums;
2533
+ color: var(--color-text-subtle-default);
2534
+ }
2535
+
2536
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2537
+ * to the inverse text token for contrast. */
2538
+ .muka-voice-message--own .muka-voice-message__time {
2539
+ color: var(--color-text-default-inverse);
2540
+ }
2541
+
2542
+
2511
2543
  /* View */
2512
2544
  /* View Component Styles */
2513
2545
 
@@ -2722,38 +2754,6 @@ body {
2722
2754
  }
2723
2755
 
2724
2756
 
2725
- /* VoiceMessage */
2726
- /* VoiceMessage Component Styles */
2727
-
2728
- .muka-voice-message {
2729
- display: flex;
2730
- align-items: center;
2731
- gap: var(--spacing-3);
2732
- width: 100%;
2733
- min-width: min(16rem, 60vw);
2734
- }
2735
-
2736
- .muka-voice-message__wave {
2737
- flex: 1 1 auto;
2738
- min-width: 0;
2739
- }
2740
-
2741
- .muka-voice-message__time {
2742
- flex: 0 0 auto;
2743
- white-space: nowrap;
2744
- font-size: var(--text-label-sm-regular-fontSize);
2745
- line-height: var(--text-label-sm-leading);
2746
- font-variant-numeric: tabular-nums;
2747
- color: var(--color-text-subtle-default);
2748
- }
2749
-
2750
- /* On the tinted own bubble the surface is the action color, so the timer flips
2751
- * to the inverse text token for contrast. */
2752
- .muka-voice-message--own .muka-voice-message__time {
2753
- color: var(--color-text-default-inverse);
2754
- }
2755
-
2756
-
2757
2757
  /* TypingIndicator */
2758
2758
  /* TypingIndicator Component Styles */
2759
2759
 
@@ -4185,88 +4185,6 @@ body {
4185
4185
  }
4186
4186
 
4187
4187
 
4188
- /* TextLink */
4189
- /* TextLink Component Styles - Using Muka Design Tokens */
4190
-
4191
- .muka-text-link {
4192
- display: inline;
4193
- cursor: pointer;
4194
- text-decoration: underline;
4195
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4196
- text-underline-offset: 0.2em;
4197
- text-decoration-thickness: from-font;
4198
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4199
- border-radius: var(--border-radius-sm);
4200
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4201
- }
4202
-
4203
- /* ─── Sizes ───────────────────────────────────────────────
4204
- Mirrors the body text scale so a link matches the copy it sits in. */
4205
- .muka-text-link--sm {
4206
- font-family: var(--text-body-sm-regular-fontFamily);
4207
- font-weight: var(--text-body-sm-regular-fontWeight);
4208
- font-size: var(--text-body-sm-regular-fontSize);
4209
- line-height: var(--text-body-sm-regular-lineHeight);
4210
- }
4211
-
4212
- .muka-text-link--base {
4213
- font-family: var(--text-body-base-regular-fontFamily);
4214
- font-weight: var(--text-body-base-regular-fontWeight);
4215
- font-size: var(--text-body-base-regular-fontSize);
4216
- line-height: var(--text-body-base-regular-lineHeight);
4217
- }
4218
-
4219
- .muka-text-link--lg {
4220
- font-family: var(--text-body-lg-regular-fontFamily);
4221
- font-weight: var(--text-body-lg-regular-fontWeight);
4222
- font-size: var(--text-body-lg-regular-fontSize);
4223
- line-height: var(--text-body-lg-regular-lineHeight);
4224
- }
4225
-
4226
- /* ─── Variant: default (accent) ───────────────────────────
4227
- Visited repeats the default colour on purpose: the design treats visited and
4228
- default the same, and pinning it stops the browser's purple from showing. */
4229
- .muka-text-link--default,
4230
- .muka-text-link--default:visited {
4231
- color: var(--color-text-action-default);
4232
- }
4233
-
4234
- .muka-text-link--default:hover,
4235
- .muka-text-link--default:focus-visible {
4236
- color: var(--color-text-action-hover);
4237
- }
4238
-
4239
- .muka-text-link--default:active {
4240
- color: var(--color-text-action-pressed);
4241
- }
4242
-
4243
- /* ─── Variant: subtle (neutral) ───────────────────────────
4244
- Hover, focus and pressed all darken to the default text colour. */
4245
- .muka-text-link--subtle,
4246
- .muka-text-link--subtle:visited {
4247
- color: var(--color-text-subtle-default);
4248
- }
4249
-
4250
- .muka-text-link--subtle:hover,
4251
- .muka-text-link--subtle:focus-visible,
4252
- .muka-text-link--subtle:active {
4253
- color: var(--color-text-default-default);
4254
- }
4255
-
4256
- /* ─── Focus ───────────────────────────────────────────────
4257
- Same ring as every other focusable Muka component. */
4258
- .muka-text-link:focus-visible {
4259
- outline: 2px solid var(--color-border-focus);
4260
- outline-offset: 2px;
4261
- }
4262
-
4263
- @media (prefers-reduced-motion: reduce) {
4264
- .muka-text-link {
4265
- transition: none;
4266
- }
4267
- }
4268
-
4269
-
4270
4188
  /* Textarea */
4271
4189
  /* Textarea Component Styles - Using Muka Design Tokens */
4272
4190
 
@@ -4431,6 +4349,88 @@ body {
4431
4349
  }
4432
4350
 
4433
4351
 
4352
+ /* TextLink */
4353
+ /* TextLink Component Styles - Using Muka Design Tokens */
4354
+
4355
+ .muka-text-link {
4356
+ display: inline;
4357
+ cursor: pointer;
4358
+ text-decoration: underline;
4359
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4360
+ text-underline-offset: 0.2em;
4361
+ text-decoration-thickness: from-font;
4362
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4363
+ border-radius: var(--border-radius-sm);
4364
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4365
+ }
4366
+
4367
+ /* ─── Sizes ───────────────────────────────────────────────
4368
+ Mirrors the body text scale so a link matches the copy it sits in. */
4369
+ .muka-text-link--sm {
4370
+ font-family: var(--text-body-sm-regular-fontFamily);
4371
+ font-weight: var(--text-body-sm-regular-fontWeight);
4372
+ font-size: var(--text-body-sm-regular-fontSize);
4373
+ line-height: var(--text-body-sm-regular-lineHeight);
4374
+ }
4375
+
4376
+ .muka-text-link--base {
4377
+ font-family: var(--text-body-base-regular-fontFamily);
4378
+ font-weight: var(--text-body-base-regular-fontWeight);
4379
+ font-size: var(--text-body-base-regular-fontSize);
4380
+ line-height: var(--text-body-base-regular-lineHeight);
4381
+ }
4382
+
4383
+ .muka-text-link--lg {
4384
+ font-family: var(--text-body-lg-regular-fontFamily);
4385
+ font-weight: var(--text-body-lg-regular-fontWeight);
4386
+ font-size: var(--text-body-lg-regular-fontSize);
4387
+ line-height: var(--text-body-lg-regular-lineHeight);
4388
+ }
4389
+
4390
+ /* ─── Variant: default (accent) ───────────────────────────
4391
+ Visited repeats the default colour on purpose: the design treats visited and
4392
+ default the same, and pinning it stops the browser's purple from showing. */
4393
+ .muka-text-link--default,
4394
+ .muka-text-link--default:visited {
4395
+ color: var(--color-text-action-default);
4396
+ }
4397
+
4398
+ .muka-text-link--default:hover,
4399
+ .muka-text-link--default:focus-visible {
4400
+ color: var(--color-text-action-hover);
4401
+ }
4402
+
4403
+ .muka-text-link--default:active {
4404
+ color: var(--color-text-action-pressed);
4405
+ }
4406
+
4407
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4408
+ Hover, focus and pressed all darken to the default text colour. */
4409
+ .muka-text-link--subtle,
4410
+ .muka-text-link--subtle:visited {
4411
+ color: var(--color-text-subtle-default);
4412
+ }
4413
+
4414
+ .muka-text-link--subtle:hover,
4415
+ .muka-text-link--subtle:focus-visible,
4416
+ .muka-text-link--subtle:active {
4417
+ color: var(--color-text-default-default);
4418
+ }
4419
+
4420
+ /* ─── Focus ───────────────────────────────────────────────
4421
+ Same ring as every other focusable Muka component. */
4422
+ .muka-text-link:focus-visible {
4423
+ outline: 2px solid var(--color-border-focus);
4424
+ outline-offset: 2px;
4425
+ }
4426
+
4427
+ @media (prefers-reduced-motion: reduce) {
4428
+ .muka-text-link {
4429
+ transition: none;
4430
+ }
4431
+ }
4432
+
4433
+
4434
4434
  /* Tabs */
4435
4435
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4436
4436
 
@@ -5820,106 +5820,24 @@ body {
5820
5820
  }
5821
5821
 
5822
5822
 
5823
- /* Sheet */
5824
- /* Sheet Component Styles */
5823
+ /* Select */
5824
+ /* Select Component Styles - Aligned with Input for consistency */
5825
5825
 
5826
- /* ─── Backdrop ────────────────────────────────────────── */
5826
+ .muka-select {
5827
+ display: inline-flex;
5828
+ flex-direction: column;
5829
+ gap: var(--spacing-2);
5830
+ }
5827
5831
 
5828
- .muka-sheet__overlay {
5829
- position: fixed;
5830
- inset: 0;
5831
- background-color: var(--color-surface-backdrop);
5832
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5833
- backdrop-filter: blur(var(--effect-blur-backdrop));
5834
- z-index: 50;
5832
+ .muka-select--full-width {
5833
+ width: 100%;
5835
5834
  }
5836
5835
 
5837
- /* ─── Surface ─────────────────────────────────────────── */
5838
-
5839
- .muka-sheet {
5840
- position: fixed;
5841
- left: 0;
5842
- right: 0;
5843
- bottom: 0;
5844
- z-index: 51;
5845
-
5846
- display: flex;
5847
- flex-direction: column;
5848
-
5849
- max-height: 96dvh;
5850
-
5851
- background-color: var(--color-surface-level3);
5852
- border-top-left-radius: var(--radius-lg);
5853
- border-top-right-radius: var(--radius-lg);
5854
- box-shadow: var(--shadow-level5);
5855
-
5856
- outline: none;
5857
- }
5858
-
5859
- /* Safe-area bottom inset for the iPhone home indicator. */
5860
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5861
- padding-bottom: env(safe-area-inset-bottom);
5862
- }
5863
-
5864
- /* ─── Drag handle ─────────────────────────────────────── */
5865
-
5866
- .muka-sheet__handle-container {
5867
- display: flex;
5868
- justify-content: center;
5869
- flex-shrink: 0;
5870
- padding: var(--spacing-3) 0;
5871
- }
5872
-
5873
- .muka-sheet__handle {
5874
- width: var(--dialog-drag-handle-width);
5875
- height: var(--dialog-drag-handle-height);
5876
- background-color: var(--dialog-drag-handle-color);
5877
- border-radius: var(--dialog-drag-handle-radius);
5878
- }
5879
-
5880
- /* ─── Body (scrollable) ───────────────────────────────── */
5881
-
5882
- .muka-sheet__body {
5883
- flex: 1 1 0%;
5884
- min-height: 0;
5885
- overflow-y: auto;
5886
- -webkit-overflow-scrolling: touch;
5887
- overscroll-behavior: contain;
5888
- }
5889
-
5890
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5891
-
5892
- .muka-sheet__sr-title {
5893
- position: absolute;
5894
- width: 1px;
5895
- height: 1px;
5896
- padding: 0;
5897
- margin: -1px;
5898
- overflow: hidden;
5899
- clip: rect(0, 0, 0, 0);
5900
- white-space: nowrap;
5901
- border: 0;
5902
- }
5903
-
5904
-
5905
- /* Select */
5906
- /* Select Component Styles - Aligned with Input for consistency */
5907
-
5908
- .muka-select {
5909
- display: inline-flex;
5910
- flex-direction: column;
5911
- gap: var(--spacing-2);
5912
- }
5913
-
5914
- .muka-select--full-width {
5915
- width: 100%;
5916
- }
5917
-
5918
- /* Label */
5919
- .muka-select__label {
5920
- color: var(--color-text-default-default);
5921
- cursor: pointer;
5922
- }
5836
+ /* Label */
5837
+ .muka-select__label {
5838
+ color: var(--color-text-default-default);
5839
+ cursor: pointer;
5840
+ }
5923
5841
 
5924
5842
  .muka-select__label--sm {
5925
5843
  font-family: var(--text-label-sm-semibold-fontFamily);
@@ -9192,12 +9110,114 @@ button.muka-progress-tracker__tab:focus-visible {
9192
9110
  background-color: var(--color-surface-level3);
9193
9111
  }
9194
9112
 
9195
- /* Without a footer, the content is last and clears the home indicator. */
9196
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9113
+ /*
9114
+ * Actions stick to the bottom edge while the document scrolls, and come to
9115
+ * rest after the content (above a footer). A BottomBar inside clears the home
9116
+ * indicator; this wrapper clears a landscape notch.
9117
+ */
9118
+ .muka-page__actions {
9119
+ position: sticky;
9120
+ bottom: 0;
9121
+ z-index: 10;
9122
+ flex-shrink: 0;
9123
+ padding-left: env(safe-area-inset-left, 0px);
9124
+ padding-right: env(safe-area-inset-right, 0px);
9125
+ background-color: var(--muka-page-background);
9126
+ }
9127
+
9128
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9129
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9130
+ padding-bottom: 0;
9131
+ }
9132
+
9133
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9134
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9197
9135
  padding-bottom: env(safe-area-inset-bottom, 0px);
9198
9136
  }
9199
9137
 
9200
9138
 
9139
+ /* Sheet */
9140
+ /* Sheet Component Styles */
9141
+
9142
+ /* ─── Backdrop ────────────────────────────────────────── */
9143
+
9144
+ .muka-sheet__overlay {
9145
+ position: fixed;
9146
+ inset: 0;
9147
+ background-color: var(--color-surface-backdrop);
9148
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9149
+ backdrop-filter: blur(var(--effect-blur-backdrop));
9150
+ z-index: 50;
9151
+ }
9152
+
9153
+ /* ─── Surface ─────────────────────────────────────────── */
9154
+
9155
+ .muka-sheet {
9156
+ position: fixed;
9157
+ left: 0;
9158
+ right: 0;
9159
+ bottom: 0;
9160
+ z-index: 51;
9161
+
9162
+ display: flex;
9163
+ flex-direction: column;
9164
+
9165
+ max-height: 96dvh;
9166
+
9167
+ background-color: var(--color-surface-level3);
9168
+ border-top-left-radius: var(--radius-lg);
9169
+ border-top-right-radius: var(--radius-lg);
9170
+ box-shadow: var(--shadow-level5);
9171
+
9172
+ outline: none;
9173
+ }
9174
+
9175
+ /* Safe-area bottom inset for the iPhone home indicator. */
9176
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
9177
+ padding-bottom: env(safe-area-inset-bottom);
9178
+ }
9179
+
9180
+ /* ─── Drag handle ─────────────────────────────────────── */
9181
+
9182
+ .muka-sheet__handle-container {
9183
+ display: flex;
9184
+ justify-content: center;
9185
+ flex-shrink: 0;
9186
+ padding: var(--spacing-3) 0;
9187
+ }
9188
+
9189
+ .muka-sheet__handle {
9190
+ width: var(--dialog-drag-handle-width);
9191
+ height: var(--dialog-drag-handle-height);
9192
+ background-color: var(--dialog-drag-handle-color);
9193
+ border-radius: var(--dialog-drag-handle-radius);
9194
+ }
9195
+
9196
+ /* ─── Body (scrollable) ───────────────────────────────── */
9197
+
9198
+ .muka-sheet__body {
9199
+ flex: 1 1 0%;
9200
+ min-height: 0;
9201
+ overflow-y: auto;
9202
+ -webkit-overflow-scrolling: touch;
9203
+ overscroll-behavior: contain;
9204
+ }
9205
+
9206
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
9207
+
9208
+ .muka-sheet__sr-title {
9209
+ position: absolute;
9210
+ width: 1px;
9211
+ height: 1px;
9212
+ padding: 0;
9213
+ margin: -1px;
9214
+ overflow: hidden;
9215
+ clip: rect(0, 0, 0, 0);
9216
+ white-space: nowrap;
9217
+ border: 0;
9218
+ }
9219
+
9220
+
9201
9221
  /* NumberInput */
9202
9222
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9203
9223
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -10915,6 +10935,26 @@ li.muka-listitem {
10915
10935
  }
10916
10936
 
10917
10937
 
10938
+ /* Form */
10939
+ .muka-form {
10940
+ display: flex;
10941
+ flex-direction: column;
10942
+ width: 100%;
10943
+ }
10944
+
10945
+ .muka-form--gap-sm {
10946
+ gap: var(--size-sm);
10947
+ }
10948
+
10949
+ .muka-form--gap-md {
10950
+ gap: var(--size-md);
10951
+ }
10952
+
10953
+ .muka-form--gap-lg {
10954
+ gap: var(--size-lg);
10955
+ }
10956
+
10957
+
10918
10958
  /* Icon */
10919
10959
  /* Icon Component Styles - Using Muka Design Tokens */
10920
10960
 
@@ -10969,26 +11009,6 @@ li.muka-listitem {
10969
11009
  }
10970
11010
 
10971
11011
 
10972
- /* Form */
10973
- .muka-form {
10974
- display: flex;
10975
- flex-direction: column;
10976
- width: 100%;
10977
- }
10978
-
10979
- .muka-form--gap-sm {
10980
- gap: var(--size-sm);
10981
- }
10982
-
10983
- .muka-form--gap-md {
10984
- gap: var(--size-md);
10985
- }
10986
-
10987
- .muka-form--gap-lg {
10988
- gap: var(--size-lg);
10989
- }
10990
-
10991
-
10992
11012
  /* FileUpload */
10993
11013
  /* FileUpload Component Styles */
10994
11014
 
@@ -14215,65 +14235,24 @@ button.muka-chip__trailing[aria-expanded='true'],
14215
14235
  }
14216
14236
 
14217
14237
 
14218
- /* ChatQuestionSeries */
14219
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14220
- .muka-chat-series__dots {
14221
- display: inline-flex;
14222
- align-items: center;
14223
- gap: var(--spacing-1);
14224
- }
14225
-
14226
- .muka-chat-series__dot {
14227
- width: var(--spacing-1);
14228
- height: var(--spacing-1);
14229
- border-radius: var(--border-radius-full);
14230
- background-color: var(--color-border-default);
14231
- }
14232
-
14233
- .muka-chat-series__dot--done {
14234
- background-color: var(--color-text-subtle-default);
14238
+ /* ChatQuestionCard */
14239
+ /*
14240
+ * ChatQuestionCard — in-thread question widget (experimental).
14241
+ * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
14242
+ * compact controls, a footer only once there is something to submit.
14243
+ */
14244
+ .muka-chat-question-card {
14245
+ width: 100%;
14246
+ max-width: 100%;
14247
+ min-width: 0;
14235
14248
  }
14236
14249
 
14237
- .muka-chat-series__dot--current {
14238
- width: var(--spacing-2);
14239
- height: var(--spacing-2);
14240
- background-color: var(--color-text-default-default);
14250
+ .muka-chat-question-card__card {
14251
+ width: 100%;
14252
+ overflow: hidden;
14241
14253
  }
14242
14254
 
14243
- .muka-chat-series__summary {
14244
- display: flex;
14245
- flex-direction: column;
14246
- gap: var(--spacing-2);
14247
- }
14248
-
14249
- .muka-chat-series__summary-row {
14250
- display: flex;
14251
- flex-direction: column;
14252
- }
14253
-
14254
- .muka-chat-series__summary-question {
14255
- color: var(--color-text-subtle-default);
14256
- }
14257
-
14258
-
14259
- /* ChatQuestionCard */
14260
- /*
14261
- * ChatQuestionCard — in-thread question widget (experimental).
14262
- * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
14263
- * compact controls, a footer only once there is something to submit.
14264
- */
14265
- .muka-chat-question-card {
14266
- width: 100%;
14267
- max-width: 100%;
14268
- min-width: 0;
14269
- }
14270
-
14271
- .muka-chat-question-card__card {
14272
- width: 100%;
14273
- overflow: hidden;
14274
- }
14275
-
14276
- .muka-chat-question-card__content {
14255
+ .muka-chat-question-card__content {
14277
14256
  display: flex;
14278
14257
  flex-direction: column;
14279
14258
  gap: var(--spacing-3);
@@ -14457,71 +14436,44 @@ button.muka-chat-photo-grid__tile:focus-visible {
14457
14436
  }
14458
14437
 
14459
14438
 
14460
- /* ChatMessageStack */
14461
- /* ChatMessageStack Component Styles */
14439
+ /* ChatQuestionSeries */
14440
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14441
+ .muka-chat-series__dots {
14442
+ display: inline-flex;
14443
+ align-items: center;
14444
+ gap: var(--spacing-1);
14445
+ }
14462
14446
 
14463
- .muka-chat-message-stack {
14464
- display: flex;
14465
- flex-direction: column;
14466
- gap: var(--chatbubble-stack-gap);
14467
- width: 100%;
14468
- max-width: 100%;
14447
+ .muka-chat-series__dot {
14448
+ width: var(--spacing-1);
14449
+ height: var(--spacing-1);
14450
+ border-radius: var(--border-radius-full);
14451
+ background-color: var(--color-border-default);
14469
14452
  }
14470
14453
 
14471
- .muka-chat-message-stack__messages {
14472
- display: flex;
14473
- flex-direction: column;
14474
- gap: var(--chatbubble-stack-gap);
14475
- width: 100%;
14454
+ .muka-chat-series__dot--done {
14455
+ background-color: var(--color-text-subtle-default);
14476
14456
  }
14477
14457
 
14478
- /*
14479
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14480
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14481
- */
14482
- .muka-chat-message-stack__reasoning {
14483
- min-width: 0;
14458
+ .muka-chat-series__dot--current {
14459
+ width: var(--spacing-2);
14460
+ height: var(--spacing-2);
14461
+ background-color: var(--color-text-default-default);
14484
14462
  }
14485
14463
 
14486
- /* In-thread widgets after the messages share the reasoning's indent. */
14487
- .muka-chat-message-stack__widgets {
14464
+ .muka-chat-series__summary {
14488
14465
  display: flex;
14489
14466
  flex-direction: column;
14490
- gap: var(--chatbubble-stack-gap);
14491
- min-width: 0;
14492
- }
14493
-
14494
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14495
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14496
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14467
+ gap: var(--spacing-2);
14497
14468
  }
14498
14469
 
14499
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14500
- .muka-chat-message-stack__widgets,
14501
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14502
- .muka-chat-message-stack__reasoning {
14503
- padding-left: 0;
14504
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14470
+ .muka-chat-series__summary-row {
14471
+ display: flex;
14472
+ flex-direction: column;
14505
14473
  }
14506
14474
 
14507
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14508
- @media (max-width: 1023px) {
14509
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14510
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14511
- padding-left: calc(
14512
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14513
- );
14514
- }
14515
-
14516
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14517
- .muka-chat-message-stack__widgets,
14518
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14519
- .muka-chat-message-stack__reasoning {
14520
- padding-left: 0;
14521
- padding-right: calc(
14522
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14523
- );
14524
- }
14475
+ .muka-chat-series__summary-question {
14476
+ color: var(--color-text-subtle-default);
14525
14477
  }
14526
14478
 
14527
14479
 
@@ -15253,6 +15205,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
15253
15205
  }
15254
15206
 
15255
15207
 
15208
+ /* ChatMessageStack */
15209
+ /* ChatMessageStack Component Styles */
15210
+
15211
+ .muka-chat-message-stack {
15212
+ display: flex;
15213
+ flex-direction: column;
15214
+ gap: var(--chatbubble-stack-gap);
15215
+ width: 100%;
15216
+ max-width: 100%;
15217
+ }
15218
+
15219
+ .muka-chat-message-stack__messages {
15220
+ display: flex;
15221
+ flex-direction: column;
15222
+ gap: var(--chatbubble-stack-gap);
15223
+ width: 100%;
15224
+ }
15225
+
15226
+ /*
15227
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
15228
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
15229
+ */
15230
+ .muka-chat-message-stack__reasoning {
15231
+ min-width: 0;
15232
+ }
15233
+
15234
+ /* In-thread widgets after the messages share the reasoning's indent. */
15235
+ .muka-chat-message-stack__widgets {
15236
+ display: flex;
15237
+ flex-direction: column;
15238
+ gap: var(--chatbubble-stack-gap);
15239
+ min-width: 0;
15240
+ }
15241
+
15242
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15243
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15244
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15245
+ }
15246
+
15247
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15248
+ .muka-chat-message-stack__widgets,
15249
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15250
+ .muka-chat-message-stack__reasoning {
15251
+ padding-left: 0;
15252
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15253
+ }
15254
+
15255
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
15256
+ @media (max-width: 1023px) {
15257
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15258
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15259
+ padding-left: calc(
15260
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15261
+ );
15262
+ }
15263
+
15264
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15265
+ .muka-chat-message-stack__widgets,
15266
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15267
+ .muka-chat-message-stack__reasoning {
15268
+ padding-left: 0;
15269
+ padding-right: calc(
15270
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15271
+ );
15272
+ }
15273
+ }
15274
+
15275
+
15256
15276
  /* ChatChoiceCard */
15257
15277
  /* ChatChoiceCard — compact option rows (experimental) */
15258
15278
  .muka-chat-choice__list {
@@ -15289,208 +15309,52 @@ button.muka-chat-photo-grid__tile:focus-visible {
15289
15309
  }
15290
15310
 
15291
15311
 
15292
- /* ChatAttachmentChip */
15293
- /* ChatAttachmentChip Component Styles */
15312
+ /* Card */
15313
+ /* Card Component Styles - Using Muka Design Tokens */
15294
15314
 
15295
- .muka-chat-attachment-chip {
15296
- position: relative;
15297
- display: inline-flex;
15298
- align-items: center;
15299
- gap: var(--spacing-1);
15300
- max-width: 240px;
15301
- padding: var(--spacing-2) var(--spacing-3);
15302
- background-color: var(--color-surface-level1);
15303
- border: var(--border-width-regular) solid var(--color-border-default);
15304
- border-radius: var(--radius-md);
15315
+ .muka-card {
15316
+ background-color: var(--card-color-default-background);
15317
+ color: var(--card-color-default-foreground);
15318
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15319
+ box-shadow: var(--card-shadow-default);
15320
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15305
15321
  overflow: hidden;
15306
15322
  }
15307
15323
 
15308
- .muka-chat-attachment-chip--uploading {
15309
- padding-bottom: calc(var(--spacing-2) + 2px);
15324
+ /* Padding variants */
15325
+ .muka-card--padding-none {
15326
+ padding: 0;
15310
15327
  }
15311
15328
 
15312
- .muka-chat-attachment-chip--error {
15313
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15329
+ .muka-card--padding-sm {
15330
+ padding: var(--card-padding-sm);
15314
15331
  }
15315
15332
 
15316
- .muka-chat-attachment-chip--disabled {
15317
- opacity: 0.5;
15318
- pointer-events: none;
15333
+ .muka-card--padding-md {
15334
+ padding: var(--card-padding-md);
15319
15335
  }
15320
15336
 
15321
- /* ─── Body (icon + text) ───────────────────────────────── */
15322
-
15323
- .muka-chat-attachment-chip__body {
15324
- display: inline-flex;
15325
- align-items: center;
15326
- gap: var(--spacing-2);
15327
- min-width: 0;
15328
- flex: 1 1 auto;
15329
- background: none;
15330
- border: none;
15331
- padding: 0;
15332
- margin: 0;
15333
- text-align: left;
15334
- color: inherit;
15335
- font: inherit;
15336
- cursor: default;
15337
- -webkit-tap-highlight-color: transparent;
15337
+ .muka-card--padding-lg {
15338
+ padding: var(--card-padding-lg);
15338
15339
  }
15339
15340
 
15340
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15341
- cursor: pointer;
15341
+ /* Radius variants */
15342
+ .muka-card--radius-sm {
15343
+ border-radius: var(--card-radius-sm);
15342
15344
  }
15343
15345
 
15344
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15345
- outline: 2px solid var(--color-action-default);
15346
- outline-offset: 2px;
15347
- border-radius: var(--radius-sm);
15346
+ .muka-card--radius-md {
15347
+ border-radius: var(--card-radius-md);
15348
15348
  }
15349
15349
 
15350
- .muka-chat-attachment-chip__icon {
15351
- display: inline-flex;
15352
- align-items: center;
15353
- justify-content: center;
15354
- flex-shrink: 0;
15355
- color: var(--color-text-subtle-default);
15350
+ .muka-card--radius-lg {
15351
+ border-radius: var(--card-radius-lg);
15356
15352
  }
15357
15353
 
15358
- .muka-chat-attachment-chip__text {
15359
- display: flex;
15360
- flex-direction: column;
15361
- min-width: 0;
15362
- flex: 1 1 auto;
15363
- }
15364
-
15365
- .muka-chat-attachment-chip__name {
15366
- color: var(--color-text-default-default);
15367
- font-family: var(--text-body-sm-regular-fontFamily);
15368
- font-weight: var(--text-body-sm-regular-fontWeight);
15369
- font-size: var(--text-body-sm-regular-fontSize);
15370
- line-height: var(--text-body-sm-regular-lineHeight);
15371
- white-space: nowrap;
15372
- overflow: hidden;
15373
- text-overflow: ellipsis;
15374
- }
15375
-
15376
- .muka-chat-attachment-chip__meta {
15377
- color: var(--color-text-subtle-default);
15378
- font-family: var(--text-body-sm-regular-fontFamily);
15379
- font-weight: var(--text-body-sm-regular-fontWeight);
15380
- font-size: var(--text-body-sm-regular-fontSize);
15381
- line-height: var(--text-body-sm-regular-lineHeight);
15382
- white-space: nowrap;
15383
- overflow: hidden;
15384
- text-overflow: ellipsis;
15385
- }
15386
-
15387
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15388
- color: var(--color-state-error-default, var(--color-text-default-default));
15389
- }
15390
-
15391
- /* ─── Remove button ────────────────────────────────────── */
15392
-
15393
- .muka-chat-attachment-chip__remove {
15394
- display: inline-flex;
15395
- align-items: center;
15396
- justify-content: center;
15397
- width: 20px;
15398
- height: 20px;
15399
- border: none;
15400
- background: none;
15401
- padding: 0;
15402
- border-radius: var(--radius-sm);
15403
- cursor: pointer;
15404
- color: var(--color-text-subtle-default);
15405
- flex-shrink: 0;
15406
- -webkit-tap-highlight-color: transparent;
15407
- }
15408
-
15409
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15410
- color: var(--color-text-default-default);
15411
- background-color: var(--color-surface-level2);
15412
- }
15413
-
15414
- .muka-chat-attachment-chip__remove:focus-visible {
15415
- outline: 2px solid var(--color-action-default);
15416
- outline-offset: 2px;
15417
- }
15418
-
15419
- .muka-chat-attachment-chip__remove:disabled {
15420
- cursor: not-allowed;
15421
- opacity: 0.5;
15422
- }
15423
-
15424
- /* ─── Progress bar ─────────────────────────────────────── */
15425
-
15426
- .muka-chat-attachment-chip__progress {
15427
- position: absolute;
15428
- left: 0;
15429
- right: 0;
15430
- bottom: 0;
15431
- height: 2px;
15432
- background-color: var(--color-surface-level2);
15433
- overflow: hidden;
15434
- }
15435
-
15436
- .muka-chat-attachment-chip__progress-fill {
15437
- display: block;
15438
- height: 100%;
15439
- background-color: var(--color-action-default);
15440
- transition: width 0.16s ease;
15441
- }
15442
-
15443
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15444
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15445
- }
15446
-
15447
-
15448
- /* Card */
15449
- /* Card Component Styles - Using Muka Design Tokens */
15450
-
15451
- .muka-card {
15452
- background-color: var(--card-color-default-background);
15453
- color: var(--card-color-default-foreground);
15454
- border: var(--border-width-regular) solid var(--card-color-default-border);
15455
- box-shadow: var(--card-shadow-default);
15456
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15457
- overflow: hidden;
15458
- }
15459
-
15460
- /* Padding variants */
15461
- .muka-card--padding-none {
15462
- padding: 0;
15463
- }
15464
-
15465
- .muka-card--padding-sm {
15466
- padding: var(--card-padding-sm);
15467
- }
15468
-
15469
- .muka-card--padding-md {
15470
- padding: var(--card-padding-md);
15471
- }
15472
-
15473
- .muka-card--padding-lg {
15474
- padding: var(--card-padding-lg);
15475
- }
15476
-
15477
- /* Radius variants */
15478
- .muka-card--radius-sm {
15479
- border-radius: var(--card-radius-sm);
15480
- }
15481
-
15482
- .muka-card--radius-md {
15483
- border-radius: var(--card-radius-md);
15484
- }
15485
-
15486
- .muka-card--radius-lg {
15487
- border-radius: var(--card-radius-lg);
15488
- }
15489
-
15490
- /* Interactive variant */
15491
- .muka-card--interactive {
15492
- cursor: pointer;
15493
- user-select: none;
15354
+ /* Interactive variant */
15355
+ .muka-card--interactive {
15356
+ cursor: pointer;
15357
+ user-select: none;
15494
15358
  }
15495
15359
 
15496
15360
  .muka-card--interactive:hover {
@@ -16421,102 +16285,258 @@ button.muka-chat-photo-grid__tile:focus-visible {
16421
16285
  }
16422
16286
 
16423
16287
 
16424
- /* BadgeNumber */
16425
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16288
+ /* ChatAttachmentChip */
16289
+ /* ChatAttachmentChip Component Styles */
16426
16290
 
16427
- .muka-badge-number {
16291
+ .muka-chat-attachment-chip {
16292
+ position: relative;
16428
16293
  display: inline-flex;
16429
16294
  align-items: center;
16430
- justify-content: center;
16431
- border-radius: var(--border-radius-full);
16432
- white-space: nowrap;
16433
- user-select: none;
16434
- box-sizing: border-box;
16295
+ gap: var(--spacing-1);
16296
+ max-width: 240px;
16297
+ padding: var(--spacing-2) var(--spacing-3);
16298
+ background-color: var(--color-surface-level1);
16299
+ border: var(--border-width-regular) solid var(--color-border-default);
16300
+ border-radius: var(--radius-md);
16301
+ overflow: hidden;
16435
16302
  }
16436
16303
 
16437
- /*
16438
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16439
- * circle), horizontal padding, and bold label typography. Vertical centering
16440
- * is handled by the fixed height + align-items: center.
16441
- */
16442
- .muka-badge-number--2xs {
16443
- height: var(--badge-number-size-2xs);
16444
- min-width: var(--badge-number-size-2xs);
16445
- padding: 0 var(--badge-number-padding-2xs);
16446
- font-family: var(--text-label-xs-bold-fontFamily);
16447
- font-weight: var(--text-label-xs-bold-fontWeight);
16448
- font-size: var(--text-label-xs-bold-fontSize);
16449
- line-height: var(--text-label-xs-bold-lineHeight);
16304
+ .muka-chat-attachment-chip--uploading {
16305
+ padding-bottom: calc(var(--spacing-2) + 2px);
16450
16306
  }
16451
16307
 
16452
- .muka-badge-number--xs {
16453
- height: var(--badge-number-size-xs);
16454
- min-width: var(--badge-number-size-xs);
16455
- padding: 0 var(--badge-number-padding-xs);
16456
- font-family: var(--text-label-sm-bold-fontFamily);
16457
- font-weight: var(--text-label-sm-bold-fontWeight);
16458
- font-size: var(--text-label-sm-bold-fontSize);
16459
- line-height: var(--text-label-sm-bold-lineHeight);
16308
+ .muka-chat-attachment-chip--error {
16309
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
16460
16310
  }
16461
16311
 
16462
- .muka-badge-number--sm {
16463
- height: var(--badge-number-size-sm);
16464
- min-width: var(--badge-number-size-sm);
16465
- padding: 0 var(--badge-number-padding-sm);
16466
- font-family: var(--text-label-md-bold-fontFamily);
16467
- font-weight: var(--text-label-md-bold-fontWeight);
16468
- font-size: var(--text-label-md-bold-fontSize);
16469
- line-height: var(--text-label-md-bold-lineHeight);
16312
+ .muka-chat-attachment-chip--disabled {
16313
+ opacity: 0.5;
16314
+ pointer-events: none;
16470
16315
  }
16471
16316
 
16472
- .muka-badge-number--md {
16473
- height: var(--badge-number-size-md);
16474
- min-width: var(--badge-number-size-md);
16475
- padding: 0 var(--badge-number-padding-md);
16476
- font-family: var(--text-label-lg-bold-fontFamily);
16477
- font-weight: var(--text-label-lg-bold-fontWeight);
16478
- font-size: var(--text-label-lg-bold-fontSize);
16479
- line-height: var(--text-label-lg-bold-lineHeight);
16480
- }
16317
+ /* ─── Body (icon + text) ───────────────────────────────── */
16481
16318
 
16482
- .muka-badge-number--lg {
16483
- height: var(--badge-number-size-lg);
16484
- min-width: var(--badge-number-size-lg);
16485
- padding: 0 var(--badge-number-padding-lg);
16486
- font-family: var(--text-label-2xl-bold-fontFamily);
16487
- font-weight: var(--text-label-2xl-bold-fontWeight);
16488
- font-size: var(--text-label-2xl-bold-fontSize);
16489
- line-height: var(--text-label-2xl-bold-lineHeight);
16319
+ .muka-chat-attachment-chip__body {
16320
+ display: inline-flex;
16321
+ align-items: center;
16322
+ gap: var(--spacing-2);
16323
+ min-width: 0;
16324
+ flex: 1 1 auto;
16325
+ background: none;
16326
+ border: none;
16327
+ padding: 0;
16328
+ margin: 0;
16329
+ text-align: left;
16330
+ color: inherit;
16331
+ font: inherit;
16332
+ cursor: default;
16333
+ -webkit-tap-highlight-color: transparent;
16490
16334
  }
16491
16335
 
16492
- .muka-badge-number__label {
16493
- /*
16494
- * The badge sets a tight line-height for compact sizing, which would clip
16495
- * glyph descenders; give the label a roomier line-height. Vertical centering
16496
- * is unaffected because the badge height is fixed and content is centered.
16497
- */
16498
- line-height: normal;
16336
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16337
+ cursor: pointer;
16499
16338
  }
16500
16339
 
16501
- /* Neutral variant */
16502
- .muka-badge-number--neutral {
16503
- background-color: var(--color-surface-level1);
16504
- color: var(--color-text-default-default);
16340
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16341
+ outline: 2px solid var(--color-action-default);
16342
+ outline-offset: 2px;
16343
+ border-radius: var(--radius-sm);
16505
16344
  }
16506
16345
 
16507
- /* Info variant */
16508
- .muka-badge-number--info {
16509
- background-color: var(--color-state-info-contrast);
16510
- color: var(--color-text-default-inverse);
16346
+ .muka-chat-attachment-chip__icon {
16347
+ display: inline-flex;
16348
+ align-items: center;
16349
+ justify-content: center;
16350
+ flex-shrink: 0;
16351
+ color: var(--color-text-subtle-default);
16511
16352
  }
16512
16353
 
16513
- /* Success variant */
16514
- .muka-badge-number--success {
16515
- background-color: var(--color-state-success-contrast);
16516
- color: var(--color-text-default-inverse);
16354
+ .muka-chat-attachment-chip__text {
16355
+ display: flex;
16356
+ flex-direction: column;
16357
+ min-width: 0;
16358
+ flex: 1 1 auto;
16517
16359
  }
16518
16360
 
16519
- /* Warning variant */
16361
+ .muka-chat-attachment-chip__name {
16362
+ color: var(--color-text-default-default);
16363
+ font-family: var(--text-body-sm-regular-fontFamily);
16364
+ font-weight: var(--text-body-sm-regular-fontWeight);
16365
+ font-size: var(--text-body-sm-regular-fontSize);
16366
+ line-height: var(--text-body-sm-regular-lineHeight);
16367
+ white-space: nowrap;
16368
+ overflow: hidden;
16369
+ text-overflow: ellipsis;
16370
+ }
16371
+
16372
+ .muka-chat-attachment-chip__meta {
16373
+ color: var(--color-text-subtle-default);
16374
+ font-family: var(--text-body-sm-regular-fontFamily);
16375
+ font-weight: var(--text-body-sm-regular-fontWeight);
16376
+ font-size: var(--text-body-sm-regular-fontSize);
16377
+ line-height: var(--text-body-sm-regular-lineHeight);
16378
+ white-space: nowrap;
16379
+ overflow: hidden;
16380
+ text-overflow: ellipsis;
16381
+ }
16382
+
16383
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16384
+ color: var(--color-state-error-default, var(--color-text-default-default));
16385
+ }
16386
+
16387
+ /* ─── Remove button ────────────────────────────────────── */
16388
+
16389
+ .muka-chat-attachment-chip__remove {
16390
+ display: inline-flex;
16391
+ align-items: center;
16392
+ justify-content: center;
16393
+ width: 20px;
16394
+ height: 20px;
16395
+ border: none;
16396
+ background: none;
16397
+ padding: 0;
16398
+ border-radius: var(--radius-sm);
16399
+ cursor: pointer;
16400
+ color: var(--color-text-subtle-default);
16401
+ flex-shrink: 0;
16402
+ -webkit-tap-highlight-color: transparent;
16403
+ }
16404
+
16405
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16406
+ color: var(--color-text-default-default);
16407
+ background-color: var(--color-surface-level2);
16408
+ }
16409
+
16410
+ .muka-chat-attachment-chip__remove:focus-visible {
16411
+ outline: 2px solid var(--color-action-default);
16412
+ outline-offset: 2px;
16413
+ }
16414
+
16415
+ .muka-chat-attachment-chip__remove:disabled {
16416
+ cursor: not-allowed;
16417
+ opacity: 0.5;
16418
+ }
16419
+
16420
+ /* ─── Progress bar ─────────────────────────────────────── */
16421
+
16422
+ .muka-chat-attachment-chip__progress {
16423
+ position: absolute;
16424
+ left: 0;
16425
+ right: 0;
16426
+ bottom: 0;
16427
+ height: 2px;
16428
+ background-color: var(--color-surface-level2);
16429
+ overflow: hidden;
16430
+ }
16431
+
16432
+ .muka-chat-attachment-chip__progress-fill {
16433
+ display: block;
16434
+ height: 100%;
16435
+ background-color: var(--color-action-default);
16436
+ transition: width 0.16s ease;
16437
+ }
16438
+
16439
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16440
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
16441
+ }
16442
+
16443
+
16444
+ /* BadgeNumber */
16445
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16446
+
16447
+ .muka-badge-number {
16448
+ display: inline-flex;
16449
+ align-items: center;
16450
+ justify-content: center;
16451
+ border-radius: var(--border-radius-full);
16452
+ white-space: nowrap;
16453
+ user-select: none;
16454
+ box-sizing: border-box;
16455
+ }
16456
+
16457
+ /*
16458
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16459
+ * circle), horizontal padding, and bold label typography. Vertical centering
16460
+ * is handled by the fixed height + align-items: center.
16461
+ */
16462
+ .muka-badge-number--2xs {
16463
+ height: var(--badge-number-size-2xs);
16464
+ min-width: var(--badge-number-size-2xs);
16465
+ padding: 0 var(--badge-number-padding-2xs);
16466
+ font-family: var(--text-label-xs-bold-fontFamily);
16467
+ font-weight: var(--text-label-xs-bold-fontWeight);
16468
+ font-size: var(--text-label-xs-bold-fontSize);
16469
+ line-height: var(--text-label-xs-bold-lineHeight);
16470
+ }
16471
+
16472
+ .muka-badge-number--xs {
16473
+ height: var(--badge-number-size-xs);
16474
+ min-width: var(--badge-number-size-xs);
16475
+ padding: 0 var(--badge-number-padding-xs);
16476
+ font-family: var(--text-label-sm-bold-fontFamily);
16477
+ font-weight: var(--text-label-sm-bold-fontWeight);
16478
+ font-size: var(--text-label-sm-bold-fontSize);
16479
+ line-height: var(--text-label-sm-bold-lineHeight);
16480
+ }
16481
+
16482
+ .muka-badge-number--sm {
16483
+ height: var(--badge-number-size-sm);
16484
+ min-width: var(--badge-number-size-sm);
16485
+ padding: 0 var(--badge-number-padding-sm);
16486
+ font-family: var(--text-label-md-bold-fontFamily);
16487
+ font-weight: var(--text-label-md-bold-fontWeight);
16488
+ font-size: var(--text-label-md-bold-fontSize);
16489
+ line-height: var(--text-label-md-bold-lineHeight);
16490
+ }
16491
+
16492
+ .muka-badge-number--md {
16493
+ height: var(--badge-number-size-md);
16494
+ min-width: var(--badge-number-size-md);
16495
+ padding: 0 var(--badge-number-padding-md);
16496
+ font-family: var(--text-label-lg-bold-fontFamily);
16497
+ font-weight: var(--text-label-lg-bold-fontWeight);
16498
+ font-size: var(--text-label-lg-bold-fontSize);
16499
+ line-height: var(--text-label-lg-bold-lineHeight);
16500
+ }
16501
+
16502
+ .muka-badge-number--lg {
16503
+ height: var(--badge-number-size-lg);
16504
+ min-width: var(--badge-number-size-lg);
16505
+ padding: 0 var(--badge-number-padding-lg);
16506
+ font-family: var(--text-label-2xl-bold-fontFamily);
16507
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16508
+ font-size: var(--text-label-2xl-bold-fontSize);
16509
+ line-height: var(--text-label-2xl-bold-lineHeight);
16510
+ }
16511
+
16512
+ .muka-badge-number__label {
16513
+ /*
16514
+ * The badge sets a tight line-height for compact sizing, which would clip
16515
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16516
+ * is unaffected because the badge height is fixed and content is centered.
16517
+ */
16518
+ line-height: normal;
16519
+ }
16520
+
16521
+ /* Neutral variant */
16522
+ .muka-badge-number--neutral {
16523
+ background-color: var(--color-surface-level1);
16524
+ color: var(--color-text-default-default);
16525
+ }
16526
+
16527
+ /* Info variant */
16528
+ .muka-badge-number--info {
16529
+ background-color: var(--color-state-info-contrast);
16530
+ color: var(--color-text-default-inverse);
16531
+ }
16532
+
16533
+ /* Success variant */
16534
+ .muka-badge-number--success {
16535
+ background-color: var(--color-state-success-contrast);
16536
+ color: var(--color-text-default-inverse);
16537
+ }
16538
+
16539
+ /* Warning variant */
16520
16540
  .muka-badge-number--warning {
16521
16541
  background-color: var(--color-state-warning-contrast);
16522
16542
  color: var(--color-text-default-inverse);
@@ -17100,72 +17120,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17100
17120
  }
17101
17121
 
17102
17122
 
17103
- /* Autocomplete */
17104
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17105
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17106
-
17107
- .muka-autocomplete {
17108
- min-width: 200px;
17109
- }
17110
-
17111
- /* Covers the field's outer edge so the menu matches its full width. The menu
17112
- is only open while focused, when the field has the bold border. */
17113
- .muka-autocomplete__menu-anchor {
17114
- position: absolute;
17115
- inset: calc(-1 * var(--border-width-bold));
17116
- z-index: 0;
17117
- margin: 0;
17118
- padding: 0;
17119
- border: none;
17120
- background: transparent;
17121
- pointer-events: none;
17122
- opacity: 0;
17123
- }
17124
-
17125
- /* Keep the field content above the invisible anchor. */
17126
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17127
- position: relative;
17128
- z-index: 1;
17129
- }
17130
-
17131
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17132
- .muka-autocomplete__menu {
17133
- width: var(--radix-dropdown-menu-trigger-width);
17134
- max-width: calc(100vw - 2rem);
17135
- }
17136
-
17137
- /* Suggestions are single-line; long labels truncate. */
17138
- .muka-autocomplete__menu .muka-menu__item-label {
17139
- overflow: hidden;
17140
- text-overflow: ellipsis;
17141
- }
17142
-
17143
- /* Loading and empty rows: menu-row geometry, not selectable. */
17144
- .muka-autocomplete__status {
17145
- display: flex;
17146
- align-items: center;
17147
- gap: var(--menu-item-gap);
17148
- min-height: var(--menu-item-height);
17149
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17150
- color: var(--color-text-subtle-default);
17151
- font-family: var(--text-label-md-regular-fontFamily);
17152
- font-size: var(--text-label-md-regular-fontSize);
17153
- font-weight: var(--text-label-md-regular-fontWeight);
17154
- line-height: var(--text-label-md-regular-lineHeight);
17155
- }
17156
-
17157
- .muka-autocomplete__footer {
17158
- flex-shrink: 0;
17159
- padding: var(--spacing-2) var(--spacing-3);
17160
- border-top: var(--border-width-regular) solid var(--color-border-default);
17161
- color: var(--color-text-subtle-default);
17162
- font-family: var(--text-label-sm-regular-fontFamily);
17163
- font-size: var(--text-label-sm-regular-fontSize);
17164
- font-weight: var(--text-label-sm-regular-fontWeight);
17165
- line-height: var(--text-label-sm-regular-lineHeight);
17166
- }
17167
-
17168
-
17169
17123
  /* AppShell */
17170
17124
  /* AppShell Component Styles */
17171
17125
 
@@ -17288,15 +17242,81 @@ button.muka-chat-photo-grid__tile:focus-visible {
17288
17242
  }
17289
17243
 
17290
17244
 
17291
- /* Alert */
17292
- /* Alert Component Styles - Using Muka Design Tokens */
17245
+ /* Autocomplete */
17246
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17247
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17293
17248
 
17294
- .muka-alert {
17295
- display: flex;
17296
- align-items: flex-start;
17297
- border-radius: var(--alert-radius);
17298
- border: none;
17299
- gap: var(--alert-gap);
17249
+ .muka-autocomplete {
17250
+ min-width: 200px;
17251
+ }
17252
+
17253
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17254
+ is only open while focused, when the field has the bold border. */
17255
+ .muka-autocomplete__menu-anchor {
17256
+ position: absolute;
17257
+ inset: calc(-1 * var(--border-width-bold));
17258
+ z-index: 0;
17259
+ margin: 0;
17260
+ padding: 0;
17261
+ border: none;
17262
+ background: transparent;
17263
+ pointer-events: none;
17264
+ opacity: 0;
17265
+ }
17266
+
17267
+ /* Keep the field content above the invisible anchor. */
17268
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17269
+ position: relative;
17270
+ z-index: 1;
17271
+ }
17272
+
17273
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17274
+ .muka-autocomplete__menu {
17275
+ width: var(--radix-dropdown-menu-trigger-width);
17276
+ max-width: calc(100vw - 2rem);
17277
+ }
17278
+
17279
+ /* Suggestions are single-line; long labels truncate. */
17280
+ .muka-autocomplete__menu .muka-menu__item-label {
17281
+ overflow: hidden;
17282
+ text-overflow: ellipsis;
17283
+ }
17284
+
17285
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17286
+ .muka-autocomplete__status {
17287
+ display: flex;
17288
+ align-items: center;
17289
+ gap: var(--menu-item-gap);
17290
+ min-height: var(--menu-item-height);
17291
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17292
+ color: var(--color-text-subtle-default);
17293
+ font-family: var(--text-label-md-regular-fontFamily);
17294
+ font-size: var(--text-label-md-regular-fontSize);
17295
+ font-weight: var(--text-label-md-regular-fontWeight);
17296
+ line-height: var(--text-label-md-regular-lineHeight);
17297
+ }
17298
+
17299
+ .muka-autocomplete__footer {
17300
+ flex-shrink: 0;
17301
+ padding: var(--spacing-2) var(--spacing-3);
17302
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17303
+ color: var(--color-text-subtle-default);
17304
+ font-family: var(--text-label-sm-regular-fontFamily);
17305
+ font-size: var(--text-label-sm-regular-fontSize);
17306
+ font-weight: var(--text-label-sm-regular-fontWeight);
17307
+ line-height: var(--text-label-sm-regular-lineHeight);
17308
+ }
17309
+
17310
+
17311
+ /* Alert */
17312
+ /* Alert Component Styles - Using Muka Design Tokens */
17313
+
17314
+ .muka-alert {
17315
+ display: flex;
17316
+ align-items: flex-start;
17317
+ border-radius: var(--alert-radius);
17318
+ border: none;
17319
+ gap: var(--alert-gap);
17300
17320
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17301
17321
  }
17302
17322
 
@@ -17668,6 +17688,137 @@ button.muka-chat-photo-grid__tile:focus-visible {
17668
17688
  }
17669
17689
 
17670
17690
 
17691
+ /* Accordion */
17692
+ /* Accordion Component Styles */
17693
+
17694
+ .muka-accordion {
17695
+ width: 100%;
17696
+ }
17697
+
17698
+ /* Item */
17699
+ .muka-accordion__item {
17700
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
17701
+ }
17702
+
17703
+ .muka-accordion__item:last-child {
17704
+ border-bottom: none;
17705
+ }
17706
+
17707
+ /* Header reset */
17708
+ .muka-accordion__header {
17709
+ margin: 0;
17710
+ }
17711
+
17712
+ /* Trigger */
17713
+ .muka-accordion__trigger {
17714
+ display: flex;
17715
+ align-items: center;
17716
+ justify-content: space-between;
17717
+ width: 100%;
17718
+ padding: var(--spacing-4);
17719
+ background: none;
17720
+ border: none;
17721
+ cursor: pointer;
17722
+ font-family: var(--text-label-md-semibold-fontFamily);
17723
+ font-weight: var(--text-label-md-semibold-fontWeight);
17724
+ font-size: var(--text-label-md-semibold-fontSize);
17725
+ line-height: var(--text-label-md-semibold-lineHeight);
17726
+ color: var(--color-text-default-default);
17727
+ text-align: left;
17728
+ gap: var(--spacing-3);
17729
+ transition: background-color 0.15s ease;
17730
+ }
17731
+
17732
+ .muka-accordion__trigger:hover {
17733
+ background-color: var(--color-surface-level1);
17734
+ }
17735
+
17736
+ .muka-accordion__trigger[data-disabled] {
17737
+ cursor: not-allowed;
17738
+ opacity: 0.4;
17739
+ }
17740
+
17741
+ .muka-accordion__trigger-text {
17742
+ flex: 1;
17743
+ }
17744
+
17745
+ /* Chevron rotation */
17746
+ .muka-accordion__chevron {
17747
+ display: inline-flex;
17748
+ align-items: center;
17749
+ color: var(--color-text-subtle-default);
17750
+ transition: transform 200ms ease;
17751
+ }
17752
+
17753
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17754
+ transform: rotate(180deg);
17755
+ }
17756
+
17757
+ /* Content */
17758
+ .muka-accordion__content {
17759
+ overflow: hidden;
17760
+ }
17761
+
17762
+ .muka-accordion__content[data-state='open'] {
17763
+ animation: muka-accordion-slideDown 200ms ease;
17764
+ }
17765
+
17766
+ .muka-accordion__content[data-state='closed'] {
17767
+ animation: muka-accordion-slideUp 200ms ease;
17768
+ }
17769
+
17770
+ @keyframes muka-accordion-slideDown {
17771
+ from {
17772
+ height: 0;
17773
+ }
17774
+ to {
17775
+ height: var(--radix-accordion-content-height);
17776
+ }
17777
+ }
17778
+
17779
+ @keyframes muka-accordion-slideUp {
17780
+ from {
17781
+ height: var(--radix-accordion-content-height);
17782
+ }
17783
+ to {
17784
+ height: 0;
17785
+ }
17786
+ }
17787
+
17788
+ .muka-accordion__content-inner {
17789
+ padding: 0 var(--spacing-4) var(--spacing-5);
17790
+ color: var(--color-text-default-default);
17791
+ }
17792
+
17793
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
17794
+
17795
+ .muka-accordion--flush .muka-accordion__trigger {
17796
+ padding-left: 0;
17797
+ padding-right: 0;
17798
+ }
17799
+
17800
+ .muka-accordion--flush .muka-accordion__content-inner {
17801
+ padding-left: 0;
17802
+ padding-right: 0;
17803
+ }
17804
+
17805
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17806
+
17807
+ .muka-accordion--contained {
17808
+ border: var(--border-width-regular) solid var(--color-border-default);
17809
+ border-radius: var(--radius-md);
17810
+ overflow: hidden;
17811
+ }
17812
+
17813
+ .muka-accordion--contained .muka-accordion__item {
17814
+ background-color: var(--color-surface-level3);
17815
+ }
17816
+
17817
+ .muka-accordion--contained .muka-accordion__item:last-child {
17818
+ border-bottom: none;
17819
+ }
17820
+
17821
+
17671
17822
  /* ActionSheet */
17672
17823
  /* ActionSheet Component Styles */
17673
17824
 
@@ -17809,134 +17960,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17809
17960
  outline-offset: 2px;
17810
17961
  }
17811
17962
 
17812
-
17813
- /* Accordion */
17814
- /* Accordion Component Styles */
17815
-
17816
- .muka-accordion {
17817
- width: 100%;
17818
- }
17819
-
17820
- /* Item */
17821
- .muka-accordion__item {
17822
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
17823
- }
17824
-
17825
- .muka-accordion__item:last-child {
17826
- border-bottom: none;
17827
- }
17828
-
17829
- /* Header reset */
17830
- .muka-accordion__header {
17831
- margin: 0;
17832
- }
17833
-
17834
- /* Trigger */
17835
- .muka-accordion__trigger {
17836
- display: flex;
17837
- align-items: center;
17838
- justify-content: space-between;
17839
- width: 100%;
17840
- padding: var(--spacing-4);
17841
- background: none;
17842
- border: none;
17843
- cursor: pointer;
17844
- font-family: var(--text-label-md-semibold-fontFamily);
17845
- font-weight: var(--text-label-md-semibold-fontWeight);
17846
- font-size: var(--text-label-md-semibold-fontSize);
17847
- line-height: var(--text-label-md-semibold-lineHeight);
17848
- color: var(--color-text-default-default);
17849
- text-align: left;
17850
- gap: var(--spacing-3);
17851
- transition: background-color 0.15s ease;
17852
- }
17853
-
17854
- .muka-accordion__trigger:hover {
17855
- background-color: var(--color-surface-level1);
17856
- }
17857
-
17858
- .muka-accordion__trigger[data-disabled] {
17859
- cursor: not-allowed;
17860
- opacity: 0.4;
17861
- }
17862
-
17863
- .muka-accordion__trigger-text {
17864
- flex: 1;
17865
- }
17866
-
17867
- /* Chevron rotation */
17868
- .muka-accordion__chevron {
17869
- display: inline-flex;
17870
- align-items: center;
17871
- color: var(--color-text-subtle-default);
17872
- transition: transform 200ms ease;
17873
- }
17874
-
17875
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17876
- transform: rotate(180deg);
17877
- }
17878
-
17879
- /* Content */
17880
- .muka-accordion__content {
17881
- overflow: hidden;
17882
- }
17883
-
17884
- .muka-accordion__content[data-state='open'] {
17885
- animation: muka-accordion-slideDown 200ms ease;
17886
- }
17887
-
17888
- .muka-accordion__content[data-state='closed'] {
17889
- animation: muka-accordion-slideUp 200ms ease;
17890
- }
17891
-
17892
- @keyframes muka-accordion-slideDown {
17893
- from {
17894
- height: 0;
17895
- }
17896
- to {
17897
- height: var(--radix-accordion-content-height);
17898
- }
17899
- }
17900
-
17901
- @keyframes muka-accordion-slideUp {
17902
- from {
17903
- height: var(--radix-accordion-content-height);
17904
- }
17905
- to {
17906
- height: 0;
17907
- }
17908
- }
17909
-
17910
- .muka-accordion__content-inner {
17911
- padding: 0 var(--spacing-4) var(--spacing-5);
17912
- color: var(--color-text-default-default);
17913
- }
17914
-
17915
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
17916
-
17917
- .muka-accordion--flush .muka-accordion__trigger {
17918
- padding-left: 0;
17919
- padding-right: 0;
17920
- }
17921
-
17922
- .muka-accordion--flush .muka-accordion__content-inner {
17923
- padding-left: 0;
17924
- padding-right: 0;
17925
- }
17926
-
17927
- /* ─── Variant: contained ────────────────────────────────────────────────── */
17928
-
17929
- .muka-accordion--contained {
17930
- border: var(--border-width-regular) solid var(--color-border-default);
17931
- border-radius: var(--radius-md);
17932
- overflow: hidden;
17933
- }
17934
-
17935
- .muka-accordion--contained .muka-accordion__item {
17936
- background-color: var(--color-surface-level3);
17937
- }
17938
-
17939
- .muka-accordion--contained .muka-accordion__item:last-child {
17940
- border-bottom: none;
17941
- }
17942
-