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