@revikornmann/muka-ui 0.64.0 → 0.64.2

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.
@@ -2673,6 +2673,14 @@ body {
2673
2673
  padding: var(--spacing-4);
2674
2674
  }
2675
2675
 
2676
+ /* Every View carries its own view-transition-name (see View.tsx), with this
2677
+ class, so a View React didn't mark as leaving is still its own layer. A View
2678
+ that stays (old and new image) doesn't move; one that leaves has only an old
2679
+ image (:only-child) and gets the exit motion below. */
2680
+ .muka-view {
2681
+ view-transition-class: muka-view-exit;
2682
+ }
2683
+
2676
2684
  /* ─── Navigation motion (push / pop) ──────────────────────
2677
2685
  React wraps each View in <ViewTransition enter="muka-view-enter"
2678
2686
  exit="muka-view-exit">; viewNavigation.ts writes the direction to
@@ -2685,6 +2693,7 @@ body {
2685
2693
 
2686
2694
  /* No direction, or the large tier: swap without the browser's default crossfade. */
2687
2695
  ::view-transition-old(.muka-view-exit),
2696
+ ::view-transition-new(.muka-view-exit),
2688
2697
  ::view-transition-new(.muka-view-enter) {
2689
2698
  animation: none;
2690
2699
  }
@@ -2709,11 +2718,11 @@ body {
2709
2718
  animation: muka-view-from-right var(--motion-duration-view) var(--motion-easing-enter) both;
2710
2719
  }
2711
2720
 
2712
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
2721
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child {
2713
2722
  animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2714
2723
  }
2715
2724
 
2716
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2725
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2717
2726
  animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2718
2727
  }
2719
2728
 
@@ -2721,34 +2730,11 @@ body {
2721
2730
  animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2722
2731
  }
2723
2732
 
2724
- /* The leaving View without an exit of its own (React drops it for a View
2725
- that first appeared through a Suspense reveal) is in the root snapshot:
2726
- move that instead, and hide the new root, which is only the page behind
2727
- the entering View. On a pop the old root goes above the entering View. */
2728
- :root[data-muka-nav][data-muka-nav-root]::view-transition-new(root) {
2729
- animation: none;
2730
- opacity: 0;
2731
- }
2732
-
2733
- :root[data-muka-nav='push'][data-muka-nav-root]::view-transition-old(root) {
2734
- animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2735
- }
2736
-
2737
- :root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-group(root) {
2738
- z-index: 2;
2739
- }
2740
-
2741
- :root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-old(root) {
2742
- animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2743
- }
2744
-
2745
2733
  }
2746
2734
 
2747
2735
  /* Large tier: the same direction, quietly. The sidebar and app bar stay put,
2748
2736
  so only a short fade with a 16px shift says deeper or back: the new View
2749
- fades in from the side it comes from, the old one fades out the other way.
2750
- A leaving View without an exit of its own (see above) just goes; moving the
2751
- root snapshot here would move the sidebar with it. */
2737
+ fades in from the side it comes from, the old one fades out the other way. */
2752
2738
  @media (min-width: 1024px) {
2753
2739
  :root[data-muka-nav]::view-transition {
2754
2740
  pointer-events: none;
@@ -2759,18 +2745,18 @@ body {
2759
2745
  animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
2760
2746
  }
2761
2747
 
2762
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit),
2763
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2748
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child,
2749
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2764
2750
  animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
2765
2751
  }
2766
2752
 
2767
2753
  :root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
2768
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2754
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2769
2755
  --muka-view-shift: var(--spacing-4);
2770
2756
  }
2771
2757
 
2772
2758
  :root[data-muka-nav='pop']::view-transition-new(.muka-view-enter),
2773
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
2759
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child {
2774
2760
  --muka-view-shift: calc(-1 * var(--spacing-4));
2775
2761
  }
2776
2762
  }
@@ -5996,6 +5982,88 @@ body {
5996
5982
  }
5997
5983
 
5998
5984
 
5985
+ /* Sheet */
5986
+ /* Sheet Component Styles */
5987
+
5988
+ /* ─── Backdrop ────────────────────────────────────────── */
5989
+
5990
+ .muka-sheet__overlay {
5991
+ position: fixed;
5992
+ inset: 0;
5993
+ background-color: var(--color-surface-backdrop);
5994
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5995
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5996
+ z-index: 50;
5997
+ }
5998
+
5999
+ /* ─── Surface ─────────────────────────────────────────── */
6000
+
6001
+ .muka-sheet {
6002
+ position: fixed;
6003
+ left: 0;
6004
+ right: 0;
6005
+ bottom: 0;
6006
+ z-index: 51;
6007
+
6008
+ display: flex;
6009
+ flex-direction: column;
6010
+
6011
+ max-height: 96dvh;
6012
+
6013
+ background-color: var(--color-surface-level3);
6014
+ border-top-left-radius: var(--radius-lg);
6015
+ border-top-right-radius: var(--radius-lg);
6016
+ box-shadow: var(--shadow-level5);
6017
+
6018
+ outline: none;
6019
+ }
6020
+
6021
+ /* Safe-area bottom inset for the iPhone home indicator. */
6022
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
6023
+ padding-bottom: env(safe-area-inset-bottom);
6024
+ }
6025
+
6026
+ /* ─── Drag handle ─────────────────────────────────────── */
6027
+
6028
+ .muka-sheet__handle-container {
6029
+ display: flex;
6030
+ justify-content: center;
6031
+ flex-shrink: 0;
6032
+ padding: var(--spacing-3) 0;
6033
+ }
6034
+
6035
+ .muka-sheet__handle {
6036
+ width: var(--dialog-drag-handle-width);
6037
+ height: var(--dialog-drag-handle-height);
6038
+ background-color: var(--dialog-drag-handle-color);
6039
+ border-radius: var(--dialog-drag-handle-radius);
6040
+ }
6041
+
6042
+ /* ─── Body (scrollable) ───────────────────────────────── */
6043
+
6044
+ .muka-sheet__body {
6045
+ flex: 1 1 0%;
6046
+ min-height: 0;
6047
+ overflow-y: auto;
6048
+ -webkit-overflow-scrolling: touch;
6049
+ overscroll-behavior: contain;
6050
+ }
6051
+
6052
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6053
+
6054
+ .muka-sheet__sr-title {
6055
+ position: absolute;
6056
+ width: 1px;
6057
+ height: 1px;
6058
+ padding: 0;
6059
+ margin: -1px;
6060
+ overflow: hidden;
6061
+ clip: rect(0, 0, 0, 0);
6062
+ white-space: nowrap;
6063
+ border: 0;
6064
+ }
6065
+
6066
+
5999
6067
  /* Select */
6000
6068
  /* Select Component Styles - Aligned with Input for consistency */
6001
6069
 
@@ -6378,88 +6446,6 @@ body {
6378
6446
  }
6379
6447
 
6380
6448
 
6381
- /* Sheet */
6382
- /* Sheet Component Styles */
6383
-
6384
- /* ─── Backdrop ────────────────────────────────────────── */
6385
-
6386
- .muka-sheet__overlay {
6387
- position: fixed;
6388
- inset: 0;
6389
- background-color: var(--color-surface-backdrop);
6390
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6391
- backdrop-filter: blur(var(--effect-blur-backdrop));
6392
- z-index: 50;
6393
- }
6394
-
6395
- /* ─── Surface ─────────────────────────────────────────── */
6396
-
6397
- .muka-sheet {
6398
- position: fixed;
6399
- left: 0;
6400
- right: 0;
6401
- bottom: 0;
6402
- z-index: 51;
6403
-
6404
- display: flex;
6405
- flex-direction: column;
6406
-
6407
- max-height: 96dvh;
6408
-
6409
- background-color: var(--color-surface-level3);
6410
- border-top-left-radius: var(--radius-lg);
6411
- border-top-right-radius: var(--radius-lg);
6412
- box-shadow: var(--shadow-level5);
6413
-
6414
- outline: none;
6415
- }
6416
-
6417
- /* Safe-area bottom inset for the iPhone home indicator. */
6418
- .muka-sheet:not(.muka-sheet--no-safe-area) {
6419
- padding-bottom: env(safe-area-inset-bottom);
6420
- }
6421
-
6422
- /* ─── Drag handle ─────────────────────────────────────── */
6423
-
6424
- .muka-sheet__handle-container {
6425
- display: flex;
6426
- justify-content: center;
6427
- flex-shrink: 0;
6428
- padding: var(--spacing-3) 0;
6429
- }
6430
-
6431
- .muka-sheet__handle {
6432
- width: var(--dialog-drag-handle-width);
6433
- height: var(--dialog-drag-handle-height);
6434
- background-color: var(--dialog-drag-handle-color);
6435
- border-radius: var(--dialog-drag-handle-radius);
6436
- }
6437
-
6438
- /* ─── Body (scrollable) ───────────────────────────────── */
6439
-
6440
- .muka-sheet__body {
6441
- flex: 1 1 0%;
6442
- min-height: 0;
6443
- overflow-y: auto;
6444
- -webkit-overflow-scrolling: touch;
6445
- overscroll-behavior: contain;
6446
- }
6447
-
6448
- /* ─── Visually-hidden title (a11y) ────────────────────── */
6449
-
6450
- .muka-sheet__sr-title {
6451
- position: absolute;
6452
- width: 1px;
6453
- height: 1px;
6454
- padding: 0;
6455
- margin: -1px;
6456
- overflow: hidden;
6457
- clip: rect(0, 0, 0, 0);
6458
- white-space: nowrap;
6459
- border: 0;
6460
- }
6461
-
6462
-
6463
6449
  /* Section */
6464
6450
  /* Section Component - Layout tokens (section.padding) */
6465
6451
 
@@ -7045,200 +7031,57 @@ body {
7045
7031
  }
7046
7032
 
7047
7033
 
7048
- /* RadioTile */
7049
- /* RadioTile Component Styles - Using Muka Design Tokens */
7034
+ /* Radio */
7035
+ /* Radio Component Styles - Using Muka Design Tokens */
7050
7036
 
7051
- /* Base tile styles - horizontal */
7052
- .muka-radio-tile {
7053
- display: flex;
7037
+ /* Wrapper - clickable label container */
7038
+ .muka-radio {
7039
+ display: inline-flex;
7054
7040
  align-items: center;
7055
7041
  gap: var(--spacing-4);
7056
- padding: var(--spacing-4);
7057
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7058
- border-radius: var(--input-field-radius-lg);
7059
- background-color: var(--color-surface-level3);
7060
7042
  cursor: pointer;
7061
- transition: border-color 0.15s ease, border-width 0.15s ease;
7062
- overflow: hidden;
7063
- box-sizing: border-box;
7043
+ user-select: none;
7064
7044
  }
7065
7045
 
7066
- .muka-radio-tile--disabled {
7046
+ .muka-radio--disabled {
7067
7047
  cursor: not-allowed;
7068
7048
  opacity: 0.6;
7069
7049
  }
7070
7050
 
7071
- /* Selected state */
7072
- .muka-radio-tile[data-checked] {
7073
- border-width: var(--border-width-bold);
7074
- border-color: var(--color-action-default);
7075
- }
7076
-
7077
- /* Vertical layout */
7078
- .muka-radio-tile--vertical {
7079
- flex-direction: column;
7080
- align-items: center;
7081
- gap: var(--spacing-2);
7051
+ /* Control container */
7052
+ .muka-radio__control {
7082
7053
  position: relative;
7083
- width: 160px;
7084
- }
7085
-
7086
- /* Radio container */
7087
- .muka-radio-tile__radio {
7054
+ display: inline-flex;
7055
+ align-items: center;
7056
+ justify-content: center;
7088
7057
  flex-shrink: 0;
7089
7058
  }
7090
7059
 
7091
- /* Corner-positioned radio for vertical */
7092
- .muka-radio-tile__radio--corner {
7060
+ /* Hidden native input */
7061
+ .muka-radio__input {
7093
7062
  position: absolute;
7094
- top: var(--spacing-4);
7095
- left: var(--spacing-4);
7096
- }
7097
-
7098
- /* Adjust corner position when selected (border is thicker) */
7099
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7100
- top: calc(var(--spacing-4) - 1px);
7101
- left: calc(var(--spacing-4) - 1px);
7063
+ width: 1px;
7064
+ height: 1px;
7065
+ padding: 0;
7066
+ margin: -1px;
7067
+ overflow: hidden;
7068
+ clip: rect(0, 0, 0, 0);
7069
+ white-space: nowrap;
7070
+ border: 0;
7102
7071
  }
7103
7072
 
7104
- /* Icon */
7105
- .muka-radio-tile__icon {
7073
+ /* Visual indicator (circle) */
7074
+ .muka-radio__indicator {
7106
7075
  display: flex;
7107
7076
  align-items: center;
7108
7077
  justify-content: center;
7109
- flex-shrink: 0;
7110
- width: var(--icon-size-default);
7111
- height: var(--icon-size-default);
7112
- color: var(--color-text-default-default);
7113
- }
7114
-
7115
- .muka-radio-tile__icon svg {
7116
- width: 100%;
7117
- height: 100%;
7118
- }
7119
-
7120
- /* Image */
7121
- .muka-radio-tile__image {
7122
- flex-shrink: 0;
7123
- overflow: hidden;
7124
- border-radius: var(--border-radius-sm);
7125
- }
7126
-
7127
- .muka-radio-tile__image img {
7128
- display: block;
7129
- width: 100%;
7130
- height: 100%;
7131
- object-fit: cover;
7132
- }
7133
-
7134
- /* Horizontal image sizing */
7135
- .muka-radio-tile__image--horizontal {
7136
- width: 40px;
7137
- height: 40px;
7138
- }
7139
-
7140
- /* Vertical image sizing */
7141
- .muka-radio-tile--vertical .muka-radio-tile__image {
7142
- width: 100%;
7143
- aspect-ratio: 4/3;
7144
- }
7145
-
7146
- /* Content container */
7147
- .muka-radio-tile__content {
7148
- display: flex;
7149
- flex-direction: column;
7150
- flex: 1;
7151
- min-width: 0;
7152
- gap: var(--spacing-1);
7153
- }
7154
-
7155
- /* Label */
7156
- .muka-radio-tile__label {
7157
- font-family: var(--text-body-lg-regular-fontFamily);
7158
- font-weight: var(--text-body-lg-regular-fontWeight);
7159
- font-size: var(--text-body-lg-regular-fontSize);
7160
- line-height: var(--text-body-lg-regular-lineHeight);
7161
- color: var(--color-text-default-default);
7162
- }
7163
-
7164
- .muka-radio-tile__label--bold {
7165
- font-family: var(--text-label-lg-semibold-fontFamily);
7166
- font-weight: var(--text-label-lg-semibold-fontWeight);
7167
- font-size: var(--text-label-lg-semibold-fontSize);
7168
- line-height: var(--text-label-lg-semibold-lineHeight);
7169
- }
7170
-
7171
- .muka-radio-tile__label--center {
7172
- text-align: center;
7173
- }
7174
-
7175
- /* Caption */
7176
- .muka-radio-tile__caption {
7177
- font-family: var(--text-body-base-regular-fontFamily);
7178
- font-weight: var(--text-body-base-regular-fontWeight);
7179
- font-size: var(--text-body-base-regular-fontSize);
7180
- line-height: var(--text-body-base-regular-lineHeight);
7181
- color: var(--color-text-subtle-default);
7182
- }
7183
-
7184
- /* Disabled states */
7185
- .muka-radio-tile--disabled .muka-radio-tile__label,
7186
- .muka-radio-tile--disabled .muka-radio-tile__icon {
7187
- color: var(--color-text-subtle-default);
7188
- }
7189
-
7190
-
7191
- /* Radio */
7192
- /* Radio Component Styles - Using Muka Design Tokens */
7193
-
7194
- /* Wrapper - clickable label container */
7195
- .muka-radio {
7196
- display: inline-flex;
7197
- align-items: center;
7198
- gap: var(--spacing-4);
7199
- cursor: pointer;
7200
- user-select: none;
7201
- }
7202
-
7203
- .muka-radio--disabled {
7204
- cursor: not-allowed;
7205
- opacity: 0.6;
7206
- }
7207
-
7208
- /* Control container */
7209
- .muka-radio__control {
7210
- position: relative;
7211
- display: inline-flex;
7212
- align-items: center;
7213
- justify-content: center;
7214
- flex-shrink: 0;
7215
- }
7216
-
7217
- /* Hidden native input */
7218
- .muka-radio__input {
7219
- position: absolute;
7220
- width: 1px;
7221
- height: 1px;
7222
- padding: 0;
7223
- margin: -1px;
7224
- overflow: hidden;
7225
- clip: rect(0, 0, 0, 0);
7226
- white-space: nowrap;
7227
- border: 0;
7228
- }
7229
-
7230
- /* Visual indicator (circle) */
7231
- .muka-radio__indicator {
7232
- display: flex;
7233
- align-items: center;
7234
- justify-content: center;
7235
- width: var(--radio-size-default);
7236
- height: var(--radio-size-default);
7237
- border-radius: var(--border-radius-full);
7238
- background-color: var(--radio-color-default-background);
7239
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7240
- transition: all 0.15s ease;
7241
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7078
+ width: var(--radio-size-default);
7079
+ height: var(--radio-size-default);
7080
+ border-radius: var(--border-radius-full);
7081
+ background-color: var(--radio-color-default-background);
7082
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7083
+ transition: all 0.15s ease;
7084
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7242
7085
  }
7243
7086
 
7244
7087
  /* Size variants */
@@ -7943,104 +7786,247 @@ button.muka-progress-tracker__tab:focus-visible {
7943
7786
  }
7944
7787
 
7945
7788
 
7946
- /* ProgressAccordeon */
7947
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7789
+ /* RadioTile */
7790
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7948
7791
 
7949
- /* ─── Root ──────────────────────────────────────────────── */
7950
- .muka-progress-accordeon {
7951
- container-type: inline-size;
7792
+ /* Base tile styles - horizontal */
7793
+ .muka-radio-tile {
7952
7794
  display: flex;
7953
- flex-direction: column;
7954
- align-items: stretch;
7955
- width: 100%;
7956
- /* Top padding provides the vertical rhythm between stacked steps */
7957
- padding-top: var(--spacing-8);
7958
- }
7959
-
7960
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7961
- .muka-progress-accordeon--current,
7962
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7963
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7964
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7965
- gap: var(--spacing-6);
7795
+ align-items: center;
7796
+ gap: var(--spacing-4);
7797
+ padding: var(--spacing-4);
7798
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7799
+ border-radius: var(--input-field-radius-lg);
7800
+ background-color: var(--color-surface-level3);
7801
+ cursor: pointer;
7802
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7803
+ overflow: hidden;
7804
+ box-sizing: border-box;
7966
7805
  }
7967
7806
 
7968
- .muka-progress-accordeon--upcoming,
7969
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7970
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7971
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7972
- gap: var(--spacing-8);
7807
+ .muka-radio-tile--disabled {
7808
+ cursor: not-allowed;
7809
+ opacity: 0.6;
7973
7810
  }
7974
7811
 
7975
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7976
- collapsing slot (as padding-top) so it collapses with the content, so the
7977
- body gap itself is 0. */
7978
- .muka-progress-accordeon__body {
7979
- display: flex;
7980
- flex-direction: column;
7981
- gap: 0;
7982
- width: 100%;
7812
+ /* Selected state */
7813
+ .muka-radio-tile[data-checked] {
7814
+ border-width: var(--border-width-bold);
7815
+ border-color: var(--color-action-default);
7983
7816
  }
7984
7817
 
7985
- /* ─── Header ─────────────────────────────────────────────── */
7986
- .muka-progress-accordeon__header {
7987
- display: flex;
7818
+ /* Vertical layout */
7819
+ .muka-radio-tile--vertical {
7988
7820
  flex-direction: column;
7989
- gap: var(--spacing-3);
7990
- width: 100%;
7991
- }
7992
-
7993
- .muka-progress-accordeon__header-row {
7994
- display: flex;
7995
- align-items: flex-start;
7996
- gap: var(--spacing-3);
7997
- width: 100%;
7998
- min-height: 40px;
7821
+ align-items: center;
7822
+ gap: var(--spacing-2);
7823
+ position: relative;
7824
+ width: 160px;
7999
7825
  }
8000
7826
 
8001
- .muka-progress-accordeon__heading-group {
8002
- display: flex;
8003
- flex: 1 0 0;
8004
- min-width: 0;
8005
- align-items: flex-start;
8006
- gap: var(--spacing-4);
7827
+ /* Radio container */
7828
+ .muka-radio-tile__radio {
7829
+ flex-shrink: 0;
8007
7830
  }
8008
7831
 
8009
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
8010
- so a single line centres against the indicator + controls row. */
8011
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
8012
- .muka-progress-accordeon__heading-group {
8013
- padding-top: var(--spacing-1);
7832
+ /* Corner-positioned radio for vertical */
7833
+ .muka-radio-tile__radio--corner {
7834
+ position: absolute;
7835
+ top: var(--spacing-4);
7836
+ left: var(--spacing-4);
8014
7837
  }
8015
7838
 
8016
- .muka-progress-accordeon__controls {
8017
- display: flex;
8018
- flex-shrink: 0;
8019
- align-items: center;
8020
- gap: var(--spacing-3);
7839
+ /* Adjust corner position when selected (border is thicker) */
7840
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7841
+ top: calc(var(--spacing-4) - 1px);
7842
+ left: calc(var(--spacing-4) - 1px);
8021
7843
  }
8022
7844
 
8023
- /* ─── Step indicator (circle) ───────────────────────────── */
8024
- .muka-progress-accordeon__indicator {
8025
- width: 32px;
8026
- height: 32px;
8027
- flex-shrink: 0;
8028
- border-radius: var(--border-radius-full);
7845
+ /* Icon */
7846
+ .muka-radio-tile__icon {
8029
7847
  display: flex;
8030
7848
  align-items: center;
8031
7849
  justify-content: center;
7850
+ flex-shrink: 0;
7851
+ width: var(--icon-size-default);
7852
+ height: var(--icon-size-default);
7853
+ color: var(--color-text-default-default);
8032
7854
  }
8033
7855
 
8034
- /* Past: dark accent-contrast circle with inverse checkmark */
8035
- .muka-progress-accordeon__indicator--past {
8036
- background-color: var(--alias-color-accent-contrast);
8037
- color: var(--color-text-default-inverse);
7856
+ .muka-radio-tile__icon svg {
7857
+ width: 100%;
7858
+ height: 100%;
8038
7859
  }
8039
7860
 
8040
- /* Current: accent circle with inverse bold number */
8041
- .muka-progress-accordeon__indicator--current {
8042
- background-color: var(--alias-color-accent-default);
8043
- color: var(--color-text-default-inverse);
7861
+ /* Image */
7862
+ .muka-radio-tile__image {
7863
+ flex-shrink: 0;
7864
+ overflow: hidden;
7865
+ border-radius: var(--border-radius-sm);
7866
+ }
7867
+
7868
+ .muka-radio-tile__image img {
7869
+ display: block;
7870
+ width: 100%;
7871
+ height: 100%;
7872
+ object-fit: cover;
7873
+ }
7874
+
7875
+ /* Horizontal image sizing */
7876
+ .muka-radio-tile__image--horizontal {
7877
+ width: 40px;
7878
+ height: 40px;
7879
+ }
7880
+
7881
+ /* Vertical image sizing */
7882
+ .muka-radio-tile--vertical .muka-radio-tile__image {
7883
+ width: 100%;
7884
+ aspect-ratio: 4/3;
7885
+ }
7886
+
7887
+ /* Content container */
7888
+ .muka-radio-tile__content {
7889
+ display: flex;
7890
+ flex-direction: column;
7891
+ flex: 1;
7892
+ min-width: 0;
7893
+ gap: var(--spacing-1);
7894
+ }
7895
+
7896
+ /* Label */
7897
+ .muka-radio-tile__label {
7898
+ font-family: var(--text-body-lg-regular-fontFamily);
7899
+ font-weight: var(--text-body-lg-regular-fontWeight);
7900
+ font-size: var(--text-body-lg-regular-fontSize);
7901
+ line-height: var(--text-body-lg-regular-lineHeight);
7902
+ color: var(--color-text-default-default);
7903
+ }
7904
+
7905
+ .muka-radio-tile__label--bold {
7906
+ font-family: var(--text-label-lg-semibold-fontFamily);
7907
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7908
+ font-size: var(--text-label-lg-semibold-fontSize);
7909
+ line-height: var(--text-label-lg-semibold-lineHeight);
7910
+ }
7911
+
7912
+ .muka-radio-tile__label--center {
7913
+ text-align: center;
7914
+ }
7915
+
7916
+ /* Caption */
7917
+ .muka-radio-tile__caption {
7918
+ font-family: var(--text-body-base-regular-fontFamily);
7919
+ font-weight: var(--text-body-base-regular-fontWeight);
7920
+ font-size: var(--text-body-base-regular-fontSize);
7921
+ line-height: var(--text-body-base-regular-lineHeight);
7922
+ color: var(--color-text-subtle-default);
7923
+ }
7924
+
7925
+ /* Disabled states */
7926
+ .muka-radio-tile--disabled .muka-radio-tile__label,
7927
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
7928
+ color: var(--color-text-subtle-default);
7929
+ }
7930
+
7931
+
7932
+ /* ProgressAccordeon */
7933
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7934
+
7935
+ /* ─── Root ──────────────────────────────────────────────── */
7936
+ .muka-progress-accordeon {
7937
+ container-type: inline-size;
7938
+ display: flex;
7939
+ flex-direction: column;
7940
+ align-items: stretch;
7941
+ width: 100%;
7942
+ /* Top padding provides the vertical rhythm between stacked steps */
7943
+ padding-top: var(--spacing-8);
7944
+ }
7945
+
7946
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7947
+ .muka-progress-accordeon--current,
7948
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7949
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7950
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7951
+ gap: var(--spacing-6);
7952
+ }
7953
+
7954
+ .muka-progress-accordeon--upcoming,
7955
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7956
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7957
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7958
+ gap: var(--spacing-8);
7959
+ }
7960
+
7961
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7962
+ collapsing slot (as padding-top) so it collapses with the content, so the
7963
+ body gap itself is 0. */
7964
+ .muka-progress-accordeon__body {
7965
+ display: flex;
7966
+ flex-direction: column;
7967
+ gap: 0;
7968
+ width: 100%;
7969
+ }
7970
+
7971
+ /* ─── Header ─────────────────────────────────────────────── */
7972
+ .muka-progress-accordeon__header {
7973
+ display: flex;
7974
+ flex-direction: column;
7975
+ gap: var(--spacing-3);
7976
+ width: 100%;
7977
+ }
7978
+
7979
+ .muka-progress-accordeon__header-row {
7980
+ display: flex;
7981
+ align-items: flex-start;
7982
+ gap: var(--spacing-3);
7983
+ width: 100%;
7984
+ min-height: 40px;
7985
+ }
7986
+
7987
+ .muka-progress-accordeon__heading-group {
7988
+ display: flex;
7989
+ flex: 1 0 0;
7990
+ min-width: 0;
7991
+ align-items: flex-start;
7992
+ gap: var(--spacing-4);
7993
+ }
7994
+
7995
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7996
+ so a single line centres against the indicator + controls row. */
7997
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7998
+ .muka-progress-accordeon__heading-group {
7999
+ padding-top: var(--spacing-1);
8000
+ }
8001
+
8002
+ .muka-progress-accordeon__controls {
8003
+ display: flex;
8004
+ flex-shrink: 0;
8005
+ align-items: center;
8006
+ gap: var(--spacing-3);
8007
+ }
8008
+
8009
+ /* ─── Step indicator (circle) ───────────────────────────── */
8010
+ .muka-progress-accordeon__indicator {
8011
+ width: 32px;
8012
+ height: 32px;
8013
+ flex-shrink: 0;
8014
+ border-radius: var(--border-radius-full);
8015
+ display: flex;
8016
+ align-items: center;
8017
+ justify-content: center;
8018
+ }
8019
+
8020
+ /* Past: dark accent-contrast circle with inverse checkmark */
8021
+ .muka-progress-accordeon__indicator--past {
8022
+ background-color: var(--alias-color-accent-contrast);
8023
+ color: var(--color-text-default-inverse);
8024
+ }
8025
+
8026
+ /* Current: accent circle with inverse bold number */
8027
+ .muka-progress-accordeon__indicator--current {
8028
+ background-color: var(--alias-color-accent-default);
8029
+ color: var(--color-text-default-inverse);
8044
8030
  }
8045
8031
 
8046
8032
  /* Upcoming: sunken/muted circle with default-color number */
@@ -8373,100 +8359,117 @@ button.muka-progress-tracker__tab:focus-visible {
8373
8359
  }
8374
8360
 
8375
8361
 
8376
- /* PriceTag */
8377
- /* PriceTag Component Styles - Using Muka Design Tokens */
8378
-
8379
- .muka-price-tag {
8380
- display: flex;
8381
- flex-shrink: 0;
8382
- }
8383
-
8384
- /* Medium: stacked layout (price on top, unit below) */
8385
- .muka-price-tag--md {
8386
- flex-direction: column;
8387
- align-items: flex-end;
8388
- justify-content: center;
8389
- }
8362
+ /* ProfileBadge */
8363
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
8390
8364
 
8391
- /* Small: inline layout */
8392
- .muka-price-tag--sm {
8393
- flex-direction: row;
8365
+ .muka-profile-badge {
8366
+ display: inline-flex;
8367
+ max-width: 100%;
8368
+ min-width: 0;
8394
8369
  align-items: center;
8395
- gap: 3px;
8370
+ font-family: var(--text-body-base-regular-fontFamily);
8396
8371
  }
8397
8372
 
8398
- /* Amount row: currency + numbers */
8399
- .muka-price-tag__amount {
8400
- display: flex;
8401
- align-items: flex-start;
8402
- gap: var(--spacing-1);
8373
+ /* Size variants */
8374
+ .muka-profile-badge--lg {
8375
+ gap: var(--spacing-4); /* 16px */
8403
8376
  }
8404
8377
 
8405
- .muka-price-tag--sm .muka-price-tag__amount {
8406
- align-items: center;
8378
+ .muka-profile-badge--md {
8379
+ gap: var(--spacing-3); /* 12px */
8407
8380
  }
8408
8381
 
8409
- /* Numbers group: whole + decimal + cents */
8410
- .muka-price-tag__numbers {
8411
- display: flex;
8412
- align-items: baseline;
8382
+ .muka-profile-badge--sm {
8383
+ gap: var(--spacing-2); /* 8px */
8413
8384
  }
8414
8385
 
8415
- /* ─── Medium size typography ──────────────────────────── */
8416
-
8417
- .muka-price-tag--md .muka-price-tag__currency {
8418
- font-family: var(--text-subheading-md-fontFamily);
8419
- font-weight: var(--text-subheading-md-fontWeight);
8420
- font-size: var(--text-subheading-md-fontSize);
8421
- line-height: var(--text-label-2xl-bold-lineHeight);
8422
- color: var(--color-text-subtle-default);
8386
+ .muka-profile-badge__avatar {
8387
+ flex-shrink: 0;
8423
8388
  }
8424
8389
 
8425
- .muka-price-tag--md .muka-price-tag__whole {
8426
- font-family: var(--text-label-2xl-bold-fontFamily);
8427
- font-weight: var(--text-label-2xl-bold-fontWeight);
8428
- font-size: var(--text-label-2xl-bold-fontSize);
8429
- line-height: var(--text-label-2xl-bold-lineHeight);
8430
- color: var(--color-text-default-default);
8390
+ /* Text stack */
8391
+ .muka-profile-badge__text {
8392
+ display: flex;
8393
+ flex-direction: column;
8394
+ align-items: flex-start;
8395
+ min-width: 0;
8431
8396
  }
8432
8397
 
8433
- .muka-price-tag--md .muka-price-tag__decimal,
8434
- .muka-price-tag--md .muka-price-tag__cents {
8435
- font-family: var(--text-label-md-bold-fontFamily);
8436
- font-weight: var(--text-label-md-bold-fontWeight);
8437
- font-size: var(--text-label-md-bold-fontSize);
8438
- line-height: var(--text-label-md-bold-lineHeight);
8398
+ .muka-profile-badge__name {
8399
+ max-width: 100%;
8400
+ overflow: hidden;
8401
+ text-overflow: ellipsis;
8402
+ white-space: nowrap;
8403
+ font-family: var(--text-body-base-regular-fontFamily);
8404
+ font-size: var(--text-body-base-regular-fontSize);
8405
+ font-weight: var(--text-body-base-regular-fontWeight);
8406
+ line-height: var(--text-body-base-regular-lineHeight);
8439
8407
  color: var(--color-text-default-default);
8440
8408
  }
8441
8409
 
8442
- /* ─── Small size typography ───────────────────────────── */
8443
-
8444
- .muka-price-tag--sm .muka-price-tag__currency {
8445
- font-family: var(--text-body-base-regular-fontFamily);
8446
- font-weight: var(--text-body-base-regular-fontWeight);
8447
- font-size: var(--text-body-base-regular-fontSize);
8448
- line-height: var(--text-label-md-bold-lineHeight);
8410
+ .muka-profile-badge__email {
8411
+ font-family: var(--text-body-xs-regular-fontFamily);
8412
+ font-size: var(--text-body-xs-regular-fontSize);
8413
+ font-weight: var(--text-body-xs-regular-fontWeight);
8414
+ line-height: var(--text-body-xs-regular-lineHeight);
8449
8415
  color: var(--color-text-subtle-default);
8450
8416
  }
8451
8417
 
8452
- .muka-price-tag--sm .muka-price-tag__whole,
8453
- .muka-price-tag--sm .muka-price-tag__decimal,
8454
- .muka-price-tag--sm .muka-price-tag__cents {
8455
- font-family: var(--text-label-md-bold-fontFamily);
8456
- font-weight: var(--text-label-md-bold-fontWeight);
8457
- font-size: var(--text-label-md-bold-fontSize);
8458
- line-height: var(--text-label-md-bold-lineHeight);
8459
- color: var(--color-text-default-default);
8418
+ /* Clickable state */
8419
+ .muka-profile-badge--clickable {
8420
+ cursor: pointer;
8421
+ border: none;
8422
+ background: none;
8423
+ padding: 0;
8424
+ text-align: left;
8425
+ border-radius: var(--radius-md);
8426
+ transition: opacity 0.2s ease;
8460
8427
  }
8461
8428
 
8462
- /* ─── Unit label (same for both sizes) ────────────────── */
8429
+ .muka-profile-badge--clickable:hover {
8430
+ opacity: 0.9;
8431
+ }
8463
8432
 
8464
- .muka-price-tag__unit {
8465
- font-family: var(--text-body-sm-regular-fontFamily);
8466
- font-weight: var(--text-body-sm-regular-fontWeight);
8467
- font-size: var(--text-body-sm-regular-fontSize);
8468
- line-height: var(--text-body-sm-regular-lineHeight);
8469
- color: var(--color-text-subtle-default);
8433
+ .muka-profile-badge--clickable:active {
8434
+ opacity: 0.8;
8435
+ }
8436
+
8437
+ .muka-profile-badge--clickable:focus-visible {
8438
+ outline: 2px solid var(--color-border-focus);
8439
+ outline-offset: 2px;
8440
+ }
8441
+
8442
+ /* Trailing chevron: the badge opens a menu */
8443
+ .muka-profile-badge__chevron {
8444
+ flex-shrink: 0;
8445
+ }
8446
+
8447
+ /*
8448
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8449
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8450
+ * is an inset shadow so it appears on hover and while the menu is open
8451
+ * without moving the content.
8452
+ */
8453
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8454
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8455
+ border-radius: var(--radius-full);
8456
+ transition: box-shadow 0.2s ease;
8457
+ }
8458
+
8459
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8460
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8461
+ opacity: 1;
8462
+ }
8463
+
8464
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8465
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8466
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8467
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8468
+ }
8469
+
8470
+ /* A badge without an avatar keeps the 12px start inset */
8471
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8472
+ padding-left: var(--spacing-3);
8470
8473
  }
8471
8474
 
8472
8475
 
@@ -8501,6 +8504,103 @@ button.muka-progress-tracker__tab:focus-visible {
8501
8504
  }
8502
8505
 
8503
8506
 
8507
+ /* PriceTag */
8508
+ /* PriceTag Component Styles - Using Muka Design Tokens */
8509
+
8510
+ .muka-price-tag {
8511
+ display: flex;
8512
+ flex-shrink: 0;
8513
+ }
8514
+
8515
+ /* Medium: stacked layout (price on top, unit below) */
8516
+ .muka-price-tag--md {
8517
+ flex-direction: column;
8518
+ align-items: flex-end;
8519
+ justify-content: center;
8520
+ }
8521
+
8522
+ /* Small: inline layout */
8523
+ .muka-price-tag--sm {
8524
+ flex-direction: row;
8525
+ align-items: center;
8526
+ gap: 3px;
8527
+ }
8528
+
8529
+ /* Amount row: currency + numbers */
8530
+ .muka-price-tag__amount {
8531
+ display: flex;
8532
+ align-items: flex-start;
8533
+ gap: var(--spacing-1);
8534
+ }
8535
+
8536
+ .muka-price-tag--sm .muka-price-tag__amount {
8537
+ align-items: center;
8538
+ }
8539
+
8540
+ /* Numbers group: whole + decimal + cents */
8541
+ .muka-price-tag__numbers {
8542
+ display: flex;
8543
+ align-items: baseline;
8544
+ }
8545
+
8546
+ /* ─── Medium size typography ──────────────────────────── */
8547
+
8548
+ .muka-price-tag--md .muka-price-tag__currency {
8549
+ font-family: var(--text-subheading-md-fontFamily);
8550
+ font-weight: var(--text-subheading-md-fontWeight);
8551
+ font-size: var(--text-subheading-md-fontSize);
8552
+ line-height: var(--text-label-2xl-bold-lineHeight);
8553
+ color: var(--color-text-subtle-default);
8554
+ }
8555
+
8556
+ .muka-price-tag--md .muka-price-tag__whole {
8557
+ font-family: var(--text-label-2xl-bold-fontFamily);
8558
+ font-weight: var(--text-label-2xl-bold-fontWeight);
8559
+ font-size: var(--text-label-2xl-bold-fontSize);
8560
+ line-height: var(--text-label-2xl-bold-lineHeight);
8561
+ color: var(--color-text-default-default);
8562
+ }
8563
+
8564
+ .muka-price-tag--md .muka-price-tag__decimal,
8565
+ .muka-price-tag--md .muka-price-tag__cents {
8566
+ font-family: var(--text-label-md-bold-fontFamily);
8567
+ font-weight: var(--text-label-md-bold-fontWeight);
8568
+ font-size: var(--text-label-md-bold-fontSize);
8569
+ line-height: var(--text-label-md-bold-lineHeight);
8570
+ color: var(--color-text-default-default);
8571
+ }
8572
+
8573
+ /* ─── Small size typography ───────────────────────────── */
8574
+
8575
+ .muka-price-tag--sm .muka-price-tag__currency {
8576
+ font-family: var(--text-body-base-regular-fontFamily);
8577
+ font-weight: var(--text-body-base-regular-fontWeight);
8578
+ font-size: var(--text-body-base-regular-fontSize);
8579
+ line-height: var(--text-label-md-bold-lineHeight);
8580
+ color: var(--color-text-subtle-default);
8581
+ }
8582
+
8583
+ .muka-price-tag--sm .muka-price-tag__whole,
8584
+ .muka-price-tag--sm .muka-price-tag__decimal,
8585
+ .muka-price-tag--sm .muka-price-tag__cents {
8586
+ font-family: var(--text-label-md-bold-fontFamily);
8587
+ font-weight: var(--text-label-md-bold-fontWeight);
8588
+ font-size: var(--text-label-md-bold-fontSize);
8589
+ line-height: var(--text-label-md-bold-lineHeight);
8590
+ color: var(--color-text-default-default);
8591
+ }
8592
+
8593
+ /* ─── Unit label (same for both sizes) ────────────────── */
8594
+
8595
+ .muka-price-tag__unit {
8596
+ font-family: var(--text-body-sm-regular-fontFamily);
8597
+ font-weight: var(--text-body-sm-regular-fontWeight);
8598
+ font-size: var(--text-body-sm-regular-fontSize);
8599
+ line-height: var(--text-body-sm-regular-lineHeight);
8600
+ color: var(--color-text-subtle-default);
8601
+ }
8602
+
8603
+
8504
8604
  /* PlanningGantt */
8505
8605
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8506
8606
 
@@ -8898,117 +8998,170 @@ button.muka-progress-tracker__tab:focus-visible {
8898
8998
  }
8899
8999
 
8900
9000
 
8901
- /* ProfileBadge */
8902
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
9001
+ /* PhotoUploader */
9002
+ /* PhotoUploader Component Styles - Using Muka Design Tokens */
8903
9003
 
8904
- .muka-profile-badge {
8905
- display: inline-flex;
8906
- max-width: 100%;
8907
- min-width: 0;
8908
- align-items: center;
8909
- font-family: var(--text-body-base-regular-fontFamily);
9004
+ .muka-photo-uploader {
9005
+ display: flex;
9006
+ flex-direction: column;
9007
+ align-items: flex-start;
9008
+ gap: var(--spacing-4);
9009
+ width: 100%;
8910
9010
  }
8911
9011
 
8912
- /* Size variants */
8913
- .muka-profile-badge--lg {
8914
- gap: var(--spacing-4); /* 16px */
9012
+ /* Visually-hidden native file input */
9013
+ .muka-photo-uploader__input {
9014
+ position: absolute;
9015
+ width: 1px;
9016
+ height: 1px;
9017
+ padding: 0;
9018
+ margin: -1px;
9019
+ overflow: hidden;
9020
+ clip: rect(0, 0, 0, 0);
9021
+ white-space: nowrap;
9022
+ border: 0;
8915
9023
  }
8916
9024
 
8917
- .muka-profile-badge--md {
8918
- gap: var(--spacing-3); /* 12px */
9025
+ /* ─── Error feedback alert ────────────────────────────── */
9026
+ .muka-photo-uploader__alert {
9027
+ width: 100%;
8919
9028
  }
8920
9029
 
8921
- .muka-profile-badge--sm {
8922
- gap: var(--spacing-2); /* 8px */
9030
+ /* ─── Thumbnail grid ──────────────────────────────────── */
9031
+ .muka-photo-uploader__grid {
9032
+ display: flex;
9033
+ flex-wrap: wrap;
9034
+ gap: var(--spacing-3);
9035
+ width: 100%;
9036
+ margin: 0;
9037
+ padding: 0;
9038
+ list-style: none;
8923
9039
  }
8924
9040
 
8925
- .muka-profile-badge__avatar {
8926
- flex-shrink: 0;
9041
+ .muka-photo-uploader__grid-item {
9042
+ margin: 0;
9043
+ padding: 0;
8927
9044
  }
8928
9045
 
8929
- /* Text stack */
8930
- .muka-profile-badge__text {
9046
+ /* ─── Drop zone card (button + "or drop here") ────────── */
9047
+ .muka-photo-uploader__dropzone {
8931
9048
  display: flex;
8932
9049
  flex-direction: column;
8933
- align-items: flex-start;
8934
- min-width: 0;
9050
+ align-items: center;
9051
+ justify-content: center;
9052
+ gap: var(--spacing-4);
9053
+ width: 100%;
9054
+ padding: var(--card-padding-lg);
9055
+ background-color: var(--card-color-default-background);
9056
+ border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9057
+ border-radius: var(--border-radius-lg);
9058
+ cursor: pointer;
9059
+ text-align: center;
9060
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9061
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
8935
9062
  }
8936
9063
 
8937
- .muka-profile-badge__name {
8938
- max-width: 100%;
8939
- overflow: hidden;
8940
- text-overflow: ellipsis;
8941
- white-space: nowrap;
8942
- font-family: var(--text-body-base-regular-fontFamily);
8943
- font-size: var(--text-body-base-regular-fontSize);
8944
- font-weight: var(--text-body-base-regular-fontWeight);
8945
- line-height: var(--text-body-base-regular-lineHeight);
9064
+ .muka-photo-uploader__dropzone:hover,
9065
+ .muka-photo-uploader__dropzone--active {
9066
+ border-color: var(--color-border-focus);
9067
+ background-color: var(--color-surface-level1);
9068
+ }
9069
+
9070
+ .muka-photo-uploader__dropzone-text {
9071
+ font-family: var(--text-subheading-sm-fontFamily);
9072
+ font-size: var(--text-subheading-sm-fontSize);
9073
+ font-weight: var(--text-subheading-sm-fontWeight);
9074
+ line-height: var(--text-subheading-sm-lineHeight);
8946
9075
  color: var(--color-text-default-default);
8947
9076
  }
8948
9077
 
8949
- .muka-profile-badge__email {
8950
- font-family: var(--text-body-xs-regular-fontFamily);
8951
- font-size: var(--text-body-xs-regular-fontSize);
8952
- font-weight: var(--text-body-xs-regular-fontWeight);
8953
- line-height: var(--text-body-xs-regular-lineHeight);
8954
- color: var(--color-text-subtle-default);
9078
+ /*
9079
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9080
+ * from: the card and its "or drop here" hint go, and only the button stays.
9081
+ * Keyed on input capability, not width, so a narrow desktop window keeps
9082
+ * its drop zone.
9083
+ */
9084
+ @media (hover: none) and (pointer: coarse) {
9085
+ .muka-photo-uploader__dropzone {
9086
+ align-items: flex-start;
9087
+ padding: 0;
9088
+ background-color: transparent;
9089
+ border: none;
9090
+ border-radius: 0;
9091
+ cursor: default;
9092
+ }
9093
+
9094
+ .muka-photo-uploader__dropzone-text {
9095
+ display: none;
9096
+ }
8955
9097
  }
8956
9098
 
8957
- /* Clickable state */
8958
- .muka-profile-badge--clickable {
8959
- cursor: pointer;
8960
- border: none;
8961
- background: none;
8962
- padding: 0;
8963
- text-align: left;
8964
- border-radius: var(--radius-md);
8965
- transition: opacity 0.2s ease;
9099
+ /* ─── Disabled ────────────────────────────────────────── */
9100
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9101
+ cursor: not-allowed;
9102
+ opacity: 0.6;
8966
9103
  }
8967
9104
 
8968
- .muka-profile-badge--clickable:hover {
8969
- opacity: 0.9;
9105
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9106
+ border-color: var(--card-color-default-border);
9107
+ background-color: var(--card-color-default-background);
8970
9108
  }
8971
9109
 
8972
- .muka-profile-badge--clickable:active {
8973
- opacity: 0.8;
9110
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9111
+ .muka-photo-uploader__preview {
9112
+ display: flex;
9113
+ align-items: center;
9114
+ justify-content: center;
9115
+ width: 100%;
9116
+ height: 100%;
8974
9117
  }
8975
9118
 
8976
- .muka-profile-badge--clickable:focus-visible {
8977
- outline: 2px solid var(--color-border-focus);
8978
- outline-offset: 2px;
9119
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9120
+ .muka-photo-uploader__preview-image {
9121
+ display: block;
9122
+ max-width: 100%;
9123
+ max-height: 100%;
9124
+ width: auto;
9125
+ height: auto;
9126
+ object-fit: contain;
9127
+ border-radius: var(--border-radius-lg);
8979
9128
  }
8980
9129
 
8981
- /* Trailing chevron: the badge opens a menu */
8982
- .muka-profile-badge__chevron {
8983
- flex-shrink: 0;
9130
+ /* ─── Reduced motion ──────────────────────────────────── */
9131
+ @media (prefers-reduced-motion: reduce) {
9132
+ .muka-photo-uploader__dropzone {
9133
+ transition: none;
9134
+ }
8984
9135
  }
8985
9136
 
8986
- /*
8987
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8988
- * header): 4px inset on the avatar side, 12px after the chevron. The border
8989
- * is an inset shadow so it appears on hover and while the menu is open
8990
- * without moving the content.
8991
- */
8992
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8993
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8994
- border-radius: var(--radius-full);
8995
- transition: box-shadow 0.2s ease;
9137
+
9138
+ /* PhotoDraftStrip */
9139
+ /* PhotoDraftStrip Component Styles */
9140
+
9141
+ .muka-photo-draft-strip {
9142
+ display: flex;
9143
+ align-items: center;
9144
+ gap: var(--spacing-3);
9145
+ width: 100%;
9146
+ padding: var(--spacing-2) 0;
8996
9147
  }
8997
9148
 
8998
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8999
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9000
- opacity: 1;
9149
+ .muka-photo-draft-strip__track {
9150
+ display: flex;
9151
+ gap: var(--spacing-2);
9152
+ flex: 1 1 auto;
9153
+ min-width: 0;
9154
+ overflow-x: auto;
9155
+ scroll-behavior: smooth;
9156
+ scrollbar-width: none;
9001
9157
  }
9002
9158
 
9003
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9004
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9005
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9006
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9159
+ .muka-photo-draft-strip__track::-webkit-scrollbar {
9160
+ display: none;
9007
9161
  }
9008
9162
 
9009
- /* A badge without an avatar keeps the 12px start inset */
9010
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9011
- padding-left: var(--spacing-3);
9163
+ .muka-photo-draft-strip__item {
9164
+ flex: 0 0 auto;
9012
9165
  }
9013
9166
 
9014
9167
 
@@ -9109,143 +9262,6 @@ button.muka-progress-tracker__tab:focus-visible {
9109
9262
  }
9110
9263
 
9111
9264
 
9112
- /* PhotoUploader */
9113
- /* PhotoUploader Component Styles - Using Muka Design Tokens */
9114
-
9115
- .muka-photo-uploader {
9116
- display: flex;
9117
- flex-direction: column;
9118
- align-items: flex-start;
9119
- gap: var(--spacing-4);
9120
- width: 100%;
9121
- }
9122
-
9123
- /* Visually-hidden native file input */
9124
- .muka-photo-uploader__input {
9125
- position: absolute;
9126
- width: 1px;
9127
- height: 1px;
9128
- padding: 0;
9129
- margin: -1px;
9130
- overflow: hidden;
9131
- clip: rect(0, 0, 0, 0);
9132
- white-space: nowrap;
9133
- border: 0;
9134
- }
9135
-
9136
- /* ─── Error feedback alert ────────────────────────────── */
9137
- .muka-photo-uploader__alert {
9138
- width: 100%;
9139
- }
9140
-
9141
- /* ─── Thumbnail grid ──────────────────────────────────── */
9142
- .muka-photo-uploader__grid {
9143
- display: flex;
9144
- flex-wrap: wrap;
9145
- gap: var(--spacing-3);
9146
- width: 100%;
9147
- margin: 0;
9148
- padding: 0;
9149
- list-style: none;
9150
- }
9151
-
9152
- .muka-photo-uploader__grid-item {
9153
- margin: 0;
9154
- padding: 0;
9155
- }
9156
-
9157
- /* ─── Drop zone card (button + "or drop here") ────────── */
9158
- .muka-photo-uploader__dropzone {
9159
- display: flex;
9160
- flex-direction: column;
9161
- align-items: center;
9162
- justify-content: center;
9163
- gap: var(--spacing-4);
9164
- width: 100%;
9165
- padding: var(--card-padding-lg);
9166
- background-color: var(--card-color-default-background);
9167
- border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9168
- border-radius: var(--border-radius-lg);
9169
- cursor: pointer;
9170
- text-align: center;
9171
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9172
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
9173
- }
9174
-
9175
- .muka-photo-uploader__dropzone:hover,
9176
- .muka-photo-uploader__dropzone--active {
9177
- border-color: var(--color-border-focus);
9178
- background-color: var(--color-surface-level1);
9179
- }
9180
-
9181
- .muka-photo-uploader__dropzone-text {
9182
- font-family: var(--text-subheading-sm-fontFamily);
9183
- font-size: var(--text-subheading-sm-fontSize);
9184
- font-weight: var(--text-subheading-sm-fontWeight);
9185
- line-height: var(--text-subheading-sm-lineHeight);
9186
- color: var(--color-text-default-default);
9187
- }
9188
-
9189
- /*
9190
- * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9191
- * from: the card and its "or drop here" hint go, and only the button stays.
9192
- * Keyed on input capability, not width, so a narrow desktop window keeps
9193
- * its drop zone.
9194
- */
9195
- @media (hover: none) and (pointer: coarse) {
9196
- .muka-photo-uploader__dropzone {
9197
- align-items: flex-start;
9198
- padding: 0;
9199
- background-color: transparent;
9200
- border: none;
9201
- border-radius: 0;
9202
- cursor: default;
9203
- }
9204
-
9205
- .muka-photo-uploader__dropzone-text {
9206
- display: none;
9207
- }
9208
- }
9209
-
9210
- /* ─── Disabled ────────────────────────────────────────── */
9211
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9212
- cursor: not-allowed;
9213
- opacity: 0.6;
9214
- }
9215
-
9216
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9217
- border-color: var(--card-color-default-border);
9218
- background-color: var(--card-color-default-background);
9219
- }
9220
-
9221
- /* ─── Enlarged photo dialog ───────────────────────────── */
9222
- .muka-photo-uploader__preview {
9223
- display: flex;
9224
- align-items: center;
9225
- justify-content: center;
9226
- width: 100%;
9227
- height: 100%;
9228
- }
9229
-
9230
- /* Fits the dialog while preserving the photo's original aspect ratio. */
9231
- .muka-photo-uploader__preview-image {
9232
- display: block;
9233
- max-width: 100%;
9234
- max-height: 100%;
9235
- width: auto;
9236
- height: auto;
9237
- object-fit: contain;
9238
- border-radius: var(--border-radius-lg);
9239
- }
9240
-
9241
- /* ─── Reduced motion ──────────────────────────────────── */
9242
- @media (prefers-reduced-motion: reduce) {
9243
- .muka-photo-uploader__dropzone {
9244
- transition: none;
9245
- }
9246
- }
9247
-
9248
-
9249
9265
  /* Pagination */
9250
9266
  /* Pagination Component Styles */
9251
9267
 
@@ -9428,35 +9444,33 @@ button.muka-progress-tracker__tab:focus-visible {
9428
9444
  }
9429
9445
 
9430
9446
 
9431
- /* PhotoDraftStrip */
9432
- /* PhotoDraftStrip Component Styles */
9447
+ /* NavigationTransition */
9448
+ /* NavigationTransition Component Styles */
9433
9449
 
9434
- .muka-photo-draft-strip {
9435
- display: flex;
9436
- align-items: center;
9437
- gap: var(--spacing-3);
9438
- width: 100%;
9439
- padding: var(--spacing-2) 0;
9440
- }
9450
+ /* ─── Wrapper ────────────────────────────────────────── */
9441
9451
 
9442
- .muka-photo-draft-strip__track {
9443
- display: flex;
9444
- gap: var(--spacing-2);
9445
- flex: 1 1 auto;
9446
- min-width: 0;
9447
- overflow-x: auto;
9448
- scroll-behavior: smooth;
9449
- scrollbar-width: none;
9452
+ .muka-nav-transition {
9453
+ position: relative;
9454
+ height: 100vh;
9455
+ overflow: hidden;
9450
9456
  }
9451
9457
 
9452
- .muka-photo-draft-strip__track::-webkit-scrollbar {
9453
- display: none;
9458
+ /* Disable interaction during animation */
9459
+ .muka-nav-transition--active {
9460
+ pointer-events: none;
9454
9461
  }
9455
9462
 
9456
- .muka-photo-draft-strip__item {
9457
- flex: 0 0 auto;
9463
+ /* ─── View slots ─────────────────────────────────────── */
9464
+
9465
+ .muka-nav-transition--active .muka-nav-transition__view {
9466
+ position: absolute;
9467
+ inset: 0;
9458
9468
  }
9459
9469
 
9470
+ /* Z-index layering */
9471
+ .muka-nav-transition__view--bottom { z-index: 1; }
9472
+ .muka-nav-transition__view--top { z-index: 2; }
9473
+
9460
9474
 
9461
9475
  /* NumberInput */
9462
9476
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
@@ -9488,34 +9502,6 @@ button.muka-progress-tracker__tab:focus-visible {
9488
9502
  }
9489
9503
 
9490
9504
 
9491
- /* NavigationTransition */
9492
- /* NavigationTransition Component Styles */
9493
-
9494
- /* ─── Wrapper ────────────────────────────────────────── */
9495
-
9496
- .muka-nav-transition {
9497
- position: relative;
9498
- height: 100vh;
9499
- overflow: hidden;
9500
- }
9501
-
9502
- /* Disable interaction during animation */
9503
- .muka-nav-transition--active {
9504
- pointer-events: none;
9505
- }
9506
-
9507
- /* ─── View slots ─────────────────────────────────────── */
9508
-
9509
- .muka-nav-transition--active .muka-nav-transition__view {
9510
- position: absolute;
9511
- inset: 0;
9512
- }
9513
-
9514
- /* Z-index layering */
9515
- .muka-nav-transition__view--bottom { z-index: 1; }
9516
- .muka-nav-transition__view--top { z-index: 2; }
9517
-
9518
-
9519
9505
  /* Menu */
9520
9506
  /* Menu Component Styles */
9521
9507
 
@@ -10232,199 +10218,6 @@ button.muka-progress-tracker__tab:focus-visible {
10232
10218
  }
10233
10219
 
10234
10220
 
10235
- /* LicensePlateInput */
10236
- /* LicensePlateInput — Dutch RDW-style plate input
10237
- *
10238
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10239
- * - Plate yellow: #F0CE3D
10240
- * - EU strip blue: #003399
10241
- * - EU stars yellow: #FFCC00
10242
- * - Plate text: #1A1A1A
10243
- *
10244
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10245
- */
10246
-
10247
- .muka-license-plate-input {
10248
- --plate-yellow: #f0ce3d;
10249
- --plate-blue: #003399;
10250
- --plate-text: #1a1a1a;
10251
- --plate-stars: #ffcc00;
10252
-
10253
- display: inline-flex;
10254
- flex-direction: column;
10255
- gap: var(--spacing-2);
10256
- }
10257
-
10258
- /* Plate body */
10259
- .muka-license-plate-input__plate {
10260
- display: inline-flex;
10261
- align-items: stretch;
10262
- background-color: var(--plate-yellow);
10263
- border-radius: var(--input-field-radius-md);
10264
- cursor: text;
10265
- position: relative;
10266
- overflow: hidden;
10267
- box-sizing: border-box;
10268
- /* Subtle outline to lift the plate from light backgrounds */
10269
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10270
- /* Reserve space for the focus / error solid ring without shifting layout */
10271
- outline: 3px solid transparent;
10272
- outline-offset: 2px;
10273
- transition: outline-color 0.15s ease, opacity 0.15s ease;
10274
- }
10275
-
10276
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10277
- .muka-license-plate-input__plate--sm {
10278
- height: 44px;
10279
- min-width: 220px;
10280
- border-radius: var(--input-field-radius-sm);
10281
- }
10282
-
10283
- .muka-license-plate-input__plate--md {
10284
- height: 60px;
10285
- min-width: 300px;
10286
- border-radius: var(--input-field-radius-md);
10287
- }
10288
-
10289
- .muka-license-plate-input__plate--lg {
10290
- height: 80px;
10291
- min-width: 400px;
10292
- border-radius: var(--input-field-radius-lg);
10293
- }
10294
-
10295
- /* Focus — solid outline ring */
10296
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10297
- outline-color: var(--input-field-color-focus-border);
10298
- }
10299
-
10300
- /* Error — solid outline ring in error color */
10301
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10302
- outline-color: var(--input-field-color-error-border);
10303
- }
10304
-
10305
- /* Disabled */
10306
- .muka-license-plate-input__plate--disabled {
10307
- cursor: not-allowed;
10308
- opacity: 0.55;
10309
- }
10310
-
10311
- /* EU strip */
10312
- .muka-license-plate-input__eu-strip {
10313
- display: inline-flex;
10314
- flex-direction: column;
10315
- align-items: center;
10316
- justify-content: center;
10317
- background-color: var(--plate-blue);
10318
- color: #ffffff;
10319
- flex-shrink: 0;
10320
- padding: 0 0.4em;
10321
- gap: 0.15em;
10322
- /* Strip width scales with plate height for a consistent ratio */
10323
- width: 14%;
10324
- min-width: 36px;
10325
- }
10326
-
10327
- .muka-license-plate-input__eu-stars {
10328
- width: 60%;
10329
- max-width: 28px;
10330
- aspect-ratio: 1 / 1;
10331
- display: block;
10332
- }
10333
-
10334
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10335
- max-width: 20px;
10336
- }
10337
-
10338
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10339
- max-width: 36px;
10340
- }
10341
-
10342
- .muka-license-plate-input__country-code {
10343
- font-family:
10344
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10345
- font-weight: 700;
10346
- letter-spacing: 0.04em;
10347
- line-height: 1;
10348
- color: #ffffff;
10349
- }
10350
-
10351
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10352
- font-size: 10px;
10353
- }
10354
-
10355
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10356
- font-size: 13px;
10357
- }
10358
-
10359
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10360
- font-size: 16px;
10361
- }
10362
-
10363
- /* Native input */
10364
- .muka-license-plate-input__native {
10365
- flex: 1;
10366
- min-width: 0;
10367
- border: none;
10368
- outline: none;
10369
- background: transparent;
10370
- color: var(--plate-text);
10371
- text-align: center;
10372
- text-transform: uppercase;
10373
- letter-spacing: 0.06em;
10374
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10375
- shipping a custom font. JetBrains Mono is the system mono brand font. */
10376
- font-family:
10377
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10378
- font-weight: 800;
10379
- padding: 0 0.5em;
10380
- width: 100%;
10381
- caret-color: var(--plate-text);
10382
- }
10383
-
10384
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10385
- font-size: 22px;
10386
- }
10387
-
10388
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10389
- font-size: 30px;
10390
- }
10391
-
10392
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10393
- font-size: 42px;
10394
- }
10395
-
10396
- .muka-license-plate-input__native::placeholder {
10397
- color: var(--plate-text);
10398
- opacity: 0.55;
10399
- font-weight: 700;
10400
- letter-spacing: 0.08em;
10401
- }
10402
-
10403
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10404
- cursor: not-allowed;
10405
- }
10406
-
10407
- /* Helper text */
10408
- .muka-license-plate-input__helper {
10409
- font-family: var(--text-label-sm-regular-fontFamily);
10410
- font-weight: var(--text-label-sm-regular-fontWeight);
10411
- font-size: var(--text-label-sm-regular-fontSize);
10412
- line-height: var(--text-label-sm-regular-lineHeight);
10413
- color: var(--color-text-subtle-default);
10414
- margin: 0;
10415
- }
10416
-
10417
- /* Error message */
10418
- .muka-license-plate-input__error {
10419
- font-family: var(--text-label-sm-regular-fontFamily);
10420
- font-weight: var(--text-label-sm-regular-fontWeight);
10421
- font-size: var(--text-label-sm-regular-fontSize);
10422
- line-height: var(--text-label-sm-regular-lineHeight);
10423
- color: var(--color-state-error-default);
10424
- margin: 0;
10425
- }
10426
-
10427
-
10428
10221
  /* ListItem */
10429
10222
  /* ListItem Component Styles - Using Muka Design Tokens */
10430
10223
 
@@ -10745,9 +10538,202 @@ li.muka-listitem {
10745
10538
  }
10746
10539
 
10747
10540
 
10748
- /* Label */
10749
- /* Label Component Styles - Using Muka Design Tokens */
10750
-
10541
+ /* LicensePlateInput */
10542
+ /* LicensePlateInput — Dutch RDW-style plate input
10543
+ *
10544
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10545
+ * - Plate yellow: #F0CE3D
10546
+ * - EU strip blue: #003399
10547
+ * - EU stars yellow: #FFCC00
10548
+ * - Plate text: #1A1A1A
10549
+ *
10550
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10551
+ */
10552
+
10553
+ .muka-license-plate-input {
10554
+ --plate-yellow: #f0ce3d;
10555
+ --plate-blue: #003399;
10556
+ --plate-text: #1a1a1a;
10557
+ --plate-stars: #ffcc00;
10558
+
10559
+ display: inline-flex;
10560
+ flex-direction: column;
10561
+ gap: var(--spacing-2);
10562
+ }
10563
+
10564
+ /* Plate body */
10565
+ .muka-license-plate-input__plate {
10566
+ display: inline-flex;
10567
+ align-items: stretch;
10568
+ background-color: var(--plate-yellow);
10569
+ border-radius: var(--input-field-radius-md);
10570
+ cursor: text;
10571
+ position: relative;
10572
+ overflow: hidden;
10573
+ box-sizing: border-box;
10574
+ /* Subtle outline to lift the plate from light backgrounds */
10575
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10576
+ /* Reserve space for the focus / error solid ring without shifting layout */
10577
+ outline: 3px solid transparent;
10578
+ outline-offset: 2px;
10579
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
10580
+ }
10581
+
10582
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10583
+ .muka-license-plate-input__plate--sm {
10584
+ height: 44px;
10585
+ min-width: 220px;
10586
+ border-radius: var(--input-field-radius-sm);
10587
+ }
10588
+
10589
+ .muka-license-plate-input__plate--md {
10590
+ height: 60px;
10591
+ min-width: 300px;
10592
+ border-radius: var(--input-field-radius-md);
10593
+ }
10594
+
10595
+ .muka-license-plate-input__plate--lg {
10596
+ height: 80px;
10597
+ min-width: 400px;
10598
+ border-radius: var(--input-field-radius-lg);
10599
+ }
10600
+
10601
+ /* Focus — solid outline ring */
10602
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10603
+ outline-color: var(--input-field-color-focus-border);
10604
+ }
10605
+
10606
+ /* Error — solid outline ring in error color */
10607
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10608
+ outline-color: var(--input-field-color-error-border);
10609
+ }
10610
+
10611
+ /* Disabled */
10612
+ .muka-license-plate-input__plate--disabled {
10613
+ cursor: not-allowed;
10614
+ opacity: 0.55;
10615
+ }
10616
+
10617
+ /* EU strip */
10618
+ .muka-license-plate-input__eu-strip {
10619
+ display: inline-flex;
10620
+ flex-direction: column;
10621
+ align-items: center;
10622
+ justify-content: center;
10623
+ background-color: var(--plate-blue);
10624
+ color: #ffffff;
10625
+ flex-shrink: 0;
10626
+ padding: 0 0.4em;
10627
+ gap: 0.15em;
10628
+ /* Strip width scales with plate height for a consistent ratio */
10629
+ width: 14%;
10630
+ min-width: 36px;
10631
+ }
10632
+
10633
+ .muka-license-plate-input__eu-stars {
10634
+ width: 60%;
10635
+ max-width: 28px;
10636
+ aspect-ratio: 1 / 1;
10637
+ display: block;
10638
+ }
10639
+
10640
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10641
+ max-width: 20px;
10642
+ }
10643
+
10644
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10645
+ max-width: 36px;
10646
+ }
10647
+
10648
+ .muka-license-plate-input__country-code {
10649
+ font-family:
10650
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10651
+ font-weight: 700;
10652
+ letter-spacing: 0.04em;
10653
+ line-height: 1;
10654
+ color: #ffffff;
10655
+ }
10656
+
10657
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10658
+ font-size: 10px;
10659
+ }
10660
+
10661
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10662
+ font-size: 13px;
10663
+ }
10664
+
10665
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10666
+ font-size: 16px;
10667
+ }
10668
+
10669
+ /* Native input */
10670
+ .muka-license-plate-input__native {
10671
+ flex: 1;
10672
+ min-width: 0;
10673
+ border: none;
10674
+ outline: none;
10675
+ background: transparent;
10676
+ color: var(--plate-text);
10677
+ text-align: center;
10678
+ text-transform: uppercase;
10679
+ letter-spacing: 0.06em;
10680
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10681
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
10682
+ font-family:
10683
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10684
+ font-weight: 800;
10685
+ padding: 0 0.5em;
10686
+ width: 100%;
10687
+ caret-color: var(--plate-text);
10688
+ }
10689
+
10690
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10691
+ font-size: 22px;
10692
+ }
10693
+
10694
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10695
+ font-size: 30px;
10696
+ }
10697
+
10698
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10699
+ font-size: 42px;
10700
+ }
10701
+
10702
+ .muka-license-plate-input__native::placeholder {
10703
+ color: var(--plate-text);
10704
+ opacity: 0.55;
10705
+ font-weight: 700;
10706
+ letter-spacing: 0.08em;
10707
+ }
10708
+
10709
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10710
+ cursor: not-allowed;
10711
+ }
10712
+
10713
+ /* Helper text */
10714
+ .muka-license-plate-input__helper {
10715
+ font-family: var(--text-label-sm-regular-fontFamily);
10716
+ font-weight: var(--text-label-sm-regular-fontWeight);
10717
+ font-size: var(--text-label-sm-regular-fontSize);
10718
+ line-height: var(--text-label-sm-regular-lineHeight);
10719
+ color: var(--color-text-subtle-default);
10720
+ margin: 0;
10721
+ }
10722
+
10723
+ /* Error message */
10724
+ .muka-license-plate-input__error {
10725
+ font-family: var(--text-label-sm-regular-fontFamily);
10726
+ font-weight: var(--text-label-sm-regular-fontWeight);
10727
+ font-size: var(--text-label-sm-regular-fontSize);
10728
+ line-height: var(--text-label-sm-regular-lineHeight);
10729
+ color: var(--color-state-error-default);
10730
+ margin: 0;
10731
+ }
10732
+
10733
+
10734
+ /* Label */
10735
+ /* Label Component Styles - Using Muka Design Tokens */
10736
+
10751
10737
  .muka-label {
10752
10738
  display: inline-flex;
10753
10739
  align-items: center;
@@ -11319,51 +11305,313 @@ li.muka-listitem {
11319
11305
  }
11320
11306
 
11321
11307
 
11322
- /* FAB */
11323
- /* FAB (Floating Action Button) Component Styles */
11308
+ /* FileUpload */
11309
+ /* FileUpload Component Styles */
11324
11310
 
11325
- .muka-fab {
11326
- position: fixed;
11327
- z-index: 40;
11311
+ .muka-fileupload-wrapper {
11312
+ display: flex;
11313
+ flex-direction: column;
11314
+ gap: var(--spacing-3);
11315
+ width: 100%;
11316
+ }
11328
11317
 
11329
- display: inline-flex;
11318
+ /* Dropzone */
11319
+ .muka-fileupload {
11320
+ display: flex;
11321
+ flex-direction: column;
11330
11322
  align-items: center;
11331
11323
  justify-content: center;
11332
- gap: var(--spacing-2);
11333
-
11334
- border: none;
11324
+ gap: var(--fileupload-dropzone-gap);
11325
+ padding: var(--fileupload-dropzone-padding-md);
11326
+ background-color: var(--fileupload-dropzone-color-default-background);
11327
+ border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11328
+ border-radius: var(--fileupload-dropzone-radius);
11335
11329
  cursor: pointer;
11336
- font-family: inherit;
11337
- box-shadow: var(--shadow-level4);
11338
-
11339
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11340
- -webkit-tap-highlight-color: transparent;
11341
- }
11342
-
11343
- .muka-fab:active {
11344
- transform: scale(0.96);
11345
- box-shadow: var(--shadow-level3);
11330
+ transition: background-color 0.2s ease, border-color 0.2s ease;
11331
+ text-align: center;
11332
+ min-height: 120px;
11346
11333
  }
11347
11334
 
11348
- .muka-fab:focus-visible {
11349
- outline: 2px solid var(--color-action-default);
11335
+ .muka-fileupload:focus-visible {
11336
+ outline: 2px solid var(--color-border-focus);
11350
11337
  outline-offset: 2px;
11351
11338
  }
11352
11339
 
11353
- .muka-fab:disabled {
11354
- opacity: 0.5;
11355
- cursor: not-allowed;
11356
- box-shadow: none;
11340
+ /* Size variants */
11341
+ .muka-fileupload--sm {
11342
+ padding: var(--fileupload-dropzone-padding-sm);
11343
+ min-height: 80px;
11357
11344
  }
11358
11345
 
11359
- /* ─── Variants ────────────────────────────────────────── */
11360
-
11361
- .muka-fab--primary {
11362
- background-color: var(--color-action-default);
11363
- color: var(--color-text-default-inverse);
11346
+ .muka-fileupload--lg {
11347
+ padding: var(--fileupload-dropzone-padding-lg);
11348
+ min-height: 160px;
11364
11349
  }
11365
11350
 
11366
- .muka-fab--primary:hover:not(:disabled) {
11351
+ /* Button variant */
11352
+ .muka-fileupload--button {
11353
+ flex-direction: row;
11354
+ min-height: auto;
11355
+ padding: var(--spacing-2) var(--spacing-3);
11356
+ border-style: solid;
11357
+ border-width: var(--border-width-regular);
11358
+ border-radius: var(--border-radius-md);
11359
+ }
11360
+
11361
+ /* Hover state */
11362
+ .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11363
+ background-color: var(--fileupload-dropzone-color-hover-background);
11364
+ border-color: var(--fileupload-dropzone-color-hover-border);
11365
+ }
11366
+
11367
+ /* Active/drag state */
11368
+ .muka-fileupload--active:not(.muka-fileupload--disabled) {
11369
+ background-color: var(--fileupload-dropzone-color-active-background);
11370
+ border-color: var(--fileupload-dropzone-color-active-border);
11371
+ }
11372
+
11373
+ /* Disabled state */
11374
+ .muka-fileupload--disabled {
11375
+ background-color: var(--fileupload-dropzone-color-disabled-background);
11376
+ border-color: var(--fileupload-dropzone-color-disabled-border);
11377
+ cursor: not-allowed;
11378
+ opacity: 0.6;
11379
+ }
11380
+
11381
+ /* Hidden file input */
11382
+ .muka-fileupload__input {
11383
+ position: absolute;
11384
+ width: 1px;
11385
+ height: 1px;
11386
+ padding: 0;
11387
+ margin: -1px;
11388
+ overflow: hidden;
11389
+ clip: rect(0, 0, 0, 0);
11390
+ white-space: nowrap;
11391
+ border: 0;
11392
+ }
11393
+
11394
+ /* Content container */
11395
+ .muka-fileupload__content {
11396
+ display: flex;
11397
+ flex-direction: column;
11398
+ align-items: center;
11399
+ gap: var(--spacing-2);
11400
+ }
11401
+
11402
+ /* Upload icon */
11403
+ .muka-fileupload__icon {
11404
+ display: flex;
11405
+ align-items: center;
11406
+ justify-content: center;
11407
+ width: var(--size-3xl);
11408
+ height: var(--size-3xl);
11409
+ color: var(--fileupload-dropzone-color-default-foreground);
11410
+ }
11411
+
11412
+ .muka-fileupload__icon svg {
11413
+ width: 100%;
11414
+ height: 100%;
11415
+ }
11416
+
11417
+ .muka-fileupload--sm .muka-fileupload__icon {
11418
+ width: var(--size-2xl);
11419
+ height: var(--size-2xl);
11420
+ }
11421
+
11422
+ .muka-fileupload--lg .muka-fileupload__icon {
11423
+ width: var(--size-4xl);
11424
+ height: var(--size-4xl);
11425
+ }
11426
+
11427
+ /* Text */
11428
+ .muka-fileupload__text {
11429
+ font-family: var(--text-body-base-regular-fontFamily);
11430
+ font-size: var(--text-body-base-regular-fontSize);
11431
+ font-weight: var(--text-body-base-regular-fontWeight);
11432
+ line-height: var(--text-body-base-regular-lineHeight);
11433
+ color: var(--color-text-default-default);
11434
+ }
11435
+
11436
+ .muka-fileupload--sm .muka-fileupload__text {
11437
+ font-size: var(--text-body-sm-regular-fontSize);
11438
+ }
11439
+
11440
+ /* Hint text */
11441
+ .muka-fileupload__hint {
11442
+ font-family: var(--text-label-sm-regular-fontFamily);
11443
+ font-size: var(--text-label-sm-regular-fontSize);
11444
+ font-weight: var(--text-label-sm-regular-fontWeight);
11445
+ line-height: var(--text-label-sm-regular-lineHeight);
11446
+ color: var(--fileupload-dropzone-color-default-foreground);
11447
+ }
11448
+
11449
+ /* File list */
11450
+ .muka-fileupload__list {
11451
+ display: flex;
11452
+ flex-direction: column;
11453
+ gap: var(--spacing-2);
11454
+ list-style: none;
11455
+ margin: 0;
11456
+ padding: 0;
11457
+ }
11458
+
11459
+ .muka-fileupload__list li {
11460
+ margin: 0;
11461
+ padding: 0;
11462
+ }
11463
+
11464
+ /* File item */
11465
+ .muka-fileupload-item {
11466
+ display: flex;
11467
+ align-items: center;
11468
+ gap: var(--fileupload-item-gap);
11469
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11470
+ background-color: var(--fileupload-item-color-default-background);
11471
+ border-radius: var(--fileupload-item-radius);
11472
+ }
11473
+
11474
+ .muka-fileupload-item--error {
11475
+ background-color: var(--fileupload-item-color-error-background);
11476
+ }
11477
+
11478
+ .muka-fileupload-item--success {
11479
+ background-color: var(--fileupload-item-color-default-background);
11480
+ }
11481
+
11482
+ /* Preview/Icon container */
11483
+ .muka-fileupload-item__preview {
11484
+ display: flex;
11485
+ align-items: center;
11486
+ justify-content: center;
11487
+ flex-shrink: 0;
11488
+ width: var(--fileupload-preview-size);
11489
+ height: var(--fileupload-preview-size);
11490
+ border-radius: var(--fileupload-preview-radius);
11491
+ overflow: hidden;
11492
+ background-color: var(--color-surface-level1);
11493
+ }
11494
+
11495
+ .muka-fileupload-item__thumbnail {
11496
+ width: 100%;
11497
+ height: 100%;
11498
+ object-fit: cover;
11499
+ }
11500
+
11501
+ .muka-fileupload-item__icon {
11502
+ color: var(--color-text-subtle-default);
11503
+ }
11504
+
11505
+ /* File info */
11506
+ .muka-fileupload-item__info {
11507
+ flex: 1;
11508
+ min-width: 0;
11509
+ display: flex;
11510
+ flex-direction: column;
11511
+ gap: var(--spacing-1);
11512
+ }
11513
+
11514
+ .muka-fileupload-item__name {
11515
+ font-family: var(--text-body-sm-regular-fontFamily);
11516
+ font-size: var(--text-body-sm-regular-fontSize);
11517
+ font-weight: var(--text-body-sm-regular-fontWeight);
11518
+ line-height: var(--text-body-sm-regular-lineHeight);
11519
+ color: var(--fileupload-item-color-default-foreground);
11520
+ white-space: nowrap;
11521
+ overflow: hidden;
11522
+ text-overflow: ellipsis;
11523
+ }
11524
+
11525
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11526
+ color: var(--fileupload-item-color-error-foreground);
11527
+ }
11528
+
11529
+ .muka-fileupload-item__meta {
11530
+ font-family: var(--text-label-sm-regular-fontFamily);
11531
+ font-size: var(--text-label-sm-regular-fontSize);
11532
+ font-weight: var(--text-label-sm-regular-fontWeight);
11533
+ line-height: var(--text-label-sm-regular-lineHeight);
11534
+ color: var(--color-text-subtle-default);
11535
+ }
11536
+
11537
+ .muka-fileupload-item__error {
11538
+ color: var(--fileupload-item-color-error-foreground);
11539
+ }
11540
+
11541
+ .muka-fileupload-item__progress {
11542
+ margin-top: var(--spacing-1);
11543
+ }
11544
+
11545
+ /* Actions */
11546
+ .muka-fileupload-item__actions {
11547
+ display: flex;
11548
+ align-items: center;
11549
+ gap: var(--spacing-2);
11550
+ flex-shrink: 0;
11551
+ }
11552
+
11553
+ .muka-fileupload-item__status-icon--success {
11554
+ color: var(--fileupload-item-color-success-foreground);
11555
+ }
11556
+
11557
+ .muka-fileupload-item__status-icon--error {
11558
+ color: var(--fileupload-item-color-error-foreground);
11559
+ }
11560
+
11561
+ .muka-fileupload-item__remove {
11562
+ opacity: 0.7;
11563
+ }
11564
+
11565
+ .muka-fileupload-item__remove:hover {
11566
+ opacity: 1;
11567
+ }
11568
+
11569
+
11570
+ /* FAB */
11571
+ /* FAB (Floating Action Button) Component Styles */
11572
+
11573
+ .muka-fab {
11574
+ position: fixed;
11575
+ z-index: 40;
11576
+
11577
+ display: inline-flex;
11578
+ align-items: center;
11579
+ justify-content: center;
11580
+ gap: var(--spacing-2);
11581
+
11582
+ border: none;
11583
+ cursor: pointer;
11584
+ font-family: inherit;
11585
+ box-shadow: var(--shadow-level4);
11586
+
11587
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11588
+ -webkit-tap-highlight-color: transparent;
11589
+ }
11590
+
11591
+ .muka-fab:active {
11592
+ transform: scale(0.96);
11593
+ box-shadow: var(--shadow-level3);
11594
+ }
11595
+
11596
+ .muka-fab:focus-visible {
11597
+ outline: 2px solid var(--color-action-default);
11598
+ outline-offset: 2px;
11599
+ }
11600
+
11601
+ .muka-fab:disabled {
11602
+ opacity: 0.5;
11603
+ cursor: not-allowed;
11604
+ box-shadow: none;
11605
+ }
11606
+
11607
+ /* ─── Variants ────────────────────────────────────────── */
11608
+
11609
+ .muka-fab--primary {
11610
+ background-color: var(--color-action-default);
11611
+ color: var(--color-text-default-inverse);
11612
+ }
11613
+
11614
+ .muka-fab--primary:hover:not(:disabled) {
11367
11615
  background-color: var(--color-action-hover);
11368
11616
  }
11369
11617
 
@@ -11559,307 +11807,45 @@ li.muka-listitem {
11559
11807
  .muka-emptystate--lg .muka-emptystate__title {
11560
11808
  font-family: var(--text-heading-md-fontFamily);
11561
11809
  font-weight: var(--text-heading-md-fontWeight);
11562
- font-size: var(--text-heading-md-fontSize);
11563
- line-height: var(--text-heading-md-lineHeight);
11564
- }
11565
-
11566
- /* Description */
11567
- .muka-emptystate__description {
11568
- color: var(--emptystate-description-color);
11569
- margin: 0;
11570
- font-family: var(--text-body-sm-regular-fontFamily);
11571
- font-weight: var(--text-body-sm-regular-fontWeight);
11572
- font-size: var(--text-body-sm-regular-fontSize);
11573
- line-height: var(--text-body-sm-regular-lineHeight);
11574
- }
11575
-
11576
- .muka-emptystate--md .muka-emptystate__description {
11577
- font-family: var(--text-body-base-regular-fontFamily);
11578
- font-weight: var(--text-body-base-regular-fontWeight);
11579
- font-size: var(--text-body-base-regular-fontSize);
11580
- line-height: var(--text-body-base-regular-lineHeight);
11581
- }
11582
-
11583
- .muka-emptystate--lg .muka-emptystate__description {
11584
- font-family: var(--text-body-lg-regular-fontFamily);
11585
- font-weight: var(--text-body-lg-regular-fontWeight);
11586
- font-size: var(--text-body-lg-regular-fontSize);
11587
- line-height: var(--text-body-lg-regular-lineHeight);
11588
- }
11589
-
11590
- /* Actions */
11591
- .muka-emptystate__actions {
11592
- display: flex;
11593
- gap: var(--emptystate-actions-gap);
11594
- margin-top: var(--emptystate-actions-marginTop);
11595
- flex-wrap: wrap;
11596
- justify-content: center;
11597
- }
11598
-
11599
- .muka-emptystate--left .muka-emptystate__actions {
11600
- justify-content: flex-start;
11601
- }
11602
-
11603
-
11604
- /* FileUpload */
11605
- /* FileUpload Component Styles */
11606
-
11607
- .muka-fileupload-wrapper {
11608
- display: flex;
11609
- flex-direction: column;
11610
- gap: var(--spacing-3);
11611
- width: 100%;
11612
- }
11613
-
11614
- /* Dropzone */
11615
- .muka-fileupload {
11616
- display: flex;
11617
- flex-direction: column;
11618
- align-items: center;
11619
- justify-content: center;
11620
- gap: var(--fileupload-dropzone-gap);
11621
- padding: var(--fileupload-dropzone-padding-md);
11622
- background-color: var(--fileupload-dropzone-color-default-background);
11623
- border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11624
- border-radius: var(--fileupload-dropzone-radius);
11625
- cursor: pointer;
11626
- transition: background-color 0.2s ease, border-color 0.2s ease;
11627
- text-align: center;
11628
- min-height: 120px;
11629
- }
11630
-
11631
- .muka-fileupload:focus-visible {
11632
- outline: 2px solid var(--color-border-focus);
11633
- outline-offset: 2px;
11634
- }
11635
-
11636
- /* Size variants */
11637
- .muka-fileupload--sm {
11638
- padding: var(--fileupload-dropzone-padding-sm);
11639
- min-height: 80px;
11640
- }
11641
-
11642
- .muka-fileupload--lg {
11643
- padding: var(--fileupload-dropzone-padding-lg);
11644
- min-height: 160px;
11645
- }
11646
-
11647
- /* Button variant */
11648
- .muka-fileupload--button {
11649
- flex-direction: row;
11650
- min-height: auto;
11651
- padding: var(--spacing-2) var(--spacing-3);
11652
- border-style: solid;
11653
- border-width: var(--border-width-regular);
11654
- border-radius: var(--border-radius-md);
11655
- }
11656
-
11657
- /* Hover state */
11658
- .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11659
- background-color: var(--fileupload-dropzone-color-hover-background);
11660
- border-color: var(--fileupload-dropzone-color-hover-border);
11661
- }
11662
-
11663
- /* Active/drag state */
11664
- .muka-fileupload--active:not(.muka-fileupload--disabled) {
11665
- background-color: var(--fileupload-dropzone-color-active-background);
11666
- border-color: var(--fileupload-dropzone-color-active-border);
11667
- }
11668
-
11669
- /* Disabled state */
11670
- .muka-fileupload--disabled {
11671
- background-color: var(--fileupload-dropzone-color-disabled-background);
11672
- border-color: var(--fileupload-dropzone-color-disabled-border);
11673
- cursor: not-allowed;
11674
- opacity: 0.6;
11675
- }
11676
-
11677
- /* Hidden file input */
11678
- .muka-fileupload__input {
11679
- position: absolute;
11680
- width: 1px;
11681
- height: 1px;
11682
- padding: 0;
11683
- margin: -1px;
11684
- overflow: hidden;
11685
- clip: rect(0, 0, 0, 0);
11686
- white-space: nowrap;
11687
- border: 0;
11688
- }
11689
-
11690
- /* Content container */
11691
- .muka-fileupload__content {
11692
- display: flex;
11693
- flex-direction: column;
11694
- align-items: center;
11695
- gap: var(--spacing-2);
11696
- }
11697
-
11698
- /* Upload icon */
11699
- .muka-fileupload__icon {
11700
- display: flex;
11701
- align-items: center;
11702
- justify-content: center;
11703
- width: var(--size-3xl);
11704
- height: var(--size-3xl);
11705
- color: var(--fileupload-dropzone-color-default-foreground);
11706
- }
11707
-
11708
- .muka-fileupload__icon svg {
11709
- width: 100%;
11710
- height: 100%;
11711
- }
11712
-
11713
- .muka-fileupload--sm .muka-fileupload__icon {
11714
- width: var(--size-2xl);
11715
- height: var(--size-2xl);
11716
- }
11717
-
11718
- .muka-fileupload--lg .muka-fileupload__icon {
11719
- width: var(--size-4xl);
11720
- height: var(--size-4xl);
11721
- }
11722
-
11723
- /* Text */
11724
- .muka-fileupload__text {
11725
- font-family: var(--text-body-base-regular-fontFamily);
11726
- font-size: var(--text-body-base-regular-fontSize);
11727
- font-weight: var(--text-body-base-regular-fontWeight);
11728
- line-height: var(--text-body-base-regular-lineHeight);
11729
- color: var(--color-text-default-default);
11730
- }
11731
-
11732
- .muka-fileupload--sm .muka-fileupload__text {
11733
- font-size: var(--text-body-sm-regular-fontSize);
11734
- }
11735
-
11736
- /* Hint text */
11737
- .muka-fileupload__hint {
11738
- font-family: var(--text-label-sm-regular-fontFamily);
11739
- font-size: var(--text-label-sm-regular-fontSize);
11740
- font-weight: var(--text-label-sm-regular-fontWeight);
11741
- line-height: var(--text-label-sm-regular-lineHeight);
11742
- color: var(--fileupload-dropzone-color-default-foreground);
11743
- }
11744
-
11745
- /* File list */
11746
- .muka-fileupload__list {
11747
- display: flex;
11748
- flex-direction: column;
11749
- gap: var(--spacing-2);
11750
- list-style: none;
11751
- margin: 0;
11752
- padding: 0;
11753
- }
11754
-
11755
- .muka-fileupload__list li {
11756
- margin: 0;
11757
- padding: 0;
11758
- }
11759
-
11760
- /* File item */
11761
- .muka-fileupload-item {
11762
- display: flex;
11763
- align-items: center;
11764
- gap: var(--fileupload-item-gap);
11765
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11766
- background-color: var(--fileupload-item-color-default-background);
11767
- border-radius: var(--fileupload-item-radius);
11768
- }
11769
-
11770
- .muka-fileupload-item--error {
11771
- background-color: var(--fileupload-item-color-error-background);
11772
- }
11773
-
11774
- .muka-fileupload-item--success {
11775
- background-color: var(--fileupload-item-color-default-background);
11776
- }
11777
-
11778
- /* Preview/Icon container */
11779
- .muka-fileupload-item__preview {
11780
- display: flex;
11781
- align-items: center;
11782
- justify-content: center;
11783
- flex-shrink: 0;
11784
- width: var(--fileupload-preview-size);
11785
- height: var(--fileupload-preview-size);
11786
- border-radius: var(--fileupload-preview-radius);
11787
- overflow: hidden;
11788
- background-color: var(--color-surface-level1);
11789
- }
11790
-
11791
- .muka-fileupload-item__thumbnail {
11792
- width: 100%;
11793
- height: 100%;
11794
- object-fit: cover;
11795
- }
11796
-
11797
- .muka-fileupload-item__icon {
11798
- color: var(--color-text-subtle-default);
11799
- }
11800
-
11801
- /* File info */
11802
- .muka-fileupload-item__info {
11803
- flex: 1;
11804
- min-width: 0;
11805
- display: flex;
11806
- flex-direction: column;
11807
- gap: var(--spacing-1);
11810
+ font-size: var(--text-heading-md-fontSize);
11811
+ line-height: var(--text-heading-md-lineHeight);
11808
11812
  }
11809
11813
 
11810
- .muka-fileupload-item__name {
11814
+ /* Description */
11815
+ .muka-emptystate__description {
11816
+ color: var(--emptystate-description-color);
11817
+ margin: 0;
11811
11818
  font-family: var(--text-body-sm-regular-fontFamily);
11812
- font-size: var(--text-body-sm-regular-fontSize);
11813
11819
  font-weight: var(--text-body-sm-regular-fontWeight);
11820
+ font-size: var(--text-body-sm-regular-fontSize);
11814
11821
  line-height: var(--text-body-sm-regular-lineHeight);
11815
- color: var(--fileupload-item-color-default-foreground);
11816
- white-space: nowrap;
11817
- overflow: hidden;
11818
- text-overflow: ellipsis;
11819
- }
11820
-
11821
- .muka-fileupload-item--error .muka-fileupload-item__name {
11822
- color: var(--fileupload-item-color-error-foreground);
11823
- }
11824
-
11825
- .muka-fileupload-item__meta {
11826
- font-family: var(--text-label-sm-regular-fontFamily);
11827
- font-size: var(--text-label-sm-regular-fontSize);
11828
- font-weight: var(--text-label-sm-regular-fontWeight);
11829
- line-height: var(--text-label-sm-regular-lineHeight);
11830
- color: var(--color-text-subtle-default);
11831
11822
  }
11832
11823
 
11833
- .muka-fileupload-item__error {
11834
- color: var(--fileupload-item-color-error-foreground);
11824
+ .muka-emptystate--md .muka-emptystate__description {
11825
+ font-family: var(--text-body-base-regular-fontFamily);
11826
+ font-weight: var(--text-body-base-regular-fontWeight);
11827
+ font-size: var(--text-body-base-regular-fontSize);
11828
+ line-height: var(--text-body-base-regular-lineHeight);
11835
11829
  }
11836
11830
 
11837
- .muka-fileupload-item__progress {
11838
- margin-top: var(--spacing-1);
11831
+ .muka-emptystate--lg .muka-emptystate__description {
11832
+ font-family: var(--text-body-lg-regular-fontFamily);
11833
+ font-weight: var(--text-body-lg-regular-fontWeight);
11834
+ font-size: var(--text-body-lg-regular-fontSize);
11835
+ line-height: var(--text-body-lg-regular-lineHeight);
11839
11836
  }
11840
11837
 
11841
11838
  /* Actions */
11842
- .muka-fileupload-item__actions {
11839
+ .muka-emptystate__actions {
11843
11840
  display: flex;
11844
- align-items: center;
11845
- gap: var(--spacing-2);
11846
- flex-shrink: 0;
11847
- }
11848
-
11849
- .muka-fileupload-item__status-icon--success {
11850
- color: var(--fileupload-item-color-success-foreground);
11851
- }
11852
-
11853
- .muka-fileupload-item__status-icon--error {
11854
- color: var(--fileupload-item-color-error-foreground);
11855
- }
11856
-
11857
- .muka-fileupload-item__remove {
11858
- opacity: 0.7;
11841
+ gap: var(--emptystate-actions-gap);
11842
+ margin-top: var(--emptystate-actions-marginTop);
11843
+ flex-wrap: wrap;
11844
+ justify-content: center;
11859
11845
  }
11860
11846
 
11861
- .muka-fileupload-item__remove:hover {
11862
- opacity: 1;
11847
+ .muka-emptystate--left .muka-emptystate__actions {
11848
+ justify-content: flex-start;
11863
11849
  }
11864
11850
 
11865
11851
 
@@ -12056,248 +12042,60 @@ li.muka-listitem {
12056
12042
  border-radius: inherit;
12057
12043
  background: transparent;
12058
12044
  color: var(--color-text-subtle-default);
12059
- cursor: pointer;
12060
- }
12061
-
12062
- .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12063
- align-items: flex-start;
12064
- padding-top: calc(var(--spacing-2) + 8px);
12065
- }
12066
-
12067
- .muka-dropdown-select__chevron {
12068
- display: inline-flex;
12069
- align-items: center;
12070
- justify-content: center;
12071
- width: var(--size-2xl, 2rem);
12072
- height: var(--size-2xl, 2rem);
12073
- pointer-events: none;
12074
- color: var(--color-text-subtle-default);
12075
- }
12076
-
12077
- .muka-dropdown-select__chevron .muka-icon,
12078
- .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12079
- .muka-dropdown-select__menu-button:hover .muka-icon {
12080
- color: var(--color-text-subtle-default);
12081
- }
12082
-
12083
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12084
- width: var(--size-xl, 1.5rem);
12085
- height: var(--size-xl, 1.5rem);
12086
- }
12087
-
12088
- .muka-dropdown-select__menu-button:focus-visible {
12089
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
12090
- outline-offset: 2px;
12091
- }
12092
-
12093
- .muka-dropdown-select__helper {
12094
- margin: 0;
12095
- color: var(--color-text-subtle-default);
12096
- font-family: var(--text-label-sm-regular-fontFamily);
12097
- font-size: var(--text-label-sm-regular-fontSize);
12098
- font-weight: var(--text-label-sm-regular-fontWeight);
12099
- line-height: var(--text-label-sm-regular-lineHeight);
12100
- }
12101
-
12102
- .muka-dropdown-select__error {
12103
- margin: 0;
12104
- color: var(--color-state-error-default);
12105
- font-family: var(--text-label-sm-regular-fontFamily);
12106
- font-size: var(--text-label-sm-regular-fontSize);
12107
- font-weight: var(--text-label-sm-regular-fontWeight);
12108
- line-height: var(--text-label-sm-regular-lineHeight);
12109
- }
12110
-
12111
- .muka-dropdown-select__menu {
12112
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12113
- }
12114
-
12115
-
12116
- /* Drawer */
12117
- /* Drawer Component Styles */
12118
-
12119
- /* Size tokens (local to Drawer) */
12120
- .muka-drawer {
12121
- --drawer-width-sm: 18rem;
12122
- --drawer-width-md: 26rem;
12123
- --drawer-width-lg: 36rem;
12124
- }
12125
-
12126
- /* Reset native dialog */
12127
- .muka-drawer {
12128
- border: none;
12129
- padding: 0;
12130
- max-width: none;
12131
- max-height: none;
12132
- background: transparent;
12133
- overflow: visible;
12134
- }
12135
-
12136
- /* Backdrop */
12137
- .muka-drawer::backdrop {
12138
- background-color: var(--color-surface-backdrop);
12139
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
12140
- backdrop-filter: blur(var(--effect-blur-backdrop));
12141
- opacity: 0;
12142
- transition: opacity 200ms ease;
12143
- }
12144
-
12145
- .muka-drawer--slide-in::backdrop {
12146
- opacity: 1;
12147
- }
12148
-
12149
- /* Surface */
12150
- .muka-drawer__surface {
12151
- display: flex;
12152
- flex-direction: column;
12153
- background-color: var(--color-surface-level3);
12154
- box-shadow: var(--shadow-level5);
12155
- height: 100%;
12156
- overflow: hidden;
12157
- position: fixed;
12158
- transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
12159
- }
12160
-
12161
- /* Side positioning + initial transforms */
12162
- .muka-drawer--right .muka-drawer__surface {
12163
- top: 0;
12164
- right: 0;
12165
- bottom: 0;
12166
- border-radius: var(--radius-lg) 0 0 var(--radius-lg);
12167
- transform: translateX(100%);
12168
- }
12169
-
12170
- .muka-drawer--left .muka-drawer__surface {
12171
- top: 0;
12172
- left: 0;
12173
- bottom: 0;
12174
- border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
12175
- transform: translateX(-100%);
12176
- }
12177
-
12178
- .muka-drawer--bottom .muka-drawer__surface {
12179
- left: 0;
12180
- right: 0;
12181
- bottom: 0;
12182
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
12183
- transform: translateY(100%);
12184
- }
12185
-
12186
- .muka-drawer--top .muka-drawer__surface {
12187
- left: 0;
12188
- right: 0;
12189
- top: 0;
12190
- border-radius: 0 0 var(--radius-lg) var(--radius-lg);
12191
- transform: translateY(-100%);
12192
- }
12193
-
12194
- /* Slide-in state */
12195
- .muka-drawer--slide-in .muka-drawer__surface {
12196
- transform: translate(0, 0);
12197
- }
12198
-
12199
- /* Width sizes (left/right) */
12200
- .muka-drawer--right .muka-drawer__surface,
12201
- .muka-drawer--left .muka-drawer__surface {
12202
- width: var(--drawer-width-md);
12203
- }
12204
-
12205
- .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
12206
- .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
12207
- width: var(--drawer-width-sm);
12208
- }
12209
-
12210
- .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
12211
- .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
12212
- width: var(--drawer-width-lg);
12213
- }
12214
-
12215
- .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
12216
- .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
12217
- width: 100%;
12218
- }
12219
-
12220
- /* Height sizes (top/bottom) */
12221
- .muka-drawer--top .muka-drawer__surface,
12222
- .muka-drawer--bottom .muka-drawer__surface {
12223
- height: auto;
12224
- max-height: 80vh;
12225
- }
12226
-
12227
- .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
12228
- .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
12229
- max-height: 100vh;
12230
- }
12231
-
12232
- /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
12233
- .muka-drawer .muka-topbar {
12234
- position: relative;
12235
- z-index: 1;
12236
- flex-shrink: 0;
12237
- }
12238
-
12239
- /* Body */
12240
- .muka-drawer__body {
12241
- flex: 1;
12242
- overflow-y: auto;
12243
- padding: var(--drawer-padding-x);
12244
- }
12245
-
12246
- /* Roomier body on desktop; the header and footer keep their padding */
12247
- @media (min-width: 1024px) {
12248
- .muka-drawer__body {
12249
- padding: var(--drawer-padding-x-desktop);
12250
- }
12045
+ cursor: pointer;
12251
12046
  }
12252
12047
 
12253
- /* Footer */
12254
- .muka-drawer__footer {
12255
- padding: var(--spacing-4);
12256
- border-top: var(--border-width-regular) solid var(--color-border-default);
12257
- flex-shrink: 0;
12048
+ .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12049
+ align-items: flex-start;
12050
+ padding-top: calc(var(--spacing-2) + 8px);
12258
12051
  }
12259
12052
 
12260
- /* ─── Safe areas (notch, status bar, home indicator) ────
12261
- env(safe-area-inset-*) is 0 outside notched devices, so these only change
12262
- an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
12053
+ .muka-dropdown-select__chevron {
12054
+ display: inline-flex;
12055
+ align-items: center;
12056
+ justify-content: center;
12057
+ width: var(--size-2xl, 2rem);
12058
+ height: var(--size-2xl, 2rem);
12059
+ pointer-events: none;
12060
+ color: var(--color-text-subtle-default);
12061
+ }
12263
12062
 
12264
- /* Top edge. Side, top and full-height drawers reach the status bar: their
12265
- TopBar pads for it; without a header the surface does. A bottom drawer
12266
- stops short of it, so its TopBar must not. */
12267
- .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
12268
- .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
12269
- .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
12270
- padding-top: env(safe-area-inset-top, 0px);
12063
+ .muka-dropdown-select__chevron .muka-icon,
12064
+ .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12065
+ .muka-dropdown-select__menu-button:hover .muka-icon {
12066
+ color: var(--color-text-subtle-default);
12271
12067
  }
12272
12068
 
12273
- .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
12274
- padding-top: 0;
12069
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12070
+ width: var(--size-xl, 1.5rem);
12071
+ height: var(--size-xl, 1.5rem);
12275
12072
  }
12276
12073
 
12277
- /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
12278
- pads for it, or the surface when there is no footer. */
12279
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
12280
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
12074
+ .muka-dropdown-select__menu-button:focus-visible {
12075
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
12076
+ outline-offset: 2px;
12281
12077
  }
12282
12078
 
12283
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
12284
- padding-bottom: env(safe-area-inset-bottom, 0px);
12079
+ .muka-dropdown-select__helper {
12080
+ margin: 0;
12081
+ color: var(--color-text-subtle-default);
12082
+ font-family: var(--text-label-sm-regular-fontFamily);
12083
+ font-size: var(--text-label-sm-regular-fontSize);
12084
+ font-weight: var(--text-label-sm-regular-fontWeight);
12085
+ line-height: var(--text-label-sm-regular-lineHeight);
12285
12086
  }
12286
12087
 
12287
- /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
12288
- already insets its own content. */
12289
- @media (max-width: 1023px) {
12290
- .muka-drawer--left .muka-drawer__body,
12291
- .muka-drawer--top .muka-drawer__body,
12292
- .muka-drawer--bottom .muka-drawer__body {
12293
- padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
12294
- }
12088
+ .muka-dropdown-select__error {
12089
+ margin: 0;
12090
+ color: var(--color-state-error-default);
12091
+ font-family: var(--text-label-sm-regular-fontFamily);
12092
+ font-size: var(--text-label-sm-regular-fontSize);
12093
+ font-weight: var(--text-label-sm-regular-fontWeight);
12094
+ line-height: var(--text-label-sm-regular-lineHeight);
12095
+ }
12295
12096
 
12296
- .muka-drawer--right .muka-drawer__body,
12297
- .muka-drawer--top .muka-drawer__body,
12298
- .muka-drawer--bottom .muka-drawer__body {
12299
- padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
12300
- }
12097
+ .muka-dropdown-select__menu {
12098
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12301
12099
  }
12302
12100
 
12303
12101
 
@@ -13799,47 +13597,235 @@ li.muka-listitem {
13799
13597
  line-height: var(--text-label-md-regular-lineHeight);
13800
13598
  }
13801
13599
 
13802
- .muka-combobox__input::placeholder {
13803
- color: var(--color-text-subtle-default);
13600
+ .muka-combobox__input::placeholder {
13601
+ color: var(--color-text-subtle-default);
13602
+ }
13603
+
13604
+ .muka-combobox__helper {
13605
+ margin: 0;
13606
+ color: var(--color-text-subtle-default);
13607
+ font-family: var(--text-label-sm-regular-fontFamily);
13608
+ font-size: var(--text-label-sm-regular-fontSize);
13609
+ font-weight: var(--text-label-sm-regular-fontWeight);
13610
+ line-height: var(--text-label-sm-regular-lineHeight);
13611
+ }
13612
+
13613
+ .muka-combobox__error {
13614
+ margin: 0;
13615
+ color: var(--color-state-error-default);
13616
+ font-family: var(--text-label-sm-regular-fontFamily);
13617
+ font-size: var(--text-label-sm-regular-fontSize);
13618
+ font-weight: var(--text-label-sm-regular-fontWeight);
13619
+ line-height: var(--text-label-sm-regular-lineHeight);
13620
+ }
13621
+
13622
+ .muka-combobox__menu-anchor {
13623
+ position: absolute;
13624
+ inset: 0;
13625
+ z-index: 0;
13626
+ width: 100%;
13627
+ height: 100%;
13628
+ margin: 0;
13629
+ padding: 0;
13630
+ border: none;
13631
+ background: transparent;
13632
+ pointer-events: none;
13633
+ opacity: 0;
13634
+ }
13635
+
13636
+ .muka-combobox__menu {
13637
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13638
+ min-width: var(--menu-content-min-width);
13639
+ width: max-content;
13640
+ max-width: min(100vw - 2rem, 24rem);
13641
+ }
13642
+
13643
+
13644
+ /* Drawer */
13645
+ /* Drawer Component Styles */
13646
+
13647
+ /* Size tokens (local to Drawer) */
13648
+ .muka-drawer {
13649
+ --drawer-width-sm: 18rem;
13650
+ --drawer-width-md: 26rem;
13651
+ --drawer-width-lg: 36rem;
13652
+ }
13653
+
13654
+ /* Reset native dialog */
13655
+ .muka-drawer {
13656
+ border: none;
13657
+ padding: 0;
13658
+ max-width: none;
13659
+ max-height: none;
13660
+ background: transparent;
13661
+ overflow: visible;
13662
+ }
13663
+
13664
+ /* Backdrop */
13665
+ .muka-drawer::backdrop {
13666
+ background-color: var(--color-surface-backdrop);
13667
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
13668
+ backdrop-filter: blur(var(--effect-blur-backdrop));
13669
+ opacity: 0;
13670
+ transition: opacity 200ms ease;
13671
+ }
13672
+
13673
+ .muka-drawer--slide-in::backdrop {
13674
+ opacity: 1;
13675
+ }
13676
+
13677
+ /* Surface */
13678
+ .muka-drawer__surface {
13679
+ display: flex;
13680
+ flex-direction: column;
13681
+ background-color: var(--color-surface-level3);
13682
+ box-shadow: var(--shadow-level5);
13683
+ height: 100%;
13684
+ overflow: hidden;
13685
+ position: fixed;
13686
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
13687
+ }
13688
+
13689
+ /* Side positioning + initial transforms */
13690
+ .muka-drawer--right .muka-drawer__surface {
13691
+ top: 0;
13692
+ right: 0;
13693
+ bottom: 0;
13694
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
13695
+ transform: translateX(100%);
13696
+ }
13697
+
13698
+ .muka-drawer--left .muka-drawer__surface {
13699
+ top: 0;
13700
+ left: 0;
13701
+ bottom: 0;
13702
+ border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
13703
+ transform: translateX(-100%);
13704
+ }
13705
+
13706
+ .muka-drawer--bottom .muka-drawer__surface {
13707
+ left: 0;
13708
+ right: 0;
13709
+ bottom: 0;
13710
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
13711
+ transform: translateY(100%);
13712
+ }
13713
+
13714
+ .muka-drawer--top .muka-drawer__surface {
13715
+ left: 0;
13716
+ right: 0;
13717
+ top: 0;
13718
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
13719
+ transform: translateY(-100%);
13720
+ }
13721
+
13722
+ /* Slide-in state */
13723
+ .muka-drawer--slide-in .muka-drawer__surface {
13724
+ transform: translate(0, 0);
13725
+ }
13726
+
13727
+ /* Width sizes (left/right) */
13728
+ .muka-drawer--right .muka-drawer__surface,
13729
+ .muka-drawer--left .muka-drawer__surface {
13730
+ width: var(--drawer-width-md);
13731
+ }
13732
+
13733
+ .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
13734
+ .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
13735
+ width: var(--drawer-width-sm);
13736
+ }
13737
+
13738
+ .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
13739
+ .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
13740
+ width: var(--drawer-width-lg);
13741
+ }
13742
+
13743
+ .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
13744
+ .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
13745
+ width: 100%;
13746
+ }
13747
+
13748
+ /* Height sizes (top/bottom) */
13749
+ .muka-drawer--top .muka-drawer__surface,
13750
+ .muka-drawer--bottom .muka-drawer__surface {
13751
+ height: auto;
13752
+ max-height: 80vh;
13753
+ }
13754
+
13755
+ .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
13756
+ .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
13757
+ max-height: 100vh;
13758
+ }
13759
+
13760
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
13761
+ .muka-drawer .muka-topbar {
13762
+ position: relative;
13763
+ z-index: 1;
13764
+ flex-shrink: 0;
13765
+ }
13766
+
13767
+ /* Body */
13768
+ .muka-drawer__body {
13769
+ flex: 1;
13770
+ overflow-y: auto;
13771
+ padding: var(--drawer-padding-x);
13772
+ }
13773
+
13774
+ /* Roomier body on desktop; the header and footer keep their padding */
13775
+ @media (min-width: 1024px) {
13776
+ .muka-drawer__body {
13777
+ padding: var(--drawer-padding-x-desktop);
13778
+ }
13779
+ }
13780
+
13781
+ /* Footer */
13782
+ .muka-drawer__footer {
13783
+ padding: var(--spacing-4);
13784
+ border-top: var(--border-width-regular) solid var(--color-border-default);
13785
+ flex-shrink: 0;
13804
13786
  }
13805
13787
 
13806
- .muka-combobox__helper {
13807
- margin: 0;
13808
- color: var(--color-text-subtle-default);
13809
- font-family: var(--text-label-sm-regular-fontFamily);
13810
- font-size: var(--text-label-sm-regular-fontSize);
13811
- font-weight: var(--text-label-sm-regular-fontWeight);
13812
- line-height: var(--text-label-sm-regular-lineHeight);
13788
+ /* ─── Safe areas (notch, status bar, home indicator) ────
13789
+ env(safe-area-inset-*) is 0 outside notched devices, so these only change
13790
+ an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
13791
+
13792
+ /* Top edge. Side, top and full-height drawers reach the status bar: their
13793
+ TopBar pads for it; without a header the surface does. A bottom drawer
13794
+ stops short of it, so its TopBar must not. */
13795
+ .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
13796
+ .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
13797
+ .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
13798
+ padding-top: env(safe-area-inset-top, 0px);
13813
13799
  }
13814
13800
 
13815
- .muka-combobox__error {
13816
- margin: 0;
13817
- color: var(--color-state-error-default);
13818
- font-family: var(--text-label-sm-regular-fontFamily);
13819
- font-size: var(--text-label-sm-regular-fontSize);
13820
- font-weight: var(--text-label-sm-regular-fontWeight);
13821
- line-height: var(--text-label-sm-regular-lineHeight);
13801
+ .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
13802
+ padding-top: 0;
13822
13803
  }
13823
13804
 
13824
- .muka-combobox__menu-anchor {
13825
- position: absolute;
13826
- inset: 0;
13827
- z-index: 0;
13828
- width: 100%;
13829
- height: 100%;
13830
- margin: 0;
13831
- padding: 0;
13832
- border: none;
13833
- background: transparent;
13834
- pointer-events: none;
13835
- opacity: 0;
13805
+ /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
13806
+ pads for it, or the surface when there is no footer. */
13807
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
13808
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
13836
13809
  }
13837
13810
 
13838
- .muka-combobox__menu {
13839
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13840
- min-width: var(--menu-content-min-width);
13841
- width: max-content;
13842
- max-width: min(100vw - 2rem, 24rem);
13811
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
13812
+ padding-bottom: env(safe-area-inset-bottom, 0px);
13813
+ }
13814
+
13815
+ /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
13816
+ already insets its own content. */
13817
+ @media (max-width: 1023px) {
13818
+ .muka-drawer--left .muka-drawer__body,
13819
+ .muka-drawer--top .muka-drawer__body,
13820
+ .muka-drawer--bottom .muka-drawer__body {
13821
+ padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
13822
+ }
13823
+
13824
+ .muka-drawer--right .muka-drawer__body,
13825
+ .muka-drawer--top .muka-drawer__body,
13826
+ .muka-drawer--bottom .muka-drawer__body {
13827
+ padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
13828
+ }
13843
13829
  }
13844
13830
 
13845
13831
 
@@ -14283,264 +14269,97 @@ button.muka-chip__trailing[aria-expanded='true'],
14283
14269
  justify-content: center;
14284
14270
  flex-shrink: 0;
14285
14271
  width: var(--icon-size-default);
14286
- height: var(--icon-size-default);
14287
- color: var(--color-text-default-default);
14288
- }
14289
-
14290
- .muka-checkbox-tile__icon svg {
14291
- width: 100%;
14292
- height: 100%;
14293
- }
14294
-
14295
- /* Image */
14296
- .muka-checkbox-tile__image {
14297
- flex-shrink: 0;
14298
- overflow: hidden;
14299
- border-radius: var(--border-radius-sm);
14300
- }
14301
-
14302
- .muka-checkbox-tile__image img {
14303
- display: block;
14304
- width: 100%;
14305
- height: 100%;
14306
- object-fit: cover;
14307
- }
14308
-
14309
- /* Horizontal image sizing */
14310
- .muka-checkbox-tile__image--horizontal {
14311
- width: 40px;
14312
- height: 40px;
14313
- }
14314
-
14315
- /* Vertical image sizing */
14316
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14317
- width: 100%;
14318
- aspect-ratio: 4/3;
14319
- }
14320
-
14321
- /* Content container */
14322
- .muka-checkbox-tile__content {
14323
- display: flex;
14324
- flex-direction: column;
14325
- flex: 1;
14326
- min-width: 0;
14327
- gap: var(--spacing-2);
14328
- }
14329
-
14330
- .muka-checkbox-tile__content-inner {
14331
- display: flex;
14332
- flex-direction: column;
14333
- gap: var(--spacing-1);
14334
- }
14335
-
14336
- /* Chip slot (replaces badge; use Chip component) */
14337
- .muka-checkbox-tile__chip {
14338
- flex-shrink: 0;
14339
- }
14340
-
14341
- .muka-checkbox-tile__chip--vertical {
14342
- margin-top: var(--spacing-1);
14343
- }
14344
-
14345
- /* Label */
14346
- .muka-checkbox-tile__label {
14347
- font-family: var(--text-body-lg-regular-fontFamily);
14348
- font-weight: var(--text-body-lg-regular-fontWeight);
14349
- font-size: var(--text-body-lg-regular-fontSize);
14350
- line-height: var(--text-body-lg-regular-lineHeight);
14351
- color: var(--color-text-default-default);
14352
- }
14353
-
14354
- .muka-checkbox-tile__label--bold {
14355
- font-family: var(--text-label-lg-semibold-fontFamily);
14356
- font-weight: var(--text-label-lg-semibold-fontWeight);
14357
- font-size: var(--text-label-lg-semibold-fontSize);
14358
- line-height: var(--text-label-lg-semibold-lineHeight);
14359
- }
14360
-
14361
- .muka-checkbox-tile__label--center {
14362
- text-align: center;
14363
- }
14364
-
14365
- /* Caption */
14366
- .muka-checkbox-tile__caption {
14367
- font-family: var(--text-body-base-regular-fontFamily);
14368
- font-weight: var(--text-body-base-regular-fontWeight);
14369
- font-size: var(--text-body-base-regular-fontSize);
14370
- line-height: var(--text-body-base-regular-lineHeight);
14371
- color: var(--color-text-subtle-default);
14372
- }
14373
-
14374
- /* Disabled states */
14375
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14376
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14377
- color: var(--color-text-subtle-default);
14378
- }
14379
-
14380
-
14381
- /* Checkbox */
14382
- /* Checkbox Component Styles - Using Muka Design Tokens */
14383
-
14384
- /* Wrapper - clickable label container */
14385
- .muka-checkbox {
14386
- display: inline-flex;
14387
- align-items: center;
14388
- gap: var(--spacing-4);
14389
- cursor: pointer;
14390
- user-select: none;
14391
- }
14392
-
14393
- .muka-checkbox--disabled {
14394
- cursor: not-allowed;
14395
- opacity: 0.6;
14396
- }
14397
-
14398
- /* Control container */
14399
- .muka-checkbox__control {
14400
- position: relative;
14401
- display: inline-flex;
14402
- align-items: center;
14403
- justify-content: center;
14404
- flex-shrink: 0;
14405
- }
14406
-
14407
- /* Hidden native input */
14408
- .muka-checkbox__input {
14409
- position: absolute;
14410
- width: 1px;
14411
- height: 1px;
14412
- padding: 0;
14413
- margin: -1px;
14414
- overflow: hidden;
14415
- clip: rect(0, 0, 0, 0);
14416
- white-space: nowrap;
14417
- border: 0;
14418
- }
14419
-
14420
- /* Visual indicator (square) */
14421
- .muka-checkbox__indicator {
14422
- display: flex;
14423
- align-items: center;
14424
- justify-content: center;
14425
- width: var(--checkbox-size-default);
14426
- height: var(--checkbox-size-default);
14427
- border-radius: var(--checkbox-radius);
14428
- background-color: var(--checkbox-color-default-background);
14429
- border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14430
- transition: all 0.15s ease;
14431
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14432
- }
14433
-
14434
- /* Size variants */
14435
- .muka-checkbox--sm .muka-checkbox__indicator {
14436
- width: var(--checkbox-size-sm);
14437
- height: var(--checkbox-size-sm);
14438
- }
14439
-
14440
- .muka-checkbox--lg .muka-checkbox__indicator {
14441
- width: var(--checkbox-size-lg);
14442
- height: var(--checkbox-size-lg);
14443
- }
14444
-
14445
- /* Icon inside checkbox */
14446
- .muka-checkbox__icon {
14447
- width: var(--checkbox-icon-size-default);
14448
- height: var(--checkbox-icon-size-default);
14449
- color: var(--checkbox-color-default-icon);
14450
- opacity: 0;
14451
- transform: scale(0.8);
14452
- transition: opacity 0.15s ease, transform 0.15s ease;
14453
- }
14454
-
14455
- .muka-checkbox--sm .muka-checkbox__icon {
14456
- width: var(--checkbox-icon-size-sm);
14457
- height: var(--checkbox-icon-size-sm);
14458
- }
14459
-
14460
- .muka-checkbox--lg .muka-checkbox__icon {
14461
- width: var(--checkbox-icon-size-lg);
14462
- height: var(--checkbox-icon-size-lg);
14463
- }
14464
-
14465
- /* Hide indeterminate icon by default */
14466
- .muka-checkbox__icon--indeterminate {
14467
- position: absolute;
14272
+ height: var(--icon-size-default);
14273
+ color: var(--color-text-default-default);
14468
14274
  }
14469
14275
 
14470
- /* Hover state - removed per design */
14276
+ .muka-checkbox-tile__icon svg {
14277
+ width: 100%;
14278
+ height: 100%;
14279
+ }
14471
14280
 
14472
- /* Focus state */
14473
- .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14474
- outline: 2px solid var(--color-border-focus);
14475
- outline-offset: 2px;
14281
+ /* Image */
14282
+ .muka-checkbox-tile__image {
14283
+ flex-shrink: 0;
14284
+ overflow: hidden;
14285
+ border-radius: var(--border-radius-sm);
14476
14286
  }
14477
14287
 
14478
- /* Checked state */
14479
- .muka-checkbox__input:checked + .muka-checkbox__indicator {
14480
- background-color: var(--checkbox-color-checked-background);
14481
- border-color: var(--checkbox-color-checked-border);
14482
- box-shadow: none;
14288
+ .muka-checkbox-tile__image img {
14289
+ display: block;
14290
+ width: 100%;
14291
+ height: 100%;
14292
+ object-fit: cover;
14483
14293
  }
14484
14294
 
14485
- .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14486
- color: var(--checkbox-color-checked-icon);
14487
- opacity: 1;
14488
- transform: scale(1);
14295
+ /* Horizontal image sizing */
14296
+ .muka-checkbox-tile__image--horizontal {
14297
+ width: 40px;
14298
+ height: 40px;
14489
14299
  }
14490
14300
 
14491
- /* Indeterminate state */
14492
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14493
- background-color: var(--checkbox-color-checked-background);
14494
- border-color: var(--checkbox-color-checked-border);
14495
- box-shadow: none;
14301
+ /* Vertical image sizing */
14302
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14303
+ width: 100%;
14304
+ aspect-ratio: 4/3;
14496
14305
  }
14497
14306
 
14498
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14499
- opacity: 0;
14307
+ /* Content container */
14308
+ .muka-checkbox-tile__content {
14309
+ display: flex;
14310
+ flex-direction: column;
14311
+ flex: 1;
14312
+ min-width: 0;
14313
+ gap: var(--spacing-2);
14500
14314
  }
14501
14315
 
14502
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14503
- color: var(--checkbox-color-checked-icon);
14504
- opacity: 1;
14505
- transform: scale(1);
14316
+ .muka-checkbox-tile__content-inner {
14317
+ display: flex;
14318
+ flex-direction: column;
14319
+ gap: var(--spacing-1);
14506
14320
  }
14507
14321
 
14508
- /* Disabled state */
14509
- .muka-checkbox--disabled .muka-checkbox__indicator {
14510
- background-color: var(--checkbox-color-disabled-background);
14511
- border-color: var(--checkbox-color-disabled-border);
14512
- box-shadow: none;
14322
+ /* Chip slot (replaces badge; use Chip component) */
14323
+ .muka-checkbox-tile__chip {
14324
+ flex-shrink: 0;
14513
14325
  }
14514
14326
 
14515
- .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14516
- .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14517
- color: var(--checkbox-color-disabled-icon);
14327
+ .muka-checkbox-tile__chip--vertical {
14328
+ margin-top: var(--spacing-1);
14518
14329
  }
14519
14330
 
14520
- /* Label text */
14521
- .muka-checkbox__label {
14522
- font-family: var(--text-label-lg-regular-fontFamily);
14523
- font-weight: var(--text-label-lg-regular-fontWeight);
14524
- font-size: var(--text-label-lg-regular-fontSize);
14525
- line-height: var(--text-label-lg-regular-lineHeight);
14331
+ /* Label */
14332
+ .muka-checkbox-tile__label {
14333
+ font-family: var(--text-body-lg-regular-fontFamily);
14334
+ font-weight: var(--text-body-lg-regular-fontWeight);
14335
+ font-size: var(--text-body-lg-regular-fontSize);
14336
+ line-height: var(--text-body-lg-regular-lineHeight);
14526
14337
  color: var(--color-text-default-default);
14527
14338
  }
14528
14339
 
14529
- .muka-checkbox--sm .muka-checkbox__label {
14530
- font-family: var(--text-label-md-regular-fontFamily);
14531
- font-weight: var(--text-label-md-regular-fontWeight);
14532
- font-size: var(--text-label-md-regular-fontSize);
14533
- line-height: var(--text-label-md-regular-lineHeight);
14340
+ .muka-checkbox-tile__label--bold {
14341
+ font-family: var(--text-label-lg-semibold-fontFamily);
14342
+ font-weight: var(--text-label-lg-semibold-fontWeight);
14343
+ font-size: var(--text-label-lg-semibold-fontSize);
14344
+ line-height: var(--text-label-lg-semibold-lineHeight);
14534
14345
  }
14535
14346
 
14536
- .muka-checkbox--lg .muka-checkbox__label {
14537
- font-family: var(--text-label-xl-regular-fontFamily);
14538
- font-weight: var(--text-label-xl-regular-fontWeight);
14539
- font-size: var(--text-label-xl-regular-fontSize);
14540
- line-height: var(--text-label-xl-regular-lineHeight);
14347
+ .muka-checkbox-tile__label--center {
14348
+ text-align: center;
14541
14349
  }
14542
14350
 
14543
- .muka-checkbox--disabled .muka-checkbox__label {
14351
+ /* Caption */
14352
+ .muka-checkbox-tile__caption {
14353
+ font-family: var(--text-body-base-regular-fontFamily);
14354
+ font-weight: var(--text-body-base-regular-fontWeight);
14355
+ font-size: var(--text-body-base-regular-fontSize);
14356
+ line-height: var(--text-body-base-regular-lineHeight);
14357
+ color: var(--color-text-subtle-default);
14358
+ }
14359
+
14360
+ /* Disabled states */
14361
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14362
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14544
14363
  color: var(--color-text-subtle-default);
14545
14364
  }
14546
14365
 
@@ -14735,55 +14554,222 @@ button.muka-chat-photo-grid__tile:focus-visible {
14735
14554
  grid-template-columns: 1fr;
14736
14555
  }
14737
14556
 
14738
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14739
- aspect-ratio: 4 / 3;
14557
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14558
+ aspect-ratio: 4 / 3;
14559
+ }
14560
+
14561
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14562
+ aspect-ratio: 3 / 4;
14563
+ }
14564
+
14565
+ .muka-chat-photo-grid--2 {
14566
+ grid-template-columns: repeat(2, 1fr);
14567
+ }
14568
+
14569
+ .muka-chat-photo-grid--3 {
14570
+ grid-template-columns: repeat(3, 1fr);
14571
+ }
14572
+
14573
+ .muka-chat-photo-grid--4 {
14574
+ grid-template-columns: repeat(2, 1fr);
14575
+ }
14576
+
14577
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14578
+ .muka-chat-photo-grid--5 {
14579
+ grid-template-columns: repeat(6, 1fr);
14580
+ }
14581
+
14582
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14583
+ grid-column: span 3;
14584
+ }
14585
+
14586
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14587
+ grid-column: span 2;
14588
+ }
14589
+
14590
+ .muka-chat-photo-grid--6,
14591
+ .muka-chat-photo-grid--overflow {
14592
+ grid-template-columns: repeat(3, 1fr);
14593
+ }
14594
+
14595
+ /* ─── Print ────────────────────────────────────────────── */
14596
+
14597
+ @media print {
14598
+ .muka-chat-photo-grid {
14599
+ break-inside: avoid;
14600
+ }
14601
+
14602
+ .muka-chat-photo-grid__image {
14603
+ print-color-adjust: exact;
14604
+ -webkit-print-color-adjust: exact;
14605
+ }
14606
+ }
14607
+
14608
+
14609
+ /* Checkbox */
14610
+ /* Checkbox Component Styles - Using Muka Design Tokens */
14611
+
14612
+ /* Wrapper - clickable label container */
14613
+ .muka-checkbox {
14614
+ display: inline-flex;
14615
+ align-items: center;
14616
+ gap: var(--spacing-4);
14617
+ cursor: pointer;
14618
+ user-select: none;
14619
+ }
14620
+
14621
+ .muka-checkbox--disabled {
14622
+ cursor: not-allowed;
14623
+ opacity: 0.6;
14624
+ }
14625
+
14626
+ /* Control container */
14627
+ .muka-checkbox__control {
14628
+ position: relative;
14629
+ display: inline-flex;
14630
+ align-items: center;
14631
+ justify-content: center;
14632
+ flex-shrink: 0;
14633
+ }
14634
+
14635
+ /* Hidden native input */
14636
+ .muka-checkbox__input {
14637
+ position: absolute;
14638
+ width: 1px;
14639
+ height: 1px;
14640
+ padding: 0;
14641
+ margin: -1px;
14642
+ overflow: hidden;
14643
+ clip: rect(0, 0, 0, 0);
14644
+ white-space: nowrap;
14645
+ border: 0;
14646
+ }
14647
+
14648
+ /* Visual indicator (square) */
14649
+ .muka-checkbox__indicator {
14650
+ display: flex;
14651
+ align-items: center;
14652
+ justify-content: center;
14653
+ width: var(--checkbox-size-default);
14654
+ height: var(--checkbox-size-default);
14655
+ border-radius: var(--checkbox-radius);
14656
+ background-color: var(--checkbox-color-default-background);
14657
+ border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14658
+ transition: all 0.15s ease;
14659
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14660
+ }
14661
+
14662
+ /* Size variants */
14663
+ .muka-checkbox--sm .muka-checkbox__indicator {
14664
+ width: var(--checkbox-size-sm);
14665
+ height: var(--checkbox-size-sm);
14666
+ }
14667
+
14668
+ .muka-checkbox--lg .muka-checkbox__indicator {
14669
+ width: var(--checkbox-size-lg);
14670
+ height: var(--checkbox-size-lg);
14671
+ }
14672
+
14673
+ /* Icon inside checkbox */
14674
+ .muka-checkbox__icon {
14675
+ width: var(--checkbox-icon-size-default);
14676
+ height: var(--checkbox-icon-size-default);
14677
+ color: var(--checkbox-color-default-icon);
14678
+ opacity: 0;
14679
+ transform: scale(0.8);
14680
+ transition: opacity 0.15s ease, transform 0.15s ease;
14681
+ }
14682
+
14683
+ .muka-checkbox--sm .muka-checkbox__icon {
14684
+ width: var(--checkbox-icon-size-sm);
14685
+ height: var(--checkbox-icon-size-sm);
14686
+ }
14687
+
14688
+ .muka-checkbox--lg .muka-checkbox__icon {
14689
+ width: var(--checkbox-icon-size-lg);
14690
+ height: var(--checkbox-icon-size-lg);
14691
+ }
14692
+
14693
+ /* Hide indeterminate icon by default */
14694
+ .muka-checkbox__icon--indeterminate {
14695
+ position: absolute;
14696
+ }
14697
+
14698
+ /* Hover state - removed per design */
14699
+
14700
+ /* Focus state */
14701
+ .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14702
+ outline: 2px solid var(--color-border-focus);
14703
+ outline-offset: 2px;
14740
14704
  }
14741
14705
 
14742
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14743
- aspect-ratio: 3 / 4;
14706
+ /* Checked state */
14707
+ .muka-checkbox__input:checked + .muka-checkbox__indicator {
14708
+ background-color: var(--checkbox-color-checked-background);
14709
+ border-color: var(--checkbox-color-checked-border);
14710
+ box-shadow: none;
14744
14711
  }
14745
14712
 
14746
- .muka-chat-photo-grid--2 {
14747
- grid-template-columns: repeat(2, 1fr);
14713
+ .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14714
+ color: var(--checkbox-color-checked-icon);
14715
+ opacity: 1;
14716
+ transform: scale(1);
14748
14717
  }
14749
14718
 
14750
- .muka-chat-photo-grid--3 {
14751
- grid-template-columns: repeat(3, 1fr);
14719
+ /* Indeterminate state */
14720
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14721
+ background-color: var(--checkbox-color-checked-background);
14722
+ border-color: var(--checkbox-color-checked-border);
14723
+ box-shadow: none;
14752
14724
  }
14753
14725
 
14754
- .muka-chat-photo-grid--4 {
14755
- grid-template-columns: repeat(2, 1fr);
14726
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14727
+ opacity: 0;
14756
14728
  }
14757
14729
 
14758
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14759
- .muka-chat-photo-grid--5 {
14760
- grid-template-columns: repeat(6, 1fr);
14730
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14731
+ color: var(--checkbox-color-checked-icon);
14732
+ opacity: 1;
14733
+ transform: scale(1);
14761
14734
  }
14762
14735
 
14763
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14764
- grid-column: span 3;
14736
+ /* Disabled state */
14737
+ .muka-checkbox--disabled .muka-checkbox__indicator {
14738
+ background-color: var(--checkbox-color-disabled-background);
14739
+ border-color: var(--checkbox-color-disabled-border);
14740
+ box-shadow: none;
14765
14741
  }
14766
14742
 
14767
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14768
- grid-column: span 2;
14743
+ .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14744
+ .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14745
+ color: var(--checkbox-color-disabled-icon);
14769
14746
  }
14770
14747
 
14771
- .muka-chat-photo-grid--6,
14772
- .muka-chat-photo-grid--overflow {
14773
- grid-template-columns: repeat(3, 1fr);
14748
+ /* Label text */
14749
+ .muka-checkbox__label {
14750
+ font-family: var(--text-label-lg-regular-fontFamily);
14751
+ font-weight: var(--text-label-lg-regular-fontWeight);
14752
+ font-size: var(--text-label-lg-regular-fontSize);
14753
+ line-height: var(--text-label-lg-regular-lineHeight);
14754
+ color: var(--color-text-default-default);
14774
14755
  }
14775
14756
 
14776
- /* ─── Print ────────────────────────────────────────────── */
14757
+ .muka-checkbox--sm .muka-checkbox__label {
14758
+ font-family: var(--text-label-md-regular-fontFamily);
14759
+ font-weight: var(--text-label-md-regular-fontWeight);
14760
+ font-size: var(--text-label-md-regular-fontSize);
14761
+ line-height: var(--text-label-md-regular-lineHeight);
14762
+ }
14777
14763
 
14778
- @media print {
14779
- .muka-chat-photo-grid {
14780
- break-inside: avoid;
14781
- }
14764
+ .muka-checkbox--lg .muka-checkbox__label {
14765
+ font-family: var(--text-label-xl-regular-fontFamily);
14766
+ font-weight: var(--text-label-xl-regular-fontWeight);
14767
+ font-size: var(--text-label-xl-regular-fontSize);
14768
+ line-height: var(--text-label-xl-regular-lineHeight);
14769
+ }
14782
14770
 
14783
- .muka-chat-photo-grid__image {
14784
- print-color-adjust: exact;
14785
- -webkit-print-color-adjust: exact;
14786
- }
14771
+ .muka-checkbox--disabled .muka-checkbox__label {
14772
+ color: var(--color-text-subtle-default);
14787
14773
  }
14788
14774
 
14789
14775
 
@@ -15248,58 +15234,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15248
15234
  }
15249
15235
 
15250
15236
 
15251
- /* ChatEvent */
15252
- /* ChatEvent: a line in a chat that isn't a message from a person */
15253
-
15254
- .muka-chat-event {
15255
- display: flex;
15256
- flex-direction: column;
15257
- align-items: center;
15258
- gap: var(--spacing-2);
15259
- width: 100%;
15260
- padding: 0 var(--spacing-4);
15261
- box-sizing: border-box;
15262
- text-align: center;
15263
- }
15264
-
15265
- .muka-chat-event__text {
15266
- margin: 0;
15267
- max-width: var(--chatbubble-max-width);
15268
- /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15269
- and this is body text. Size and centring set it apart from messages. */
15270
- color: var(--color-text-default-default);
15271
- font-family: var(--text-body-sm-regular-fontFamily);
15272
- font-weight: var(--text-body-sm-regular-fontWeight);
15273
- font-size: var(--text-body-sm-regular-fontSize);
15274
- line-height: var(--text-body-sm-regular-lineHeight);
15275
- }
15276
-
15277
- .muka-chat-event__timestamp {
15278
- white-space: nowrap;
15279
- }
15280
-
15281
- .muka-chat-event__media {
15282
- display: flex;
15283
- flex-wrap: wrap;
15284
- justify-content: center;
15285
- gap: var(--spacing-2);
15286
- }
15287
-
15288
- /* Day divider: a small pill */
15289
- .muka-chat-event__pill {
15290
- display: inline-flex;
15291
- align-items: center;
15292
- padding: var(--spacing-1) var(--spacing-3);
15293
- border-radius: var(--radius-full);
15294
- background-color: var(--color-surface-level2);
15295
- color: var(--color-text-default-default);
15296
- font-family: var(--text-label-sm-regular-fontFamily);
15297
- font-weight: var(--text-label-sm-regular-fontWeight);
15298
- font-size: var(--text-label-sm-regular-fontSize);
15299
- line-height: var(--text-label-sm-leading);
15300
- }
15301
-
15302
-
15303
15237
  /* ChatComposer */
15304
15238
  /* ChatComposer Component Styles */
15305
15239
 
@@ -15615,159 +15549,91 @@ button.muka-chat-photo-grid__tile:focus-visible {
15615
15549
  }
15616
15550
 
15617
15551
 
15618
- /* ChatAttachmentChip */
15619
- /* ChatAttachmentChip Component Styles */
15620
-
15621
- .muka-chat-attachment-chip {
15622
- position: relative;
15623
- display: inline-flex;
15624
- align-items: center;
15625
- gap: var(--spacing-1);
15626
- max-width: 240px;
15627
- padding: var(--spacing-2) var(--spacing-3);
15628
- background-color: var(--color-surface-level1);
15629
- border: var(--border-width-regular) solid var(--color-border-default);
15630
- border-radius: var(--radius-md);
15631
- overflow: hidden;
15632
- }
15633
-
15634
- .muka-chat-attachment-chip--uploading {
15635
- padding-bottom: calc(var(--spacing-2) + 2px);
15636
- }
15637
-
15638
- .muka-chat-attachment-chip--error {
15639
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15640
- }
15641
-
15642
- .muka-chat-attachment-chip--disabled {
15643
- opacity: 0.5;
15644
- pointer-events: none;
15552
+ /* ChatChoiceCard */
15553
+ /* ChatChoiceCard — compact option rows (experimental) */
15554
+ .muka-chat-choice__list {
15555
+ display: flex;
15556
+ flex-direction: column;
15557
+ gap: var(--spacing-2);
15645
15558
  }
15646
15559
 
15647
- /* ─── Body (icon + text) ───────────────────────────────── */
15648
-
15649
- .muka-chat-attachment-chip__body {
15650
- display: inline-flex;
15560
+ .muka-chat-choice__row {
15561
+ display: flex;
15651
15562
  align-items: center;
15652
- gap: var(--spacing-2);
15563
+ min-height: var(--spacing-8);
15653
15564
  min-width: 0;
15654
- flex: 1 1 auto;
15655
- background: none;
15656
- border: none;
15657
- padding: 0;
15658
- margin: 0;
15659
- text-align: left;
15660
- color: inherit;
15661
- font: inherit;
15662
- cursor: default;
15663
- -webkit-tap-highlight-color: transparent;
15664
15565
  }
15665
15566
 
15666
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15667
- cursor: pointer;
15567
+ .muka-chat-choice__row--other {
15568
+ gap: var(--spacing-2);
15668
15569
  }
15669
15570
 
15670
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15671
- outline: 2px solid var(--color-action-default);
15672
- outline-offset: 2px;
15673
- border-radius: var(--radius-sm);
15571
+ /* The free-text option: the control, then the field filling the row. */
15572
+ .muka-chat-choice__row--other {
15573
+ flex-wrap: nowrap;
15674
15574
  }
15675
15575
 
15676
- .muka-chat-attachment-chip__icon {
15677
- display: inline-flex;
15678
- align-items: center;
15679
- justify-content: center;
15680
- flex-shrink: 0;
15681
- color: var(--color-text-subtle-default);
15576
+ .muka-chat-choice__row--other > .muka-radio,
15577
+ .muka-chat-choice__row--other > .muka-checkbox {
15578
+ flex: 0 0 auto;
15682
15579
  }
15683
15580
 
15684
- .muka-chat-attachment-chip__text {
15685
- display: flex;
15686
- flex-direction: column;
15687
- min-width: 0;
15581
+ .muka-chat-choice__row--other > .muka-input {
15688
15582
  flex: 1 1 auto;
15583
+ width: auto;
15584
+ min-width: 0;
15689
15585
  }
15690
15586
 
15691
- .muka-chat-attachment-chip__name {
15692
- color: var(--color-text-default-default);
15693
- font-family: var(--text-body-sm-regular-fontFamily);
15694
- font-weight: var(--text-body-sm-regular-fontWeight);
15695
- font-size: var(--text-body-sm-regular-fontSize);
15696
- line-height: var(--text-body-sm-regular-lineHeight);
15697
- white-space: nowrap;
15698
- overflow: hidden;
15699
- text-overflow: ellipsis;
15700
- }
15701
-
15702
- .muka-chat-attachment-chip__meta {
15703
- color: var(--color-text-subtle-default);
15704
- font-family: var(--text-body-sm-regular-fontFamily);
15705
- font-weight: var(--text-body-sm-regular-fontWeight);
15706
- font-size: var(--text-body-sm-regular-fontSize);
15707
- line-height: var(--text-body-sm-regular-lineHeight);
15708
- white-space: nowrap;
15709
- overflow: hidden;
15710
- text-overflow: ellipsis;
15711
- }
15712
-
15713
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15714
- color: var(--color-state-error-default, var(--color-text-default-default));
15715
- }
15716
15587
 
15717
- /* ─── Remove button ────────────────────────────────────── */
15588
+ /* ChatEvent */
15589
+ /* ChatEvent: a line in a chat that isn't a message from a person */
15718
15590
 
15719
- .muka-chat-attachment-chip__remove {
15720
- display: inline-flex;
15721
- align-items: center;
15722
- justify-content: center;
15723
- width: 20px;
15724
- height: 20px;
15725
- border: none;
15726
- background: none;
15727
- padding: 0;
15728
- border-radius: var(--radius-sm);
15729
- cursor: pointer;
15730
- color: var(--color-text-subtle-default);
15731
- flex-shrink: 0;
15732
- -webkit-tap-highlight-color: transparent;
15591
+ .muka-chat-event {
15592
+ display: flex;
15593
+ flex-direction: column;
15594
+ align-items: center;
15595
+ gap: var(--spacing-2);
15596
+ width: 100%;
15597
+ padding: 0 var(--spacing-4);
15598
+ box-sizing: border-box;
15599
+ text-align: center;
15733
15600
  }
15734
15601
 
15735
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15602
+ .muka-chat-event__text {
15603
+ margin: 0;
15604
+ max-width: var(--chatbubble-max-width);
15605
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15606
+ and this is body text. Size and centring set it apart from messages. */
15736
15607
  color: var(--color-text-default-default);
15737
- background-color: var(--color-surface-level2);
15608
+ font-family: var(--text-body-sm-regular-fontFamily);
15609
+ font-weight: var(--text-body-sm-regular-fontWeight);
15610
+ font-size: var(--text-body-sm-regular-fontSize);
15611
+ line-height: var(--text-body-sm-regular-lineHeight);
15738
15612
  }
15739
15613
 
15740
- .muka-chat-attachment-chip__remove:focus-visible {
15741
- outline: 2px solid var(--color-action-default);
15742
- outline-offset: 2px;
15614
+ .muka-chat-event__timestamp {
15615
+ white-space: nowrap;
15743
15616
  }
15744
15617
 
15745
- .muka-chat-attachment-chip__remove:disabled {
15746
- cursor: not-allowed;
15747
- opacity: 0.5;
15618
+ .muka-chat-event__media {
15619
+ display: flex;
15620
+ flex-wrap: wrap;
15621
+ justify-content: center;
15622
+ gap: var(--spacing-2);
15748
15623
  }
15749
15624
 
15750
- /* ─── Progress bar ─────────────────────────────────────── */
15751
-
15752
- .muka-chat-attachment-chip__progress {
15753
- position: absolute;
15754
- left: 0;
15755
- right: 0;
15756
- bottom: 0;
15757
- height: 2px;
15625
+ /* Day divider: a small pill */
15626
+ .muka-chat-event__pill {
15627
+ display: inline-flex;
15628
+ align-items: center;
15629
+ padding: var(--spacing-1) var(--spacing-3);
15630
+ border-radius: var(--radius-full);
15758
15631
  background-color: var(--color-surface-level2);
15759
- overflow: hidden;
15760
- }
15761
-
15762
- .muka-chat-attachment-chip__progress-fill {
15763
- display: block;
15764
- height: 100%;
15765
- background-color: var(--color-action-default);
15766
- transition: width 0.16s ease;
15767
- }
15768
-
15769
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15770
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15632
+ color: var(--color-text-default-default);
15633
+ font-family: var(--text-label-sm-regular-fontFamily);
15634
+ font-weight: var(--text-label-sm-regular-fontWeight);
15635
+ font-size: var(--text-label-sm-regular-fontSize);
15636
+ line-height: var(--text-label-sm-leading);
15771
15637
  }
15772
15638
 
15773
15639
 
@@ -17994,6 +17860,162 @@ button.muka-chat-photo-grid__tile:focus-visible {
17994
17860
  }
17995
17861
 
17996
17862
 
17863
+ /* ChatAttachmentChip */
17864
+ /* ChatAttachmentChip Component Styles */
17865
+
17866
+ .muka-chat-attachment-chip {
17867
+ position: relative;
17868
+ display: inline-flex;
17869
+ align-items: center;
17870
+ gap: var(--spacing-1);
17871
+ max-width: 240px;
17872
+ padding: var(--spacing-2) var(--spacing-3);
17873
+ background-color: var(--color-surface-level1);
17874
+ border: var(--border-width-regular) solid var(--color-border-default);
17875
+ border-radius: var(--radius-md);
17876
+ overflow: hidden;
17877
+ }
17878
+
17879
+ .muka-chat-attachment-chip--uploading {
17880
+ padding-bottom: calc(var(--spacing-2) + 2px);
17881
+ }
17882
+
17883
+ .muka-chat-attachment-chip--error {
17884
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
17885
+ }
17886
+
17887
+ .muka-chat-attachment-chip--disabled {
17888
+ opacity: 0.5;
17889
+ pointer-events: none;
17890
+ }
17891
+
17892
+ /* ─── Body (icon + text) ───────────────────────────────── */
17893
+
17894
+ .muka-chat-attachment-chip__body {
17895
+ display: inline-flex;
17896
+ align-items: center;
17897
+ gap: var(--spacing-2);
17898
+ min-width: 0;
17899
+ flex: 1 1 auto;
17900
+ background: none;
17901
+ border: none;
17902
+ padding: 0;
17903
+ margin: 0;
17904
+ text-align: left;
17905
+ color: inherit;
17906
+ font: inherit;
17907
+ cursor: default;
17908
+ -webkit-tap-highlight-color: transparent;
17909
+ }
17910
+
17911
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
17912
+ cursor: pointer;
17913
+ }
17914
+
17915
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
17916
+ outline: 2px solid var(--color-action-default);
17917
+ outline-offset: 2px;
17918
+ border-radius: var(--radius-sm);
17919
+ }
17920
+
17921
+ .muka-chat-attachment-chip__icon {
17922
+ display: inline-flex;
17923
+ align-items: center;
17924
+ justify-content: center;
17925
+ flex-shrink: 0;
17926
+ color: var(--color-text-subtle-default);
17927
+ }
17928
+
17929
+ .muka-chat-attachment-chip__text {
17930
+ display: flex;
17931
+ flex-direction: column;
17932
+ min-width: 0;
17933
+ flex: 1 1 auto;
17934
+ }
17935
+
17936
+ .muka-chat-attachment-chip__name {
17937
+ color: var(--color-text-default-default);
17938
+ font-family: var(--text-body-sm-regular-fontFamily);
17939
+ font-weight: var(--text-body-sm-regular-fontWeight);
17940
+ font-size: var(--text-body-sm-regular-fontSize);
17941
+ line-height: var(--text-body-sm-regular-lineHeight);
17942
+ white-space: nowrap;
17943
+ overflow: hidden;
17944
+ text-overflow: ellipsis;
17945
+ }
17946
+
17947
+ .muka-chat-attachment-chip__meta {
17948
+ color: var(--color-text-subtle-default);
17949
+ font-family: var(--text-body-sm-regular-fontFamily);
17950
+ font-weight: var(--text-body-sm-regular-fontWeight);
17951
+ font-size: var(--text-body-sm-regular-fontSize);
17952
+ line-height: var(--text-body-sm-regular-lineHeight);
17953
+ white-space: nowrap;
17954
+ overflow: hidden;
17955
+ text-overflow: ellipsis;
17956
+ }
17957
+
17958
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
17959
+ color: var(--color-state-error-default, var(--color-text-default-default));
17960
+ }
17961
+
17962
+ /* ─── Remove button ────────────────────────────────────── */
17963
+
17964
+ .muka-chat-attachment-chip__remove {
17965
+ display: inline-flex;
17966
+ align-items: center;
17967
+ justify-content: center;
17968
+ width: 20px;
17969
+ height: 20px;
17970
+ border: none;
17971
+ background: none;
17972
+ padding: 0;
17973
+ border-radius: var(--radius-sm);
17974
+ cursor: pointer;
17975
+ color: var(--color-text-subtle-default);
17976
+ flex-shrink: 0;
17977
+ -webkit-tap-highlight-color: transparent;
17978
+ }
17979
+
17980
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
17981
+ color: var(--color-text-default-default);
17982
+ background-color: var(--color-surface-level2);
17983
+ }
17984
+
17985
+ .muka-chat-attachment-chip__remove:focus-visible {
17986
+ outline: 2px solid var(--color-action-default);
17987
+ outline-offset: 2px;
17988
+ }
17989
+
17990
+ .muka-chat-attachment-chip__remove:disabled {
17991
+ cursor: not-allowed;
17992
+ opacity: 0.5;
17993
+ }
17994
+
17995
+ /* ─── Progress bar ─────────────────────────────────────── */
17996
+
17997
+ .muka-chat-attachment-chip__progress {
17998
+ position: absolute;
17999
+ left: 0;
18000
+ right: 0;
18001
+ bottom: 0;
18002
+ height: 2px;
18003
+ background-color: var(--color-surface-level2);
18004
+ overflow: hidden;
18005
+ }
18006
+
18007
+ .muka-chat-attachment-chip__progress-fill {
18008
+ display: block;
18009
+ height: 100%;
18010
+ background-color: var(--color-action-default);
18011
+ transition: width 0.16s ease;
18012
+ }
18013
+
18014
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
18015
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
18016
+ }
18017
+
18018
+
17997
18019
  /* ActionSheet */
17998
18020
  /* ActionSheet Component Styles */
17999
18021
 
@@ -18266,39 +18288,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
18266
18288
  border-bottom: none;
18267
18289
  }
18268
18290
 
18269
-
18270
- /* ChatChoiceCard */
18271
- /* ChatChoiceCard — compact option rows (experimental) */
18272
- .muka-chat-choice__list {
18273
- display: flex;
18274
- flex-direction: column;
18275
- gap: var(--spacing-2);
18276
- }
18277
-
18278
- .muka-chat-choice__row {
18279
- display: flex;
18280
- align-items: center;
18281
- min-height: var(--spacing-8);
18282
- min-width: 0;
18283
- }
18284
-
18285
- .muka-chat-choice__row--other {
18286
- gap: var(--spacing-2);
18287
- }
18288
-
18289
- /* The free-text option: the control, then the field filling the row. */
18290
- .muka-chat-choice__row--other {
18291
- flex-wrap: nowrap;
18292
- }
18293
-
18294
- .muka-chat-choice__row--other > .muka-radio,
18295
- .muka-chat-choice__row--other > .muka-checkbox {
18296
- flex: 0 0 auto;
18297
- }
18298
-
18299
- .muka-chat-choice__row--other > .muka-input {
18300
- flex: 1 1 auto;
18301
- width: auto;
18302
- min-width: 0;
18303
- }
18304
-