@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.
@@ -2574,6 +2574,38 @@ body {
2574
2574
  }
2575
2575
 
2576
2576
 
2577
+ /* VoiceMessage */
2578
+ /* VoiceMessage Component Styles */
2579
+
2580
+ .muka-voice-message {
2581
+ display: flex;
2582
+ align-items: center;
2583
+ gap: var(--spacing-3);
2584
+ width: 100%;
2585
+ min-width: min(16rem, 60vw);
2586
+ }
2587
+
2588
+ .muka-voice-message__wave {
2589
+ flex: 1 1 auto;
2590
+ min-width: 0;
2591
+ }
2592
+
2593
+ .muka-voice-message__time {
2594
+ flex: 0 0 auto;
2595
+ white-space: nowrap;
2596
+ font-size: var(--text-label-sm-regular-fontSize);
2597
+ line-height: var(--text-label-sm-leading);
2598
+ font-variant-numeric: tabular-nums;
2599
+ color: var(--color-text-subtle-default);
2600
+ }
2601
+
2602
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2603
+ * to the inverse text token for contrast. */
2604
+ .muka-voice-message--own .muka-voice-message__time {
2605
+ color: var(--color-text-default-inverse);
2606
+ }
2607
+
2608
+
2577
2609
  /* View */
2578
2610
  /* View Component Styles */
2579
2611
 
@@ -2788,38 +2820,6 @@ body {
2788
2820
  }
2789
2821
 
2790
2822
 
2791
- /* VoiceMessage */
2792
- /* VoiceMessage Component Styles */
2793
-
2794
- .muka-voice-message {
2795
- display: flex;
2796
- align-items: center;
2797
- gap: var(--spacing-3);
2798
- width: 100%;
2799
- min-width: min(16rem, 60vw);
2800
- }
2801
-
2802
- .muka-voice-message__wave {
2803
- flex: 1 1 auto;
2804
- min-width: 0;
2805
- }
2806
-
2807
- .muka-voice-message__time {
2808
- flex: 0 0 auto;
2809
- white-space: nowrap;
2810
- font-size: var(--text-label-sm-regular-fontSize);
2811
- line-height: var(--text-label-sm-leading);
2812
- font-variant-numeric: tabular-nums;
2813
- color: var(--color-text-subtle-default);
2814
- }
2815
-
2816
- /* On the tinted own bubble the surface is the action color, so the timer flips
2817
- * to the inverse text token for contrast. */
2818
- .muka-voice-message--own .muka-voice-message__time {
2819
- color: var(--color-text-default-inverse);
2820
- }
2821
-
2822
-
2823
2823
  /* TypingIndicator */
2824
2824
  /* TypingIndicator Component Styles */
2825
2825
 
@@ -4251,88 +4251,6 @@ body {
4251
4251
  }
4252
4252
 
4253
4253
 
4254
- /* TextLink */
4255
- /* TextLink Component Styles - Using Muka Design Tokens */
4256
-
4257
- .muka-text-link {
4258
- display: inline;
4259
- cursor: pointer;
4260
- text-decoration: underline;
4261
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4262
- text-underline-offset: 0.2em;
4263
- text-decoration-thickness: from-font;
4264
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4265
- border-radius: var(--border-radius-sm);
4266
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4267
- }
4268
-
4269
- /* ─── Sizes ───────────────────────────────────────────────
4270
- Mirrors the body text scale so a link matches the copy it sits in. */
4271
- .muka-text-link--sm {
4272
- font-family: var(--text-body-sm-regular-fontFamily);
4273
- font-weight: var(--text-body-sm-regular-fontWeight);
4274
- font-size: var(--text-body-sm-regular-fontSize);
4275
- line-height: var(--text-body-sm-regular-lineHeight);
4276
- }
4277
-
4278
- .muka-text-link--base {
4279
- font-family: var(--text-body-base-regular-fontFamily);
4280
- font-weight: var(--text-body-base-regular-fontWeight);
4281
- font-size: var(--text-body-base-regular-fontSize);
4282
- line-height: var(--text-body-base-regular-lineHeight);
4283
- }
4284
-
4285
- .muka-text-link--lg {
4286
- font-family: var(--text-body-lg-regular-fontFamily);
4287
- font-weight: var(--text-body-lg-regular-fontWeight);
4288
- font-size: var(--text-body-lg-regular-fontSize);
4289
- line-height: var(--text-body-lg-regular-lineHeight);
4290
- }
4291
-
4292
- /* ─── Variant: default (accent) ───────────────────────────
4293
- Visited repeats the default colour on purpose: the design treats visited and
4294
- default the same, and pinning it stops the browser's purple from showing. */
4295
- .muka-text-link--default,
4296
- .muka-text-link--default:visited {
4297
- color: var(--color-text-action-default);
4298
- }
4299
-
4300
- .muka-text-link--default:hover,
4301
- .muka-text-link--default:focus-visible {
4302
- color: var(--color-text-action-hover);
4303
- }
4304
-
4305
- .muka-text-link--default:active {
4306
- color: var(--color-text-action-pressed);
4307
- }
4308
-
4309
- /* ─── Variant: subtle (neutral) ───────────────────────────
4310
- Hover, focus and pressed all darken to the default text colour. */
4311
- .muka-text-link--subtle,
4312
- .muka-text-link--subtle:visited {
4313
- color: var(--color-text-subtle-default);
4314
- }
4315
-
4316
- .muka-text-link--subtle:hover,
4317
- .muka-text-link--subtle:focus-visible,
4318
- .muka-text-link--subtle:active {
4319
- color: var(--color-text-default-default);
4320
- }
4321
-
4322
- /* ─── Focus ───────────────────────────────────────────────
4323
- Same ring as every other focusable Muka component. */
4324
- .muka-text-link:focus-visible {
4325
- outline: 2px solid var(--color-border-focus);
4326
- outline-offset: 2px;
4327
- }
4328
-
4329
- @media (prefers-reduced-motion: reduce) {
4330
- .muka-text-link {
4331
- transition: none;
4332
- }
4333
- }
4334
-
4335
-
4336
4254
  /* Textarea */
4337
4255
  /* Textarea Component Styles - Using Muka Design Tokens */
4338
4256
 
@@ -4497,6 +4415,88 @@ body {
4497
4415
  }
4498
4416
 
4499
4417
 
4418
+ /* TextLink */
4419
+ /* TextLink Component Styles - Using Muka Design Tokens */
4420
+
4421
+ .muka-text-link {
4422
+ display: inline;
4423
+ cursor: pointer;
4424
+ text-decoration: underline;
4425
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4426
+ text-underline-offset: 0.2em;
4427
+ text-decoration-thickness: from-font;
4428
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4429
+ border-radius: var(--border-radius-sm);
4430
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4431
+ }
4432
+
4433
+ /* ─── Sizes ───────────────────────────────────────────────
4434
+ Mirrors the body text scale so a link matches the copy it sits in. */
4435
+ .muka-text-link--sm {
4436
+ font-family: var(--text-body-sm-regular-fontFamily);
4437
+ font-weight: var(--text-body-sm-regular-fontWeight);
4438
+ font-size: var(--text-body-sm-regular-fontSize);
4439
+ line-height: var(--text-body-sm-regular-lineHeight);
4440
+ }
4441
+
4442
+ .muka-text-link--base {
4443
+ font-family: var(--text-body-base-regular-fontFamily);
4444
+ font-weight: var(--text-body-base-regular-fontWeight);
4445
+ font-size: var(--text-body-base-regular-fontSize);
4446
+ line-height: var(--text-body-base-regular-lineHeight);
4447
+ }
4448
+
4449
+ .muka-text-link--lg {
4450
+ font-family: var(--text-body-lg-regular-fontFamily);
4451
+ font-weight: var(--text-body-lg-regular-fontWeight);
4452
+ font-size: var(--text-body-lg-regular-fontSize);
4453
+ line-height: var(--text-body-lg-regular-lineHeight);
4454
+ }
4455
+
4456
+ /* ─── Variant: default (accent) ───────────────────────────
4457
+ Visited repeats the default colour on purpose: the design treats visited and
4458
+ default the same, and pinning it stops the browser's purple from showing. */
4459
+ .muka-text-link--default,
4460
+ .muka-text-link--default:visited {
4461
+ color: var(--color-text-action-default);
4462
+ }
4463
+
4464
+ .muka-text-link--default:hover,
4465
+ .muka-text-link--default:focus-visible {
4466
+ color: var(--color-text-action-hover);
4467
+ }
4468
+
4469
+ .muka-text-link--default:active {
4470
+ color: var(--color-text-action-pressed);
4471
+ }
4472
+
4473
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4474
+ Hover, focus and pressed all darken to the default text colour. */
4475
+ .muka-text-link--subtle,
4476
+ .muka-text-link--subtle:visited {
4477
+ color: var(--color-text-subtle-default);
4478
+ }
4479
+
4480
+ .muka-text-link--subtle:hover,
4481
+ .muka-text-link--subtle:focus-visible,
4482
+ .muka-text-link--subtle:active {
4483
+ color: var(--color-text-default-default);
4484
+ }
4485
+
4486
+ /* ─── Focus ───────────────────────────────────────────────
4487
+ Same ring as every other focusable Muka component. */
4488
+ .muka-text-link:focus-visible {
4489
+ outline: 2px solid var(--color-border-focus);
4490
+ outline-offset: 2px;
4491
+ }
4492
+
4493
+ @media (prefers-reduced-motion: reduce) {
4494
+ .muka-text-link {
4495
+ transition: none;
4496
+ }
4497
+ }
4498
+
4499
+
4500
4500
  /* Tabs */
4501
4501
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
4502
4502
 
@@ -5886,106 +5886,24 @@ body {
5886
5886
  }
5887
5887
 
5888
5888
 
5889
- /* Sheet */
5890
- /* Sheet Component Styles */
5889
+ /* Select */
5890
+ /* Select Component Styles - Aligned with Input for consistency */
5891
5891
 
5892
- /* ─── Backdrop ────────────────────────────────────────── */
5892
+ .muka-select {
5893
+ display: inline-flex;
5894
+ flex-direction: column;
5895
+ gap: var(--spacing-2);
5896
+ }
5893
5897
 
5894
- .muka-sheet__overlay {
5895
- position: fixed;
5896
- inset: 0;
5897
- background-color: var(--color-surface-backdrop);
5898
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5899
- backdrop-filter: blur(var(--effect-blur-backdrop));
5900
- z-index: 50;
5898
+ .muka-select--full-width {
5899
+ width: 100%;
5901
5900
  }
5902
5901
 
5903
- /* ─── Surface ─────────────────────────────────────────── */
5904
-
5905
- .muka-sheet {
5906
- position: fixed;
5907
- left: 0;
5908
- right: 0;
5909
- bottom: 0;
5910
- z-index: 51;
5911
-
5912
- display: flex;
5913
- flex-direction: column;
5914
-
5915
- max-height: 96dvh;
5916
-
5917
- background-color: var(--color-surface-level3);
5918
- border-top-left-radius: var(--radius-lg);
5919
- border-top-right-radius: var(--radius-lg);
5920
- box-shadow: var(--shadow-level5);
5921
-
5922
- outline: none;
5923
- }
5924
-
5925
- /* Safe-area bottom inset for the iPhone home indicator. */
5926
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5927
- padding-bottom: env(safe-area-inset-bottom);
5928
- }
5929
-
5930
- /* ─── Drag handle ─────────────────────────────────────── */
5931
-
5932
- .muka-sheet__handle-container {
5933
- display: flex;
5934
- justify-content: center;
5935
- flex-shrink: 0;
5936
- padding: var(--spacing-3) 0;
5937
- }
5938
-
5939
- .muka-sheet__handle {
5940
- width: var(--dialog-drag-handle-width);
5941
- height: var(--dialog-drag-handle-height);
5942
- background-color: var(--dialog-drag-handle-color);
5943
- border-radius: var(--dialog-drag-handle-radius);
5944
- }
5945
-
5946
- /* ─── Body (scrollable) ───────────────────────────────── */
5947
-
5948
- .muka-sheet__body {
5949
- flex: 1 1 0%;
5950
- min-height: 0;
5951
- overflow-y: auto;
5952
- -webkit-overflow-scrolling: touch;
5953
- overscroll-behavior: contain;
5954
- }
5955
-
5956
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5957
-
5958
- .muka-sheet__sr-title {
5959
- position: absolute;
5960
- width: 1px;
5961
- height: 1px;
5962
- padding: 0;
5963
- margin: -1px;
5964
- overflow: hidden;
5965
- clip: rect(0, 0, 0, 0);
5966
- white-space: nowrap;
5967
- border: 0;
5968
- }
5969
-
5970
-
5971
- /* Select */
5972
- /* Select Component Styles - Aligned with Input for consistency */
5973
-
5974
- .muka-select {
5975
- display: inline-flex;
5976
- flex-direction: column;
5977
- gap: var(--spacing-2);
5978
- }
5979
-
5980
- .muka-select--full-width {
5981
- width: 100%;
5982
- }
5983
-
5984
- /* Label */
5985
- .muka-select__label {
5986
- color: var(--color-text-default-default);
5987
- cursor: pointer;
5988
- }
5902
+ /* Label */
5903
+ .muka-select__label {
5904
+ color: var(--color-text-default-default);
5905
+ cursor: pointer;
5906
+ }
5989
5907
 
5990
5908
  .muka-select__label--sm {
5991
5909
  font-family: var(--text-label-sm-semibold-fontFamily);
@@ -9258,12 +9176,114 @@ button.muka-progress-tracker__tab:focus-visible {
9258
9176
  background-color: var(--color-surface-level3);
9259
9177
  }
9260
9178
 
9261
- /* Without a footer, the content is last and clears the home indicator. */
9262
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9179
+ /*
9180
+ * Actions stick to the bottom edge while the document scrolls, and come to
9181
+ * rest after the content (above a footer). A BottomBar inside clears the home
9182
+ * indicator; this wrapper clears a landscape notch.
9183
+ */
9184
+ .muka-page__actions {
9185
+ position: sticky;
9186
+ bottom: 0;
9187
+ z-index: 10;
9188
+ flex-shrink: 0;
9189
+ padding-left: env(safe-area-inset-left, 0px);
9190
+ padding-right: env(safe-area-inset-right, 0px);
9191
+ background-color: var(--muka-page-background);
9192
+ }
9193
+
9194
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9195
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9196
+ padding-bottom: 0;
9197
+ }
9198
+
9199
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9200
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9263
9201
  padding-bottom: env(safe-area-inset-bottom, 0px);
9264
9202
  }
9265
9203
 
9266
9204
 
9205
+ /* Sheet */
9206
+ /* Sheet Component Styles */
9207
+
9208
+ /* ─── Backdrop ────────────────────────────────────────── */
9209
+
9210
+ .muka-sheet__overlay {
9211
+ position: fixed;
9212
+ inset: 0;
9213
+ background-color: var(--color-surface-backdrop);
9214
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9215
+ backdrop-filter: blur(var(--effect-blur-backdrop));
9216
+ z-index: 50;
9217
+ }
9218
+
9219
+ /* ─── Surface ─────────────────────────────────────────── */
9220
+
9221
+ .muka-sheet {
9222
+ position: fixed;
9223
+ left: 0;
9224
+ right: 0;
9225
+ bottom: 0;
9226
+ z-index: 51;
9227
+
9228
+ display: flex;
9229
+ flex-direction: column;
9230
+
9231
+ max-height: 96dvh;
9232
+
9233
+ background-color: var(--color-surface-level3);
9234
+ border-top-left-radius: var(--radius-lg);
9235
+ border-top-right-radius: var(--radius-lg);
9236
+ box-shadow: var(--shadow-level5);
9237
+
9238
+ outline: none;
9239
+ }
9240
+
9241
+ /* Safe-area bottom inset for the iPhone home indicator. */
9242
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
9243
+ padding-bottom: env(safe-area-inset-bottom);
9244
+ }
9245
+
9246
+ /* ─── Drag handle ─────────────────────────────────────── */
9247
+
9248
+ .muka-sheet__handle-container {
9249
+ display: flex;
9250
+ justify-content: center;
9251
+ flex-shrink: 0;
9252
+ padding: var(--spacing-3) 0;
9253
+ }
9254
+
9255
+ .muka-sheet__handle {
9256
+ width: var(--dialog-drag-handle-width);
9257
+ height: var(--dialog-drag-handle-height);
9258
+ background-color: var(--dialog-drag-handle-color);
9259
+ border-radius: var(--dialog-drag-handle-radius);
9260
+ }
9261
+
9262
+ /* ─── Body (scrollable) ───────────────────────────────── */
9263
+
9264
+ .muka-sheet__body {
9265
+ flex: 1 1 0%;
9266
+ min-height: 0;
9267
+ overflow-y: auto;
9268
+ -webkit-overflow-scrolling: touch;
9269
+ overscroll-behavior: contain;
9270
+ }
9271
+
9272
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
9273
+
9274
+ .muka-sheet__sr-title {
9275
+ position: absolute;
9276
+ width: 1px;
9277
+ height: 1px;
9278
+ padding: 0;
9279
+ margin: -1px;
9280
+ overflow: hidden;
9281
+ clip: rect(0, 0, 0, 0);
9282
+ white-space: nowrap;
9283
+ border: 0;
9284
+ }
9285
+
9286
+
9267
9287
  /* NumberInput */
9268
9288
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9269
9289
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -10981,6 +11001,26 @@ li.muka-listitem {
10981
11001
  }
10982
11002
 
10983
11003
 
11004
+ /* Form */
11005
+ .muka-form {
11006
+ display: flex;
11007
+ flex-direction: column;
11008
+ width: 100%;
11009
+ }
11010
+
11011
+ .muka-form--gap-sm {
11012
+ gap: var(--size-sm);
11013
+ }
11014
+
11015
+ .muka-form--gap-md {
11016
+ gap: var(--size-md);
11017
+ }
11018
+
11019
+ .muka-form--gap-lg {
11020
+ gap: var(--size-lg);
11021
+ }
11022
+
11023
+
10984
11024
  /* Icon */
10985
11025
  /* Icon Component Styles - Using Muka Design Tokens */
10986
11026
 
@@ -11035,26 +11075,6 @@ li.muka-listitem {
11035
11075
  }
11036
11076
 
11037
11077
 
11038
- /* Form */
11039
- .muka-form {
11040
- display: flex;
11041
- flex-direction: column;
11042
- width: 100%;
11043
- }
11044
-
11045
- .muka-form--gap-sm {
11046
- gap: var(--size-sm);
11047
- }
11048
-
11049
- .muka-form--gap-md {
11050
- gap: var(--size-md);
11051
- }
11052
-
11053
- .muka-form--gap-lg {
11054
- gap: var(--size-lg);
11055
- }
11056
-
11057
-
11058
11078
  /* FileUpload */
11059
11079
  /* FileUpload Component Styles */
11060
11080
 
@@ -14281,65 +14301,24 @@ button.muka-chip__trailing[aria-expanded='true'],
14281
14301
  }
14282
14302
 
14283
14303
 
14284
- /* ChatQuestionSeries */
14285
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14286
- .muka-chat-series__dots {
14287
- display: inline-flex;
14288
- align-items: center;
14289
- gap: var(--spacing-1);
14290
- }
14291
-
14292
- .muka-chat-series__dot {
14293
- width: var(--spacing-1);
14294
- height: var(--spacing-1);
14295
- border-radius: var(--border-radius-full);
14296
- background-color: var(--color-border-default);
14297
- }
14298
-
14299
- .muka-chat-series__dot--done {
14300
- background-color: var(--color-text-subtle-default);
14304
+ /* ChatQuestionCard */
14305
+ /*
14306
+ * ChatQuestionCard — in-thread question widget (experimental).
14307
+ * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
14308
+ * compact controls, a footer only once there is something to submit.
14309
+ */
14310
+ .muka-chat-question-card {
14311
+ width: 100%;
14312
+ max-width: 100%;
14313
+ min-width: 0;
14301
14314
  }
14302
14315
 
14303
- .muka-chat-series__dot--current {
14304
- width: var(--spacing-2);
14305
- height: var(--spacing-2);
14306
- background-color: var(--color-text-default-default);
14316
+ .muka-chat-question-card__card {
14317
+ width: 100%;
14318
+ overflow: hidden;
14307
14319
  }
14308
14320
 
14309
- .muka-chat-series__summary {
14310
- display: flex;
14311
- flex-direction: column;
14312
- gap: var(--spacing-2);
14313
- }
14314
-
14315
- .muka-chat-series__summary-row {
14316
- display: flex;
14317
- flex-direction: column;
14318
- }
14319
-
14320
- .muka-chat-series__summary-question {
14321
- color: var(--color-text-subtle-default);
14322
- }
14323
-
14324
-
14325
- /* ChatQuestionCard */
14326
- /*
14327
- * ChatQuestionCard — in-thread question widget (experimental).
14328
- * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
14329
- * compact controls, a footer only once there is something to submit.
14330
- */
14331
- .muka-chat-question-card {
14332
- width: 100%;
14333
- max-width: 100%;
14334
- min-width: 0;
14335
- }
14336
-
14337
- .muka-chat-question-card__card {
14338
- width: 100%;
14339
- overflow: hidden;
14340
- }
14341
-
14342
- .muka-chat-question-card__content {
14321
+ .muka-chat-question-card__content {
14343
14322
  display: flex;
14344
14323
  flex-direction: column;
14345
14324
  gap: var(--spacing-3);
@@ -14523,71 +14502,44 @@ button.muka-chat-photo-grid__tile:focus-visible {
14523
14502
  }
14524
14503
 
14525
14504
 
14526
- /* ChatMessageStack */
14527
- /* ChatMessageStack Component Styles */
14505
+ /* ChatQuestionSeries */
14506
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14507
+ .muka-chat-series__dots {
14508
+ display: inline-flex;
14509
+ align-items: center;
14510
+ gap: var(--spacing-1);
14511
+ }
14528
14512
 
14529
- .muka-chat-message-stack {
14530
- display: flex;
14531
- flex-direction: column;
14532
- gap: var(--chatbubble-stack-gap);
14533
- width: 100%;
14534
- max-width: 100%;
14513
+ .muka-chat-series__dot {
14514
+ width: var(--spacing-1);
14515
+ height: var(--spacing-1);
14516
+ border-radius: var(--border-radius-full);
14517
+ background-color: var(--color-border-default);
14535
14518
  }
14536
14519
 
14537
- .muka-chat-message-stack__messages {
14538
- display: flex;
14539
- flex-direction: column;
14540
- gap: var(--chatbubble-stack-gap);
14541
- width: 100%;
14520
+ .muka-chat-series__dot--done {
14521
+ background-color: var(--color-text-subtle-default);
14542
14522
  }
14543
14523
 
14544
- /*
14545
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14546
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14547
- */
14548
- .muka-chat-message-stack__reasoning {
14549
- min-width: 0;
14524
+ .muka-chat-series__dot--current {
14525
+ width: var(--spacing-2);
14526
+ height: var(--spacing-2);
14527
+ background-color: var(--color-text-default-default);
14550
14528
  }
14551
14529
 
14552
- /* In-thread widgets after the messages share the reasoning's indent. */
14553
- .muka-chat-message-stack__widgets {
14530
+ .muka-chat-series__summary {
14554
14531
  display: flex;
14555
14532
  flex-direction: column;
14556
- gap: var(--chatbubble-stack-gap);
14557
- min-width: 0;
14558
- }
14559
-
14560
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14561
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14562
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14533
+ gap: var(--spacing-2);
14563
14534
  }
14564
14535
 
14565
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14566
- .muka-chat-message-stack__widgets,
14567
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14568
- .muka-chat-message-stack__reasoning {
14569
- padding-left: 0;
14570
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14536
+ .muka-chat-series__summary-row {
14537
+ display: flex;
14538
+ flex-direction: column;
14571
14539
  }
14572
14540
 
14573
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14574
- @media (max-width: 1023px) {
14575
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14576
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14577
- padding-left: calc(
14578
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14579
- );
14580
- }
14581
-
14582
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14583
- .muka-chat-message-stack__widgets,
14584
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14585
- .muka-chat-message-stack__reasoning {
14586
- padding-left: 0;
14587
- padding-right: calc(
14588
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14589
- );
14590
- }
14541
+ .muka-chat-series__summary-question {
14542
+ color: var(--color-text-subtle-default);
14591
14543
  }
14592
14544
 
14593
14545
 
@@ -15319,6 +15271,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
15319
15271
  }
15320
15272
 
15321
15273
 
15274
+ /* ChatMessageStack */
15275
+ /* ChatMessageStack Component Styles */
15276
+
15277
+ .muka-chat-message-stack {
15278
+ display: flex;
15279
+ flex-direction: column;
15280
+ gap: var(--chatbubble-stack-gap);
15281
+ width: 100%;
15282
+ max-width: 100%;
15283
+ }
15284
+
15285
+ .muka-chat-message-stack__messages {
15286
+ display: flex;
15287
+ flex-direction: column;
15288
+ gap: var(--chatbubble-stack-gap);
15289
+ width: 100%;
15290
+ }
15291
+
15292
+ /*
15293
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
15294
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
15295
+ */
15296
+ .muka-chat-message-stack__reasoning {
15297
+ min-width: 0;
15298
+ }
15299
+
15300
+ /* In-thread widgets after the messages share the reasoning's indent. */
15301
+ .muka-chat-message-stack__widgets {
15302
+ display: flex;
15303
+ flex-direction: column;
15304
+ gap: var(--chatbubble-stack-gap);
15305
+ min-width: 0;
15306
+ }
15307
+
15308
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15309
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15310
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15311
+ }
15312
+
15313
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15314
+ .muka-chat-message-stack__widgets,
15315
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15316
+ .muka-chat-message-stack__reasoning {
15317
+ padding-left: 0;
15318
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15319
+ }
15320
+
15321
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
15322
+ @media (max-width: 1023px) {
15323
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15324
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15325
+ padding-left: calc(
15326
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15327
+ );
15328
+ }
15329
+
15330
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15331
+ .muka-chat-message-stack__widgets,
15332
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15333
+ .muka-chat-message-stack__reasoning {
15334
+ padding-left: 0;
15335
+ padding-right: calc(
15336
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15337
+ );
15338
+ }
15339
+ }
15340
+
15341
+
15322
15342
  /* ChatChoiceCard */
15323
15343
  /* ChatChoiceCard — compact option rows (experimental) */
15324
15344
  .muka-chat-choice__list {
@@ -15355,208 +15375,52 @@ button.muka-chat-photo-grid__tile:focus-visible {
15355
15375
  }
15356
15376
 
15357
15377
 
15358
- /* ChatAttachmentChip */
15359
- /* ChatAttachmentChip Component Styles */
15378
+ /* Card */
15379
+ /* Card Component Styles - Using Muka Design Tokens */
15360
15380
 
15361
- .muka-chat-attachment-chip {
15362
- position: relative;
15363
- display: inline-flex;
15364
- align-items: center;
15365
- gap: var(--spacing-1);
15366
- max-width: 240px;
15367
- padding: var(--spacing-2) var(--spacing-3);
15368
- background-color: var(--color-surface-level1);
15369
- border: var(--border-width-regular) solid var(--color-border-default);
15370
- border-radius: var(--radius-md);
15381
+ .muka-card {
15382
+ background-color: var(--card-color-default-background);
15383
+ color: var(--card-color-default-foreground);
15384
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15385
+ box-shadow: var(--card-shadow-default);
15386
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15371
15387
  overflow: hidden;
15372
15388
  }
15373
15389
 
15374
- .muka-chat-attachment-chip--uploading {
15375
- padding-bottom: calc(var(--spacing-2) + 2px);
15390
+ /* Padding variants */
15391
+ .muka-card--padding-none {
15392
+ padding: 0;
15376
15393
  }
15377
15394
 
15378
- .muka-chat-attachment-chip--error {
15379
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15395
+ .muka-card--padding-sm {
15396
+ padding: var(--card-padding-sm);
15380
15397
  }
15381
15398
 
15382
- .muka-chat-attachment-chip--disabled {
15383
- opacity: 0.5;
15384
- pointer-events: none;
15399
+ .muka-card--padding-md {
15400
+ padding: var(--card-padding-md);
15385
15401
  }
15386
15402
 
15387
- /* ─── Body (icon + text) ───────────────────────────────── */
15388
-
15389
- .muka-chat-attachment-chip__body {
15390
- display: inline-flex;
15391
- align-items: center;
15392
- gap: var(--spacing-2);
15393
- min-width: 0;
15394
- flex: 1 1 auto;
15395
- background: none;
15396
- border: none;
15397
- padding: 0;
15398
- margin: 0;
15399
- text-align: left;
15400
- color: inherit;
15401
- font: inherit;
15402
- cursor: default;
15403
- -webkit-tap-highlight-color: transparent;
15403
+ .muka-card--padding-lg {
15404
+ padding: var(--card-padding-lg);
15404
15405
  }
15405
15406
 
15406
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15407
- cursor: pointer;
15407
+ /* Radius variants */
15408
+ .muka-card--radius-sm {
15409
+ border-radius: var(--card-radius-sm);
15408
15410
  }
15409
15411
 
15410
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15411
- outline: 2px solid var(--color-action-default);
15412
- outline-offset: 2px;
15413
- border-radius: var(--radius-sm);
15412
+ .muka-card--radius-md {
15413
+ border-radius: var(--card-radius-md);
15414
15414
  }
15415
15415
 
15416
- .muka-chat-attachment-chip__icon {
15417
- display: inline-flex;
15418
- align-items: center;
15419
- justify-content: center;
15420
- flex-shrink: 0;
15421
- color: var(--color-text-subtle-default);
15416
+ .muka-card--radius-lg {
15417
+ border-radius: var(--card-radius-lg);
15422
15418
  }
15423
15419
 
15424
- .muka-chat-attachment-chip__text {
15425
- display: flex;
15426
- flex-direction: column;
15427
- min-width: 0;
15428
- flex: 1 1 auto;
15429
- }
15430
-
15431
- .muka-chat-attachment-chip__name {
15432
- color: var(--color-text-default-default);
15433
- font-family: var(--text-body-sm-regular-fontFamily);
15434
- font-weight: var(--text-body-sm-regular-fontWeight);
15435
- font-size: var(--text-body-sm-regular-fontSize);
15436
- line-height: var(--text-body-sm-regular-lineHeight);
15437
- white-space: nowrap;
15438
- overflow: hidden;
15439
- text-overflow: ellipsis;
15440
- }
15441
-
15442
- .muka-chat-attachment-chip__meta {
15443
- color: var(--color-text-subtle-default);
15444
- font-family: var(--text-body-sm-regular-fontFamily);
15445
- font-weight: var(--text-body-sm-regular-fontWeight);
15446
- font-size: var(--text-body-sm-regular-fontSize);
15447
- line-height: var(--text-body-sm-regular-lineHeight);
15448
- white-space: nowrap;
15449
- overflow: hidden;
15450
- text-overflow: ellipsis;
15451
- }
15452
-
15453
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15454
- color: var(--color-state-error-default, var(--color-text-default-default));
15455
- }
15456
-
15457
- /* ─── Remove button ────────────────────────────────────── */
15458
-
15459
- .muka-chat-attachment-chip__remove {
15460
- display: inline-flex;
15461
- align-items: center;
15462
- justify-content: center;
15463
- width: 20px;
15464
- height: 20px;
15465
- border: none;
15466
- background: none;
15467
- padding: 0;
15468
- border-radius: var(--radius-sm);
15469
- cursor: pointer;
15470
- color: var(--color-text-subtle-default);
15471
- flex-shrink: 0;
15472
- -webkit-tap-highlight-color: transparent;
15473
- }
15474
-
15475
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15476
- color: var(--color-text-default-default);
15477
- background-color: var(--color-surface-level2);
15478
- }
15479
-
15480
- .muka-chat-attachment-chip__remove:focus-visible {
15481
- outline: 2px solid var(--color-action-default);
15482
- outline-offset: 2px;
15483
- }
15484
-
15485
- .muka-chat-attachment-chip__remove:disabled {
15486
- cursor: not-allowed;
15487
- opacity: 0.5;
15488
- }
15489
-
15490
- /* ─── Progress bar ─────────────────────────────────────── */
15491
-
15492
- .muka-chat-attachment-chip__progress {
15493
- position: absolute;
15494
- left: 0;
15495
- right: 0;
15496
- bottom: 0;
15497
- height: 2px;
15498
- background-color: var(--color-surface-level2);
15499
- overflow: hidden;
15500
- }
15501
-
15502
- .muka-chat-attachment-chip__progress-fill {
15503
- display: block;
15504
- height: 100%;
15505
- background-color: var(--color-action-default);
15506
- transition: width 0.16s ease;
15507
- }
15508
-
15509
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15510
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15511
- }
15512
-
15513
-
15514
- /* Card */
15515
- /* Card Component Styles - Using Muka Design Tokens */
15516
-
15517
- .muka-card {
15518
- background-color: var(--card-color-default-background);
15519
- color: var(--card-color-default-foreground);
15520
- border: var(--border-width-regular) solid var(--card-color-default-border);
15521
- box-shadow: var(--card-shadow-default);
15522
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15523
- overflow: hidden;
15524
- }
15525
-
15526
- /* Padding variants */
15527
- .muka-card--padding-none {
15528
- padding: 0;
15529
- }
15530
-
15531
- .muka-card--padding-sm {
15532
- padding: var(--card-padding-sm);
15533
- }
15534
-
15535
- .muka-card--padding-md {
15536
- padding: var(--card-padding-md);
15537
- }
15538
-
15539
- .muka-card--padding-lg {
15540
- padding: var(--card-padding-lg);
15541
- }
15542
-
15543
- /* Radius variants */
15544
- .muka-card--radius-sm {
15545
- border-radius: var(--card-radius-sm);
15546
- }
15547
-
15548
- .muka-card--radius-md {
15549
- border-radius: var(--card-radius-md);
15550
- }
15551
-
15552
- .muka-card--radius-lg {
15553
- border-radius: var(--card-radius-lg);
15554
- }
15555
-
15556
- /* Interactive variant */
15557
- .muka-card--interactive {
15558
- cursor: pointer;
15559
- user-select: none;
15420
+ /* Interactive variant */
15421
+ .muka-card--interactive {
15422
+ cursor: pointer;
15423
+ user-select: none;
15560
15424
  }
15561
15425
 
15562
15426
  .muka-card--interactive:hover {
@@ -16487,102 +16351,258 @@ button.muka-chat-photo-grid__tile:focus-visible {
16487
16351
  }
16488
16352
 
16489
16353
 
16490
- /* BadgeNumber */
16491
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16354
+ /* ChatAttachmentChip */
16355
+ /* ChatAttachmentChip Component Styles */
16492
16356
 
16493
- .muka-badge-number {
16357
+ .muka-chat-attachment-chip {
16358
+ position: relative;
16494
16359
  display: inline-flex;
16495
16360
  align-items: center;
16496
- justify-content: center;
16497
- border-radius: var(--border-radius-full);
16498
- white-space: nowrap;
16499
- user-select: none;
16500
- box-sizing: border-box;
16361
+ gap: var(--spacing-1);
16362
+ max-width: 240px;
16363
+ padding: var(--spacing-2) var(--spacing-3);
16364
+ background-color: var(--color-surface-level1);
16365
+ border: var(--border-width-regular) solid var(--color-border-default);
16366
+ border-radius: var(--radius-md);
16367
+ overflow: hidden;
16501
16368
  }
16502
16369
 
16503
- /*
16504
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16505
- * circle), horizontal padding, and bold label typography. Vertical centering
16506
- * is handled by the fixed height + align-items: center.
16507
- */
16508
- .muka-badge-number--2xs {
16509
- height: var(--badge-number-size-2xs);
16510
- min-width: var(--badge-number-size-2xs);
16511
- padding: 0 var(--badge-number-padding-2xs);
16512
- font-family: var(--text-label-xs-bold-fontFamily);
16513
- font-weight: var(--text-label-xs-bold-fontWeight);
16514
- font-size: var(--text-label-xs-bold-fontSize);
16515
- line-height: var(--text-label-xs-bold-lineHeight);
16370
+ .muka-chat-attachment-chip--uploading {
16371
+ padding-bottom: calc(var(--spacing-2) + 2px);
16516
16372
  }
16517
16373
 
16518
- .muka-badge-number--xs {
16519
- height: var(--badge-number-size-xs);
16520
- min-width: var(--badge-number-size-xs);
16521
- padding: 0 var(--badge-number-padding-xs);
16522
- font-family: var(--text-label-sm-bold-fontFamily);
16523
- font-weight: var(--text-label-sm-bold-fontWeight);
16524
- font-size: var(--text-label-sm-bold-fontSize);
16525
- line-height: var(--text-label-sm-bold-lineHeight);
16374
+ .muka-chat-attachment-chip--error {
16375
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
16526
16376
  }
16527
16377
 
16528
- .muka-badge-number--sm {
16529
- height: var(--badge-number-size-sm);
16530
- min-width: var(--badge-number-size-sm);
16531
- padding: 0 var(--badge-number-padding-sm);
16532
- font-family: var(--text-label-md-bold-fontFamily);
16533
- font-weight: var(--text-label-md-bold-fontWeight);
16534
- font-size: var(--text-label-md-bold-fontSize);
16535
- line-height: var(--text-label-md-bold-lineHeight);
16378
+ .muka-chat-attachment-chip--disabled {
16379
+ opacity: 0.5;
16380
+ pointer-events: none;
16536
16381
  }
16537
16382
 
16538
- .muka-badge-number--md {
16539
- height: var(--badge-number-size-md);
16540
- min-width: var(--badge-number-size-md);
16541
- padding: 0 var(--badge-number-padding-md);
16542
- font-family: var(--text-label-lg-bold-fontFamily);
16543
- font-weight: var(--text-label-lg-bold-fontWeight);
16544
- font-size: var(--text-label-lg-bold-fontSize);
16545
- line-height: var(--text-label-lg-bold-lineHeight);
16546
- }
16383
+ /* ─── Body (icon + text) ───────────────────────────────── */
16547
16384
 
16548
- .muka-badge-number--lg {
16549
- height: var(--badge-number-size-lg);
16550
- min-width: var(--badge-number-size-lg);
16551
- padding: 0 var(--badge-number-padding-lg);
16552
- font-family: var(--text-label-2xl-bold-fontFamily);
16553
- font-weight: var(--text-label-2xl-bold-fontWeight);
16554
- font-size: var(--text-label-2xl-bold-fontSize);
16555
- line-height: var(--text-label-2xl-bold-lineHeight);
16385
+ .muka-chat-attachment-chip__body {
16386
+ display: inline-flex;
16387
+ align-items: center;
16388
+ gap: var(--spacing-2);
16389
+ min-width: 0;
16390
+ flex: 1 1 auto;
16391
+ background: none;
16392
+ border: none;
16393
+ padding: 0;
16394
+ margin: 0;
16395
+ text-align: left;
16396
+ color: inherit;
16397
+ font: inherit;
16398
+ cursor: default;
16399
+ -webkit-tap-highlight-color: transparent;
16556
16400
  }
16557
16401
 
16558
- .muka-badge-number__label {
16559
- /*
16560
- * The badge sets a tight line-height for compact sizing, which would clip
16561
- * glyph descenders; give the label a roomier line-height. Vertical centering
16562
- * is unaffected because the badge height is fixed and content is centered.
16563
- */
16564
- line-height: normal;
16402
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16403
+ cursor: pointer;
16565
16404
  }
16566
16405
 
16567
- /* Neutral variant */
16568
- .muka-badge-number--neutral {
16569
- background-color: var(--color-surface-level1);
16570
- color: var(--color-text-default-default);
16406
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16407
+ outline: 2px solid var(--color-action-default);
16408
+ outline-offset: 2px;
16409
+ border-radius: var(--radius-sm);
16571
16410
  }
16572
16411
 
16573
- /* Info variant */
16574
- .muka-badge-number--info {
16575
- background-color: var(--color-state-info-contrast);
16576
- color: var(--color-text-default-inverse);
16412
+ .muka-chat-attachment-chip__icon {
16413
+ display: inline-flex;
16414
+ align-items: center;
16415
+ justify-content: center;
16416
+ flex-shrink: 0;
16417
+ color: var(--color-text-subtle-default);
16577
16418
  }
16578
16419
 
16579
- /* Success variant */
16580
- .muka-badge-number--success {
16581
- background-color: var(--color-state-success-contrast);
16582
- color: var(--color-text-default-inverse);
16420
+ .muka-chat-attachment-chip__text {
16421
+ display: flex;
16422
+ flex-direction: column;
16423
+ min-width: 0;
16424
+ flex: 1 1 auto;
16583
16425
  }
16584
16426
 
16585
- /* Warning variant */
16427
+ .muka-chat-attachment-chip__name {
16428
+ color: var(--color-text-default-default);
16429
+ font-family: var(--text-body-sm-regular-fontFamily);
16430
+ font-weight: var(--text-body-sm-regular-fontWeight);
16431
+ font-size: var(--text-body-sm-regular-fontSize);
16432
+ line-height: var(--text-body-sm-regular-lineHeight);
16433
+ white-space: nowrap;
16434
+ overflow: hidden;
16435
+ text-overflow: ellipsis;
16436
+ }
16437
+
16438
+ .muka-chat-attachment-chip__meta {
16439
+ color: var(--color-text-subtle-default);
16440
+ font-family: var(--text-body-sm-regular-fontFamily);
16441
+ font-weight: var(--text-body-sm-regular-fontWeight);
16442
+ font-size: var(--text-body-sm-regular-fontSize);
16443
+ line-height: var(--text-body-sm-regular-lineHeight);
16444
+ white-space: nowrap;
16445
+ overflow: hidden;
16446
+ text-overflow: ellipsis;
16447
+ }
16448
+
16449
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16450
+ color: var(--color-state-error-default, var(--color-text-default-default));
16451
+ }
16452
+
16453
+ /* ─── Remove button ────────────────────────────────────── */
16454
+
16455
+ .muka-chat-attachment-chip__remove {
16456
+ display: inline-flex;
16457
+ align-items: center;
16458
+ justify-content: center;
16459
+ width: 20px;
16460
+ height: 20px;
16461
+ border: none;
16462
+ background: none;
16463
+ padding: 0;
16464
+ border-radius: var(--radius-sm);
16465
+ cursor: pointer;
16466
+ color: var(--color-text-subtle-default);
16467
+ flex-shrink: 0;
16468
+ -webkit-tap-highlight-color: transparent;
16469
+ }
16470
+
16471
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16472
+ color: var(--color-text-default-default);
16473
+ background-color: var(--color-surface-level2);
16474
+ }
16475
+
16476
+ .muka-chat-attachment-chip__remove:focus-visible {
16477
+ outline: 2px solid var(--color-action-default);
16478
+ outline-offset: 2px;
16479
+ }
16480
+
16481
+ .muka-chat-attachment-chip__remove:disabled {
16482
+ cursor: not-allowed;
16483
+ opacity: 0.5;
16484
+ }
16485
+
16486
+ /* ─── Progress bar ─────────────────────────────────────── */
16487
+
16488
+ .muka-chat-attachment-chip__progress {
16489
+ position: absolute;
16490
+ left: 0;
16491
+ right: 0;
16492
+ bottom: 0;
16493
+ height: 2px;
16494
+ background-color: var(--color-surface-level2);
16495
+ overflow: hidden;
16496
+ }
16497
+
16498
+ .muka-chat-attachment-chip__progress-fill {
16499
+ display: block;
16500
+ height: 100%;
16501
+ background-color: var(--color-action-default);
16502
+ transition: width 0.16s ease;
16503
+ }
16504
+
16505
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16506
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
16507
+ }
16508
+
16509
+
16510
+ /* BadgeNumber */
16511
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16512
+
16513
+ .muka-badge-number {
16514
+ display: inline-flex;
16515
+ align-items: center;
16516
+ justify-content: center;
16517
+ border-radius: var(--border-radius-full);
16518
+ white-space: nowrap;
16519
+ user-select: none;
16520
+ box-sizing: border-box;
16521
+ }
16522
+
16523
+ /*
16524
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16525
+ * circle), horizontal padding, and bold label typography. Vertical centering
16526
+ * is handled by the fixed height + align-items: center.
16527
+ */
16528
+ .muka-badge-number--2xs {
16529
+ height: var(--badge-number-size-2xs);
16530
+ min-width: var(--badge-number-size-2xs);
16531
+ padding: 0 var(--badge-number-padding-2xs);
16532
+ font-family: var(--text-label-xs-bold-fontFamily);
16533
+ font-weight: var(--text-label-xs-bold-fontWeight);
16534
+ font-size: var(--text-label-xs-bold-fontSize);
16535
+ line-height: var(--text-label-xs-bold-lineHeight);
16536
+ }
16537
+
16538
+ .muka-badge-number--xs {
16539
+ height: var(--badge-number-size-xs);
16540
+ min-width: var(--badge-number-size-xs);
16541
+ padding: 0 var(--badge-number-padding-xs);
16542
+ font-family: var(--text-label-sm-bold-fontFamily);
16543
+ font-weight: var(--text-label-sm-bold-fontWeight);
16544
+ font-size: var(--text-label-sm-bold-fontSize);
16545
+ line-height: var(--text-label-sm-bold-lineHeight);
16546
+ }
16547
+
16548
+ .muka-badge-number--sm {
16549
+ height: var(--badge-number-size-sm);
16550
+ min-width: var(--badge-number-size-sm);
16551
+ padding: 0 var(--badge-number-padding-sm);
16552
+ font-family: var(--text-label-md-bold-fontFamily);
16553
+ font-weight: var(--text-label-md-bold-fontWeight);
16554
+ font-size: var(--text-label-md-bold-fontSize);
16555
+ line-height: var(--text-label-md-bold-lineHeight);
16556
+ }
16557
+
16558
+ .muka-badge-number--md {
16559
+ height: var(--badge-number-size-md);
16560
+ min-width: var(--badge-number-size-md);
16561
+ padding: 0 var(--badge-number-padding-md);
16562
+ font-family: var(--text-label-lg-bold-fontFamily);
16563
+ font-weight: var(--text-label-lg-bold-fontWeight);
16564
+ font-size: var(--text-label-lg-bold-fontSize);
16565
+ line-height: var(--text-label-lg-bold-lineHeight);
16566
+ }
16567
+
16568
+ .muka-badge-number--lg {
16569
+ height: var(--badge-number-size-lg);
16570
+ min-width: var(--badge-number-size-lg);
16571
+ padding: 0 var(--badge-number-padding-lg);
16572
+ font-family: var(--text-label-2xl-bold-fontFamily);
16573
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16574
+ font-size: var(--text-label-2xl-bold-fontSize);
16575
+ line-height: var(--text-label-2xl-bold-lineHeight);
16576
+ }
16577
+
16578
+ .muka-badge-number__label {
16579
+ /*
16580
+ * The badge sets a tight line-height for compact sizing, which would clip
16581
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16582
+ * is unaffected because the badge height is fixed and content is centered.
16583
+ */
16584
+ line-height: normal;
16585
+ }
16586
+
16587
+ /* Neutral variant */
16588
+ .muka-badge-number--neutral {
16589
+ background-color: var(--color-surface-level1);
16590
+ color: var(--color-text-default-default);
16591
+ }
16592
+
16593
+ /* Info variant */
16594
+ .muka-badge-number--info {
16595
+ background-color: var(--color-state-info-contrast);
16596
+ color: var(--color-text-default-inverse);
16597
+ }
16598
+
16599
+ /* Success variant */
16600
+ .muka-badge-number--success {
16601
+ background-color: var(--color-state-success-contrast);
16602
+ color: var(--color-text-default-inverse);
16603
+ }
16604
+
16605
+ /* Warning variant */
16586
16606
  .muka-badge-number--warning {
16587
16607
  background-color: var(--color-state-warning-contrast);
16588
16608
  color: var(--color-text-default-inverse);
@@ -17166,72 +17186,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17166
17186
  }
17167
17187
 
17168
17188
 
17169
- /* Autocomplete */
17170
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17171
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17172
-
17173
- .muka-autocomplete {
17174
- min-width: 200px;
17175
- }
17176
-
17177
- /* Covers the field's outer edge so the menu matches its full width. The menu
17178
- is only open while focused, when the field has the bold border. */
17179
- .muka-autocomplete__menu-anchor {
17180
- position: absolute;
17181
- inset: calc(-1 * var(--border-width-bold));
17182
- z-index: 0;
17183
- margin: 0;
17184
- padding: 0;
17185
- border: none;
17186
- background: transparent;
17187
- pointer-events: none;
17188
- opacity: 0;
17189
- }
17190
-
17191
- /* Keep the field content above the invisible anchor. */
17192
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17193
- position: relative;
17194
- z-index: 1;
17195
- }
17196
-
17197
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17198
- .muka-autocomplete__menu {
17199
- width: var(--radix-dropdown-menu-trigger-width);
17200
- max-width: calc(100vw - 2rem);
17201
- }
17202
-
17203
- /* Suggestions are single-line; long labels truncate. */
17204
- .muka-autocomplete__menu .muka-menu__item-label {
17205
- overflow: hidden;
17206
- text-overflow: ellipsis;
17207
- }
17208
-
17209
- /* Loading and empty rows: menu-row geometry, not selectable. */
17210
- .muka-autocomplete__status {
17211
- display: flex;
17212
- align-items: center;
17213
- gap: var(--menu-item-gap);
17214
- min-height: var(--menu-item-height);
17215
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17216
- color: var(--color-text-subtle-default);
17217
- font-family: var(--text-label-md-regular-fontFamily);
17218
- font-size: var(--text-label-md-regular-fontSize);
17219
- font-weight: var(--text-label-md-regular-fontWeight);
17220
- line-height: var(--text-label-md-regular-lineHeight);
17221
- }
17222
-
17223
- .muka-autocomplete__footer {
17224
- flex-shrink: 0;
17225
- padding: var(--spacing-2) var(--spacing-3);
17226
- border-top: var(--border-width-regular) solid var(--color-border-default);
17227
- color: var(--color-text-subtle-default);
17228
- font-family: var(--text-label-sm-regular-fontFamily);
17229
- font-size: var(--text-label-sm-regular-fontSize);
17230
- font-weight: var(--text-label-sm-regular-fontWeight);
17231
- line-height: var(--text-label-sm-regular-lineHeight);
17232
- }
17233
-
17234
-
17235
17189
  /* AppShell */
17236
17190
  /* AppShell Component Styles */
17237
17191
 
@@ -17354,15 +17308,81 @@ button.muka-chat-photo-grid__tile:focus-visible {
17354
17308
  }
17355
17309
 
17356
17310
 
17357
- /* Alert */
17358
- /* Alert Component Styles - Using Muka Design Tokens */
17311
+ /* Autocomplete */
17312
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17313
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17359
17314
 
17360
- .muka-alert {
17361
- display: flex;
17362
- align-items: flex-start;
17363
- border-radius: var(--alert-radius);
17364
- border: none;
17365
- gap: var(--alert-gap);
17315
+ .muka-autocomplete {
17316
+ min-width: 200px;
17317
+ }
17318
+
17319
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17320
+ is only open while focused, when the field has the bold border. */
17321
+ .muka-autocomplete__menu-anchor {
17322
+ position: absolute;
17323
+ inset: calc(-1 * var(--border-width-bold));
17324
+ z-index: 0;
17325
+ margin: 0;
17326
+ padding: 0;
17327
+ border: none;
17328
+ background: transparent;
17329
+ pointer-events: none;
17330
+ opacity: 0;
17331
+ }
17332
+
17333
+ /* Keep the field content above the invisible anchor. */
17334
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17335
+ position: relative;
17336
+ z-index: 1;
17337
+ }
17338
+
17339
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17340
+ .muka-autocomplete__menu {
17341
+ width: var(--radix-dropdown-menu-trigger-width);
17342
+ max-width: calc(100vw - 2rem);
17343
+ }
17344
+
17345
+ /* Suggestions are single-line; long labels truncate. */
17346
+ .muka-autocomplete__menu .muka-menu__item-label {
17347
+ overflow: hidden;
17348
+ text-overflow: ellipsis;
17349
+ }
17350
+
17351
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17352
+ .muka-autocomplete__status {
17353
+ display: flex;
17354
+ align-items: center;
17355
+ gap: var(--menu-item-gap);
17356
+ min-height: var(--menu-item-height);
17357
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17358
+ color: var(--color-text-subtle-default);
17359
+ font-family: var(--text-label-md-regular-fontFamily);
17360
+ font-size: var(--text-label-md-regular-fontSize);
17361
+ font-weight: var(--text-label-md-regular-fontWeight);
17362
+ line-height: var(--text-label-md-regular-lineHeight);
17363
+ }
17364
+
17365
+ .muka-autocomplete__footer {
17366
+ flex-shrink: 0;
17367
+ padding: var(--spacing-2) var(--spacing-3);
17368
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17369
+ color: var(--color-text-subtle-default);
17370
+ font-family: var(--text-label-sm-regular-fontFamily);
17371
+ font-size: var(--text-label-sm-regular-fontSize);
17372
+ font-weight: var(--text-label-sm-regular-fontWeight);
17373
+ line-height: var(--text-label-sm-regular-lineHeight);
17374
+ }
17375
+
17376
+
17377
+ /* Alert */
17378
+ /* Alert Component Styles - Using Muka Design Tokens */
17379
+
17380
+ .muka-alert {
17381
+ display: flex;
17382
+ align-items: flex-start;
17383
+ border-radius: var(--alert-radius);
17384
+ border: none;
17385
+ gap: var(--alert-gap);
17366
17386
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17367
17387
  }
17368
17388
 
@@ -17734,6 +17754,137 @@ button.muka-chat-photo-grid__tile:focus-visible {
17734
17754
  }
17735
17755
 
17736
17756
 
17757
+ /* Accordion */
17758
+ /* Accordion Component Styles */
17759
+
17760
+ .muka-accordion {
17761
+ width: 100%;
17762
+ }
17763
+
17764
+ /* Item */
17765
+ .muka-accordion__item {
17766
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
17767
+ }
17768
+
17769
+ .muka-accordion__item:last-child {
17770
+ border-bottom: none;
17771
+ }
17772
+
17773
+ /* Header reset */
17774
+ .muka-accordion__header {
17775
+ margin: 0;
17776
+ }
17777
+
17778
+ /* Trigger */
17779
+ .muka-accordion__trigger {
17780
+ display: flex;
17781
+ align-items: center;
17782
+ justify-content: space-between;
17783
+ width: 100%;
17784
+ padding: var(--spacing-4);
17785
+ background: none;
17786
+ border: none;
17787
+ cursor: pointer;
17788
+ font-family: var(--text-label-md-semibold-fontFamily);
17789
+ font-weight: var(--text-label-md-semibold-fontWeight);
17790
+ font-size: var(--text-label-md-semibold-fontSize);
17791
+ line-height: var(--text-label-md-semibold-lineHeight);
17792
+ color: var(--color-text-default-default);
17793
+ text-align: left;
17794
+ gap: var(--spacing-3);
17795
+ transition: background-color 0.15s ease;
17796
+ }
17797
+
17798
+ .muka-accordion__trigger:hover {
17799
+ background-color: var(--color-surface-level1);
17800
+ }
17801
+
17802
+ .muka-accordion__trigger[data-disabled] {
17803
+ cursor: not-allowed;
17804
+ opacity: 0.4;
17805
+ }
17806
+
17807
+ .muka-accordion__trigger-text {
17808
+ flex: 1;
17809
+ }
17810
+
17811
+ /* Chevron rotation */
17812
+ .muka-accordion__chevron {
17813
+ display: inline-flex;
17814
+ align-items: center;
17815
+ color: var(--color-text-subtle-default);
17816
+ transition: transform 200ms ease;
17817
+ }
17818
+
17819
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17820
+ transform: rotate(180deg);
17821
+ }
17822
+
17823
+ /* Content */
17824
+ .muka-accordion__content {
17825
+ overflow: hidden;
17826
+ }
17827
+
17828
+ .muka-accordion__content[data-state='open'] {
17829
+ animation: muka-accordion-slideDown 200ms ease;
17830
+ }
17831
+
17832
+ .muka-accordion__content[data-state='closed'] {
17833
+ animation: muka-accordion-slideUp 200ms ease;
17834
+ }
17835
+
17836
+ @keyframes muka-accordion-slideDown {
17837
+ from {
17838
+ height: 0;
17839
+ }
17840
+ to {
17841
+ height: var(--radix-accordion-content-height);
17842
+ }
17843
+ }
17844
+
17845
+ @keyframes muka-accordion-slideUp {
17846
+ from {
17847
+ height: var(--radix-accordion-content-height);
17848
+ }
17849
+ to {
17850
+ height: 0;
17851
+ }
17852
+ }
17853
+
17854
+ .muka-accordion__content-inner {
17855
+ padding: 0 var(--spacing-4) var(--spacing-5);
17856
+ color: var(--color-text-default-default);
17857
+ }
17858
+
17859
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
17860
+
17861
+ .muka-accordion--flush .muka-accordion__trigger {
17862
+ padding-left: 0;
17863
+ padding-right: 0;
17864
+ }
17865
+
17866
+ .muka-accordion--flush .muka-accordion__content-inner {
17867
+ padding-left: 0;
17868
+ padding-right: 0;
17869
+ }
17870
+
17871
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17872
+
17873
+ .muka-accordion--contained {
17874
+ border: var(--border-width-regular) solid var(--color-border-default);
17875
+ border-radius: var(--radius-md);
17876
+ overflow: hidden;
17877
+ }
17878
+
17879
+ .muka-accordion--contained .muka-accordion__item {
17880
+ background-color: var(--color-surface-level3);
17881
+ }
17882
+
17883
+ .muka-accordion--contained .muka-accordion__item:last-child {
17884
+ border-bottom: none;
17885
+ }
17886
+
17887
+
17737
17888
  /* ActionSheet */
17738
17889
  /* ActionSheet Component Styles */
17739
17890
 
@@ -17875,134 +18026,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17875
18026
  outline-offset: 2px;
17876
18027
  }
17877
18028
 
17878
-
17879
- /* Accordion */
17880
- /* Accordion Component Styles */
17881
-
17882
- .muka-accordion {
17883
- width: 100%;
17884
- }
17885
-
17886
- /* Item */
17887
- .muka-accordion__item {
17888
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
17889
- }
17890
-
17891
- .muka-accordion__item:last-child {
17892
- border-bottom: none;
17893
- }
17894
-
17895
- /* Header reset */
17896
- .muka-accordion__header {
17897
- margin: 0;
17898
- }
17899
-
17900
- /* Trigger */
17901
- .muka-accordion__trigger {
17902
- display: flex;
17903
- align-items: center;
17904
- justify-content: space-between;
17905
- width: 100%;
17906
- padding: var(--spacing-4);
17907
- background: none;
17908
- border: none;
17909
- cursor: pointer;
17910
- font-family: var(--text-label-md-semibold-fontFamily);
17911
- font-weight: var(--text-label-md-semibold-fontWeight);
17912
- font-size: var(--text-label-md-semibold-fontSize);
17913
- line-height: var(--text-label-md-semibold-lineHeight);
17914
- color: var(--color-text-default-default);
17915
- text-align: left;
17916
- gap: var(--spacing-3);
17917
- transition: background-color 0.15s ease;
17918
- }
17919
-
17920
- .muka-accordion__trigger:hover {
17921
- background-color: var(--color-surface-level1);
17922
- }
17923
-
17924
- .muka-accordion__trigger[data-disabled] {
17925
- cursor: not-allowed;
17926
- opacity: 0.4;
17927
- }
17928
-
17929
- .muka-accordion__trigger-text {
17930
- flex: 1;
17931
- }
17932
-
17933
- /* Chevron rotation */
17934
- .muka-accordion__chevron {
17935
- display: inline-flex;
17936
- align-items: center;
17937
- color: var(--color-text-subtle-default);
17938
- transition: transform 200ms ease;
17939
- }
17940
-
17941
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17942
- transform: rotate(180deg);
17943
- }
17944
-
17945
- /* Content */
17946
- .muka-accordion__content {
17947
- overflow: hidden;
17948
- }
17949
-
17950
- .muka-accordion__content[data-state='open'] {
17951
- animation: muka-accordion-slideDown 200ms ease;
17952
- }
17953
-
17954
- .muka-accordion__content[data-state='closed'] {
17955
- animation: muka-accordion-slideUp 200ms ease;
17956
- }
17957
-
17958
- @keyframes muka-accordion-slideDown {
17959
- from {
17960
- height: 0;
17961
- }
17962
- to {
17963
- height: var(--radix-accordion-content-height);
17964
- }
17965
- }
17966
-
17967
- @keyframes muka-accordion-slideUp {
17968
- from {
17969
- height: var(--radix-accordion-content-height);
17970
- }
17971
- to {
17972
- height: 0;
17973
- }
17974
- }
17975
-
17976
- .muka-accordion__content-inner {
17977
- padding: 0 var(--spacing-4) var(--spacing-5);
17978
- color: var(--color-text-default-default);
17979
- }
17980
-
17981
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
17982
-
17983
- .muka-accordion--flush .muka-accordion__trigger {
17984
- padding-left: 0;
17985
- padding-right: 0;
17986
- }
17987
-
17988
- .muka-accordion--flush .muka-accordion__content-inner {
17989
- padding-left: 0;
17990
- padding-right: 0;
17991
- }
17992
-
17993
- /* ─── Variant: contained ────────────────────────────────────────────────── */
17994
-
17995
- .muka-accordion--contained {
17996
- border: var(--border-width-regular) solid var(--color-border-default);
17997
- border-radius: var(--radius-md);
17998
- overflow: hidden;
17999
- }
18000
-
18001
- .muka-accordion--contained .muka-accordion__item {
18002
- background-color: var(--color-surface-level3);
18003
- }
18004
-
18005
- .muka-accordion--contained .muka-accordion__item:last-child {
18006
- border-bottom: none;
18007
- }
18008
-