@revikornmann/muka-ui 0.64.2 → 0.64.4

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.
@@ -2826,6 +2826,49 @@ body {
2826
2826
  }
2827
2827
  }
2828
2828
 
2829
+ /* ─── The same motion without a view transition ──────────
2830
+ When React commits a navigation outside a view transition, the browser
2831
+ animates nothing; viewNavigation.ts then puts a copy of the leaving View
2832
+ (.muka-view-ghost) over the page and marks the new View
2833
+ [data-muka-view-entering]. Pop only on small and medium screens: a push
2834
+ would slide over nothing. */
2835
+ .muka-view-ghost {
2836
+ position: fixed;
2837
+ margin: 0;
2838
+ z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
2839
+ pointer-events: none;
2840
+ }
2841
+
2842
+ @media (max-width: 1023px) {
2843
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2844
+ animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2845
+ }
2846
+
2847
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
2848
+ animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2849
+ }
2850
+ }
2851
+
2852
+ @media (min-width: 1024px) {
2853
+ :root[data-muka-nav] .muka-view-ghost {
2854
+ animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
2855
+ }
2856
+
2857
+ :root[data-muka-nav] .muka-view[data-muka-view-entering] {
2858
+ animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
2859
+ }
2860
+
2861
+ :root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
2862
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2863
+ --muka-view-shift: var(--spacing-4);
2864
+ }
2865
+
2866
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
2867
+ :root[data-muka-nav='push'] .muka-view-ghost {
2868
+ --muka-view-shift: calc(-1 * var(--spacing-4));
2869
+ }
2870
+ }
2871
+
2829
2872
  @keyframes muka-view-shift-in {
2830
2873
  from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
2831
2874
  to { opacity: 1; transform: translateX(0); }
@@ -5902,151 +5945,6 @@ body {
5902
5945
  }
5903
5946
 
5904
5947
 
5905
- /* SiteHeader */
5906
- /* SiteHeader Component Styles */
5907
-
5908
- /*
5909
- * Header for document-scrolling pages. Its colour comes from, in order:
5910
- * `--muka-site-header-background` (set by the consumer), the surrounding
5911
- * Page's `--muka-page-background`, and the base surface.
5912
- *
5913
- * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
5914
- * running edge to edge, the header extends behind the status bar in its own
5915
- * colour and keeps its content clear of a landscape notch.
5916
- */
5917
- .muka-site-header {
5918
- width: 100%;
5919
- flex-shrink: 0;
5920
- background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
5921
- padding-top: env(safe-area-inset-top, 0px);
5922
- }
5923
-
5924
- .muka-site-header--sticky {
5925
- position: sticky;
5926
- top: 0;
5927
- z-index: 30;
5928
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
5929
- }
5930
-
5931
- /*
5932
- * A header that scrolls away would leave the status bar over the content. A
5933
- * fixed strip in the header's colour stays behind the status bar instead.
5934
- * Below Muka's overlays, so a dialog's backdrop dims it with the page.
5935
- */
5936
- .muka-site-header:not(.muka-site-header--sticky)::before {
5937
- content: '';
5938
- position: fixed;
5939
- top: 0;
5940
- left: 0;
5941
- right: 0;
5942
- height: env(safe-area-inset-top, 0px);
5943
- background-color: inherit;
5944
- pointer-events: none;
5945
- z-index: 30;
5946
- }
5947
-
5948
- .muka-site-header__inner {
5949
- display: flex;
5950
- align-items: center;
5951
- gap: var(--spacing-2);
5952
- width: 100%;
5953
- max-width: var(--container-max-width-xl);
5954
- margin: 0 auto;
5955
- padding-block: var(--spacing-6);
5956
- padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
5957
- padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
5958
- }
5959
-
5960
- .muka-site-header__brand {
5961
- display: flex;
5962
- align-items: center;
5963
- flex-shrink: 0;
5964
- min-width: 0;
5965
- }
5966
-
5967
- .muka-site-header__nav {
5968
- display: none;
5969
- align-items: center;
5970
- gap: var(--spacing-1);
5971
- min-width: 0;
5972
- }
5973
-
5974
- .muka-site-header__actions {
5975
- display: flex;
5976
- align-items: center;
5977
- margin-left: auto;
5978
- min-width: 0;
5979
- }
5980
-
5981
- .muka-site-header__action-group {
5982
- display: flex;
5983
- align-items: center;
5984
- gap: var(--spacing-2);
5985
- }
5986
-
5987
- /* Small screens: the compact set replaces the full one. */
5988
- .muka-site-header__action-group--wide {
5989
- display: none;
5990
- }
5991
-
5992
- @media (min-width: 768px) {
5993
- .muka-site-header__inner {
5994
- gap: var(--spacing-4);
5995
- padding-block: var(--spacing-8);
5996
- }
5997
-
5998
- .muka-site-header__nav {
5999
- display: flex;
6000
- }
6001
-
6002
- .muka-site-header__action-group--wide {
6003
- display: flex;
6004
- }
6005
-
6006
- .muka-site-header__action-group--compact {
6007
- display: none;
6008
- }
6009
- }
6010
-
6011
- /*
6012
- * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6013
- * the nav sits between brand and actions (space-between), and the inset grows
6014
- * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6015
- * Safe-area insets still win where they are larger.
6016
- */
6017
- .muka-site-header--full .muka-site-header__inner {
6018
- max-width: none;
6019
- justify-content: space-between;
6020
- }
6021
-
6022
- .muka-site-header--full .muka-site-header__actions {
6023
- margin-left: 0;
6024
- }
6025
-
6026
- @media (min-width: 768px) {
6027
- .muka-site-header--full .muka-site-header__inner {
6028
- padding-block: var(--spacing-4);
6029
- padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6030
- padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6031
- }
6032
- }
6033
-
6034
- @media (min-width: 1536px) {
6035
- .muka-site-header--full .muka-site-header__inner {
6036
- padding-block: var(--spacing-8);
6037
- padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6038
- padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6039
- }
6040
- }
6041
-
6042
- /* Small screens: no nav, so the actions take the end on their own. */
6043
- @media (max-width: 767px) {
6044
- .muka-site-header--full .muka-site-header__actions {
6045
- margin-left: auto;
6046
- }
6047
- }
6048
-
6049
-
6050
5948
  /* Sheet */
6051
5949
  /* Sheet Component Styles */
6052
5950
 
@@ -6323,52 +6221,197 @@ body {
6323
6221
  }
6324
6222
 
6325
6223
 
6326
- /* SegmentGroup */
6327
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
6224
+ /* SiteHeader */
6225
+ /* SiteHeader Component Styles */
6328
6226
 
6329
- /* Container */
6330
- .muka-segmentgroup {
6331
- display: inline-flex;
6332
- align-items: center;
6333
- gap: 0;
6334
- padding: var(--segmentgroup-container-padding);
6335
- background-color: var(--segmentgroup-container-background);
6336
- border-radius: var(--segmentgroup-container-radius);
6337
- position: relative;
6338
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
6227
+ /*
6228
+ * Header for document-scrolling pages. Its colour comes from, in order:
6229
+ * `--muka-site-header-background` (set by the consumer), the surrounding
6230
+ * Page's `--muka-page-background`, and the base surface.
6231
+ *
6232
+ * Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
6233
+ * running edge to edge, the header extends behind the status bar in its own
6234
+ * colour and keeps its content clear of a landscape notch.
6235
+ */
6236
+ .muka-site-header {
6237
+ width: 100%;
6238
+ flex-shrink: 0;
6239
+ background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
6240
+ padding-top: env(safe-area-inset-top, 0px);
6339
6241
  }
6340
6242
 
6341
- /* Inset shadow on container */
6342
- .muka-segmentgroup::after {
6243
+ .muka-site-header--sticky {
6244
+ position: sticky;
6245
+ top: 0;
6246
+ z-index: 30;
6247
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
6248
+ }
6249
+
6250
+ /*
6251
+ * A header that scrolls away would leave the status bar over the content. A
6252
+ * fixed strip in the header's colour stays behind the status bar instead.
6253
+ * Below Muka's overlays, so a dialog's backdrop dims it with the page.
6254
+ */
6255
+ .muka-site-header:not(.muka-site-header--sticky)::before {
6343
6256
  content: '';
6344
- position: absolute;
6345
- inset: 0;
6346
- border-radius: inherit;
6347
- box-shadow: var(--segmentgroup-container-shadow);
6257
+ position: fixed;
6258
+ top: 0;
6259
+ left: 0;
6260
+ right: 0;
6261
+ height: env(safe-area-inset-top, 0px);
6262
+ background-color: inherit;
6348
6263
  pointer-events: none;
6264
+ z-index: 30;
6349
6265
  }
6350
6266
 
6351
- /* Full width variant */
6352
- .muka-segmentgroup--full-width {
6267
+ .muka-site-header__inner {
6268
+ display: flex;
6269
+ align-items: center;
6270
+ gap: var(--spacing-2);
6353
6271
  width: 100%;
6272
+ max-width: var(--container-max-width-xl);
6273
+ margin: 0 auto;
6274
+ padding-block: var(--spacing-6);
6275
+ padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
6276
+ padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
6354
6277
  }
6355
6278
 
6356
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6357
- flex: 1;
6279
+ .muka-site-header__brand {
6280
+ display: flex;
6281
+ align-items: center;
6282
+ flex-shrink: 0;
6283
+ min-width: 0;
6358
6284
  }
6359
6285
 
6360
- /* Pill */
6361
- .muka-segmentgroup__pill {
6362
- position: absolute;
6363
- top: var(--segmentgroup-container-padding);
6364
- bottom: var(--segmentgroup-container-padding);
6365
- left: 0;
6366
- margin: 0;
6367
- background-color: var(--segmentgroup-segment-color-selected-background);
6368
- box-shadow: var(--segmentgroup-segment-shadow-selected);
6369
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6370
- z-index: 0;
6371
- pointer-events: none;
6286
+ .muka-site-header__nav {
6287
+ display: none;
6288
+ align-items: center;
6289
+ gap: var(--spacing-1);
6290
+ min-width: 0;
6291
+ }
6292
+
6293
+ .muka-site-header__actions {
6294
+ display: flex;
6295
+ align-items: center;
6296
+ margin-left: auto;
6297
+ min-width: 0;
6298
+ }
6299
+
6300
+ .muka-site-header__action-group {
6301
+ display: flex;
6302
+ align-items: center;
6303
+ gap: var(--spacing-2);
6304
+ }
6305
+
6306
+ /* Small screens: the compact set replaces the full one. */
6307
+ .muka-site-header__action-group--wide {
6308
+ display: none;
6309
+ }
6310
+
6311
+ @media (min-width: 768px) {
6312
+ .muka-site-header__inner {
6313
+ gap: var(--spacing-4);
6314
+ padding-block: var(--spacing-8);
6315
+ }
6316
+
6317
+ .muka-site-header__nav {
6318
+ display: flex;
6319
+ }
6320
+
6321
+ .muka-site-header__action-group--wide {
6322
+ display: flex;
6323
+ }
6324
+
6325
+ .muka-site-header__action-group--compact {
6326
+ display: none;
6327
+ }
6328
+ }
6329
+
6330
+ /*
6331
+ * layout="full" (Figma Public header, Bouwplan): the content spans the width,
6332
+ * the nav sits between brand and actions (space-between), and the inset grows
6333
+ * with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
6334
+ * Safe-area insets still win where they are larger.
6335
+ */
6336
+ .muka-site-header--full .muka-site-header__inner {
6337
+ max-width: none;
6338
+ justify-content: space-between;
6339
+ }
6340
+
6341
+ .muka-site-header--full .muka-site-header__actions {
6342
+ margin-left: 0;
6343
+ }
6344
+
6345
+ @media (min-width: 768px) {
6346
+ .muka-site-header--full .muka-site-header__inner {
6347
+ padding-block: var(--spacing-4);
6348
+ padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
6349
+ padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
6350
+ }
6351
+ }
6352
+
6353
+ @media (min-width: 1536px) {
6354
+ .muka-site-header--full .muka-site-header__inner {
6355
+ padding-block: var(--spacing-8);
6356
+ padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
6357
+ padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
6358
+ }
6359
+ }
6360
+
6361
+ /* Small screens: no nav, so the actions take the end on their own. */
6362
+ @media (max-width: 767px) {
6363
+ .muka-site-header--full .muka-site-header__actions {
6364
+ margin-left: auto;
6365
+ }
6366
+ }
6367
+
6368
+
6369
+ /* SegmentGroup */
6370
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
6371
+
6372
+ /* Container */
6373
+ .muka-segmentgroup {
6374
+ display: inline-flex;
6375
+ align-items: center;
6376
+ gap: 0;
6377
+ padding: var(--segmentgroup-container-padding);
6378
+ background-color: var(--segmentgroup-container-background);
6379
+ border-radius: var(--segmentgroup-container-radius);
6380
+ position: relative;
6381
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
6382
+ }
6383
+
6384
+ /* Inset shadow on container */
6385
+ .muka-segmentgroup::after {
6386
+ content: '';
6387
+ position: absolute;
6388
+ inset: 0;
6389
+ border-radius: inherit;
6390
+ box-shadow: var(--segmentgroup-container-shadow);
6391
+ pointer-events: none;
6392
+ }
6393
+
6394
+ /* Full width variant */
6395
+ .muka-segmentgroup--full-width {
6396
+ width: 100%;
6397
+ }
6398
+
6399
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
6400
+ flex: 1;
6401
+ }
6402
+
6403
+ /* Pill */
6404
+ .muka-segmentgroup__pill {
6405
+ position: absolute;
6406
+ top: var(--segmentgroup-container-padding);
6407
+ bottom: var(--segmentgroup-container-padding);
6408
+ left: 0;
6409
+ margin: 0;
6410
+ background-color: var(--segmentgroup-segment-color-selected-background);
6411
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
6412
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6413
+ z-index: 0;
6414
+ pointer-events: none;
6372
6415
  }
6373
6416
 
6374
6417
  /* Segment button */
@@ -6534,273 +6577,104 @@ body {
6534
6577
  }
6535
6578
 
6536
6579
 
6537
- /* SearchInput */
6538
- /* SearchInput Component Styles */
6580
+ /* Scrollbar */
6581
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6539
6582
 
6540
- .muka-search-input {
6583
+ .muka-scrollbar {
6541
6584
  display: flex;
6542
- align-items: center;
6543
- gap: var(--spacing-3);
6544
- width: 100%;
6585
+ flex-shrink: 0;
6586
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6587
+ background-color: var(--color-surface-level3);
6588
+ user-select: none;
6545
6589
  }
6546
6590
 
6547
- /* ─── Field wrapper ───────────────────────────────────── */
6548
-
6549
- .muka-search-input__field {
6550
- flex: 1 1 auto;
6551
- display: flex;
6552
- align-items: center;
6553
- gap: var(--spacing-2);
6554
- background-color: var(--input-field-color-default-background);
6555
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
6556
- border-radius: var(--input-field-radius-md);
6557
- padding: 0 var(--input-field-padding-x);
6558
- transition: border-color 0.12s ease, background-color 0.12s ease;
6591
+ .muka-scrollbar--vertical {
6592
+ flex-direction: column;
6593
+ width: var(--size-2xl, 32px);
6594
+ align-self: stretch;
6559
6595
  }
6560
6596
 
6561
- .muka-search-input--focused .muka-search-input__field {
6562
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
6597
+ .muka-scrollbar--horizontal {
6598
+ flex-direction: row;
6599
+ height: var(--size-2xl, 32px);
6600
+ width: 100%;
6601
+ border-left: none;
6602
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6563
6603
  }
6564
6604
 
6565
- /* ─── Sizes ───────────────────────────────────────────── */
6566
-
6567
- .muka-search-input--sm .muka-search-input__field {
6568
- min-height: var(--input-field-height-sm);
6569
- border-radius: var(--input-field-radius-sm);
6605
+ .muka-scrollbar__button {
6606
+ display: flex;
6607
+ align-items: center;
6608
+ justify-content: center;
6609
+ flex-shrink: 0;
6610
+ width: 100%;
6611
+ height: var(--size-2xl, 32px);
6612
+ padding: 0;
6613
+ border: none;
6614
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6615
+ color: var(--color-text-default-default);
6616
+ cursor: pointer;
6570
6617
  }
6571
6618
 
6572
- .muka-search-input--md .muka-search-input__field {
6573
- min-height: var(--input-field-height-default);
6619
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
6620
+ width: var(--size-2xl, 32px);
6621
+ height: 100%;
6574
6622
  }
6575
6623
 
6576
- .muka-search-input--lg .muka-search-input__field {
6577
- min-height: var(--input-field-height-lg);
6578
- border-radius: var(--input-field-radius-lg);
6624
+ .muka-scrollbar__button:hover {
6625
+ background-color: var(--color-surface-hover);
6579
6626
  }
6580
6627
 
6581
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6582
-
6583
- .muka-search-input--embedded .muka-search-input__field {
6584
- background-color: var(--color-surface-level1);
6585
- border-color: transparent;
6628
+ .muka-scrollbar__divider {
6629
+ flex-shrink: 0;
6630
+ width: 100%;
6631
+ height: 1px;
6632
+ background-color: var(--color-border-default);
6586
6633
  }
6587
6634
 
6588
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6589
- border-color: transparent;
6590
- background-color: var(--color-surface-level2);
6635
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
6636
+ width: 1px;
6637
+ height: 100%;
6591
6638
  }
6592
6639
 
6593
- /* ─── Disabled ────────────────────────────────────────── */
6594
-
6595
- .muka-search-input--disabled .muka-search-input__field {
6596
- opacity: 0.5;
6597
- pointer-events: none;
6640
+ .muka-scrollbar__track {
6641
+ position: relative;
6642
+ display: flex;
6643
+ flex-direction: column;
6644
+ flex: 1 1 auto;
6645
+ min-height: 0;
6646
+ width: 100%;
6598
6647
  }
6599
6648
 
6600
- /* ─── Leading icon ────────────────────────────────────── */
6649
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
6650
+ flex-direction: row;
6651
+ min-width: 0;
6652
+ height: 100%;
6653
+ }
6601
6654
 
6602
- .muka-search-input__leading {
6603
- display: inline-flex;
6655
+ .muka-scrollbar__thumb {
6656
+ position: absolute;
6657
+ left: 0;
6658
+ top: 0;
6659
+ z-index: 1;
6660
+ display: flex;
6604
6661
  align-items: center;
6605
6662
  justify-content: center;
6606
- flex-shrink: 0;
6607
- color: var(--color-text-subtle-default);
6663
+ width: 100%;
6664
+ /* Figma: scrollbar thumb fill = surface/level3 */
6665
+ background-color: var(--color-surface-level3);
6666
+ cursor: grab;
6667
+ touch-action: none;
6608
6668
  }
6609
6669
 
6610
- /* ─── Input element ───────────────────────────────────── */
6611
-
6612
- .muka-search-input__input {
6613
- flex: 1 1 auto;
6614
- min-width: 0;
6615
- border: none;
6616
- background: transparent;
6617
- outline: none;
6618
- padding: 0;
6619
- color: var(--color-text-default-default);
6620
- font-family: var(--text-body-base-regular-fontFamily);
6621
- font-weight: var(--text-body-base-regular-fontWeight);
6622
- font-size: var(--text-body-base-regular-fontSize);
6623
- line-height: var(--text-body-base-regular-lineHeight);
6624
- appearance: none;
6625
- -webkit-appearance: none;
6626
- }
6627
-
6628
- .muka-search-input__input::placeholder {
6629
- color: var(--color-text-subtle-default);
6630
- }
6631
-
6632
- /* Hide the browser-supplied clear button (WebKit + Edge) */
6633
- .muka-search-input__input::-webkit-search-cancel-button,
6634
- .muka-search-input__input::-webkit-search-decoration {
6635
- -webkit-appearance: none;
6636
- appearance: none;
6637
- }
6638
-
6639
- .muka-search-input__input::-ms-clear {
6640
- display: none;
6641
- }
6642
-
6643
- /* ─── Trailing slot (loading spinner) ─────────────────── */
6644
-
6645
- .muka-search-input__trailing {
6646
- display: inline-flex;
6647
- align-items: center;
6648
- justify-content: center;
6649
- flex-shrink: 0;
6650
- }
6651
-
6652
- /* ─── Clear button ────────────────────────────────────── */
6653
-
6654
- .muka-search-input__clear {
6655
- display: inline-flex;
6656
- align-items: center;
6657
- justify-content: center;
6658
- width: 20px;
6659
- height: 20px;
6660
- border: none;
6661
- background: none;
6662
- padding: 0;
6663
- cursor: pointer;
6664
- color: var(--color-text-subtle-default);
6665
- flex-shrink: 0;
6666
- -webkit-tap-highlight-color: transparent;
6667
- }
6668
-
6669
- .muka-search-input__clear:hover {
6670
- color: var(--color-text-default-default);
6671
- }
6672
-
6673
- .muka-search-input__clear:focus-visible {
6674
- outline: 2px solid var(--color-action-default);
6675
- outline-offset: 2px;
6676
- border-radius: 50%;
6677
- }
6678
-
6679
- /* ─── Cancel button ───────────────────────────────────── */
6680
-
6681
- .muka-search-input__cancel {
6682
- flex-shrink: 0;
6683
- background: none;
6684
- border: none;
6685
- padding: var(--spacing-1) var(--spacing-2);
6686
- cursor: pointer;
6687
- color: var(--color-action-default);
6688
- font-family: var(--text-label-md-regular-fontFamily);
6689
- font-weight: var(--text-label-md-regular-fontWeight);
6690
- font-size: var(--text-label-md-regular-fontSize);
6691
- line-height: var(--text-label-md-regular-lineHeight);
6692
- -webkit-tap-highlight-color: transparent;
6693
- }
6694
-
6695
- .muka-search-input__cancel:hover {
6696
- color: var(--color-action-hover);
6697
- }
6698
-
6699
- .muka-search-input__cancel:focus-visible {
6700
- outline: 2px solid var(--color-action-default);
6701
- outline-offset: 2px;
6702
- border-radius: var(--radius-sm);
6703
- }
6704
-
6705
-
6706
- /* Scrollbar */
6707
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6708
-
6709
- .muka-scrollbar {
6710
- display: flex;
6711
- flex-shrink: 0;
6712
- border-left: var(--border-width-regular) solid var(--color-border-default);
6713
- background-color: var(--color-surface-level3);
6714
- user-select: none;
6715
- }
6716
-
6717
- .muka-scrollbar--vertical {
6718
- flex-direction: column;
6719
- width: var(--size-2xl, 32px);
6720
- align-self: stretch;
6721
- }
6722
-
6723
- .muka-scrollbar--horizontal {
6724
- flex-direction: row;
6725
- height: var(--size-2xl, 32px);
6726
- width: 100%;
6727
- border-left: none;
6728
- border-top: var(--border-width-regular) solid var(--color-border-default);
6729
- }
6730
-
6731
- .muka-scrollbar__button {
6732
- display: flex;
6733
- align-items: center;
6734
- justify-content: center;
6735
- flex-shrink: 0;
6736
- width: 100%;
6737
- height: var(--size-2xl, 32px);
6738
- padding: 0;
6739
- border: none;
6740
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6741
- color: var(--color-text-default-default);
6742
- cursor: pointer;
6743
- }
6744
-
6745
- .muka-scrollbar--horizontal .muka-scrollbar__button {
6746
- width: var(--size-2xl, 32px);
6747
- height: 100%;
6748
- }
6749
-
6750
- .muka-scrollbar__button:hover {
6751
- background-color: var(--color-surface-hover);
6752
- }
6753
-
6754
- .muka-scrollbar__divider {
6755
- flex-shrink: 0;
6756
- width: 100%;
6757
- height: 1px;
6758
- background-color: var(--color-border-default);
6759
- }
6760
-
6761
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
6762
- width: 1px;
6763
- height: 100%;
6764
- }
6765
-
6766
- .muka-scrollbar__track {
6767
- position: relative;
6768
- display: flex;
6769
- flex-direction: column;
6770
- flex: 1 1 auto;
6771
- min-height: 0;
6772
- width: 100%;
6773
- }
6774
-
6775
- .muka-scrollbar--horizontal .muka-scrollbar__track {
6776
- flex-direction: row;
6777
- min-width: 0;
6778
- height: 100%;
6779
- }
6780
-
6781
- .muka-scrollbar__thumb {
6782
- position: absolute;
6783
- left: 0;
6784
- top: 0;
6785
- z-index: 1;
6786
- display: flex;
6787
- align-items: center;
6788
- justify-content: center;
6789
- width: 100%;
6790
- /* Figma: scrollbar thumb fill = surface/level3 */
6791
- background-color: var(--color-surface-level3);
6792
- cursor: grab;
6793
- touch-action: none;
6794
- }
6795
-
6796
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6797
- left: 0;
6798
- top: 0;
6799
- width: auto;
6800
- height: 100%;
6801
- margin-left: 0;
6802
- margin-top: 0;
6803
- }
6670
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6671
+ left: 0;
6672
+ top: 0;
6673
+ width: auto;
6674
+ height: 100%;
6675
+ margin-left: 0;
6676
+ margin-top: 0;
6677
+ }
6804
6678
 
6805
6679
  .muka-scrollbar__thumb:active {
6806
6680
  cursor: grabbing;
@@ -7096,63 +6970,375 @@ body {
7096
6970
  }
7097
6971
 
7098
6972
 
7099
- /* Radio */
7100
- /* Radio Component Styles - Using Muka Design Tokens */
6973
+ /* SearchInput */
6974
+ /* SearchInput Component Styles */
7101
6975
 
7102
- /* Wrapper - clickable label container */
7103
- .muka-radio {
7104
- display: inline-flex;
6976
+ .muka-search-input {
6977
+ display: flex;
7105
6978
  align-items: center;
7106
- gap: var(--spacing-4);
7107
- cursor: pointer;
7108
- user-select: none;
6979
+ gap: var(--spacing-3);
6980
+ width: 100%;
7109
6981
  }
7110
6982
 
7111
- .muka-radio--disabled {
7112
- cursor: not-allowed;
7113
- opacity: 0.6;
7114
- }
6983
+ /* ─── Field wrapper ───────────────────────────────────── */
7115
6984
 
7116
- /* Control container */
7117
- .muka-radio__control {
7118
- position: relative;
7119
- display: inline-flex;
6985
+ .muka-search-input__field {
6986
+ flex: 1 1 auto;
6987
+ display: flex;
7120
6988
  align-items: center;
7121
- justify-content: center;
7122
- flex-shrink: 0;
6989
+ gap: var(--spacing-2);
6990
+ background-color: var(--input-field-color-default-background);
6991
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6992
+ border-radius: var(--input-field-radius-md);
6993
+ padding: 0 var(--input-field-padding-x);
6994
+ transition: border-color 0.12s ease, background-color 0.12s ease;
7123
6995
  }
7124
6996
 
7125
- /* Hidden native input */
7126
- .muka-radio__input {
7127
- position: absolute;
7128
- width: 1px;
7129
- height: 1px;
7130
- padding: 0;
7131
- margin: -1px;
7132
- overflow: hidden;
7133
- clip: rect(0, 0, 0, 0);
7134
- white-space: nowrap;
7135
- border: 0;
6997
+ .muka-search-input--focused .muka-search-input__field {
6998
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
7136
6999
  }
7137
7000
 
7138
- /* Visual indicator (circle) */
7139
- .muka-radio__indicator {
7140
- display: flex;
7141
- align-items: center;
7142
- justify-content: center;
7143
- width: var(--radio-size-default);
7144
- height: var(--radio-size-default);
7145
- border-radius: var(--border-radius-full);
7146
- background-color: var(--radio-color-default-background);
7147
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7148
- transition: all 0.15s ease;
7149
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7150
- }
7001
+ /* ─── Sizes ───────────────────────────────────────────── */
7151
7002
 
7152
- /* Size variants */
7153
- .muka-radio--sm .muka-radio__indicator {
7154
- width: var(--radio-size-sm);
7155
- height: var(--radio-size-sm);
7003
+ .muka-search-input--sm .muka-search-input__field {
7004
+ min-height: var(--input-field-height-sm);
7005
+ border-radius: var(--input-field-radius-sm);
7006
+ }
7007
+
7008
+ .muka-search-input--md .muka-search-input__field {
7009
+ min-height: var(--input-field-height-default);
7010
+ }
7011
+
7012
+ .muka-search-input--lg .muka-search-input__field {
7013
+ min-height: var(--input-field-height-lg);
7014
+ border-radius: var(--input-field-radius-lg);
7015
+ }
7016
+
7017
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
7018
+
7019
+ .muka-search-input--embedded .muka-search-input__field {
7020
+ background-color: var(--color-surface-level1);
7021
+ border-color: transparent;
7022
+ }
7023
+
7024
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
7025
+ border-color: transparent;
7026
+ background-color: var(--color-surface-level2);
7027
+ }
7028
+
7029
+ /* ─── Disabled ────────────────────────────────────────── */
7030
+
7031
+ .muka-search-input--disabled .muka-search-input__field {
7032
+ opacity: 0.5;
7033
+ pointer-events: none;
7034
+ }
7035
+
7036
+ /* ─── Leading icon ────────────────────────────────────── */
7037
+
7038
+ .muka-search-input__leading {
7039
+ display: inline-flex;
7040
+ align-items: center;
7041
+ justify-content: center;
7042
+ flex-shrink: 0;
7043
+ color: var(--color-text-subtle-default);
7044
+ }
7045
+
7046
+ /* ─── Input element ───────────────────────────────────── */
7047
+
7048
+ .muka-search-input__input {
7049
+ flex: 1 1 auto;
7050
+ min-width: 0;
7051
+ border: none;
7052
+ background: transparent;
7053
+ outline: none;
7054
+ padding: 0;
7055
+ color: var(--color-text-default-default);
7056
+ font-family: var(--text-body-base-regular-fontFamily);
7057
+ font-weight: var(--text-body-base-regular-fontWeight);
7058
+ font-size: var(--text-body-base-regular-fontSize);
7059
+ line-height: var(--text-body-base-regular-lineHeight);
7060
+ appearance: none;
7061
+ -webkit-appearance: none;
7062
+ }
7063
+
7064
+ .muka-search-input__input::placeholder {
7065
+ color: var(--color-text-subtle-default);
7066
+ }
7067
+
7068
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
7069
+ .muka-search-input__input::-webkit-search-cancel-button,
7070
+ .muka-search-input__input::-webkit-search-decoration {
7071
+ -webkit-appearance: none;
7072
+ appearance: none;
7073
+ }
7074
+
7075
+ .muka-search-input__input::-ms-clear {
7076
+ display: none;
7077
+ }
7078
+
7079
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
7080
+
7081
+ .muka-search-input__trailing {
7082
+ display: inline-flex;
7083
+ align-items: center;
7084
+ justify-content: center;
7085
+ flex-shrink: 0;
7086
+ }
7087
+
7088
+ /* ─── Clear button ────────────────────────────────────── */
7089
+
7090
+ .muka-search-input__clear {
7091
+ display: inline-flex;
7092
+ align-items: center;
7093
+ justify-content: center;
7094
+ width: 20px;
7095
+ height: 20px;
7096
+ border: none;
7097
+ background: none;
7098
+ padding: 0;
7099
+ cursor: pointer;
7100
+ color: var(--color-text-subtle-default);
7101
+ flex-shrink: 0;
7102
+ -webkit-tap-highlight-color: transparent;
7103
+ }
7104
+
7105
+ .muka-search-input__clear:hover {
7106
+ color: var(--color-text-default-default);
7107
+ }
7108
+
7109
+ .muka-search-input__clear:focus-visible {
7110
+ outline: 2px solid var(--color-action-default);
7111
+ outline-offset: 2px;
7112
+ border-radius: 50%;
7113
+ }
7114
+
7115
+ /* ─── Cancel button ───────────────────────────────────── */
7116
+
7117
+ .muka-search-input__cancel {
7118
+ flex-shrink: 0;
7119
+ background: none;
7120
+ border: none;
7121
+ padding: var(--spacing-1) var(--spacing-2);
7122
+ cursor: pointer;
7123
+ color: var(--color-action-default);
7124
+ font-family: var(--text-label-md-regular-fontFamily);
7125
+ font-weight: var(--text-label-md-regular-fontWeight);
7126
+ font-size: var(--text-label-md-regular-fontSize);
7127
+ line-height: var(--text-label-md-regular-lineHeight);
7128
+ -webkit-tap-highlight-color: transparent;
7129
+ }
7130
+
7131
+ .muka-search-input__cancel:hover {
7132
+ color: var(--color-action-hover);
7133
+ }
7134
+
7135
+ .muka-search-input__cancel:focus-visible {
7136
+ outline: 2px solid var(--color-action-default);
7137
+ outline-offset: 2px;
7138
+ border-radius: var(--radius-sm);
7139
+ }
7140
+
7141
+
7142
+ /* RadioTile */
7143
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7144
+
7145
+ /* Base tile styles - horizontal */
7146
+ .muka-radio-tile {
7147
+ display: flex;
7148
+ align-items: center;
7149
+ gap: var(--spacing-4);
7150
+ padding: var(--spacing-4);
7151
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7152
+ border-radius: var(--input-field-radius-lg);
7153
+ background-color: var(--color-surface-level3);
7154
+ cursor: pointer;
7155
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7156
+ overflow: hidden;
7157
+ box-sizing: border-box;
7158
+ }
7159
+
7160
+ .muka-radio-tile--disabled {
7161
+ cursor: not-allowed;
7162
+ opacity: 0.6;
7163
+ }
7164
+
7165
+ /* Selected state */
7166
+ .muka-radio-tile[data-checked] {
7167
+ border-width: var(--border-width-bold);
7168
+ border-color: var(--color-action-default);
7169
+ }
7170
+
7171
+ /* Vertical layout */
7172
+ .muka-radio-tile--vertical {
7173
+ flex-direction: column;
7174
+ align-items: center;
7175
+ gap: var(--spacing-2);
7176
+ position: relative;
7177
+ width: 160px;
7178
+ }
7179
+
7180
+ /* Radio container */
7181
+ .muka-radio-tile__radio {
7182
+ flex-shrink: 0;
7183
+ }
7184
+
7185
+ /* Corner-positioned radio for vertical */
7186
+ .muka-radio-tile__radio--corner {
7187
+ position: absolute;
7188
+ top: var(--spacing-4);
7189
+ left: var(--spacing-4);
7190
+ }
7191
+
7192
+ /* Adjust corner position when selected (border is thicker) */
7193
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7194
+ top: calc(var(--spacing-4) - 1px);
7195
+ left: calc(var(--spacing-4) - 1px);
7196
+ }
7197
+
7198
+ /* Icon */
7199
+ .muka-radio-tile__icon {
7200
+ display: flex;
7201
+ align-items: center;
7202
+ justify-content: center;
7203
+ flex-shrink: 0;
7204
+ width: var(--icon-size-default);
7205
+ height: var(--icon-size-default);
7206
+ color: var(--color-text-default-default);
7207
+ }
7208
+
7209
+ .muka-radio-tile__icon svg {
7210
+ width: 100%;
7211
+ height: 100%;
7212
+ }
7213
+
7214
+ /* Image */
7215
+ .muka-radio-tile__image {
7216
+ flex-shrink: 0;
7217
+ overflow: hidden;
7218
+ border-radius: var(--border-radius-sm);
7219
+ }
7220
+
7221
+ .muka-radio-tile__image img {
7222
+ display: block;
7223
+ width: 100%;
7224
+ height: 100%;
7225
+ object-fit: cover;
7226
+ }
7227
+
7228
+ /* Horizontal image sizing */
7229
+ .muka-radio-tile__image--horizontal {
7230
+ width: 40px;
7231
+ height: 40px;
7232
+ }
7233
+
7234
+ /* Vertical image sizing */
7235
+ .muka-radio-tile--vertical .muka-radio-tile__image {
7236
+ width: 100%;
7237
+ aspect-ratio: 4/3;
7238
+ }
7239
+
7240
+ /* Content container */
7241
+ .muka-radio-tile__content {
7242
+ display: flex;
7243
+ flex-direction: column;
7244
+ flex: 1;
7245
+ min-width: 0;
7246
+ gap: var(--spacing-1);
7247
+ }
7248
+
7249
+ /* Label */
7250
+ .muka-radio-tile__label {
7251
+ font-family: var(--text-body-lg-regular-fontFamily);
7252
+ font-weight: var(--text-body-lg-regular-fontWeight);
7253
+ font-size: var(--text-body-lg-regular-fontSize);
7254
+ line-height: var(--text-body-lg-regular-lineHeight);
7255
+ color: var(--color-text-default-default);
7256
+ }
7257
+
7258
+ .muka-radio-tile__label--bold {
7259
+ font-family: var(--text-label-lg-semibold-fontFamily);
7260
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7261
+ font-size: var(--text-label-lg-semibold-fontSize);
7262
+ line-height: var(--text-label-lg-semibold-lineHeight);
7263
+ }
7264
+
7265
+ .muka-radio-tile__label--center {
7266
+ text-align: center;
7267
+ }
7268
+
7269
+ /* Caption */
7270
+ .muka-radio-tile__caption {
7271
+ font-family: var(--text-body-base-regular-fontFamily);
7272
+ font-weight: var(--text-body-base-regular-fontWeight);
7273
+ font-size: var(--text-body-base-regular-fontSize);
7274
+ line-height: var(--text-body-base-regular-lineHeight);
7275
+ color: var(--color-text-subtle-default);
7276
+ }
7277
+
7278
+ /* Disabled states */
7279
+ .muka-radio-tile--disabled .muka-radio-tile__label,
7280
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
7281
+ color: var(--color-text-subtle-default);
7282
+ }
7283
+
7284
+
7285
+ /* Radio */
7286
+ /* Radio Component Styles - Using Muka Design Tokens */
7287
+
7288
+ /* Wrapper - clickable label container */
7289
+ .muka-radio {
7290
+ display: inline-flex;
7291
+ align-items: center;
7292
+ gap: var(--spacing-4);
7293
+ cursor: pointer;
7294
+ user-select: none;
7295
+ }
7296
+
7297
+ .muka-radio--disabled {
7298
+ cursor: not-allowed;
7299
+ opacity: 0.6;
7300
+ }
7301
+
7302
+ /* Control container */
7303
+ .muka-radio__control {
7304
+ position: relative;
7305
+ display: inline-flex;
7306
+ align-items: center;
7307
+ justify-content: center;
7308
+ flex-shrink: 0;
7309
+ }
7310
+
7311
+ /* Hidden native input */
7312
+ .muka-radio__input {
7313
+ position: absolute;
7314
+ width: 1px;
7315
+ height: 1px;
7316
+ padding: 0;
7317
+ margin: -1px;
7318
+ overflow: hidden;
7319
+ clip: rect(0, 0, 0, 0);
7320
+ white-space: nowrap;
7321
+ border: 0;
7322
+ }
7323
+
7324
+ /* Visual indicator (circle) */
7325
+ .muka-radio__indicator {
7326
+ display: flex;
7327
+ align-items: center;
7328
+ justify-content: center;
7329
+ width: var(--radio-size-default);
7330
+ height: var(--radio-size-default);
7331
+ border-radius: var(--border-radius-full);
7332
+ background-color: var(--radio-color-default-background);
7333
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7334
+ transition: all 0.15s ease;
7335
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7336
+ }
7337
+
7338
+ /* Size variants */
7339
+ .muka-radio--sm .muka-radio__indicator {
7340
+ width: var(--radio-size-sm);
7341
+ height: var(--radio-size-sm);
7156
7342
  }
7157
7343
 
7158
7344
  .muka-radio--lg .muka-radio__indicator {
@@ -7772,225 +7958,82 @@ body {
7772
7958
  /* Figma: 12px around, 4px more after the label. */
7773
7959
  padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-3);
7774
7960
  border: none;
7775
- border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
7776
- background-color: var(--muka-progress-tracker-tab-surface);
7777
- color: var(--color-text-default-default);
7778
- font: inherit;
7779
- text-align: left;
7780
- white-space: nowrap;
7781
- filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
7782
- drop-shadow(0 8px 8px var(--color-black-alpha-5));
7783
- }
7784
-
7785
- /* Concave corners: the tab's bottom flares out into the surface. */
7786
- .muka-progress-tracker__tab::before,
7787
- .muka-progress-tracker__tab::after {
7788
- content: '';
7789
- position: absolute;
7790
- bottom: 0;
7791
- width: var(--border-radius-xl);
7792
- height: var(--border-radius-xl);
7793
- pointer-events: none;
7794
- }
7795
-
7796
- .muka-progress-tracker__tab::before {
7797
- right: 100%;
7798
- background: radial-gradient(
7799
- circle at 0 0,
7800
- transparent calc(var(--border-radius-xl) - 0.5px),
7801
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7802
- );
7803
- }
7804
-
7805
- .muka-progress-tracker__tab::after {
7806
- left: 100%;
7807
- background: radial-gradient(
7808
- circle at 100% 0,
7809
- transparent calc(var(--border-radius-xl) - 0.5px),
7810
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7811
- );
7812
- }
7813
-
7814
- .muka-progress-tracker__tab--selected {
7815
- --muka-progress-tracker-tab-surface: var(
7816
- --muka-progress-tracker-tab-selected,
7817
- var(--color-surface-level3)
7818
- );
7819
- }
7820
-
7821
- button.muka-progress-tracker__tab {
7822
- cursor: pointer;
7823
- }
7824
-
7825
- button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
7826
- background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7827
- }
7828
-
7829
- button.muka-progress-tracker__tab:focus-visible {
7830
- outline: 2px solid var(--color-border-focus);
7831
- outline-offset: -2px;
7832
- }
7833
-
7834
- .muka-progress-tracker--tabs .muka-progress-tracker__label {
7835
- font-family: var(--text-body-base-regular-fontFamily);
7836
- font-weight: var(--text-body-base-regular-fontWeight);
7837
- font-size: var(--text-body-base-regular-fontSize);
7838
- line-height: var(--text-body-base-regular-lineHeight);
7839
- }
7840
-
7841
- .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7842
- font-family: var(--text-body-base-bold-fontFamily);
7843
- font-weight: var(--text-body-base-bold-fontWeight);
7844
- }
7845
-
7846
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7847
- font-family: var(--text-label-md-semibold-fontFamily);
7848
- font-weight: var(--text-label-md-semibold-fontWeight);
7849
- font-size: var(--text-label-md-semibold-fontSize);
7850
- line-height: var(--text-label-md-semibold-lineHeight);
7851
- }
7852
-
7853
-
7854
- /* RadioTile */
7855
- /* RadioTile Component Styles - Using Muka Design Tokens */
7856
-
7857
- /* Base tile styles - horizontal */
7858
- .muka-radio-tile {
7859
- display: flex;
7860
- align-items: center;
7861
- gap: var(--spacing-4);
7862
- padding: var(--spacing-4);
7863
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7864
- border-radius: var(--input-field-radius-lg);
7865
- background-color: var(--color-surface-level3);
7866
- cursor: pointer;
7867
- transition: border-color 0.15s ease, border-width 0.15s ease;
7868
- overflow: hidden;
7869
- box-sizing: border-box;
7870
- }
7871
-
7872
- .muka-radio-tile--disabled {
7873
- cursor: not-allowed;
7874
- opacity: 0.6;
7875
- }
7876
-
7877
- /* Selected state */
7878
- .muka-radio-tile[data-checked] {
7879
- border-width: var(--border-width-bold);
7880
- border-color: var(--color-action-default);
7881
- }
7882
-
7883
- /* Vertical layout */
7884
- .muka-radio-tile--vertical {
7885
- flex-direction: column;
7886
- align-items: center;
7887
- gap: var(--spacing-2);
7888
- position: relative;
7889
- width: 160px;
7890
- }
7891
-
7892
- /* Radio container */
7893
- .muka-radio-tile__radio {
7894
- flex-shrink: 0;
7895
- }
7896
-
7897
- /* Corner-positioned radio for vertical */
7898
- .muka-radio-tile__radio--corner {
7899
- position: absolute;
7900
- top: var(--spacing-4);
7901
- left: var(--spacing-4);
7902
- }
7903
-
7904
- /* Adjust corner position when selected (border is thicker) */
7905
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7906
- top: calc(var(--spacing-4) - 1px);
7907
- left: calc(var(--spacing-4) - 1px);
7908
- }
7909
-
7910
- /* Icon */
7911
- .muka-radio-tile__icon {
7912
- display: flex;
7913
- align-items: center;
7914
- justify-content: center;
7915
- flex-shrink: 0;
7916
- width: var(--icon-size-default);
7917
- height: var(--icon-size-default);
7961
+ border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
7962
+ background-color: var(--muka-progress-tracker-tab-surface);
7918
7963
  color: var(--color-text-default-default);
7964
+ font: inherit;
7965
+ text-align: left;
7966
+ white-space: nowrap;
7967
+ filter: drop-shadow(0 0 0.5px var(--color-black-alpha-5))
7968
+ drop-shadow(0 8px 8px var(--color-black-alpha-5));
7919
7969
  }
7920
7970
 
7921
- .muka-radio-tile__icon svg {
7922
- width: 100%;
7923
- height: 100%;
7924
- }
7925
-
7926
- /* Image */
7927
- .muka-radio-tile__image {
7928
- flex-shrink: 0;
7929
- overflow: hidden;
7930
- border-radius: var(--border-radius-sm);
7931
- }
7932
-
7933
- .muka-radio-tile__image img {
7934
- display: block;
7935
- width: 100%;
7936
- height: 100%;
7937
- object-fit: cover;
7971
+ /* Concave corners: the tab's bottom flares out into the surface. */
7972
+ .muka-progress-tracker__tab::before,
7973
+ .muka-progress-tracker__tab::after {
7974
+ content: '';
7975
+ position: absolute;
7976
+ bottom: 0;
7977
+ width: var(--border-radius-xl);
7978
+ height: var(--border-radius-xl);
7979
+ pointer-events: none;
7938
7980
  }
7939
7981
 
7940
- /* Horizontal image sizing */
7941
- .muka-radio-tile__image--horizontal {
7942
- width: 40px;
7943
- height: 40px;
7982
+ .muka-progress-tracker__tab::before {
7983
+ right: 100%;
7984
+ background: radial-gradient(
7985
+ circle at 0 0,
7986
+ transparent calc(var(--border-radius-xl) - 0.5px),
7987
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7988
+ );
7944
7989
  }
7945
7990
 
7946
- /* Vertical image sizing */
7947
- .muka-radio-tile--vertical .muka-radio-tile__image {
7948
- width: 100%;
7949
- aspect-ratio: 4/3;
7991
+ .muka-progress-tracker__tab::after {
7992
+ left: 100%;
7993
+ background: radial-gradient(
7994
+ circle at 100% 0,
7995
+ transparent calc(var(--border-radius-xl) - 0.5px),
7996
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7997
+ );
7950
7998
  }
7951
7999
 
7952
- /* Content container */
7953
- .muka-radio-tile__content {
7954
- display: flex;
7955
- flex-direction: column;
7956
- flex: 1;
7957
- min-width: 0;
7958
- gap: var(--spacing-1);
8000
+ .muka-progress-tracker__tab--selected {
8001
+ --muka-progress-tracker-tab-surface: var(
8002
+ --muka-progress-tracker-tab-selected,
8003
+ var(--color-surface-level3)
8004
+ );
7959
8005
  }
7960
8006
 
7961
- /* Label */
7962
- .muka-radio-tile__label {
7963
- font-family: var(--text-body-lg-regular-fontFamily);
7964
- font-weight: var(--text-body-lg-regular-fontWeight);
7965
- font-size: var(--text-body-lg-regular-fontSize);
7966
- line-height: var(--text-body-lg-regular-lineHeight);
7967
- color: var(--color-text-default-default);
8007
+ button.muka-progress-tracker__tab {
8008
+ cursor: pointer;
7968
8009
  }
7969
8010
 
7970
- .muka-radio-tile__label--bold {
7971
- font-family: var(--text-label-lg-semibold-fontFamily);
7972
- font-weight: var(--text-label-lg-semibold-fontWeight);
7973
- font-size: var(--text-label-lg-semibold-fontSize);
7974
- line-height: var(--text-label-lg-semibold-lineHeight);
8011
+ button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
8012
+ background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7975
8013
  }
7976
8014
 
7977
- .muka-radio-tile__label--center {
7978
- text-align: center;
8015
+ button.muka-progress-tracker__tab:focus-visible {
8016
+ outline: 2px solid var(--color-border-focus);
8017
+ outline-offset: -2px;
7979
8018
  }
7980
8019
 
7981
- /* Caption */
7982
- .muka-radio-tile__caption {
8020
+ .muka-progress-tracker--tabs .muka-progress-tracker__label {
7983
8021
  font-family: var(--text-body-base-regular-fontFamily);
7984
8022
  font-weight: var(--text-body-base-regular-fontWeight);
7985
8023
  font-size: var(--text-body-base-regular-fontSize);
7986
8024
  line-height: var(--text-body-base-regular-lineHeight);
7987
- color: var(--color-text-subtle-default);
7988
8025
  }
7989
8026
 
7990
- /* Disabled states */
7991
- .muka-radio-tile--disabled .muka-radio-tile__label,
7992
- .muka-radio-tile--disabled .muka-radio-tile__icon {
7993
- color: var(--color-text-subtle-default);
8027
+ .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
8028
+ font-family: var(--text-body-base-bold-fontFamily);
8029
+ font-weight: var(--text-body-base-bold-fontWeight);
8030
+ }
8031
+
8032
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
8033
+ font-family: var(--text-label-md-semibold-fontFamily);
8034
+ font-weight: var(--text-label-md-semibold-fontWeight);
8035
+ font-size: var(--text-label-md-semibold-fontSize);
8036
+ line-height: var(--text-label-md-semibold-lineHeight);
7994
8037
  }
7995
8038
 
7996
8039
 
@@ -8400,172 +8443,27 @@ button.muka-progress-tracker__tab:focus-visible {
8400
8443
  .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
8401
8444
  animation: muka-progress-circle-rotate 2s linear infinite;
8402
8445
  }
8403
-
8404
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8405
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8406
- }
8407
-
8408
- @keyframes muka-progress-circle-rotate {
8409
- 100% {
8410
- transform: rotate(270deg);
8411
- }
8412
- }
8413
-
8414
- @keyframes muka-progress-circle-dash {
8415
- 0% {
8416
- stroke-dashoffset: 220;
8417
- }
8418
- 50% {
8419
- stroke-dashoffset: 70;
8420
- }
8421
- 100% {
8422
- stroke-dashoffset: 220;
8423
- }
8424
- }
8425
-
8426
-
8427
- /* ProfileBadge */
8428
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
8429
-
8430
- .muka-profile-badge {
8431
- display: inline-flex;
8432
- max-width: 100%;
8433
- min-width: 0;
8434
- align-items: center;
8435
- font-family: var(--text-body-base-regular-fontFamily);
8436
- }
8437
-
8438
- /* Size variants */
8439
- .muka-profile-badge--lg {
8440
- gap: var(--spacing-4); /* 16px */
8441
- }
8442
-
8443
- .muka-profile-badge--md {
8444
- gap: var(--spacing-3); /* 12px */
8445
- }
8446
-
8447
- .muka-profile-badge--sm {
8448
- gap: var(--spacing-2); /* 8px */
8449
- }
8450
-
8451
- .muka-profile-badge__avatar {
8452
- flex-shrink: 0;
8453
- }
8454
-
8455
- /* Text stack */
8456
- .muka-profile-badge__text {
8457
- display: flex;
8458
- flex-direction: column;
8459
- align-items: flex-start;
8460
- min-width: 0;
8461
- }
8462
-
8463
- .muka-profile-badge__name {
8464
- max-width: 100%;
8465
- overflow: hidden;
8466
- text-overflow: ellipsis;
8467
- white-space: nowrap;
8468
- font-family: var(--text-body-base-regular-fontFamily);
8469
- font-size: var(--text-body-base-regular-fontSize);
8470
- font-weight: var(--text-body-base-regular-fontWeight);
8471
- line-height: var(--text-body-base-regular-lineHeight);
8472
- color: var(--color-text-default-default);
8473
- }
8474
-
8475
- .muka-profile-badge__email {
8476
- font-family: var(--text-body-xs-regular-fontFamily);
8477
- font-size: var(--text-body-xs-regular-fontSize);
8478
- font-weight: var(--text-body-xs-regular-fontWeight);
8479
- line-height: var(--text-body-xs-regular-lineHeight);
8480
- color: var(--color-text-subtle-default);
8481
- }
8482
-
8483
- /* Clickable state */
8484
- .muka-profile-badge--clickable {
8485
- cursor: pointer;
8486
- border: none;
8487
- background: none;
8488
- padding: 0;
8489
- text-align: left;
8490
- border-radius: var(--radius-md);
8491
- transition: opacity 0.2s ease;
8492
- }
8493
-
8494
- .muka-profile-badge--clickable:hover {
8495
- opacity: 0.9;
8496
- }
8497
-
8498
- .muka-profile-badge--clickable:active {
8499
- opacity: 0.8;
8500
- }
8501
-
8502
- .muka-profile-badge--clickable:focus-visible {
8503
- outline: 2px solid var(--color-border-focus);
8504
- outline-offset: 2px;
8505
- }
8506
-
8507
- /* Trailing chevron: the badge opens a menu */
8508
- .muka-profile-badge__chevron {
8509
- flex-shrink: 0;
8510
- }
8511
-
8512
- /*
8513
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8514
- * header): 4px inset on the avatar side, 12px after the chevron. The border
8515
- * is an inset shadow so it appears on hover and while the menu is open
8516
- * without moving the content.
8517
- */
8518
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8519
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8520
- border-radius: var(--radius-full);
8521
- transition: box-shadow 0.2s ease;
8522
- }
8523
-
8524
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8525
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8526
- opacity: 1;
8527
- }
8528
-
8529
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8530
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8531
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8532
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8533
- }
8534
-
8535
- /* A badge without an avatar keeps the 12px start inset */
8536
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8537
- padding-left: var(--spacing-3);
8538
- }
8539
-
8540
-
8541
- /* Popover */
8542
- /* Popover Component Styles */
8543
-
8544
- .muka-popover__content {
8545
- background-color: var(--color-surface-level3);
8546
- border: var(--border-width-regular) solid var(--color-border-default);
8547
- border-radius: var(--radius-md);
8548
- padding: var(--spacing-4);
8549
- box-shadow: var(--shadow-level3);
8550
- max-width: 20rem;
8551
- z-index: 50;
8552
- animation: muka-popover-fade-in 150ms ease;
8446
+
8447
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
8448
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
8553
8449
  }
8554
8450
 
8555
- @keyframes muka-popover-fade-in {
8556
- from {
8557
- opacity: 0;
8558
- transform: scale(0.96);
8559
- }
8560
- to {
8561
- opacity: 1;
8562
- transform: scale(1);
8451
+ @keyframes muka-progress-circle-rotate {
8452
+ 100% {
8453
+ transform: rotate(270deg);
8563
8454
  }
8564
8455
  }
8565
8456
 
8566
- /* Arrow */
8567
- .muka-popover__arrow {
8568
- fill: var(--color-surface-level3);
8457
+ @keyframes muka-progress-circle-dash {
8458
+ 0% {
8459
+ stroke-dashoffset: 220;
8460
+ }
8461
+ 50% {
8462
+ stroke-dashoffset: 70;
8463
+ }
8464
+ 100% {
8465
+ stroke-dashoffset: 220;
8466
+ }
8569
8467
  }
8570
8468
 
8571
8469
 
@@ -8666,6 +8564,37 @@ button.muka-progress-tracker__tab:focus-visible {
8666
8564
  }
8667
8565
 
8668
8566
 
8567
+ /* Popover */
8568
+ /* Popover Component Styles */
8569
+
8570
+ .muka-popover__content {
8571
+ background-color: var(--color-surface-level3);
8572
+ border: var(--border-width-regular) solid var(--color-border-default);
8573
+ border-radius: var(--radius-md);
8574
+ padding: var(--spacing-4);
8575
+ box-shadow: var(--shadow-level3);
8576
+ max-width: 20rem;
8577
+ z-index: 50;
8578
+ animation: muka-popover-fade-in 150ms ease;
8579
+ }
8580
+
8581
+ @keyframes muka-popover-fade-in {
8582
+ from {
8583
+ opacity: 0;
8584
+ transform: scale(0.96);
8585
+ }
8586
+ to {
8587
+ opacity: 1;
8588
+ transform: scale(1);
8589
+ }
8590
+ }
8591
+
8592
+ /* Arrow */
8593
+ .muka-popover__arrow {
8594
+ fill: var(--color-surface-level3);
8595
+ }
8596
+
8597
+
8669
8598
  /* PlanningGantt */
8670
8599
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8671
8600
 
@@ -9063,6 +8992,103 @@ button.muka-progress-tracker__tab:focus-visible {
9063
8992
  }
9064
8993
 
9065
8994
 
8995
+ /* PieChart */
8996
+ /* PieChart Component Styles - Using Muka Design Tokens */
8997
+
8998
+ .muka-piechart {
8999
+ display: inline-flex;
9000
+ align-items: center;
9001
+ gap: var(--spacing-4);
9002
+ }
9003
+
9004
+ /* Legend layout */
9005
+ .muka-piechart--legend-right {
9006
+ flex-direction: row;
9007
+ }
9008
+
9009
+ .muka-piechart--legend-bottom {
9010
+ flex-direction: column;
9011
+ }
9012
+
9013
+ /* ========================================
9014
+ CHART
9015
+ ======================================== */
9016
+
9017
+ .muka-piechart__chart {
9018
+ position: relative;
9019
+ flex-shrink: 0;
9020
+ }
9021
+
9022
+ .muka-piechart__chart--sm {
9023
+ width: var(--piechart-size-diameter-sm);
9024
+ height: var(--piechart-size-diameter-sm);
9025
+ }
9026
+
9027
+ .muka-piechart__chart--md {
9028
+ width: var(--piechart-size-diameter-md);
9029
+ height: var(--piechart-size-diameter-md);
9030
+ }
9031
+
9032
+ .muka-piechart__chart--lg {
9033
+ width: var(--piechart-size-diameter-lg);
9034
+ height: var(--piechart-size-diameter-lg);
9035
+ }
9036
+
9037
+ .muka-piechart__svg {
9038
+ display: block;
9039
+ width: 100%;
9040
+ height: 100%;
9041
+ /* Start slices at 12 o'clock instead of 3 o'clock */
9042
+ transform: rotate(-90deg);
9043
+ }
9044
+
9045
+ .muka-piechart__track {
9046
+ fill: none;
9047
+ stroke: var(--piechart-color-track);
9048
+ }
9049
+
9050
+ .muka-piechart__segment {
9051
+ fill: none;
9052
+ }
9053
+
9054
+ /* ========================================
9055
+ LEGEND
9056
+ ======================================== */
9057
+
9058
+ .muka-piechart__legend {
9059
+ list-style: none;
9060
+ margin: 0;
9061
+ padding: 0;
9062
+ display: flex;
9063
+ flex-direction: column;
9064
+ gap: var(--spacing-1);
9065
+ }
9066
+
9067
+ .muka-piechart__legend-item {
9068
+ display: flex;
9069
+ align-items: center;
9070
+ gap: var(--spacing-2);
9071
+ font-family: var(--text-body-sm-regular-fontFamily);
9072
+ font-weight: var(--text-body-sm-regular-fontWeight);
9073
+ font-size: var(--text-body-sm-regular-fontSize);
9074
+ line-height: var(--text-body-sm-regular-lineHeight);
9075
+ color: var(--color-text-default-default);
9076
+ }
9077
+
9078
+ .muka-piechart__swatch {
9079
+ flex-shrink: 0;
9080
+ width: var(--spacing-3);
9081
+ height: var(--spacing-3);
9082
+ border-radius: var(--border-radius-sm);
9083
+ }
9084
+
9085
+ .muka-piechart__legend-value {
9086
+ margin-left: auto;
9087
+ padding-left: var(--spacing-2);
9088
+ color: var(--color-text-subtle-default);
9089
+ }
9090
+
9091
+
9066
9092
  /* PhotoUploader */
9067
9093
  /* PhotoUploader Component Styles - Using Muka Design Tokens */
9068
9094
 
@@ -9200,130 +9226,147 @@ button.muka-progress-tracker__tab:focus-visible {
9200
9226
  }
9201
9227
 
9202
9228
 
9203
- /* PhotoDraftStrip */
9204
- /* PhotoDraftStrip Component Styles */
9229
+ /* ProfileBadge */
9230
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
9205
9231
 
9206
- .muka-photo-draft-strip {
9207
- display: flex;
9232
+ .muka-profile-badge {
9233
+ display: inline-flex;
9234
+ max-width: 100%;
9235
+ min-width: 0;
9208
9236
  align-items: center;
9209
- gap: var(--spacing-3);
9210
- width: 100%;
9211
- padding: var(--spacing-2) 0;
9237
+ font-family: var(--text-body-base-regular-fontFamily);
9212
9238
  }
9213
9239
 
9214
- .muka-photo-draft-strip__track {
9215
- display: flex;
9216
- gap: var(--spacing-2);
9217
- flex: 1 1 auto;
9218
- min-width: 0;
9219
- overflow-x: auto;
9220
- scroll-behavior: smooth;
9221
- scrollbar-width: none;
9240
+ /* Size variants */
9241
+ .muka-profile-badge--lg {
9242
+ gap: var(--spacing-4); /* 16px */
9222
9243
  }
9223
9244
 
9224
- .muka-photo-draft-strip__track::-webkit-scrollbar {
9225
- display: none;
9245
+ .muka-profile-badge--md {
9246
+ gap: var(--spacing-3); /* 12px */
9226
9247
  }
9227
9248
 
9228
- .muka-photo-draft-strip__item {
9229
- flex: 0 0 auto;
9249
+ .muka-profile-badge--sm {
9250
+ gap: var(--spacing-2); /* 8px */
9230
9251
  }
9231
9252
 
9253
+ .muka-profile-badge__avatar {
9254
+ flex-shrink: 0;
9255
+ }
9232
9256
 
9233
- /* PieChart */
9234
- /* PieChart Component Styles - Using Muka Design Tokens */
9257
+ /* Text stack */
9258
+ .muka-profile-badge__text {
9259
+ display: flex;
9260
+ flex-direction: column;
9261
+ align-items: flex-start;
9262
+ min-width: 0;
9263
+ }
9235
9264
 
9236
- .muka-piechart {
9237
- display: inline-flex;
9238
- align-items: center;
9239
- gap: var(--spacing-4);
9265
+ .muka-profile-badge__name {
9266
+ max-width: 100%;
9267
+ overflow: hidden;
9268
+ text-overflow: ellipsis;
9269
+ white-space: nowrap;
9270
+ font-family: var(--text-body-base-regular-fontFamily);
9271
+ font-size: var(--text-body-base-regular-fontSize);
9272
+ font-weight: var(--text-body-base-regular-fontWeight);
9273
+ line-height: var(--text-body-base-regular-lineHeight);
9274
+ color: var(--color-text-default-default);
9240
9275
  }
9241
9276
 
9242
- /* Legend layout */
9243
- .muka-piechart--legend-right {
9244
- flex-direction: row;
9277
+ .muka-profile-badge__email {
9278
+ font-family: var(--text-body-xs-regular-fontFamily);
9279
+ font-size: var(--text-body-xs-regular-fontSize);
9280
+ font-weight: var(--text-body-xs-regular-fontWeight);
9281
+ line-height: var(--text-body-xs-regular-lineHeight);
9282
+ color: var(--color-text-subtle-default);
9245
9283
  }
9246
9284
 
9247
- .muka-piechart--legend-bottom {
9248
- flex-direction: column;
9285
+ /* Clickable state */
9286
+ .muka-profile-badge--clickable {
9287
+ cursor: pointer;
9288
+ border: none;
9289
+ background: none;
9290
+ padding: 0;
9291
+ text-align: left;
9292
+ border-radius: var(--radius-md);
9293
+ transition: opacity 0.2s ease;
9249
9294
  }
9250
9295
 
9251
- /* ========================================
9252
- CHART
9253
- ======================================== */
9296
+ .muka-profile-badge--clickable:hover {
9297
+ opacity: 0.9;
9298
+ }
9254
9299
 
9255
- .muka-piechart__chart {
9256
- position: relative;
9257
- flex-shrink: 0;
9300
+ .muka-profile-badge--clickable:active {
9301
+ opacity: 0.8;
9258
9302
  }
9259
9303
 
9260
- .muka-piechart__chart--sm {
9261
- width: var(--piechart-size-diameter-sm);
9262
- height: var(--piechart-size-diameter-sm);
9304
+ .muka-profile-badge--clickable:focus-visible {
9305
+ outline: 2px solid var(--color-border-focus);
9306
+ outline-offset: 2px;
9307
+ }
9308
+
9309
+ /* Trailing chevron: the badge opens a menu */
9310
+ .muka-profile-badge__chevron {
9311
+ flex-shrink: 0;
9263
9312
  }
9264
9313
 
9265
- .muka-piechart__chart--md {
9266
- width: var(--piechart-size-diameter-md);
9267
- height: var(--piechart-size-diameter-md);
9314
+ /*
9315
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9316
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
9317
+ * is an inset shadow so it appears on hover and while the menu is open
9318
+ * without moving the content.
9319
+ */
9320
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9321
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9322
+ border-radius: var(--radius-full);
9323
+ transition: box-shadow 0.2s ease;
9268
9324
  }
9269
9325
 
9270
- .muka-piechart__chart--lg {
9271
- width: var(--piechart-size-diameter-lg);
9272
- height: var(--piechart-size-diameter-lg);
9326
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9327
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9328
+ opacity: 1;
9273
9329
  }
9274
9330
 
9275
- .muka-piechart__svg {
9276
- display: block;
9277
- width: 100%;
9278
- height: 100%;
9279
- /* Start slices at 12 o'clock instead of 3 o'clock */
9280
- transform: rotate(-90deg);
9331
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9332
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9333
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9334
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9281
9335
  }
9282
9336
 
9283
- .muka-piechart__track {
9284
- fill: none;
9285
- stroke: var(--piechart-color-track);
9337
+ /* A badge without an avatar keeps the 12px start inset */
9338
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9339
+ padding-left: var(--spacing-3);
9286
9340
  }
9287
9341
 
9288
- .muka-piechart__segment {
9289
- fill: none;
9290
- }
9291
9342
 
9292
- /* ========================================
9293
- LEGEND
9294
- ======================================== */
9343
+ /* PhotoDraftStrip */
9344
+ /* PhotoDraftStrip Component Styles */
9295
9345
 
9296
- .muka-piechart__legend {
9297
- list-style: none;
9298
- margin: 0;
9299
- padding: 0;
9346
+ .muka-photo-draft-strip {
9300
9347
  display: flex;
9301
- flex-direction: column;
9302
- gap: var(--spacing-1);
9348
+ align-items: center;
9349
+ gap: var(--spacing-3);
9350
+ width: 100%;
9351
+ padding: var(--spacing-2) 0;
9303
9352
  }
9304
9353
 
9305
- .muka-piechart__legend-item {
9354
+ .muka-photo-draft-strip__track {
9306
9355
  display: flex;
9307
- align-items: center;
9308
9356
  gap: var(--spacing-2);
9309
- font-family: var(--text-body-sm-regular-fontFamily);
9310
- font-weight: var(--text-body-sm-regular-fontWeight);
9311
- font-size: var(--text-body-sm-regular-fontSize);
9312
- line-height: var(--text-body-sm-regular-lineHeight);
9313
- color: var(--color-text-default-default);
9357
+ flex: 1 1 auto;
9358
+ min-width: 0;
9359
+ overflow-x: auto;
9360
+ scroll-behavior: smooth;
9361
+ scrollbar-width: none;
9314
9362
  }
9315
9363
 
9316
- .muka-piechart__swatch {
9317
- flex-shrink: 0;
9318
- width: var(--spacing-3);
9319
- height: var(--spacing-3);
9320
- border-radius: var(--border-radius-sm);
9364
+ .muka-photo-draft-strip__track::-webkit-scrollbar {
9365
+ display: none;
9321
9366
  }
9322
9367
 
9323
- .muka-piechart__legend-value {
9324
- margin-left: auto;
9325
- padding-left: var(--spacing-2);
9326
- color: var(--color-text-subtle-default);
9368
+ .muka-photo-draft-strip__item {
9369
+ flex: 0 0 auto;
9327
9370
  }
9328
9371
 
9329
9372
 
@@ -9509,34 +9552,6 @@ button.muka-progress-tracker__tab:focus-visible {
9509
9552
  }
9510
9553
 
9511
9554
 
9512
- /* NavigationTransition */
9513
- /* NavigationTransition Component Styles */
9514
-
9515
- /* ─── Wrapper ────────────────────────────────────────── */
9516
-
9517
- .muka-nav-transition {
9518
- position: relative;
9519
- height: 100vh;
9520
- overflow: hidden;
9521
- }
9522
-
9523
- /* Disable interaction during animation */
9524
- .muka-nav-transition--active {
9525
- pointer-events: none;
9526
- }
9527
-
9528
- /* ─── View slots ─────────────────────────────────────── */
9529
-
9530
- .muka-nav-transition--active .muka-nav-transition__view {
9531
- position: absolute;
9532
- inset: 0;
9533
- }
9534
-
9535
- /* Z-index layering */
9536
- .muka-nav-transition__view--bottom { z-index: 1; }
9537
- .muka-nav-transition__view--top { z-index: 2; }
9538
-
9539
-
9540
9555
  /* NumberInput */
9541
9556
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9542
9557
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9567,6 +9582,34 @@ button.muka-progress-tracker__tab:focus-visible {
9567
9582
  }
9568
9583
 
9569
9584
 
9585
+ /* NavigationTransition */
9586
+ /* NavigationTransition Component Styles */
9587
+
9588
+ /* ─── Wrapper ────────────────────────────────────────── */
9589
+
9590
+ .muka-nav-transition {
9591
+ position: relative;
9592
+ height: 100vh;
9593
+ overflow: hidden;
9594
+ }
9595
+
9596
+ /* Disable interaction during animation */
9597
+ .muka-nav-transition--active {
9598
+ pointer-events: none;
9599
+ }
9600
+
9601
+ /* ─── View slots ─────────────────────────────────────── */
9602
+
9603
+ .muka-nav-transition--active .muka-nav-transition__view {
9604
+ position: absolute;
9605
+ inset: 0;
9606
+ }
9607
+
9608
+ /* Z-index layering */
9609
+ .muka-nav-transition__view--bottom { z-index: 1; }
9610
+ .muka-nav-transition__view--top { z-index: 2; }
9611
+
9612
+
9570
9613
  /* Menu */
9571
9614
  /* Menu Component Styles */
9572
9615
 
@@ -11540,95 +11583,236 @@ li.muka-listitem {
11540
11583
  background-color: var(--fileupload-item-color-error-background);
11541
11584
  }
11542
11585
 
11543
- .muka-fileupload-item--success {
11544
- background-color: var(--fileupload-item-color-default-background);
11586
+ .muka-fileupload-item--success {
11587
+ background-color: var(--fileupload-item-color-default-background);
11588
+ }
11589
+
11590
+ /* Preview/Icon container */
11591
+ .muka-fileupload-item__preview {
11592
+ display: flex;
11593
+ align-items: center;
11594
+ justify-content: center;
11595
+ flex-shrink: 0;
11596
+ width: var(--fileupload-preview-size);
11597
+ height: var(--fileupload-preview-size);
11598
+ border-radius: var(--fileupload-preview-radius);
11599
+ overflow: hidden;
11600
+ background-color: var(--color-surface-level1);
11601
+ }
11602
+
11603
+ .muka-fileupload-item__thumbnail {
11604
+ width: 100%;
11605
+ height: 100%;
11606
+ object-fit: cover;
11607
+ }
11608
+
11609
+ .muka-fileupload-item__icon {
11610
+ color: var(--color-text-subtle-default);
11611
+ }
11612
+
11613
+ /* File info */
11614
+ .muka-fileupload-item__info {
11615
+ flex: 1;
11616
+ min-width: 0;
11617
+ display: flex;
11618
+ flex-direction: column;
11619
+ gap: var(--spacing-1);
11620
+ }
11621
+
11622
+ .muka-fileupload-item__name {
11623
+ font-family: var(--text-body-sm-regular-fontFamily);
11624
+ font-size: var(--text-body-sm-regular-fontSize);
11625
+ font-weight: var(--text-body-sm-regular-fontWeight);
11626
+ line-height: var(--text-body-sm-regular-lineHeight);
11627
+ color: var(--fileupload-item-color-default-foreground);
11628
+ white-space: nowrap;
11629
+ overflow: hidden;
11630
+ text-overflow: ellipsis;
11631
+ }
11632
+
11633
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11634
+ color: var(--fileupload-item-color-error-foreground);
11635
+ }
11636
+
11637
+ .muka-fileupload-item__meta {
11638
+ font-family: var(--text-label-sm-regular-fontFamily);
11639
+ font-size: var(--text-label-sm-regular-fontSize);
11640
+ font-weight: var(--text-label-sm-regular-fontWeight);
11641
+ line-height: var(--text-label-sm-regular-lineHeight);
11642
+ color: var(--color-text-subtle-default);
11643
+ }
11644
+
11645
+ .muka-fileupload-item__error {
11646
+ color: var(--fileupload-item-color-error-foreground);
11647
+ }
11648
+
11649
+ .muka-fileupload-item__progress {
11650
+ margin-top: var(--spacing-1);
11651
+ }
11652
+
11653
+ /* Actions */
11654
+ .muka-fileupload-item__actions {
11655
+ display: flex;
11656
+ align-items: center;
11657
+ gap: var(--spacing-2);
11658
+ flex-shrink: 0;
11659
+ }
11660
+
11661
+ .muka-fileupload-item__status-icon--success {
11662
+ color: var(--fileupload-item-color-success-foreground);
11663
+ }
11664
+
11665
+ .muka-fileupload-item__status-icon--error {
11666
+ color: var(--fileupload-item-color-error-foreground);
11667
+ }
11668
+
11669
+ .muka-fileupload-item__remove {
11670
+ opacity: 0.7;
11671
+ }
11672
+
11673
+ .muka-fileupload-item__remove:hover {
11674
+ opacity: 1;
11675
+ }
11676
+
11677
+
11678
+ /* EmptyState */
11679
+ /* EmptyState Component Styles - Using Muka Design Tokens */
11680
+
11681
+ .muka-emptystate {
11682
+ display: flex;
11683
+ flex-direction: column;
11684
+ align-items: center;
11685
+ justify-content: center;
11686
+ gap: var(--emptystate-container-gap);
11687
+ max-width: var(--emptystate-container-maxWidth);
11688
+ margin: 0 auto;
11689
+ text-align: center;
11690
+ }
11691
+
11692
+ /* Alignment variants */
11693
+ .muka-emptystate--left {
11694
+ align-items: flex-start;
11695
+ text-align: left;
11696
+ }
11697
+
11698
+ /* Size variants */
11699
+ .muka-emptystate--sm {
11700
+ padding: var(--emptystate-container-padding-sm);
11701
+ }
11702
+
11703
+ .muka-emptystate--md {
11704
+ padding: var(--emptystate-container-padding-md);
11705
+ }
11706
+
11707
+ .muka-emptystate--lg {
11708
+ padding: var(--emptystate-container-padding-lg);
11545
11709
  }
11546
11710
 
11547
- /* Preview/Icon container */
11548
- .muka-fileupload-item__preview {
11711
+ /* Visual (icon or illustration) */
11712
+ .muka-emptystate__visual {
11549
11713
  display: flex;
11550
11714
  align-items: center;
11551
11715
  justify-content: center;
11716
+ color: var(--emptystate-icon-color);
11552
11717
  flex-shrink: 0;
11553
- width: var(--fileupload-preview-size);
11554
- height: var(--fileupload-preview-size);
11555
- border-radius: var(--fileupload-preview-radius);
11556
- overflow: hidden;
11557
- background-color: var(--color-surface-level1);
11558
11718
  }
11559
11719
 
11560
- .muka-fileupload-item__thumbnail {
11720
+ .muka-emptystate--sm .muka-emptystate__visual {
11721
+ width: var(--emptystate-icon-size-sm);
11722
+ height: var(--emptystate-icon-size-sm);
11723
+ }
11724
+
11725
+ .muka-emptystate--md .muka-emptystate__visual {
11726
+ width: var(--emptystate-icon-size-md);
11727
+ height: var(--emptystate-icon-size-md);
11728
+ }
11729
+
11730
+ .muka-emptystate--lg .muka-emptystate__visual {
11731
+ width: var(--emptystate-icon-size-lg);
11732
+ height: var(--emptystate-icon-size-lg);
11733
+ }
11734
+
11735
+ .muka-emptystate__visual svg {
11561
11736
  width: 100%;
11562
11737
  height: 100%;
11563
- object-fit: cover;
11564
11738
  }
11565
11739
 
11566
- .muka-fileupload-item__icon {
11567
- color: var(--color-text-subtle-default);
11740
+ .muka-emptystate__visual img {
11741
+ width: 100%;
11742
+ height: 100%;
11743
+ object-fit: contain;
11568
11744
  }
11569
11745
 
11570
- /* File info */
11571
- .muka-fileupload-item__info {
11572
- flex: 1;
11573
- min-width: 0;
11746
+ /* Content */
11747
+ .muka-emptystate__content {
11574
11748
  display: flex;
11575
11749
  flex-direction: column;
11576
- gap: var(--spacing-1);
11577
- }
11578
-
11579
- .muka-fileupload-item__name {
11580
- font-family: var(--text-body-sm-regular-fontFamily);
11581
- font-size: var(--text-body-sm-regular-fontSize);
11582
- font-weight: var(--text-body-sm-regular-fontWeight);
11583
- line-height: var(--text-body-sm-regular-lineHeight);
11584
- color: var(--fileupload-item-color-default-foreground);
11585
- white-space: nowrap;
11586
- overflow: hidden;
11587
- text-overflow: ellipsis;
11750
+ gap: var(--spacing-2);
11588
11751
  }
11589
11752
 
11590
- .muka-fileupload-item--error .muka-fileupload-item__name {
11591
- color: var(--fileupload-item-color-error-foreground);
11753
+ .muka-emptystate--left .muka-emptystate__content {
11754
+ align-items: flex-start;
11592
11755
  }
11593
11756
 
11594
- .muka-fileupload-item__meta {
11595
- font-family: var(--text-label-sm-regular-fontFamily);
11596
- font-size: var(--text-label-sm-regular-fontSize);
11597
- font-weight: var(--text-label-sm-regular-fontWeight);
11598
- line-height: var(--text-label-sm-regular-lineHeight);
11599
- color: var(--color-text-subtle-default);
11757
+ /* Title */
11758
+ .muka-emptystate__title {
11759
+ color: var(--emptystate-title-color);
11760
+ margin: 0;
11761
+ font-family: var(--text-heading-sm-fontFamily);
11762
+ font-weight: var(--text-heading-sm-fontWeight);
11763
+ font-size: var(--text-heading-sm-fontSize);
11764
+ line-height: var(--text-heading-sm-lineHeight);
11600
11765
  }
11601
11766
 
11602
- .muka-fileupload-item__error {
11603
- color: var(--fileupload-item-color-error-foreground);
11767
+ .muka-emptystate--sm .muka-emptystate__title {
11768
+ font-family: var(--text-label-lg-semibold-fontFamily);
11769
+ font-weight: var(--text-label-lg-semibold-fontWeight);
11770
+ font-size: var(--text-label-lg-semibold-fontSize);
11771
+ line-height: var(--text-label-lg-semibold-lineHeight);
11604
11772
  }
11605
11773
 
11606
- .muka-fileupload-item__progress {
11607
- margin-top: var(--spacing-1);
11774
+ .muka-emptystate--lg .muka-emptystate__title {
11775
+ font-family: var(--text-heading-md-fontFamily);
11776
+ font-weight: var(--text-heading-md-fontWeight);
11777
+ font-size: var(--text-heading-md-fontSize);
11778
+ line-height: var(--text-heading-md-lineHeight);
11608
11779
  }
11609
11780
 
11610
- /* Actions */
11611
- .muka-fileupload-item__actions {
11612
- display: flex;
11613
- align-items: center;
11614
- gap: var(--spacing-2);
11615
- flex-shrink: 0;
11781
+ /* Description */
11782
+ .muka-emptystate__description {
11783
+ color: var(--emptystate-description-color);
11784
+ margin: 0;
11785
+ font-family: var(--text-body-sm-regular-fontFamily);
11786
+ font-weight: var(--text-body-sm-regular-fontWeight);
11787
+ font-size: var(--text-body-sm-regular-fontSize);
11788
+ line-height: var(--text-body-sm-regular-lineHeight);
11616
11789
  }
11617
11790
 
11618
- .muka-fileupload-item__status-icon--success {
11619
- color: var(--fileupload-item-color-success-foreground);
11791
+ .muka-emptystate--md .muka-emptystate__description {
11792
+ font-family: var(--text-body-base-regular-fontFamily);
11793
+ font-weight: var(--text-body-base-regular-fontWeight);
11794
+ font-size: var(--text-body-base-regular-fontSize);
11795
+ line-height: var(--text-body-base-regular-lineHeight);
11620
11796
  }
11621
11797
 
11622
- .muka-fileupload-item__status-icon--error {
11623
- color: var(--fileupload-item-color-error-foreground);
11798
+ .muka-emptystate--lg .muka-emptystate__description {
11799
+ font-family: var(--text-body-lg-regular-fontFamily);
11800
+ font-weight: var(--text-body-lg-regular-fontWeight);
11801
+ font-size: var(--text-body-lg-regular-fontSize);
11802
+ line-height: var(--text-body-lg-regular-lineHeight);
11624
11803
  }
11625
11804
 
11626
- .muka-fileupload-item__remove {
11627
- opacity: 0.7;
11805
+ /* Actions */
11806
+ .muka-emptystate__actions {
11807
+ display: flex;
11808
+ gap: var(--emptystate-actions-gap);
11809
+ margin-top: var(--emptystate-actions-marginTop);
11810
+ flex-wrap: wrap;
11811
+ justify-content: center;
11628
11812
  }
11629
11813
 
11630
- .muka-fileupload-item__remove:hover {
11631
- opacity: 1;
11814
+ .muka-emptystate--left .muka-emptystate__actions {
11815
+ justify-content: flex-start;
11632
11816
  }
11633
11817
 
11634
11818
 
@@ -11721,196 +11905,55 @@ li.muka-listitem {
11721
11905
  align-items: center;
11722
11906
  justify-content: center;
11723
11907
  width: 24px;
11724
- height: 24px;
11725
- }
11726
-
11727
- .muka-fab__icon svg {
11728
- width: 100%;
11729
- height: 100%;
11730
- }
11731
-
11732
- .muka-fab__label {
11733
- font-family: var(--text-label-md-semibold-fontFamily);
11734
- font-weight: var(--text-label-md-semibold-fontWeight);
11735
- font-size: var(--text-label-md-semibold-fontSize);
11736
- line-height: var(--text-label-md-semibold-lineHeight);
11737
- }
11738
-
11739
- /* ─── Positioning ─────────────────────────────────────── */
11740
-
11741
- .muka-fab--bottom-right {
11742
- right: var(--spacing-4);
11743
- bottom: var(--spacing-4);
11744
- }
11745
-
11746
- .muka-fab--bottom-left {
11747
- left: var(--spacing-4);
11748
- bottom: var(--spacing-4);
11749
- }
11750
-
11751
- .muka-fab--bottom-center {
11752
- left: 50%;
11753
- bottom: var(--spacing-4);
11754
- transform: translateX(-50%);
11755
- }
11756
-
11757
- .muka-fab--bottom-center:active {
11758
- transform: translateX(-50%) scale(0.96);
11759
- }
11760
-
11761
- /* Add the iOS home-indicator inset to the bottom offset. */
11762
- .muka-fab:not(.muka-fab--no-safe-area) {
11763
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11764
- }
11765
-
11766
- /* Lateral safe-area for landscape iPhone with notch. */
11767
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11768
- right: max(var(--spacing-4), env(safe-area-inset-right));
11769
- }
11770
-
11771
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11772
- left: max(var(--spacing-4), env(safe-area-inset-left));
11773
- }
11774
-
11775
-
11776
- /* EmptyState */
11777
- /* EmptyState Component Styles - Using Muka Design Tokens */
11778
-
11779
- .muka-emptystate {
11780
- display: flex;
11781
- flex-direction: column;
11782
- align-items: center;
11783
- justify-content: center;
11784
- gap: var(--emptystate-container-gap);
11785
- max-width: var(--emptystate-container-maxWidth);
11786
- margin: 0 auto;
11787
- text-align: center;
11788
- }
11789
-
11790
- /* Alignment variants */
11791
- .muka-emptystate--left {
11792
- align-items: flex-start;
11793
- text-align: left;
11794
- }
11795
-
11796
- /* Size variants */
11797
- .muka-emptystate--sm {
11798
- padding: var(--emptystate-container-padding-sm);
11799
- }
11800
-
11801
- .muka-emptystate--md {
11802
- padding: var(--emptystate-container-padding-md);
11803
- }
11804
-
11805
- .muka-emptystate--lg {
11806
- padding: var(--emptystate-container-padding-lg);
11807
- }
11808
-
11809
- /* Visual (icon or illustration) */
11810
- .muka-emptystate__visual {
11811
- display: flex;
11812
- align-items: center;
11813
- justify-content: center;
11814
- color: var(--emptystate-icon-color);
11815
- flex-shrink: 0;
11816
- }
11817
-
11818
- .muka-emptystate--sm .muka-emptystate__visual {
11819
- width: var(--emptystate-icon-size-sm);
11820
- height: var(--emptystate-icon-size-sm);
11821
- }
11822
-
11823
- .muka-emptystate--md .muka-emptystate__visual {
11824
- width: var(--emptystate-icon-size-md);
11825
- height: var(--emptystate-icon-size-md);
11826
- }
11827
-
11828
- .muka-emptystate--lg .muka-emptystate__visual {
11829
- width: var(--emptystate-icon-size-lg);
11830
- height: var(--emptystate-icon-size-lg);
11831
- }
11832
-
11833
- .muka-emptystate__visual svg {
11834
- width: 100%;
11835
- height: 100%;
11836
- }
11837
-
11838
- .muka-emptystate__visual img {
11839
- width: 100%;
11840
- height: 100%;
11841
- object-fit: contain;
11842
- }
11843
-
11844
- /* Content */
11845
- .muka-emptystate__content {
11846
- display: flex;
11847
- flex-direction: column;
11848
- gap: var(--spacing-2);
11908
+ height: 24px;
11849
11909
  }
11850
11910
 
11851
- .muka-emptystate--left .muka-emptystate__content {
11852
- align-items: flex-start;
11911
+ .muka-fab__icon svg {
11912
+ width: 100%;
11913
+ height: 100%;
11853
11914
  }
11854
11915
 
11855
- /* Title */
11856
- .muka-emptystate__title {
11857
- color: var(--emptystate-title-color);
11858
- margin: 0;
11859
- font-family: var(--text-heading-sm-fontFamily);
11860
- font-weight: var(--text-heading-sm-fontWeight);
11861
- font-size: var(--text-heading-sm-fontSize);
11862
- line-height: var(--text-heading-sm-lineHeight);
11916
+ .muka-fab__label {
11917
+ font-family: var(--text-label-md-semibold-fontFamily);
11918
+ font-weight: var(--text-label-md-semibold-fontWeight);
11919
+ font-size: var(--text-label-md-semibold-fontSize);
11920
+ line-height: var(--text-label-md-semibold-lineHeight);
11863
11921
  }
11864
11922
 
11865
- .muka-emptystate--sm .muka-emptystate__title {
11866
- font-family: var(--text-label-lg-semibold-fontFamily);
11867
- font-weight: var(--text-label-lg-semibold-fontWeight);
11868
- font-size: var(--text-label-lg-semibold-fontSize);
11869
- line-height: var(--text-label-lg-semibold-lineHeight);
11923
+ /* ─── Positioning ─────────────────────────────────────── */
11924
+
11925
+ .muka-fab--bottom-right {
11926
+ right: var(--spacing-4);
11927
+ bottom: var(--spacing-4);
11870
11928
  }
11871
11929
 
11872
- .muka-emptystate--lg .muka-emptystate__title {
11873
- font-family: var(--text-heading-md-fontFamily);
11874
- font-weight: var(--text-heading-md-fontWeight);
11875
- font-size: var(--text-heading-md-fontSize);
11876
- line-height: var(--text-heading-md-lineHeight);
11930
+ .muka-fab--bottom-left {
11931
+ left: var(--spacing-4);
11932
+ bottom: var(--spacing-4);
11877
11933
  }
11878
11934
 
11879
- /* Description */
11880
- .muka-emptystate__description {
11881
- color: var(--emptystate-description-color);
11882
- margin: 0;
11883
- font-family: var(--text-body-sm-regular-fontFamily);
11884
- font-weight: var(--text-body-sm-regular-fontWeight);
11885
- font-size: var(--text-body-sm-regular-fontSize);
11886
- line-height: var(--text-body-sm-regular-lineHeight);
11935
+ .muka-fab--bottom-center {
11936
+ left: 50%;
11937
+ bottom: var(--spacing-4);
11938
+ transform: translateX(-50%);
11887
11939
  }
11888
11940
 
11889
- .muka-emptystate--md .muka-emptystate__description {
11890
- font-family: var(--text-body-base-regular-fontFamily);
11891
- font-weight: var(--text-body-base-regular-fontWeight);
11892
- font-size: var(--text-body-base-regular-fontSize);
11893
- line-height: var(--text-body-base-regular-lineHeight);
11941
+ .muka-fab--bottom-center:active {
11942
+ transform: translateX(-50%) scale(0.96);
11894
11943
  }
11895
11944
 
11896
- .muka-emptystate--lg .muka-emptystate__description {
11897
- font-family: var(--text-body-lg-regular-fontFamily);
11898
- font-weight: var(--text-body-lg-regular-fontWeight);
11899
- font-size: var(--text-body-lg-regular-fontSize);
11900
- line-height: var(--text-body-lg-regular-lineHeight);
11945
+ /* Add the iOS home-indicator inset to the bottom offset. */
11946
+ .muka-fab:not(.muka-fab--no-safe-area) {
11947
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11901
11948
  }
11902
11949
 
11903
- /* Actions */
11904
- .muka-emptystate__actions {
11905
- display: flex;
11906
- gap: var(--emptystate-actions-gap);
11907
- margin-top: var(--emptystate-actions-marginTop);
11908
- flex-wrap: wrap;
11909
- justify-content: center;
11950
+ /* Lateral safe-area for landscape iPhone with notch. */
11951
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11952
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11910
11953
  }
11911
11954
 
11912
- .muka-emptystate--left .muka-emptystate__actions {
11913
- justify-content: flex-start;
11955
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11956
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11914
11957
  }
11915
11958
 
11916
11959
 
@@ -12131,36 +12174,224 @@ li.muka-listitem {
12131
12174
  color: var(--color-text-subtle-default);
12132
12175
  }
12133
12176
 
12134
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12135
- width: var(--size-xl, 1.5rem);
12136
- height: var(--size-xl, 1.5rem);
12177
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12178
+ width: var(--size-xl, 1.5rem);
12179
+ height: var(--size-xl, 1.5rem);
12180
+ }
12181
+
12182
+ .muka-dropdown-select__menu-button:focus-visible {
12183
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
12184
+ outline-offset: 2px;
12185
+ }
12186
+
12187
+ .muka-dropdown-select__helper {
12188
+ margin: 0;
12189
+ color: var(--color-text-subtle-default);
12190
+ font-family: var(--text-label-sm-regular-fontFamily);
12191
+ font-size: var(--text-label-sm-regular-fontSize);
12192
+ font-weight: var(--text-label-sm-regular-fontWeight);
12193
+ line-height: var(--text-label-sm-regular-lineHeight);
12194
+ }
12195
+
12196
+ .muka-dropdown-select__error {
12197
+ margin: 0;
12198
+ color: var(--color-state-error-default);
12199
+ font-family: var(--text-label-sm-regular-fontFamily);
12200
+ font-size: var(--text-label-sm-regular-fontSize);
12201
+ font-weight: var(--text-label-sm-regular-fontWeight);
12202
+ line-height: var(--text-label-sm-regular-lineHeight);
12203
+ }
12204
+
12205
+ .muka-dropdown-select__menu {
12206
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12207
+ }
12208
+
12209
+
12210
+ /* Drawer */
12211
+ /* Drawer Component Styles */
12212
+
12213
+ /* Size tokens (local to Drawer) */
12214
+ .muka-drawer {
12215
+ --drawer-width-sm: 18rem;
12216
+ --drawer-width-md: 26rem;
12217
+ --drawer-width-lg: 36rem;
12218
+ }
12219
+
12220
+ /* Reset native dialog */
12221
+ .muka-drawer {
12222
+ border: none;
12223
+ padding: 0;
12224
+ max-width: none;
12225
+ max-height: none;
12226
+ background: transparent;
12227
+ overflow: visible;
12228
+ }
12229
+
12230
+ /* Backdrop */
12231
+ .muka-drawer::backdrop {
12232
+ background-color: var(--color-surface-backdrop);
12233
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
12234
+ backdrop-filter: blur(var(--effect-blur-backdrop));
12235
+ opacity: 0;
12236
+ transition: opacity 200ms ease;
12237
+ }
12238
+
12239
+ .muka-drawer--slide-in::backdrop {
12240
+ opacity: 1;
12241
+ }
12242
+
12243
+ /* Surface */
12244
+ .muka-drawer__surface {
12245
+ display: flex;
12246
+ flex-direction: column;
12247
+ background-color: var(--color-surface-level3);
12248
+ box-shadow: var(--shadow-level5);
12249
+ height: 100%;
12250
+ overflow: hidden;
12251
+ position: fixed;
12252
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
12253
+ }
12254
+
12255
+ /* Side positioning + initial transforms */
12256
+ .muka-drawer--right .muka-drawer__surface {
12257
+ top: 0;
12258
+ right: 0;
12259
+ bottom: 0;
12260
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
12261
+ transform: translateX(100%);
12262
+ }
12263
+
12264
+ .muka-drawer--left .muka-drawer__surface {
12265
+ top: 0;
12266
+ left: 0;
12267
+ bottom: 0;
12268
+ border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
12269
+ transform: translateX(-100%);
12270
+ }
12271
+
12272
+ .muka-drawer--bottom .muka-drawer__surface {
12273
+ left: 0;
12274
+ right: 0;
12275
+ bottom: 0;
12276
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
12277
+ transform: translateY(100%);
12278
+ }
12279
+
12280
+ .muka-drawer--top .muka-drawer__surface {
12281
+ left: 0;
12282
+ right: 0;
12283
+ top: 0;
12284
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
12285
+ transform: translateY(-100%);
12286
+ }
12287
+
12288
+ /* Slide-in state */
12289
+ .muka-drawer--slide-in .muka-drawer__surface {
12290
+ transform: translate(0, 0);
12291
+ }
12292
+
12293
+ /* Width sizes (left/right) */
12294
+ .muka-drawer--right .muka-drawer__surface,
12295
+ .muka-drawer--left .muka-drawer__surface {
12296
+ width: var(--drawer-width-md);
12297
+ }
12298
+
12299
+ .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
12300
+ .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
12301
+ width: var(--drawer-width-sm);
12302
+ }
12303
+
12304
+ .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
12305
+ .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
12306
+ width: var(--drawer-width-lg);
12307
+ }
12308
+
12309
+ .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
12310
+ .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
12311
+ width: 100%;
12312
+ }
12313
+
12314
+ /* Height sizes (top/bottom) */
12315
+ .muka-drawer--top .muka-drawer__surface,
12316
+ .muka-drawer--bottom .muka-drawer__surface {
12317
+ height: auto;
12318
+ max-height: 80vh;
12319
+ }
12320
+
12321
+ .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
12322
+ .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
12323
+ max-height: 100vh;
12324
+ }
12325
+
12326
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
12327
+ .muka-drawer .muka-topbar {
12328
+ position: relative;
12329
+ z-index: 1;
12330
+ flex-shrink: 0;
12331
+ }
12332
+
12333
+ /* Body */
12334
+ .muka-drawer__body {
12335
+ flex: 1;
12336
+ overflow-y: auto;
12337
+ padding: var(--drawer-padding-x);
12338
+ }
12339
+
12340
+ /* Roomier body on desktop; the header and footer keep their padding */
12341
+ @media (min-width: 1024px) {
12342
+ .muka-drawer__body {
12343
+ padding: var(--drawer-padding-x-desktop);
12344
+ }
12345
+ }
12346
+
12347
+ /* Footer */
12348
+ .muka-drawer__footer {
12349
+ padding: var(--spacing-4);
12350
+ border-top: var(--border-width-regular) solid var(--color-border-default);
12351
+ flex-shrink: 0;
12352
+ }
12353
+
12354
+ /* ─── Safe areas (notch, status bar, home indicator) ────
12355
+ env(safe-area-inset-*) is 0 outside notched devices, so these only change
12356
+ an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
12357
+
12358
+ /* Top edge. Side, top and full-height drawers reach the status bar: their
12359
+ TopBar pads for it; without a header the surface does. A bottom drawer
12360
+ stops short of it, so its TopBar must not. */
12361
+ .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
12362
+ .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
12363
+ .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
12364
+ padding-top: env(safe-area-inset-top, 0px);
12137
12365
  }
12138
12366
 
12139
- .muka-dropdown-select__menu-button:focus-visible {
12140
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
12141
- outline-offset: 2px;
12367
+ .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
12368
+ padding-top: 0;
12142
12369
  }
12143
12370
 
12144
- .muka-dropdown-select__helper {
12145
- margin: 0;
12146
- color: var(--color-text-subtle-default);
12147
- font-family: var(--text-label-sm-regular-fontFamily);
12148
- font-size: var(--text-label-sm-regular-fontSize);
12149
- font-weight: var(--text-label-sm-regular-fontWeight);
12150
- line-height: var(--text-label-sm-regular-lineHeight);
12371
+ /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
12372
+ pads for it, or the surface when there is no footer. */
12373
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
12374
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
12151
12375
  }
12152
12376
 
12153
- .muka-dropdown-select__error {
12154
- margin: 0;
12155
- color: var(--color-state-error-default);
12156
- font-family: var(--text-label-sm-regular-fontFamily);
12157
- font-size: var(--text-label-sm-regular-fontSize);
12158
- font-weight: var(--text-label-sm-regular-fontWeight);
12159
- line-height: var(--text-label-sm-regular-lineHeight);
12377
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
12378
+ padding-bottom: env(safe-area-inset-bottom, 0px);
12160
12379
  }
12161
12380
 
12162
- .muka-dropdown-select__menu {
12163
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12381
+ /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
12382
+ already insets its own content. */
12383
+ @media (max-width: 1023px) {
12384
+ .muka-drawer--left .muka-drawer__body,
12385
+ .muka-drawer--top .muka-drawer__body,
12386
+ .muka-drawer--bottom .muka-drawer__body {
12387
+ padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
12388
+ }
12389
+
12390
+ .muka-drawer--right .muka-drawer__body,
12391
+ .muka-drawer--top .muka-drawer__body,
12392
+ .muka-drawer--bottom .muka-drawer__body {
12393
+ padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
12394
+ }
12164
12395
  }
12165
12396
 
12166
12397
 
@@ -13639,258 +13870,70 @@ li.muka-listitem {
13639
13870
  flex-wrap: wrap;
13640
13871
  gap: var(--spacing-2);
13641
13872
  align-items: center;
13642
- min-width: 0;
13643
- width: 100%;
13644
- position: relative;
13645
- z-index: 1;
13646
- }
13647
-
13648
- .muka-combobox__input {
13649
- flex: 1 1 5rem;
13650
- min-width: 5rem;
13651
- min-height: 2rem;
13652
- margin: 0;
13653
- padding: 0 var(--spacing-1);
13654
- border: none;
13655
- outline: none;
13656
- background: transparent;
13657
- color: var(--input-field-color-default-foreground);
13658
- caret-color: var(--input-field-color-default-foreground);
13659
- font-family: var(--text-label-md-regular-fontFamily);
13660
- font-size: var(--text-label-md-regular-fontSize);
13661
- font-weight: var(--text-label-md-regular-fontWeight);
13662
- line-height: var(--text-label-md-regular-lineHeight);
13663
- }
13664
-
13665
- .muka-combobox__input::placeholder {
13666
- color: var(--color-text-subtle-default);
13667
- }
13668
-
13669
- .muka-combobox__helper {
13670
- margin: 0;
13671
- color: var(--color-text-subtle-default);
13672
- font-family: var(--text-label-sm-regular-fontFamily);
13673
- font-size: var(--text-label-sm-regular-fontSize);
13674
- font-weight: var(--text-label-sm-regular-fontWeight);
13675
- line-height: var(--text-label-sm-regular-lineHeight);
13676
- }
13677
-
13678
- .muka-combobox__error {
13679
- margin: 0;
13680
- color: var(--color-state-error-default);
13681
- font-family: var(--text-label-sm-regular-fontFamily);
13682
- font-size: var(--text-label-sm-regular-fontSize);
13683
- font-weight: var(--text-label-sm-regular-fontWeight);
13684
- line-height: var(--text-label-sm-regular-lineHeight);
13685
- }
13686
-
13687
- .muka-combobox__menu-anchor {
13688
- position: absolute;
13689
- inset: 0;
13690
- z-index: 0;
13691
- width: 100%;
13692
- height: 100%;
13693
- margin: 0;
13694
- padding: 0;
13695
- border: none;
13696
- background: transparent;
13697
- pointer-events: none;
13698
- opacity: 0;
13699
- }
13700
-
13701
- .muka-combobox__menu {
13702
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13703
- min-width: var(--menu-content-min-width);
13704
- width: max-content;
13705
- max-width: min(100vw - 2rem, 24rem);
13706
- }
13707
-
13708
-
13709
- /* Drawer */
13710
- /* Drawer Component Styles */
13711
-
13712
- /* Size tokens (local to Drawer) */
13713
- .muka-drawer {
13714
- --drawer-width-sm: 18rem;
13715
- --drawer-width-md: 26rem;
13716
- --drawer-width-lg: 36rem;
13717
- }
13718
-
13719
- /* Reset native dialog */
13720
- .muka-drawer {
13721
- border: none;
13722
- padding: 0;
13723
- max-width: none;
13724
- max-height: none;
13725
- background: transparent;
13726
- overflow: visible;
13727
- }
13728
-
13729
- /* Backdrop */
13730
- .muka-drawer::backdrop {
13731
- background-color: var(--color-surface-backdrop);
13732
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
13733
- backdrop-filter: blur(var(--effect-blur-backdrop));
13734
- opacity: 0;
13735
- transition: opacity 200ms ease;
13736
- }
13737
-
13738
- .muka-drawer--slide-in::backdrop {
13739
- opacity: 1;
13740
- }
13741
-
13742
- /* Surface */
13743
- .muka-drawer__surface {
13744
- display: flex;
13745
- flex-direction: column;
13746
- background-color: var(--color-surface-level3);
13747
- box-shadow: var(--shadow-level5);
13748
- height: 100%;
13749
- overflow: hidden;
13750
- position: fixed;
13751
- transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
13752
- }
13753
-
13754
- /* Side positioning + initial transforms */
13755
- .muka-drawer--right .muka-drawer__surface {
13756
- top: 0;
13757
- right: 0;
13758
- bottom: 0;
13759
- border-radius: var(--radius-lg) 0 0 var(--radius-lg);
13760
- transform: translateX(100%);
13761
- }
13762
-
13763
- .muka-drawer--left .muka-drawer__surface {
13764
- top: 0;
13765
- left: 0;
13766
- bottom: 0;
13767
- border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
13768
- transform: translateX(-100%);
13769
- }
13770
-
13771
- .muka-drawer--bottom .muka-drawer__surface {
13772
- left: 0;
13773
- right: 0;
13774
- bottom: 0;
13775
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
13776
- transform: translateY(100%);
13777
- }
13778
-
13779
- .muka-drawer--top .muka-drawer__surface {
13780
- left: 0;
13781
- right: 0;
13782
- top: 0;
13783
- border-radius: 0 0 var(--radius-lg) var(--radius-lg);
13784
- transform: translateY(-100%);
13785
- }
13786
-
13787
- /* Slide-in state */
13788
- .muka-drawer--slide-in .muka-drawer__surface {
13789
- transform: translate(0, 0);
13790
- }
13791
-
13792
- /* Width sizes (left/right) */
13793
- .muka-drawer--right .muka-drawer__surface,
13794
- .muka-drawer--left .muka-drawer__surface {
13795
- width: var(--drawer-width-md);
13796
- }
13797
-
13798
- .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
13799
- .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
13800
- width: var(--drawer-width-sm);
13801
- }
13802
-
13803
- .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
13804
- .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
13805
- width: var(--drawer-width-lg);
13806
- }
13807
-
13808
- .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
13809
- .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
13810
- width: 100%;
13811
- }
13812
-
13813
- /* Height sizes (top/bottom) */
13814
- .muka-drawer--top .muka-drawer__surface,
13815
- .muka-drawer--bottom .muka-drawer__surface {
13816
- height: auto;
13817
- max-height: 80vh;
13818
- }
13819
-
13820
- .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
13821
- .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
13822
- max-height: 100vh;
13823
- }
13824
-
13825
- /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
13826
- .muka-drawer .muka-topbar {
13827
- position: relative;
13828
- z-index: 1;
13829
- flex-shrink: 0;
13830
- }
13831
-
13832
- /* Body */
13833
- .muka-drawer__body {
13834
- flex: 1;
13835
- overflow-y: auto;
13836
- padding: var(--drawer-padding-x);
13837
- }
13838
-
13839
- /* Roomier body on desktop; the header and footer keep their padding */
13840
- @media (min-width: 1024px) {
13841
- .muka-drawer__body {
13842
- padding: var(--drawer-padding-x-desktop);
13843
- }
13873
+ min-width: 0;
13874
+ width: 100%;
13875
+ position: relative;
13876
+ z-index: 1;
13844
13877
  }
13845
13878
 
13846
- /* Footer */
13847
- .muka-drawer__footer {
13848
- padding: var(--spacing-4);
13849
- border-top: var(--border-width-regular) solid var(--color-border-default);
13850
- flex-shrink: 0;
13879
+ .muka-combobox__input {
13880
+ flex: 1 1 5rem;
13881
+ min-width: 5rem;
13882
+ min-height: 2rem;
13883
+ margin: 0;
13884
+ padding: 0 var(--spacing-1);
13885
+ border: none;
13886
+ outline: none;
13887
+ background: transparent;
13888
+ color: var(--input-field-color-default-foreground);
13889
+ caret-color: var(--input-field-color-default-foreground);
13890
+ font-family: var(--text-label-md-regular-fontFamily);
13891
+ font-size: var(--text-label-md-regular-fontSize);
13892
+ font-weight: var(--text-label-md-regular-fontWeight);
13893
+ line-height: var(--text-label-md-regular-lineHeight);
13851
13894
  }
13852
13895
 
13853
- /* ─── Safe areas (notch, status bar, home indicator) ────
13854
- env(safe-area-inset-*) is 0 outside notched devices, so these only change
13855
- an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
13856
-
13857
- /* Top edge. Side, top and full-height drawers reach the status bar: their
13858
- TopBar pads for it; without a header the surface does. A bottom drawer
13859
- stops short of it, so its TopBar must not. */
13860
- .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
13861
- .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
13862
- .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
13863
- padding-top: env(safe-area-inset-top, 0px);
13896
+ .muka-combobox__input::placeholder {
13897
+ color: var(--color-text-subtle-default);
13864
13898
  }
13865
13899
 
13866
- .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
13867
- padding-top: 0;
13900
+ .muka-combobox__helper {
13901
+ margin: 0;
13902
+ color: var(--color-text-subtle-default);
13903
+ font-family: var(--text-label-sm-regular-fontFamily);
13904
+ font-size: var(--text-label-sm-regular-fontSize);
13905
+ font-weight: var(--text-label-sm-regular-fontWeight);
13906
+ line-height: var(--text-label-sm-regular-lineHeight);
13868
13907
  }
13869
13908
 
13870
- /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
13871
- pads for it, or the surface when there is no footer. */
13872
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
13873
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
13909
+ .muka-combobox__error {
13910
+ margin: 0;
13911
+ color: var(--color-state-error-default);
13912
+ font-family: var(--text-label-sm-regular-fontFamily);
13913
+ font-size: var(--text-label-sm-regular-fontSize);
13914
+ font-weight: var(--text-label-sm-regular-fontWeight);
13915
+ line-height: var(--text-label-sm-regular-lineHeight);
13874
13916
  }
13875
13917
 
13876
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
13877
- padding-bottom: env(safe-area-inset-bottom, 0px);
13918
+ .muka-combobox__menu-anchor {
13919
+ position: absolute;
13920
+ inset: 0;
13921
+ z-index: 0;
13922
+ width: 100%;
13923
+ height: 100%;
13924
+ margin: 0;
13925
+ padding: 0;
13926
+ border: none;
13927
+ background: transparent;
13928
+ pointer-events: none;
13929
+ opacity: 0;
13878
13930
  }
13879
13931
 
13880
- /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
13881
- already insets its own content. */
13882
- @media (max-width: 1023px) {
13883
- .muka-drawer--left .muka-drawer__body,
13884
- .muka-drawer--top .muka-drawer__body,
13885
- .muka-drawer--bottom .muka-drawer__body {
13886
- padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
13887
- }
13888
-
13889
- .muka-drawer--right .muka-drawer__body,
13890
- .muka-drawer--top .muka-drawer__body,
13891
- .muka-drawer--bottom .muka-drawer__body {
13892
- padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
13893
- }
13932
+ .muka-combobox__menu {
13933
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13934
+ min-width: var(--menu-content-min-width);
13935
+ width: max-content;
13936
+ max-width: min(100vw - 2rem, 24rem);
13894
13937
  }
13895
13938
 
13896
13939
 
@@ -14357,74 +14400,241 @@ button.muka-chip__trailing[aria-expanded='true'],
14357
14400
  object-fit: cover;
14358
14401
  }
14359
14402
 
14360
- /* Horizontal image sizing */
14361
- .muka-checkbox-tile__image--horizontal {
14362
- width: 40px;
14363
- height: 40px;
14403
+ /* Horizontal image sizing */
14404
+ .muka-checkbox-tile__image--horizontal {
14405
+ width: 40px;
14406
+ height: 40px;
14407
+ }
14408
+
14409
+ /* Vertical image sizing */
14410
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14411
+ width: 100%;
14412
+ aspect-ratio: 4/3;
14413
+ }
14414
+
14415
+ /* Content container */
14416
+ .muka-checkbox-tile__content {
14417
+ display: flex;
14418
+ flex-direction: column;
14419
+ flex: 1;
14420
+ min-width: 0;
14421
+ gap: var(--spacing-2);
14422
+ }
14423
+
14424
+ .muka-checkbox-tile__content-inner {
14425
+ display: flex;
14426
+ flex-direction: column;
14427
+ gap: var(--spacing-1);
14428
+ }
14429
+
14430
+ /* Chip slot (replaces badge; use Chip component) */
14431
+ .muka-checkbox-tile__chip {
14432
+ flex-shrink: 0;
14433
+ }
14434
+
14435
+ .muka-checkbox-tile__chip--vertical {
14436
+ margin-top: var(--spacing-1);
14437
+ }
14438
+
14439
+ /* Label */
14440
+ .muka-checkbox-tile__label {
14441
+ font-family: var(--text-body-lg-regular-fontFamily);
14442
+ font-weight: var(--text-body-lg-regular-fontWeight);
14443
+ font-size: var(--text-body-lg-regular-fontSize);
14444
+ line-height: var(--text-body-lg-regular-lineHeight);
14445
+ color: var(--color-text-default-default);
14446
+ }
14447
+
14448
+ .muka-checkbox-tile__label--bold {
14449
+ font-family: var(--text-label-lg-semibold-fontFamily);
14450
+ font-weight: var(--text-label-lg-semibold-fontWeight);
14451
+ font-size: var(--text-label-lg-semibold-fontSize);
14452
+ line-height: var(--text-label-lg-semibold-lineHeight);
14453
+ }
14454
+
14455
+ .muka-checkbox-tile__label--center {
14456
+ text-align: center;
14457
+ }
14458
+
14459
+ /* Caption */
14460
+ .muka-checkbox-tile__caption {
14461
+ font-family: var(--text-body-base-regular-fontFamily);
14462
+ font-weight: var(--text-body-base-regular-fontWeight);
14463
+ font-size: var(--text-body-base-regular-fontSize);
14464
+ line-height: var(--text-body-base-regular-lineHeight);
14465
+ color: var(--color-text-subtle-default);
14466
+ }
14467
+
14468
+ /* Disabled states */
14469
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14470
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14471
+ color: var(--color-text-subtle-default);
14472
+ }
14473
+
14474
+
14475
+ /* Checkbox */
14476
+ /* Checkbox Component Styles - Using Muka Design Tokens */
14477
+
14478
+ /* Wrapper - clickable label container */
14479
+ .muka-checkbox {
14480
+ display: inline-flex;
14481
+ align-items: center;
14482
+ gap: var(--spacing-4);
14483
+ cursor: pointer;
14484
+ user-select: none;
14485
+ }
14486
+
14487
+ .muka-checkbox--disabled {
14488
+ cursor: not-allowed;
14489
+ opacity: 0.6;
14490
+ }
14491
+
14492
+ /* Control container */
14493
+ .muka-checkbox__control {
14494
+ position: relative;
14495
+ display: inline-flex;
14496
+ align-items: center;
14497
+ justify-content: center;
14498
+ flex-shrink: 0;
14499
+ }
14500
+
14501
+ /* Hidden native input */
14502
+ .muka-checkbox__input {
14503
+ position: absolute;
14504
+ width: 1px;
14505
+ height: 1px;
14506
+ padding: 0;
14507
+ margin: -1px;
14508
+ overflow: hidden;
14509
+ clip: rect(0, 0, 0, 0);
14510
+ white-space: nowrap;
14511
+ border: 0;
14512
+ }
14513
+
14514
+ /* Visual indicator (square) */
14515
+ .muka-checkbox__indicator {
14516
+ display: flex;
14517
+ align-items: center;
14518
+ justify-content: center;
14519
+ width: var(--checkbox-size-default);
14520
+ height: var(--checkbox-size-default);
14521
+ border-radius: var(--checkbox-radius);
14522
+ background-color: var(--checkbox-color-default-background);
14523
+ border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14524
+ transition: all 0.15s ease;
14525
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14526
+ }
14527
+
14528
+ /* Size variants */
14529
+ .muka-checkbox--sm .muka-checkbox__indicator {
14530
+ width: var(--checkbox-size-sm);
14531
+ height: var(--checkbox-size-sm);
14532
+ }
14533
+
14534
+ .muka-checkbox--lg .muka-checkbox__indicator {
14535
+ width: var(--checkbox-size-lg);
14536
+ height: var(--checkbox-size-lg);
14537
+ }
14538
+
14539
+ /* Icon inside checkbox */
14540
+ .muka-checkbox__icon {
14541
+ width: var(--checkbox-icon-size-default);
14542
+ height: var(--checkbox-icon-size-default);
14543
+ color: var(--checkbox-color-default-icon);
14544
+ opacity: 0;
14545
+ transform: scale(0.8);
14546
+ transition: opacity 0.15s ease, transform 0.15s ease;
14547
+ }
14548
+
14549
+ .muka-checkbox--sm .muka-checkbox__icon {
14550
+ width: var(--checkbox-icon-size-sm);
14551
+ height: var(--checkbox-icon-size-sm);
14552
+ }
14553
+
14554
+ .muka-checkbox--lg .muka-checkbox__icon {
14555
+ width: var(--checkbox-icon-size-lg);
14556
+ height: var(--checkbox-icon-size-lg);
14557
+ }
14558
+
14559
+ /* Hide indeterminate icon by default */
14560
+ .muka-checkbox__icon--indeterminate {
14561
+ position: absolute;
14562
+ }
14563
+
14564
+ /* Hover state - removed per design */
14565
+
14566
+ /* Focus state */
14567
+ .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14568
+ outline: 2px solid var(--color-border-focus);
14569
+ outline-offset: 2px;
14570
+ }
14571
+
14572
+ /* Checked state */
14573
+ .muka-checkbox__input:checked + .muka-checkbox__indicator {
14574
+ background-color: var(--checkbox-color-checked-background);
14575
+ border-color: var(--checkbox-color-checked-border);
14576
+ box-shadow: none;
14364
14577
  }
14365
14578
 
14366
- /* Vertical image sizing */
14367
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14368
- width: 100%;
14369
- aspect-ratio: 4/3;
14579
+ .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14580
+ color: var(--checkbox-color-checked-icon);
14581
+ opacity: 1;
14582
+ transform: scale(1);
14370
14583
  }
14371
14584
 
14372
- /* Content container */
14373
- .muka-checkbox-tile__content {
14374
- display: flex;
14375
- flex-direction: column;
14376
- flex: 1;
14377
- min-width: 0;
14378
- gap: var(--spacing-2);
14585
+ /* Indeterminate state */
14586
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14587
+ background-color: var(--checkbox-color-checked-background);
14588
+ border-color: var(--checkbox-color-checked-border);
14589
+ box-shadow: none;
14379
14590
  }
14380
14591
 
14381
- .muka-checkbox-tile__content-inner {
14382
- display: flex;
14383
- flex-direction: column;
14384
- gap: var(--spacing-1);
14592
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14593
+ opacity: 0;
14385
14594
  }
14386
14595
 
14387
- /* Chip slot (replaces badge; use Chip component) */
14388
- .muka-checkbox-tile__chip {
14389
- flex-shrink: 0;
14596
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14597
+ color: var(--checkbox-color-checked-icon);
14598
+ opacity: 1;
14599
+ transform: scale(1);
14390
14600
  }
14391
14601
 
14392
- .muka-checkbox-tile__chip--vertical {
14393
- margin-top: var(--spacing-1);
14602
+ /* Disabled state */
14603
+ .muka-checkbox--disabled .muka-checkbox__indicator {
14604
+ background-color: var(--checkbox-color-disabled-background);
14605
+ border-color: var(--checkbox-color-disabled-border);
14606
+ box-shadow: none;
14394
14607
  }
14395
14608
 
14396
- /* Label */
14397
- .muka-checkbox-tile__label {
14398
- font-family: var(--text-body-lg-regular-fontFamily);
14399
- font-weight: var(--text-body-lg-regular-fontWeight);
14400
- font-size: var(--text-body-lg-regular-fontSize);
14401
- line-height: var(--text-body-lg-regular-lineHeight);
14402
- color: var(--color-text-default-default);
14609
+ .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14610
+ .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14611
+ color: var(--checkbox-color-disabled-icon);
14403
14612
  }
14404
14613
 
14405
- .muka-checkbox-tile__label--bold {
14406
- font-family: var(--text-label-lg-semibold-fontFamily);
14407
- font-weight: var(--text-label-lg-semibold-fontWeight);
14408
- font-size: var(--text-label-lg-semibold-fontSize);
14409
- line-height: var(--text-label-lg-semibold-lineHeight);
14614
+ /* Label text */
14615
+ .muka-checkbox__label {
14616
+ font-family: var(--text-label-lg-regular-fontFamily);
14617
+ font-weight: var(--text-label-lg-regular-fontWeight);
14618
+ font-size: var(--text-label-lg-regular-fontSize);
14619
+ line-height: var(--text-label-lg-regular-lineHeight);
14620
+ color: var(--color-text-default-default);
14410
14621
  }
14411
14622
 
14412
- .muka-checkbox-tile__label--center {
14413
- text-align: center;
14623
+ .muka-checkbox--sm .muka-checkbox__label {
14624
+ font-family: var(--text-label-md-regular-fontFamily);
14625
+ font-weight: var(--text-label-md-regular-fontWeight);
14626
+ font-size: var(--text-label-md-regular-fontSize);
14627
+ line-height: var(--text-label-md-regular-lineHeight);
14414
14628
  }
14415
14629
 
14416
- /* Caption */
14417
- .muka-checkbox-tile__caption {
14418
- font-family: var(--text-body-base-regular-fontFamily);
14419
- font-weight: var(--text-body-base-regular-fontWeight);
14420
- font-size: var(--text-body-base-regular-fontSize);
14421
- line-height: var(--text-body-base-regular-lineHeight);
14422
- color: var(--color-text-subtle-default);
14630
+ .muka-checkbox--lg .muka-checkbox__label {
14631
+ font-family: var(--text-label-xl-regular-fontFamily);
14632
+ font-weight: var(--text-label-xl-regular-fontWeight);
14633
+ font-size: var(--text-label-xl-regular-fontSize);
14634
+ line-height: var(--text-label-xl-regular-lineHeight);
14423
14635
  }
14424
14636
 
14425
- /* Disabled states */
14426
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14427
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14637
+ .muka-checkbox--disabled .muka-checkbox__label {
14428
14638
  color: var(--color-text-subtle-default);
14429
14639
  }
14430
14640
 
@@ -14569,272 +14779,105 @@ button.muka-chip__trailing[aria-expanded='true'],
14569
14779
 
14570
14780
  .muka-chat-photo-grid__tile {
14571
14781
  position: relative;
14572
- display: block;
14573
- overflow: hidden;
14574
- min-width: 0;
14575
- padding: 0;
14576
- margin: 0;
14577
- border: none;
14578
- background-color: var(--chatphotogrid-color-placeholder);
14579
- aspect-ratio: 1 / 1;
14580
- }
14581
-
14582
- button.muka-chat-photo-grid__tile {
14583
- cursor: pointer;
14584
- appearance: none;
14585
- }
14586
-
14587
- button.muka-chat-photo-grid__tile:focus-visible {
14588
- outline: var(--border-width-bold) solid var(--color-border-focus);
14589
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14590
- outline-offset: calc(-1 * var(--border-width-bold));
14591
- }
14592
-
14593
- .muka-chat-photo-grid__image {
14594
- display: block;
14595
- width: 100%;
14596
- height: 100%;
14597
- object-fit: cover;
14598
- }
14599
-
14600
- /* ─── Overflow tile ────────────────────────────────────── */
14601
-
14602
- .muka-chat-photo-grid__overflow {
14603
- position: absolute;
14604
- inset: 0;
14605
- display: flex;
14606
- align-items: center;
14607
- justify-content: center;
14608
- background-color: var(--chatphotogrid-color-overflow-background);
14609
- color: var(--chatphotogrid-color-overflow-foreground);
14610
- font-family: var(--text-body-2xl-regular-fontFamily);
14611
- font-weight: var(--text-body-2xl-regular-fontWeight);
14612
- font-size: var(--text-body-2xl-regular-fontSize);
14613
- line-height: var(--text-body-2xl-regular-lineHeight);
14614
- }
14615
-
14616
- /* ─── Layouts ──────────────────────────────────────────── */
14617
-
14618
- .muka-chat-photo-grid--1 {
14619
- grid-template-columns: 1fr;
14620
- }
14621
-
14622
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14623
- aspect-ratio: 4 / 3;
14624
- }
14625
-
14626
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14627
- aspect-ratio: 3 / 4;
14628
- }
14629
-
14630
- .muka-chat-photo-grid--2 {
14631
- grid-template-columns: repeat(2, 1fr);
14632
- }
14633
-
14634
- .muka-chat-photo-grid--3 {
14635
- grid-template-columns: repeat(3, 1fr);
14636
- }
14637
-
14638
- .muka-chat-photo-grid--4 {
14639
- grid-template-columns: repeat(2, 1fr);
14640
- }
14641
-
14642
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14643
- .muka-chat-photo-grid--5 {
14644
- grid-template-columns: repeat(6, 1fr);
14645
- }
14646
-
14647
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14648
- grid-column: span 3;
14649
- }
14650
-
14651
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14652
- grid-column: span 2;
14653
- }
14654
-
14655
- .muka-chat-photo-grid--6,
14656
- .muka-chat-photo-grid--overflow {
14657
- grid-template-columns: repeat(3, 1fr);
14658
- }
14659
-
14660
- /* ─── Print ────────────────────────────────────────────── */
14661
-
14662
- @media print {
14663
- .muka-chat-photo-grid {
14664
- break-inside: avoid;
14665
- }
14666
-
14667
- .muka-chat-photo-grid__image {
14668
- print-color-adjust: exact;
14669
- -webkit-print-color-adjust: exact;
14670
- }
14671
- }
14672
-
14673
-
14674
- /* Checkbox */
14675
- /* Checkbox Component Styles - Using Muka Design Tokens */
14676
-
14677
- /* Wrapper - clickable label container */
14678
- .muka-checkbox {
14679
- display: inline-flex;
14680
- align-items: center;
14681
- gap: var(--spacing-4);
14682
- cursor: pointer;
14683
- user-select: none;
14684
- }
14685
-
14686
- .muka-checkbox--disabled {
14687
- cursor: not-allowed;
14688
- opacity: 0.6;
14689
- }
14690
-
14691
- /* Control container */
14692
- .muka-checkbox__control {
14693
- position: relative;
14694
- display: inline-flex;
14695
- align-items: center;
14696
- justify-content: center;
14697
- flex-shrink: 0;
14698
- }
14699
-
14700
- /* Hidden native input */
14701
- .muka-checkbox__input {
14702
- position: absolute;
14703
- width: 1px;
14704
- height: 1px;
14705
- padding: 0;
14706
- margin: -1px;
14707
- overflow: hidden;
14708
- clip: rect(0, 0, 0, 0);
14709
- white-space: nowrap;
14710
- border: 0;
14711
- }
14712
-
14713
- /* Visual indicator (square) */
14714
- .muka-checkbox__indicator {
14715
- display: flex;
14716
- align-items: center;
14717
- justify-content: center;
14718
- width: var(--checkbox-size-default);
14719
- height: var(--checkbox-size-default);
14720
- border-radius: var(--checkbox-radius);
14721
- background-color: var(--checkbox-color-default-background);
14722
- border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14723
- transition: all 0.15s ease;
14724
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14725
- }
14726
-
14727
- /* Size variants */
14728
- .muka-checkbox--sm .muka-checkbox__indicator {
14729
- width: var(--checkbox-size-sm);
14730
- height: var(--checkbox-size-sm);
14782
+ display: block;
14783
+ overflow: hidden;
14784
+ min-width: 0;
14785
+ padding: 0;
14786
+ margin: 0;
14787
+ border: none;
14788
+ background-color: var(--chatphotogrid-color-placeholder);
14789
+ aspect-ratio: 1 / 1;
14731
14790
  }
14732
14791
 
14733
- .muka-checkbox--lg .muka-checkbox__indicator {
14734
- width: var(--checkbox-size-lg);
14735
- height: var(--checkbox-size-lg);
14792
+ button.muka-chat-photo-grid__tile {
14793
+ cursor: pointer;
14794
+ appearance: none;
14736
14795
  }
14737
14796
 
14738
- /* Icon inside checkbox */
14739
- .muka-checkbox__icon {
14740
- width: var(--checkbox-icon-size-default);
14741
- height: var(--checkbox-icon-size-default);
14742
- color: var(--checkbox-color-default-icon);
14743
- opacity: 0;
14744
- transform: scale(0.8);
14745
- transition: opacity 0.15s ease, transform 0.15s ease;
14797
+ button.muka-chat-photo-grid__tile:focus-visible {
14798
+ outline: var(--border-width-bold) solid var(--color-border-focus);
14799
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14800
+ outline-offset: calc(-1 * var(--border-width-bold));
14746
14801
  }
14747
14802
 
14748
- .muka-checkbox--sm .muka-checkbox__icon {
14749
- width: var(--checkbox-icon-size-sm);
14750
- height: var(--checkbox-icon-size-sm);
14803
+ .muka-chat-photo-grid__image {
14804
+ display: block;
14805
+ width: 100%;
14806
+ height: 100%;
14807
+ object-fit: cover;
14751
14808
  }
14752
14809
 
14753
- .muka-checkbox--lg .muka-checkbox__icon {
14754
- width: var(--checkbox-icon-size-lg);
14755
- height: var(--checkbox-icon-size-lg);
14756
- }
14810
+ /* ─── Overflow tile ────────────────────────────────────── */
14757
14811
 
14758
- /* Hide indeterminate icon by default */
14759
- .muka-checkbox__icon--indeterminate {
14812
+ .muka-chat-photo-grid__overflow {
14760
14813
  position: absolute;
14814
+ inset: 0;
14815
+ display: flex;
14816
+ align-items: center;
14817
+ justify-content: center;
14818
+ background-color: var(--chatphotogrid-color-overflow-background);
14819
+ color: var(--chatphotogrid-color-overflow-foreground);
14820
+ font-family: var(--text-body-2xl-regular-fontFamily);
14821
+ font-weight: var(--text-body-2xl-regular-fontWeight);
14822
+ font-size: var(--text-body-2xl-regular-fontSize);
14823
+ line-height: var(--text-body-2xl-regular-lineHeight);
14761
14824
  }
14762
14825
 
14763
- /* Hover state - removed per design */
14826
+ /* ─── Layouts ──────────────────────────────────────────── */
14764
14827
 
14765
- /* Focus state */
14766
- .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14767
- outline: 2px solid var(--color-border-focus);
14768
- outline-offset: 2px;
14828
+ .muka-chat-photo-grid--1 {
14829
+ grid-template-columns: 1fr;
14769
14830
  }
14770
14831
 
14771
- /* Checked state */
14772
- .muka-checkbox__input:checked + .muka-checkbox__indicator {
14773
- background-color: var(--checkbox-color-checked-background);
14774
- border-color: var(--checkbox-color-checked-border);
14775
- box-shadow: none;
14832
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14833
+ aspect-ratio: 4 / 3;
14776
14834
  }
14777
14835
 
14778
- .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14779
- color: var(--checkbox-color-checked-icon);
14780
- opacity: 1;
14781
- transform: scale(1);
14836
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14837
+ aspect-ratio: 3 / 4;
14782
14838
  }
14783
14839
 
14784
- /* Indeterminate state */
14785
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14786
- background-color: var(--checkbox-color-checked-background);
14787
- border-color: var(--checkbox-color-checked-border);
14788
- box-shadow: none;
14840
+ .muka-chat-photo-grid--2 {
14841
+ grid-template-columns: repeat(2, 1fr);
14789
14842
  }
14790
14843
 
14791
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14792
- opacity: 0;
14844
+ .muka-chat-photo-grid--3 {
14845
+ grid-template-columns: repeat(3, 1fr);
14793
14846
  }
14794
14847
 
14795
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14796
- color: var(--checkbox-color-checked-icon);
14797
- opacity: 1;
14798
- transform: scale(1);
14848
+ .muka-chat-photo-grid--4 {
14849
+ grid-template-columns: repeat(2, 1fr);
14799
14850
  }
14800
14851
 
14801
- /* Disabled state */
14802
- .muka-checkbox--disabled .muka-checkbox__indicator {
14803
- background-color: var(--checkbox-color-disabled-background);
14804
- border-color: var(--checkbox-color-disabled-border);
14805
- box-shadow: none;
14852
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14853
+ .muka-chat-photo-grid--5 {
14854
+ grid-template-columns: repeat(6, 1fr);
14806
14855
  }
14807
14856
 
14808
- .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14809
- .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14810
- color: var(--checkbox-color-disabled-icon);
14857
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14858
+ grid-column: span 3;
14811
14859
  }
14812
14860
 
14813
- /* Label text */
14814
- .muka-checkbox__label {
14815
- font-family: var(--text-label-lg-regular-fontFamily);
14816
- font-weight: var(--text-label-lg-regular-fontWeight);
14817
- font-size: var(--text-label-lg-regular-fontSize);
14818
- line-height: var(--text-label-lg-regular-lineHeight);
14819
- color: var(--color-text-default-default);
14861
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14862
+ grid-column: span 2;
14820
14863
  }
14821
14864
 
14822
- .muka-checkbox--sm .muka-checkbox__label {
14823
- font-family: var(--text-label-md-regular-fontFamily);
14824
- font-weight: var(--text-label-md-regular-fontWeight);
14825
- font-size: var(--text-label-md-regular-fontSize);
14826
- line-height: var(--text-label-md-regular-lineHeight);
14865
+ .muka-chat-photo-grid--6,
14866
+ .muka-chat-photo-grid--overflow {
14867
+ grid-template-columns: repeat(3, 1fr);
14827
14868
  }
14828
14869
 
14829
- .muka-checkbox--lg .muka-checkbox__label {
14830
- font-family: var(--text-label-xl-regular-fontFamily);
14831
- font-weight: var(--text-label-xl-regular-fontWeight);
14832
- font-size: var(--text-label-xl-regular-fontSize);
14833
- line-height: var(--text-label-xl-regular-lineHeight);
14834
- }
14870
+ /* ─── Print ────────────────────────────────────────────── */
14835
14871
 
14836
- .muka-checkbox--disabled .muka-checkbox__label {
14837
- color: var(--color-text-subtle-default);
14872
+ @media print {
14873
+ .muka-chat-photo-grid {
14874
+ break-inside: avoid;
14875
+ }
14876
+
14877
+ .muka-chat-photo-grid__image {
14878
+ print-color-adjust: exact;
14879
+ -webkit-print-color-adjust: exact;
14880
+ }
14838
14881
  }
14839
14882
 
14840
14883
 
@@ -15299,6 +15342,58 @@ button.muka-chat-photo-grid__tile:focus-visible {
15299
15342
  }
15300
15343
 
15301
15344
 
15345
+ /* ChatEvent */
15346
+ /* ChatEvent: a line in a chat that isn't a message from a person */
15347
+
15348
+ .muka-chat-event {
15349
+ display: flex;
15350
+ flex-direction: column;
15351
+ align-items: center;
15352
+ gap: var(--spacing-2);
15353
+ width: 100%;
15354
+ padding: 0 var(--spacing-4);
15355
+ box-sizing: border-box;
15356
+ text-align: center;
15357
+ }
15358
+
15359
+ .muka-chat-event__text {
15360
+ margin: 0;
15361
+ max-width: var(--chatbubble-max-width);
15362
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15363
+ and this is body text. Size and centring set it apart from messages. */
15364
+ color: var(--color-text-default-default);
15365
+ font-family: var(--text-body-sm-regular-fontFamily);
15366
+ font-weight: var(--text-body-sm-regular-fontWeight);
15367
+ font-size: var(--text-body-sm-regular-fontSize);
15368
+ line-height: var(--text-body-sm-regular-lineHeight);
15369
+ }
15370
+
15371
+ .muka-chat-event__timestamp {
15372
+ white-space: nowrap;
15373
+ }
15374
+
15375
+ .muka-chat-event__media {
15376
+ display: flex;
15377
+ flex-wrap: wrap;
15378
+ justify-content: center;
15379
+ gap: var(--spacing-2);
15380
+ }
15381
+
15382
+ /* Day divider: a small pill */
15383
+ .muka-chat-event__pill {
15384
+ display: inline-flex;
15385
+ align-items: center;
15386
+ padding: var(--spacing-1) var(--spacing-3);
15387
+ border-radius: var(--radius-full);
15388
+ background-color: var(--color-surface-level2);
15389
+ color: var(--color-text-default-default);
15390
+ font-family: var(--text-label-sm-regular-fontFamily);
15391
+ font-weight: var(--text-label-sm-regular-fontWeight);
15392
+ font-size: var(--text-label-sm-regular-fontSize);
15393
+ line-height: var(--text-label-sm-leading);
15394
+ }
15395
+
15396
+
15302
15397
  /* ChatComposer */
15303
15398
  /* ChatComposer Component Styles */
15304
15399
 
@@ -15649,56 +15744,160 @@ button.muka-chat-photo-grid__tile:focus-visible {
15649
15744
  min-width: 0;
15650
15745
  }
15651
15746
 
15652
-
15653
- /* ChatEvent */
15654
- /* ChatEvent: a line in a chat that isn't a message from a person */
15655
-
15656
- .muka-chat-event {
15747
+
15748
+ /* ChatAttachmentChip */
15749
+ /* ChatAttachmentChip Component Styles */
15750
+
15751
+ .muka-chat-attachment-chip {
15752
+ position: relative;
15753
+ display: inline-flex;
15754
+ align-items: center;
15755
+ gap: var(--spacing-1);
15756
+ max-width: 240px;
15757
+ padding: var(--spacing-2) var(--spacing-3);
15758
+ background-color: var(--color-surface-level1);
15759
+ border: var(--border-width-regular) solid var(--color-border-default);
15760
+ border-radius: var(--radius-md);
15761
+ overflow: hidden;
15762
+ }
15763
+
15764
+ .muka-chat-attachment-chip--uploading {
15765
+ padding-bottom: calc(var(--spacing-2) + 2px);
15766
+ }
15767
+
15768
+ .muka-chat-attachment-chip--error {
15769
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15770
+ }
15771
+
15772
+ .muka-chat-attachment-chip--disabled {
15773
+ opacity: 0.5;
15774
+ pointer-events: none;
15775
+ }
15776
+
15777
+ /* ─── Body (icon + text) ───────────────────────────────── */
15778
+
15779
+ .muka-chat-attachment-chip__body {
15780
+ display: inline-flex;
15781
+ align-items: center;
15782
+ gap: var(--spacing-2);
15783
+ min-width: 0;
15784
+ flex: 1 1 auto;
15785
+ background: none;
15786
+ border: none;
15787
+ padding: 0;
15788
+ margin: 0;
15789
+ text-align: left;
15790
+ color: inherit;
15791
+ font: inherit;
15792
+ cursor: default;
15793
+ -webkit-tap-highlight-color: transparent;
15794
+ }
15795
+
15796
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15797
+ cursor: pointer;
15798
+ }
15799
+
15800
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15801
+ outline: 2px solid var(--color-action-default);
15802
+ outline-offset: 2px;
15803
+ border-radius: var(--radius-sm);
15804
+ }
15805
+
15806
+ .muka-chat-attachment-chip__icon {
15807
+ display: inline-flex;
15808
+ align-items: center;
15809
+ justify-content: center;
15810
+ flex-shrink: 0;
15811
+ color: var(--color-text-subtle-default);
15812
+ }
15813
+
15814
+ .muka-chat-attachment-chip__text {
15657
15815
  display: flex;
15658
15816
  flex-direction: column;
15659
- align-items: center;
15660
- gap: var(--spacing-2);
15661
- width: 100%;
15662
- padding: 0 var(--spacing-4);
15663
- box-sizing: border-box;
15664
- text-align: center;
15817
+ min-width: 0;
15818
+ flex: 1 1 auto;
15665
15819
  }
15666
15820
 
15667
- .muka-chat-event__text {
15668
- margin: 0;
15669
- max-width: var(--chatbubble-max-width);
15670
- /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15671
- and this is body text. Size and centring set it apart from messages. */
15821
+ .muka-chat-attachment-chip__name {
15672
15822
  color: var(--color-text-default-default);
15673
15823
  font-family: var(--text-body-sm-regular-fontFamily);
15674
15824
  font-weight: var(--text-body-sm-regular-fontWeight);
15675
15825
  font-size: var(--text-body-sm-regular-fontSize);
15676
15826
  line-height: var(--text-body-sm-regular-lineHeight);
15827
+ white-space: nowrap;
15828
+ overflow: hidden;
15829
+ text-overflow: ellipsis;
15677
15830
  }
15678
15831
 
15679
- .muka-chat-event__timestamp {
15832
+ .muka-chat-attachment-chip__meta {
15833
+ color: var(--color-text-subtle-default);
15834
+ font-family: var(--text-body-sm-regular-fontFamily);
15835
+ font-weight: var(--text-body-sm-regular-fontWeight);
15836
+ font-size: var(--text-body-sm-regular-fontSize);
15837
+ line-height: var(--text-body-sm-regular-lineHeight);
15680
15838
  white-space: nowrap;
15839
+ overflow: hidden;
15840
+ text-overflow: ellipsis;
15681
15841
  }
15682
15842
 
15683
- .muka-chat-event__media {
15684
- display: flex;
15685
- flex-wrap: wrap;
15686
- justify-content: center;
15687
- gap: var(--spacing-2);
15843
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15844
+ color: var(--color-state-error-default, var(--color-text-default-default));
15688
15845
  }
15689
15846
 
15690
- /* Day divider: a small pill */
15691
- .muka-chat-event__pill {
15847
+ /* ─── Remove button ────────────────────────────────────── */
15848
+
15849
+ .muka-chat-attachment-chip__remove {
15692
15850
  display: inline-flex;
15693
15851
  align-items: center;
15694
- padding: var(--spacing-1) var(--spacing-3);
15695
- border-radius: var(--radius-full);
15696
- background-color: var(--color-surface-level2);
15852
+ justify-content: center;
15853
+ width: 20px;
15854
+ height: 20px;
15855
+ border: none;
15856
+ background: none;
15857
+ padding: 0;
15858
+ border-radius: var(--radius-sm);
15859
+ cursor: pointer;
15860
+ color: var(--color-text-subtle-default);
15861
+ flex-shrink: 0;
15862
+ -webkit-tap-highlight-color: transparent;
15863
+ }
15864
+
15865
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15697
15866
  color: var(--color-text-default-default);
15698
- font-family: var(--text-label-sm-regular-fontFamily);
15699
- font-weight: var(--text-label-sm-regular-fontWeight);
15700
- font-size: var(--text-label-sm-regular-fontSize);
15701
- line-height: var(--text-label-sm-leading);
15867
+ background-color: var(--color-surface-level2);
15868
+ }
15869
+
15870
+ .muka-chat-attachment-chip__remove:focus-visible {
15871
+ outline: 2px solid var(--color-action-default);
15872
+ outline-offset: 2px;
15873
+ }
15874
+
15875
+ .muka-chat-attachment-chip__remove:disabled {
15876
+ cursor: not-allowed;
15877
+ opacity: 0.5;
15878
+ }
15879
+
15880
+ /* ─── Progress bar ─────────────────────────────────────── */
15881
+
15882
+ .muka-chat-attachment-chip__progress {
15883
+ position: absolute;
15884
+ left: 0;
15885
+ right: 0;
15886
+ bottom: 0;
15887
+ height: 2px;
15888
+ background-color: var(--color-surface-level2);
15889
+ overflow: hidden;
15890
+ }
15891
+
15892
+ .muka-chat-attachment-chip__progress-fill {
15893
+ display: block;
15894
+ height: 100%;
15895
+ background-color: var(--color-action-default);
15896
+ transition: width 0.16s ease;
15897
+ }
15898
+
15899
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15900
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15702
15901
  }
15703
15902
 
15704
15903
 
@@ -17925,162 +18124,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17925
18124
  }
17926
18125
 
17927
18126
 
17928
- /* ChatAttachmentChip */
17929
- /* ChatAttachmentChip Component Styles */
17930
-
17931
- .muka-chat-attachment-chip {
17932
- position: relative;
17933
- display: inline-flex;
17934
- align-items: center;
17935
- gap: var(--spacing-1);
17936
- max-width: 240px;
17937
- padding: var(--spacing-2) var(--spacing-3);
17938
- background-color: var(--color-surface-level1);
17939
- border: var(--border-width-regular) solid var(--color-border-default);
17940
- border-radius: var(--radius-md);
17941
- overflow: hidden;
17942
- }
17943
-
17944
- .muka-chat-attachment-chip--uploading {
17945
- padding-bottom: calc(var(--spacing-2) + 2px);
17946
- }
17947
-
17948
- .muka-chat-attachment-chip--error {
17949
- border-color: var(--color-state-error-default, var(--color-text-default-default));
17950
- }
17951
-
17952
- .muka-chat-attachment-chip--disabled {
17953
- opacity: 0.5;
17954
- pointer-events: none;
17955
- }
17956
-
17957
- /* ─── Body (icon + text) ───────────────────────────────── */
17958
-
17959
- .muka-chat-attachment-chip__body {
17960
- display: inline-flex;
17961
- align-items: center;
17962
- gap: var(--spacing-2);
17963
- min-width: 0;
17964
- flex: 1 1 auto;
17965
- background: none;
17966
- border: none;
17967
- padding: 0;
17968
- margin: 0;
17969
- text-align: left;
17970
- color: inherit;
17971
- font: inherit;
17972
- cursor: default;
17973
- -webkit-tap-highlight-color: transparent;
17974
- }
17975
-
17976
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
17977
- cursor: pointer;
17978
- }
17979
-
17980
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
17981
- outline: 2px solid var(--color-action-default);
17982
- outline-offset: 2px;
17983
- border-radius: var(--radius-sm);
17984
- }
17985
-
17986
- .muka-chat-attachment-chip__icon {
17987
- display: inline-flex;
17988
- align-items: center;
17989
- justify-content: center;
17990
- flex-shrink: 0;
17991
- color: var(--color-text-subtle-default);
17992
- }
17993
-
17994
- .muka-chat-attachment-chip__text {
17995
- display: flex;
17996
- flex-direction: column;
17997
- min-width: 0;
17998
- flex: 1 1 auto;
17999
- }
18000
-
18001
- .muka-chat-attachment-chip__name {
18002
- color: var(--color-text-default-default);
18003
- font-family: var(--text-body-sm-regular-fontFamily);
18004
- font-weight: var(--text-body-sm-regular-fontWeight);
18005
- font-size: var(--text-body-sm-regular-fontSize);
18006
- line-height: var(--text-body-sm-regular-lineHeight);
18007
- white-space: nowrap;
18008
- overflow: hidden;
18009
- text-overflow: ellipsis;
18010
- }
18011
-
18012
- .muka-chat-attachment-chip__meta {
18013
- color: var(--color-text-subtle-default);
18014
- font-family: var(--text-body-sm-regular-fontFamily);
18015
- font-weight: var(--text-body-sm-regular-fontWeight);
18016
- font-size: var(--text-body-sm-regular-fontSize);
18017
- line-height: var(--text-body-sm-regular-lineHeight);
18018
- white-space: nowrap;
18019
- overflow: hidden;
18020
- text-overflow: ellipsis;
18021
- }
18022
-
18023
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
18024
- color: var(--color-state-error-default, var(--color-text-default-default));
18025
- }
18026
-
18027
- /* ─── Remove button ────────────────────────────────────── */
18028
-
18029
- .muka-chat-attachment-chip__remove {
18030
- display: inline-flex;
18031
- align-items: center;
18032
- justify-content: center;
18033
- width: 20px;
18034
- height: 20px;
18035
- border: none;
18036
- background: none;
18037
- padding: 0;
18038
- border-radius: var(--radius-sm);
18039
- cursor: pointer;
18040
- color: var(--color-text-subtle-default);
18041
- flex-shrink: 0;
18042
- -webkit-tap-highlight-color: transparent;
18043
- }
18044
-
18045
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
18046
- color: var(--color-text-default-default);
18047
- background-color: var(--color-surface-level2);
18048
- }
18049
-
18050
- .muka-chat-attachment-chip__remove:focus-visible {
18051
- outline: 2px solid var(--color-action-default);
18052
- outline-offset: 2px;
18053
- }
18054
-
18055
- .muka-chat-attachment-chip__remove:disabled {
18056
- cursor: not-allowed;
18057
- opacity: 0.5;
18058
- }
18059
-
18060
- /* ─── Progress bar ─────────────────────────────────────── */
18061
-
18062
- .muka-chat-attachment-chip__progress {
18063
- position: absolute;
18064
- left: 0;
18065
- right: 0;
18066
- bottom: 0;
18067
- height: 2px;
18068
- background-color: var(--color-surface-level2);
18069
- overflow: hidden;
18070
- }
18071
-
18072
- .muka-chat-attachment-chip__progress-fill {
18073
- display: block;
18074
- height: 100%;
18075
- background-color: var(--color-action-default);
18076
- transition: width 0.16s ease;
18077
- }
18078
-
18079
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
18080
- background-color: var(--color-state-error-default, var(--color-text-default-default));
18081
- }
18082
-
18083
-
18084
18127
  /* ActionSheet */
18085
18128
  /* ActionSheet Component Styles */
18086
18129