@revikornmann/muka-ui 0.42.0 → 0.43.1

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.
Files changed (33) hide show
  1. package/dist/cjs/components/BottomBar/BottomBar.css +56 -0
  2. package/dist/cjs/components/BottomBar/BottomBar.js +8 -2
  3. package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
  4. package/dist/cjs/components/Dialog/Dialog.js +2 -2
  5. package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
  6. package/dist/esm/components/BottomBar/BottomBar.css +56 -0
  7. package/dist/esm/components/BottomBar/BottomBar.js +8 -2
  8. package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
  9. package/dist/esm/components/Dialog/Dialog.js +2 -2
  10. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  11. package/dist/styles/components/BottomBar.css +56 -0
  12. package/dist/styles/index.css +1831 -1771
  13. package/dist/styles/muka-dark.css +1831 -1771
  14. package/dist/styles/muka-light.css +1831 -1771
  15. package/dist/styles/tokens-bouwplan-dark.css +6 -2
  16. package/dist/styles/tokens-bouwplan-light.css +6 -2
  17. package/dist/styles/tokens-fscl-dark.css +6 -2
  18. package/dist/styles/tokens-fscl-light.css +6 -2
  19. package/dist/styles/tokens-grip-dark.css +6 -2
  20. package/dist/styles/tokens-grip-light.css +6 -2
  21. package/dist/styles/tokens-muka-dark.css +6 -2
  22. package/dist/styles/tokens-muka-light.css +6 -2
  23. package/dist/styles/tokens-wireframe-dark.css +6 -2
  24. package/dist/styles/tokens-wireframe-light.css +6 -2
  25. package/dist/styles/wireframe-dark.css +1831 -1771
  26. package/dist/styles/wireframe-light.css +1831 -1771
  27. package/dist/types/components/BottomBar/BottomBar.d.ts +16 -0
  28. package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
  29. package/dist/types/components/Dialog/Dialog.d.ts +8 -0
  30. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/tokens/t4-components/bottombar.json +20 -0
  33. package/tokens/t4-components/emptystate.json +2 -2
@@ -2144,6 +2144,9 @@ body {
2144
2144
  --bottombar-color-border: #313131;
2145
2145
  --bottombar-color-tab-active: #eeeeee;
2146
2146
  --bottombar-color-tab-inactive: #7b7b7b;
2147
+ --bottombar-color-message-neutral: #eeeeee;
2148
+ --bottombar-color-message-success: #3dd68c;
2149
+ --bottombar-color-message-warning: #ffca16;
2147
2150
  --bottombar-floating-radius: 0px;
2148
2151
  --bottombar-floating-padding: 0.75rem;
2149
2152
  --bottombar-floating-margin-x: 0.75rem;
@@ -2163,6 +2166,7 @@ body {
2163
2166
  --bottombar-actions-gap: 0.75rem;
2164
2167
  --bottombar-actions-button-height-sm: 3rem;
2165
2168
  --bottombar-actions-button-height-lg: 4rem;
2169
+ --bottombar-actions-message-gap: 0.5rem;
2166
2170
  --bottombar-navigation-floating-padding: 0.5rem;
2167
2171
  --view-color-background: #2a2a2a;
2168
2172
  --badge-size-height-sm: 1.5rem;
@@ -2253,13 +2257,13 @@ body {
2253
2257
  --emptystate-container-padding-md: 2rem;
2254
2258
  --emptystate-container-padding-lg: 3rem;
2255
2259
  --emptystate-container-gap: 1rem;
2256
- --emptystate-container-maxWidth: 24rem;
2260
+ --emptystate-container-maxWidth: 40rem;
2257
2261
  --emptystate-icon-size-sm: 2rem;
2258
2262
  --emptystate-icon-size-md: 3rem;
2259
2263
  --emptystate-icon-size-lg: 4rem;
2260
2264
  --emptystate-icon-color: #606060;
2261
2265
  --emptystate-title-color: #eeeeee;
2262
- --emptystate-description-color: #606060;
2266
+ --emptystate-description-color: #eeeeee;
2263
2267
  --emptystate-actions-gap: 0.75rem;
2264
2268
  --emptystate-actions-marginTop: 1rem;
2265
2269
  --documentviewer-container-background: #111111;
@@ -5131,163 +5135,6 @@ body {
5131
5135
  }
5132
5136
 
5133
5137
 
5134
- /* Skeleton */
5135
- /* Skeleton Component Styles */
5136
-
5137
- .muka-skeleton {
5138
- background-color: var(--color-surface-level1);
5139
- display: block;
5140
- }
5141
-
5142
- /* Variants */
5143
- .muka-skeleton--text {
5144
- height: 1em;
5145
- border-radius: var(--radius-md);
5146
- width: 100%;
5147
- }
5148
-
5149
- .muka-skeleton--circular {
5150
- width: 2.5rem;
5151
- height: 2.5rem;
5152
- border-radius: var(--radius-full);
5153
- }
5154
-
5155
- .muka-skeleton--rectangular {
5156
- height: 7.5rem;
5157
- border-radius: var(--radius-md);
5158
- width: 100%;
5159
- }
5160
-
5161
- /* Last line in multi-line text is shorter */
5162
- .muka-skeleton--last-line {
5163
- width: 80%;
5164
- }
5165
-
5166
- /* Lines container */
5167
- .muka-skeleton__lines {
5168
- display: flex;
5169
- flex-direction: column;
5170
- gap: var(--spacing-2);
5171
- }
5172
-
5173
- /* Shimmer animation */
5174
- @keyframes muka-skeleton-shimmer {
5175
- 0% {
5176
- background-position: -200% 0;
5177
- }
5178
- 100% {
5179
- background-position: 200% 0;
5180
- }
5181
- }
5182
-
5183
- .muka-skeleton--shimmer {
5184
- background: linear-gradient(
5185
- 90deg,
5186
- var(--color-surface-level1) 25%,
5187
- var(--color-surface-level2) 50%,
5188
- var(--color-surface-level1) 75%
5189
- );
5190
- background-size: 200% 100%;
5191
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5192
- }
5193
-
5194
- /* Pulse animation */
5195
- @keyframes muka-skeleton-pulse {
5196
- 0%, 100% {
5197
- opacity: 1;
5198
- }
5199
- 50% {
5200
- opacity: 0.4;
5201
- }
5202
- }
5203
-
5204
- .muka-skeleton--pulse {
5205
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5206
- }
5207
-
5208
-
5209
- /* Sheet */
5210
- /* Sheet Component Styles */
5211
-
5212
- /* ─── Backdrop ────────────────────────────────────────── */
5213
-
5214
- .muka-sheet__overlay {
5215
- position: fixed;
5216
- inset: 0;
5217
- background-color: var(--color-surface-backdrop);
5218
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5219
- backdrop-filter: blur(var(--effect-blur-backdrop));
5220
- z-index: 50;
5221
- }
5222
-
5223
- /* ─── Surface ─────────────────────────────────────────── */
5224
-
5225
- .muka-sheet {
5226
- position: fixed;
5227
- left: 0;
5228
- right: 0;
5229
- bottom: 0;
5230
- z-index: 51;
5231
-
5232
- display: flex;
5233
- flex-direction: column;
5234
-
5235
- max-height: 96dvh;
5236
-
5237
- background-color: var(--color-surface-level3);
5238
- border-top-left-radius: var(--radius-lg);
5239
- border-top-right-radius: var(--radius-lg);
5240
- box-shadow: var(--shadow-level5);
5241
-
5242
- outline: none;
5243
- }
5244
-
5245
- /* Safe-area bottom inset for the iPhone home indicator. */
5246
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5247
- padding-bottom: env(safe-area-inset-bottom);
5248
- }
5249
-
5250
- /* ─── Drag handle ─────────────────────────────────────── */
5251
-
5252
- .muka-sheet__handle-container {
5253
- display: flex;
5254
- justify-content: center;
5255
- flex-shrink: 0;
5256
- padding: var(--spacing-3) 0;
5257
- }
5258
-
5259
- .muka-sheet__handle {
5260
- width: var(--dialog-drag-handle-width);
5261
- height: var(--dialog-drag-handle-height);
5262
- background-color: var(--dialog-drag-handle-color);
5263
- border-radius: var(--dialog-drag-handle-radius);
5264
- }
5265
-
5266
- /* ─── Body (scrollable) ───────────────────────────────── */
5267
-
5268
- .muka-sheet__body {
5269
- flex: 1 1 0%;
5270
- min-height: 0;
5271
- overflow-y: auto;
5272
- -webkit-overflow-scrolling: touch;
5273
- overscroll-behavior: contain;
5274
- }
5275
-
5276
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5277
-
5278
- .muka-sheet__sr-title {
5279
- position: absolute;
5280
- width: 1px;
5281
- height: 1px;
5282
- padding: 0;
5283
- margin: -1px;
5284
- overflow: hidden;
5285
- clip: rect(0, 0, 0, 0);
5286
- white-space: nowrap;
5287
- border: 0;
5288
- }
5289
-
5290
-
5291
5138
  /* SmsOtpField */
5292
5139
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5293
5140
 
@@ -5480,214 +5327,160 @@ body {
5480
5327
  }
5481
5328
 
5482
5329
 
5483
- /* SegmentGroup */
5484
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5485
-
5486
- /* Container */
5487
- .muka-segmentgroup {
5488
- display: inline-flex;
5489
- align-items: center;
5490
- gap: 0;
5491
- padding: var(--segmentgroup-container-padding);
5492
- background-color: var(--segmentgroup-container-background);
5493
- border-radius: var(--segmentgroup-container-radius);
5494
- position: relative;
5495
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5496
- }
5330
+ /* Skeleton */
5331
+ /* Skeleton Component Styles */
5497
5332
 
5498
- /* Inset shadow on container */
5499
- .muka-segmentgroup::after {
5500
- content: '';
5501
- position: absolute;
5502
- inset: 0;
5503
- border-radius: inherit;
5504
- box-shadow: var(--segmentgroup-container-shadow);
5505
- pointer-events: none;
5333
+ .muka-skeleton {
5334
+ background-color: var(--color-surface-level1);
5335
+ display: block;
5506
5336
  }
5507
5337
 
5508
- /* Full width variant */
5509
- .muka-segmentgroup--full-width {
5338
+ /* Variants */
5339
+ .muka-skeleton--text {
5340
+ height: 1em;
5341
+ border-radius: var(--radius-md);
5510
5342
  width: 100%;
5511
5343
  }
5512
5344
 
5513
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5514
- flex: 1;
5345
+ .muka-skeleton--circular {
5346
+ width: 2.5rem;
5347
+ height: 2.5rem;
5348
+ border-radius: var(--radius-full);
5515
5349
  }
5516
5350
 
5517
- /* Pill */
5518
- .muka-segmentgroup__pill {
5519
- position: absolute;
5520
- top: var(--segmentgroup-container-padding);
5521
- bottom: var(--segmentgroup-container-padding);
5522
- left: 0;
5523
- margin: 0;
5524
- background-color: var(--segmentgroup-segment-color-selected-background);
5525
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5526
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5527
- z-index: 0;
5528
- pointer-events: none;
5351
+ .muka-skeleton--rectangular {
5352
+ height: 7.5rem;
5353
+ border-radius: var(--radius-md);
5354
+ width: 100%;
5529
5355
  }
5530
5356
 
5531
- /* Segment button */
5532
- .muka-segmentgroup__segment {
5533
- display: inline-flex;
5534
- align-items: center;
5535
- justify-content: center;
5536
- gap: var(--segmentgroup-segment-gap);
5537
- border: none;
5538
- background-color: var(--segmentgroup-segment-color-unselected-background);
5539
- color: var(--segmentgroup-segment-color-unselected-foreground);
5540
- border-radius: var(--segmentgroup-segment-radius);
5541
- cursor: pointer;
5542
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5543
- position: relative;
5544
- outline: none;
5545
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
5546
- font-family: var(--alias-font-plain-family);
5547
- font-weight: var(--segmentgroup-segment-fontWeight);
5548
- z-index: 1; /* Keep above pill */
5357
+ /* Last line in multi-line text is shorter */
5358
+ .muka-skeleton--last-line {
5359
+ width: 80%;
5549
5360
  }
5550
5361
 
5551
- /* Size variants */
5552
- .muka-segmentgroup--sm {
5553
- border-radius: var(--border-radius-xl, 16px);
5554
- }
5555
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
5556
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
5557
- border-radius: var(--border-radius-xl, 16px);
5558
- }
5559
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
5560
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5561
- height: var(--segmentgroup-segment-height-sm);
5562
- font-size: var(--text-label-sm-fontSize);
5563
- line-height: var(--text-label-sm-lineHeight);
5362
+ /* Lines container */
5363
+ .muka-skeleton__lines {
5364
+ display: flex;
5365
+ flex-direction: column;
5366
+ gap: var(--spacing-2);
5564
5367
  }
5565
5368
 
5566
- .muka-segmentgroup--md {
5567
- border-radius: var(--border-radius-xl, 16px);
5568
- }
5569
- .muka-segmentgroup--md .muka-segmentgroup__segment,
5570
- .muka-segmentgroup--md .muka-segmentgroup__pill {
5571
- border-radius: var(--border-radius-xl, 16px);
5572
- }
5573
- .muka-segmentgroup--md .muka-segmentgroup__segment {
5574
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5575
- font-size: var(--text-label-md-fontSize);
5576
- line-height: var(--text-label-md-lineHeight);
5369
+ /* Shimmer animation */
5370
+ @keyframes muka-skeleton-shimmer {
5371
+ 0% {
5372
+ background-position: -200% 0;
5373
+ }
5374
+ 100% {
5375
+ background-position: 200% 0;
5376
+ }
5577
5377
  }
5578
5378
 
5579
- .muka-segmentgroup--lg {
5580
- border-radius: var(--border-radius-full, 9999px);
5581
- }
5582
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
5583
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
5584
- border-radius: var(--border-radius-full, 9999px);
5585
- }
5586
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
5587
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5588
- height: 40px;
5589
- font-size: var(--text-label-lg-fontSize);
5590
- line-height: var(--text-label-lg-lineHeight);
5379
+ .muka-skeleton--shimmer {
5380
+ background: linear-gradient(
5381
+ 90deg,
5382
+ var(--color-surface-level1) 25%,
5383
+ var(--color-surface-level2) 50%,
5384
+ var(--color-surface-level1) 75%
5385
+ );
5386
+ background-size: 200% 100%;
5387
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5591
5388
  }
5592
5389
 
5593
- /* Icon-only variants */
5594
- .muka-segmentgroup--icon-only {
5595
- gap: var(--spacing-1, 4px);
5390
+ /* Pulse animation */
5391
+ @keyframes muka-skeleton-pulse {
5392
+ 0%, 100% {
5393
+ opacity: 1;
5394
+ }
5395
+ 50% {
5396
+ opacity: 0.4;
5397
+ }
5596
5398
  }
5597
5399
 
5598
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5599
- width: 24px;
5600
- height: 24px;
5601
- padding: 0;
5602
- }
5603
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5604
- width: 16px;
5605
- height: 16px;
5400
+ .muka-skeleton--pulse {
5401
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5606
5402
  }
5607
5403
 
5608
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
5609
- width: 32px;
5610
- height: 32px;
5611
- padding: 0;
5612
- }
5613
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
5614
- width: 20px;
5615
- height: 20px;
5616
- }
5617
5404
 
5618
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
5619
- width: 40px;
5620
- height: 40px;
5621
- padding: 0;
5622
- }
5623
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5624
- width: 24px;
5625
- height: 24px;
5626
- }
5405
+ /* Sheet */
5406
+ /* Sheet Component Styles */
5627
5407
 
5628
- /* Icon */
5629
- .muka-segmentgroup__icon {
5630
- display: inline-flex;
5631
- align-items: center;
5632
- justify-content: center;
5633
- }
5408
+ /* ─── Backdrop ────────────────────────────────────────── */
5634
5409
 
5635
- /* Selected state */
5636
- .muka-segmentgroup__segment--selected {
5637
- background-color: transparent;
5638
- box-shadow: none;
5639
- color: var(--segmentgroup-segment-color-selected-foreground);
5640
- z-index: 2; /* Highlight pill when focused is tested below */
5410
+ .muka-sheet__overlay {
5411
+ position: fixed;
5412
+ inset: 0;
5413
+ background-color: var(--color-surface-backdrop);
5414
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5415
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5416
+ z-index: 50;
5641
5417
  }
5642
5418
 
5643
- /* Hover state (only for unselected) */
5644
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5645
- color: var(--segmentgroup-segment-color-hover-foreground);
5646
- }
5419
+ /* ─── Surface ─────────────────────────────────────────── */
5647
5420
 
5648
- /* Focus visible */
5649
- .muka-segmentgroup__segment:focus-visible {
5650
- outline: 2px solid var(--color-border-focus);
5651
- outline-offset: 2px;
5652
- z-index: 2;
5653
- }
5421
+ .muka-sheet {
5422
+ position: fixed;
5423
+ left: 0;
5424
+ right: 0;
5425
+ bottom: 0;
5426
+ z-index: 51;
5654
5427
 
5655
- /* Disabled state */
5656
- .muka-segmentgroup__segment--disabled,
5657
- .muka-segmentgroup__segment:disabled {
5658
- cursor: not-allowed;
5659
- opacity: 0.5;
5660
- }
5428
+ display: flex;
5429
+ flex-direction: column;
5661
5430
 
5662
- /* Label */
5663
- .muka-segmentgroup__label {
5664
- display: inline-flex;
5665
- align-items: center;
5666
- white-space: nowrap;
5667
- user-select: none;
5431
+ max-height: 96dvh;
5432
+
5433
+ background-color: var(--color-surface-level3);
5434
+ border-top-left-radius: var(--radius-lg);
5435
+ border-top-right-radius: var(--radius-lg);
5436
+ box-shadow: var(--shadow-level5);
5437
+
5438
+ outline: none;
5668
5439
  }
5669
5440
 
5441
+ /* Safe-area bottom inset for the iPhone home indicator. */
5442
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5443
+ padding-bottom: env(safe-area-inset-bottom);
5444
+ }
5670
5445
 
5671
- /* Section */
5672
- /* Section Component - Layout tokens (section.padding) */
5446
+ /* ─── Drag handle ─────────────────────────────────────── */
5673
5447
 
5674
- .muka-section {
5675
- box-sizing: border-box;
5448
+ .muka-sheet__handle-container {
5449
+ display: flex;
5450
+ justify-content: center;
5451
+ flex-shrink: 0;
5452
+ padding: var(--spacing-3) 0;
5676
5453
  }
5677
5454
 
5678
- .muka-section--padding-compact {
5679
- padding-block: var(--section-padding-vertical-compact);
5680
- padding-inline: var(--section-padding-horizontal-compact);
5455
+ .muka-sheet__handle {
5456
+ width: var(--dialog-drag-handle-width);
5457
+ height: var(--dialog-drag-handle-height);
5458
+ background-color: var(--dialog-drag-handle-color);
5459
+ border-radius: var(--dialog-drag-handle-radius);
5681
5460
  }
5682
5461
 
5683
- .muka-section--padding-default {
5684
- padding-block: var(--section-padding-vertical-default);
5685
- padding-inline: var(--section-padding-horizontal-default);
5462
+ /* ─── Body (scrollable) ───────────────────────────────── */
5463
+
5464
+ .muka-sheet__body {
5465
+ flex: 1 1 0%;
5466
+ min-height: 0;
5467
+ overflow-y: auto;
5468
+ -webkit-overflow-scrolling: touch;
5469
+ overscroll-behavior: contain;
5686
5470
  }
5687
5471
 
5688
- .muka-section--padding-spacious {
5689
- padding-block: var(--section-padding-vertical-spacious);
5690
- padding-inline: var(--section-padding-horizontal-spacious);
5472
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5473
+
5474
+ .muka-sheet__sr-title {
5475
+ position: absolute;
5476
+ width: 1px;
5477
+ height: 1px;
5478
+ padding: 0;
5479
+ margin: -1px;
5480
+ overflow: hidden;
5481
+ clip: rect(0, 0, 0, 0);
5482
+ white-space: nowrap;
5483
+ border: 0;
5691
5484
  }
5692
5485
 
5693
5486
 
@@ -5885,55 +5678,266 @@ body {
5885
5678
  }
5886
5679
 
5887
5680
 
5888
- /* SearchInput */
5889
- /* SearchInput Component Styles */
5890
-
5891
- .muka-search-input {
5892
- display: flex;
5893
- align-items: center;
5894
- gap: var(--spacing-3);
5895
- width: 100%;
5896
- }
5897
-
5898
- /* ─── Field wrapper ───────────────────────────────────── */
5681
+ /* SegmentGroup */
5682
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5899
5683
 
5900
- .muka-search-input__field {
5901
- flex: 1 1 auto;
5902
- display: flex;
5684
+ /* Container */
5685
+ .muka-segmentgroup {
5686
+ display: inline-flex;
5903
5687
  align-items: center;
5904
- gap: var(--spacing-2);
5905
- background-color: var(--input-field-color-default-background);
5906
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5907
- border-radius: var(--input-field-radius-md);
5908
- padding: 0 var(--input-field-padding-x);
5909
- transition: border-color 0.12s ease, background-color 0.12s ease;
5688
+ gap: 0;
5689
+ padding: var(--segmentgroup-container-padding);
5690
+ background-color: var(--segmentgroup-container-background);
5691
+ border-radius: var(--segmentgroup-container-radius);
5692
+ position: relative;
5693
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
5910
5694
  }
5911
5695
 
5912
- .muka-search-input--focused .muka-search-input__field {
5913
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5696
+ /* Inset shadow on container */
5697
+ .muka-segmentgroup::after {
5698
+ content: '';
5699
+ position: absolute;
5700
+ inset: 0;
5701
+ border-radius: inherit;
5702
+ box-shadow: var(--segmentgroup-container-shadow);
5703
+ pointer-events: none;
5914
5704
  }
5915
5705
 
5916
- /* ─── Sizes ───────────────────────────────────────────── */
5917
-
5918
- .muka-search-input--sm .muka-search-input__field {
5919
- min-height: var(--input-field-height-sm);
5920
- border-radius: var(--input-field-radius-sm);
5706
+ /* Full width variant */
5707
+ .muka-segmentgroup--full-width {
5708
+ width: 100%;
5921
5709
  }
5922
5710
 
5923
- .muka-search-input--md .muka-search-input__field {
5924
- min-height: var(--input-field-height-default);
5711
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5712
+ flex: 1;
5925
5713
  }
5926
5714
 
5927
- .muka-search-input--lg .muka-search-input__field {
5928
- min-height: var(--input-field-height-lg);
5929
- border-radius: var(--input-field-radius-lg);
5715
+ /* Pill */
5716
+ .muka-segmentgroup__pill {
5717
+ position: absolute;
5718
+ top: var(--segmentgroup-container-padding);
5719
+ bottom: var(--segmentgroup-container-padding);
5720
+ left: 0;
5721
+ margin: 0;
5722
+ background-color: var(--segmentgroup-segment-color-selected-background);
5723
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
5724
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5725
+ z-index: 0;
5726
+ pointer-events: none;
5930
5727
  }
5931
5728
 
5932
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5933
-
5934
- .muka-search-input--embedded .muka-search-input__field {
5935
- background-color: var(--color-surface-level1);
5936
- border-color: transparent;
5729
+ /* Segment button */
5730
+ .muka-segmentgroup__segment {
5731
+ display: inline-flex;
5732
+ align-items: center;
5733
+ justify-content: center;
5734
+ gap: var(--segmentgroup-segment-gap);
5735
+ border: none;
5736
+ background-color: var(--segmentgroup-segment-color-unselected-background);
5737
+ color: var(--segmentgroup-segment-color-unselected-foreground);
5738
+ border-radius: var(--segmentgroup-segment-radius);
5739
+ cursor: pointer;
5740
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5741
+ position: relative;
5742
+ outline: none;
5743
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
5744
+ font-family: var(--alias-font-plain-family);
5745
+ font-weight: var(--segmentgroup-segment-fontWeight);
5746
+ z-index: 1; /* Keep above pill */
5747
+ }
5748
+
5749
+ /* Size variants */
5750
+ .muka-segmentgroup--sm {
5751
+ border-radius: var(--border-radius-xl, 16px);
5752
+ }
5753
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
5754
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
5755
+ border-radius: var(--border-radius-xl, 16px);
5756
+ }
5757
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
5758
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5759
+ height: var(--segmentgroup-segment-height-sm);
5760
+ font-size: var(--text-label-sm-fontSize);
5761
+ line-height: var(--text-label-sm-lineHeight);
5762
+ }
5763
+
5764
+ .muka-segmentgroup--md {
5765
+ border-radius: var(--border-radius-xl, 16px);
5766
+ }
5767
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
5768
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
5769
+ border-radius: var(--border-radius-xl, 16px);
5770
+ }
5771
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
5772
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5773
+ font-size: var(--text-label-md-fontSize);
5774
+ line-height: var(--text-label-md-lineHeight);
5775
+ }
5776
+
5777
+ .muka-segmentgroup--lg {
5778
+ border-radius: var(--border-radius-full, 9999px);
5779
+ }
5780
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
5781
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
5782
+ border-radius: var(--border-radius-full, 9999px);
5783
+ }
5784
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
5785
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5786
+ height: 40px;
5787
+ font-size: var(--text-label-lg-fontSize);
5788
+ line-height: var(--text-label-lg-lineHeight);
5789
+ }
5790
+
5791
+ /* Icon-only variants */
5792
+ .muka-segmentgroup--icon-only {
5793
+ gap: var(--spacing-1, 4px);
5794
+ }
5795
+
5796
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5797
+ width: 24px;
5798
+ height: 24px;
5799
+ padding: 0;
5800
+ }
5801
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5802
+ width: 16px;
5803
+ height: 16px;
5804
+ }
5805
+
5806
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
5807
+ width: 32px;
5808
+ height: 32px;
5809
+ padding: 0;
5810
+ }
5811
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
5812
+ width: 20px;
5813
+ height: 20px;
5814
+ }
5815
+
5816
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
5817
+ width: 40px;
5818
+ height: 40px;
5819
+ padding: 0;
5820
+ }
5821
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5822
+ width: 24px;
5823
+ height: 24px;
5824
+ }
5825
+
5826
+ /* Icon */
5827
+ .muka-segmentgroup__icon {
5828
+ display: inline-flex;
5829
+ align-items: center;
5830
+ justify-content: center;
5831
+ }
5832
+
5833
+ /* Selected state */
5834
+ .muka-segmentgroup__segment--selected {
5835
+ background-color: transparent;
5836
+ box-shadow: none;
5837
+ color: var(--segmentgroup-segment-color-selected-foreground);
5838
+ z-index: 2; /* Highlight pill when focused is tested below */
5839
+ }
5840
+
5841
+ /* Hover state (only for unselected) */
5842
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5843
+ color: var(--segmentgroup-segment-color-hover-foreground);
5844
+ }
5845
+
5846
+ /* Focus visible */
5847
+ .muka-segmentgroup__segment:focus-visible {
5848
+ outline: 2px solid var(--color-border-focus);
5849
+ outline-offset: 2px;
5850
+ z-index: 2;
5851
+ }
5852
+
5853
+ /* Disabled state */
5854
+ .muka-segmentgroup__segment--disabled,
5855
+ .muka-segmentgroup__segment:disabled {
5856
+ cursor: not-allowed;
5857
+ opacity: 0.5;
5858
+ }
5859
+
5860
+ /* Label */
5861
+ .muka-segmentgroup__label {
5862
+ display: inline-flex;
5863
+ align-items: center;
5864
+ white-space: nowrap;
5865
+ user-select: none;
5866
+ }
5867
+
5868
+
5869
+ /* Section */
5870
+ /* Section Component - Layout tokens (section.padding) */
5871
+
5872
+ .muka-section {
5873
+ box-sizing: border-box;
5874
+ }
5875
+
5876
+ .muka-section--padding-compact {
5877
+ padding-block: var(--section-padding-vertical-compact);
5878
+ padding-inline: var(--section-padding-horizontal-compact);
5879
+ }
5880
+
5881
+ .muka-section--padding-default {
5882
+ padding-block: var(--section-padding-vertical-default);
5883
+ padding-inline: var(--section-padding-horizontal-default);
5884
+ }
5885
+
5886
+ .muka-section--padding-spacious {
5887
+ padding-block: var(--section-padding-vertical-spacious);
5888
+ padding-inline: var(--section-padding-horizontal-spacious);
5889
+ }
5890
+
5891
+
5892
+ /* SearchInput */
5893
+ /* SearchInput Component Styles */
5894
+
5895
+ .muka-search-input {
5896
+ display: flex;
5897
+ align-items: center;
5898
+ gap: var(--spacing-3);
5899
+ width: 100%;
5900
+ }
5901
+
5902
+ /* ─── Field wrapper ───────────────────────────────────── */
5903
+
5904
+ .muka-search-input__field {
5905
+ flex: 1 1 auto;
5906
+ display: flex;
5907
+ align-items: center;
5908
+ gap: var(--spacing-2);
5909
+ background-color: var(--input-field-color-default-background);
5910
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5911
+ border-radius: var(--input-field-radius-md);
5912
+ padding: 0 var(--input-field-padding-x);
5913
+ transition: border-color 0.12s ease, background-color 0.12s ease;
5914
+ }
5915
+
5916
+ .muka-search-input--focused .muka-search-input__field {
5917
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
5918
+ }
5919
+
5920
+ /* ─── Sizes ───────────────────────────────────────────── */
5921
+
5922
+ .muka-search-input--sm .muka-search-input__field {
5923
+ min-height: var(--input-field-height-sm);
5924
+ border-radius: var(--input-field-radius-sm);
5925
+ }
5926
+
5927
+ .muka-search-input--md .muka-search-input__field {
5928
+ min-height: var(--input-field-height-default);
5929
+ }
5930
+
5931
+ .muka-search-input--lg .muka-search-input__field {
5932
+ min-height: var(--input-field-height-lg);
5933
+ border-radius: var(--input-field-radius-lg);
5934
+ }
5935
+
5936
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5937
+
5938
+ .muka-search-input--embedded .muka-search-input__field {
5939
+ background-color: var(--color-surface-level1);
5940
+ border-color: transparent;
5937
5941
  }
5938
5942
 
5939
5943
  .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
@@ -6181,39 +6185,89 @@ body {
6181
6185
  }
6182
6186
 
6183
6187
 
6184
- /* RangeSlider */
6185
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6186
-
6187
- .muka-range-slider {
6188
- display: flex;
6189
- flex-direction: column;
6190
- gap: var(--spacing-1);
6191
- width: 100%;
6192
- }
6193
-
6194
- /* ========================================
6195
- HEADER: label group (label + info + optional) and value readout
6196
- ======================================== */
6188
+ /* RecordingBar */
6189
+ /* RecordingBar Component Styles */
6197
6190
 
6198
- .muka-range-slider__header {
6191
+ .muka-recording-bar {
6199
6192
  display: flex;
6200
6193
  align-items: center;
6201
- justify-content: space-between;
6202
- gap: var(--spacing-2);
6203
- min-height: 24px;
6194
+ gap: var(--spacing-3);
6195
+ width: 100%;
6196
+ min-width: 0;
6204
6197
  }
6205
6198
 
6206
- .muka-range-slider__label-group {
6207
- display: inline-flex;
6208
- align-items: center;
6209
- gap: var(--spacing-2);
6199
+ .muka-recording-bar__dot {
6200
+ flex: 0 0 auto;
6201
+ width: 0.625rem;
6202
+ height: 0.625rem;
6203
+ border-radius: var(--radius-full, 9999px);
6204
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6205
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6210
6206
  }
6211
6207
 
6212
- .muka-range-slider__label {
6213
- font-family: var(--text-label-md-semibold-fontFamily);
6214
- font-weight: var(--text-label-md-semibold-fontWeight);
6215
- font-size: var(--text-label-md-semibold-fontSize);
6216
- line-height: var(--text-label-md-semibold-lineHeight);
6208
+ .muka-recording-bar__time {
6209
+ flex: 0 0 auto;
6210
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6211
+ line-height: var(--text-label-sm-lineHeight, 1);
6212
+ font-variant-numeric: tabular-nums;
6213
+ color: var(--color-text-default-default);
6214
+ }
6215
+
6216
+ .muka-recording-bar__wave {
6217
+ flex: 1 1 auto;
6218
+ min-width: 0;
6219
+ }
6220
+
6221
+ @keyframes muka-recording-bar-pulse {
6222
+ 0%,
6223
+ 100% {
6224
+ opacity: 1;
6225
+ }
6226
+ 50% {
6227
+ opacity: 0.3;
6228
+ }
6229
+ }
6230
+
6231
+ @media (prefers-reduced-motion: reduce) {
6232
+ .muka-recording-bar__dot {
6233
+ animation: none;
6234
+ }
6235
+ }
6236
+
6237
+
6238
+ /* RangeSlider */
6239
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6240
+
6241
+ .muka-range-slider {
6242
+ display: flex;
6243
+ flex-direction: column;
6244
+ gap: var(--spacing-1);
6245
+ width: 100%;
6246
+ }
6247
+
6248
+ /* ========================================
6249
+ HEADER: label group (label + info + optional) and value readout
6250
+ ======================================== */
6251
+
6252
+ .muka-range-slider__header {
6253
+ display: flex;
6254
+ align-items: center;
6255
+ justify-content: space-between;
6256
+ gap: var(--spacing-2);
6257
+ min-height: 24px;
6258
+ }
6259
+
6260
+ .muka-range-slider__label-group {
6261
+ display: inline-flex;
6262
+ align-items: center;
6263
+ gap: var(--spacing-2);
6264
+ }
6265
+
6266
+ .muka-range-slider__label {
6267
+ font-family: var(--text-label-md-semibold-fontFamily);
6268
+ font-weight: var(--text-label-md-semibold-fontWeight);
6269
+ font-size: var(--text-label-md-semibold-fontSize);
6270
+ line-height: var(--text-label-md-semibold-lineHeight);
6217
6271
  color: var(--color-text-default-default);
6218
6272
  }
6219
6273
 
@@ -6397,56 +6451,6 @@ body {
6397
6451
  }
6398
6452
 
6399
6453
 
6400
- /* RecordingBar */
6401
- /* RecordingBar Component Styles */
6402
-
6403
- .muka-recording-bar {
6404
- display: flex;
6405
- align-items: center;
6406
- gap: var(--spacing-3);
6407
- width: 100%;
6408
- min-width: 0;
6409
- }
6410
-
6411
- .muka-recording-bar__dot {
6412
- flex: 0 0 auto;
6413
- width: 0.625rem;
6414
- height: 0.625rem;
6415
- border-radius: var(--radius-full, 9999px);
6416
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6417
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6418
- }
6419
-
6420
- .muka-recording-bar__time {
6421
- flex: 0 0 auto;
6422
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6423
- line-height: var(--text-label-sm-lineHeight, 1);
6424
- font-variant-numeric: tabular-nums;
6425
- color: var(--color-text-default-default);
6426
- }
6427
-
6428
- .muka-recording-bar__wave {
6429
- flex: 1 1 auto;
6430
- min-width: 0;
6431
- }
6432
-
6433
- @keyframes muka-recording-bar-pulse {
6434
- 0%,
6435
- 100% {
6436
- opacity: 1;
6437
- }
6438
- 50% {
6439
- opacity: 0.3;
6440
- }
6441
- }
6442
-
6443
- @media (prefers-reduced-motion: reduce) {
6444
- .muka-recording-bar__dot {
6445
- animation: none;
6446
- }
6447
- }
6448
-
6449
-
6450
6454
  /* RadioTile */
6451
6455
  /* RadioTile Component Styles - Using Muka Design Tokens */
6452
6456
 
@@ -6590,53 +6594,6 @@ body {
6590
6594
  }
6591
6595
 
6592
6596
 
6593
- /* PullToRefresh */
6594
- /* PullToRefresh Component Styles */
6595
-
6596
- .muka-pull-to-refresh {
6597
- position: relative;
6598
- display: flex;
6599
- flex-direction: column;
6600
- width: 100%;
6601
- height: 100%;
6602
- overflow: hidden;
6603
- }
6604
-
6605
- .muka-pull-to-refresh__indicator {
6606
- position: absolute;
6607
- top: 0;
6608
- left: 0;
6609
- right: 0;
6610
- display: flex;
6611
- align-items: flex-end;
6612
- justify-content: center;
6613
- padding-bottom: var(--spacing-2);
6614
- color: var(--color-text-subtle-default);
6615
- overflow: hidden;
6616
- pointer-events: none;
6617
- z-index: 1;
6618
- }
6619
-
6620
- .muka-pull-to-refresh__chevron {
6621
- display: inline-flex;
6622
- align-items: center;
6623
- justify-content: center;
6624
- transition: transform 0.16s ease;
6625
- }
6626
-
6627
- .muka-pull-to-refresh__scroller {
6628
- flex: 1 1 auto;
6629
- min-height: 0;
6630
- width: 100%;
6631
- overflow-x: clip;
6632
- overflow-y: auto;
6633
- -webkit-overflow-scrolling: touch;
6634
- overscroll-behavior-y: contain;
6635
- touch-action: pan-y;
6636
- will-change: transform;
6637
- }
6638
-
6639
-
6640
6597
  /* Radio */
6641
6598
  /* Radio Component Styles - Using Muka Design Tokens */
6642
6599
 
@@ -6781,6 +6738,53 @@ body {
6781
6738
  }
6782
6739
 
6783
6740
 
6741
+ /* PullToRefresh */
6742
+ /* PullToRefresh Component Styles */
6743
+
6744
+ .muka-pull-to-refresh {
6745
+ position: relative;
6746
+ display: flex;
6747
+ flex-direction: column;
6748
+ width: 100%;
6749
+ height: 100%;
6750
+ overflow: hidden;
6751
+ }
6752
+
6753
+ .muka-pull-to-refresh__indicator {
6754
+ position: absolute;
6755
+ top: 0;
6756
+ left: 0;
6757
+ right: 0;
6758
+ display: flex;
6759
+ align-items: flex-end;
6760
+ justify-content: center;
6761
+ padding-bottom: var(--spacing-2);
6762
+ color: var(--color-text-subtle-default);
6763
+ overflow: hidden;
6764
+ pointer-events: none;
6765
+ z-index: 1;
6766
+ }
6767
+
6768
+ .muka-pull-to-refresh__chevron {
6769
+ display: inline-flex;
6770
+ align-items: center;
6771
+ justify-content: center;
6772
+ transition: transform 0.16s ease;
6773
+ }
6774
+
6775
+ .muka-pull-to-refresh__scroller {
6776
+ flex: 1 1 auto;
6777
+ min-height: 0;
6778
+ width: 100%;
6779
+ overflow-x: clip;
6780
+ overflow-y: auto;
6781
+ -webkit-overflow-scrolling: touch;
6782
+ overscroll-behavior-y: contain;
6783
+ touch-action: pan-y;
6784
+ will-change: transform;
6785
+ }
6786
+
6787
+
6784
6788
  /* ProgressTracker */
6785
6789
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
6786
6790
 
@@ -8774,229 +8778,43 @@ button.muka-progress-tracker__tab:focus-visible {
8774
8778
  .muka-nav-transition__view--top { z-index: 2; }
8775
8779
 
8776
8780
 
8777
- /* MediaViewer */
8778
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8781
+ /* Menu */
8782
+ /* Menu Component Styles */
8779
8783
 
8780
- /* ─── Native dialog: full viewport ────────────────────── */
8781
- .muka-media-viewer {
8782
- position: fixed;
8783
- inset: 0;
8784
- width: 100%;
8785
- height: 100%;
8786
- max-width: none;
8787
- max-height: none;
8788
- margin: 0;
8789
- padding: 0;
8790
- border: none;
8784
+ /* ─── Content Container ──────────────────────────────────────────────────── */
8785
+
8786
+ .muka-menu__content {
8791
8787
  display: flex;
8792
8788
  flex-direction: column;
8789
+ min-width: var(--menu-content-min-width);
8790
+ max-height: var(--menu-content-max-height);
8793
8791
  overflow: hidden;
8794
- overscroll-behavior: contain;
8795
- color: var(--color-text-default-default);
8796
- background-color: var(--color-black-alpha-12);
8797
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8792
+ background-color: var(--menu-content-color-background);
8793
+ border: var(--menu-content-border-width) solid var(--menu-content-color-border);
8794
+ border-radius: var(--menu-content-border-radius);
8795
+ box-shadow: var(--menu-content-shadow);
8796
+ padding: 0;
8797
+ z-index: 50;
8798
+
8799
+ /* Animation */
8800
+ animation-duration: 150ms;
8801
+ animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
8798
8802
  }
8799
8803
 
8800
- .muka-media-viewer:not([open]) {
8801
- display: none;
8804
+ .muka-menu__body {
8805
+ display: flex;
8806
+ flex: 1 1 auto;
8807
+ min-height: 0;
8808
+ align-items: stretch;
8809
+ width: 100%;
8802
8810
  }
8803
8811
 
8804
- .muka-media-viewer::backdrop {
8805
- background-color: var(--color-black-alpha-12);
8806
- }
8807
-
8808
- @keyframes muka-media-viewer-in {
8809
- from {
8810
- opacity: 0;
8811
- }
8812
- to {
8813
- opacity: 1;
8814
- }
8815
- }
8816
-
8817
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8818
- .muka-media-viewer__topbar {
8819
- flex-shrink: 0;
8820
- background-color: var(--color-surface-level3);
8821
- }
8822
-
8823
- .muka-media-viewer__live {
8824
- position: absolute;
8825
- width: 1px;
8826
- height: 1px;
8827
- padding: 0;
8828
- margin: -1px;
8829
- overflow: hidden;
8830
- clip: rect(0, 0, 0, 0);
8831
- white-space: nowrap;
8832
- border: 0;
8833
- }
8834
-
8835
- /* ─── Stage: the dark area the images slide across ────── */
8836
- .muka-media-viewer__stage {
8837
- position: relative;
8838
- flex: 1 1 auto;
8839
- min-height: 0;
8840
- overflow: hidden;
8841
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8842
- touch-action: none;
8843
- user-select: none;
8844
- -webkit-user-select: none;
8845
- }
8846
-
8847
- .muka-media-viewer__slide {
8848
- position: absolute;
8849
- inset: 0;
8850
- display: flex;
8851
- align-items: center;
8852
- justify-content: center;
8853
- padding: var(--spacing-4);
8854
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8855
- will-change: transform;
8856
- }
8857
-
8858
- /* While a finger drags, the image follows it without easing. */
8859
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8860
- transition: none;
8861
- }
8862
-
8863
- .muka-media-viewer__image {
8864
- display: block;
8865
- max-width: 100%;
8866
- max-height: 100%;
8867
- object-fit: contain;
8868
- /* The image takes touches, so a long press opens the OS menu (save, share,
8869
- copy). The swipe still works: pointer events bubble to the stage, and a
8870
- long press doesn't move far enough to start a drag. */
8871
- -webkit-touch-callout: default;
8872
- }
8873
-
8874
- /* ─── Previous / next: devices that can hover ─────────── */
8875
- .muka-media-viewer__nav {
8876
- position: absolute;
8877
- top: 50%;
8878
- display: none;
8879
- transform: translateY(-50%);
8880
- opacity: 0;
8881
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8882
- }
8883
-
8884
- .muka-media-viewer__nav--previous {
8885
- left: var(--spacing-4);
8886
- }
8887
-
8888
- .muka-media-viewer__nav--next {
8889
- right: var(--spacing-4);
8890
- }
8891
-
8892
- @media (hover: hover) and (pointer: fine) {
8893
- .muka-media-viewer__nav {
8894
- display: block;
8895
- }
8896
-
8897
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8898
- .muka-media-viewer__nav:focus-within {
8899
- opacity: 1;
8900
- }
8901
- }
8902
-
8903
- /* ─── Footer: caption, meta and actions ───────────────── */
8904
- .muka-media-viewer__footer {
8905
- flex-shrink: 0;
8906
- display: flex;
8907
- flex-direction: column;
8908
- gap: var(--spacing-3);
8909
- padding: var(--spacing-4);
8910
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8911
- background-color: var(--color-surface-level3);
8912
- }
8913
-
8914
- .muka-media-viewer__details {
8915
- display: flex;
8916
- align-items: flex-start;
8917
- justify-content: space-between;
8918
- gap: var(--spacing-3);
8919
- }
8920
-
8921
- .muka-media-viewer__caption {
8922
- min-width: 0;
8923
- color: var(--color-text-subtle-default);
8924
- font-family: var(--text-body-sm-regular-fontFamily);
8925
- font-size: var(--text-body-sm-regular-fontSize);
8926
- font-weight: var(--text-body-sm-regular-fontWeight);
8927
- line-height: var(--text-body-sm-regular-lineHeight);
8928
- overflow-wrap: anywhere;
8929
- }
8930
-
8931
- .muka-media-viewer__meta {
8932
- flex-shrink: 0;
8933
- }
8934
-
8935
- .muka-media-viewer__actions {
8936
- display: flex;
8937
- flex-wrap: wrap;
8938
- gap: var(--spacing-2);
8939
- }
8940
-
8941
- /* Mobile: actions stack full width, like Dialog footers. */
8942
- @media (max-width: 1023px) {
8943
- .muka-media-viewer__actions {
8944
- flex-direction: column;
8945
- }
8946
-
8947
- .muka-media-viewer__actions > * {
8948
- width: 100%;
8949
- }
8950
- }
8951
-
8952
- /* ─── Reduced motion ──────────────────────────────────── */
8953
- @media (prefers-reduced-motion: reduce) {
8954
- .muka-media-viewer,
8955
- .muka-media-viewer__slide,
8956
- .muka-media-viewer__nav {
8957
- animation: none;
8958
- transition: none;
8959
- }
8960
- }
8961
-
8962
-
8963
- /* Menu */
8964
- /* Menu Component Styles */
8965
-
8966
- /* ─── Content Container ──────────────────────────────────────────────────── */
8967
-
8968
- .muka-menu__content {
8969
- display: flex;
8970
- flex-direction: column;
8971
- min-width: var(--menu-content-min-width);
8972
- max-height: var(--menu-content-max-height);
8973
- overflow: hidden;
8974
- background-color: var(--menu-content-color-background);
8975
- border: var(--menu-content-border-width) solid var(--menu-content-color-border);
8976
- border-radius: var(--menu-content-border-radius);
8977
- box-shadow: var(--menu-content-shadow);
8978
- padding: 0;
8979
- z-index: 50;
8980
-
8981
- /* Animation */
8982
- animation-duration: 150ms;
8983
- animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
8984
- }
8985
-
8986
- .muka-menu__body {
8987
- display: flex;
8988
- flex: 1 1 auto;
8989
- min-height: 0;
8990
- align-items: stretch;
8991
- width: 100%;
8992
- }
8993
-
8994
- .muka-menu__viewport {
8995
- flex: 1 1 auto;
8996
- min-width: 0;
8997
- min-height: 0;
8998
- overflow-y: auto;
8999
- padding: var(--menu-content-padding);
8812
+ .muka-menu__viewport {
8813
+ flex: 1 1 auto;
8814
+ min-width: 0;
8815
+ min-height: 0;
8816
+ overflow-y: auto;
8817
+ padding: var(--menu-content-padding);
9000
8818
  }
9001
8819
 
9002
8820
  .muka-menu__content--scrollbar .muka-menu__viewport {
@@ -9439,52 +9257,238 @@ button.muka-progress-tracker__tab:focus-visible {
9439
9257
  }
9440
9258
 
9441
9259
 
9442
- /* ListItem */
9443
- /* ListItem Component Styles - Using Muka Design Tokens */
9260
+ /* MediaViewer */
9261
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
9444
9262
 
9445
- /* Base list item styles */
9446
- .muka-listitem {
9447
- /* Layout */
9448
- display: flex;
9449
- align-items: flex-start;
9450
- gap: var(--spacing-4);
9451
- padding: var(--spacing-5) var(--spacing-4);
9452
-
9453
- /* Background - using semantic tokens */
9454
- background-color: var(--color-surface-level3);
9455
-
9456
- /* Typography */
9457
- font-family: var(--alias-font-brand-family);
9458
-
9459
- /* Border and spacing */
9263
+ /* ─── Native dialog: full viewport ────────────────────── */
9264
+ .muka-media-viewer {
9265
+ position: fixed;
9266
+ inset: 0;
9267
+ width: 100%;
9268
+ height: 100%;
9269
+ max-width: none;
9270
+ max-height: none;
9271
+ margin: 0;
9272
+ padding: 0;
9460
9273
  border: none;
9461
- position: relative;
9462
-
9463
- /* Interaction - only apply if interactive */
9464
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
9274
+ display: flex;
9275
+ flex-direction: column;
9276
+ overflow: hidden;
9277
+ overscroll-behavior: contain;
9278
+ color: var(--color-text-default-default);
9279
+ background-color: var(--color-black-alpha-12);
9280
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
9465
9281
  }
9466
9282
 
9467
- /* Interactive state */
9468
- .muka-listitem--interactive {
9469
- cursor: pointer;
9283
+ .muka-media-viewer:not([open]) {
9284
+ display: none;
9470
9285
  }
9471
9286
 
9472
- /*
9473
- * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
9474
- * are layered on top of the item's base surface via an inset box-shadow overlay
9475
- * rather than replacing background-color. This preserves the base level (level3,
9476
- * or level2 when selected) and lets the tint read correctly on any surface.
9477
- */
9478
- .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
9479
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
9287
+ .muka-media-viewer::backdrop {
9288
+ background-color: var(--color-black-alpha-12);
9480
9289
  }
9481
9290
 
9482
- .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
9483
- .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
9484
- box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
9291
+ @keyframes muka-media-viewer-in {
9292
+ from {
9293
+ opacity: 0;
9294
+ }
9295
+ to {
9296
+ opacity: 1;
9297
+ }
9485
9298
  }
9486
9299
 
9487
- /* Focus styles for accessibility */
9300
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
9301
+ .muka-media-viewer__topbar {
9302
+ flex-shrink: 0;
9303
+ background-color: var(--color-surface-level3);
9304
+ }
9305
+
9306
+ .muka-media-viewer__live {
9307
+ position: absolute;
9308
+ width: 1px;
9309
+ height: 1px;
9310
+ padding: 0;
9311
+ margin: -1px;
9312
+ overflow: hidden;
9313
+ clip: rect(0, 0, 0, 0);
9314
+ white-space: nowrap;
9315
+ border: 0;
9316
+ }
9317
+
9318
+ /* ─── Stage: the dark area the images slide across ────── */
9319
+ .muka-media-viewer__stage {
9320
+ position: relative;
9321
+ flex: 1 1 auto;
9322
+ min-height: 0;
9323
+ overflow: hidden;
9324
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
9325
+ touch-action: none;
9326
+ user-select: none;
9327
+ -webkit-user-select: none;
9328
+ }
9329
+
9330
+ .muka-media-viewer__slide {
9331
+ position: absolute;
9332
+ inset: 0;
9333
+ display: flex;
9334
+ align-items: center;
9335
+ justify-content: center;
9336
+ padding: var(--spacing-4);
9337
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
9338
+ will-change: transform;
9339
+ }
9340
+
9341
+ /* While a finger drags, the image follows it without easing. */
9342
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
9343
+ transition: none;
9344
+ }
9345
+
9346
+ .muka-media-viewer__image {
9347
+ display: block;
9348
+ max-width: 100%;
9349
+ max-height: 100%;
9350
+ object-fit: contain;
9351
+ /* The image takes touches, so a long press opens the OS menu (save, share,
9352
+ copy). The swipe still works: pointer events bubble to the stage, and a
9353
+ long press doesn't move far enough to start a drag. */
9354
+ -webkit-touch-callout: default;
9355
+ }
9356
+
9357
+ /* ─── Previous / next: devices that can hover ─────────── */
9358
+ .muka-media-viewer__nav {
9359
+ position: absolute;
9360
+ top: 50%;
9361
+ display: none;
9362
+ transform: translateY(-50%);
9363
+ opacity: 0;
9364
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
9365
+ }
9366
+
9367
+ .muka-media-viewer__nav--previous {
9368
+ left: var(--spacing-4);
9369
+ }
9370
+
9371
+ .muka-media-viewer__nav--next {
9372
+ right: var(--spacing-4);
9373
+ }
9374
+
9375
+ @media (hover: hover) and (pointer: fine) {
9376
+ .muka-media-viewer__nav {
9377
+ display: block;
9378
+ }
9379
+
9380
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
9381
+ .muka-media-viewer__nav:focus-within {
9382
+ opacity: 1;
9383
+ }
9384
+ }
9385
+
9386
+ /* ─── Footer: caption, meta and actions ───────────────── */
9387
+ .muka-media-viewer__footer {
9388
+ flex-shrink: 0;
9389
+ display: flex;
9390
+ flex-direction: column;
9391
+ gap: var(--spacing-3);
9392
+ padding: var(--spacing-4);
9393
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
9394
+ background-color: var(--color-surface-level3);
9395
+ }
9396
+
9397
+ .muka-media-viewer__details {
9398
+ display: flex;
9399
+ align-items: flex-start;
9400
+ justify-content: space-between;
9401
+ gap: var(--spacing-3);
9402
+ }
9403
+
9404
+ .muka-media-viewer__caption {
9405
+ min-width: 0;
9406
+ color: var(--color-text-subtle-default);
9407
+ font-family: var(--text-body-sm-regular-fontFamily);
9408
+ font-size: var(--text-body-sm-regular-fontSize);
9409
+ font-weight: var(--text-body-sm-regular-fontWeight);
9410
+ line-height: var(--text-body-sm-regular-lineHeight);
9411
+ overflow-wrap: anywhere;
9412
+ }
9413
+
9414
+ .muka-media-viewer__meta {
9415
+ flex-shrink: 0;
9416
+ }
9417
+
9418
+ .muka-media-viewer__actions {
9419
+ display: flex;
9420
+ flex-wrap: wrap;
9421
+ gap: var(--spacing-2);
9422
+ }
9423
+
9424
+ /* Mobile: actions stack full width, like Dialog footers. */
9425
+ @media (max-width: 1023px) {
9426
+ .muka-media-viewer__actions {
9427
+ flex-direction: column;
9428
+ }
9429
+
9430
+ .muka-media-viewer__actions > * {
9431
+ width: 100%;
9432
+ }
9433
+ }
9434
+
9435
+ /* ─── Reduced motion ──────────────────────────────────── */
9436
+ @media (prefers-reduced-motion: reduce) {
9437
+ .muka-media-viewer,
9438
+ .muka-media-viewer__slide,
9439
+ .muka-media-viewer__nav {
9440
+ animation: none;
9441
+ transition: none;
9442
+ }
9443
+ }
9444
+
9445
+
9446
+ /* ListItem */
9447
+ /* ListItem Component Styles - Using Muka Design Tokens */
9448
+
9449
+ /* Base list item styles */
9450
+ .muka-listitem {
9451
+ /* Layout */
9452
+ display: flex;
9453
+ align-items: flex-start;
9454
+ gap: var(--spacing-4);
9455
+ padding: var(--spacing-5) var(--spacing-4);
9456
+
9457
+ /* Background - using semantic tokens */
9458
+ background-color: var(--color-surface-level3);
9459
+
9460
+ /* Typography */
9461
+ font-family: var(--alias-font-brand-family);
9462
+
9463
+ /* Border and spacing */
9464
+ border: none;
9465
+ position: relative;
9466
+
9467
+ /* Interaction - only apply if interactive */
9468
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
9469
+ }
9470
+
9471
+ /* Interactive state */
9472
+ .muka-listitem--interactive {
9473
+ cursor: pointer;
9474
+ }
9475
+
9476
+ /*
9477
+ * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
9478
+ * are layered on top of the item's base surface via an inset box-shadow overlay
9479
+ * rather than replacing background-color. This preserves the base level (level3,
9480
+ * or level2 when selected) and lets the tint read correctly on any surface.
9481
+ */
9482
+ .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
9483
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
9484
+ }
9485
+
9486
+ .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
9487
+ .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
9488
+ box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
9489
+ }
9490
+
9491
+ /* Focus styles for accessibility */
9488
9492
  .muka-listitem:focus-visible {
9489
9493
  outline: 2px solid var(--color-border-focus);
9490
9494
  outline-offset: -2px;
@@ -9633,38 +9637,231 @@ li.muka-listitem {
9633
9637
  }
9634
9638
 
9635
9639
 
9636
- /* Label */
9637
- /* Label Component Styles - Using Muka Design Tokens */
9640
+ /* LicensePlateInput */
9641
+ /* LicensePlateInput — Dutch RDW-style plate input
9642
+ *
9643
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
9644
+ * - Plate yellow: #F0CE3D
9645
+ * - EU strip blue: #003399
9646
+ * - EU stars yellow: #FFCC00
9647
+ * - Plate text: #1A1A1A
9648
+ *
9649
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
9650
+ */
9638
9651
 
9639
- .muka-label {
9640
- display: inline-flex;
9641
- align-items: center;
9642
- color: var(--color-text-default-default);
9643
- cursor: pointer;
9644
- }
9652
+ .muka-license-plate-input {
9653
+ --plate-yellow: #f0ce3d;
9654
+ --plate-blue: #003399;
9655
+ --plate-text: #1a1a1a;
9656
+ --plate-stars: #ffcc00;
9645
9657
 
9646
- .muka-label--sm {
9647
- font-family: var(--text-label-sm-semibold-fontFamily);
9648
- font-weight: var(--text-label-sm-semibold-fontWeight);
9649
- font-size: var(--text-label-sm-semibold-fontSize);
9650
- line-height: var(--text-label-sm-semibold-lineHeight);
9658
+ display: inline-flex;
9659
+ flex-direction: column;
9660
+ gap: var(--spacing-2);
9651
9661
  }
9652
9662
 
9653
- .muka-label--md {
9654
- font-family: var(--text-label-md-semibold-fontFamily);
9655
- font-weight: var(--text-label-md-semibold-fontWeight);
9656
- font-size: var(--text-label-md-semibold-fontSize);
9657
- line-height: var(--text-label-md-semibold-lineHeight);
9663
+ /* Plate body */
9664
+ .muka-license-plate-input__plate {
9665
+ display: inline-flex;
9666
+ align-items: stretch;
9667
+ background-color: var(--plate-yellow);
9668
+ border-radius: var(--input-field-radius-md);
9669
+ cursor: text;
9670
+ position: relative;
9671
+ overflow: hidden;
9672
+ box-sizing: border-box;
9673
+ /* Subtle outline to lift the plate from light backgrounds */
9674
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
9675
+ /* Reserve space for the focus / error solid ring without shifting layout */
9676
+ outline: 3px solid transparent;
9677
+ outline-offset: 2px;
9678
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
9658
9679
  }
9659
9680
 
9660
- .muka-label--lg {
9661
- font-family: var(--text-label-lg-semibold-fontFamily);
9662
- font-weight: var(--text-label-lg-semibold-fontWeight);
9663
- font-size: var(--text-label-lg-semibold-fontSize);
9664
- line-height: var(--text-label-lg-semibold-lineHeight);
9681
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
9682
+ .muka-license-plate-input__plate--sm {
9683
+ height: 44px;
9684
+ min-width: 220px;
9685
+ border-radius: var(--input-field-radius-sm);
9665
9686
  }
9666
9687
 
9667
- .muka-label--disabled {
9688
+ .muka-license-plate-input__plate--md {
9689
+ height: 60px;
9690
+ min-width: 300px;
9691
+ border-radius: var(--input-field-radius-md);
9692
+ }
9693
+
9694
+ .muka-license-plate-input__plate--lg {
9695
+ height: 80px;
9696
+ min-width: 400px;
9697
+ border-radius: var(--input-field-radius-lg);
9698
+ }
9699
+
9700
+ /* Focus — solid outline ring */
9701
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
9702
+ outline-color: var(--input-field-color-focus-border);
9703
+ }
9704
+
9705
+ /* Error — solid outline ring in error color */
9706
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
9707
+ outline-color: var(--input-field-color-error-border);
9708
+ }
9709
+
9710
+ /* Disabled */
9711
+ .muka-license-plate-input__plate--disabled {
9712
+ cursor: not-allowed;
9713
+ opacity: 0.55;
9714
+ }
9715
+
9716
+ /* EU strip */
9717
+ .muka-license-plate-input__eu-strip {
9718
+ display: inline-flex;
9719
+ flex-direction: column;
9720
+ align-items: center;
9721
+ justify-content: center;
9722
+ background-color: var(--plate-blue);
9723
+ color: #ffffff;
9724
+ flex-shrink: 0;
9725
+ padding: 0 0.4em;
9726
+ gap: 0.15em;
9727
+ /* Strip width scales with plate height for a consistent ratio */
9728
+ width: 14%;
9729
+ min-width: 36px;
9730
+ }
9731
+
9732
+ .muka-license-plate-input__eu-stars {
9733
+ width: 60%;
9734
+ max-width: 28px;
9735
+ aspect-ratio: 1 / 1;
9736
+ display: block;
9737
+ }
9738
+
9739
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
9740
+ max-width: 20px;
9741
+ }
9742
+
9743
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
9744
+ max-width: 36px;
9745
+ }
9746
+
9747
+ .muka-license-plate-input__country-code {
9748
+ font-family:
9749
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
9750
+ font-weight: 700;
9751
+ letter-spacing: 0.04em;
9752
+ line-height: 1;
9753
+ color: #ffffff;
9754
+ }
9755
+
9756
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
9757
+ font-size: 10px;
9758
+ }
9759
+
9760
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
9761
+ font-size: 13px;
9762
+ }
9763
+
9764
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9765
+ font-size: 16px;
9766
+ }
9767
+
9768
+ /* Native input */
9769
+ .muka-license-plate-input__native {
9770
+ flex: 1;
9771
+ min-width: 0;
9772
+ border: none;
9773
+ outline: none;
9774
+ background: transparent;
9775
+ color: var(--plate-text);
9776
+ text-align: center;
9777
+ text-transform: uppercase;
9778
+ letter-spacing: 0.06em;
9779
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9780
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
9781
+ font-family:
9782
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9783
+ font-weight: 800;
9784
+ padding: 0 0.5em;
9785
+ width: 100%;
9786
+ caret-color: var(--plate-text);
9787
+ }
9788
+
9789
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9790
+ font-size: 22px;
9791
+ }
9792
+
9793
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9794
+ font-size: 30px;
9795
+ }
9796
+
9797
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9798
+ font-size: 42px;
9799
+ }
9800
+
9801
+ .muka-license-plate-input__native::placeholder {
9802
+ color: var(--plate-text);
9803
+ opacity: 0.55;
9804
+ font-weight: 700;
9805
+ letter-spacing: 0.08em;
9806
+ }
9807
+
9808
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9809
+ cursor: not-allowed;
9810
+ }
9811
+
9812
+ /* Helper text */
9813
+ .muka-license-plate-input__helper {
9814
+ font-family: var(--text-label-sm-regular-fontFamily);
9815
+ font-weight: var(--text-label-sm-regular-fontWeight);
9816
+ font-size: var(--text-label-sm-regular-fontSize);
9817
+ line-height: var(--text-label-sm-regular-lineHeight);
9818
+ color: var(--color-text-subtle-default);
9819
+ margin: 0;
9820
+ }
9821
+
9822
+ /* Error message */
9823
+ .muka-license-plate-input__error {
9824
+ font-family: var(--text-label-sm-regular-fontFamily);
9825
+ font-weight: var(--text-label-sm-regular-fontWeight);
9826
+ font-size: var(--text-label-sm-regular-fontSize);
9827
+ line-height: var(--text-label-sm-regular-lineHeight);
9828
+ color: var(--color-state-error-default);
9829
+ margin: 0;
9830
+ }
9831
+
9832
+
9833
+ /* Label */
9834
+ /* Label Component Styles - Using Muka Design Tokens */
9835
+
9836
+ .muka-label {
9837
+ display: inline-flex;
9838
+ align-items: center;
9839
+ color: var(--color-text-default-default);
9840
+ cursor: pointer;
9841
+ }
9842
+
9843
+ .muka-label--sm {
9844
+ font-family: var(--text-label-sm-semibold-fontFamily);
9845
+ font-weight: var(--text-label-sm-semibold-fontWeight);
9846
+ font-size: var(--text-label-sm-semibold-fontSize);
9847
+ line-height: var(--text-label-sm-semibold-lineHeight);
9848
+ }
9849
+
9850
+ .muka-label--md {
9851
+ font-family: var(--text-label-md-semibold-fontFamily);
9852
+ font-weight: var(--text-label-md-semibold-fontWeight);
9853
+ font-size: var(--text-label-md-semibold-fontSize);
9854
+ line-height: var(--text-label-md-semibold-lineHeight);
9855
+ }
9856
+
9857
+ .muka-label--lg {
9858
+ font-family: var(--text-label-lg-semibold-fontFamily);
9859
+ font-weight: var(--text-label-lg-semibold-fontWeight);
9860
+ font-size: var(--text-label-lg-semibold-fontSize);
9861
+ line-height: var(--text-label-lg-semibold-lineHeight);
9862
+ }
9863
+
9864
+ .muka-label--disabled {
9668
9865
  color: var(--color-text-subtle-default);
9669
9866
  cursor: not-allowed;
9670
9867
  }
@@ -10133,250 +10330,77 @@ li.muka-listitem {
10133
10330
  }
10134
10331
 
10135
10332
 
10136
- /* LicensePlateInput */
10137
- /* LicensePlateInput — Dutch RDW-style plate input
10138
- *
10139
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10140
- * - Plate yellow: #F0CE3D
10141
- * - EU strip blue: #003399
10142
- * - EU stars yellow: #FFCC00
10143
- * - Plate text: #1A1A1A
10144
- *
10145
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10146
- */
10147
-
10148
- .muka-license-plate-input {
10149
- --plate-yellow: #f0ce3d;
10150
- --plate-blue: #003399;
10151
- --plate-text: #1a1a1a;
10152
- --plate-stars: #ffcc00;
10333
+ /* Icon */
10334
+ /* Icon Component Styles - Using Muka Design Tokens */
10153
10335
 
10336
+ .muka-icon {
10154
10337
  display: inline-flex;
10155
- flex-direction: column;
10156
- gap: var(--spacing-2);
10338
+ align-items: center;
10339
+ justify-content: center;
10340
+ flex-shrink: 0;
10341
+ color: var(--color-icon-default-default, currentColor);
10157
10342
  }
10158
10343
 
10159
- /* Plate body */
10160
- .muka-license-plate-input__plate {
10161
- display: inline-flex;
10162
- align-items: stretch;
10163
- background-color: var(--plate-yellow);
10164
- border-radius: var(--input-field-radius-md);
10165
- cursor: text;
10166
- position: relative;
10167
- overflow: hidden;
10168
- box-sizing: border-box;
10169
- /* Subtle outline to lift the plate from light backgrounds */
10170
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10171
- /* Reserve space for the focus / error solid ring without shifting layout */
10172
- outline: 3px solid transparent;
10173
- outline-offset: 2px;
10174
- transition: outline-color 0.15s ease, opacity 0.15s ease;
10344
+ /* Icons inside buttons should inherit from button's foreground color */
10345
+ .muka-button .muka-icon {
10346
+ color: inherit;
10175
10347
  }
10176
10348
 
10177
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10178
- .muka-license-plate-input__plate--sm {
10179
- height: 44px;
10180
- min-width: 220px;
10181
- border-radius: var(--input-field-radius-sm);
10349
+ .muka-icon--subtle {
10350
+ color: var(--color-icon-subtle-default);
10182
10351
  }
10183
10352
 
10184
- .muka-license-plate-input__plate--md {
10185
- height: 60px;
10186
- min-width: 300px;
10187
- border-radius: var(--input-field-radius-md);
10353
+ .muka-icon--muted {
10354
+ color: var(--color-icon-muted-default);
10188
10355
  }
10189
10356
 
10190
- .muka-license-plate-input__plate--lg {
10191
- height: 80px;
10192
- min-width: 400px;
10193
- border-radius: var(--input-field-radius-lg);
10357
+ .muka-icon--inverse {
10358
+ color: var(--color-icon-default-inverse);
10194
10359
  }
10195
10360
 
10196
- /* Focus — solid outline ring */
10197
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10198
- outline-color: var(--input-field-color-focus-border);
10361
+ .muka-icon--xs {
10362
+ width: var(--icon-size-xs);
10363
+ height: var(--icon-size-xs);
10199
10364
  }
10200
10365
 
10201
- /* Error — solid outline ring in error color */
10202
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10203
- outline-color: var(--input-field-color-error-border);
10366
+ .muka-icon--sm {
10367
+ width: var(--icon-size-sm);
10368
+ height: var(--icon-size-sm);
10204
10369
  }
10205
10370
 
10206
- /* Disabled */
10207
- .muka-license-plate-input__plate--disabled {
10208
- cursor: not-allowed;
10209
- opacity: 0.55;
10210
- }
10211
-
10212
- /* EU strip */
10213
- .muka-license-plate-input__eu-strip {
10214
- display: inline-flex;
10215
- flex-direction: column;
10216
- align-items: center;
10217
- justify-content: center;
10218
- background-color: var(--plate-blue);
10219
- color: #ffffff;
10220
- flex-shrink: 0;
10221
- padding: 0 0.4em;
10222
- gap: 0.15em;
10223
- /* Strip width scales with plate height for a consistent ratio */
10224
- width: 14%;
10225
- min-width: 36px;
10226
- }
10227
-
10228
- .muka-license-plate-input__eu-stars {
10229
- width: 60%;
10230
- max-width: 28px;
10231
- aspect-ratio: 1 / 1;
10232
- display: block;
10233
- }
10234
-
10235
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10236
- max-width: 20px;
10237
- }
10238
-
10239
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10240
- max-width: 36px;
10241
- }
10242
-
10243
- .muka-license-plate-input__country-code {
10244
- font-family:
10245
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10246
- font-weight: 700;
10247
- letter-spacing: 0.04em;
10248
- line-height: 1;
10249
- color: #ffffff;
10250
- }
10251
-
10252
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10253
- font-size: 10px;
10254
- }
10255
-
10256
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10257
- font-size: 13px;
10371
+ .muka-icon--md {
10372
+ width: var(--icon-size-default);
10373
+ height: var(--icon-size-default);
10258
10374
  }
10259
10375
 
10260
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10261
- font-size: 16px;
10376
+ .muka-icon--lg {
10377
+ width: var(--icon-size-lg);
10378
+ height: var(--icon-size-lg);
10262
10379
  }
10263
10380
 
10264
- /* Native input */
10265
- .muka-license-plate-input__native {
10266
- flex: 1;
10267
- min-width: 0;
10268
- border: none;
10269
- outline: none;
10270
- background: transparent;
10271
- color: var(--plate-text);
10272
- text-align: center;
10273
- text-transform: uppercase;
10274
- letter-spacing: 0.06em;
10275
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10276
- shipping a custom font. JetBrains Mono is the system mono brand font. */
10277
- font-family:
10278
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10279
- font-weight: 800;
10280
- padding: 0 0.5em;
10381
+ .muka-icon svg {
10281
10382
  width: 100%;
10282
- caret-color: var(--plate-text);
10283
- }
10284
-
10285
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10286
- font-size: 22px;
10287
- }
10288
-
10289
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10290
- font-size: 30px;
10291
- }
10292
-
10293
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10294
- font-size: 42px;
10295
- }
10296
-
10297
- .muka-license-plate-input__native::placeholder {
10298
- color: var(--plate-text);
10299
- opacity: 0.55;
10300
- font-weight: 700;
10301
- letter-spacing: 0.08em;
10302
- }
10303
-
10304
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10305
- cursor: not-allowed;
10306
- }
10307
-
10308
- /* Helper text */
10309
- .muka-license-plate-input__helper {
10310
- font-family: var(--text-label-sm-regular-fontFamily);
10311
- font-weight: var(--text-label-sm-regular-fontWeight);
10312
- font-size: var(--text-label-sm-regular-fontSize);
10313
- line-height: var(--text-label-sm-regular-lineHeight);
10314
- color: var(--color-text-subtle-default);
10315
- margin: 0;
10316
- }
10317
-
10318
- /* Error message */
10319
- .muka-license-plate-input__error {
10320
- font-family: var(--text-label-sm-regular-fontFamily);
10321
- font-weight: var(--text-label-sm-regular-fontWeight);
10322
- font-size: var(--text-label-sm-regular-fontSize);
10323
- line-height: var(--text-label-sm-regular-lineHeight);
10324
- color: var(--color-state-error-default);
10325
- margin: 0;
10326
- }
10327
-
10328
-
10329
- /* Icon */
10330
- /* Icon Component Styles - Using Muka Design Tokens */
10331
-
10332
- .muka-icon {
10333
- display: inline-flex;
10334
- align-items: center;
10335
- justify-content: center;
10336
- flex-shrink: 0;
10337
- color: var(--color-icon-default-default, currentColor);
10338
- }
10339
-
10340
- /* Icons inside buttons should inherit from button's foreground color */
10341
- .muka-button .muka-icon {
10342
- color: inherit;
10343
- }
10344
-
10345
- .muka-icon--subtle {
10346
- color: var(--color-icon-subtle-default);
10347
- }
10348
-
10349
- .muka-icon--muted {
10350
- color: var(--color-icon-muted-default);
10351
- }
10352
-
10353
- .muka-icon--inverse {
10354
- color: var(--color-icon-default-inverse);
10383
+ height: 100%;
10355
10384
  }
10356
10385
 
10357
- .muka-icon--xs {
10358
- width: var(--icon-size-xs);
10359
- height: var(--icon-size-xs);
10360
- }
10361
10386
 
10362
- .muka-icon--sm {
10363
- width: var(--icon-size-sm);
10364
- height: var(--icon-size-sm);
10387
+ /* Form */
10388
+ .muka-form {
10389
+ display: flex;
10390
+ flex-direction: column;
10391
+ width: 100%;
10365
10392
  }
10366
10393
 
10367
- .muka-icon--md {
10368
- width: var(--icon-size-default);
10369
- height: var(--icon-size-default);
10394
+ .muka-form--gap-sm {
10395
+ gap: var(--size-sm);
10370
10396
  }
10371
10397
 
10372
- .muka-icon--lg {
10373
- width: var(--icon-size-lg);
10374
- height: var(--icon-size-lg);
10398
+ .muka-form--gap-md {
10399
+ gap: var(--size-md);
10375
10400
  }
10376
10401
 
10377
- .muka-icon svg {
10378
- width: 100%;
10379
- height: 100%;
10402
+ .muka-form--gap-lg {
10403
+ gap: var(--size-lg);
10380
10404
  }
10381
10405
 
10382
10406
 
@@ -10642,26 +10666,6 @@ li.muka-listitem {
10642
10666
  }
10643
10667
 
10644
10668
 
10645
- /* Form */
10646
- .muka-form {
10647
- display: flex;
10648
- flex-direction: column;
10649
- width: 100%;
10650
- }
10651
-
10652
- .muka-form--gap-sm {
10653
- gap: var(--size-sm);
10654
- }
10655
-
10656
- .muka-form--gap-md {
10657
- gap: var(--size-md);
10658
- }
10659
-
10660
- .muka-form--gap-lg {
10661
- gap: var(--size-lg);
10662
- }
10663
-
10664
-
10665
10669
  /* FAB */
10666
10670
  /* FAB (Floating Action Button) Component Styles */
10667
10671
 
@@ -10803,28 +10807,6 @@ li.muka-listitem {
10803
10807
  }
10804
10808
 
10805
10809
 
10806
- /* EmojiPicker */
10807
- /* EmojiPicker Component Styles */
10808
-
10809
- .muka-emoji-picker {
10810
- display: grid;
10811
- grid-template-columns: repeat(8, 1fr);
10812
- gap: var(--spacing-1);
10813
- padding: var(--spacing-2);
10814
- max-height: 12rem;
10815
- overflow-y: auto;
10816
- background: var(--color-surface-level2);
10817
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10818
- border-radius: var(--radius-lg);
10819
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10820
- }
10821
-
10822
- .muka-emoji-picker__glyph {
10823
- font-size: 1.25rem;
10824
- line-height: 1;
10825
- }
10826
-
10827
-
10828
10810
  /* EmptyState */
10829
10811
  /* EmptyState Component Styles - Using Muka Design Tokens */
10830
10812
 
@@ -10966,6 +10948,28 @@ li.muka-listitem {
10966
10948
  }
10967
10949
 
10968
10950
 
10951
+ /* EmojiPicker */
10952
+ /* EmojiPicker Component Styles */
10953
+
10954
+ .muka-emoji-picker {
10955
+ display: grid;
10956
+ grid-template-columns: repeat(8, 1fr);
10957
+ gap: var(--spacing-1);
10958
+ padding: var(--spacing-2);
10959
+ max-height: 12rem;
10960
+ overflow-y: auto;
10961
+ background: var(--color-surface-level2);
10962
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10963
+ border-radius: var(--radius-lg);
10964
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10965
+ }
10966
+
10967
+ .muka-emoji-picker__glyph {
10968
+ font-size: 1.25rem;
10969
+ line-height: 1;
10970
+ }
10971
+
10972
+
10969
10973
  /* DropdownSelect */
10970
10974
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10971
10975
 
@@ -11339,16 +11343,295 @@ li.muka-listitem {
11339
11343
  }
11340
11344
 
11341
11345
 
11342
- /* Divider */
11343
- /* Divider Component Styles - Using Muka Design Tokens */
11346
+ /* DocumentViewer */
11347
+ /* DocumentViewer Component Styles - Using Muka Design Tokens */
11344
11348
 
11345
- .muka-divider {
11346
- flex-shrink: 0;
11349
+ .muka-documentviewer {
11350
+ display: flex;
11351
+ flex-direction: column;
11352
+ background-color: var(--documentviewer-container-background);
11353
+ border-radius: var(--documentviewer-container-borderRadius);
11354
+ overflow: hidden;
11355
+ position: relative;
11347
11356
  }
11348
11357
 
11349
- .muka-divider--horizontal {
11350
- width: 100%;
11351
- height: var(--separator-width);
11358
+ .muka-documentviewer--fullscreen {
11359
+ position: fixed;
11360
+ top: 0;
11361
+ left: 0;
11362
+ right: 0;
11363
+ bottom: 0;
11364
+ width: 100vw;
11365
+ height: 100vh;
11366
+ z-index: 9999;
11367
+ border-radius: 0;
11368
+ }
11369
+
11370
+ /* Toolbar */
11371
+ .muka-documentviewer__toolbar {
11372
+ display: flex;
11373
+ align-items: center;
11374
+ justify-content: space-between;
11375
+ height: var(--documentviewer-toolbar-height);
11376
+ padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
11377
+ background-color: var(--documentviewer-toolbar-background);
11378
+ border-bottom: 1px solid var(--documentviewer-toolbar-border);
11379
+ gap: var(--documentviewer-toolbar-gap);
11380
+ flex-shrink: 0;
11381
+ }
11382
+
11383
+ .muka-documentviewer__toolbar-section {
11384
+ display: flex;
11385
+ align-items: center;
11386
+ gap: var(--documentviewer-toolbar-gap);
11387
+ }
11388
+
11389
+ .muka-documentviewer__toolbar-section--center {
11390
+ flex: 1;
11391
+ justify-content: center;
11392
+ }
11393
+
11394
+ .muka-documentviewer__toolbar-section--end {
11395
+ justify-content: flex-end;
11396
+ }
11397
+
11398
+ /* Page navigation */
11399
+ .muka-documentviewer__page-input {
11400
+ display: flex;
11401
+ align-items: center;
11402
+ gap: var(--spacing-1);
11403
+ }
11404
+
11405
+ .muka-documentviewer__page-number {
11406
+ width: 3rem;
11407
+ padding: var(--spacing-1) var(--spacing-2);
11408
+ text-align: center;
11409
+ font-family: var(--alias-font-brand-family);
11410
+ font-size: var(--text-label-sm-fontSize);
11411
+ line-height: var(--text-label-sm-lineHeight);
11412
+ border: 1px solid var(--color-border-default);
11413
+ border-radius: var(--border-radius-md);
11414
+ background-color: var(--color-surface-level0);
11415
+ color: var(--color-text-default-default);
11416
+ }
11417
+
11418
+ .muka-documentviewer__page-number:focus {
11419
+ outline: 2px solid var(--color-border-focus);
11420
+ outline-offset: 0;
11421
+ border-color: var(--color-border-focus);
11422
+ }
11423
+
11424
+ .muka-documentviewer__page-total {
11425
+ font-family: var(--alias-font-brand-family);
11426
+ font-size: var(--text-label-sm-fontSize);
11427
+ color: var(--color-text-subtle-default);
11428
+ }
11429
+
11430
+ /* Zoom controls */
11431
+ .muka-documentviewer__zoom-display {
11432
+ min-width: var(--documentviewer-zoom-button-width);
11433
+ padding: var(--spacing-1) var(--spacing-2);
11434
+ font-family: var(--alias-font-brand-family);
11435
+ font-size: var(--text-label-sm-fontSize);
11436
+ font-weight: var(--alias-font-brand-weight-semibold);
11437
+ color: var(--color-text-default-default);
11438
+ background: transparent;
11439
+ border: none;
11440
+ border-radius: var(--border-radius-md);
11441
+ cursor: pointer;
11442
+ transition: background-color 0.2s ease;
11443
+ }
11444
+
11445
+ .muka-documentviewer__zoom-display:hover {
11446
+ background-color: var(--color-surface-level2);
11447
+ }
11448
+
11449
+ .muka-documentviewer__zoom-display:focus {
11450
+ outline: 2px solid var(--color-border-focus);
11451
+ outline-offset: 0;
11452
+ }
11453
+
11454
+ /* Content area */
11455
+ .muka-documentviewer__content {
11456
+ display: flex;
11457
+ flex: 1;
11458
+ overflow: hidden;
11459
+ }
11460
+
11461
+ .muka-documentviewer__main {
11462
+ flex: 1;
11463
+ display: flex;
11464
+ flex-direction: column;
11465
+ overflow: hidden;
11466
+ position: relative;
11467
+ }
11468
+
11469
+ /* Canvas */
11470
+ .muka-documentviewer__canvas {
11471
+ flex: 1;
11472
+ background-color: var(--documentviewer-canvas-background);
11473
+ padding: var(--documentviewer-canvas-padding);
11474
+ overflow: auto;
11475
+ display: flex;
11476
+ align-items: flex-start;
11477
+ justify-content: center;
11478
+ }
11479
+
11480
+ .muka-documentviewer__page {
11481
+ background-color: var(--documentviewer-page-background);
11482
+ box-shadow: var(--documentviewer-page-shadow);
11483
+ border-radius: var(--documentviewer-page-borderRadius);
11484
+ overflow: hidden;
11485
+ }
11486
+
11487
+ .muka-documentviewer__page canvas {
11488
+ display: block;
11489
+ max-width: 100%;
11490
+ height: auto;
11491
+ }
11492
+
11493
+ .muka-documentviewer__page-number {
11494
+ text-align: center;
11495
+ padding: var(--spacing-2);
11496
+ font-family: var(--alias-font-brand-family);
11497
+ font-size: var(--text-label-sm-fontSize);
11498
+ color: var(--color-text-subtle-default);
11499
+ }
11500
+
11501
+ /* Thumbnails */
11502
+ .muka-documentviewer__thumbnails {
11503
+ width: var(--documentviewer-thumbnails-width);
11504
+ background-color: var(--documentviewer-thumbnails-background);
11505
+ border-right: 1px solid var(--documentviewer-thumbnails-border);
11506
+ overflow-y: auto;
11507
+ flex-shrink: 0;
11508
+ }
11509
+
11510
+ .muka-documentviewer__thumbnails-list {
11511
+ display: flex;
11512
+ flex-direction: column;
11513
+ gap: var(--documentviewer-thumbnails-item-gap);
11514
+ padding: var(--spacing-2);
11515
+ }
11516
+
11517
+ .muka-documentviewer__thumbnail-item {
11518
+ display: flex;
11519
+ flex-direction: column;
11520
+ align-items: center;
11521
+ gap: var(--spacing-1);
11522
+ padding: var(--documentviewer-thumbnails-item-padding);
11523
+ border-radius: var(--documentviewer-thumbnails-item-borderRadius);
11524
+ border: 2px solid var(--documentviewer-thumbnails-item-border-default);
11525
+ background-color: var(--documentviewer-thumbnails-item-background-default);
11526
+ cursor: pointer;
11527
+ transition: all 0.2s ease;
11528
+ width: 100%;
11529
+ }
11530
+
11531
+ .muka-documentviewer__thumbnail-item:hover {
11532
+ background-color: var(--documentviewer-thumbnails-item-background-hover);
11533
+ }
11534
+
11535
+ .muka-documentviewer__thumbnail-item--selected {
11536
+ background-color: var(--documentviewer-thumbnails-item-background-selected);
11537
+ border-color: var(--documentviewer-thumbnails-item-border-selected);
11538
+ }
11539
+
11540
+ .muka-documentviewer__thumbnail-item:focus {
11541
+ outline: 2px solid var(--color-border-focus);
11542
+ outline-offset: 2px;
11543
+ }
11544
+
11545
+ .muka-documentviewer__thumbnail-preview {
11546
+ width: 100%;
11547
+ overflow: hidden;
11548
+ border-radius: var(--border-radius-sm);
11549
+ }
11550
+
11551
+ .muka-documentviewer__thumbnail-preview canvas {
11552
+ display: block;
11553
+ width: 100%;
11554
+ height: auto;
11555
+ }
11556
+
11557
+ .muka-documentviewer__thumbnail-label {
11558
+ font-family: var(--alias-font-brand-family);
11559
+ font-size: var(--text-label-xs-regular-fontSize);
11560
+ color: var(--color-text-default-default);
11561
+ font-weight: var(--alias-font-brand-weight-medium);
11562
+ }
11563
+
11564
+ /* Loading state */
11565
+ .muka-documentviewer__loading {
11566
+ display: flex;
11567
+ align-items: center;
11568
+ justify-content: center;
11569
+ flex: 1;
11570
+ background-color: var(--documentviewer-loading-overlay-background);
11571
+ }
11572
+
11573
+ /* Error state */
11574
+ .muka-documentviewer__error {
11575
+ display: flex;
11576
+ align-items: center;
11577
+ justify-content: center;
11578
+ flex: 1;
11579
+ padding: var(--spacing-4);
11580
+ background-color: var(--documentviewer-error-background);
11581
+ }
11582
+
11583
+ /* Accessibility - visually hidden */
11584
+ .visually-hidden {
11585
+ position: absolute;
11586
+ width: 1px;
11587
+ height: 1px;
11588
+ margin: -1px;
11589
+ padding: 0;
11590
+ overflow: hidden;
11591
+ clip: rect(0, 0, 0, 0);
11592
+ white-space: nowrap;
11593
+ border-width: 0;
11594
+ }
11595
+
11596
+ /* React-PDF specific styles */
11597
+ .react-pdf__Document {
11598
+ display: flex;
11599
+ flex-direction: column;
11600
+ align-items: center;
11601
+ }
11602
+
11603
+ .react-pdf__Page {
11604
+ max-width: 100%;
11605
+ box-shadow: var(--documentviewer-page-shadow);
11606
+ border-radius: var(--documentviewer-page-borderRadius);
11607
+ overflow: hidden;
11608
+ }
11609
+
11610
+ .react-pdf__Page__canvas {
11611
+ max-width: 100%;
11612
+ height: auto !important;
11613
+ display: block;
11614
+ }
11615
+
11616
+ .react-pdf__Page__textContent {
11617
+ max-width: 100%;
11618
+ }
11619
+
11620
+ .react-pdf__Page__annotations {
11621
+ max-width: 100%;
11622
+ }
11623
+
11624
+
11625
+ /* Divider */
11626
+ /* Divider Component Styles - Using Muka Design Tokens */
11627
+
11628
+ .muka-divider {
11629
+ flex-shrink: 0;
11630
+ }
11631
+
11632
+ .muka-divider--horizontal {
11633
+ width: 100%;
11634
+ height: var(--separator-width);
11352
11635
  }
11353
11636
 
11354
11637
  .muka-divider--vertical {
@@ -14879,114 +15162,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14879
15162
  }
14880
15163
 
14881
15164
 
14882
- /* BadgeNumber */
14883
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
14884
-
14885
- .muka-badge-number {
14886
- display: inline-flex;
14887
- align-items: center;
14888
- justify-content: center;
14889
- border-radius: var(--border-radius-full);
14890
- white-space: nowrap;
14891
- user-select: none;
14892
- box-sizing: border-box;
14893
- }
14894
-
14895
- /*
14896
- * Sizes — fixed height, matching min-width (so a single digit renders as a
14897
- * circle), horizontal padding, and bold label typography. Vertical centering
14898
- * is handled by the fixed height + align-items: center.
14899
- */
14900
- .muka-badge-number--2xs {
14901
- height: var(--badge-number-size-2xs);
14902
- min-width: var(--badge-number-size-2xs);
14903
- padding: 0 var(--badge-number-padding-2xs);
14904
- font-family: var(--text-label-xs-bold-fontFamily);
14905
- font-weight: var(--text-label-xs-bold-fontWeight);
14906
- font-size: var(--text-label-xs-bold-fontSize);
14907
- line-height: var(--text-label-xs-bold-lineHeight);
14908
- }
14909
-
14910
- .muka-badge-number--xs {
14911
- height: var(--badge-number-size-xs);
14912
- min-width: var(--badge-number-size-xs);
14913
- padding: 0 var(--badge-number-padding-xs);
14914
- font-family: var(--text-label-sm-bold-fontFamily);
14915
- font-weight: var(--text-label-sm-bold-fontWeight);
14916
- font-size: var(--text-label-sm-bold-fontSize);
14917
- line-height: var(--text-label-sm-bold-lineHeight);
14918
- }
14919
-
14920
- .muka-badge-number--sm {
14921
- height: var(--badge-number-size-sm);
14922
- min-width: var(--badge-number-size-sm);
14923
- padding: 0 var(--badge-number-padding-sm);
14924
- font-family: var(--text-label-md-bold-fontFamily);
14925
- font-weight: var(--text-label-md-bold-fontWeight);
14926
- font-size: var(--text-label-md-bold-fontSize);
14927
- line-height: var(--text-label-md-bold-lineHeight);
14928
- }
14929
-
14930
- .muka-badge-number--md {
14931
- height: var(--badge-number-size-md);
14932
- min-width: var(--badge-number-size-md);
14933
- padding: 0 var(--badge-number-padding-md);
14934
- font-family: var(--text-label-lg-bold-fontFamily);
14935
- font-weight: var(--text-label-lg-bold-fontWeight);
14936
- font-size: var(--text-label-lg-bold-fontSize);
14937
- line-height: var(--text-label-lg-bold-lineHeight);
14938
- }
14939
-
14940
- .muka-badge-number--lg {
14941
- height: var(--badge-number-size-lg);
14942
- min-width: var(--badge-number-size-lg);
14943
- padding: 0 var(--badge-number-padding-lg);
14944
- font-family: var(--text-label-2xl-bold-fontFamily);
14945
- font-weight: var(--text-label-2xl-bold-fontWeight);
14946
- font-size: var(--text-label-2xl-bold-fontSize);
14947
- line-height: var(--text-label-2xl-bold-lineHeight);
14948
- }
14949
-
14950
- .muka-badge-number__label {
14951
- /*
14952
- * The badge sets a tight line-height for compact sizing, which would clip
14953
- * glyph descenders; give the label a roomier line-height. Vertical centering
14954
- * is unaffected because the badge height is fixed and content is centered.
14955
- */
14956
- line-height: normal;
14957
- }
14958
-
14959
- /* Neutral variant */
14960
- .muka-badge-number--neutral {
14961
- background-color: var(--color-surface-level1);
14962
- color: var(--color-text-default-default);
14963
- }
14964
-
14965
- /* Info variant */
14966
- .muka-badge-number--info {
14967
- background-color: var(--color-state-info-contrast);
14968
- color: var(--color-text-default-inverse);
14969
- }
14970
-
14971
- /* Success variant */
14972
- .muka-badge-number--success {
14973
- background-color: var(--color-state-success-contrast);
14974
- color: var(--color-text-default-inverse);
14975
- }
14976
-
14977
- /* Warning variant */
14978
- .muka-badge-number--warning {
14979
- background-color: var(--color-state-warning-contrast);
14980
- color: var(--color-text-default-inverse);
14981
- }
14982
-
14983
- /* Error variant */
14984
- .muka-badge-number--error {
14985
- background-color: var(--color-state-error-contrast);
14986
- color: var(--color-text-default-inverse);
14987
- }
14988
-
14989
-
14990
15165
  /* BottomBar */
14991
15166
  /* BottomBar Component Styles */
14992
15167
 
@@ -15044,6 +15219,62 @@ button.muka-chat-photo-grid__tile:focus-visible {
15044
15219
  width: 100%;
15045
15220
  }
15046
15221
 
15222
+ /* ─── Message (actions variants only) ────────────────── */
15223
+
15224
+ /* Below 1024px the message takes its own line above the buttons. */
15225
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15226
+ flex-wrap: wrap;
15227
+ row-gap: var(--bottombar-actions-message-gap);
15228
+ }
15229
+
15230
+ .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
15231
+ row-gap: var(--bottombar-actions-message-gap);
15232
+ }
15233
+
15234
+ .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15235
+ flex: 1 0 100%;
15236
+ width: 100%;
15237
+ }
15238
+
15239
+ .muka-bottombar__message {
15240
+ margin: 0;
15241
+ min-width: 0;
15242
+ overflow-wrap: anywhere;
15243
+ font-family: var(--text-body-sm-regular-fontFamily);
15244
+ font-weight: var(--text-body-sm-regular-fontWeight);
15245
+ font-size: var(--text-body-sm-regular-fontSize);
15246
+ line-height: var(--text-body-sm-regular-lineHeight);
15247
+ }
15248
+
15249
+ .muka-bottombar__message--neutral {
15250
+ color: var(--bottombar-color-message-neutral);
15251
+ }
15252
+
15253
+ .muka-bottombar__message--success {
15254
+ color: var(--bottombar-color-message-success);
15255
+ }
15256
+
15257
+ .muka-bottombar__message--warning {
15258
+ color: var(--bottombar-color-message-warning);
15259
+ }
15260
+
15261
+ /* From 1024px the horizontal bar puts the message left, the buttons right at
15262
+ their own width. The vertical variant keeps stacking. */
15263
+ @media (min-width: 1024px) {
15264
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15265
+ flex-wrap: nowrap;
15266
+ }
15267
+
15268
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
15269
+ flex: 0 0 auto;
15270
+ }
15271
+
15272
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15273
+ flex: 1 1 auto;
15274
+ width: auto;
15275
+ }
15276
+ }
15277
+
15047
15278
  /* ─── Size modifiers (actions variants only) ─────────── */
15048
15279
 
15049
15280
  /* ─── Navigation variant ──────────────────────────────── */
@@ -15267,39 +15498,147 @@ button.muka-chat-photo-grid__tile:focus-visible {
15267
15498
  border-bottom: 2px solid transparent;
15268
15499
  }
15269
15500
 
15270
- .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
15271
- border-bottom-color: var(--color-action-default);
15272
- }
15501
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
15502
+ border-bottom-color: var(--color-action-default);
15503
+ }
15504
+
15505
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
15506
+ background-color: var(--color-surface-level2);
15507
+ }
15508
+
15509
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
15510
+ font-family: var(--text-label-md-regular-fontFamily);
15511
+ font-weight: var(--text-label-md-regular-fontWeight);
15512
+ font-size: var(--text-label-md-regular-fontSize);
15513
+ line-height: var(--text-label-md-regular-lineHeight);
15514
+ }
15515
+
15516
+ /* When floating and topnav, remove the floating card styles */
15517
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating {
15518
+ padding: 0;
15519
+ }
15520
+
15521
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
15522
+ background-color: transparent;
15523
+ border-radius: 0;
15524
+ box-shadow: none;
15525
+ }
15526
+ }
15527
+
15528
+ /* ─── Print ────────────────────────────────────────────── */
15529
+
15530
+ @media print {
15531
+ .muka-bottombar {
15532
+ display: none;
15533
+ }
15534
+ }
15535
+
15536
+
15537
+ /* BadgeNumber */
15538
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
15539
+
15540
+ .muka-badge-number {
15541
+ display: inline-flex;
15542
+ align-items: center;
15543
+ justify-content: center;
15544
+ border-radius: var(--border-radius-full);
15545
+ white-space: nowrap;
15546
+ user-select: none;
15547
+ box-sizing: border-box;
15548
+ }
15549
+
15550
+ /*
15551
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
15552
+ * circle), horizontal padding, and bold label typography. Vertical centering
15553
+ * is handled by the fixed height + align-items: center.
15554
+ */
15555
+ .muka-badge-number--2xs {
15556
+ height: var(--badge-number-size-2xs);
15557
+ min-width: var(--badge-number-size-2xs);
15558
+ padding: 0 var(--badge-number-padding-2xs);
15559
+ font-family: var(--text-label-xs-bold-fontFamily);
15560
+ font-weight: var(--text-label-xs-bold-fontWeight);
15561
+ font-size: var(--text-label-xs-bold-fontSize);
15562
+ line-height: var(--text-label-xs-bold-lineHeight);
15563
+ }
15564
+
15565
+ .muka-badge-number--xs {
15566
+ height: var(--badge-number-size-xs);
15567
+ min-width: var(--badge-number-size-xs);
15568
+ padding: 0 var(--badge-number-padding-xs);
15569
+ font-family: var(--text-label-sm-bold-fontFamily);
15570
+ font-weight: var(--text-label-sm-bold-fontWeight);
15571
+ font-size: var(--text-label-sm-bold-fontSize);
15572
+ line-height: var(--text-label-sm-bold-lineHeight);
15573
+ }
15574
+
15575
+ .muka-badge-number--sm {
15576
+ height: var(--badge-number-size-sm);
15577
+ min-width: var(--badge-number-size-sm);
15578
+ padding: 0 var(--badge-number-padding-sm);
15579
+ font-family: var(--text-label-md-bold-fontFamily);
15580
+ font-weight: var(--text-label-md-bold-fontWeight);
15581
+ font-size: var(--text-label-md-bold-fontSize);
15582
+ line-height: var(--text-label-md-bold-lineHeight);
15583
+ }
15584
+
15585
+ .muka-badge-number--md {
15586
+ height: var(--badge-number-size-md);
15587
+ min-width: var(--badge-number-size-md);
15588
+ padding: 0 var(--badge-number-padding-md);
15589
+ font-family: var(--text-label-lg-bold-fontFamily);
15590
+ font-weight: var(--text-label-lg-bold-fontWeight);
15591
+ font-size: var(--text-label-lg-bold-fontSize);
15592
+ line-height: var(--text-label-lg-bold-lineHeight);
15593
+ }
15273
15594
 
15274
- .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
15275
- background-color: var(--color-surface-level2);
15276
- }
15595
+ .muka-badge-number--lg {
15596
+ height: var(--badge-number-size-lg);
15597
+ min-width: var(--badge-number-size-lg);
15598
+ padding: 0 var(--badge-number-padding-lg);
15599
+ font-family: var(--text-label-2xl-bold-fontFamily);
15600
+ font-weight: var(--text-label-2xl-bold-fontWeight);
15601
+ font-size: var(--text-label-2xl-bold-fontSize);
15602
+ line-height: var(--text-label-2xl-bold-lineHeight);
15603
+ }
15277
15604
 
15278
- .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
15279
- font-family: var(--text-label-md-regular-fontFamily);
15280
- font-weight: var(--text-label-md-regular-fontWeight);
15281
- font-size: var(--text-label-md-regular-fontSize);
15282
- line-height: var(--text-label-md-regular-lineHeight);
15283
- }
15605
+ .muka-badge-number__label {
15606
+ /*
15607
+ * The badge sets a tight line-height for compact sizing, which would clip
15608
+ * glyph descenders; give the label a roomier line-height. Vertical centering
15609
+ * is unaffected because the badge height is fixed and content is centered.
15610
+ */
15611
+ line-height: normal;
15612
+ }
15284
15613
 
15285
- /* When floating and topnav, remove the floating card styles */
15286
- .muka-bottombar--desktop-topnav.muka-bottombar--floating {
15287
- padding: 0;
15288
- }
15614
+ /* Neutral variant */
15615
+ .muka-badge-number--neutral {
15616
+ background-color: var(--color-surface-level1);
15617
+ color: var(--color-text-default-default);
15618
+ }
15289
15619
 
15290
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
15291
- background-color: transparent;
15292
- border-radius: 0;
15293
- box-shadow: none;
15294
- }
15620
+ /* Info variant */
15621
+ .muka-badge-number--info {
15622
+ background-color: var(--color-state-info-contrast);
15623
+ color: var(--color-text-default-inverse);
15295
15624
  }
15296
15625
 
15297
- /* ─── Print ────────────────────────────────────────────── */
15626
+ /* Success variant */
15627
+ .muka-badge-number--success {
15628
+ background-color: var(--color-state-success-contrast);
15629
+ color: var(--color-text-default-inverse);
15630
+ }
15298
15631
 
15299
- @media print {
15300
- .muka-bottombar {
15301
- display: none;
15302
- }
15632
+ /* Warning variant */
15633
+ .muka-badge-number--warning {
15634
+ background-color: var(--color-state-warning-contrast);
15635
+ color: var(--color-text-default-inverse);
15636
+ }
15637
+
15638
+ /* Error variant */
15639
+ .muka-badge-number--error {
15640
+ background-color: var(--color-state-error-contrast);
15641
+ color: var(--color-text-default-inverse);
15303
15642
  }
15304
15643
 
15305
15644
 
@@ -15976,224 +16315,55 @@ button.muka-chat-photo-grid__tile:focus-visible {
15976
16315
  height: var(--app-shell-appbar-height);
15977
16316
  padding-inline: var(--spacing-4);
15978
16317
  background-color: var(--color-surface-level3);
15979
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
15980
- z-index: 11; /* above the sidebar rail (z-index 10) */
15981
- }
15982
-
15983
- /* ─── Large tier (responsive) ─── */
15984
- @media (min-width: 1024px) {
15985
- .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
15986
- display: block;
15987
- }
15988
- .muka-app-shell:not([data-size]) .muka-app-shell__main {
15989
- padding-left: var(--app-shell-sidebar-width);
15990
- }
15991
- .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
15992
- display: flex;
15993
- }
15994
- /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
15995
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
15996
- padding-top: var(--app-shell-appbar-height);
15997
- }
15998
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
15999
- top: var(--app-shell-appbar-height);
16000
- height: calc(100vh - var(--app-shell-appbar-height));
16001
- }
16002
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16003
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16004
- height: calc(100dvh - var(--app-shell-appbar-height));
16005
- }
16006
- }
16007
-
16008
- /* ─── Large tier (forced via size="lg") ─── */
16009
- .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16010
- display: block;
16011
- }
16012
- .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16013
- padding-left: var(--app-shell-sidebar-width);
16014
- }
16015
- .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16016
- display: flex;
16017
- }
16018
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16019
- padding-top: var(--app-shell-appbar-height);
16020
- }
16021
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16022
- top: var(--app-shell-appbar-height);
16023
- height: calc(100vh - var(--app-shell-appbar-height));
16024
- }
16025
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16026
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16027
- height: calc(100dvh - var(--app-shell-appbar-height));
16028
- }
16029
-
16030
-
16031
- /* AgentTaskList */
16032
- /* AgentTaskList Component Styles */
16033
-
16034
- .muka-agent-task-list {
16035
- display: flex;
16036
- flex-direction: column;
16037
- gap: var(--spacing-2);
16038
- width: 100%;
16039
- padding: 0 var(--spacing-2);
16040
- }
16041
-
16042
- /* ─── Header ───────────────────────────────────────────── */
16043
-
16044
- .muka-agent-task-list__header {
16045
- display: inline-flex;
16046
- align-items: center;
16047
- gap: var(--spacing-3);
16048
- background: none;
16049
- border: none;
16050
- padding: 0;
16051
- margin: 0;
16052
- cursor: pointer;
16053
- color: var(--color-text-subtle-default);
16054
- font-family: var(--text-body-sm-regular-fontFamily);
16055
- font-weight: var(--text-body-sm-regular-fontWeight);
16056
- font-size: var(--text-body-sm-regular-fontSize);
16057
- line-height: var(--text-body-sm-regular-lineHeight);
16058
- text-align: left;
16059
- -webkit-tap-highlight-color: transparent;
16060
- }
16061
-
16062
- .muka-agent-task-list--open .muka-agent-task-list__header {
16063
- font-family: var(--text-body-sm-bold-fontFamily);
16064
- font-weight: var(--text-body-sm-bold-fontWeight);
16065
- font-size: var(--text-body-sm-bold-fontSize);
16066
- line-height: var(--text-body-sm-bold-lineHeight);
16067
- }
16068
-
16069
- .muka-agent-task-list__header:focus-visible {
16070
- outline: 2px solid var(--color-action-default);
16071
- outline-offset: 2px;
16072
- border-radius: var(--radius-sm);
16073
- }
16074
-
16075
- .muka-agent-task-list__title {
16076
- text-align: left;
16077
- }
16078
-
16079
- .muka-agent-task-list__chevron {
16080
- display: inline-flex;
16081
- align-items: center;
16082
- justify-content: center;
16083
- transition: transform 0.16s ease;
16084
- color: var(--color-text-subtle-default);
16085
- }
16086
-
16087
- .muka-agent-task-list__chevron[data-open='false'] {
16088
- transform: rotate(-90deg);
16089
- }
16090
-
16091
- /* ─── Task list ────────────────────────────────────────── */
16092
-
16093
- .muka-agent-task-list__tasks {
16094
- list-style: none;
16095
- padding: 0;
16096
- margin: 0;
16097
- display: flex;
16098
- flex-direction: column;
16099
- }
16100
-
16101
- /* ─── Single task row ──────────────────────────────────── */
16102
-
16103
- .muka-agent-task-list__task {
16104
- display: flex;
16105
- align-items: stretch;
16106
- gap: var(--spacing-4);
16107
- min-height: 32px;
16108
- padding: 0;
16109
- }
16110
-
16111
- /* ─── Bullet column (icon + timeline connector) ────────── */
16112
-
16113
- .muka-agent-task-list__bullet {
16114
- position: relative;
16115
- flex-shrink: 0;
16116
- width: 16px;
16117
- align-self: stretch;
16118
- }
16119
-
16120
- .muka-agent-task-list__line {
16121
- position: absolute;
16122
- left: 7px;
16123
- width: 1px;
16124
- background-color: var(--color-border-default);
16125
- }
16126
-
16127
- .muka-agent-task-list__line--top {
16128
- top: 0;
16129
- height: 6px;
16130
- }
16131
-
16132
- .muka-agent-task-list__line--bottom {
16133
- top: 32px;
16134
- bottom: 0;
16135
- }
16136
-
16137
- .muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
16138
- display: none;
16139
- }
16140
-
16141
- .muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
16142
- display: none;
16143
- }
16144
-
16145
- .muka-agent-task-list__icon {
16146
- position: absolute;
16147
- top: 8px;
16148
- left: 0;
16149
- width: 16px;
16150
- height: 16px;
16151
- display: inline-flex;
16152
- align-items: center;
16153
- justify-content: center;
16154
- color: var(--color-text-subtle-default);
16155
- z-index: 1;
16318
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
16319
+ z-index: 11; /* above the sidebar rail (z-index 10) */
16156
16320
  }
16157
16321
 
16158
- /* ─── State color treatments ───────────────────────────── */
16159
-
16160
- .muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
16161
- color: var(--color-action-default);
16322
+ /* ─── Large tier (responsive) ─── */
16323
+ @media (min-width: 1024px) {
16324
+ .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
16325
+ display: block;
16326
+ }
16327
+ .muka-app-shell:not([data-size]) .muka-app-shell__main {
16328
+ padding-left: var(--app-shell-sidebar-width);
16329
+ }
16330
+ .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
16331
+ display: flex;
16332
+ }
16333
+ /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
16334
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
16335
+ padding-top: var(--app-shell-appbar-height);
16336
+ }
16337
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16338
+ top: var(--app-shell-appbar-height);
16339
+ height: calc(100vh - var(--app-shell-appbar-height));
16340
+ }
16341
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16342
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16343
+ height: calc(100dvh - var(--app-shell-appbar-height));
16344
+ }
16162
16345
  }
16163
16346
 
16164
- .muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
16165
- color: var(--color-text-subtle-default);
16347
+ /* ─── Large tier (forced via size="lg") ─── */
16348
+ .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16349
+ display: block;
16166
16350
  }
16167
-
16168
- .muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
16169
- color: var(--color-text-muted-default, var(--color-text-subtle-default));
16170
- opacity: 0.6;
16351
+ .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16352
+ padding-left: var(--app-shell-sidebar-width);
16171
16353
  }
16172
-
16173
- /* ─── Label ────────────────────────────────────────────── */
16174
-
16175
- .muka-agent-task-list__label {
16176
- flex: 1 1 0;
16177
- min-width: 0;
16178
- padding: var(--spacing-2) 0;
16179
- color: var(--color-text-subtle-default);
16180
- font-family: var(--text-body-sm-regular-fontFamily);
16181
- font-weight: var(--text-body-sm-regular-fontWeight);
16182
- font-size: var(--text-body-sm-regular-fontSize);
16183
- line-height: var(--text-body-sm-regular-lineHeight);
16184
- word-break: break-word;
16354
+ .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16355
+ display: flex;
16185
16356
  }
16186
-
16187
- /* ─── Print ────────────────────────────────────────────── */
16188
-
16189
- @media print {
16190
- .muka-agent-task-list {
16191
- break-inside: avoid;
16192
- }
16193
-
16194
- .muka-agent-task-list__chevron {
16195
- display: none;
16196
- }
16357
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16358
+ padding-top: var(--app-shell-appbar-height);
16359
+ }
16360
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16361
+ top: var(--app-shell-appbar-height);
16362
+ height: calc(100vh - var(--app-shell-appbar-height));
16363
+ }
16364
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16365
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16366
+ height: calc(100dvh - var(--app-shell-appbar-height));
16197
16367
  }
16198
16368
 
16199
16369
 
@@ -16408,554 +16578,444 @@ button.muka-chat-photo-grid__tile:focus-visible {
16408
16578
  }
16409
16579
 
16410
16580
 
16411
- /* ActionSheet */
16412
- /* ActionSheet Component Styles */
16581
+ /* AgentTaskList */
16582
+ /* AgentTaskList Component Styles */
16413
16583
 
16414
- .muka-action-sheet__inner {
16584
+ .muka-agent-task-list {
16415
16585
  display: flex;
16416
16586
  flex-direction: column;
16417
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
16418
- gap: var(--spacing-3);
16587
+ gap: var(--spacing-2);
16588
+ width: 100%;
16589
+ padding: 0 var(--spacing-2);
16419
16590
  }
16420
16591
 
16421
- /* ─── Header ──────────────────────────────────────────── */
16592
+ /* ─── Header ───────────────────────────────────────────── */
16422
16593
 
16423
- .muka-action-sheet__header {
16424
- display: flex;
16425
- flex-direction: column;
16594
+ .muka-agent-task-list__header {
16595
+ display: inline-flex;
16426
16596
  align-items: center;
16427
- gap: var(--spacing-1);
16428
- padding: var(--spacing-2) 0 var(--spacing-3);
16429
- text-align: center;
16430
- }
16431
-
16432
- .muka-action-sheet__title {
16433
- margin: 0;
16434
- color: var(--color-text-default-default);
16435
- font-family: var(--text-label-md-semibold-fontFamily);
16436
- font-weight: var(--text-label-md-semibold-fontWeight);
16437
- font-size: var(--text-label-md-semibold-fontSize);
16438
- line-height: var(--text-label-md-semibold-lineHeight);
16439
- }
16440
-
16441
- .muka-action-sheet__description {
16597
+ gap: var(--spacing-3);
16598
+ background: none;
16599
+ border: none;
16600
+ padding: 0;
16442
16601
  margin: 0;
16602
+ cursor: pointer;
16443
16603
  color: var(--color-text-subtle-default);
16444
16604
  font-family: var(--text-body-sm-regular-fontFamily);
16445
16605
  font-weight: var(--text-body-sm-regular-fontWeight);
16446
16606
  font-size: var(--text-body-sm-regular-fontSize);
16447
16607
  line-height: var(--text-body-sm-regular-lineHeight);
16448
- }
16449
-
16450
- /* ─── Actions group ───────────────────────────────────── */
16451
-
16452
- .muka-action-sheet__actions {
16453
- display: flex;
16454
- flex-direction: column;
16455
- background-color: var(--color-surface-level1);
16456
- border-radius: var(--radius-md);
16457
- overflow: hidden;
16458
- }
16459
-
16460
- .muka-action-sheet__item {
16461
- display: flex;
16462
- align-items: center;
16463
- gap: var(--spacing-3);
16464
- padding: var(--spacing-3) var(--spacing-4);
16465
- background: none;
16466
- border: none;
16467
- cursor: pointer;
16468
16608
  text-align: left;
16469
- color: var(--color-text-default-default);
16470
- font-family: var(--text-body-base-regular-fontFamily);
16471
- font-weight: var(--text-body-base-regular-fontWeight);
16472
- font-size: var(--text-body-base-regular-fontSize);
16473
- line-height: var(--text-body-base-regular-lineHeight);
16474
16609
  -webkit-tap-highlight-color: transparent;
16475
- transition: background-color 0.12s ease;
16476
- }
16477
-
16478
- .muka-action-sheet__item + .muka-action-sheet__item {
16479
- border-top: var(--border-width-regular) solid var(--color-border-default);
16480
16610
  }
16481
16611
 
16482
- .muka-action-sheet__item:hover:not(:disabled) {
16483
- background-color: var(--color-surface-level2);
16484
- }
16485
-
16486
- .muka-action-sheet__item:active:not(:disabled) {
16487
- background-color: var(--color-surface-level3);
16612
+ .muka-agent-task-list--open .muka-agent-task-list__header {
16613
+ font-family: var(--text-body-sm-bold-fontFamily);
16614
+ font-weight: var(--text-body-sm-bold-fontWeight);
16615
+ font-size: var(--text-body-sm-bold-fontSize);
16616
+ line-height: var(--text-body-sm-bold-lineHeight);
16488
16617
  }
16489
16618
 
16490
- .muka-action-sheet__item:focus-visible {
16619
+ .muka-agent-task-list__header:focus-visible {
16491
16620
  outline: 2px solid var(--color-action-default);
16492
- outline-offset: -2px;
16493
- }
16494
-
16495
- .muka-action-sheet__item--destructive {
16496
- color: var(--color-state-error-default);
16621
+ outline-offset: 2px;
16622
+ border-radius: var(--radius-sm);
16497
16623
  }
16498
16624
 
16499
- .muka-action-sheet__item--disabled,
16500
- .muka-action-sheet__item:disabled {
16501
- opacity: 0.5;
16502
- cursor: not-allowed;
16625
+ .muka-agent-task-list__title {
16626
+ text-align: left;
16503
16627
  }
16504
16628
 
16505
- .muka-action-sheet__item-icon {
16629
+ .muka-agent-task-list__chevron {
16506
16630
  display: inline-flex;
16507
16631
  align-items: center;
16508
16632
  justify-content: center;
16509
- width: 24px;
16510
- height: 24px;
16511
- flex-shrink: 0;
16512
- }
16513
-
16514
- .muka-action-sheet__item-icon svg {
16515
- width: 100%;
16516
- height: 100%;
16517
- }
16518
-
16519
- .muka-action-sheet__item-label {
16520
- flex: 1;
16521
- }
16522
-
16523
- /* ─── Cancel button (separate at bottom) ──────────────── */
16524
-
16525
- .muka-action-sheet__cancel {
16526
- display: flex;
16527
- align-items: center;
16528
- justify-content: center;
16529
- padding: var(--spacing-3) var(--spacing-4);
16530
- background-color: var(--color-surface-level1);
16531
- border: none;
16532
- border-radius: var(--radius-md);
16533
- cursor: pointer;
16534
- color: var(--color-text-default-default);
16535
- font-family: var(--text-label-md-semibold-fontFamily);
16536
- font-weight: var(--text-label-md-semibold-fontWeight);
16537
- font-size: var(--text-label-md-semibold-fontSize);
16538
- line-height: var(--text-label-md-semibold-lineHeight);
16539
- -webkit-tap-highlight-color: transparent;
16540
- transition: background-color 0.12s ease;
16541
- }
16542
-
16543
- .muka-action-sheet__cancel:hover {
16544
- background-color: var(--color-surface-level2);
16545
- }
16546
-
16547
- .muka-action-sheet__cancel:focus-visible {
16548
- outline: 2px solid var(--color-action-default);
16549
- outline-offset: 2px;
16550
- }
16551
-
16552
-
16553
- /* Accordion */
16554
- /* Accordion Component Styles */
16555
-
16556
- .muka-accordion {
16557
- width: 100%;
16558
- }
16559
-
16560
- /* Item */
16561
- .muka-accordion__item {
16562
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
16633
+ transition: transform 0.16s ease;
16634
+ color: var(--color-text-subtle-default);
16563
16635
  }
16564
16636
 
16565
- .muka-accordion__item:last-child {
16566
- border-bottom: none;
16637
+ .muka-agent-task-list__chevron[data-open='false'] {
16638
+ transform: rotate(-90deg);
16567
16639
  }
16568
16640
 
16569
- /* Header reset */
16570
- .muka-accordion__header {
16571
- margin: 0;
16572
- }
16641
+ /* ─── Task list ────────────────────────────────────────── */
16573
16642
 
16574
- /* Trigger */
16575
- .muka-accordion__trigger {
16576
- display: flex;
16577
- align-items: center;
16578
- justify-content: space-between;
16579
- width: 100%;
16580
- padding: var(--spacing-4);
16581
- background: none;
16582
- border: none;
16583
- cursor: pointer;
16584
- font-family: var(--text-label-md-semibold-fontFamily);
16585
- font-weight: var(--text-label-md-semibold-fontWeight);
16586
- font-size: var(--text-label-md-semibold-fontSize);
16587
- line-height: var(--text-label-md-semibold-lineHeight);
16588
- color: var(--color-text-default-default);
16589
- text-align: left;
16590
- gap: var(--spacing-3);
16591
- transition: background-color 0.15s ease;
16643
+ .muka-agent-task-list__tasks {
16644
+ list-style: none;
16645
+ padding: 0;
16646
+ margin: 0;
16647
+ display: flex;
16648
+ flex-direction: column;
16592
16649
  }
16593
16650
 
16594
- .muka-accordion__trigger:hover {
16595
- background-color: var(--color-surface-level1);
16596
- }
16651
+ /* ─── Single task row ──────────────────────────────────── */
16597
16652
 
16598
- .muka-accordion__trigger[data-disabled] {
16599
- cursor: not-allowed;
16600
- opacity: 0.4;
16653
+ .muka-agent-task-list__task {
16654
+ display: flex;
16655
+ align-items: stretch;
16656
+ gap: var(--spacing-4);
16657
+ min-height: 32px;
16658
+ padding: 0;
16601
16659
  }
16602
16660
 
16603
- .muka-accordion__trigger-text {
16604
- flex: 1;
16605
- }
16661
+ /* ─── Bullet column (icon + timeline connector) ────────── */
16606
16662
 
16607
- /* Chevron rotation */
16608
- .muka-accordion__chevron {
16609
- display: inline-flex;
16610
- align-items: center;
16611
- color: var(--color-text-subtle-default);
16612
- transition: transform 200ms ease;
16663
+ .muka-agent-task-list__bullet {
16664
+ position: relative;
16665
+ flex-shrink: 0;
16666
+ width: 16px;
16667
+ align-self: stretch;
16613
16668
  }
16614
16669
 
16615
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
16616
- transform: rotate(180deg);
16670
+ .muka-agent-task-list__line {
16671
+ position: absolute;
16672
+ left: 7px;
16673
+ width: 1px;
16674
+ background-color: var(--color-border-default);
16617
16675
  }
16618
16676
 
16619
- /* Content */
16620
- .muka-accordion__content {
16621
- overflow: hidden;
16677
+ .muka-agent-task-list__line--top {
16678
+ top: 0;
16679
+ height: 6px;
16622
16680
  }
16623
16681
 
16624
- .muka-accordion__content[data-state='open'] {
16625
- animation: muka-accordion-slideDown 200ms ease;
16682
+ .muka-agent-task-list__line--bottom {
16683
+ top: 32px;
16684
+ bottom: 0;
16626
16685
  }
16627
16686
 
16628
- .muka-accordion__content[data-state='closed'] {
16629
- animation: muka-accordion-slideUp 200ms ease;
16687
+ .muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
16688
+ display: none;
16630
16689
  }
16631
16690
 
16632
- @keyframes muka-accordion-slideDown {
16633
- from {
16634
- height: 0;
16635
- }
16636
- to {
16637
- height: var(--radix-accordion-content-height);
16638
- }
16691
+ .muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
16692
+ display: none;
16639
16693
  }
16640
16694
 
16641
- @keyframes muka-accordion-slideUp {
16642
- from {
16643
- height: var(--radix-accordion-content-height);
16644
- }
16645
- to {
16646
- height: 0;
16647
- }
16695
+ .muka-agent-task-list__icon {
16696
+ position: absolute;
16697
+ top: 8px;
16698
+ left: 0;
16699
+ width: 16px;
16700
+ height: 16px;
16701
+ display: inline-flex;
16702
+ align-items: center;
16703
+ justify-content: center;
16704
+ color: var(--color-text-subtle-default);
16705
+ z-index: 1;
16648
16706
  }
16649
16707
 
16650
- .muka-accordion__content-inner {
16651
- padding: 0 var(--spacing-4) var(--spacing-5);
16652
- color: var(--color-text-default-default);
16653
- }
16708
+ /* ─── State color treatments ───────────────────────────── */
16654
16709
 
16655
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
16710
+ .muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
16711
+ color: var(--color-action-default);
16712
+ }
16656
16713
 
16657
- .muka-accordion--flush .muka-accordion__trigger {
16658
- padding-left: 0;
16659
- padding-right: 0;
16714
+ .muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
16715
+ color: var(--color-text-subtle-default);
16660
16716
  }
16661
16717
 
16662
- .muka-accordion--flush .muka-accordion__content-inner {
16663
- padding-left: 0;
16664
- padding-right: 0;
16718
+ .muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
16719
+ color: var(--color-text-muted-default, var(--color-text-subtle-default));
16720
+ opacity: 0.6;
16665
16721
  }
16666
16722
 
16667
- /* ─── Variant: contained ────────────────────────────────────────────────── */
16723
+ /* ─── Label ────────────────────────────────────────────── */
16668
16724
 
16669
- .muka-accordion--contained {
16670
- border: var(--border-width-regular) solid var(--color-border-default);
16671
- border-radius: var(--radius-md);
16672
- overflow: hidden;
16725
+ .muka-agent-task-list__label {
16726
+ flex: 1 1 0;
16727
+ min-width: 0;
16728
+ padding: var(--spacing-2) 0;
16729
+ color: var(--color-text-subtle-default);
16730
+ font-family: var(--text-body-sm-regular-fontFamily);
16731
+ font-weight: var(--text-body-sm-regular-fontWeight);
16732
+ font-size: var(--text-body-sm-regular-fontSize);
16733
+ line-height: var(--text-body-sm-regular-lineHeight);
16734
+ word-break: break-word;
16673
16735
  }
16674
16736
 
16675
- .muka-accordion--contained .muka-accordion__item {
16676
- background-color: var(--color-surface-level3);
16677
- }
16737
+ /* ─── Print ────────────────────────────────────────────── */
16678
16738
 
16679
- .muka-accordion--contained .muka-accordion__item:last-child {
16680
- border-bottom: none;
16739
+ @media print {
16740
+ .muka-agent-task-list {
16741
+ break-inside: avoid;
16742
+ }
16743
+
16744
+ .muka-agent-task-list__chevron {
16745
+ display: none;
16746
+ }
16681
16747
  }
16682
16748
 
16683
16749
 
16684
- /* DocumentViewer */
16685
- /* DocumentViewer Component Styles - Using Muka Design Tokens */
16750
+ /* ActionSheet */
16751
+ /* ActionSheet Component Styles */
16686
16752
 
16687
- .muka-documentviewer {
16753
+ .muka-action-sheet__inner {
16688
16754
  display: flex;
16689
16755
  flex-direction: column;
16690
- background-color: var(--documentviewer-container-background);
16691
- border-radius: var(--documentviewer-container-borderRadius);
16692
- overflow: hidden;
16693
- position: relative;
16756
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
16757
+ gap: var(--spacing-3);
16694
16758
  }
16695
16759
 
16696
- .muka-documentviewer--fullscreen {
16697
- position: fixed;
16698
- top: 0;
16699
- left: 0;
16700
- right: 0;
16701
- bottom: 0;
16702
- width: 100vw;
16703
- height: 100vh;
16704
- z-index: 9999;
16705
- border-radius: 0;
16706
- }
16760
+ /* ─── Header ──────────────────────────────────────────── */
16707
16761
 
16708
- /* Toolbar */
16709
- .muka-documentviewer__toolbar {
16762
+ .muka-action-sheet__header {
16710
16763
  display: flex;
16764
+ flex-direction: column;
16711
16765
  align-items: center;
16712
- justify-content: space-between;
16713
- height: var(--documentviewer-toolbar-height);
16714
- padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
16715
- background-color: var(--documentviewer-toolbar-background);
16716
- border-bottom: 1px solid var(--documentviewer-toolbar-border);
16717
- gap: var(--documentviewer-toolbar-gap);
16718
- flex-shrink: 0;
16766
+ gap: var(--spacing-1);
16767
+ padding: var(--spacing-2) 0 var(--spacing-3);
16768
+ text-align: center;
16719
16769
  }
16720
16770
 
16721
- .muka-documentviewer__toolbar-section {
16722
- display: flex;
16723
- align-items: center;
16724
- gap: var(--documentviewer-toolbar-gap);
16771
+ .muka-action-sheet__title {
16772
+ margin: 0;
16773
+ color: var(--color-text-default-default);
16774
+ font-family: var(--text-label-md-semibold-fontFamily);
16775
+ font-weight: var(--text-label-md-semibold-fontWeight);
16776
+ font-size: var(--text-label-md-semibold-fontSize);
16777
+ line-height: var(--text-label-md-semibold-lineHeight);
16725
16778
  }
16726
16779
 
16727
- .muka-documentviewer__toolbar-section--center {
16728
- flex: 1;
16729
- justify-content: center;
16780
+ .muka-action-sheet__description {
16781
+ margin: 0;
16782
+ color: var(--color-text-subtle-default);
16783
+ font-family: var(--text-body-sm-regular-fontFamily);
16784
+ font-weight: var(--text-body-sm-regular-fontWeight);
16785
+ font-size: var(--text-body-sm-regular-fontSize);
16786
+ line-height: var(--text-body-sm-regular-lineHeight);
16730
16787
  }
16731
16788
 
16732
- .muka-documentviewer__toolbar-section--end {
16733
- justify-content: flex-end;
16789
+ /* ─── Actions group ───────────────────────────────────── */
16790
+
16791
+ .muka-action-sheet__actions {
16792
+ display: flex;
16793
+ flex-direction: column;
16794
+ background-color: var(--color-surface-level1);
16795
+ border-radius: var(--radius-md);
16796
+ overflow: hidden;
16734
16797
  }
16735
16798
 
16736
- /* Page navigation */
16737
- .muka-documentviewer__page-input {
16799
+ .muka-action-sheet__item {
16738
16800
  display: flex;
16739
16801
  align-items: center;
16740
- gap: var(--spacing-1);
16802
+ gap: var(--spacing-3);
16803
+ padding: var(--spacing-3) var(--spacing-4);
16804
+ background: none;
16805
+ border: none;
16806
+ cursor: pointer;
16807
+ text-align: left;
16808
+ color: var(--color-text-default-default);
16809
+ font-family: var(--text-body-base-regular-fontFamily);
16810
+ font-weight: var(--text-body-base-regular-fontWeight);
16811
+ font-size: var(--text-body-base-regular-fontSize);
16812
+ line-height: var(--text-body-base-regular-lineHeight);
16813
+ -webkit-tap-highlight-color: transparent;
16814
+ transition: background-color 0.12s ease;
16741
16815
  }
16742
16816
 
16743
- .muka-documentviewer__page-number {
16744
- width: 3rem;
16745
- padding: var(--spacing-1) var(--spacing-2);
16746
- text-align: center;
16747
- font-family: var(--alias-font-brand-family);
16748
- font-size: var(--text-label-sm-fontSize);
16749
- line-height: var(--text-label-sm-lineHeight);
16750
- border: 1px solid var(--color-border-default);
16751
- border-radius: var(--border-radius-md);
16752
- background-color: var(--color-surface-level0);
16753
- color: var(--color-text-default-default);
16817
+ .muka-action-sheet__item + .muka-action-sheet__item {
16818
+ border-top: var(--border-width-regular) solid var(--color-border-default);
16754
16819
  }
16755
16820
 
16756
- .muka-documentviewer__page-number:focus {
16757
- outline: 2px solid var(--color-border-focus);
16758
- outline-offset: 0;
16759
- border-color: var(--color-border-focus);
16821
+ .muka-action-sheet__item:hover:not(:disabled) {
16822
+ background-color: var(--color-surface-level2);
16760
16823
  }
16761
16824
 
16762
- .muka-documentviewer__page-total {
16763
- font-family: var(--alias-font-brand-family);
16764
- font-size: var(--text-label-sm-fontSize);
16765
- color: var(--color-text-subtle-default);
16825
+ .muka-action-sheet__item:active:not(:disabled) {
16826
+ background-color: var(--color-surface-level3);
16766
16827
  }
16767
16828
 
16768
- /* Zoom controls */
16769
- .muka-documentviewer__zoom-display {
16770
- min-width: var(--documentviewer-zoom-button-width);
16771
- padding: var(--spacing-1) var(--spacing-2);
16772
- font-family: var(--alias-font-brand-family);
16773
- font-size: var(--text-label-sm-fontSize);
16774
- font-weight: var(--alias-font-brand-weight-semibold);
16775
- color: var(--color-text-default-default);
16776
- background: transparent;
16777
- border: none;
16778
- border-radius: var(--border-radius-md);
16779
- cursor: pointer;
16780
- transition: background-color 0.2s ease;
16829
+ .muka-action-sheet__item:focus-visible {
16830
+ outline: 2px solid var(--color-action-default);
16831
+ outline-offset: -2px;
16781
16832
  }
16782
16833
 
16783
- .muka-documentviewer__zoom-display:hover {
16784
- background-color: var(--color-surface-level2);
16834
+ .muka-action-sheet__item--destructive {
16835
+ color: var(--color-state-error-default);
16785
16836
  }
16786
16837
 
16787
- .muka-documentviewer__zoom-display:focus {
16788
- outline: 2px solid var(--color-border-focus);
16789
- outline-offset: 0;
16838
+ .muka-action-sheet__item--disabled,
16839
+ .muka-action-sheet__item:disabled {
16840
+ opacity: 0.5;
16841
+ cursor: not-allowed;
16790
16842
  }
16791
16843
 
16792
- /* Content area */
16793
- .muka-documentviewer__content {
16794
- display: flex;
16795
- flex: 1;
16796
- overflow: hidden;
16844
+ .muka-action-sheet__item-icon {
16845
+ display: inline-flex;
16846
+ align-items: center;
16847
+ justify-content: center;
16848
+ width: 24px;
16849
+ height: 24px;
16850
+ flex-shrink: 0;
16797
16851
  }
16798
16852
 
16799
- .muka-documentviewer__main {
16800
- flex: 1;
16801
- display: flex;
16802
- flex-direction: column;
16803
- overflow: hidden;
16804
- position: relative;
16853
+ .muka-action-sheet__item-icon svg {
16854
+ width: 100%;
16855
+ height: 100%;
16805
16856
  }
16806
16857
 
16807
- /* Canvas */
16808
- .muka-documentviewer__canvas {
16858
+ .muka-action-sheet__item-label {
16809
16859
  flex: 1;
16810
- background-color: var(--documentviewer-canvas-background);
16811
- padding: var(--documentviewer-canvas-padding);
16812
- overflow: auto;
16860
+ }
16861
+
16862
+ /* ─── Cancel button (separate at bottom) ──────────────── */
16863
+
16864
+ .muka-action-sheet__cancel {
16813
16865
  display: flex;
16814
- align-items: flex-start;
16866
+ align-items: center;
16815
16867
  justify-content: center;
16868
+ padding: var(--spacing-3) var(--spacing-4);
16869
+ background-color: var(--color-surface-level1);
16870
+ border: none;
16871
+ border-radius: var(--radius-md);
16872
+ cursor: pointer;
16873
+ color: var(--color-text-default-default);
16874
+ font-family: var(--text-label-md-semibold-fontFamily);
16875
+ font-weight: var(--text-label-md-semibold-fontWeight);
16876
+ font-size: var(--text-label-md-semibold-fontSize);
16877
+ line-height: var(--text-label-md-semibold-lineHeight);
16878
+ -webkit-tap-highlight-color: transparent;
16879
+ transition: background-color 0.12s ease;
16816
16880
  }
16817
16881
 
16818
- .muka-documentviewer__page {
16819
- background-color: var(--documentviewer-page-background);
16820
- box-shadow: var(--documentviewer-page-shadow);
16821
- border-radius: var(--documentviewer-page-borderRadius);
16822
- overflow: hidden;
16882
+ .muka-action-sheet__cancel:hover {
16883
+ background-color: var(--color-surface-level2);
16823
16884
  }
16824
16885
 
16825
- .muka-documentviewer__page canvas {
16826
- display: block;
16827
- max-width: 100%;
16828
- height: auto;
16886
+ .muka-action-sheet__cancel:focus-visible {
16887
+ outline: 2px solid var(--color-action-default);
16888
+ outline-offset: 2px;
16829
16889
  }
16830
16890
 
16831
- .muka-documentviewer__page-number {
16832
- text-align: center;
16833
- padding: var(--spacing-2);
16834
- font-family: var(--alias-font-brand-family);
16835
- font-size: var(--text-label-sm-fontSize);
16836
- color: var(--color-text-subtle-default);
16891
+
16892
+ /* Accordion */
16893
+ /* Accordion Component Styles */
16894
+
16895
+ .muka-accordion {
16896
+ width: 100%;
16837
16897
  }
16838
16898
 
16839
- /* Thumbnails */
16840
- .muka-documentviewer__thumbnails {
16841
- width: var(--documentviewer-thumbnails-width);
16842
- background-color: var(--documentviewer-thumbnails-background);
16843
- border-right: 1px solid var(--documentviewer-thumbnails-border);
16844
- overflow-y: auto;
16845
- flex-shrink: 0;
16899
+ /* Item */
16900
+ .muka-accordion__item {
16901
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
16846
16902
  }
16847
16903
 
16848
- .muka-documentviewer__thumbnails-list {
16849
- display: flex;
16850
- flex-direction: column;
16851
- gap: var(--documentviewer-thumbnails-item-gap);
16852
- padding: var(--spacing-2);
16904
+ .muka-accordion__item:last-child {
16905
+ border-bottom: none;
16853
16906
  }
16854
16907
 
16855
- .muka-documentviewer__thumbnail-item {
16908
+ /* Header reset */
16909
+ .muka-accordion__header {
16910
+ margin: 0;
16911
+ }
16912
+
16913
+ /* Trigger */
16914
+ .muka-accordion__trigger {
16856
16915
  display: flex;
16857
- flex-direction: column;
16858
16916
  align-items: center;
16859
- gap: var(--spacing-1);
16860
- padding: var(--documentviewer-thumbnails-item-padding);
16861
- border-radius: var(--documentviewer-thumbnails-item-borderRadius);
16862
- border: 2px solid var(--documentviewer-thumbnails-item-border-default);
16863
- background-color: var(--documentviewer-thumbnails-item-background-default);
16864
- cursor: pointer;
16865
- transition: all 0.2s ease;
16917
+ justify-content: space-between;
16866
16918
  width: 100%;
16919
+ padding: var(--spacing-4);
16920
+ background: none;
16921
+ border: none;
16922
+ cursor: pointer;
16923
+ font-family: var(--text-label-md-semibold-fontFamily);
16924
+ font-weight: var(--text-label-md-semibold-fontWeight);
16925
+ font-size: var(--text-label-md-semibold-fontSize);
16926
+ line-height: var(--text-label-md-semibold-lineHeight);
16927
+ color: var(--color-text-default-default);
16928
+ text-align: left;
16929
+ gap: var(--spacing-3);
16930
+ transition: background-color 0.15s ease;
16867
16931
  }
16868
16932
 
16869
- .muka-documentviewer__thumbnail-item:hover {
16870
- background-color: var(--documentviewer-thumbnails-item-background-hover);
16933
+ .muka-accordion__trigger:hover {
16934
+ background-color: var(--color-surface-level1);
16871
16935
  }
16872
16936
 
16873
- .muka-documentviewer__thumbnail-item--selected {
16874
- background-color: var(--documentviewer-thumbnails-item-background-selected);
16875
- border-color: var(--documentviewer-thumbnails-item-border-selected);
16937
+ .muka-accordion__trigger[data-disabled] {
16938
+ cursor: not-allowed;
16939
+ opacity: 0.4;
16876
16940
  }
16877
16941
 
16878
- .muka-documentviewer__thumbnail-item:focus {
16879
- outline: 2px solid var(--color-border-focus);
16880
- outline-offset: 2px;
16942
+ .muka-accordion__trigger-text {
16943
+ flex: 1;
16881
16944
  }
16882
16945
 
16883
- .muka-documentviewer__thumbnail-preview {
16884
- width: 100%;
16946
+ /* Chevron rotation */
16947
+ .muka-accordion__chevron {
16948
+ display: inline-flex;
16949
+ align-items: center;
16950
+ color: var(--color-text-subtle-default);
16951
+ transition: transform 200ms ease;
16952
+ }
16953
+
16954
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
16955
+ transform: rotate(180deg);
16956
+ }
16957
+
16958
+ /* Content */
16959
+ .muka-accordion__content {
16885
16960
  overflow: hidden;
16886
- border-radius: var(--border-radius-sm);
16887
16961
  }
16888
16962
 
16889
- .muka-documentviewer__thumbnail-preview canvas {
16890
- display: block;
16891
- width: 100%;
16892
- height: auto;
16963
+ .muka-accordion__content[data-state='open'] {
16964
+ animation: muka-accordion-slideDown 200ms ease;
16893
16965
  }
16894
16966
 
16895
- .muka-documentviewer__thumbnail-label {
16896
- font-family: var(--alias-font-brand-family);
16897
- font-size: var(--text-label-xs-regular-fontSize);
16898
- color: var(--color-text-default-default);
16899
- font-weight: var(--alias-font-brand-weight-medium);
16967
+ .muka-accordion__content[data-state='closed'] {
16968
+ animation: muka-accordion-slideUp 200ms ease;
16900
16969
  }
16901
16970
 
16902
- /* Loading state */
16903
- .muka-documentviewer__loading {
16904
- display: flex;
16905
- align-items: center;
16906
- justify-content: center;
16907
- flex: 1;
16908
- background-color: var(--documentviewer-loading-overlay-background);
16971
+ @keyframes muka-accordion-slideDown {
16972
+ from {
16973
+ height: 0;
16974
+ }
16975
+ to {
16976
+ height: var(--radix-accordion-content-height);
16977
+ }
16909
16978
  }
16910
16979
 
16911
- /* Error state */
16912
- .muka-documentviewer__error {
16913
- display: flex;
16914
- align-items: center;
16915
- justify-content: center;
16916
- flex: 1;
16917
- padding: var(--spacing-4);
16918
- background-color: var(--documentviewer-error-background);
16980
+ @keyframes muka-accordion-slideUp {
16981
+ from {
16982
+ height: var(--radix-accordion-content-height);
16983
+ }
16984
+ to {
16985
+ height: 0;
16986
+ }
16919
16987
  }
16920
16988
 
16921
- /* Accessibility - visually hidden */
16922
- .visually-hidden {
16923
- position: absolute;
16924
- width: 1px;
16925
- height: 1px;
16926
- margin: -1px;
16927
- padding: 0;
16928
- overflow: hidden;
16929
- clip: rect(0, 0, 0, 0);
16930
- white-space: nowrap;
16931
- border-width: 0;
16989
+ .muka-accordion__content-inner {
16990
+ padding: 0 var(--spacing-4) var(--spacing-5);
16991
+ color: var(--color-text-default-default);
16932
16992
  }
16933
16993
 
16934
- /* React-PDF specific styles */
16935
- .react-pdf__Document {
16936
- display: flex;
16937
- flex-direction: column;
16938
- align-items: center;
16994
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
16995
+
16996
+ .muka-accordion--flush .muka-accordion__trigger {
16997
+ padding-left: 0;
16998
+ padding-right: 0;
16939
16999
  }
16940
17000
 
16941
- .react-pdf__Page {
16942
- max-width: 100%;
16943
- box-shadow: var(--documentviewer-page-shadow);
16944
- border-radius: var(--documentviewer-page-borderRadius);
16945
- overflow: hidden;
17001
+ .muka-accordion--flush .muka-accordion__content-inner {
17002
+ padding-left: 0;
17003
+ padding-right: 0;
16946
17004
  }
16947
17005
 
16948
- .react-pdf__Page__canvas {
16949
- max-width: 100%;
16950
- height: auto !important;
16951
- display: block;
17006
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17007
+
17008
+ .muka-accordion--contained {
17009
+ border: var(--border-width-regular) solid var(--color-border-default);
17010
+ border-radius: var(--radius-md);
17011
+ overflow: hidden;
16952
17012
  }
16953
17013
 
16954
- .react-pdf__Page__textContent {
16955
- max-width: 100%;
17014
+ .muka-accordion--contained .muka-accordion__item {
17015
+ background-color: var(--color-surface-level3);
16956
17016
  }
16957
17017
 
16958
- .react-pdf__Page__annotations {
16959
- max-width: 100%;
17018
+ .muka-accordion--contained .muka-accordion__item:last-child {
17019
+ border-bottom: none;
16960
17020
  }
16961
17021