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