@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.
@@ -2739,6 +2739,14 @@ body {
2739
2739
  padding: var(--spacing-4);
2740
2740
  }
2741
2741
 
2742
+ /* Every View carries its own view-transition-name (see View.tsx), with this
2743
+ class, so a View React didn't mark as leaving is still its own layer. A View
2744
+ that stays (old and new image) doesn't move; one that leaves has only an old
2745
+ image (:only-child) and gets the exit motion below. */
2746
+ .muka-view {
2747
+ view-transition-class: muka-view-exit;
2748
+ }
2749
+
2742
2750
  /* ─── Navigation motion (push / pop) ──────────────────────
2743
2751
  React wraps each View in <ViewTransition enter="muka-view-enter"
2744
2752
  exit="muka-view-exit">; viewNavigation.ts writes the direction to
@@ -2751,6 +2759,7 @@ body {
2751
2759
 
2752
2760
  /* No direction, or the large tier: swap without the browser's default crossfade. */
2753
2761
  ::view-transition-old(.muka-view-exit),
2762
+ ::view-transition-new(.muka-view-exit),
2754
2763
  ::view-transition-new(.muka-view-enter) {
2755
2764
  animation: none;
2756
2765
  }
@@ -2775,11 +2784,11 @@ body {
2775
2784
  animation: muka-view-from-right var(--motion-duration-view) var(--motion-easing-enter) both;
2776
2785
  }
2777
2786
 
2778
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
2787
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child {
2779
2788
  animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2780
2789
  }
2781
2790
 
2782
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2791
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2783
2792
  animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2784
2793
  }
2785
2794
 
@@ -2787,34 +2796,11 @@ body {
2787
2796
  animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2788
2797
  }
2789
2798
 
2790
- /* The leaving View without an exit of its own (React drops it for a View
2791
- that first appeared through a Suspense reveal) is in the root snapshot:
2792
- move that instead, and hide the new root, which is only the page behind
2793
- the entering View. On a pop the old root goes above the entering View. */
2794
- :root[data-muka-nav][data-muka-nav-root]::view-transition-new(root) {
2795
- animation: none;
2796
- opacity: 0;
2797
- }
2798
-
2799
- :root[data-muka-nav='push'][data-muka-nav-root]::view-transition-old(root) {
2800
- animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2801
- }
2802
-
2803
- :root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-group(root) {
2804
- z-index: 2;
2805
- }
2806
-
2807
- :root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-old(root) {
2808
- animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2809
- }
2810
-
2811
2799
  }
2812
2800
 
2813
2801
  /* Large tier: the same direction, quietly. The sidebar and app bar stay put,
2814
2802
  so only a short fade with a 16px shift says deeper or back: the new View
2815
- fades in from the side it comes from, the old one fades out the other way.
2816
- A leaving View without an exit of its own (see above) just goes; moving the
2817
- root snapshot here would move the sidebar with it. */
2803
+ fades in from the side it comes from, the old one fades out the other way. */
2818
2804
  @media (min-width: 1024px) {
2819
2805
  :root[data-muka-nav]::view-transition {
2820
2806
  pointer-events: none;
@@ -2825,18 +2811,18 @@ body {
2825
2811
  animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
2826
2812
  }
2827
2813
 
2828
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit),
2829
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2814
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child,
2815
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2830
2816
  animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
2831
2817
  }
2832
2818
 
2833
2819
  :root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
2834
- :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
2820
+ :root[data-muka-nav='pop']::view-transition-old(.muka-view-exit):only-child {
2835
2821
  --muka-view-shift: var(--spacing-4);
2836
2822
  }
2837
2823
 
2838
2824
  :root[data-muka-nav='pop']::view-transition-new(.muka-view-enter),
2839
- :root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
2825
+ :root[data-muka-nav='push']::view-transition-old(.muka-view-exit):only-child {
2840
2826
  --muka-view-shift: calc(-1 * var(--spacing-4));
2841
2827
  }
2842
2828
  }
@@ -6062,6 +6048,88 @@ body {
6062
6048
  }
6063
6049
 
6064
6050
 
6051
+ /* Sheet */
6052
+ /* Sheet Component Styles */
6053
+
6054
+ /* ─── Backdrop ────────────────────────────────────────── */
6055
+
6056
+ .muka-sheet__overlay {
6057
+ position: fixed;
6058
+ inset: 0;
6059
+ background-color: var(--color-surface-backdrop);
6060
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6061
+ backdrop-filter: blur(var(--effect-blur-backdrop));
6062
+ z-index: 50;
6063
+ }
6064
+
6065
+ /* ─── Surface ─────────────────────────────────────────── */
6066
+
6067
+ .muka-sheet {
6068
+ position: fixed;
6069
+ left: 0;
6070
+ right: 0;
6071
+ bottom: 0;
6072
+ z-index: 51;
6073
+
6074
+ display: flex;
6075
+ flex-direction: column;
6076
+
6077
+ max-height: 96dvh;
6078
+
6079
+ background-color: var(--color-surface-level3);
6080
+ border-top-left-radius: var(--radius-lg);
6081
+ border-top-right-radius: var(--radius-lg);
6082
+ box-shadow: var(--shadow-level5);
6083
+
6084
+ outline: none;
6085
+ }
6086
+
6087
+ /* Safe-area bottom inset for the iPhone home indicator. */
6088
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
6089
+ padding-bottom: env(safe-area-inset-bottom);
6090
+ }
6091
+
6092
+ /* ─── Drag handle ─────────────────────────────────────── */
6093
+
6094
+ .muka-sheet__handle-container {
6095
+ display: flex;
6096
+ justify-content: center;
6097
+ flex-shrink: 0;
6098
+ padding: var(--spacing-3) 0;
6099
+ }
6100
+
6101
+ .muka-sheet__handle {
6102
+ width: var(--dialog-drag-handle-width);
6103
+ height: var(--dialog-drag-handle-height);
6104
+ background-color: var(--dialog-drag-handle-color);
6105
+ border-radius: var(--dialog-drag-handle-radius);
6106
+ }
6107
+
6108
+ /* ─── Body (scrollable) ───────────────────────────────── */
6109
+
6110
+ .muka-sheet__body {
6111
+ flex: 1 1 0%;
6112
+ min-height: 0;
6113
+ overflow-y: auto;
6114
+ -webkit-overflow-scrolling: touch;
6115
+ overscroll-behavior: contain;
6116
+ }
6117
+
6118
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
6119
+
6120
+ .muka-sheet__sr-title {
6121
+ position: absolute;
6122
+ width: 1px;
6123
+ height: 1px;
6124
+ padding: 0;
6125
+ margin: -1px;
6126
+ overflow: hidden;
6127
+ clip: rect(0, 0, 0, 0);
6128
+ white-space: nowrap;
6129
+ border: 0;
6130
+ }
6131
+
6132
+
6065
6133
  /* Select */
6066
6134
  /* Select Component Styles - Aligned with Input for consistency */
6067
6135
 
@@ -6444,88 +6512,6 @@ body {
6444
6512
  }
6445
6513
 
6446
6514
 
6447
- /* Sheet */
6448
- /* Sheet Component Styles */
6449
-
6450
- /* ─── Backdrop ────────────────────────────────────────── */
6451
-
6452
- .muka-sheet__overlay {
6453
- position: fixed;
6454
- inset: 0;
6455
- background-color: var(--color-surface-backdrop);
6456
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6457
- backdrop-filter: blur(var(--effect-blur-backdrop));
6458
- z-index: 50;
6459
- }
6460
-
6461
- /* ─── Surface ─────────────────────────────────────────── */
6462
-
6463
- .muka-sheet {
6464
- position: fixed;
6465
- left: 0;
6466
- right: 0;
6467
- bottom: 0;
6468
- z-index: 51;
6469
-
6470
- display: flex;
6471
- flex-direction: column;
6472
-
6473
- max-height: 96dvh;
6474
-
6475
- background-color: var(--color-surface-level3);
6476
- border-top-left-radius: var(--radius-lg);
6477
- border-top-right-radius: var(--radius-lg);
6478
- box-shadow: var(--shadow-level5);
6479
-
6480
- outline: none;
6481
- }
6482
-
6483
- /* Safe-area bottom inset for the iPhone home indicator. */
6484
- .muka-sheet:not(.muka-sheet--no-safe-area) {
6485
- padding-bottom: env(safe-area-inset-bottom);
6486
- }
6487
-
6488
- /* ─── Drag handle ─────────────────────────────────────── */
6489
-
6490
- .muka-sheet__handle-container {
6491
- display: flex;
6492
- justify-content: center;
6493
- flex-shrink: 0;
6494
- padding: var(--spacing-3) 0;
6495
- }
6496
-
6497
- .muka-sheet__handle {
6498
- width: var(--dialog-drag-handle-width);
6499
- height: var(--dialog-drag-handle-height);
6500
- background-color: var(--dialog-drag-handle-color);
6501
- border-radius: var(--dialog-drag-handle-radius);
6502
- }
6503
-
6504
- /* ─── Body (scrollable) ───────────────────────────────── */
6505
-
6506
- .muka-sheet__body {
6507
- flex: 1 1 0%;
6508
- min-height: 0;
6509
- overflow-y: auto;
6510
- -webkit-overflow-scrolling: touch;
6511
- overscroll-behavior: contain;
6512
- }
6513
-
6514
- /* ─── Visually-hidden title (a11y) ────────────────────── */
6515
-
6516
- .muka-sheet__sr-title {
6517
- position: absolute;
6518
- width: 1px;
6519
- height: 1px;
6520
- padding: 0;
6521
- margin: -1px;
6522
- overflow: hidden;
6523
- clip: rect(0, 0, 0, 0);
6524
- white-space: nowrap;
6525
- border: 0;
6526
- }
6527
-
6528
-
6529
6515
  /* Section */
6530
6516
  /* Section Component - Layout tokens (section.padding) */
6531
6517
 
@@ -7111,200 +7097,57 @@ body {
7111
7097
  }
7112
7098
 
7113
7099
 
7114
- /* RadioTile */
7115
- /* RadioTile Component Styles - Using Muka Design Tokens */
7100
+ /* Radio */
7101
+ /* Radio Component Styles - Using Muka Design Tokens */
7116
7102
 
7117
- /* Base tile styles - horizontal */
7118
- .muka-radio-tile {
7119
- display: flex;
7103
+ /* Wrapper - clickable label container */
7104
+ .muka-radio {
7105
+ display: inline-flex;
7120
7106
  align-items: center;
7121
7107
  gap: var(--spacing-4);
7122
- padding: var(--spacing-4);
7123
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7124
- border-radius: var(--input-field-radius-lg);
7125
- background-color: var(--color-surface-level3);
7126
7108
  cursor: pointer;
7127
- transition: border-color 0.15s ease, border-width 0.15s ease;
7128
- overflow: hidden;
7129
- box-sizing: border-box;
7109
+ user-select: none;
7130
7110
  }
7131
7111
 
7132
- .muka-radio-tile--disabled {
7112
+ .muka-radio--disabled {
7133
7113
  cursor: not-allowed;
7134
7114
  opacity: 0.6;
7135
7115
  }
7136
7116
 
7137
- /* Selected state */
7138
- .muka-radio-tile[data-checked] {
7139
- border-width: var(--border-width-bold);
7140
- border-color: var(--color-action-default);
7141
- }
7142
-
7143
- /* Vertical layout */
7144
- .muka-radio-tile--vertical {
7145
- flex-direction: column;
7146
- align-items: center;
7147
- gap: var(--spacing-2);
7117
+ /* Control container */
7118
+ .muka-radio__control {
7148
7119
  position: relative;
7149
- width: 160px;
7150
- }
7151
-
7152
- /* Radio container */
7153
- .muka-radio-tile__radio {
7120
+ display: inline-flex;
7121
+ align-items: center;
7122
+ justify-content: center;
7154
7123
  flex-shrink: 0;
7155
7124
  }
7156
7125
 
7157
- /* Corner-positioned radio for vertical */
7158
- .muka-radio-tile__radio--corner {
7126
+ /* Hidden native input */
7127
+ .muka-radio__input {
7159
7128
  position: absolute;
7160
- top: var(--spacing-4);
7161
- left: var(--spacing-4);
7162
- }
7163
-
7164
- /* Adjust corner position when selected (border is thicker) */
7165
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7166
- top: calc(var(--spacing-4) - 1px);
7167
- left: calc(var(--spacing-4) - 1px);
7129
+ width: 1px;
7130
+ height: 1px;
7131
+ padding: 0;
7132
+ margin: -1px;
7133
+ overflow: hidden;
7134
+ clip: rect(0, 0, 0, 0);
7135
+ white-space: nowrap;
7136
+ border: 0;
7168
7137
  }
7169
7138
 
7170
- /* Icon */
7171
- .muka-radio-tile__icon {
7139
+ /* Visual indicator (circle) */
7140
+ .muka-radio__indicator {
7172
7141
  display: flex;
7173
7142
  align-items: center;
7174
7143
  justify-content: center;
7175
- flex-shrink: 0;
7176
- width: var(--icon-size-default);
7177
- height: var(--icon-size-default);
7178
- color: var(--color-text-default-default);
7179
- }
7180
-
7181
- .muka-radio-tile__icon svg {
7182
- width: 100%;
7183
- height: 100%;
7184
- }
7185
-
7186
- /* Image */
7187
- .muka-radio-tile__image {
7188
- flex-shrink: 0;
7189
- overflow: hidden;
7190
- border-radius: var(--border-radius-sm);
7191
- }
7192
-
7193
- .muka-radio-tile__image img {
7194
- display: block;
7195
- width: 100%;
7196
- height: 100%;
7197
- object-fit: cover;
7198
- }
7199
-
7200
- /* Horizontal image sizing */
7201
- .muka-radio-tile__image--horizontal {
7202
- width: 40px;
7203
- height: 40px;
7204
- }
7205
-
7206
- /* Vertical image sizing */
7207
- .muka-radio-tile--vertical .muka-radio-tile__image {
7208
- width: 100%;
7209
- aspect-ratio: 4/3;
7210
- }
7211
-
7212
- /* Content container */
7213
- .muka-radio-tile__content {
7214
- display: flex;
7215
- flex-direction: column;
7216
- flex: 1;
7217
- min-width: 0;
7218
- gap: var(--spacing-1);
7219
- }
7220
-
7221
- /* Label */
7222
- .muka-radio-tile__label {
7223
- font-family: var(--text-body-lg-regular-fontFamily);
7224
- font-weight: var(--text-body-lg-regular-fontWeight);
7225
- font-size: var(--text-body-lg-regular-fontSize);
7226
- line-height: var(--text-body-lg-regular-lineHeight);
7227
- color: var(--color-text-default-default);
7228
- }
7229
-
7230
- .muka-radio-tile__label--bold {
7231
- font-family: var(--text-label-lg-semibold-fontFamily);
7232
- font-weight: var(--text-label-lg-semibold-fontWeight);
7233
- font-size: var(--text-label-lg-semibold-fontSize);
7234
- line-height: var(--text-label-lg-semibold-lineHeight);
7235
- }
7236
-
7237
- .muka-radio-tile__label--center {
7238
- text-align: center;
7239
- }
7240
-
7241
- /* Caption */
7242
- .muka-radio-tile__caption {
7243
- font-family: var(--text-body-base-regular-fontFamily);
7244
- font-weight: var(--text-body-base-regular-fontWeight);
7245
- font-size: var(--text-body-base-regular-fontSize);
7246
- line-height: var(--text-body-base-regular-lineHeight);
7247
- color: var(--color-text-subtle-default);
7248
- }
7249
-
7250
- /* Disabled states */
7251
- .muka-radio-tile--disabled .muka-radio-tile__label,
7252
- .muka-radio-tile--disabled .muka-radio-tile__icon {
7253
- color: var(--color-text-subtle-default);
7254
- }
7255
-
7256
-
7257
- /* Radio */
7258
- /* Radio Component Styles - Using Muka Design Tokens */
7259
-
7260
- /* Wrapper - clickable label container */
7261
- .muka-radio {
7262
- display: inline-flex;
7263
- align-items: center;
7264
- gap: var(--spacing-4);
7265
- cursor: pointer;
7266
- user-select: none;
7267
- }
7268
-
7269
- .muka-radio--disabled {
7270
- cursor: not-allowed;
7271
- opacity: 0.6;
7272
- }
7273
-
7274
- /* Control container */
7275
- .muka-radio__control {
7276
- position: relative;
7277
- display: inline-flex;
7278
- align-items: center;
7279
- justify-content: center;
7280
- flex-shrink: 0;
7281
- }
7282
-
7283
- /* Hidden native input */
7284
- .muka-radio__input {
7285
- position: absolute;
7286
- width: 1px;
7287
- height: 1px;
7288
- padding: 0;
7289
- margin: -1px;
7290
- overflow: hidden;
7291
- clip: rect(0, 0, 0, 0);
7292
- white-space: nowrap;
7293
- border: 0;
7294
- }
7295
-
7296
- /* Visual indicator (circle) */
7297
- .muka-radio__indicator {
7298
- display: flex;
7299
- align-items: center;
7300
- justify-content: center;
7301
- width: var(--radio-size-default);
7302
- height: var(--radio-size-default);
7303
- border-radius: var(--border-radius-full);
7304
- background-color: var(--radio-color-default-background);
7305
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7306
- transition: all 0.15s ease;
7307
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7144
+ width: var(--radio-size-default);
7145
+ height: var(--radio-size-default);
7146
+ border-radius: var(--border-radius-full);
7147
+ background-color: var(--radio-color-default-background);
7148
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7149
+ transition: all 0.15s ease;
7150
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7308
7151
  }
7309
7152
 
7310
7153
  /* Size variants */
@@ -8009,104 +7852,247 @@ button.muka-progress-tracker__tab:focus-visible {
8009
7852
  }
8010
7853
 
8011
7854
 
8012
- /* ProgressAccordeon */
8013
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7855
+ /* RadioTile */
7856
+ /* RadioTile Component Styles - Using Muka Design Tokens */
8014
7857
 
8015
- /* ─── Root ──────────────────────────────────────────────── */
8016
- .muka-progress-accordeon {
8017
- container-type: inline-size;
7858
+ /* Base tile styles - horizontal */
7859
+ .muka-radio-tile {
8018
7860
  display: flex;
8019
- flex-direction: column;
8020
- align-items: stretch;
8021
- width: 100%;
8022
- /* Top padding provides the vertical rhythm between stacked steps */
8023
- padding-top: var(--spacing-8);
8024
- }
8025
-
8026
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
8027
- .muka-progress-accordeon--current,
8028
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
8029
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
8030
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
8031
- gap: var(--spacing-6);
7861
+ align-items: center;
7862
+ gap: var(--spacing-4);
7863
+ padding: var(--spacing-4);
7864
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7865
+ border-radius: var(--input-field-radius-lg);
7866
+ background-color: var(--color-surface-level3);
7867
+ cursor: pointer;
7868
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7869
+ overflow: hidden;
7870
+ box-sizing: border-box;
8032
7871
  }
8033
7872
 
8034
- .muka-progress-accordeon--upcoming,
8035
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
8036
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
8037
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
8038
- gap: var(--spacing-8);
7873
+ .muka-radio-tile--disabled {
7874
+ cursor: not-allowed;
7875
+ opacity: 0.6;
8039
7876
  }
8040
7877
 
8041
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
8042
- collapsing slot (as padding-top) so it collapses with the content, so the
8043
- body gap itself is 0. */
8044
- .muka-progress-accordeon__body {
8045
- display: flex;
8046
- flex-direction: column;
8047
- gap: 0;
8048
- width: 100%;
7878
+ /* Selected state */
7879
+ .muka-radio-tile[data-checked] {
7880
+ border-width: var(--border-width-bold);
7881
+ border-color: var(--color-action-default);
8049
7882
  }
8050
7883
 
8051
- /* ─── Header ─────────────────────────────────────────────── */
8052
- .muka-progress-accordeon__header {
8053
- display: flex;
7884
+ /* Vertical layout */
7885
+ .muka-radio-tile--vertical {
8054
7886
  flex-direction: column;
8055
- gap: var(--spacing-3);
8056
- width: 100%;
8057
- }
8058
-
8059
- .muka-progress-accordeon__header-row {
8060
- display: flex;
8061
- align-items: flex-start;
8062
- gap: var(--spacing-3);
8063
- width: 100%;
8064
- min-height: 40px;
7887
+ align-items: center;
7888
+ gap: var(--spacing-2);
7889
+ position: relative;
7890
+ width: 160px;
8065
7891
  }
8066
7892
 
8067
- .muka-progress-accordeon__heading-group {
8068
- display: flex;
8069
- flex: 1 0 0;
8070
- min-width: 0;
8071
- align-items: flex-start;
8072
- gap: var(--spacing-4);
7893
+ /* Radio container */
7894
+ .muka-radio-tile__radio {
7895
+ flex-shrink: 0;
8073
7896
  }
8074
7897
 
8075
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
8076
- so a single line centres against the indicator + controls row. */
8077
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
8078
- .muka-progress-accordeon__heading-group {
8079
- padding-top: var(--spacing-1);
7898
+ /* Corner-positioned radio for vertical */
7899
+ .muka-radio-tile__radio--corner {
7900
+ position: absolute;
7901
+ top: var(--spacing-4);
7902
+ left: var(--spacing-4);
8080
7903
  }
8081
7904
 
8082
- .muka-progress-accordeon__controls {
8083
- display: flex;
8084
- flex-shrink: 0;
8085
- align-items: center;
8086
- gap: var(--spacing-3);
7905
+ /* Adjust corner position when selected (border is thicker) */
7906
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7907
+ top: calc(var(--spacing-4) - 1px);
7908
+ left: calc(var(--spacing-4) - 1px);
8087
7909
  }
8088
7910
 
8089
- /* ─── Step indicator (circle) ───────────────────────────── */
8090
- .muka-progress-accordeon__indicator {
8091
- width: 32px;
8092
- height: 32px;
8093
- flex-shrink: 0;
8094
- border-radius: var(--border-radius-full);
7911
+ /* Icon */
7912
+ .muka-radio-tile__icon {
8095
7913
  display: flex;
8096
7914
  align-items: center;
8097
7915
  justify-content: center;
7916
+ flex-shrink: 0;
7917
+ width: var(--icon-size-default);
7918
+ height: var(--icon-size-default);
7919
+ color: var(--color-text-default-default);
8098
7920
  }
8099
7921
 
8100
- /* Past: dark accent-contrast circle with inverse checkmark */
8101
- .muka-progress-accordeon__indicator--past {
8102
- background-color: var(--alias-color-accent-contrast);
8103
- color: var(--color-text-default-inverse);
7922
+ .muka-radio-tile__icon svg {
7923
+ width: 100%;
7924
+ height: 100%;
8104
7925
  }
8105
7926
 
8106
- /* Current: accent circle with inverse bold number */
8107
- .muka-progress-accordeon__indicator--current {
8108
- background-color: var(--alias-color-accent-default);
8109
- color: var(--color-text-default-inverse);
7927
+ /* Image */
7928
+ .muka-radio-tile__image {
7929
+ flex-shrink: 0;
7930
+ overflow: hidden;
7931
+ border-radius: var(--border-radius-sm);
7932
+ }
7933
+
7934
+ .muka-radio-tile__image img {
7935
+ display: block;
7936
+ width: 100%;
7937
+ height: 100%;
7938
+ object-fit: cover;
7939
+ }
7940
+
7941
+ /* Horizontal image sizing */
7942
+ .muka-radio-tile__image--horizontal {
7943
+ width: 40px;
7944
+ height: 40px;
7945
+ }
7946
+
7947
+ /* Vertical image sizing */
7948
+ .muka-radio-tile--vertical .muka-radio-tile__image {
7949
+ width: 100%;
7950
+ aspect-ratio: 4/3;
7951
+ }
7952
+
7953
+ /* Content container */
7954
+ .muka-radio-tile__content {
7955
+ display: flex;
7956
+ flex-direction: column;
7957
+ flex: 1;
7958
+ min-width: 0;
7959
+ gap: var(--spacing-1);
7960
+ }
7961
+
7962
+ /* Label */
7963
+ .muka-radio-tile__label {
7964
+ font-family: var(--text-body-lg-regular-fontFamily);
7965
+ font-weight: var(--text-body-lg-regular-fontWeight);
7966
+ font-size: var(--text-body-lg-regular-fontSize);
7967
+ line-height: var(--text-body-lg-regular-lineHeight);
7968
+ color: var(--color-text-default-default);
7969
+ }
7970
+
7971
+ .muka-radio-tile__label--bold {
7972
+ font-family: var(--text-label-lg-semibold-fontFamily);
7973
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7974
+ font-size: var(--text-label-lg-semibold-fontSize);
7975
+ line-height: var(--text-label-lg-semibold-lineHeight);
7976
+ }
7977
+
7978
+ .muka-radio-tile__label--center {
7979
+ text-align: center;
7980
+ }
7981
+
7982
+ /* Caption */
7983
+ .muka-radio-tile__caption {
7984
+ font-family: var(--text-body-base-regular-fontFamily);
7985
+ font-weight: var(--text-body-base-regular-fontWeight);
7986
+ font-size: var(--text-body-base-regular-fontSize);
7987
+ line-height: var(--text-body-base-regular-lineHeight);
7988
+ color: var(--color-text-subtle-default);
7989
+ }
7990
+
7991
+ /* Disabled states */
7992
+ .muka-radio-tile--disabled .muka-radio-tile__label,
7993
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
7994
+ color: var(--color-text-subtle-default);
7995
+ }
7996
+
7997
+
7998
+ /* ProgressAccordeon */
7999
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
8000
+
8001
+ /* ─── Root ──────────────────────────────────────────────── */
8002
+ .muka-progress-accordeon {
8003
+ container-type: inline-size;
8004
+ display: flex;
8005
+ flex-direction: column;
8006
+ align-items: stretch;
8007
+ width: 100%;
8008
+ /* Top padding provides the vertical rhythm between stacked steps */
8009
+ padding-top: var(--spacing-8);
8010
+ }
8011
+
8012
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
8013
+ .muka-progress-accordeon--current,
8014
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
8015
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
8016
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
8017
+ gap: var(--spacing-6);
8018
+ }
8019
+
8020
+ .muka-progress-accordeon--upcoming,
8021
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
8022
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
8023
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
8024
+ gap: var(--spacing-8);
8025
+ }
8026
+
8027
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
8028
+ collapsing slot (as padding-top) so it collapses with the content, so the
8029
+ body gap itself is 0. */
8030
+ .muka-progress-accordeon__body {
8031
+ display: flex;
8032
+ flex-direction: column;
8033
+ gap: 0;
8034
+ width: 100%;
8035
+ }
8036
+
8037
+ /* ─── Header ─────────────────────────────────────────────── */
8038
+ .muka-progress-accordeon__header {
8039
+ display: flex;
8040
+ flex-direction: column;
8041
+ gap: var(--spacing-3);
8042
+ width: 100%;
8043
+ }
8044
+
8045
+ .muka-progress-accordeon__header-row {
8046
+ display: flex;
8047
+ align-items: flex-start;
8048
+ gap: var(--spacing-3);
8049
+ width: 100%;
8050
+ min-height: 40px;
8051
+ }
8052
+
8053
+ .muka-progress-accordeon__heading-group {
8054
+ display: flex;
8055
+ flex: 1 0 0;
8056
+ min-width: 0;
8057
+ align-items: flex-start;
8058
+ gap: var(--spacing-4);
8059
+ }
8060
+
8061
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
8062
+ so a single line centres against the indicator + controls row. */
8063
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
8064
+ .muka-progress-accordeon__heading-group {
8065
+ padding-top: var(--spacing-1);
8066
+ }
8067
+
8068
+ .muka-progress-accordeon__controls {
8069
+ display: flex;
8070
+ flex-shrink: 0;
8071
+ align-items: center;
8072
+ gap: var(--spacing-3);
8073
+ }
8074
+
8075
+ /* ─── Step indicator (circle) ───────────────────────────── */
8076
+ .muka-progress-accordeon__indicator {
8077
+ width: 32px;
8078
+ height: 32px;
8079
+ flex-shrink: 0;
8080
+ border-radius: var(--border-radius-full);
8081
+ display: flex;
8082
+ align-items: center;
8083
+ justify-content: center;
8084
+ }
8085
+
8086
+ /* Past: dark accent-contrast circle with inverse checkmark */
8087
+ .muka-progress-accordeon__indicator--past {
8088
+ background-color: var(--alias-color-accent-contrast);
8089
+ color: var(--color-text-default-inverse);
8090
+ }
8091
+
8092
+ /* Current: accent circle with inverse bold number */
8093
+ .muka-progress-accordeon__indicator--current {
8094
+ background-color: var(--alias-color-accent-default);
8095
+ color: var(--color-text-default-inverse);
8110
8096
  }
8111
8097
 
8112
8098
  /* Upcoming: sunken/muted circle with default-color number */
@@ -8439,100 +8425,117 @@ button.muka-progress-tracker__tab:focus-visible {
8439
8425
  }
8440
8426
 
8441
8427
 
8442
- /* PriceTag */
8443
- /* PriceTag Component Styles - Using Muka Design Tokens */
8444
-
8445
- .muka-price-tag {
8446
- display: flex;
8447
- flex-shrink: 0;
8448
- }
8449
-
8450
- /* Medium: stacked layout (price on top, unit below) */
8451
- .muka-price-tag--md {
8452
- flex-direction: column;
8453
- align-items: flex-end;
8454
- justify-content: center;
8455
- }
8428
+ /* ProfileBadge */
8429
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
8456
8430
 
8457
- /* Small: inline layout */
8458
- .muka-price-tag--sm {
8459
- flex-direction: row;
8431
+ .muka-profile-badge {
8432
+ display: inline-flex;
8433
+ max-width: 100%;
8434
+ min-width: 0;
8460
8435
  align-items: center;
8461
- gap: 3px;
8436
+ font-family: var(--text-body-base-regular-fontFamily);
8462
8437
  }
8463
8438
 
8464
- /* Amount row: currency + numbers */
8465
- .muka-price-tag__amount {
8466
- display: flex;
8467
- align-items: flex-start;
8468
- gap: var(--spacing-1);
8439
+ /* Size variants */
8440
+ .muka-profile-badge--lg {
8441
+ gap: var(--spacing-4); /* 16px */
8469
8442
  }
8470
8443
 
8471
- .muka-price-tag--sm .muka-price-tag__amount {
8472
- align-items: center;
8444
+ .muka-profile-badge--md {
8445
+ gap: var(--spacing-3); /* 12px */
8473
8446
  }
8474
8447
 
8475
- /* Numbers group: whole + decimal + cents */
8476
- .muka-price-tag__numbers {
8477
- display: flex;
8478
- align-items: baseline;
8448
+ .muka-profile-badge--sm {
8449
+ gap: var(--spacing-2); /* 8px */
8479
8450
  }
8480
8451
 
8481
- /* ─── Medium size typography ──────────────────────────── */
8482
-
8483
- .muka-price-tag--md .muka-price-tag__currency {
8484
- font-family: var(--text-subheading-md-fontFamily);
8485
- font-weight: var(--text-subheading-md-fontWeight);
8486
- font-size: var(--text-subheading-md-fontSize);
8487
- line-height: var(--text-label-2xl-bold-lineHeight);
8488
- color: var(--color-text-subtle-default);
8452
+ .muka-profile-badge__avatar {
8453
+ flex-shrink: 0;
8489
8454
  }
8490
8455
 
8491
- .muka-price-tag--md .muka-price-tag__whole {
8492
- font-family: var(--text-label-2xl-bold-fontFamily);
8493
- font-weight: var(--text-label-2xl-bold-fontWeight);
8494
- font-size: var(--text-label-2xl-bold-fontSize);
8495
- line-height: var(--text-label-2xl-bold-lineHeight);
8496
- color: var(--color-text-default-default);
8456
+ /* Text stack */
8457
+ .muka-profile-badge__text {
8458
+ display: flex;
8459
+ flex-direction: column;
8460
+ align-items: flex-start;
8461
+ min-width: 0;
8497
8462
  }
8498
8463
 
8499
- .muka-price-tag--md .muka-price-tag__decimal,
8500
- .muka-price-tag--md .muka-price-tag__cents {
8501
- font-family: var(--text-label-md-bold-fontFamily);
8502
- font-weight: var(--text-label-md-bold-fontWeight);
8503
- font-size: var(--text-label-md-bold-fontSize);
8504
- line-height: var(--text-label-md-bold-lineHeight);
8464
+ .muka-profile-badge__name {
8465
+ max-width: 100%;
8466
+ overflow: hidden;
8467
+ text-overflow: ellipsis;
8468
+ white-space: nowrap;
8469
+ font-family: var(--text-body-base-regular-fontFamily);
8470
+ font-size: var(--text-body-base-regular-fontSize);
8471
+ font-weight: var(--text-body-base-regular-fontWeight);
8472
+ line-height: var(--text-body-base-regular-lineHeight);
8505
8473
  color: var(--color-text-default-default);
8506
8474
  }
8507
8475
 
8508
- /* ─── Small size typography ───────────────────────────── */
8509
-
8510
- .muka-price-tag--sm .muka-price-tag__currency {
8511
- font-family: var(--text-body-base-regular-fontFamily);
8512
- font-weight: var(--text-body-base-regular-fontWeight);
8513
- font-size: var(--text-body-base-regular-fontSize);
8514
- line-height: var(--text-label-md-bold-lineHeight);
8476
+ .muka-profile-badge__email {
8477
+ font-family: var(--text-body-xs-regular-fontFamily);
8478
+ font-size: var(--text-body-xs-regular-fontSize);
8479
+ font-weight: var(--text-body-xs-regular-fontWeight);
8480
+ line-height: var(--text-body-xs-regular-lineHeight);
8515
8481
  color: var(--color-text-subtle-default);
8516
8482
  }
8517
8483
 
8518
- .muka-price-tag--sm .muka-price-tag__whole,
8519
- .muka-price-tag--sm .muka-price-tag__decimal,
8520
- .muka-price-tag--sm .muka-price-tag__cents {
8521
- font-family: var(--text-label-md-bold-fontFamily);
8522
- font-weight: var(--text-label-md-bold-fontWeight);
8523
- font-size: var(--text-label-md-bold-fontSize);
8524
- line-height: var(--text-label-md-bold-lineHeight);
8525
- color: var(--color-text-default-default);
8484
+ /* Clickable state */
8485
+ .muka-profile-badge--clickable {
8486
+ cursor: pointer;
8487
+ border: none;
8488
+ background: none;
8489
+ padding: 0;
8490
+ text-align: left;
8491
+ border-radius: var(--radius-md);
8492
+ transition: opacity 0.2s ease;
8526
8493
  }
8527
8494
 
8528
- /* ─── Unit label (same for both sizes) ────────────────── */
8495
+ .muka-profile-badge--clickable:hover {
8496
+ opacity: 0.9;
8497
+ }
8529
8498
 
8530
- .muka-price-tag__unit {
8531
- font-family: var(--text-body-sm-regular-fontFamily);
8532
- font-weight: var(--text-body-sm-regular-fontWeight);
8533
- font-size: var(--text-body-sm-regular-fontSize);
8534
- line-height: var(--text-body-sm-regular-lineHeight);
8535
- color: var(--color-text-subtle-default);
8499
+ .muka-profile-badge--clickable:active {
8500
+ opacity: 0.8;
8501
+ }
8502
+
8503
+ .muka-profile-badge--clickable:focus-visible {
8504
+ outline: 2px solid var(--color-border-focus);
8505
+ outline-offset: 2px;
8506
+ }
8507
+
8508
+ /* Trailing chevron: the badge opens a menu */
8509
+ .muka-profile-badge__chevron {
8510
+ flex-shrink: 0;
8511
+ }
8512
+
8513
+ /*
8514
+ * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
8515
+ * header): 4px inset on the avatar side, 12px after the chevron. The border
8516
+ * is an inset shadow so it appears on hover and while the menu is open
8517
+ * without moving the content.
8518
+ */
8519
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
8520
+ padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
8521
+ border-radius: var(--radius-full);
8522
+ transition: box-shadow 0.2s ease;
8523
+ }
8524
+
8525
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8526
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
8527
+ opacity: 1;
8528
+ }
8529
+
8530
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
8531
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
8532
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
8533
+ box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
8534
+ }
8535
+
8536
+ /* A badge without an avatar keeps the 12px start inset */
8537
+ .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
8538
+ padding-left: var(--spacing-3);
8536
8539
  }
8537
8540
 
8538
8541
 
@@ -8567,6 +8570,103 @@ button.muka-progress-tracker__tab:focus-visible {
8567
8570
  }
8568
8571
 
8569
8572
 
8573
+ /* PriceTag */
8574
+ /* PriceTag Component Styles - Using Muka Design Tokens */
8575
+
8576
+ .muka-price-tag {
8577
+ display: flex;
8578
+ flex-shrink: 0;
8579
+ }
8580
+
8581
+ /* Medium: stacked layout (price on top, unit below) */
8582
+ .muka-price-tag--md {
8583
+ flex-direction: column;
8584
+ align-items: flex-end;
8585
+ justify-content: center;
8586
+ }
8587
+
8588
+ /* Small: inline layout */
8589
+ .muka-price-tag--sm {
8590
+ flex-direction: row;
8591
+ align-items: center;
8592
+ gap: 3px;
8593
+ }
8594
+
8595
+ /* Amount row: currency + numbers */
8596
+ .muka-price-tag__amount {
8597
+ display: flex;
8598
+ align-items: flex-start;
8599
+ gap: var(--spacing-1);
8600
+ }
8601
+
8602
+ .muka-price-tag--sm .muka-price-tag__amount {
8603
+ align-items: center;
8604
+ }
8605
+
8606
+ /* Numbers group: whole + decimal + cents */
8607
+ .muka-price-tag__numbers {
8608
+ display: flex;
8609
+ align-items: baseline;
8610
+ }
8611
+
8612
+ /* ─── Medium size typography ──────────────────────────── */
8613
+
8614
+ .muka-price-tag--md .muka-price-tag__currency {
8615
+ font-family: var(--text-subheading-md-fontFamily);
8616
+ font-weight: var(--text-subheading-md-fontWeight);
8617
+ font-size: var(--text-subheading-md-fontSize);
8618
+ line-height: var(--text-label-2xl-bold-lineHeight);
8619
+ color: var(--color-text-subtle-default);
8620
+ }
8621
+
8622
+ .muka-price-tag--md .muka-price-tag__whole {
8623
+ font-family: var(--text-label-2xl-bold-fontFamily);
8624
+ font-weight: var(--text-label-2xl-bold-fontWeight);
8625
+ font-size: var(--text-label-2xl-bold-fontSize);
8626
+ line-height: var(--text-label-2xl-bold-lineHeight);
8627
+ color: var(--color-text-default-default);
8628
+ }
8629
+
8630
+ .muka-price-tag--md .muka-price-tag__decimal,
8631
+ .muka-price-tag--md .muka-price-tag__cents {
8632
+ font-family: var(--text-label-md-bold-fontFamily);
8633
+ font-weight: var(--text-label-md-bold-fontWeight);
8634
+ font-size: var(--text-label-md-bold-fontSize);
8635
+ line-height: var(--text-label-md-bold-lineHeight);
8636
+ color: var(--color-text-default-default);
8637
+ }
8638
+
8639
+ /* ─── Small size typography ───────────────────────────── */
8640
+
8641
+ .muka-price-tag--sm .muka-price-tag__currency {
8642
+ font-family: var(--text-body-base-regular-fontFamily);
8643
+ font-weight: var(--text-body-base-regular-fontWeight);
8644
+ font-size: var(--text-body-base-regular-fontSize);
8645
+ line-height: var(--text-label-md-bold-lineHeight);
8646
+ color: var(--color-text-subtle-default);
8647
+ }
8648
+
8649
+ .muka-price-tag--sm .muka-price-tag__whole,
8650
+ .muka-price-tag--sm .muka-price-tag__decimal,
8651
+ .muka-price-tag--sm .muka-price-tag__cents {
8652
+ font-family: var(--text-label-md-bold-fontFamily);
8653
+ font-weight: var(--text-label-md-bold-fontWeight);
8654
+ font-size: var(--text-label-md-bold-fontSize);
8655
+ line-height: var(--text-label-md-bold-lineHeight);
8656
+ color: var(--color-text-default-default);
8657
+ }
8658
+
8659
+ /* ─── Unit label (same for both sizes) ────────────────── */
8660
+
8661
+ .muka-price-tag__unit {
8662
+ font-family: var(--text-body-sm-regular-fontFamily);
8663
+ font-weight: var(--text-body-sm-regular-fontWeight);
8664
+ font-size: var(--text-body-sm-regular-fontSize);
8665
+ line-height: var(--text-body-sm-regular-lineHeight);
8666
+ color: var(--color-text-subtle-default);
8667
+ }
8668
+
8669
+
8570
8670
  /* PlanningGantt */
8571
8671
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8572
8672
 
@@ -8964,117 +9064,170 @@ button.muka-progress-tracker__tab:focus-visible {
8964
9064
  }
8965
9065
 
8966
9066
 
8967
- /* ProfileBadge */
8968
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
9067
+ /* PhotoUploader */
9068
+ /* PhotoUploader Component Styles - Using Muka Design Tokens */
8969
9069
 
8970
- .muka-profile-badge {
8971
- display: inline-flex;
8972
- max-width: 100%;
8973
- min-width: 0;
8974
- align-items: center;
8975
- font-family: var(--text-body-base-regular-fontFamily);
9070
+ .muka-photo-uploader {
9071
+ display: flex;
9072
+ flex-direction: column;
9073
+ align-items: flex-start;
9074
+ gap: var(--spacing-4);
9075
+ width: 100%;
8976
9076
  }
8977
9077
 
8978
- /* Size variants */
8979
- .muka-profile-badge--lg {
8980
- gap: var(--spacing-4); /* 16px */
9078
+ /* Visually-hidden native file input */
9079
+ .muka-photo-uploader__input {
9080
+ position: absolute;
9081
+ width: 1px;
9082
+ height: 1px;
9083
+ padding: 0;
9084
+ margin: -1px;
9085
+ overflow: hidden;
9086
+ clip: rect(0, 0, 0, 0);
9087
+ white-space: nowrap;
9088
+ border: 0;
8981
9089
  }
8982
9090
 
8983
- .muka-profile-badge--md {
8984
- gap: var(--spacing-3); /* 12px */
9091
+ /* ─── Error feedback alert ────────────────────────────── */
9092
+ .muka-photo-uploader__alert {
9093
+ width: 100%;
8985
9094
  }
8986
9095
 
8987
- .muka-profile-badge--sm {
8988
- gap: var(--spacing-2); /* 8px */
9096
+ /* ─── Thumbnail grid ──────────────────────────────────── */
9097
+ .muka-photo-uploader__grid {
9098
+ display: flex;
9099
+ flex-wrap: wrap;
9100
+ gap: var(--spacing-3);
9101
+ width: 100%;
9102
+ margin: 0;
9103
+ padding: 0;
9104
+ list-style: none;
8989
9105
  }
8990
9106
 
8991
- .muka-profile-badge__avatar {
8992
- flex-shrink: 0;
9107
+ .muka-photo-uploader__grid-item {
9108
+ margin: 0;
9109
+ padding: 0;
8993
9110
  }
8994
9111
 
8995
- /* Text stack */
8996
- .muka-profile-badge__text {
9112
+ /* ─── Drop zone card (button + "or drop here") ────────── */
9113
+ .muka-photo-uploader__dropzone {
8997
9114
  display: flex;
8998
9115
  flex-direction: column;
8999
- align-items: flex-start;
9000
- min-width: 0;
9116
+ align-items: center;
9117
+ justify-content: center;
9118
+ gap: var(--spacing-4);
9119
+ width: 100%;
9120
+ padding: var(--card-padding-lg);
9121
+ background-color: var(--card-color-default-background);
9122
+ border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9123
+ border-radius: var(--border-radius-lg);
9124
+ cursor: pointer;
9125
+ text-align: center;
9126
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9127
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
9001
9128
  }
9002
9129
 
9003
- .muka-profile-badge__name {
9004
- max-width: 100%;
9005
- overflow: hidden;
9006
- text-overflow: ellipsis;
9007
- white-space: nowrap;
9008
- font-family: var(--text-body-base-regular-fontFamily);
9009
- font-size: var(--text-body-base-regular-fontSize);
9010
- font-weight: var(--text-body-base-regular-fontWeight);
9011
- line-height: var(--text-body-base-regular-lineHeight);
9130
+ .muka-photo-uploader__dropzone:hover,
9131
+ .muka-photo-uploader__dropzone--active {
9132
+ border-color: var(--color-border-focus);
9133
+ background-color: var(--color-surface-level1);
9134
+ }
9135
+
9136
+ .muka-photo-uploader__dropzone-text {
9137
+ font-family: var(--text-subheading-sm-fontFamily);
9138
+ font-size: var(--text-subheading-sm-fontSize);
9139
+ font-weight: var(--text-subheading-sm-fontWeight);
9140
+ line-height: var(--text-subheading-sm-lineHeight);
9012
9141
  color: var(--color-text-default-default);
9013
9142
  }
9014
9143
 
9015
- .muka-profile-badge__email {
9016
- font-family: var(--text-body-xs-regular-fontFamily);
9017
- font-size: var(--text-body-xs-regular-fontSize);
9018
- font-weight: var(--text-body-xs-regular-fontWeight);
9019
- line-height: var(--text-body-xs-regular-lineHeight);
9020
- color: var(--color-text-subtle-default);
9144
+ /*
9145
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9146
+ * from: the card and its "or drop here" hint go, and only the button stays.
9147
+ * Keyed on input capability, not width, so a narrow desktop window keeps
9148
+ * its drop zone.
9149
+ */
9150
+ @media (hover: none) and (pointer: coarse) {
9151
+ .muka-photo-uploader__dropzone {
9152
+ align-items: flex-start;
9153
+ padding: 0;
9154
+ background-color: transparent;
9155
+ border: none;
9156
+ border-radius: 0;
9157
+ cursor: default;
9158
+ }
9159
+
9160
+ .muka-photo-uploader__dropzone-text {
9161
+ display: none;
9162
+ }
9021
9163
  }
9022
9164
 
9023
- /* Clickable state */
9024
- .muka-profile-badge--clickable {
9025
- cursor: pointer;
9026
- border: none;
9027
- background: none;
9028
- padding: 0;
9029
- text-align: left;
9030
- border-radius: var(--radius-md);
9031
- transition: opacity 0.2s ease;
9165
+ /* ─── Disabled ────────────────────────────────────────── */
9166
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9167
+ cursor: not-allowed;
9168
+ opacity: 0.6;
9032
9169
  }
9033
9170
 
9034
- .muka-profile-badge--clickable:hover {
9035
- opacity: 0.9;
9171
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9172
+ border-color: var(--card-color-default-border);
9173
+ background-color: var(--card-color-default-background);
9036
9174
  }
9037
9175
 
9038
- .muka-profile-badge--clickable:active {
9039
- opacity: 0.8;
9176
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9177
+ .muka-photo-uploader__preview {
9178
+ display: flex;
9179
+ align-items: center;
9180
+ justify-content: center;
9181
+ width: 100%;
9182
+ height: 100%;
9040
9183
  }
9041
9184
 
9042
- .muka-profile-badge--clickable:focus-visible {
9043
- outline: 2px solid var(--color-border-focus);
9044
- outline-offset: 2px;
9185
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9186
+ .muka-photo-uploader__preview-image {
9187
+ display: block;
9188
+ max-width: 100%;
9189
+ max-height: 100%;
9190
+ width: auto;
9191
+ height: auto;
9192
+ object-fit: contain;
9193
+ border-radius: var(--border-radius-lg);
9045
9194
  }
9046
9195
 
9047
- /* Trailing chevron: the badge opens a menu */
9048
- .muka-profile-badge__chevron {
9049
- flex-shrink: 0;
9196
+ /* ─── Reduced motion ──────────────────────────────────── */
9197
+ @media (prefers-reduced-motion: reduce) {
9198
+ .muka-photo-uploader__dropzone {
9199
+ transition: none;
9200
+ }
9050
9201
  }
9051
9202
 
9052
- /*
9053
- * A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
9054
- * header): 4px inset on the avatar side, 12px after the chevron. The border
9055
- * is an inset shadow so it appears on hover and while the menu is open
9056
- * without moving the content.
9057
- */
9058
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron {
9059
- padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
9060
- border-radius: var(--radius-full);
9061
- transition: box-shadow 0.2s ease;
9203
+
9204
+ /* PhotoDraftStrip */
9205
+ /* PhotoDraftStrip Component Styles */
9206
+
9207
+ .muka-photo-draft-strip {
9208
+ display: flex;
9209
+ align-items: center;
9210
+ gap: var(--spacing-3);
9211
+ width: 100%;
9212
+ padding: var(--spacing-2) 0;
9062
9213
  }
9063
9214
 
9064
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9065
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
9066
- opacity: 1;
9215
+ .muka-photo-draft-strip__track {
9216
+ display: flex;
9217
+ gap: var(--spacing-2);
9218
+ flex: 1 1 auto;
9219
+ min-width: 0;
9220
+ overflow-x: auto;
9221
+ scroll-behavior: smooth;
9222
+ scrollbar-width: none;
9067
9223
  }
9068
9224
 
9069
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
9070
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
9071
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
9072
- box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
9225
+ .muka-photo-draft-strip__track::-webkit-scrollbar {
9226
+ display: none;
9073
9227
  }
9074
9228
 
9075
- /* A badge without an avatar keeps the 12px start inset */
9076
- .muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
9077
- padding-left: var(--spacing-3);
9229
+ .muka-photo-draft-strip__item {
9230
+ flex: 0 0 auto;
9078
9231
  }
9079
9232
 
9080
9233
 
@@ -9175,143 +9328,6 @@ button.muka-progress-tracker__tab:focus-visible {
9175
9328
  }
9176
9329
 
9177
9330
 
9178
- /* PhotoUploader */
9179
- /* PhotoUploader Component Styles - Using Muka Design Tokens */
9180
-
9181
- .muka-photo-uploader {
9182
- display: flex;
9183
- flex-direction: column;
9184
- align-items: flex-start;
9185
- gap: var(--spacing-4);
9186
- width: 100%;
9187
- }
9188
-
9189
- /* Visually-hidden native file input */
9190
- .muka-photo-uploader__input {
9191
- position: absolute;
9192
- width: 1px;
9193
- height: 1px;
9194
- padding: 0;
9195
- margin: -1px;
9196
- overflow: hidden;
9197
- clip: rect(0, 0, 0, 0);
9198
- white-space: nowrap;
9199
- border: 0;
9200
- }
9201
-
9202
- /* ─── Error feedback alert ────────────────────────────── */
9203
- .muka-photo-uploader__alert {
9204
- width: 100%;
9205
- }
9206
-
9207
- /* ─── Thumbnail grid ──────────────────────────────────── */
9208
- .muka-photo-uploader__grid {
9209
- display: flex;
9210
- flex-wrap: wrap;
9211
- gap: var(--spacing-3);
9212
- width: 100%;
9213
- margin: 0;
9214
- padding: 0;
9215
- list-style: none;
9216
- }
9217
-
9218
- .muka-photo-uploader__grid-item {
9219
- margin: 0;
9220
- padding: 0;
9221
- }
9222
-
9223
- /* ─── Drop zone card (button + "or drop here") ────────── */
9224
- .muka-photo-uploader__dropzone {
9225
- display: flex;
9226
- flex-direction: column;
9227
- align-items: center;
9228
- justify-content: center;
9229
- gap: var(--spacing-4);
9230
- width: 100%;
9231
- padding: var(--card-padding-lg);
9232
- background-color: var(--card-color-default-background);
9233
- border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9234
- border-radius: var(--border-radius-lg);
9235
- cursor: pointer;
9236
- text-align: center;
9237
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9238
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
9239
- }
9240
-
9241
- .muka-photo-uploader__dropzone:hover,
9242
- .muka-photo-uploader__dropzone--active {
9243
- border-color: var(--color-border-focus);
9244
- background-color: var(--color-surface-level1);
9245
- }
9246
-
9247
- .muka-photo-uploader__dropzone-text {
9248
- font-family: var(--text-subheading-sm-fontFamily);
9249
- font-size: var(--text-subheading-sm-fontSize);
9250
- font-weight: var(--text-subheading-sm-fontWeight);
9251
- line-height: var(--text-subheading-sm-lineHeight);
9252
- color: var(--color-text-default-default);
9253
- }
9254
-
9255
- /*
9256
- * Touch devices (phones, tablets without a mouse) have nothing to drag a file
9257
- * from: the card and its "or drop here" hint go, and only the button stays.
9258
- * Keyed on input capability, not width, so a narrow desktop window keeps
9259
- * its drop zone.
9260
- */
9261
- @media (hover: none) and (pointer: coarse) {
9262
- .muka-photo-uploader__dropzone {
9263
- align-items: flex-start;
9264
- padding: 0;
9265
- background-color: transparent;
9266
- border: none;
9267
- border-radius: 0;
9268
- cursor: default;
9269
- }
9270
-
9271
- .muka-photo-uploader__dropzone-text {
9272
- display: none;
9273
- }
9274
- }
9275
-
9276
- /* ─── Disabled ────────────────────────────────────────── */
9277
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9278
- cursor: not-allowed;
9279
- opacity: 0.6;
9280
- }
9281
-
9282
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9283
- border-color: var(--card-color-default-border);
9284
- background-color: var(--card-color-default-background);
9285
- }
9286
-
9287
- /* ─── Enlarged photo dialog ───────────────────────────── */
9288
- .muka-photo-uploader__preview {
9289
- display: flex;
9290
- align-items: center;
9291
- justify-content: center;
9292
- width: 100%;
9293
- height: 100%;
9294
- }
9295
-
9296
- /* Fits the dialog while preserving the photo's original aspect ratio. */
9297
- .muka-photo-uploader__preview-image {
9298
- display: block;
9299
- max-width: 100%;
9300
- max-height: 100%;
9301
- width: auto;
9302
- height: auto;
9303
- object-fit: contain;
9304
- border-radius: var(--border-radius-lg);
9305
- }
9306
-
9307
- /* ─── Reduced motion ──────────────────────────────────── */
9308
- @media (prefers-reduced-motion: reduce) {
9309
- .muka-photo-uploader__dropzone {
9310
- transition: none;
9311
- }
9312
- }
9313
-
9314
-
9315
9331
  /* Pagination */
9316
9332
  /* Pagination Component Styles */
9317
9333
 
@@ -9494,35 +9510,33 @@ button.muka-progress-tracker__tab:focus-visible {
9494
9510
  }
9495
9511
 
9496
9512
 
9497
- /* PhotoDraftStrip */
9498
- /* PhotoDraftStrip Component Styles */
9513
+ /* NavigationTransition */
9514
+ /* NavigationTransition Component Styles */
9499
9515
 
9500
- .muka-photo-draft-strip {
9501
- display: flex;
9502
- align-items: center;
9503
- gap: var(--spacing-3);
9504
- width: 100%;
9505
- padding: var(--spacing-2) 0;
9506
- }
9516
+ /* ─── Wrapper ────────────────────────────────────────── */
9507
9517
 
9508
- .muka-photo-draft-strip__track {
9509
- display: flex;
9510
- gap: var(--spacing-2);
9511
- flex: 1 1 auto;
9512
- min-width: 0;
9513
- overflow-x: auto;
9514
- scroll-behavior: smooth;
9515
- scrollbar-width: none;
9518
+ .muka-nav-transition {
9519
+ position: relative;
9520
+ height: 100vh;
9521
+ overflow: hidden;
9516
9522
  }
9517
9523
 
9518
- .muka-photo-draft-strip__track::-webkit-scrollbar {
9519
- display: none;
9524
+ /* Disable interaction during animation */
9525
+ .muka-nav-transition--active {
9526
+ pointer-events: none;
9520
9527
  }
9521
9528
 
9522
- .muka-photo-draft-strip__item {
9523
- flex: 0 0 auto;
9529
+ /* ─── View slots ─────────────────────────────────────── */
9530
+
9531
+ .muka-nav-transition--active .muka-nav-transition__view {
9532
+ position: absolute;
9533
+ inset: 0;
9524
9534
  }
9525
9535
 
9536
+ /* Z-index layering */
9537
+ .muka-nav-transition__view--bottom { z-index: 1; }
9538
+ .muka-nav-transition__view--top { z-index: 2; }
9539
+
9526
9540
 
9527
9541
  /* NumberInput */
9528
9542
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
@@ -9554,34 +9568,6 @@ button.muka-progress-tracker__tab:focus-visible {
9554
9568
  }
9555
9569
 
9556
9570
 
9557
- /* NavigationTransition */
9558
- /* NavigationTransition Component Styles */
9559
-
9560
- /* ─── Wrapper ────────────────────────────────────────── */
9561
-
9562
- .muka-nav-transition {
9563
- position: relative;
9564
- height: 100vh;
9565
- overflow: hidden;
9566
- }
9567
-
9568
- /* Disable interaction during animation */
9569
- .muka-nav-transition--active {
9570
- pointer-events: none;
9571
- }
9572
-
9573
- /* ─── View slots ─────────────────────────────────────── */
9574
-
9575
- .muka-nav-transition--active .muka-nav-transition__view {
9576
- position: absolute;
9577
- inset: 0;
9578
- }
9579
-
9580
- /* Z-index layering */
9581
- .muka-nav-transition__view--bottom { z-index: 1; }
9582
- .muka-nav-transition__view--top { z-index: 2; }
9583
-
9584
-
9585
9571
  /* Menu */
9586
9572
  /* Menu Component Styles */
9587
9573
 
@@ -10298,199 +10284,6 @@ button.muka-progress-tracker__tab:focus-visible {
10298
10284
  }
10299
10285
 
10300
10286
 
10301
- /* LicensePlateInput */
10302
- /* LicensePlateInput — Dutch RDW-style plate input
10303
- *
10304
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10305
- * - Plate yellow: #F0CE3D
10306
- * - EU strip blue: #003399
10307
- * - EU stars yellow: #FFCC00
10308
- * - Plate text: #1A1A1A
10309
- *
10310
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10311
- */
10312
-
10313
- .muka-license-plate-input {
10314
- --plate-yellow: #f0ce3d;
10315
- --plate-blue: #003399;
10316
- --plate-text: #1a1a1a;
10317
- --plate-stars: #ffcc00;
10318
-
10319
- display: inline-flex;
10320
- flex-direction: column;
10321
- gap: var(--spacing-2);
10322
- }
10323
-
10324
- /* Plate body */
10325
- .muka-license-plate-input__plate {
10326
- display: inline-flex;
10327
- align-items: stretch;
10328
- background-color: var(--plate-yellow);
10329
- border-radius: var(--input-field-radius-md);
10330
- cursor: text;
10331
- position: relative;
10332
- overflow: hidden;
10333
- box-sizing: border-box;
10334
- /* Subtle outline to lift the plate from light backgrounds */
10335
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10336
- /* Reserve space for the focus / error solid ring without shifting layout */
10337
- outline: 3px solid transparent;
10338
- outline-offset: 2px;
10339
- transition: outline-color 0.15s ease, opacity 0.15s ease;
10340
- }
10341
-
10342
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10343
- .muka-license-plate-input__plate--sm {
10344
- height: 44px;
10345
- min-width: 220px;
10346
- border-radius: var(--input-field-radius-sm);
10347
- }
10348
-
10349
- .muka-license-plate-input__plate--md {
10350
- height: 60px;
10351
- min-width: 300px;
10352
- border-radius: var(--input-field-radius-md);
10353
- }
10354
-
10355
- .muka-license-plate-input__plate--lg {
10356
- height: 80px;
10357
- min-width: 400px;
10358
- border-radius: var(--input-field-radius-lg);
10359
- }
10360
-
10361
- /* Focus — solid outline ring */
10362
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10363
- outline-color: var(--input-field-color-focus-border);
10364
- }
10365
-
10366
- /* Error — solid outline ring in error color */
10367
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10368
- outline-color: var(--input-field-color-error-border);
10369
- }
10370
-
10371
- /* Disabled */
10372
- .muka-license-plate-input__plate--disabled {
10373
- cursor: not-allowed;
10374
- opacity: 0.55;
10375
- }
10376
-
10377
- /* EU strip */
10378
- .muka-license-plate-input__eu-strip {
10379
- display: inline-flex;
10380
- flex-direction: column;
10381
- align-items: center;
10382
- justify-content: center;
10383
- background-color: var(--plate-blue);
10384
- color: #ffffff;
10385
- flex-shrink: 0;
10386
- padding: 0 0.4em;
10387
- gap: 0.15em;
10388
- /* Strip width scales with plate height for a consistent ratio */
10389
- width: 14%;
10390
- min-width: 36px;
10391
- }
10392
-
10393
- .muka-license-plate-input__eu-stars {
10394
- width: 60%;
10395
- max-width: 28px;
10396
- aspect-ratio: 1 / 1;
10397
- display: block;
10398
- }
10399
-
10400
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10401
- max-width: 20px;
10402
- }
10403
-
10404
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10405
- max-width: 36px;
10406
- }
10407
-
10408
- .muka-license-plate-input__country-code {
10409
- font-family:
10410
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10411
- font-weight: 700;
10412
- letter-spacing: 0.04em;
10413
- line-height: 1;
10414
- color: #ffffff;
10415
- }
10416
-
10417
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10418
- font-size: 10px;
10419
- }
10420
-
10421
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10422
- font-size: 13px;
10423
- }
10424
-
10425
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10426
- font-size: 16px;
10427
- }
10428
-
10429
- /* Native input */
10430
- .muka-license-plate-input__native {
10431
- flex: 1;
10432
- min-width: 0;
10433
- border: none;
10434
- outline: none;
10435
- background: transparent;
10436
- color: var(--plate-text);
10437
- text-align: center;
10438
- text-transform: uppercase;
10439
- letter-spacing: 0.06em;
10440
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10441
- shipping a custom font. JetBrains Mono is the system mono brand font. */
10442
- font-family:
10443
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10444
- font-weight: 800;
10445
- padding: 0 0.5em;
10446
- width: 100%;
10447
- caret-color: var(--plate-text);
10448
- }
10449
-
10450
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10451
- font-size: 22px;
10452
- }
10453
-
10454
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10455
- font-size: 30px;
10456
- }
10457
-
10458
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10459
- font-size: 42px;
10460
- }
10461
-
10462
- .muka-license-plate-input__native::placeholder {
10463
- color: var(--plate-text);
10464
- opacity: 0.55;
10465
- font-weight: 700;
10466
- letter-spacing: 0.08em;
10467
- }
10468
-
10469
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10470
- cursor: not-allowed;
10471
- }
10472
-
10473
- /* Helper text */
10474
- .muka-license-plate-input__helper {
10475
- font-family: var(--text-label-sm-regular-fontFamily);
10476
- font-weight: var(--text-label-sm-regular-fontWeight);
10477
- font-size: var(--text-label-sm-regular-fontSize);
10478
- line-height: var(--text-label-sm-regular-lineHeight);
10479
- color: var(--color-text-subtle-default);
10480
- margin: 0;
10481
- }
10482
-
10483
- /* Error message */
10484
- .muka-license-plate-input__error {
10485
- font-family: var(--text-label-sm-regular-fontFamily);
10486
- font-weight: var(--text-label-sm-regular-fontWeight);
10487
- font-size: var(--text-label-sm-regular-fontSize);
10488
- line-height: var(--text-label-sm-regular-lineHeight);
10489
- color: var(--color-state-error-default);
10490
- margin: 0;
10491
- }
10492
-
10493
-
10494
10287
  /* ListItem */
10495
10288
  /* ListItem Component Styles - Using Muka Design Tokens */
10496
10289
 
@@ -10811,9 +10604,202 @@ li.muka-listitem {
10811
10604
  }
10812
10605
 
10813
10606
 
10814
- /* Label */
10815
- /* Label Component Styles - Using Muka Design Tokens */
10816
-
10607
+ /* LicensePlateInput */
10608
+ /* LicensePlateInput — Dutch RDW-style plate input
10609
+ *
10610
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10611
+ * - Plate yellow: #F0CE3D
10612
+ * - EU strip blue: #003399
10613
+ * - EU stars yellow: #FFCC00
10614
+ * - Plate text: #1A1A1A
10615
+ *
10616
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10617
+ */
10618
+
10619
+ .muka-license-plate-input {
10620
+ --plate-yellow: #f0ce3d;
10621
+ --plate-blue: #003399;
10622
+ --plate-text: #1a1a1a;
10623
+ --plate-stars: #ffcc00;
10624
+
10625
+ display: inline-flex;
10626
+ flex-direction: column;
10627
+ gap: var(--spacing-2);
10628
+ }
10629
+
10630
+ /* Plate body */
10631
+ .muka-license-plate-input__plate {
10632
+ display: inline-flex;
10633
+ align-items: stretch;
10634
+ background-color: var(--plate-yellow);
10635
+ border-radius: var(--input-field-radius-md);
10636
+ cursor: text;
10637
+ position: relative;
10638
+ overflow: hidden;
10639
+ box-sizing: border-box;
10640
+ /* Subtle outline to lift the plate from light backgrounds */
10641
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10642
+ /* Reserve space for the focus / error solid ring without shifting layout */
10643
+ outline: 3px solid transparent;
10644
+ outline-offset: 2px;
10645
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
10646
+ }
10647
+
10648
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10649
+ .muka-license-plate-input__plate--sm {
10650
+ height: 44px;
10651
+ min-width: 220px;
10652
+ border-radius: var(--input-field-radius-sm);
10653
+ }
10654
+
10655
+ .muka-license-plate-input__plate--md {
10656
+ height: 60px;
10657
+ min-width: 300px;
10658
+ border-radius: var(--input-field-radius-md);
10659
+ }
10660
+
10661
+ .muka-license-plate-input__plate--lg {
10662
+ height: 80px;
10663
+ min-width: 400px;
10664
+ border-radius: var(--input-field-radius-lg);
10665
+ }
10666
+
10667
+ /* Focus — solid outline ring */
10668
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10669
+ outline-color: var(--input-field-color-focus-border);
10670
+ }
10671
+
10672
+ /* Error — solid outline ring in error color */
10673
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10674
+ outline-color: var(--input-field-color-error-border);
10675
+ }
10676
+
10677
+ /* Disabled */
10678
+ .muka-license-plate-input__plate--disabled {
10679
+ cursor: not-allowed;
10680
+ opacity: 0.55;
10681
+ }
10682
+
10683
+ /* EU strip */
10684
+ .muka-license-plate-input__eu-strip {
10685
+ display: inline-flex;
10686
+ flex-direction: column;
10687
+ align-items: center;
10688
+ justify-content: center;
10689
+ background-color: var(--plate-blue);
10690
+ color: #ffffff;
10691
+ flex-shrink: 0;
10692
+ padding: 0 0.4em;
10693
+ gap: 0.15em;
10694
+ /* Strip width scales with plate height for a consistent ratio */
10695
+ width: 14%;
10696
+ min-width: 36px;
10697
+ }
10698
+
10699
+ .muka-license-plate-input__eu-stars {
10700
+ width: 60%;
10701
+ max-width: 28px;
10702
+ aspect-ratio: 1 / 1;
10703
+ display: block;
10704
+ }
10705
+
10706
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10707
+ max-width: 20px;
10708
+ }
10709
+
10710
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10711
+ max-width: 36px;
10712
+ }
10713
+
10714
+ .muka-license-plate-input__country-code {
10715
+ font-family:
10716
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10717
+ font-weight: 700;
10718
+ letter-spacing: 0.04em;
10719
+ line-height: 1;
10720
+ color: #ffffff;
10721
+ }
10722
+
10723
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10724
+ font-size: 10px;
10725
+ }
10726
+
10727
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10728
+ font-size: 13px;
10729
+ }
10730
+
10731
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10732
+ font-size: 16px;
10733
+ }
10734
+
10735
+ /* Native input */
10736
+ .muka-license-plate-input__native {
10737
+ flex: 1;
10738
+ min-width: 0;
10739
+ border: none;
10740
+ outline: none;
10741
+ background: transparent;
10742
+ color: var(--plate-text);
10743
+ text-align: center;
10744
+ text-transform: uppercase;
10745
+ letter-spacing: 0.06em;
10746
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10747
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
10748
+ font-family:
10749
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10750
+ font-weight: 800;
10751
+ padding: 0 0.5em;
10752
+ width: 100%;
10753
+ caret-color: var(--plate-text);
10754
+ }
10755
+
10756
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10757
+ font-size: 22px;
10758
+ }
10759
+
10760
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10761
+ font-size: 30px;
10762
+ }
10763
+
10764
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10765
+ font-size: 42px;
10766
+ }
10767
+
10768
+ .muka-license-plate-input__native::placeholder {
10769
+ color: var(--plate-text);
10770
+ opacity: 0.55;
10771
+ font-weight: 700;
10772
+ letter-spacing: 0.08em;
10773
+ }
10774
+
10775
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10776
+ cursor: not-allowed;
10777
+ }
10778
+
10779
+ /* Helper text */
10780
+ .muka-license-plate-input__helper {
10781
+ font-family: var(--text-label-sm-regular-fontFamily);
10782
+ font-weight: var(--text-label-sm-regular-fontWeight);
10783
+ font-size: var(--text-label-sm-regular-fontSize);
10784
+ line-height: var(--text-label-sm-regular-lineHeight);
10785
+ color: var(--color-text-subtle-default);
10786
+ margin: 0;
10787
+ }
10788
+
10789
+ /* Error message */
10790
+ .muka-license-plate-input__error {
10791
+ font-family: var(--text-label-sm-regular-fontFamily);
10792
+ font-weight: var(--text-label-sm-regular-fontWeight);
10793
+ font-size: var(--text-label-sm-regular-fontSize);
10794
+ line-height: var(--text-label-sm-regular-lineHeight);
10795
+ color: var(--color-state-error-default);
10796
+ margin: 0;
10797
+ }
10798
+
10799
+
10800
+ /* Label */
10801
+ /* Label Component Styles - Using Muka Design Tokens */
10802
+
10817
10803
  .muka-label {
10818
10804
  display: inline-flex;
10819
10805
  align-items: center;
@@ -11385,51 +11371,313 @@ li.muka-listitem {
11385
11371
  }
11386
11372
 
11387
11373
 
11388
- /* FAB */
11389
- /* FAB (Floating Action Button) Component Styles */
11374
+ /* FileUpload */
11375
+ /* FileUpload Component Styles */
11390
11376
 
11391
- .muka-fab {
11392
- position: fixed;
11393
- z-index: 40;
11377
+ .muka-fileupload-wrapper {
11378
+ display: flex;
11379
+ flex-direction: column;
11380
+ gap: var(--spacing-3);
11381
+ width: 100%;
11382
+ }
11394
11383
 
11395
- display: inline-flex;
11384
+ /* Dropzone */
11385
+ .muka-fileupload {
11386
+ display: flex;
11387
+ flex-direction: column;
11396
11388
  align-items: center;
11397
11389
  justify-content: center;
11398
- gap: var(--spacing-2);
11399
-
11400
- border: none;
11390
+ gap: var(--fileupload-dropzone-gap);
11391
+ padding: var(--fileupload-dropzone-padding-md);
11392
+ background-color: var(--fileupload-dropzone-color-default-background);
11393
+ border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11394
+ border-radius: var(--fileupload-dropzone-radius);
11401
11395
  cursor: pointer;
11402
- font-family: inherit;
11403
- box-shadow: var(--shadow-level4);
11404
-
11405
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11406
- -webkit-tap-highlight-color: transparent;
11407
- }
11408
-
11409
- .muka-fab:active {
11410
- transform: scale(0.96);
11411
- box-shadow: var(--shadow-level3);
11396
+ transition: background-color 0.2s ease, border-color 0.2s ease;
11397
+ text-align: center;
11398
+ min-height: 120px;
11412
11399
  }
11413
11400
 
11414
- .muka-fab:focus-visible {
11415
- outline: 2px solid var(--color-action-default);
11401
+ .muka-fileupload:focus-visible {
11402
+ outline: 2px solid var(--color-border-focus);
11416
11403
  outline-offset: 2px;
11417
11404
  }
11418
11405
 
11419
- .muka-fab:disabled {
11420
- opacity: 0.5;
11421
- cursor: not-allowed;
11422
- box-shadow: none;
11406
+ /* Size variants */
11407
+ .muka-fileupload--sm {
11408
+ padding: var(--fileupload-dropzone-padding-sm);
11409
+ min-height: 80px;
11423
11410
  }
11424
11411
 
11425
- /* ─── Variants ────────────────────────────────────────── */
11426
-
11427
- .muka-fab--primary {
11428
- background-color: var(--color-action-default);
11429
- color: var(--color-text-default-inverse);
11412
+ .muka-fileupload--lg {
11413
+ padding: var(--fileupload-dropzone-padding-lg);
11414
+ min-height: 160px;
11430
11415
  }
11431
11416
 
11432
- .muka-fab--primary:hover:not(:disabled) {
11417
+ /* Button variant */
11418
+ .muka-fileupload--button {
11419
+ flex-direction: row;
11420
+ min-height: auto;
11421
+ padding: var(--spacing-2) var(--spacing-3);
11422
+ border-style: solid;
11423
+ border-width: var(--border-width-regular);
11424
+ border-radius: var(--border-radius-md);
11425
+ }
11426
+
11427
+ /* Hover state */
11428
+ .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11429
+ background-color: var(--fileupload-dropzone-color-hover-background);
11430
+ border-color: var(--fileupload-dropzone-color-hover-border);
11431
+ }
11432
+
11433
+ /* Active/drag state */
11434
+ .muka-fileupload--active:not(.muka-fileupload--disabled) {
11435
+ background-color: var(--fileupload-dropzone-color-active-background);
11436
+ border-color: var(--fileupload-dropzone-color-active-border);
11437
+ }
11438
+
11439
+ /* Disabled state */
11440
+ .muka-fileupload--disabled {
11441
+ background-color: var(--fileupload-dropzone-color-disabled-background);
11442
+ border-color: var(--fileupload-dropzone-color-disabled-border);
11443
+ cursor: not-allowed;
11444
+ opacity: 0.6;
11445
+ }
11446
+
11447
+ /* Hidden file input */
11448
+ .muka-fileupload__input {
11449
+ position: absolute;
11450
+ width: 1px;
11451
+ height: 1px;
11452
+ padding: 0;
11453
+ margin: -1px;
11454
+ overflow: hidden;
11455
+ clip: rect(0, 0, 0, 0);
11456
+ white-space: nowrap;
11457
+ border: 0;
11458
+ }
11459
+
11460
+ /* Content container */
11461
+ .muka-fileupload__content {
11462
+ display: flex;
11463
+ flex-direction: column;
11464
+ align-items: center;
11465
+ gap: var(--spacing-2);
11466
+ }
11467
+
11468
+ /* Upload icon */
11469
+ .muka-fileupload__icon {
11470
+ display: flex;
11471
+ align-items: center;
11472
+ justify-content: center;
11473
+ width: var(--size-3xl);
11474
+ height: var(--size-3xl);
11475
+ color: var(--fileupload-dropzone-color-default-foreground);
11476
+ }
11477
+
11478
+ .muka-fileupload__icon svg {
11479
+ width: 100%;
11480
+ height: 100%;
11481
+ }
11482
+
11483
+ .muka-fileupload--sm .muka-fileupload__icon {
11484
+ width: var(--size-2xl);
11485
+ height: var(--size-2xl);
11486
+ }
11487
+
11488
+ .muka-fileupload--lg .muka-fileupload__icon {
11489
+ width: var(--size-4xl);
11490
+ height: var(--size-4xl);
11491
+ }
11492
+
11493
+ /* Text */
11494
+ .muka-fileupload__text {
11495
+ font-family: var(--text-body-base-regular-fontFamily);
11496
+ font-size: var(--text-body-base-regular-fontSize);
11497
+ font-weight: var(--text-body-base-regular-fontWeight);
11498
+ line-height: var(--text-body-base-regular-lineHeight);
11499
+ color: var(--color-text-default-default);
11500
+ }
11501
+
11502
+ .muka-fileupload--sm .muka-fileupload__text {
11503
+ font-size: var(--text-body-sm-regular-fontSize);
11504
+ }
11505
+
11506
+ /* Hint text */
11507
+ .muka-fileupload__hint {
11508
+ font-family: var(--text-label-sm-regular-fontFamily);
11509
+ font-size: var(--text-label-sm-regular-fontSize);
11510
+ font-weight: var(--text-label-sm-regular-fontWeight);
11511
+ line-height: var(--text-label-sm-regular-lineHeight);
11512
+ color: var(--fileupload-dropzone-color-default-foreground);
11513
+ }
11514
+
11515
+ /* File list */
11516
+ .muka-fileupload__list {
11517
+ display: flex;
11518
+ flex-direction: column;
11519
+ gap: var(--spacing-2);
11520
+ list-style: none;
11521
+ margin: 0;
11522
+ padding: 0;
11523
+ }
11524
+
11525
+ .muka-fileupload__list li {
11526
+ margin: 0;
11527
+ padding: 0;
11528
+ }
11529
+
11530
+ /* File item */
11531
+ .muka-fileupload-item {
11532
+ display: flex;
11533
+ align-items: center;
11534
+ gap: var(--fileupload-item-gap);
11535
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11536
+ background-color: var(--fileupload-item-color-default-background);
11537
+ border-radius: var(--fileupload-item-radius);
11538
+ }
11539
+
11540
+ .muka-fileupload-item--error {
11541
+ background-color: var(--fileupload-item-color-error-background);
11542
+ }
11543
+
11544
+ .muka-fileupload-item--success {
11545
+ background-color: var(--fileupload-item-color-default-background);
11546
+ }
11547
+
11548
+ /* Preview/Icon container */
11549
+ .muka-fileupload-item__preview {
11550
+ display: flex;
11551
+ align-items: center;
11552
+ justify-content: center;
11553
+ flex-shrink: 0;
11554
+ width: var(--fileupload-preview-size);
11555
+ height: var(--fileupload-preview-size);
11556
+ border-radius: var(--fileupload-preview-radius);
11557
+ overflow: hidden;
11558
+ background-color: var(--color-surface-level1);
11559
+ }
11560
+
11561
+ .muka-fileupload-item__thumbnail {
11562
+ width: 100%;
11563
+ height: 100%;
11564
+ object-fit: cover;
11565
+ }
11566
+
11567
+ .muka-fileupload-item__icon {
11568
+ color: var(--color-text-subtle-default);
11569
+ }
11570
+
11571
+ /* File info */
11572
+ .muka-fileupload-item__info {
11573
+ flex: 1;
11574
+ min-width: 0;
11575
+ display: flex;
11576
+ flex-direction: column;
11577
+ gap: var(--spacing-1);
11578
+ }
11579
+
11580
+ .muka-fileupload-item__name {
11581
+ font-family: var(--text-body-sm-regular-fontFamily);
11582
+ font-size: var(--text-body-sm-regular-fontSize);
11583
+ font-weight: var(--text-body-sm-regular-fontWeight);
11584
+ line-height: var(--text-body-sm-regular-lineHeight);
11585
+ color: var(--fileupload-item-color-default-foreground);
11586
+ white-space: nowrap;
11587
+ overflow: hidden;
11588
+ text-overflow: ellipsis;
11589
+ }
11590
+
11591
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11592
+ color: var(--fileupload-item-color-error-foreground);
11593
+ }
11594
+
11595
+ .muka-fileupload-item__meta {
11596
+ font-family: var(--text-label-sm-regular-fontFamily);
11597
+ font-size: var(--text-label-sm-regular-fontSize);
11598
+ font-weight: var(--text-label-sm-regular-fontWeight);
11599
+ line-height: var(--text-label-sm-regular-lineHeight);
11600
+ color: var(--color-text-subtle-default);
11601
+ }
11602
+
11603
+ .muka-fileupload-item__error {
11604
+ color: var(--fileupload-item-color-error-foreground);
11605
+ }
11606
+
11607
+ .muka-fileupload-item__progress {
11608
+ margin-top: var(--spacing-1);
11609
+ }
11610
+
11611
+ /* Actions */
11612
+ .muka-fileupload-item__actions {
11613
+ display: flex;
11614
+ align-items: center;
11615
+ gap: var(--spacing-2);
11616
+ flex-shrink: 0;
11617
+ }
11618
+
11619
+ .muka-fileupload-item__status-icon--success {
11620
+ color: var(--fileupload-item-color-success-foreground);
11621
+ }
11622
+
11623
+ .muka-fileupload-item__status-icon--error {
11624
+ color: var(--fileupload-item-color-error-foreground);
11625
+ }
11626
+
11627
+ .muka-fileupload-item__remove {
11628
+ opacity: 0.7;
11629
+ }
11630
+
11631
+ .muka-fileupload-item__remove:hover {
11632
+ opacity: 1;
11633
+ }
11634
+
11635
+
11636
+ /* FAB */
11637
+ /* FAB (Floating Action Button) Component Styles */
11638
+
11639
+ .muka-fab {
11640
+ position: fixed;
11641
+ z-index: 40;
11642
+
11643
+ display: inline-flex;
11644
+ align-items: center;
11645
+ justify-content: center;
11646
+ gap: var(--spacing-2);
11647
+
11648
+ border: none;
11649
+ cursor: pointer;
11650
+ font-family: inherit;
11651
+ box-shadow: var(--shadow-level4);
11652
+
11653
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11654
+ -webkit-tap-highlight-color: transparent;
11655
+ }
11656
+
11657
+ .muka-fab:active {
11658
+ transform: scale(0.96);
11659
+ box-shadow: var(--shadow-level3);
11660
+ }
11661
+
11662
+ .muka-fab:focus-visible {
11663
+ outline: 2px solid var(--color-action-default);
11664
+ outline-offset: 2px;
11665
+ }
11666
+
11667
+ .muka-fab:disabled {
11668
+ opacity: 0.5;
11669
+ cursor: not-allowed;
11670
+ box-shadow: none;
11671
+ }
11672
+
11673
+ /* ─── Variants ────────────────────────────────────────── */
11674
+
11675
+ .muka-fab--primary {
11676
+ background-color: var(--color-action-default);
11677
+ color: var(--color-text-default-inverse);
11678
+ }
11679
+
11680
+ .muka-fab--primary:hover:not(:disabled) {
11433
11681
  background-color: var(--color-action-hover);
11434
11682
  }
11435
11683
 
@@ -11625,307 +11873,45 @@ li.muka-listitem {
11625
11873
  .muka-emptystate--lg .muka-emptystate__title {
11626
11874
  font-family: var(--text-heading-md-fontFamily);
11627
11875
  font-weight: var(--text-heading-md-fontWeight);
11628
- font-size: var(--text-heading-md-fontSize);
11629
- line-height: var(--text-heading-md-lineHeight);
11630
- }
11631
-
11632
- /* Description */
11633
- .muka-emptystate__description {
11634
- color: var(--emptystate-description-color);
11635
- margin: 0;
11636
- font-family: var(--text-body-sm-regular-fontFamily);
11637
- font-weight: var(--text-body-sm-regular-fontWeight);
11638
- font-size: var(--text-body-sm-regular-fontSize);
11639
- line-height: var(--text-body-sm-regular-lineHeight);
11640
- }
11641
-
11642
- .muka-emptystate--md .muka-emptystate__description {
11643
- font-family: var(--text-body-base-regular-fontFamily);
11644
- font-weight: var(--text-body-base-regular-fontWeight);
11645
- font-size: var(--text-body-base-regular-fontSize);
11646
- line-height: var(--text-body-base-regular-lineHeight);
11647
- }
11648
-
11649
- .muka-emptystate--lg .muka-emptystate__description {
11650
- font-family: var(--text-body-lg-regular-fontFamily);
11651
- font-weight: var(--text-body-lg-regular-fontWeight);
11652
- font-size: var(--text-body-lg-regular-fontSize);
11653
- line-height: var(--text-body-lg-regular-lineHeight);
11654
- }
11655
-
11656
- /* Actions */
11657
- .muka-emptystate__actions {
11658
- display: flex;
11659
- gap: var(--emptystate-actions-gap);
11660
- margin-top: var(--emptystate-actions-marginTop);
11661
- flex-wrap: wrap;
11662
- justify-content: center;
11663
- }
11664
-
11665
- .muka-emptystate--left .muka-emptystate__actions {
11666
- justify-content: flex-start;
11667
- }
11668
-
11669
-
11670
- /* FileUpload */
11671
- /* FileUpload Component Styles */
11672
-
11673
- .muka-fileupload-wrapper {
11674
- display: flex;
11675
- flex-direction: column;
11676
- gap: var(--spacing-3);
11677
- width: 100%;
11678
- }
11679
-
11680
- /* Dropzone */
11681
- .muka-fileupload {
11682
- display: flex;
11683
- flex-direction: column;
11684
- align-items: center;
11685
- justify-content: center;
11686
- gap: var(--fileupload-dropzone-gap);
11687
- padding: var(--fileupload-dropzone-padding-md);
11688
- background-color: var(--fileupload-dropzone-color-default-background);
11689
- border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11690
- border-radius: var(--fileupload-dropzone-radius);
11691
- cursor: pointer;
11692
- transition: background-color 0.2s ease, border-color 0.2s ease;
11693
- text-align: center;
11694
- min-height: 120px;
11695
- }
11696
-
11697
- .muka-fileupload:focus-visible {
11698
- outline: 2px solid var(--color-border-focus);
11699
- outline-offset: 2px;
11700
- }
11701
-
11702
- /* Size variants */
11703
- .muka-fileupload--sm {
11704
- padding: var(--fileupload-dropzone-padding-sm);
11705
- min-height: 80px;
11706
- }
11707
-
11708
- .muka-fileupload--lg {
11709
- padding: var(--fileupload-dropzone-padding-lg);
11710
- min-height: 160px;
11711
- }
11712
-
11713
- /* Button variant */
11714
- .muka-fileupload--button {
11715
- flex-direction: row;
11716
- min-height: auto;
11717
- padding: var(--spacing-2) var(--spacing-3);
11718
- border-style: solid;
11719
- border-width: var(--border-width-regular);
11720
- border-radius: var(--border-radius-md);
11721
- }
11722
-
11723
- /* Hover state */
11724
- .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11725
- background-color: var(--fileupload-dropzone-color-hover-background);
11726
- border-color: var(--fileupload-dropzone-color-hover-border);
11727
- }
11728
-
11729
- /* Active/drag state */
11730
- .muka-fileupload--active:not(.muka-fileupload--disabled) {
11731
- background-color: var(--fileupload-dropzone-color-active-background);
11732
- border-color: var(--fileupload-dropzone-color-active-border);
11733
- }
11734
-
11735
- /* Disabled state */
11736
- .muka-fileupload--disabled {
11737
- background-color: var(--fileupload-dropzone-color-disabled-background);
11738
- border-color: var(--fileupload-dropzone-color-disabled-border);
11739
- cursor: not-allowed;
11740
- opacity: 0.6;
11741
- }
11742
-
11743
- /* Hidden file input */
11744
- .muka-fileupload__input {
11745
- position: absolute;
11746
- width: 1px;
11747
- height: 1px;
11748
- padding: 0;
11749
- margin: -1px;
11750
- overflow: hidden;
11751
- clip: rect(0, 0, 0, 0);
11752
- white-space: nowrap;
11753
- border: 0;
11754
- }
11755
-
11756
- /* Content container */
11757
- .muka-fileupload__content {
11758
- display: flex;
11759
- flex-direction: column;
11760
- align-items: center;
11761
- gap: var(--spacing-2);
11762
- }
11763
-
11764
- /* Upload icon */
11765
- .muka-fileupload__icon {
11766
- display: flex;
11767
- align-items: center;
11768
- justify-content: center;
11769
- width: var(--size-3xl);
11770
- height: var(--size-3xl);
11771
- color: var(--fileupload-dropzone-color-default-foreground);
11772
- }
11773
-
11774
- .muka-fileupload__icon svg {
11775
- width: 100%;
11776
- height: 100%;
11777
- }
11778
-
11779
- .muka-fileupload--sm .muka-fileupload__icon {
11780
- width: var(--size-2xl);
11781
- height: var(--size-2xl);
11782
- }
11783
-
11784
- .muka-fileupload--lg .muka-fileupload__icon {
11785
- width: var(--size-4xl);
11786
- height: var(--size-4xl);
11787
- }
11788
-
11789
- /* Text */
11790
- .muka-fileupload__text {
11791
- font-family: var(--text-body-base-regular-fontFamily);
11792
- font-size: var(--text-body-base-regular-fontSize);
11793
- font-weight: var(--text-body-base-regular-fontWeight);
11794
- line-height: var(--text-body-base-regular-lineHeight);
11795
- color: var(--color-text-default-default);
11796
- }
11797
-
11798
- .muka-fileupload--sm .muka-fileupload__text {
11799
- font-size: var(--text-body-sm-regular-fontSize);
11800
- }
11801
-
11802
- /* Hint text */
11803
- .muka-fileupload__hint {
11804
- font-family: var(--text-label-sm-regular-fontFamily);
11805
- font-size: var(--text-label-sm-regular-fontSize);
11806
- font-weight: var(--text-label-sm-regular-fontWeight);
11807
- line-height: var(--text-label-sm-regular-lineHeight);
11808
- color: var(--fileupload-dropzone-color-default-foreground);
11809
- }
11810
-
11811
- /* File list */
11812
- .muka-fileupload__list {
11813
- display: flex;
11814
- flex-direction: column;
11815
- gap: var(--spacing-2);
11816
- list-style: none;
11817
- margin: 0;
11818
- padding: 0;
11819
- }
11820
-
11821
- .muka-fileupload__list li {
11822
- margin: 0;
11823
- padding: 0;
11824
- }
11825
-
11826
- /* File item */
11827
- .muka-fileupload-item {
11828
- display: flex;
11829
- align-items: center;
11830
- gap: var(--fileupload-item-gap);
11831
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11832
- background-color: var(--fileupload-item-color-default-background);
11833
- border-radius: var(--fileupload-item-radius);
11834
- }
11835
-
11836
- .muka-fileupload-item--error {
11837
- background-color: var(--fileupload-item-color-error-background);
11838
- }
11839
-
11840
- .muka-fileupload-item--success {
11841
- background-color: var(--fileupload-item-color-default-background);
11842
- }
11843
-
11844
- /* Preview/Icon container */
11845
- .muka-fileupload-item__preview {
11846
- display: flex;
11847
- align-items: center;
11848
- justify-content: center;
11849
- flex-shrink: 0;
11850
- width: var(--fileupload-preview-size);
11851
- height: var(--fileupload-preview-size);
11852
- border-radius: var(--fileupload-preview-radius);
11853
- overflow: hidden;
11854
- background-color: var(--color-surface-level1);
11855
- }
11856
-
11857
- .muka-fileupload-item__thumbnail {
11858
- width: 100%;
11859
- height: 100%;
11860
- object-fit: cover;
11861
- }
11862
-
11863
- .muka-fileupload-item__icon {
11864
- color: var(--color-text-subtle-default);
11865
- }
11866
-
11867
- /* File info */
11868
- .muka-fileupload-item__info {
11869
- flex: 1;
11870
- min-width: 0;
11871
- display: flex;
11872
- flex-direction: column;
11873
- gap: var(--spacing-1);
11876
+ font-size: var(--text-heading-md-fontSize);
11877
+ line-height: var(--text-heading-md-lineHeight);
11874
11878
  }
11875
11879
 
11876
- .muka-fileupload-item__name {
11880
+ /* Description */
11881
+ .muka-emptystate__description {
11882
+ color: var(--emptystate-description-color);
11883
+ margin: 0;
11877
11884
  font-family: var(--text-body-sm-regular-fontFamily);
11878
- font-size: var(--text-body-sm-regular-fontSize);
11879
11885
  font-weight: var(--text-body-sm-regular-fontWeight);
11886
+ font-size: var(--text-body-sm-regular-fontSize);
11880
11887
  line-height: var(--text-body-sm-regular-lineHeight);
11881
- color: var(--fileupload-item-color-default-foreground);
11882
- white-space: nowrap;
11883
- overflow: hidden;
11884
- text-overflow: ellipsis;
11885
- }
11886
-
11887
- .muka-fileupload-item--error .muka-fileupload-item__name {
11888
- color: var(--fileupload-item-color-error-foreground);
11889
- }
11890
-
11891
- .muka-fileupload-item__meta {
11892
- font-family: var(--text-label-sm-regular-fontFamily);
11893
- font-size: var(--text-label-sm-regular-fontSize);
11894
- font-weight: var(--text-label-sm-regular-fontWeight);
11895
- line-height: var(--text-label-sm-regular-lineHeight);
11896
- color: var(--color-text-subtle-default);
11897
11888
  }
11898
11889
 
11899
- .muka-fileupload-item__error {
11900
- color: var(--fileupload-item-color-error-foreground);
11890
+ .muka-emptystate--md .muka-emptystate__description {
11891
+ font-family: var(--text-body-base-regular-fontFamily);
11892
+ font-weight: var(--text-body-base-regular-fontWeight);
11893
+ font-size: var(--text-body-base-regular-fontSize);
11894
+ line-height: var(--text-body-base-regular-lineHeight);
11901
11895
  }
11902
11896
 
11903
- .muka-fileupload-item__progress {
11904
- margin-top: var(--spacing-1);
11897
+ .muka-emptystate--lg .muka-emptystate__description {
11898
+ font-family: var(--text-body-lg-regular-fontFamily);
11899
+ font-weight: var(--text-body-lg-regular-fontWeight);
11900
+ font-size: var(--text-body-lg-regular-fontSize);
11901
+ line-height: var(--text-body-lg-regular-lineHeight);
11905
11902
  }
11906
11903
 
11907
11904
  /* Actions */
11908
- .muka-fileupload-item__actions {
11905
+ .muka-emptystate__actions {
11909
11906
  display: flex;
11910
- align-items: center;
11911
- gap: var(--spacing-2);
11912
- flex-shrink: 0;
11913
- }
11914
-
11915
- .muka-fileupload-item__status-icon--success {
11916
- color: var(--fileupload-item-color-success-foreground);
11917
- }
11918
-
11919
- .muka-fileupload-item__status-icon--error {
11920
- color: var(--fileupload-item-color-error-foreground);
11921
- }
11922
-
11923
- .muka-fileupload-item__remove {
11924
- opacity: 0.7;
11907
+ gap: var(--emptystate-actions-gap);
11908
+ margin-top: var(--emptystate-actions-marginTop);
11909
+ flex-wrap: wrap;
11910
+ justify-content: center;
11925
11911
  }
11926
11912
 
11927
- .muka-fileupload-item__remove:hover {
11928
- opacity: 1;
11913
+ .muka-emptystate--left .muka-emptystate__actions {
11914
+ justify-content: flex-start;
11929
11915
  }
11930
11916
 
11931
11917
 
@@ -12122,248 +12108,60 @@ li.muka-listitem {
12122
12108
  border-radius: inherit;
12123
12109
  background: transparent;
12124
12110
  color: var(--color-text-subtle-default);
12125
- cursor: pointer;
12126
- }
12127
-
12128
- .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12129
- align-items: flex-start;
12130
- padding-top: calc(var(--spacing-2) + 8px);
12131
- }
12132
-
12133
- .muka-dropdown-select__chevron {
12134
- display: inline-flex;
12135
- align-items: center;
12136
- justify-content: center;
12137
- width: var(--size-2xl, 2rem);
12138
- height: var(--size-2xl, 2rem);
12139
- pointer-events: none;
12140
- color: var(--color-text-subtle-default);
12141
- }
12142
-
12143
- .muka-dropdown-select__chevron .muka-icon,
12144
- .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12145
- .muka-dropdown-select__menu-button:hover .muka-icon {
12146
- color: var(--color-text-subtle-default);
12147
- }
12148
-
12149
- .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12150
- width: var(--size-xl, 1.5rem);
12151
- height: var(--size-xl, 1.5rem);
12152
- }
12153
-
12154
- .muka-dropdown-select__menu-button:focus-visible {
12155
- outline: 2px solid var(--color-border-focus, var(--color-action-default));
12156
- outline-offset: 2px;
12157
- }
12158
-
12159
- .muka-dropdown-select__helper {
12160
- margin: 0;
12161
- color: var(--color-text-subtle-default);
12162
- font-family: var(--text-label-sm-regular-fontFamily);
12163
- font-size: var(--text-label-sm-regular-fontSize);
12164
- font-weight: var(--text-label-sm-regular-fontWeight);
12165
- line-height: var(--text-label-sm-regular-lineHeight);
12166
- }
12167
-
12168
- .muka-dropdown-select__error {
12169
- margin: 0;
12170
- color: var(--color-state-error-default);
12171
- font-family: var(--text-label-sm-regular-fontFamily);
12172
- font-size: var(--text-label-sm-regular-fontSize);
12173
- font-weight: var(--text-label-sm-regular-fontWeight);
12174
- line-height: var(--text-label-sm-regular-lineHeight);
12175
- }
12176
-
12177
- .muka-dropdown-select__menu {
12178
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12179
- }
12180
-
12181
-
12182
- /* Drawer */
12183
- /* Drawer Component Styles */
12184
-
12185
- /* Size tokens (local to Drawer) */
12186
- .muka-drawer {
12187
- --drawer-width-sm: 18rem;
12188
- --drawer-width-md: 26rem;
12189
- --drawer-width-lg: 36rem;
12190
- }
12191
-
12192
- /* Reset native dialog */
12193
- .muka-drawer {
12194
- border: none;
12195
- padding: 0;
12196
- max-width: none;
12197
- max-height: none;
12198
- background: transparent;
12199
- overflow: visible;
12200
- }
12201
-
12202
- /* Backdrop */
12203
- .muka-drawer::backdrop {
12204
- background-color: var(--color-surface-backdrop);
12205
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
12206
- backdrop-filter: blur(var(--effect-blur-backdrop));
12207
- opacity: 0;
12208
- transition: opacity 200ms ease;
12209
- }
12210
-
12211
- .muka-drawer--slide-in::backdrop {
12212
- opacity: 1;
12213
- }
12214
-
12215
- /* Surface */
12216
- .muka-drawer__surface {
12217
- display: flex;
12218
- flex-direction: column;
12219
- background-color: var(--color-surface-level3);
12220
- box-shadow: var(--shadow-level5);
12221
- height: 100%;
12222
- overflow: hidden;
12223
- position: fixed;
12224
- transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
12225
- }
12226
-
12227
- /* Side positioning + initial transforms */
12228
- .muka-drawer--right .muka-drawer__surface {
12229
- top: 0;
12230
- right: 0;
12231
- bottom: 0;
12232
- border-radius: var(--radius-lg) 0 0 var(--radius-lg);
12233
- transform: translateX(100%);
12234
- }
12235
-
12236
- .muka-drawer--left .muka-drawer__surface {
12237
- top: 0;
12238
- left: 0;
12239
- bottom: 0;
12240
- border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
12241
- transform: translateX(-100%);
12242
- }
12243
-
12244
- .muka-drawer--bottom .muka-drawer__surface {
12245
- left: 0;
12246
- right: 0;
12247
- bottom: 0;
12248
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
12249
- transform: translateY(100%);
12250
- }
12251
-
12252
- .muka-drawer--top .muka-drawer__surface {
12253
- left: 0;
12254
- right: 0;
12255
- top: 0;
12256
- border-radius: 0 0 var(--radius-lg) var(--radius-lg);
12257
- transform: translateY(-100%);
12258
- }
12259
-
12260
- /* Slide-in state */
12261
- .muka-drawer--slide-in .muka-drawer__surface {
12262
- transform: translate(0, 0);
12263
- }
12264
-
12265
- /* Width sizes (left/right) */
12266
- .muka-drawer--right .muka-drawer__surface,
12267
- .muka-drawer--left .muka-drawer__surface {
12268
- width: var(--drawer-width-md);
12269
- }
12270
-
12271
- .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
12272
- .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
12273
- width: var(--drawer-width-sm);
12274
- }
12275
-
12276
- .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
12277
- .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
12278
- width: var(--drawer-width-lg);
12279
- }
12280
-
12281
- .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
12282
- .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
12283
- width: 100%;
12284
- }
12285
-
12286
- /* Height sizes (top/bottom) */
12287
- .muka-drawer--top .muka-drawer__surface,
12288
- .muka-drawer--bottom .muka-drawer__surface {
12289
- height: auto;
12290
- max-height: 80vh;
12291
- }
12292
-
12293
- .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
12294
- .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
12295
- max-height: 100vh;
12296
- }
12297
-
12298
- /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
12299
- .muka-drawer .muka-topbar {
12300
- position: relative;
12301
- z-index: 1;
12302
- flex-shrink: 0;
12303
- }
12304
-
12305
- /* Body */
12306
- .muka-drawer__body {
12307
- flex: 1;
12308
- overflow-y: auto;
12309
- padding: var(--drawer-padding-x);
12310
- }
12311
-
12312
- /* Roomier body on desktop; the header and footer keep their padding */
12313
- @media (min-width: 1024px) {
12314
- .muka-drawer__body {
12315
- padding: var(--drawer-padding-x-desktop);
12316
- }
12111
+ cursor: pointer;
12317
12112
  }
12318
12113
 
12319
- /* Footer */
12320
- .muka-drawer__footer {
12321
- padding: var(--spacing-4);
12322
- border-top: var(--border-width-regular) solid var(--color-border-default);
12323
- flex-shrink: 0;
12114
+ .muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
12115
+ align-items: flex-start;
12116
+ padding-top: calc(var(--spacing-2) + 8px);
12324
12117
  }
12325
12118
 
12326
- /* ─── Safe areas (notch, status bar, home indicator) ────
12327
- env(safe-area-inset-*) is 0 outside notched devices, so these only change
12328
- an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
12119
+ .muka-dropdown-select__chevron {
12120
+ display: inline-flex;
12121
+ align-items: center;
12122
+ justify-content: center;
12123
+ width: var(--size-2xl, 2rem);
12124
+ height: var(--size-2xl, 2rem);
12125
+ pointer-events: none;
12126
+ color: var(--color-text-subtle-default);
12127
+ }
12329
12128
 
12330
- /* Top edge. Side, top and full-height drawers reach the status bar: their
12331
- TopBar pads for it; without a header the surface does. A bottom drawer
12332
- stops short of it, so its TopBar must not. */
12333
- .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
12334
- .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
12335
- .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
12336
- padding-top: env(safe-area-inset-top, 0px);
12129
+ .muka-dropdown-select__chevron .muka-icon,
12130
+ .muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
12131
+ .muka-dropdown-select__menu-button:hover .muka-icon {
12132
+ color: var(--color-text-subtle-default);
12337
12133
  }
12338
12134
 
12339
- .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
12340
- padding-top: 0;
12135
+ .muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
12136
+ width: var(--size-xl, 1.5rem);
12137
+ height: var(--size-xl, 1.5rem);
12341
12138
  }
12342
12139
 
12343
- /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
12344
- pads for it, or the surface when there is no footer. */
12345
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
12346
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
12140
+ .muka-dropdown-select__menu-button:focus-visible {
12141
+ outline: 2px solid var(--color-border-focus, var(--color-action-default));
12142
+ outline-offset: 2px;
12347
12143
  }
12348
12144
 
12349
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
12350
- padding-bottom: env(safe-area-inset-bottom, 0px);
12145
+ .muka-dropdown-select__helper {
12146
+ margin: 0;
12147
+ color: var(--color-text-subtle-default);
12148
+ font-family: var(--text-label-sm-regular-fontFamily);
12149
+ font-size: var(--text-label-sm-regular-fontSize);
12150
+ font-weight: var(--text-label-sm-regular-fontWeight);
12151
+ line-height: var(--text-label-sm-regular-lineHeight);
12351
12152
  }
12352
12153
 
12353
- /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
12354
- already insets its own content. */
12355
- @media (max-width: 1023px) {
12356
- .muka-drawer--left .muka-drawer__body,
12357
- .muka-drawer--top .muka-drawer__body,
12358
- .muka-drawer--bottom .muka-drawer__body {
12359
- padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
12360
- }
12154
+ .muka-dropdown-select__error {
12155
+ margin: 0;
12156
+ color: var(--color-state-error-default);
12157
+ font-family: var(--text-label-sm-regular-fontFamily);
12158
+ font-size: var(--text-label-sm-regular-fontSize);
12159
+ font-weight: var(--text-label-sm-regular-fontWeight);
12160
+ line-height: var(--text-label-sm-regular-lineHeight);
12161
+ }
12361
12162
 
12362
- .muka-drawer--right .muka-drawer__body,
12363
- .muka-drawer--top .muka-drawer__body,
12364
- .muka-drawer--bottom .muka-drawer__body {
12365
- padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
12366
- }
12163
+ .muka-dropdown-select__menu {
12164
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
12367
12165
  }
12368
12166
 
12369
12167
 
@@ -13865,47 +13663,235 @@ li.muka-listitem {
13865
13663
  line-height: var(--text-label-md-regular-lineHeight);
13866
13664
  }
13867
13665
 
13868
- .muka-combobox__input::placeholder {
13869
- color: var(--color-text-subtle-default);
13666
+ .muka-combobox__input::placeholder {
13667
+ color: var(--color-text-subtle-default);
13668
+ }
13669
+
13670
+ .muka-combobox__helper {
13671
+ margin: 0;
13672
+ color: var(--color-text-subtle-default);
13673
+ font-family: var(--text-label-sm-regular-fontFamily);
13674
+ font-size: var(--text-label-sm-regular-fontSize);
13675
+ font-weight: var(--text-label-sm-regular-fontWeight);
13676
+ line-height: var(--text-label-sm-regular-lineHeight);
13677
+ }
13678
+
13679
+ .muka-combobox__error {
13680
+ margin: 0;
13681
+ color: var(--color-state-error-default);
13682
+ font-family: var(--text-label-sm-regular-fontFamily);
13683
+ font-size: var(--text-label-sm-regular-fontSize);
13684
+ font-weight: var(--text-label-sm-regular-fontWeight);
13685
+ line-height: var(--text-label-sm-regular-lineHeight);
13686
+ }
13687
+
13688
+ .muka-combobox__menu-anchor {
13689
+ position: absolute;
13690
+ inset: 0;
13691
+ z-index: 0;
13692
+ width: 100%;
13693
+ height: 100%;
13694
+ margin: 0;
13695
+ padding: 0;
13696
+ border: none;
13697
+ background: transparent;
13698
+ pointer-events: none;
13699
+ opacity: 0;
13700
+ }
13701
+
13702
+ .muka-combobox__menu {
13703
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13704
+ min-width: var(--menu-content-min-width);
13705
+ width: max-content;
13706
+ max-width: min(100vw - 2rem, 24rem);
13707
+ }
13708
+
13709
+
13710
+ /* Drawer */
13711
+ /* Drawer Component Styles */
13712
+
13713
+ /* Size tokens (local to Drawer) */
13714
+ .muka-drawer {
13715
+ --drawer-width-sm: 18rem;
13716
+ --drawer-width-md: 26rem;
13717
+ --drawer-width-lg: 36rem;
13718
+ }
13719
+
13720
+ /* Reset native dialog */
13721
+ .muka-drawer {
13722
+ border: none;
13723
+ padding: 0;
13724
+ max-width: none;
13725
+ max-height: none;
13726
+ background: transparent;
13727
+ overflow: visible;
13728
+ }
13729
+
13730
+ /* Backdrop */
13731
+ .muka-drawer::backdrop {
13732
+ background-color: var(--color-surface-backdrop);
13733
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
13734
+ backdrop-filter: blur(var(--effect-blur-backdrop));
13735
+ opacity: 0;
13736
+ transition: opacity 200ms ease;
13737
+ }
13738
+
13739
+ .muka-drawer--slide-in::backdrop {
13740
+ opacity: 1;
13741
+ }
13742
+
13743
+ /* Surface */
13744
+ .muka-drawer__surface {
13745
+ display: flex;
13746
+ flex-direction: column;
13747
+ background-color: var(--color-surface-level3);
13748
+ box-shadow: var(--shadow-level5);
13749
+ height: 100%;
13750
+ overflow: hidden;
13751
+ position: fixed;
13752
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
13753
+ }
13754
+
13755
+ /* Side positioning + initial transforms */
13756
+ .muka-drawer--right .muka-drawer__surface {
13757
+ top: 0;
13758
+ right: 0;
13759
+ bottom: 0;
13760
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
13761
+ transform: translateX(100%);
13762
+ }
13763
+
13764
+ .muka-drawer--left .muka-drawer__surface {
13765
+ top: 0;
13766
+ left: 0;
13767
+ bottom: 0;
13768
+ border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
13769
+ transform: translateX(-100%);
13770
+ }
13771
+
13772
+ .muka-drawer--bottom .muka-drawer__surface {
13773
+ left: 0;
13774
+ right: 0;
13775
+ bottom: 0;
13776
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
13777
+ transform: translateY(100%);
13778
+ }
13779
+
13780
+ .muka-drawer--top .muka-drawer__surface {
13781
+ left: 0;
13782
+ right: 0;
13783
+ top: 0;
13784
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
13785
+ transform: translateY(-100%);
13786
+ }
13787
+
13788
+ /* Slide-in state */
13789
+ .muka-drawer--slide-in .muka-drawer__surface {
13790
+ transform: translate(0, 0);
13791
+ }
13792
+
13793
+ /* Width sizes (left/right) */
13794
+ .muka-drawer--right .muka-drawer__surface,
13795
+ .muka-drawer--left .muka-drawer__surface {
13796
+ width: var(--drawer-width-md);
13797
+ }
13798
+
13799
+ .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
13800
+ .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
13801
+ width: var(--drawer-width-sm);
13802
+ }
13803
+
13804
+ .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
13805
+ .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
13806
+ width: var(--drawer-width-lg);
13807
+ }
13808
+
13809
+ .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
13810
+ .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
13811
+ width: 100%;
13812
+ }
13813
+
13814
+ /* Height sizes (top/bottom) */
13815
+ .muka-drawer--top .muka-drawer__surface,
13816
+ .muka-drawer--bottom .muka-drawer__surface {
13817
+ height: auto;
13818
+ max-height: 80vh;
13819
+ }
13820
+
13821
+ .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
13822
+ .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
13823
+ max-height: 100vh;
13824
+ }
13825
+
13826
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
13827
+ .muka-drawer .muka-topbar {
13828
+ position: relative;
13829
+ z-index: 1;
13830
+ flex-shrink: 0;
13831
+ }
13832
+
13833
+ /* Body */
13834
+ .muka-drawer__body {
13835
+ flex: 1;
13836
+ overflow-y: auto;
13837
+ padding: var(--drawer-padding-x);
13838
+ }
13839
+
13840
+ /* Roomier body on desktop; the header and footer keep their padding */
13841
+ @media (min-width: 1024px) {
13842
+ .muka-drawer__body {
13843
+ padding: var(--drawer-padding-x-desktop);
13844
+ }
13845
+ }
13846
+
13847
+ /* Footer */
13848
+ .muka-drawer__footer {
13849
+ padding: var(--spacing-4);
13850
+ border-top: var(--border-width-regular) solid var(--color-border-default);
13851
+ flex-shrink: 0;
13870
13852
  }
13871
13853
 
13872
- .muka-combobox__helper {
13873
- margin: 0;
13874
- color: var(--color-text-subtle-default);
13875
- font-family: var(--text-label-sm-regular-fontFamily);
13876
- font-size: var(--text-label-sm-regular-fontSize);
13877
- font-weight: var(--text-label-sm-regular-fontWeight);
13878
- line-height: var(--text-label-sm-regular-lineHeight);
13854
+ /* ─── Safe areas (notch, status bar, home indicator) ────
13855
+ env(safe-area-inset-*) is 0 outside notched devices, so these only change
13856
+ an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
13857
+
13858
+ /* Top edge. Side, top and full-height drawers reach the status bar: their
13859
+ TopBar pads for it; without a header the surface does. A bottom drawer
13860
+ stops short of it, so its TopBar must not. */
13861
+ .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
13862
+ .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
13863
+ .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
13864
+ padding-top: env(safe-area-inset-top, 0px);
13879
13865
  }
13880
13866
 
13881
- .muka-combobox__error {
13882
- margin: 0;
13883
- color: var(--color-state-error-default);
13884
- font-family: var(--text-label-sm-regular-fontFamily);
13885
- font-size: var(--text-label-sm-regular-fontSize);
13886
- font-weight: var(--text-label-sm-regular-fontWeight);
13887
- line-height: var(--text-label-sm-regular-lineHeight);
13867
+ .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
13868
+ padding-top: 0;
13888
13869
  }
13889
13870
 
13890
- .muka-combobox__menu-anchor {
13891
- position: absolute;
13892
- inset: 0;
13893
- z-index: 0;
13894
- width: 100%;
13895
- height: 100%;
13896
- margin: 0;
13897
- padding: 0;
13898
- border: none;
13899
- background: transparent;
13900
- pointer-events: none;
13901
- opacity: 0;
13871
+ /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
13872
+ pads for it, or the surface when there is no footer. */
13873
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
13874
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
13902
13875
  }
13903
13876
 
13904
- .muka-combobox__menu {
13905
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13906
- min-width: var(--menu-content-min-width);
13907
- width: max-content;
13908
- max-width: min(100vw - 2rem, 24rem);
13877
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
13878
+ padding-bottom: env(safe-area-inset-bottom, 0px);
13879
+ }
13880
+
13881
+ /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
13882
+ already insets its own content. */
13883
+ @media (max-width: 1023px) {
13884
+ .muka-drawer--left .muka-drawer__body,
13885
+ .muka-drawer--top .muka-drawer__body,
13886
+ .muka-drawer--bottom .muka-drawer__body {
13887
+ padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
13888
+ }
13889
+
13890
+ .muka-drawer--right .muka-drawer__body,
13891
+ .muka-drawer--top .muka-drawer__body,
13892
+ .muka-drawer--bottom .muka-drawer__body {
13893
+ padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
13894
+ }
13909
13895
  }
13910
13896
 
13911
13897
 
@@ -14349,264 +14335,97 @@ button.muka-chip__trailing[aria-expanded='true'],
14349
14335
  justify-content: center;
14350
14336
  flex-shrink: 0;
14351
14337
  width: var(--icon-size-default);
14352
- height: var(--icon-size-default);
14353
- color: var(--color-text-default-default);
14354
- }
14355
-
14356
- .muka-checkbox-tile__icon svg {
14357
- width: 100%;
14358
- height: 100%;
14359
- }
14360
-
14361
- /* Image */
14362
- .muka-checkbox-tile__image {
14363
- flex-shrink: 0;
14364
- overflow: hidden;
14365
- border-radius: var(--border-radius-sm);
14366
- }
14367
-
14368
- .muka-checkbox-tile__image img {
14369
- display: block;
14370
- width: 100%;
14371
- height: 100%;
14372
- object-fit: cover;
14373
- }
14374
-
14375
- /* Horizontal image sizing */
14376
- .muka-checkbox-tile__image--horizontal {
14377
- width: 40px;
14378
- height: 40px;
14379
- }
14380
-
14381
- /* Vertical image sizing */
14382
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14383
- width: 100%;
14384
- aspect-ratio: 4/3;
14385
- }
14386
-
14387
- /* Content container */
14388
- .muka-checkbox-tile__content {
14389
- display: flex;
14390
- flex-direction: column;
14391
- flex: 1;
14392
- min-width: 0;
14393
- gap: var(--spacing-2);
14394
- }
14395
-
14396
- .muka-checkbox-tile__content-inner {
14397
- display: flex;
14398
- flex-direction: column;
14399
- gap: var(--spacing-1);
14400
- }
14401
-
14402
- /* Chip slot (replaces badge; use Chip component) */
14403
- .muka-checkbox-tile__chip {
14404
- flex-shrink: 0;
14405
- }
14406
-
14407
- .muka-checkbox-tile__chip--vertical {
14408
- margin-top: var(--spacing-1);
14409
- }
14410
-
14411
- /* Label */
14412
- .muka-checkbox-tile__label {
14413
- font-family: var(--text-body-lg-regular-fontFamily);
14414
- font-weight: var(--text-body-lg-regular-fontWeight);
14415
- font-size: var(--text-body-lg-regular-fontSize);
14416
- line-height: var(--text-body-lg-regular-lineHeight);
14417
- color: var(--color-text-default-default);
14418
- }
14419
-
14420
- .muka-checkbox-tile__label--bold {
14421
- font-family: var(--text-label-lg-semibold-fontFamily);
14422
- font-weight: var(--text-label-lg-semibold-fontWeight);
14423
- font-size: var(--text-label-lg-semibold-fontSize);
14424
- line-height: var(--text-label-lg-semibold-lineHeight);
14425
- }
14426
-
14427
- .muka-checkbox-tile__label--center {
14428
- text-align: center;
14429
- }
14430
-
14431
- /* Caption */
14432
- .muka-checkbox-tile__caption {
14433
- font-family: var(--text-body-base-regular-fontFamily);
14434
- font-weight: var(--text-body-base-regular-fontWeight);
14435
- font-size: var(--text-body-base-regular-fontSize);
14436
- line-height: var(--text-body-base-regular-lineHeight);
14437
- color: var(--color-text-subtle-default);
14438
- }
14439
-
14440
- /* Disabled states */
14441
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14442
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14443
- color: var(--color-text-subtle-default);
14444
- }
14445
-
14446
-
14447
- /* Checkbox */
14448
- /* Checkbox Component Styles - Using Muka Design Tokens */
14449
-
14450
- /* Wrapper - clickable label container */
14451
- .muka-checkbox {
14452
- display: inline-flex;
14453
- align-items: center;
14454
- gap: var(--spacing-4);
14455
- cursor: pointer;
14456
- user-select: none;
14457
- }
14458
-
14459
- .muka-checkbox--disabled {
14460
- cursor: not-allowed;
14461
- opacity: 0.6;
14462
- }
14463
-
14464
- /* Control container */
14465
- .muka-checkbox__control {
14466
- position: relative;
14467
- display: inline-flex;
14468
- align-items: center;
14469
- justify-content: center;
14470
- flex-shrink: 0;
14471
- }
14472
-
14473
- /* Hidden native input */
14474
- .muka-checkbox__input {
14475
- position: absolute;
14476
- width: 1px;
14477
- height: 1px;
14478
- padding: 0;
14479
- margin: -1px;
14480
- overflow: hidden;
14481
- clip: rect(0, 0, 0, 0);
14482
- white-space: nowrap;
14483
- border: 0;
14484
- }
14485
-
14486
- /* Visual indicator (square) */
14487
- .muka-checkbox__indicator {
14488
- display: flex;
14489
- align-items: center;
14490
- justify-content: center;
14491
- width: var(--checkbox-size-default);
14492
- height: var(--checkbox-size-default);
14493
- border-radius: var(--checkbox-radius);
14494
- background-color: var(--checkbox-color-default-background);
14495
- border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14496
- transition: all 0.15s ease;
14497
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14498
- }
14499
-
14500
- /* Size variants */
14501
- .muka-checkbox--sm .muka-checkbox__indicator {
14502
- width: var(--checkbox-size-sm);
14503
- height: var(--checkbox-size-sm);
14504
- }
14505
-
14506
- .muka-checkbox--lg .muka-checkbox__indicator {
14507
- width: var(--checkbox-size-lg);
14508
- height: var(--checkbox-size-lg);
14509
- }
14510
-
14511
- /* Icon inside checkbox */
14512
- .muka-checkbox__icon {
14513
- width: var(--checkbox-icon-size-default);
14514
- height: var(--checkbox-icon-size-default);
14515
- color: var(--checkbox-color-default-icon);
14516
- opacity: 0;
14517
- transform: scale(0.8);
14518
- transition: opacity 0.15s ease, transform 0.15s ease;
14519
- }
14520
-
14521
- .muka-checkbox--sm .muka-checkbox__icon {
14522
- width: var(--checkbox-icon-size-sm);
14523
- height: var(--checkbox-icon-size-sm);
14524
- }
14525
-
14526
- .muka-checkbox--lg .muka-checkbox__icon {
14527
- width: var(--checkbox-icon-size-lg);
14528
- height: var(--checkbox-icon-size-lg);
14529
- }
14530
-
14531
- /* Hide indeterminate icon by default */
14532
- .muka-checkbox__icon--indeterminate {
14533
- position: absolute;
14338
+ height: var(--icon-size-default);
14339
+ color: var(--color-text-default-default);
14534
14340
  }
14535
14341
 
14536
- /* Hover state - removed per design */
14342
+ .muka-checkbox-tile__icon svg {
14343
+ width: 100%;
14344
+ height: 100%;
14345
+ }
14537
14346
 
14538
- /* Focus state */
14539
- .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14540
- outline: 2px solid var(--color-border-focus);
14541
- outline-offset: 2px;
14347
+ /* Image */
14348
+ .muka-checkbox-tile__image {
14349
+ flex-shrink: 0;
14350
+ overflow: hidden;
14351
+ border-radius: var(--border-radius-sm);
14542
14352
  }
14543
14353
 
14544
- /* Checked state */
14545
- .muka-checkbox__input:checked + .muka-checkbox__indicator {
14546
- background-color: var(--checkbox-color-checked-background);
14547
- border-color: var(--checkbox-color-checked-border);
14548
- box-shadow: none;
14354
+ .muka-checkbox-tile__image img {
14355
+ display: block;
14356
+ width: 100%;
14357
+ height: 100%;
14358
+ object-fit: cover;
14549
14359
  }
14550
14360
 
14551
- .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14552
- color: var(--checkbox-color-checked-icon);
14553
- opacity: 1;
14554
- transform: scale(1);
14361
+ /* Horizontal image sizing */
14362
+ .muka-checkbox-tile__image--horizontal {
14363
+ width: 40px;
14364
+ height: 40px;
14555
14365
  }
14556
14366
 
14557
- /* Indeterminate state */
14558
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14559
- background-color: var(--checkbox-color-checked-background);
14560
- border-color: var(--checkbox-color-checked-border);
14561
- box-shadow: none;
14367
+ /* Vertical image sizing */
14368
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
14369
+ width: 100%;
14370
+ aspect-ratio: 4/3;
14562
14371
  }
14563
14372
 
14564
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14565
- opacity: 0;
14373
+ /* Content container */
14374
+ .muka-checkbox-tile__content {
14375
+ display: flex;
14376
+ flex-direction: column;
14377
+ flex: 1;
14378
+ min-width: 0;
14379
+ gap: var(--spacing-2);
14566
14380
  }
14567
14381
 
14568
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14569
- color: var(--checkbox-color-checked-icon);
14570
- opacity: 1;
14571
- transform: scale(1);
14382
+ .muka-checkbox-tile__content-inner {
14383
+ display: flex;
14384
+ flex-direction: column;
14385
+ gap: var(--spacing-1);
14572
14386
  }
14573
14387
 
14574
- /* Disabled state */
14575
- .muka-checkbox--disabled .muka-checkbox__indicator {
14576
- background-color: var(--checkbox-color-disabled-background);
14577
- border-color: var(--checkbox-color-disabled-border);
14578
- box-shadow: none;
14388
+ /* Chip slot (replaces badge; use Chip component) */
14389
+ .muka-checkbox-tile__chip {
14390
+ flex-shrink: 0;
14579
14391
  }
14580
14392
 
14581
- .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14582
- .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14583
- color: var(--checkbox-color-disabled-icon);
14393
+ .muka-checkbox-tile__chip--vertical {
14394
+ margin-top: var(--spacing-1);
14584
14395
  }
14585
14396
 
14586
- /* Label text */
14587
- .muka-checkbox__label {
14588
- font-family: var(--text-label-lg-regular-fontFamily);
14589
- font-weight: var(--text-label-lg-regular-fontWeight);
14590
- font-size: var(--text-label-lg-regular-fontSize);
14591
- line-height: var(--text-label-lg-regular-lineHeight);
14397
+ /* Label */
14398
+ .muka-checkbox-tile__label {
14399
+ font-family: var(--text-body-lg-regular-fontFamily);
14400
+ font-weight: var(--text-body-lg-regular-fontWeight);
14401
+ font-size: var(--text-body-lg-regular-fontSize);
14402
+ line-height: var(--text-body-lg-regular-lineHeight);
14592
14403
  color: var(--color-text-default-default);
14593
14404
  }
14594
14405
 
14595
- .muka-checkbox--sm .muka-checkbox__label {
14596
- font-family: var(--text-label-md-regular-fontFamily);
14597
- font-weight: var(--text-label-md-regular-fontWeight);
14598
- font-size: var(--text-label-md-regular-fontSize);
14599
- line-height: var(--text-label-md-regular-lineHeight);
14406
+ .muka-checkbox-tile__label--bold {
14407
+ font-family: var(--text-label-lg-semibold-fontFamily);
14408
+ font-weight: var(--text-label-lg-semibold-fontWeight);
14409
+ font-size: var(--text-label-lg-semibold-fontSize);
14410
+ line-height: var(--text-label-lg-semibold-lineHeight);
14600
14411
  }
14601
14412
 
14602
- .muka-checkbox--lg .muka-checkbox__label {
14603
- font-family: var(--text-label-xl-regular-fontFamily);
14604
- font-weight: var(--text-label-xl-regular-fontWeight);
14605
- font-size: var(--text-label-xl-regular-fontSize);
14606
- line-height: var(--text-label-xl-regular-lineHeight);
14413
+ .muka-checkbox-tile__label--center {
14414
+ text-align: center;
14607
14415
  }
14608
14416
 
14609
- .muka-checkbox--disabled .muka-checkbox__label {
14417
+ /* Caption */
14418
+ .muka-checkbox-tile__caption {
14419
+ font-family: var(--text-body-base-regular-fontFamily);
14420
+ font-weight: var(--text-body-base-regular-fontWeight);
14421
+ font-size: var(--text-body-base-regular-fontSize);
14422
+ line-height: var(--text-body-base-regular-lineHeight);
14423
+ color: var(--color-text-subtle-default);
14424
+ }
14425
+
14426
+ /* Disabled states */
14427
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
14428
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
14610
14429
  color: var(--color-text-subtle-default);
14611
14430
  }
14612
14431
 
@@ -14801,55 +14620,222 @@ button.muka-chat-photo-grid__tile:focus-visible {
14801
14620
  grid-template-columns: 1fr;
14802
14621
  }
14803
14622
 
14804
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14805
- aspect-ratio: 4 / 3;
14623
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14624
+ aspect-ratio: 4 / 3;
14625
+ }
14626
+
14627
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14628
+ aspect-ratio: 3 / 4;
14629
+ }
14630
+
14631
+ .muka-chat-photo-grid--2 {
14632
+ grid-template-columns: repeat(2, 1fr);
14633
+ }
14634
+
14635
+ .muka-chat-photo-grid--3 {
14636
+ grid-template-columns: repeat(3, 1fr);
14637
+ }
14638
+
14639
+ .muka-chat-photo-grid--4 {
14640
+ grid-template-columns: repeat(2, 1fr);
14641
+ }
14642
+
14643
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14644
+ .muka-chat-photo-grid--5 {
14645
+ grid-template-columns: repeat(6, 1fr);
14646
+ }
14647
+
14648
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14649
+ grid-column: span 3;
14650
+ }
14651
+
14652
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14653
+ grid-column: span 2;
14654
+ }
14655
+
14656
+ .muka-chat-photo-grid--6,
14657
+ .muka-chat-photo-grid--overflow {
14658
+ grid-template-columns: repeat(3, 1fr);
14659
+ }
14660
+
14661
+ /* ─── Print ────────────────────────────────────────────── */
14662
+
14663
+ @media print {
14664
+ .muka-chat-photo-grid {
14665
+ break-inside: avoid;
14666
+ }
14667
+
14668
+ .muka-chat-photo-grid__image {
14669
+ print-color-adjust: exact;
14670
+ -webkit-print-color-adjust: exact;
14671
+ }
14672
+ }
14673
+
14674
+
14675
+ /* Checkbox */
14676
+ /* Checkbox Component Styles - Using Muka Design Tokens */
14677
+
14678
+ /* Wrapper - clickable label container */
14679
+ .muka-checkbox {
14680
+ display: inline-flex;
14681
+ align-items: center;
14682
+ gap: var(--spacing-4);
14683
+ cursor: pointer;
14684
+ user-select: none;
14685
+ }
14686
+
14687
+ .muka-checkbox--disabled {
14688
+ cursor: not-allowed;
14689
+ opacity: 0.6;
14690
+ }
14691
+
14692
+ /* Control container */
14693
+ .muka-checkbox__control {
14694
+ position: relative;
14695
+ display: inline-flex;
14696
+ align-items: center;
14697
+ justify-content: center;
14698
+ flex-shrink: 0;
14699
+ }
14700
+
14701
+ /* Hidden native input */
14702
+ .muka-checkbox__input {
14703
+ position: absolute;
14704
+ width: 1px;
14705
+ height: 1px;
14706
+ padding: 0;
14707
+ margin: -1px;
14708
+ overflow: hidden;
14709
+ clip: rect(0, 0, 0, 0);
14710
+ white-space: nowrap;
14711
+ border: 0;
14712
+ }
14713
+
14714
+ /* Visual indicator (square) */
14715
+ .muka-checkbox__indicator {
14716
+ display: flex;
14717
+ align-items: center;
14718
+ justify-content: center;
14719
+ width: var(--checkbox-size-default);
14720
+ height: var(--checkbox-size-default);
14721
+ border-radius: var(--checkbox-radius);
14722
+ background-color: var(--checkbox-color-default-background);
14723
+ border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14724
+ transition: all 0.15s ease;
14725
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14726
+ }
14727
+
14728
+ /* Size variants */
14729
+ .muka-checkbox--sm .muka-checkbox__indicator {
14730
+ width: var(--checkbox-size-sm);
14731
+ height: var(--checkbox-size-sm);
14732
+ }
14733
+
14734
+ .muka-checkbox--lg .muka-checkbox__indicator {
14735
+ width: var(--checkbox-size-lg);
14736
+ height: var(--checkbox-size-lg);
14737
+ }
14738
+
14739
+ /* Icon inside checkbox */
14740
+ .muka-checkbox__icon {
14741
+ width: var(--checkbox-icon-size-default);
14742
+ height: var(--checkbox-icon-size-default);
14743
+ color: var(--checkbox-color-default-icon);
14744
+ opacity: 0;
14745
+ transform: scale(0.8);
14746
+ transition: opacity 0.15s ease, transform 0.15s ease;
14747
+ }
14748
+
14749
+ .muka-checkbox--sm .muka-checkbox__icon {
14750
+ width: var(--checkbox-icon-size-sm);
14751
+ height: var(--checkbox-icon-size-sm);
14752
+ }
14753
+
14754
+ .muka-checkbox--lg .muka-checkbox__icon {
14755
+ width: var(--checkbox-icon-size-lg);
14756
+ height: var(--checkbox-icon-size-lg);
14757
+ }
14758
+
14759
+ /* Hide indeterminate icon by default */
14760
+ .muka-checkbox__icon--indeterminate {
14761
+ position: absolute;
14762
+ }
14763
+
14764
+ /* Hover state - removed per design */
14765
+
14766
+ /* Focus state */
14767
+ .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14768
+ outline: 2px solid var(--color-border-focus);
14769
+ outline-offset: 2px;
14806
14770
  }
14807
14771
 
14808
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14809
- aspect-ratio: 3 / 4;
14772
+ /* Checked state */
14773
+ .muka-checkbox__input:checked + .muka-checkbox__indicator {
14774
+ background-color: var(--checkbox-color-checked-background);
14775
+ border-color: var(--checkbox-color-checked-border);
14776
+ box-shadow: none;
14810
14777
  }
14811
14778
 
14812
- .muka-chat-photo-grid--2 {
14813
- grid-template-columns: repeat(2, 1fr);
14779
+ .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14780
+ color: var(--checkbox-color-checked-icon);
14781
+ opacity: 1;
14782
+ transform: scale(1);
14814
14783
  }
14815
14784
 
14816
- .muka-chat-photo-grid--3 {
14817
- grid-template-columns: repeat(3, 1fr);
14785
+ /* Indeterminate state */
14786
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14787
+ background-color: var(--checkbox-color-checked-background);
14788
+ border-color: var(--checkbox-color-checked-border);
14789
+ box-shadow: none;
14818
14790
  }
14819
14791
 
14820
- .muka-chat-photo-grid--4 {
14821
- grid-template-columns: repeat(2, 1fr);
14792
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14793
+ opacity: 0;
14822
14794
  }
14823
14795
 
14824
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14825
- .muka-chat-photo-grid--5 {
14826
- grid-template-columns: repeat(6, 1fr);
14796
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14797
+ color: var(--checkbox-color-checked-icon);
14798
+ opacity: 1;
14799
+ transform: scale(1);
14827
14800
  }
14828
14801
 
14829
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14830
- grid-column: span 3;
14802
+ /* Disabled state */
14803
+ .muka-checkbox--disabled .muka-checkbox__indicator {
14804
+ background-color: var(--checkbox-color-disabled-background);
14805
+ border-color: var(--checkbox-color-disabled-border);
14806
+ box-shadow: none;
14831
14807
  }
14832
14808
 
14833
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14834
- grid-column: span 2;
14809
+ .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14810
+ .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14811
+ color: var(--checkbox-color-disabled-icon);
14835
14812
  }
14836
14813
 
14837
- .muka-chat-photo-grid--6,
14838
- .muka-chat-photo-grid--overflow {
14839
- grid-template-columns: repeat(3, 1fr);
14814
+ /* Label text */
14815
+ .muka-checkbox__label {
14816
+ font-family: var(--text-label-lg-regular-fontFamily);
14817
+ font-weight: var(--text-label-lg-regular-fontWeight);
14818
+ font-size: var(--text-label-lg-regular-fontSize);
14819
+ line-height: var(--text-label-lg-regular-lineHeight);
14820
+ color: var(--color-text-default-default);
14840
14821
  }
14841
14822
 
14842
- /* ─── Print ────────────────────────────────────────────── */
14823
+ .muka-checkbox--sm .muka-checkbox__label {
14824
+ font-family: var(--text-label-md-regular-fontFamily);
14825
+ font-weight: var(--text-label-md-regular-fontWeight);
14826
+ font-size: var(--text-label-md-regular-fontSize);
14827
+ line-height: var(--text-label-md-regular-lineHeight);
14828
+ }
14843
14829
 
14844
- @media print {
14845
- .muka-chat-photo-grid {
14846
- break-inside: avoid;
14847
- }
14830
+ .muka-checkbox--lg .muka-checkbox__label {
14831
+ font-family: var(--text-label-xl-regular-fontFamily);
14832
+ font-weight: var(--text-label-xl-regular-fontWeight);
14833
+ font-size: var(--text-label-xl-regular-fontSize);
14834
+ line-height: var(--text-label-xl-regular-lineHeight);
14835
+ }
14848
14836
 
14849
- .muka-chat-photo-grid__image {
14850
- print-color-adjust: exact;
14851
- -webkit-print-color-adjust: exact;
14852
- }
14837
+ .muka-checkbox--disabled .muka-checkbox__label {
14838
+ color: var(--color-text-subtle-default);
14853
14839
  }
14854
14840
 
14855
14841
 
@@ -15314,58 +15300,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15314
15300
  }
15315
15301
 
15316
15302
 
15317
- /* ChatEvent */
15318
- /* ChatEvent: a line in a chat that isn't a message from a person */
15319
-
15320
- .muka-chat-event {
15321
- display: flex;
15322
- flex-direction: column;
15323
- align-items: center;
15324
- gap: var(--spacing-2);
15325
- width: 100%;
15326
- padding: 0 var(--spacing-4);
15327
- box-sizing: border-box;
15328
- text-align: center;
15329
- }
15330
-
15331
- .muka-chat-event__text {
15332
- margin: 0;
15333
- max-width: var(--chatbubble-max-width);
15334
- /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15335
- and this is body text. Size and centring set it apart from messages. */
15336
- color: var(--color-text-default-default);
15337
- font-family: var(--text-body-sm-regular-fontFamily);
15338
- font-weight: var(--text-body-sm-regular-fontWeight);
15339
- font-size: var(--text-body-sm-regular-fontSize);
15340
- line-height: var(--text-body-sm-regular-lineHeight);
15341
- }
15342
-
15343
- .muka-chat-event__timestamp {
15344
- white-space: nowrap;
15345
- }
15346
-
15347
- .muka-chat-event__media {
15348
- display: flex;
15349
- flex-wrap: wrap;
15350
- justify-content: center;
15351
- gap: var(--spacing-2);
15352
- }
15353
-
15354
- /* Day divider: a small pill */
15355
- .muka-chat-event__pill {
15356
- display: inline-flex;
15357
- align-items: center;
15358
- padding: var(--spacing-1) var(--spacing-3);
15359
- border-radius: var(--radius-full);
15360
- background-color: var(--color-surface-level2);
15361
- color: var(--color-text-default-default);
15362
- font-family: var(--text-label-sm-regular-fontFamily);
15363
- font-weight: var(--text-label-sm-regular-fontWeight);
15364
- font-size: var(--text-label-sm-regular-fontSize);
15365
- line-height: var(--text-label-sm-leading);
15366
- }
15367
-
15368
-
15369
15303
  /* ChatComposer */
15370
15304
  /* ChatComposer Component Styles */
15371
15305
 
@@ -15681,159 +15615,91 @@ button.muka-chat-photo-grid__tile:focus-visible {
15681
15615
  }
15682
15616
 
15683
15617
 
15684
- /* ChatAttachmentChip */
15685
- /* ChatAttachmentChip Component Styles */
15686
-
15687
- .muka-chat-attachment-chip {
15688
- position: relative;
15689
- display: inline-flex;
15690
- align-items: center;
15691
- gap: var(--spacing-1);
15692
- max-width: 240px;
15693
- padding: var(--spacing-2) var(--spacing-3);
15694
- background-color: var(--color-surface-level1);
15695
- border: var(--border-width-regular) solid var(--color-border-default);
15696
- border-radius: var(--radius-md);
15697
- overflow: hidden;
15698
- }
15699
-
15700
- .muka-chat-attachment-chip--uploading {
15701
- padding-bottom: calc(var(--spacing-2) + 2px);
15702
- }
15703
-
15704
- .muka-chat-attachment-chip--error {
15705
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15706
- }
15707
-
15708
- .muka-chat-attachment-chip--disabled {
15709
- opacity: 0.5;
15710
- pointer-events: none;
15618
+ /* ChatChoiceCard */
15619
+ /* ChatChoiceCard — compact option rows (experimental) */
15620
+ .muka-chat-choice__list {
15621
+ display: flex;
15622
+ flex-direction: column;
15623
+ gap: var(--spacing-2);
15711
15624
  }
15712
15625
 
15713
- /* ─── Body (icon + text) ───────────────────────────────── */
15714
-
15715
- .muka-chat-attachment-chip__body {
15716
- display: inline-flex;
15626
+ .muka-chat-choice__row {
15627
+ display: flex;
15717
15628
  align-items: center;
15718
- gap: var(--spacing-2);
15629
+ min-height: var(--spacing-8);
15719
15630
  min-width: 0;
15720
- flex: 1 1 auto;
15721
- background: none;
15722
- border: none;
15723
- padding: 0;
15724
- margin: 0;
15725
- text-align: left;
15726
- color: inherit;
15727
- font: inherit;
15728
- cursor: default;
15729
- -webkit-tap-highlight-color: transparent;
15730
15631
  }
15731
15632
 
15732
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15733
- cursor: pointer;
15633
+ .muka-chat-choice__row--other {
15634
+ gap: var(--spacing-2);
15734
15635
  }
15735
15636
 
15736
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15737
- outline: 2px solid var(--color-action-default);
15738
- outline-offset: 2px;
15739
- border-radius: var(--radius-sm);
15637
+ /* The free-text option: the control, then the field filling the row. */
15638
+ .muka-chat-choice__row--other {
15639
+ flex-wrap: nowrap;
15740
15640
  }
15741
15641
 
15742
- .muka-chat-attachment-chip__icon {
15743
- display: inline-flex;
15744
- align-items: center;
15745
- justify-content: center;
15746
- flex-shrink: 0;
15747
- color: var(--color-text-subtle-default);
15642
+ .muka-chat-choice__row--other > .muka-radio,
15643
+ .muka-chat-choice__row--other > .muka-checkbox {
15644
+ flex: 0 0 auto;
15748
15645
  }
15749
15646
 
15750
- .muka-chat-attachment-chip__text {
15751
- display: flex;
15752
- flex-direction: column;
15753
- min-width: 0;
15647
+ .muka-chat-choice__row--other > .muka-input {
15754
15648
  flex: 1 1 auto;
15649
+ width: auto;
15650
+ min-width: 0;
15755
15651
  }
15756
15652
 
15757
- .muka-chat-attachment-chip__name {
15758
- color: var(--color-text-default-default);
15759
- font-family: var(--text-body-sm-regular-fontFamily);
15760
- font-weight: var(--text-body-sm-regular-fontWeight);
15761
- font-size: var(--text-body-sm-regular-fontSize);
15762
- line-height: var(--text-body-sm-regular-lineHeight);
15763
- white-space: nowrap;
15764
- overflow: hidden;
15765
- text-overflow: ellipsis;
15766
- }
15767
-
15768
- .muka-chat-attachment-chip__meta {
15769
- color: var(--color-text-subtle-default);
15770
- font-family: var(--text-body-sm-regular-fontFamily);
15771
- font-weight: var(--text-body-sm-regular-fontWeight);
15772
- font-size: var(--text-body-sm-regular-fontSize);
15773
- line-height: var(--text-body-sm-regular-lineHeight);
15774
- white-space: nowrap;
15775
- overflow: hidden;
15776
- text-overflow: ellipsis;
15777
- }
15778
-
15779
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15780
- color: var(--color-state-error-default, var(--color-text-default-default));
15781
- }
15782
15653
 
15783
- /* ─── Remove button ────────────────────────────────────── */
15654
+ /* ChatEvent */
15655
+ /* ChatEvent: a line in a chat that isn't a message from a person */
15784
15656
 
15785
- .muka-chat-attachment-chip__remove {
15786
- display: inline-flex;
15787
- align-items: center;
15788
- justify-content: center;
15789
- width: 20px;
15790
- height: 20px;
15791
- border: none;
15792
- background: none;
15793
- padding: 0;
15794
- border-radius: var(--radius-sm);
15795
- cursor: pointer;
15796
- color: var(--color-text-subtle-default);
15797
- flex-shrink: 0;
15798
- -webkit-tap-highlight-color: transparent;
15657
+ .muka-chat-event {
15658
+ display: flex;
15659
+ flex-direction: column;
15660
+ align-items: center;
15661
+ gap: var(--spacing-2);
15662
+ width: 100%;
15663
+ padding: 0 var(--spacing-4);
15664
+ box-sizing: border-box;
15665
+ text-align: center;
15799
15666
  }
15800
15667
 
15801
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15668
+ .muka-chat-event__text {
15669
+ margin: 0;
15670
+ max-width: var(--chatbubble-max-width);
15671
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15672
+ and this is body text. Size and centring set it apart from messages. */
15802
15673
  color: var(--color-text-default-default);
15803
- background-color: var(--color-surface-level2);
15674
+ font-family: var(--text-body-sm-regular-fontFamily);
15675
+ font-weight: var(--text-body-sm-regular-fontWeight);
15676
+ font-size: var(--text-body-sm-regular-fontSize);
15677
+ line-height: var(--text-body-sm-regular-lineHeight);
15804
15678
  }
15805
15679
 
15806
- .muka-chat-attachment-chip__remove:focus-visible {
15807
- outline: 2px solid var(--color-action-default);
15808
- outline-offset: 2px;
15680
+ .muka-chat-event__timestamp {
15681
+ white-space: nowrap;
15809
15682
  }
15810
15683
 
15811
- .muka-chat-attachment-chip__remove:disabled {
15812
- cursor: not-allowed;
15813
- opacity: 0.5;
15684
+ .muka-chat-event__media {
15685
+ display: flex;
15686
+ flex-wrap: wrap;
15687
+ justify-content: center;
15688
+ gap: var(--spacing-2);
15814
15689
  }
15815
15690
 
15816
- /* ─── Progress bar ─────────────────────────────────────── */
15817
-
15818
- .muka-chat-attachment-chip__progress {
15819
- position: absolute;
15820
- left: 0;
15821
- right: 0;
15822
- bottom: 0;
15823
- height: 2px;
15691
+ /* Day divider: a small pill */
15692
+ .muka-chat-event__pill {
15693
+ display: inline-flex;
15694
+ align-items: center;
15695
+ padding: var(--spacing-1) var(--spacing-3);
15696
+ border-radius: var(--radius-full);
15824
15697
  background-color: var(--color-surface-level2);
15825
- overflow: hidden;
15826
- }
15827
-
15828
- .muka-chat-attachment-chip__progress-fill {
15829
- display: block;
15830
- height: 100%;
15831
- background-color: var(--color-action-default);
15832
- transition: width 0.16s ease;
15833
- }
15834
-
15835
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15836
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15698
+ color: var(--color-text-default-default);
15699
+ font-family: var(--text-label-sm-regular-fontFamily);
15700
+ font-weight: var(--text-label-sm-regular-fontWeight);
15701
+ font-size: var(--text-label-sm-regular-fontSize);
15702
+ line-height: var(--text-label-sm-leading);
15837
15703
  }
15838
15704
 
15839
15705
 
@@ -18060,6 +17926,162 @@ button.muka-chat-photo-grid__tile:focus-visible {
18060
17926
  }
18061
17927
 
18062
17928
 
17929
+ /* ChatAttachmentChip */
17930
+ /* ChatAttachmentChip Component Styles */
17931
+
17932
+ .muka-chat-attachment-chip {
17933
+ position: relative;
17934
+ display: inline-flex;
17935
+ align-items: center;
17936
+ gap: var(--spacing-1);
17937
+ max-width: 240px;
17938
+ padding: var(--spacing-2) var(--spacing-3);
17939
+ background-color: var(--color-surface-level1);
17940
+ border: var(--border-width-regular) solid var(--color-border-default);
17941
+ border-radius: var(--radius-md);
17942
+ overflow: hidden;
17943
+ }
17944
+
17945
+ .muka-chat-attachment-chip--uploading {
17946
+ padding-bottom: calc(var(--spacing-2) + 2px);
17947
+ }
17948
+
17949
+ .muka-chat-attachment-chip--error {
17950
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
17951
+ }
17952
+
17953
+ .muka-chat-attachment-chip--disabled {
17954
+ opacity: 0.5;
17955
+ pointer-events: none;
17956
+ }
17957
+
17958
+ /* ─── Body (icon + text) ───────────────────────────────── */
17959
+
17960
+ .muka-chat-attachment-chip__body {
17961
+ display: inline-flex;
17962
+ align-items: center;
17963
+ gap: var(--spacing-2);
17964
+ min-width: 0;
17965
+ flex: 1 1 auto;
17966
+ background: none;
17967
+ border: none;
17968
+ padding: 0;
17969
+ margin: 0;
17970
+ text-align: left;
17971
+ color: inherit;
17972
+ font: inherit;
17973
+ cursor: default;
17974
+ -webkit-tap-highlight-color: transparent;
17975
+ }
17976
+
17977
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
17978
+ cursor: pointer;
17979
+ }
17980
+
17981
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
17982
+ outline: 2px solid var(--color-action-default);
17983
+ outline-offset: 2px;
17984
+ border-radius: var(--radius-sm);
17985
+ }
17986
+
17987
+ .muka-chat-attachment-chip__icon {
17988
+ display: inline-flex;
17989
+ align-items: center;
17990
+ justify-content: center;
17991
+ flex-shrink: 0;
17992
+ color: var(--color-text-subtle-default);
17993
+ }
17994
+
17995
+ .muka-chat-attachment-chip__text {
17996
+ display: flex;
17997
+ flex-direction: column;
17998
+ min-width: 0;
17999
+ flex: 1 1 auto;
18000
+ }
18001
+
18002
+ .muka-chat-attachment-chip__name {
18003
+ color: var(--color-text-default-default);
18004
+ font-family: var(--text-body-sm-regular-fontFamily);
18005
+ font-weight: var(--text-body-sm-regular-fontWeight);
18006
+ font-size: var(--text-body-sm-regular-fontSize);
18007
+ line-height: var(--text-body-sm-regular-lineHeight);
18008
+ white-space: nowrap;
18009
+ overflow: hidden;
18010
+ text-overflow: ellipsis;
18011
+ }
18012
+
18013
+ .muka-chat-attachment-chip__meta {
18014
+ color: var(--color-text-subtle-default);
18015
+ font-family: var(--text-body-sm-regular-fontFamily);
18016
+ font-weight: var(--text-body-sm-regular-fontWeight);
18017
+ font-size: var(--text-body-sm-regular-fontSize);
18018
+ line-height: var(--text-body-sm-regular-lineHeight);
18019
+ white-space: nowrap;
18020
+ overflow: hidden;
18021
+ text-overflow: ellipsis;
18022
+ }
18023
+
18024
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
18025
+ color: var(--color-state-error-default, var(--color-text-default-default));
18026
+ }
18027
+
18028
+ /* ─── Remove button ────────────────────────────────────── */
18029
+
18030
+ .muka-chat-attachment-chip__remove {
18031
+ display: inline-flex;
18032
+ align-items: center;
18033
+ justify-content: center;
18034
+ width: 20px;
18035
+ height: 20px;
18036
+ border: none;
18037
+ background: none;
18038
+ padding: 0;
18039
+ border-radius: var(--radius-sm);
18040
+ cursor: pointer;
18041
+ color: var(--color-text-subtle-default);
18042
+ flex-shrink: 0;
18043
+ -webkit-tap-highlight-color: transparent;
18044
+ }
18045
+
18046
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
18047
+ color: var(--color-text-default-default);
18048
+ background-color: var(--color-surface-level2);
18049
+ }
18050
+
18051
+ .muka-chat-attachment-chip__remove:focus-visible {
18052
+ outline: 2px solid var(--color-action-default);
18053
+ outline-offset: 2px;
18054
+ }
18055
+
18056
+ .muka-chat-attachment-chip__remove:disabled {
18057
+ cursor: not-allowed;
18058
+ opacity: 0.5;
18059
+ }
18060
+
18061
+ /* ─── Progress bar ─────────────────────────────────────── */
18062
+
18063
+ .muka-chat-attachment-chip__progress {
18064
+ position: absolute;
18065
+ left: 0;
18066
+ right: 0;
18067
+ bottom: 0;
18068
+ height: 2px;
18069
+ background-color: var(--color-surface-level2);
18070
+ overflow: hidden;
18071
+ }
18072
+
18073
+ .muka-chat-attachment-chip__progress-fill {
18074
+ display: block;
18075
+ height: 100%;
18076
+ background-color: var(--color-action-default);
18077
+ transition: width 0.16s ease;
18078
+ }
18079
+
18080
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
18081
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
18082
+ }
18083
+
18084
+
18063
18085
  /* ActionSheet */
18064
18086
  /* ActionSheet Component Styles */
18065
18087
 
@@ -18332,39 +18354,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
18332
18354
  border-bottom: none;
18333
18355
  }
18334
18356
 
18335
-
18336
- /* ChatChoiceCard */
18337
- /* ChatChoiceCard — compact option rows (experimental) */
18338
- .muka-chat-choice__list {
18339
- display: flex;
18340
- flex-direction: column;
18341
- gap: var(--spacing-2);
18342
- }
18343
-
18344
- .muka-chat-choice__row {
18345
- display: flex;
18346
- align-items: center;
18347
- min-height: var(--spacing-8);
18348
- min-width: 0;
18349
- }
18350
-
18351
- .muka-chat-choice__row--other {
18352
- gap: var(--spacing-2);
18353
- }
18354
-
18355
- /* The free-text option: the control, then the field filling the row. */
18356
- .muka-chat-choice__row--other {
18357
- flex-wrap: nowrap;
18358
- }
18359
-
18360
- .muka-chat-choice__row--other > .muka-radio,
18361
- .muka-chat-choice__row--other > .muka-checkbox {
18362
- flex: 0 0 auto;
18363
- }
18364
-
18365
- .muka-chat-choice__row--other > .muka-input {
18366
- flex: 1 1 auto;
18367
- width: auto;
18368
- min-width: 0;
18369
- }
18370
-