@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
@@ -2176,6 +2176,9 @@ body {
2176
2176
  --bottombar-color-border: #eae7ec;
2177
2177
  --bottombar-color-tab-active: #211f26;
2178
2178
  --bottombar-color-tab-inactive: #8e8c99;
2179
+ --bottombar-color-message-neutral: #211f26;
2180
+ --bottombar-color-message-success: #16433c;
2181
+ --bottombar-color-message-warning: #ab6400;
2179
2182
  --bottombar-floating-radius: 1.5rem;
2180
2183
  --bottombar-floating-padding: 0.75rem;
2181
2184
  --bottombar-floating-margin-x: 0.75rem;
@@ -2195,6 +2198,7 @@ body {
2195
2198
  --bottombar-actions-gap: 0.75rem;
2196
2199
  --bottombar-actions-button-height-sm: 3rem;
2197
2200
  --bottombar-actions-button-height-lg: 4rem;
2201
+ --bottombar-actions-message-gap: 0.5rem;
2198
2202
  --bottombar-navigation-floating-padding: 0.5rem;
2199
2203
  --view-color-background: #f2eff3;
2200
2204
  --badge-size-height-sm: 1.5rem;
@@ -2285,13 +2289,13 @@ body {
2285
2289
  --emptystate-container-padding-md: 2rem;
2286
2290
  --emptystate-container-padding-lg: 3rem;
2287
2291
  --emptystate-container-gap: 1rem;
2288
- --emptystate-container-maxWidth: 24rem;
2292
+ --emptystate-container-maxWidth: 40rem;
2289
2293
  --emptystate-icon-size-sm: 2rem;
2290
2294
  --emptystate-icon-size-md: 3rem;
2291
2295
  --emptystate-icon-size-lg: 4rem;
2292
2296
  --emptystate-icon-color: #d0cdd7;
2293
2297
  --emptystate-title-color: #211f26;
2294
- --emptystate-description-color: #d0cdd7;
2298
+ --emptystate-description-color: #211f26;
2295
2299
  --emptystate-actions-gap: 0.75rem;
2296
2300
  --emptystate-actions-marginTop: 1rem;
2297
2301
  --documentviewer-container-background: #fdfcfd;
@@ -5163,163 +5167,6 @@ body {
5163
5167
  }
5164
5168
 
5165
5169
 
5166
- /* Skeleton */
5167
- /* Skeleton Component Styles */
5168
-
5169
- .muka-skeleton {
5170
- background-color: var(--color-surface-level1);
5171
- display: block;
5172
- }
5173
-
5174
- /* Variants */
5175
- .muka-skeleton--text {
5176
- height: 1em;
5177
- border-radius: var(--radius-md);
5178
- width: 100%;
5179
- }
5180
-
5181
- .muka-skeleton--circular {
5182
- width: 2.5rem;
5183
- height: 2.5rem;
5184
- border-radius: var(--radius-full);
5185
- }
5186
-
5187
- .muka-skeleton--rectangular {
5188
- height: 7.5rem;
5189
- border-radius: var(--radius-md);
5190
- width: 100%;
5191
- }
5192
-
5193
- /* Last line in multi-line text is shorter */
5194
- .muka-skeleton--last-line {
5195
- width: 80%;
5196
- }
5197
-
5198
- /* Lines container */
5199
- .muka-skeleton__lines {
5200
- display: flex;
5201
- flex-direction: column;
5202
- gap: var(--spacing-2);
5203
- }
5204
-
5205
- /* Shimmer animation */
5206
- @keyframes muka-skeleton-shimmer {
5207
- 0% {
5208
- background-position: -200% 0;
5209
- }
5210
- 100% {
5211
- background-position: 200% 0;
5212
- }
5213
- }
5214
-
5215
- .muka-skeleton--shimmer {
5216
- background: linear-gradient(
5217
- 90deg,
5218
- var(--color-surface-level1) 25%,
5219
- var(--color-surface-level2) 50%,
5220
- var(--color-surface-level1) 75%
5221
- );
5222
- background-size: 200% 100%;
5223
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5224
- }
5225
-
5226
- /* Pulse animation */
5227
- @keyframes muka-skeleton-pulse {
5228
- 0%, 100% {
5229
- opacity: 1;
5230
- }
5231
- 50% {
5232
- opacity: 0.4;
5233
- }
5234
- }
5235
-
5236
- .muka-skeleton--pulse {
5237
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5238
- }
5239
-
5240
-
5241
- /* Sheet */
5242
- /* Sheet Component Styles */
5243
-
5244
- /* ─── Backdrop ────────────────────────────────────────── */
5245
-
5246
- .muka-sheet__overlay {
5247
- position: fixed;
5248
- inset: 0;
5249
- background-color: var(--color-surface-backdrop);
5250
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5251
- backdrop-filter: blur(var(--effect-blur-backdrop));
5252
- z-index: 50;
5253
- }
5254
-
5255
- /* ─── Surface ─────────────────────────────────────────── */
5256
-
5257
- .muka-sheet {
5258
- position: fixed;
5259
- left: 0;
5260
- right: 0;
5261
- bottom: 0;
5262
- z-index: 51;
5263
-
5264
- display: flex;
5265
- flex-direction: column;
5266
-
5267
- max-height: 96dvh;
5268
-
5269
- background-color: var(--color-surface-level3);
5270
- border-top-left-radius: var(--radius-lg);
5271
- border-top-right-radius: var(--radius-lg);
5272
- box-shadow: var(--shadow-level5);
5273
-
5274
- outline: none;
5275
- }
5276
-
5277
- /* Safe-area bottom inset for the iPhone home indicator. */
5278
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5279
- padding-bottom: env(safe-area-inset-bottom);
5280
- }
5281
-
5282
- /* ─── Drag handle ─────────────────────────────────────── */
5283
-
5284
- .muka-sheet__handle-container {
5285
- display: flex;
5286
- justify-content: center;
5287
- flex-shrink: 0;
5288
- padding: var(--spacing-3) 0;
5289
- }
5290
-
5291
- .muka-sheet__handle {
5292
- width: var(--dialog-drag-handle-width);
5293
- height: var(--dialog-drag-handle-height);
5294
- background-color: var(--dialog-drag-handle-color);
5295
- border-radius: var(--dialog-drag-handle-radius);
5296
- }
5297
-
5298
- /* ─── Body (scrollable) ───────────────────────────────── */
5299
-
5300
- .muka-sheet__body {
5301
- flex: 1 1 0%;
5302
- min-height: 0;
5303
- overflow-y: auto;
5304
- -webkit-overflow-scrolling: touch;
5305
- overscroll-behavior: contain;
5306
- }
5307
-
5308
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5309
-
5310
- .muka-sheet__sr-title {
5311
- position: absolute;
5312
- width: 1px;
5313
- height: 1px;
5314
- padding: 0;
5315
- margin: -1px;
5316
- overflow: hidden;
5317
- clip: rect(0, 0, 0, 0);
5318
- white-space: nowrap;
5319
- border: 0;
5320
- }
5321
-
5322
-
5323
5170
  /* SmsOtpField */
5324
5171
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5325
5172
 
@@ -5512,214 +5359,160 @@ body {
5512
5359
  }
5513
5360
 
5514
5361
 
5515
- /* SegmentGroup */
5516
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5517
-
5518
- /* Container */
5519
- .muka-segmentgroup {
5520
- display: inline-flex;
5521
- align-items: center;
5522
- gap: 0;
5523
- padding: var(--segmentgroup-container-padding);
5524
- background-color: var(--segmentgroup-container-background);
5525
- border-radius: var(--segmentgroup-container-radius);
5526
- position: relative;
5527
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5528
- }
5362
+ /* Skeleton */
5363
+ /* Skeleton Component Styles */
5529
5364
 
5530
- /* Inset shadow on container */
5531
- .muka-segmentgroup::after {
5532
- content: '';
5533
- position: absolute;
5534
- inset: 0;
5535
- border-radius: inherit;
5536
- box-shadow: var(--segmentgroup-container-shadow);
5537
- pointer-events: none;
5365
+ .muka-skeleton {
5366
+ background-color: var(--color-surface-level1);
5367
+ display: block;
5538
5368
  }
5539
5369
 
5540
- /* Full width variant */
5541
- .muka-segmentgroup--full-width {
5370
+ /* Variants */
5371
+ .muka-skeleton--text {
5372
+ height: 1em;
5373
+ border-radius: var(--radius-md);
5542
5374
  width: 100%;
5543
5375
  }
5544
5376
 
5545
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5546
- flex: 1;
5377
+ .muka-skeleton--circular {
5378
+ width: 2.5rem;
5379
+ height: 2.5rem;
5380
+ border-radius: var(--radius-full);
5547
5381
  }
5548
5382
 
5549
- /* Pill */
5550
- .muka-segmentgroup__pill {
5551
- position: absolute;
5552
- top: var(--segmentgroup-container-padding);
5553
- bottom: var(--segmentgroup-container-padding);
5554
- left: 0;
5555
- margin: 0;
5556
- background-color: var(--segmentgroup-segment-color-selected-background);
5557
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5558
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5559
- z-index: 0;
5560
- pointer-events: none;
5383
+ .muka-skeleton--rectangular {
5384
+ height: 7.5rem;
5385
+ border-radius: var(--radius-md);
5386
+ width: 100%;
5561
5387
  }
5562
5388
 
5563
- /* Segment button */
5564
- .muka-segmentgroup__segment {
5565
- display: inline-flex;
5566
- align-items: center;
5567
- justify-content: center;
5568
- gap: var(--segmentgroup-segment-gap);
5569
- border: none;
5570
- background-color: var(--segmentgroup-segment-color-unselected-background);
5571
- color: var(--segmentgroup-segment-color-unselected-foreground);
5572
- border-radius: var(--segmentgroup-segment-radius);
5573
- cursor: pointer;
5574
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5575
- position: relative;
5576
- outline: none;
5577
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
5578
- font-family: var(--alias-font-plain-family);
5579
- font-weight: var(--segmentgroup-segment-fontWeight);
5580
- z-index: 1; /* Keep above pill */
5389
+ /* Last line in multi-line text is shorter */
5390
+ .muka-skeleton--last-line {
5391
+ width: 80%;
5581
5392
  }
5582
5393
 
5583
- /* Size variants */
5584
- .muka-segmentgroup--sm {
5585
- border-radius: var(--border-radius-xl, 16px);
5586
- }
5587
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
5588
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
5589
- border-radius: var(--border-radius-xl, 16px);
5590
- }
5591
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
5592
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5593
- height: var(--segmentgroup-segment-height-sm);
5594
- font-size: var(--text-label-sm-fontSize);
5595
- line-height: var(--text-label-sm-lineHeight);
5394
+ /* Lines container */
5395
+ .muka-skeleton__lines {
5396
+ display: flex;
5397
+ flex-direction: column;
5398
+ gap: var(--spacing-2);
5596
5399
  }
5597
5400
 
5598
- .muka-segmentgroup--md {
5599
- border-radius: var(--border-radius-xl, 16px);
5600
- }
5601
- .muka-segmentgroup--md .muka-segmentgroup__segment,
5602
- .muka-segmentgroup--md .muka-segmentgroup__pill {
5603
- border-radius: var(--border-radius-xl, 16px);
5604
- }
5605
- .muka-segmentgroup--md .muka-segmentgroup__segment {
5606
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5607
- font-size: var(--text-label-md-fontSize);
5608
- line-height: var(--text-label-md-lineHeight);
5401
+ /* Shimmer animation */
5402
+ @keyframes muka-skeleton-shimmer {
5403
+ 0% {
5404
+ background-position: -200% 0;
5405
+ }
5406
+ 100% {
5407
+ background-position: 200% 0;
5408
+ }
5609
5409
  }
5610
5410
 
5611
- .muka-segmentgroup--lg {
5612
- border-radius: var(--border-radius-full, 9999px);
5613
- }
5614
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
5615
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
5616
- border-radius: var(--border-radius-full, 9999px);
5617
- }
5618
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
5619
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5620
- height: 40px;
5621
- font-size: var(--text-label-lg-fontSize);
5622
- line-height: var(--text-label-lg-lineHeight);
5411
+ .muka-skeleton--shimmer {
5412
+ background: linear-gradient(
5413
+ 90deg,
5414
+ var(--color-surface-level1) 25%,
5415
+ var(--color-surface-level2) 50%,
5416
+ var(--color-surface-level1) 75%
5417
+ );
5418
+ background-size: 200% 100%;
5419
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5623
5420
  }
5624
5421
 
5625
- /* Icon-only variants */
5626
- .muka-segmentgroup--icon-only {
5627
- gap: var(--spacing-1, 4px);
5422
+ /* Pulse animation */
5423
+ @keyframes muka-skeleton-pulse {
5424
+ 0%, 100% {
5425
+ opacity: 1;
5426
+ }
5427
+ 50% {
5428
+ opacity: 0.4;
5429
+ }
5628
5430
  }
5629
5431
 
5630
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5631
- width: 24px;
5632
- height: 24px;
5633
- padding: 0;
5634
- }
5635
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5636
- width: 16px;
5637
- height: 16px;
5432
+ .muka-skeleton--pulse {
5433
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5638
5434
  }
5639
5435
 
5640
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
5641
- width: 32px;
5642
- height: 32px;
5643
- padding: 0;
5644
- }
5645
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
5646
- width: 20px;
5647
- height: 20px;
5648
- }
5649
5436
 
5650
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
5651
- width: 40px;
5652
- height: 40px;
5653
- padding: 0;
5654
- }
5655
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5656
- width: 24px;
5657
- height: 24px;
5658
- }
5437
+ /* Sheet */
5438
+ /* Sheet Component Styles */
5659
5439
 
5660
- /* Icon */
5661
- .muka-segmentgroup__icon {
5662
- display: inline-flex;
5663
- align-items: center;
5664
- justify-content: center;
5665
- }
5440
+ /* ─── Backdrop ────────────────────────────────────────── */
5666
5441
 
5667
- /* Selected state */
5668
- .muka-segmentgroup__segment--selected {
5669
- background-color: transparent;
5670
- box-shadow: none;
5671
- color: var(--segmentgroup-segment-color-selected-foreground);
5672
- z-index: 2; /* Highlight pill when focused is tested below */
5442
+ .muka-sheet__overlay {
5443
+ position: fixed;
5444
+ inset: 0;
5445
+ background-color: var(--color-surface-backdrop);
5446
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5447
+ backdrop-filter: blur(var(--effect-blur-backdrop));
5448
+ z-index: 50;
5673
5449
  }
5674
5450
 
5675
- /* Hover state (only for unselected) */
5676
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5677
- color: var(--segmentgroup-segment-color-hover-foreground);
5678
- }
5451
+ /* ─── Surface ─────────────────────────────────────────── */
5679
5452
 
5680
- /* Focus visible */
5681
- .muka-segmentgroup__segment:focus-visible {
5682
- outline: 2px solid var(--color-border-focus);
5683
- outline-offset: 2px;
5684
- z-index: 2;
5685
- }
5453
+ .muka-sheet {
5454
+ position: fixed;
5455
+ left: 0;
5456
+ right: 0;
5457
+ bottom: 0;
5458
+ z-index: 51;
5686
5459
 
5687
- /* Disabled state */
5688
- .muka-segmentgroup__segment--disabled,
5689
- .muka-segmentgroup__segment:disabled {
5690
- cursor: not-allowed;
5691
- opacity: 0.5;
5692
- }
5460
+ display: flex;
5461
+ flex-direction: column;
5693
5462
 
5694
- /* Label */
5695
- .muka-segmentgroup__label {
5696
- display: inline-flex;
5697
- align-items: center;
5698
- white-space: nowrap;
5699
- user-select: none;
5463
+ max-height: 96dvh;
5464
+
5465
+ background-color: var(--color-surface-level3);
5466
+ border-top-left-radius: var(--radius-lg);
5467
+ border-top-right-radius: var(--radius-lg);
5468
+ box-shadow: var(--shadow-level5);
5469
+
5470
+ outline: none;
5700
5471
  }
5701
5472
 
5473
+ /* Safe-area bottom inset for the iPhone home indicator. */
5474
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5475
+ padding-bottom: env(safe-area-inset-bottom);
5476
+ }
5702
5477
 
5703
- /* Section */
5704
- /* Section Component - Layout tokens (section.padding) */
5478
+ /* ─── Drag handle ─────────────────────────────────────── */
5705
5479
 
5706
- .muka-section {
5707
- box-sizing: border-box;
5480
+ .muka-sheet__handle-container {
5481
+ display: flex;
5482
+ justify-content: center;
5483
+ flex-shrink: 0;
5484
+ padding: var(--spacing-3) 0;
5708
5485
  }
5709
5486
 
5710
- .muka-section--padding-compact {
5711
- padding-block: var(--section-padding-vertical-compact);
5712
- padding-inline: var(--section-padding-horizontal-compact);
5487
+ .muka-sheet__handle {
5488
+ width: var(--dialog-drag-handle-width);
5489
+ height: var(--dialog-drag-handle-height);
5490
+ background-color: var(--dialog-drag-handle-color);
5491
+ border-radius: var(--dialog-drag-handle-radius);
5713
5492
  }
5714
5493
 
5715
- .muka-section--padding-default {
5716
- padding-block: var(--section-padding-vertical-default);
5717
- padding-inline: var(--section-padding-horizontal-default);
5494
+ /* ─── Body (scrollable) ───────────────────────────────── */
5495
+
5496
+ .muka-sheet__body {
5497
+ flex: 1 1 0%;
5498
+ min-height: 0;
5499
+ overflow-y: auto;
5500
+ -webkit-overflow-scrolling: touch;
5501
+ overscroll-behavior: contain;
5718
5502
  }
5719
5503
 
5720
- .muka-section--padding-spacious {
5721
- padding-block: var(--section-padding-vertical-spacious);
5722
- padding-inline: var(--section-padding-horizontal-spacious);
5504
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5505
+
5506
+ .muka-sheet__sr-title {
5507
+ position: absolute;
5508
+ width: 1px;
5509
+ height: 1px;
5510
+ padding: 0;
5511
+ margin: -1px;
5512
+ overflow: hidden;
5513
+ clip: rect(0, 0, 0, 0);
5514
+ white-space: nowrap;
5515
+ border: 0;
5723
5516
  }
5724
5517
 
5725
5518
 
@@ -5917,55 +5710,266 @@ body {
5917
5710
  }
5918
5711
 
5919
5712
 
5920
- /* SearchInput */
5921
- /* SearchInput Component Styles */
5922
-
5923
- .muka-search-input {
5924
- display: flex;
5925
- align-items: center;
5926
- gap: var(--spacing-3);
5927
- width: 100%;
5928
- }
5929
-
5930
- /* ─── Field wrapper ───────────────────────────────────── */
5713
+ /* SegmentGroup */
5714
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5931
5715
 
5932
- .muka-search-input__field {
5933
- flex: 1 1 auto;
5934
- display: flex;
5716
+ /* Container */
5717
+ .muka-segmentgroup {
5718
+ display: inline-flex;
5935
5719
  align-items: center;
5936
- gap: var(--spacing-2);
5937
- background-color: var(--input-field-color-default-background);
5938
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5939
- border-radius: var(--input-field-radius-md);
5940
- padding: 0 var(--input-field-padding-x);
5941
- transition: border-color 0.12s ease, background-color 0.12s ease;
5720
+ gap: 0;
5721
+ padding: var(--segmentgroup-container-padding);
5722
+ background-color: var(--segmentgroup-container-background);
5723
+ border-radius: var(--segmentgroup-container-radius);
5724
+ position: relative;
5725
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
5942
5726
  }
5943
5727
 
5944
- .muka-search-input--focused .muka-search-input__field {
5945
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5728
+ /* Inset shadow on container */
5729
+ .muka-segmentgroup::after {
5730
+ content: '';
5731
+ position: absolute;
5732
+ inset: 0;
5733
+ border-radius: inherit;
5734
+ box-shadow: var(--segmentgroup-container-shadow);
5735
+ pointer-events: none;
5946
5736
  }
5947
5737
 
5948
- /* ─── Sizes ───────────────────────────────────────────── */
5949
-
5950
- .muka-search-input--sm .muka-search-input__field {
5951
- min-height: var(--input-field-height-sm);
5952
- border-radius: var(--input-field-radius-sm);
5738
+ /* Full width variant */
5739
+ .muka-segmentgroup--full-width {
5740
+ width: 100%;
5953
5741
  }
5954
5742
 
5955
- .muka-search-input--md .muka-search-input__field {
5956
- min-height: var(--input-field-height-default);
5743
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5744
+ flex: 1;
5957
5745
  }
5958
5746
 
5959
- .muka-search-input--lg .muka-search-input__field {
5960
- min-height: var(--input-field-height-lg);
5961
- border-radius: var(--input-field-radius-lg);
5747
+ /* Pill */
5748
+ .muka-segmentgroup__pill {
5749
+ position: absolute;
5750
+ top: var(--segmentgroup-container-padding);
5751
+ bottom: var(--segmentgroup-container-padding);
5752
+ left: 0;
5753
+ margin: 0;
5754
+ background-color: var(--segmentgroup-segment-color-selected-background);
5755
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
5756
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5757
+ z-index: 0;
5758
+ pointer-events: none;
5962
5759
  }
5963
5760
 
5964
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5965
-
5966
- .muka-search-input--embedded .muka-search-input__field {
5967
- background-color: var(--color-surface-level1);
5968
- border-color: transparent;
5761
+ /* Segment button */
5762
+ .muka-segmentgroup__segment {
5763
+ display: inline-flex;
5764
+ align-items: center;
5765
+ justify-content: center;
5766
+ gap: var(--segmentgroup-segment-gap);
5767
+ border: none;
5768
+ background-color: var(--segmentgroup-segment-color-unselected-background);
5769
+ color: var(--segmentgroup-segment-color-unselected-foreground);
5770
+ border-radius: var(--segmentgroup-segment-radius);
5771
+ cursor: pointer;
5772
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5773
+ position: relative;
5774
+ outline: none;
5775
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
5776
+ font-family: var(--alias-font-plain-family);
5777
+ font-weight: var(--segmentgroup-segment-fontWeight);
5778
+ z-index: 1; /* Keep above pill */
5779
+ }
5780
+
5781
+ /* Size variants */
5782
+ .muka-segmentgroup--sm {
5783
+ border-radius: var(--border-radius-xl, 16px);
5784
+ }
5785
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
5786
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
5787
+ border-radius: var(--border-radius-xl, 16px);
5788
+ }
5789
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
5790
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5791
+ height: var(--segmentgroup-segment-height-sm);
5792
+ font-size: var(--text-label-sm-fontSize);
5793
+ line-height: var(--text-label-sm-lineHeight);
5794
+ }
5795
+
5796
+ .muka-segmentgroup--md {
5797
+ border-radius: var(--border-radius-xl, 16px);
5798
+ }
5799
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
5800
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
5801
+ border-radius: var(--border-radius-xl, 16px);
5802
+ }
5803
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
5804
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5805
+ font-size: var(--text-label-md-fontSize);
5806
+ line-height: var(--text-label-md-lineHeight);
5807
+ }
5808
+
5809
+ .muka-segmentgroup--lg {
5810
+ border-radius: var(--border-radius-full, 9999px);
5811
+ }
5812
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
5813
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
5814
+ border-radius: var(--border-radius-full, 9999px);
5815
+ }
5816
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
5817
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5818
+ height: 40px;
5819
+ font-size: var(--text-label-lg-fontSize);
5820
+ line-height: var(--text-label-lg-lineHeight);
5821
+ }
5822
+
5823
+ /* Icon-only variants */
5824
+ .muka-segmentgroup--icon-only {
5825
+ gap: var(--spacing-1, 4px);
5826
+ }
5827
+
5828
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5829
+ width: 24px;
5830
+ height: 24px;
5831
+ padding: 0;
5832
+ }
5833
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5834
+ width: 16px;
5835
+ height: 16px;
5836
+ }
5837
+
5838
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
5839
+ width: 32px;
5840
+ height: 32px;
5841
+ padding: 0;
5842
+ }
5843
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
5844
+ width: 20px;
5845
+ height: 20px;
5846
+ }
5847
+
5848
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
5849
+ width: 40px;
5850
+ height: 40px;
5851
+ padding: 0;
5852
+ }
5853
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5854
+ width: 24px;
5855
+ height: 24px;
5856
+ }
5857
+
5858
+ /* Icon */
5859
+ .muka-segmentgroup__icon {
5860
+ display: inline-flex;
5861
+ align-items: center;
5862
+ justify-content: center;
5863
+ }
5864
+
5865
+ /* Selected state */
5866
+ .muka-segmentgroup__segment--selected {
5867
+ background-color: transparent;
5868
+ box-shadow: none;
5869
+ color: var(--segmentgroup-segment-color-selected-foreground);
5870
+ z-index: 2; /* Highlight pill when focused is tested below */
5871
+ }
5872
+
5873
+ /* Hover state (only for unselected) */
5874
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5875
+ color: var(--segmentgroup-segment-color-hover-foreground);
5876
+ }
5877
+
5878
+ /* Focus visible */
5879
+ .muka-segmentgroup__segment:focus-visible {
5880
+ outline: 2px solid var(--color-border-focus);
5881
+ outline-offset: 2px;
5882
+ z-index: 2;
5883
+ }
5884
+
5885
+ /* Disabled state */
5886
+ .muka-segmentgroup__segment--disabled,
5887
+ .muka-segmentgroup__segment:disabled {
5888
+ cursor: not-allowed;
5889
+ opacity: 0.5;
5890
+ }
5891
+
5892
+ /* Label */
5893
+ .muka-segmentgroup__label {
5894
+ display: inline-flex;
5895
+ align-items: center;
5896
+ white-space: nowrap;
5897
+ user-select: none;
5898
+ }
5899
+
5900
+
5901
+ /* Section */
5902
+ /* Section Component - Layout tokens (section.padding) */
5903
+
5904
+ .muka-section {
5905
+ box-sizing: border-box;
5906
+ }
5907
+
5908
+ .muka-section--padding-compact {
5909
+ padding-block: var(--section-padding-vertical-compact);
5910
+ padding-inline: var(--section-padding-horizontal-compact);
5911
+ }
5912
+
5913
+ .muka-section--padding-default {
5914
+ padding-block: var(--section-padding-vertical-default);
5915
+ padding-inline: var(--section-padding-horizontal-default);
5916
+ }
5917
+
5918
+ .muka-section--padding-spacious {
5919
+ padding-block: var(--section-padding-vertical-spacious);
5920
+ padding-inline: var(--section-padding-horizontal-spacious);
5921
+ }
5922
+
5923
+
5924
+ /* SearchInput */
5925
+ /* SearchInput Component Styles */
5926
+
5927
+ .muka-search-input {
5928
+ display: flex;
5929
+ align-items: center;
5930
+ gap: var(--spacing-3);
5931
+ width: 100%;
5932
+ }
5933
+
5934
+ /* ─── Field wrapper ───────────────────────────────────── */
5935
+
5936
+ .muka-search-input__field {
5937
+ flex: 1 1 auto;
5938
+ display: flex;
5939
+ align-items: center;
5940
+ gap: var(--spacing-2);
5941
+ background-color: var(--input-field-color-default-background);
5942
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5943
+ border-radius: var(--input-field-radius-md);
5944
+ padding: 0 var(--input-field-padding-x);
5945
+ transition: border-color 0.12s ease, background-color 0.12s ease;
5946
+ }
5947
+
5948
+ .muka-search-input--focused .muka-search-input__field {
5949
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
5950
+ }
5951
+
5952
+ /* ─── Sizes ───────────────────────────────────────────── */
5953
+
5954
+ .muka-search-input--sm .muka-search-input__field {
5955
+ min-height: var(--input-field-height-sm);
5956
+ border-radius: var(--input-field-radius-sm);
5957
+ }
5958
+
5959
+ .muka-search-input--md .muka-search-input__field {
5960
+ min-height: var(--input-field-height-default);
5961
+ }
5962
+
5963
+ .muka-search-input--lg .muka-search-input__field {
5964
+ min-height: var(--input-field-height-lg);
5965
+ border-radius: var(--input-field-radius-lg);
5966
+ }
5967
+
5968
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5969
+
5970
+ .muka-search-input--embedded .muka-search-input__field {
5971
+ background-color: var(--color-surface-level1);
5972
+ border-color: transparent;
5969
5973
  }
5970
5974
 
5971
5975
  .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
@@ -6213,39 +6217,89 @@ body {
6213
6217
  }
6214
6218
 
6215
6219
 
6216
- /* RangeSlider */
6217
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6218
-
6219
- .muka-range-slider {
6220
- display: flex;
6221
- flex-direction: column;
6222
- gap: var(--spacing-1);
6223
- width: 100%;
6224
- }
6225
-
6226
- /* ========================================
6227
- HEADER: label group (label + info + optional) and value readout
6228
- ======================================== */
6220
+ /* RecordingBar */
6221
+ /* RecordingBar Component Styles */
6229
6222
 
6230
- .muka-range-slider__header {
6223
+ .muka-recording-bar {
6231
6224
  display: flex;
6232
6225
  align-items: center;
6233
- justify-content: space-between;
6234
- gap: var(--spacing-2);
6235
- min-height: 24px;
6226
+ gap: var(--spacing-3);
6227
+ width: 100%;
6228
+ min-width: 0;
6236
6229
  }
6237
6230
 
6238
- .muka-range-slider__label-group {
6239
- display: inline-flex;
6240
- align-items: center;
6241
- gap: var(--spacing-2);
6231
+ .muka-recording-bar__dot {
6232
+ flex: 0 0 auto;
6233
+ width: 0.625rem;
6234
+ height: 0.625rem;
6235
+ border-radius: var(--radius-full, 9999px);
6236
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6237
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6242
6238
  }
6243
6239
 
6244
- .muka-range-slider__label {
6245
- font-family: var(--text-label-md-semibold-fontFamily);
6246
- font-weight: var(--text-label-md-semibold-fontWeight);
6247
- font-size: var(--text-label-md-semibold-fontSize);
6248
- line-height: var(--text-label-md-semibold-lineHeight);
6240
+ .muka-recording-bar__time {
6241
+ flex: 0 0 auto;
6242
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6243
+ line-height: var(--text-label-sm-lineHeight, 1);
6244
+ font-variant-numeric: tabular-nums;
6245
+ color: var(--color-text-default-default);
6246
+ }
6247
+
6248
+ .muka-recording-bar__wave {
6249
+ flex: 1 1 auto;
6250
+ min-width: 0;
6251
+ }
6252
+
6253
+ @keyframes muka-recording-bar-pulse {
6254
+ 0%,
6255
+ 100% {
6256
+ opacity: 1;
6257
+ }
6258
+ 50% {
6259
+ opacity: 0.3;
6260
+ }
6261
+ }
6262
+
6263
+ @media (prefers-reduced-motion: reduce) {
6264
+ .muka-recording-bar__dot {
6265
+ animation: none;
6266
+ }
6267
+ }
6268
+
6269
+
6270
+ /* RangeSlider */
6271
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6272
+
6273
+ .muka-range-slider {
6274
+ display: flex;
6275
+ flex-direction: column;
6276
+ gap: var(--spacing-1);
6277
+ width: 100%;
6278
+ }
6279
+
6280
+ /* ========================================
6281
+ HEADER: label group (label + info + optional) and value readout
6282
+ ======================================== */
6283
+
6284
+ .muka-range-slider__header {
6285
+ display: flex;
6286
+ align-items: center;
6287
+ justify-content: space-between;
6288
+ gap: var(--spacing-2);
6289
+ min-height: 24px;
6290
+ }
6291
+
6292
+ .muka-range-slider__label-group {
6293
+ display: inline-flex;
6294
+ align-items: center;
6295
+ gap: var(--spacing-2);
6296
+ }
6297
+
6298
+ .muka-range-slider__label {
6299
+ font-family: var(--text-label-md-semibold-fontFamily);
6300
+ font-weight: var(--text-label-md-semibold-fontWeight);
6301
+ font-size: var(--text-label-md-semibold-fontSize);
6302
+ line-height: var(--text-label-md-semibold-lineHeight);
6249
6303
  color: var(--color-text-default-default);
6250
6304
  }
6251
6305
 
@@ -6429,56 +6483,6 @@ body {
6429
6483
  }
6430
6484
 
6431
6485
 
6432
- /* RecordingBar */
6433
- /* RecordingBar Component Styles */
6434
-
6435
- .muka-recording-bar {
6436
- display: flex;
6437
- align-items: center;
6438
- gap: var(--spacing-3);
6439
- width: 100%;
6440
- min-width: 0;
6441
- }
6442
-
6443
- .muka-recording-bar__dot {
6444
- flex: 0 0 auto;
6445
- width: 0.625rem;
6446
- height: 0.625rem;
6447
- border-radius: var(--radius-full, 9999px);
6448
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6449
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6450
- }
6451
-
6452
- .muka-recording-bar__time {
6453
- flex: 0 0 auto;
6454
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6455
- line-height: var(--text-label-sm-lineHeight, 1);
6456
- font-variant-numeric: tabular-nums;
6457
- color: var(--color-text-default-default);
6458
- }
6459
-
6460
- .muka-recording-bar__wave {
6461
- flex: 1 1 auto;
6462
- min-width: 0;
6463
- }
6464
-
6465
- @keyframes muka-recording-bar-pulse {
6466
- 0%,
6467
- 100% {
6468
- opacity: 1;
6469
- }
6470
- 50% {
6471
- opacity: 0.3;
6472
- }
6473
- }
6474
-
6475
- @media (prefers-reduced-motion: reduce) {
6476
- .muka-recording-bar__dot {
6477
- animation: none;
6478
- }
6479
- }
6480
-
6481
-
6482
6486
  /* RadioTile */
6483
6487
  /* RadioTile Component Styles - Using Muka Design Tokens */
6484
6488
 
@@ -6622,53 +6626,6 @@ body {
6622
6626
  }
6623
6627
 
6624
6628
 
6625
- /* PullToRefresh */
6626
- /* PullToRefresh Component Styles */
6627
-
6628
- .muka-pull-to-refresh {
6629
- position: relative;
6630
- display: flex;
6631
- flex-direction: column;
6632
- width: 100%;
6633
- height: 100%;
6634
- overflow: hidden;
6635
- }
6636
-
6637
- .muka-pull-to-refresh__indicator {
6638
- position: absolute;
6639
- top: 0;
6640
- left: 0;
6641
- right: 0;
6642
- display: flex;
6643
- align-items: flex-end;
6644
- justify-content: center;
6645
- padding-bottom: var(--spacing-2);
6646
- color: var(--color-text-subtle-default);
6647
- overflow: hidden;
6648
- pointer-events: none;
6649
- z-index: 1;
6650
- }
6651
-
6652
- .muka-pull-to-refresh__chevron {
6653
- display: inline-flex;
6654
- align-items: center;
6655
- justify-content: center;
6656
- transition: transform 0.16s ease;
6657
- }
6658
-
6659
- .muka-pull-to-refresh__scroller {
6660
- flex: 1 1 auto;
6661
- min-height: 0;
6662
- width: 100%;
6663
- overflow-x: clip;
6664
- overflow-y: auto;
6665
- -webkit-overflow-scrolling: touch;
6666
- overscroll-behavior-y: contain;
6667
- touch-action: pan-y;
6668
- will-change: transform;
6669
- }
6670
-
6671
-
6672
6629
  /* Radio */
6673
6630
  /* Radio Component Styles - Using Muka Design Tokens */
6674
6631
 
@@ -6813,6 +6770,53 @@ body {
6813
6770
  }
6814
6771
 
6815
6772
 
6773
+ /* PullToRefresh */
6774
+ /* PullToRefresh Component Styles */
6775
+
6776
+ .muka-pull-to-refresh {
6777
+ position: relative;
6778
+ display: flex;
6779
+ flex-direction: column;
6780
+ width: 100%;
6781
+ height: 100%;
6782
+ overflow: hidden;
6783
+ }
6784
+
6785
+ .muka-pull-to-refresh__indicator {
6786
+ position: absolute;
6787
+ top: 0;
6788
+ left: 0;
6789
+ right: 0;
6790
+ display: flex;
6791
+ align-items: flex-end;
6792
+ justify-content: center;
6793
+ padding-bottom: var(--spacing-2);
6794
+ color: var(--color-text-subtle-default);
6795
+ overflow: hidden;
6796
+ pointer-events: none;
6797
+ z-index: 1;
6798
+ }
6799
+
6800
+ .muka-pull-to-refresh__chevron {
6801
+ display: inline-flex;
6802
+ align-items: center;
6803
+ justify-content: center;
6804
+ transition: transform 0.16s ease;
6805
+ }
6806
+
6807
+ .muka-pull-to-refresh__scroller {
6808
+ flex: 1 1 auto;
6809
+ min-height: 0;
6810
+ width: 100%;
6811
+ overflow-x: clip;
6812
+ overflow-y: auto;
6813
+ -webkit-overflow-scrolling: touch;
6814
+ overscroll-behavior-y: contain;
6815
+ touch-action: pan-y;
6816
+ will-change: transform;
6817
+ }
6818
+
6819
+
6816
6820
  /* ProgressTracker */
6817
6821
  /* ProgressTracker Component Styles — Using Muka Design Tokens */
6818
6822
 
@@ -8806,229 +8810,43 @@ button.muka-progress-tracker__tab:focus-visible {
8806
8810
  .muka-nav-transition__view--top { z-index: 2; }
8807
8811
 
8808
8812
 
8809
- /* MediaViewer */
8810
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8813
+ /* Menu */
8814
+ /* Menu Component Styles */
8811
8815
 
8812
- /* ─── Native dialog: full viewport ────────────────────── */
8813
- .muka-media-viewer {
8814
- position: fixed;
8815
- inset: 0;
8816
- width: 100%;
8817
- height: 100%;
8818
- max-width: none;
8819
- max-height: none;
8820
- margin: 0;
8821
- padding: 0;
8822
- border: none;
8816
+ /* ─── Content Container ──────────────────────────────────────────────────── */
8817
+
8818
+ .muka-menu__content {
8823
8819
  display: flex;
8824
8820
  flex-direction: column;
8821
+ min-width: var(--menu-content-min-width);
8822
+ max-height: var(--menu-content-max-height);
8825
8823
  overflow: hidden;
8826
- overscroll-behavior: contain;
8827
- color: var(--color-text-default-default);
8828
- background-color: var(--color-black-alpha-12);
8829
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8824
+ background-color: var(--menu-content-color-background);
8825
+ border: var(--menu-content-border-width) solid var(--menu-content-color-border);
8826
+ border-radius: var(--menu-content-border-radius);
8827
+ box-shadow: var(--menu-content-shadow);
8828
+ padding: 0;
8829
+ z-index: 50;
8830
+
8831
+ /* Animation */
8832
+ animation-duration: 150ms;
8833
+ animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
8830
8834
  }
8831
8835
 
8832
- .muka-media-viewer:not([open]) {
8833
- display: none;
8836
+ .muka-menu__body {
8837
+ display: flex;
8838
+ flex: 1 1 auto;
8839
+ min-height: 0;
8840
+ align-items: stretch;
8841
+ width: 100%;
8834
8842
  }
8835
8843
 
8836
- .muka-media-viewer::backdrop {
8837
- background-color: var(--color-black-alpha-12);
8838
- }
8839
-
8840
- @keyframes muka-media-viewer-in {
8841
- from {
8842
- opacity: 0;
8843
- }
8844
- to {
8845
- opacity: 1;
8846
- }
8847
- }
8848
-
8849
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8850
- .muka-media-viewer__topbar {
8851
- flex-shrink: 0;
8852
- background-color: var(--color-surface-level3);
8853
- }
8854
-
8855
- .muka-media-viewer__live {
8856
- position: absolute;
8857
- width: 1px;
8858
- height: 1px;
8859
- padding: 0;
8860
- margin: -1px;
8861
- overflow: hidden;
8862
- clip: rect(0, 0, 0, 0);
8863
- white-space: nowrap;
8864
- border: 0;
8865
- }
8866
-
8867
- /* ─── Stage: the dark area the images slide across ────── */
8868
- .muka-media-viewer__stage {
8869
- position: relative;
8870
- flex: 1 1 auto;
8871
- min-height: 0;
8872
- overflow: hidden;
8873
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8874
- touch-action: none;
8875
- user-select: none;
8876
- -webkit-user-select: none;
8877
- }
8878
-
8879
- .muka-media-viewer__slide {
8880
- position: absolute;
8881
- inset: 0;
8882
- display: flex;
8883
- align-items: center;
8884
- justify-content: center;
8885
- padding: var(--spacing-4);
8886
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8887
- will-change: transform;
8888
- }
8889
-
8890
- /* While a finger drags, the image follows it without easing. */
8891
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8892
- transition: none;
8893
- }
8894
-
8895
- .muka-media-viewer__image {
8896
- display: block;
8897
- max-width: 100%;
8898
- max-height: 100%;
8899
- object-fit: contain;
8900
- /* The image takes touches, so a long press opens the OS menu (save, share,
8901
- copy). The swipe still works: pointer events bubble to the stage, and a
8902
- long press doesn't move far enough to start a drag. */
8903
- -webkit-touch-callout: default;
8904
- }
8905
-
8906
- /* ─── Previous / next: devices that can hover ─────────── */
8907
- .muka-media-viewer__nav {
8908
- position: absolute;
8909
- top: 50%;
8910
- display: none;
8911
- transform: translateY(-50%);
8912
- opacity: 0;
8913
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8914
- }
8915
-
8916
- .muka-media-viewer__nav--previous {
8917
- left: var(--spacing-4);
8918
- }
8919
-
8920
- .muka-media-viewer__nav--next {
8921
- right: var(--spacing-4);
8922
- }
8923
-
8924
- @media (hover: hover) and (pointer: fine) {
8925
- .muka-media-viewer__nav {
8926
- display: block;
8927
- }
8928
-
8929
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8930
- .muka-media-viewer__nav:focus-within {
8931
- opacity: 1;
8932
- }
8933
- }
8934
-
8935
- /* ─── Footer: caption, meta and actions ───────────────── */
8936
- .muka-media-viewer__footer {
8937
- flex-shrink: 0;
8938
- display: flex;
8939
- flex-direction: column;
8940
- gap: var(--spacing-3);
8941
- padding: var(--spacing-4);
8942
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8943
- background-color: var(--color-surface-level3);
8944
- }
8945
-
8946
- .muka-media-viewer__details {
8947
- display: flex;
8948
- align-items: flex-start;
8949
- justify-content: space-between;
8950
- gap: var(--spacing-3);
8951
- }
8952
-
8953
- .muka-media-viewer__caption {
8954
- min-width: 0;
8955
- color: var(--color-text-subtle-default);
8956
- font-family: var(--text-body-sm-regular-fontFamily);
8957
- font-size: var(--text-body-sm-regular-fontSize);
8958
- font-weight: var(--text-body-sm-regular-fontWeight);
8959
- line-height: var(--text-body-sm-regular-lineHeight);
8960
- overflow-wrap: anywhere;
8961
- }
8962
-
8963
- .muka-media-viewer__meta {
8964
- flex-shrink: 0;
8965
- }
8966
-
8967
- .muka-media-viewer__actions {
8968
- display: flex;
8969
- flex-wrap: wrap;
8970
- gap: var(--spacing-2);
8971
- }
8972
-
8973
- /* Mobile: actions stack full width, like Dialog footers. */
8974
- @media (max-width: 1023px) {
8975
- .muka-media-viewer__actions {
8976
- flex-direction: column;
8977
- }
8978
-
8979
- .muka-media-viewer__actions > * {
8980
- width: 100%;
8981
- }
8982
- }
8983
-
8984
- /* ─── Reduced motion ──────────────────────────────────── */
8985
- @media (prefers-reduced-motion: reduce) {
8986
- .muka-media-viewer,
8987
- .muka-media-viewer__slide,
8988
- .muka-media-viewer__nav {
8989
- animation: none;
8990
- transition: none;
8991
- }
8992
- }
8993
-
8994
-
8995
- /* Menu */
8996
- /* Menu Component Styles */
8997
-
8998
- /* ─── Content Container ──────────────────────────────────────────────────── */
8999
-
9000
- .muka-menu__content {
9001
- display: flex;
9002
- flex-direction: column;
9003
- min-width: var(--menu-content-min-width);
9004
- max-height: var(--menu-content-max-height);
9005
- overflow: hidden;
9006
- background-color: var(--menu-content-color-background);
9007
- border: var(--menu-content-border-width) solid var(--menu-content-color-border);
9008
- border-radius: var(--menu-content-border-radius);
9009
- box-shadow: var(--menu-content-shadow);
9010
- padding: 0;
9011
- z-index: 50;
9012
-
9013
- /* Animation */
9014
- animation-duration: 150ms;
9015
- animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
9016
- }
9017
-
9018
- .muka-menu__body {
9019
- display: flex;
9020
- flex: 1 1 auto;
9021
- min-height: 0;
9022
- align-items: stretch;
9023
- width: 100%;
9024
- }
9025
-
9026
- .muka-menu__viewport {
9027
- flex: 1 1 auto;
9028
- min-width: 0;
9029
- min-height: 0;
9030
- overflow-y: auto;
9031
- padding: var(--menu-content-padding);
8844
+ .muka-menu__viewport {
8845
+ flex: 1 1 auto;
8846
+ min-width: 0;
8847
+ min-height: 0;
8848
+ overflow-y: auto;
8849
+ padding: var(--menu-content-padding);
9032
8850
  }
9033
8851
 
9034
8852
  .muka-menu__content--scrollbar .muka-menu__viewport {
@@ -9471,52 +9289,238 @@ button.muka-progress-tracker__tab:focus-visible {
9471
9289
  }
9472
9290
 
9473
9291
 
9474
- /* ListItem */
9475
- /* ListItem Component Styles - Using Muka Design Tokens */
9292
+ /* MediaViewer */
9293
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
9476
9294
 
9477
- /* Base list item styles */
9478
- .muka-listitem {
9479
- /* Layout */
9480
- display: flex;
9481
- align-items: flex-start;
9482
- gap: var(--spacing-4);
9483
- padding: var(--spacing-5) var(--spacing-4);
9484
-
9485
- /* Background - using semantic tokens */
9486
- background-color: var(--color-surface-level3);
9487
-
9488
- /* Typography */
9489
- font-family: var(--alias-font-brand-family);
9490
-
9491
- /* Border and spacing */
9295
+ /* ─── Native dialog: full viewport ────────────────────── */
9296
+ .muka-media-viewer {
9297
+ position: fixed;
9298
+ inset: 0;
9299
+ width: 100%;
9300
+ height: 100%;
9301
+ max-width: none;
9302
+ max-height: none;
9303
+ margin: 0;
9304
+ padding: 0;
9492
9305
  border: none;
9493
- position: relative;
9494
-
9495
- /* Interaction - only apply if interactive */
9496
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
9306
+ display: flex;
9307
+ flex-direction: column;
9308
+ overflow: hidden;
9309
+ overscroll-behavior: contain;
9310
+ color: var(--color-text-default-default);
9311
+ background-color: var(--color-black-alpha-12);
9312
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
9497
9313
  }
9498
9314
 
9499
- /* Interactive state */
9500
- .muka-listitem--interactive {
9501
- cursor: pointer;
9315
+ .muka-media-viewer:not([open]) {
9316
+ display: none;
9502
9317
  }
9503
9318
 
9504
- /*
9505
- * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
9506
- * are layered on top of the item's base surface via an inset box-shadow overlay
9507
- * rather than replacing background-color. This preserves the base level (level3,
9508
- * or level2 when selected) and lets the tint read correctly on any surface.
9509
- */
9510
- .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
9511
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
9319
+ .muka-media-viewer::backdrop {
9320
+ background-color: var(--color-black-alpha-12);
9512
9321
  }
9513
9322
 
9514
- .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
9515
- .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
9516
- box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
9323
+ @keyframes muka-media-viewer-in {
9324
+ from {
9325
+ opacity: 0;
9326
+ }
9327
+ to {
9328
+ opacity: 1;
9329
+ }
9517
9330
  }
9518
9331
 
9519
- /* Focus styles for accessibility */
9332
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
9333
+ .muka-media-viewer__topbar {
9334
+ flex-shrink: 0;
9335
+ background-color: var(--color-surface-level3);
9336
+ }
9337
+
9338
+ .muka-media-viewer__live {
9339
+ position: absolute;
9340
+ width: 1px;
9341
+ height: 1px;
9342
+ padding: 0;
9343
+ margin: -1px;
9344
+ overflow: hidden;
9345
+ clip: rect(0, 0, 0, 0);
9346
+ white-space: nowrap;
9347
+ border: 0;
9348
+ }
9349
+
9350
+ /* ─── Stage: the dark area the images slide across ────── */
9351
+ .muka-media-viewer__stage {
9352
+ position: relative;
9353
+ flex: 1 1 auto;
9354
+ min-height: 0;
9355
+ overflow: hidden;
9356
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
9357
+ touch-action: none;
9358
+ user-select: none;
9359
+ -webkit-user-select: none;
9360
+ }
9361
+
9362
+ .muka-media-viewer__slide {
9363
+ position: absolute;
9364
+ inset: 0;
9365
+ display: flex;
9366
+ align-items: center;
9367
+ justify-content: center;
9368
+ padding: var(--spacing-4);
9369
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
9370
+ will-change: transform;
9371
+ }
9372
+
9373
+ /* While a finger drags, the image follows it without easing. */
9374
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
9375
+ transition: none;
9376
+ }
9377
+
9378
+ .muka-media-viewer__image {
9379
+ display: block;
9380
+ max-width: 100%;
9381
+ max-height: 100%;
9382
+ object-fit: contain;
9383
+ /* The image takes touches, so a long press opens the OS menu (save, share,
9384
+ copy). The swipe still works: pointer events bubble to the stage, and a
9385
+ long press doesn't move far enough to start a drag. */
9386
+ -webkit-touch-callout: default;
9387
+ }
9388
+
9389
+ /* ─── Previous / next: devices that can hover ─────────── */
9390
+ .muka-media-viewer__nav {
9391
+ position: absolute;
9392
+ top: 50%;
9393
+ display: none;
9394
+ transform: translateY(-50%);
9395
+ opacity: 0;
9396
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
9397
+ }
9398
+
9399
+ .muka-media-viewer__nav--previous {
9400
+ left: var(--spacing-4);
9401
+ }
9402
+
9403
+ .muka-media-viewer__nav--next {
9404
+ right: var(--spacing-4);
9405
+ }
9406
+
9407
+ @media (hover: hover) and (pointer: fine) {
9408
+ .muka-media-viewer__nav {
9409
+ display: block;
9410
+ }
9411
+
9412
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
9413
+ .muka-media-viewer__nav:focus-within {
9414
+ opacity: 1;
9415
+ }
9416
+ }
9417
+
9418
+ /* ─── Footer: caption, meta and actions ───────────────── */
9419
+ .muka-media-viewer__footer {
9420
+ flex-shrink: 0;
9421
+ display: flex;
9422
+ flex-direction: column;
9423
+ gap: var(--spacing-3);
9424
+ padding: var(--spacing-4);
9425
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
9426
+ background-color: var(--color-surface-level3);
9427
+ }
9428
+
9429
+ .muka-media-viewer__details {
9430
+ display: flex;
9431
+ align-items: flex-start;
9432
+ justify-content: space-between;
9433
+ gap: var(--spacing-3);
9434
+ }
9435
+
9436
+ .muka-media-viewer__caption {
9437
+ min-width: 0;
9438
+ color: var(--color-text-subtle-default);
9439
+ font-family: var(--text-body-sm-regular-fontFamily);
9440
+ font-size: var(--text-body-sm-regular-fontSize);
9441
+ font-weight: var(--text-body-sm-regular-fontWeight);
9442
+ line-height: var(--text-body-sm-regular-lineHeight);
9443
+ overflow-wrap: anywhere;
9444
+ }
9445
+
9446
+ .muka-media-viewer__meta {
9447
+ flex-shrink: 0;
9448
+ }
9449
+
9450
+ .muka-media-viewer__actions {
9451
+ display: flex;
9452
+ flex-wrap: wrap;
9453
+ gap: var(--spacing-2);
9454
+ }
9455
+
9456
+ /* Mobile: actions stack full width, like Dialog footers. */
9457
+ @media (max-width: 1023px) {
9458
+ .muka-media-viewer__actions {
9459
+ flex-direction: column;
9460
+ }
9461
+
9462
+ .muka-media-viewer__actions > * {
9463
+ width: 100%;
9464
+ }
9465
+ }
9466
+
9467
+ /* ─── Reduced motion ──────────────────────────────────── */
9468
+ @media (prefers-reduced-motion: reduce) {
9469
+ .muka-media-viewer,
9470
+ .muka-media-viewer__slide,
9471
+ .muka-media-viewer__nav {
9472
+ animation: none;
9473
+ transition: none;
9474
+ }
9475
+ }
9476
+
9477
+
9478
+ /* ListItem */
9479
+ /* ListItem Component Styles - Using Muka Design Tokens */
9480
+
9481
+ /* Base list item styles */
9482
+ .muka-listitem {
9483
+ /* Layout */
9484
+ display: flex;
9485
+ align-items: flex-start;
9486
+ gap: var(--spacing-4);
9487
+ padding: var(--spacing-5) var(--spacing-4);
9488
+
9489
+ /* Background - using semantic tokens */
9490
+ background-color: var(--color-surface-level3);
9491
+
9492
+ /* Typography */
9493
+ font-family: var(--alias-font-brand-family);
9494
+
9495
+ /* Border and spacing */
9496
+ border: none;
9497
+ position: relative;
9498
+
9499
+ /* Interaction - only apply if interactive */
9500
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
9501
+ }
9502
+
9503
+ /* Interactive state */
9504
+ .muka-listitem--interactive {
9505
+ cursor: pointer;
9506
+ }
9507
+
9508
+ /*
9509
+ * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
9510
+ * are layered on top of the item's base surface via an inset box-shadow overlay
9511
+ * rather than replacing background-color. This preserves the base level (level3,
9512
+ * or level2 when selected) and lets the tint read correctly on any surface.
9513
+ */
9514
+ .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
9515
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
9516
+ }
9517
+
9518
+ .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
9519
+ .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
9520
+ box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
9521
+ }
9522
+
9523
+ /* Focus styles for accessibility */
9520
9524
  .muka-listitem:focus-visible {
9521
9525
  outline: 2px solid var(--color-border-focus);
9522
9526
  outline-offset: -2px;
@@ -9665,38 +9669,231 @@ li.muka-listitem {
9665
9669
  }
9666
9670
 
9667
9671
 
9668
- /* Label */
9669
- /* Label Component Styles - Using Muka Design Tokens */
9672
+ /* LicensePlateInput */
9673
+ /* LicensePlateInput — Dutch RDW-style plate input
9674
+ *
9675
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
9676
+ * - Plate yellow: #F0CE3D
9677
+ * - EU strip blue: #003399
9678
+ * - EU stars yellow: #FFCC00
9679
+ * - Plate text: #1A1A1A
9680
+ *
9681
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
9682
+ */
9670
9683
 
9671
- .muka-label {
9672
- display: inline-flex;
9673
- align-items: center;
9674
- color: var(--color-text-default-default);
9675
- cursor: pointer;
9676
- }
9684
+ .muka-license-plate-input {
9685
+ --plate-yellow: #f0ce3d;
9686
+ --plate-blue: #003399;
9687
+ --plate-text: #1a1a1a;
9688
+ --plate-stars: #ffcc00;
9677
9689
 
9678
- .muka-label--sm {
9679
- font-family: var(--text-label-sm-semibold-fontFamily);
9680
- font-weight: var(--text-label-sm-semibold-fontWeight);
9681
- font-size: var(--text-label-sm-semibold-fontSize);
9682
- line-height: var(--text-label-sm-semibold-lineHeight);
9690
+ display: inline-flex;
9691
+ flex-direction: column;
9692
+ gap: var(--spacing-2);
9683
9693
  }
9684
9694
 
9685
- .muka-label--md {
9686
- font-family: var(--text-label-md-semibold-fontFamily);
9687
- font-weight: var(--text-label-md-semibold-fontWeight);
9688
- font-size: var(--text-label-md-semibold-fontSize);
9689
- line-height: var(--text-label-md-semibold-lineHeight);
9695
+ /* Plate body */
9696
+ .muka-license-plate-input__plate {
9697
+ display: inline-flex;
9698
+ align-items: stretch;
9699
+ background-color: var(--plate-yellow);
9700
+ border-radius: var(--input-field-radius-md);
9701
+ cursor: text;
9702
+ position: relative;
9703
+ overflow: hidden;
9704
+ box-sizing: border-box;
9705
+ /* Subtle outline to lift the plate from light backgrounds */
9706
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
9707
+ /* Reserve space for the focus / error solid ring without shifting layout */
9708
+ outline: 3px solid transparent;
9709
+ outline-offset: 2px;
9710
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
9690
9711
  }
9691
9712
 
9692
- .muka-label--lg {
9693
- font-family: var(--text-label-lg-semibold-fontFamily);
9694
- font-weight: var(--text-label-lg-semibold-fontWeight);
9695
- font-size: var(--text-label-lg-semibold-fontSize);
9696
- line-height: var(--text-label-lg-semibold-lineHeight);
9713
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
9714
+ .muka-license-plate-input__plate--sm {
9715
+ height: 44px;
9716
+ min-width: 220px;
9717
+ border-radius: var(--input-field-radius-sm);
9697
9718
  }
9698
9719
 
9699
- .muka-label--disabled {
9720
+ .muka-license-plate-input__plate--md {
9721
+ height: 60px;
9722
+ min-width: 300px;
9723
+ border-radius: var(--input-field-radius-md);
9724
+ }
9725
+
9726
+ .muka-license-plate-input__plate--lg {
9727
+ height: 80px;
9728
+ min-width: 400px;
9729
+ border-radius: var(--input-field-radius-lg);
9730
+ }
9731
+
9732
+ /* Focus — solid outline ring */
9733
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
9734
+ outline-color: var(--input-field-color-focus-border);
9735
+ }
9736
+
9737
+ /* Error — solid outline ring in error color */
9738
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
9739
+ outline-color: var(--input-field-color-error-border);
9740
+ }
9741
+
9742
+ /* Disabled */
9743
+ .muka-license-plate-input__plate--disabled {
9744
+ cursor: not-allowed;
9745
+ opacity: 0.55;
9746
+ }
9747
+
9748
+ /* EU strip */
9749
+ .muka-license-plate-input__eu-strip {
9750
+ display: inline-flex;
9751
+ flex-direction: column;
9752
+ align-items: center;
9753
+ justify-content: center;
9754
+ background-color: var(--plate-blue);
9755
+ color: #ffffff;
9756
+ flex-shrink: 0;
9757
+ padding: 0 0.4em;
9758
+ gap: 0.15em;
9759
+ /* Strip width scales with plate height for a consistent ratio */
9760
+ width: 14%;
9761
+ min-width: 36px;
9762
+ }
9763
+
9764
+ .muka-license-plate-input__eu-stars {
9765
+ width: 60%;
9766
+ max-width: 28px;
9767
+ aspect-ratio: 1 / 1;
9768
+ display: block;
9769
+ }
9770
+
9771
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
9772
+ max-width: 20px;
9773
+ }
9774
+
9775
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
9776
+ max-width: 36px;
9777
+ }
9778
+
9779
+ .muka-license-plate-input__country-code {
9780
+ font-family:
9781
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
9782
+ font-weight: 700;
9783
+ letter-spacing: 0.04em;
9784
+ line-height: 1;
9785
+ color: #ffffff;
9786
+ }
9787
+
9788
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
9789
+ font-size: 10px;
9790
+ }
9791
+
9792
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
9793
+ font-size: 13px;
9794
+ }
9795
+
9796
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9797
+ font-size: 16px;
9798
+ }
9799
+
9800
+ /* Native input */
9801
+ .muka-license-plate-input__native {
9802
+ flex: 1;
9803
+ min-width: 0;
9804
+ border: none;
9805
+ outline: none;
9806
+ background: transparent;
9807
+ color: var(--plate-text);
9808
+ text-align: center;
9809
+ text-transform: uppercase;
9810
+ letter-spacing: 0.06em;
9811
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9812
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
9813
+ font-family:
9814
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9815
+ font-weight: 800;
9816
+ padding: 0 0.5em;
9817
+ width: 100%;
9818
+ caret-color: var(--plate-text);
9819
+ }
9820
+
9821
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9822
+ font-size: 22px;
9823
+ }
9824
+
9825
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9826
+ font-size: 30px;
9827
+ }
9828
+
9829
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9830
+ font-size: 42px;
9831
+ }
9832
+
9833
+ .muka-license-plate-input__native::placeholder {
9834
+ color: var(--plate-text);
9835
+ opacity: 0.55;
9836
+ font-weight: 700;
9837
+ letter-spacing: 0.08em;
9838
+ }
9839
+
9840
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9841
+ cursor: not-allowed;
9842
+ }
9843
+
9844
+ /* Helper text */
9845
+ .muka-license-plate-input__helper {
9846
+ font-family: var(--text-label-sm-regular-fontFamily);
9847
+ font-weight: var(--text-label-sm-regular-fontWeight);
9848
+ font-size: var(--text-label-sm-regular-fontSize);
9849
+ line-height: var(--text-label-sm-regular-lineHeight);
9850
+ color: var(--color-text-subtle-default);
9851
+ margin: 0;
9852
+ }
9853
+
9854
+ /* Error message */
9855
+ .muka-license-plate-input__error {
9856
+ font-family: var(--text-label-sm-regular-fontFamily);
9857
+ font-weight: var(--text-label-sm-regular-fontWeight);
9858
+ font-size: var(--text-label-sm-regular-fontSize);
9859
+ line-height: var(--text-label-sm-regular-lineHeight);
9860
+ color: var(--color-state-error-default);
9861
+ margin: 0;
9862
+ }
9863
+
9864
+
9865
+ /* Label */
9866
+ /* Label Component Styles - Using Muka Design Tokens */
9867
+
9868
+ .muka-label {
9869
+ display: inline-flex;
9870
+ align-items: center;
9871
+ color: var(--color-text-default-default);
9872
+ cursor: pointer;
9873
+ }
9874
+
9875
+ .muka-label--sm {
9876
+ font-family: var(--text-label-sm-semibold-fontFamily);
9877
+ font-weight: var(--text-label-sm-semibold-fontWeight);
9878
+ font-size: var(--text-label-sm-semibold-fontSize);
9879
+ line-height: var(--text-label-sm-semibold-lineHeight);
9880
+ }
9881
+
9882
+ .muka-label--md {
9883
+ font-family: var(--text-label-md-semibold-fontFamily);
9884
+ font-weight: var(--text-label-md-semibold-fontWeight);
9885
+ font-size: var(--text-label-md-semibold-fontSize);
9886
+ line-height: var(--text-label-md-semibold-lineHeight);
9887
+ }
9888
+
9889
+ .muka-label--lg {
9890
+ font-family: var(--text-label-lg-semibold-fontFamily);
9891
+ font-weight: var(--text-label-lg-semibold-fontWeight);
9892
+ font-size: var(--text-label-lg-semibold-fontSize);
9893
+ line-height: var(--text-label-lg-semibold-lineHeight);
9894
+ }
9895
+
9896
+ .muka-label--disabled {
9700
9897
  color: var(--color-text-subtle-default);
9701
9898
  cursor: not-allowed;
9702
9899
  }
@@ -10165,250 +10362,77 @@ li.muka-listitem {
10165
10362
  }
10166
10363
 
10167
10364
 
10168
- /* LicensePlateInput */
10169
- /* LicensePlateInput — Dutch RDW-style plate input
10170
- *
10171
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
10172
- * - Plate yellow: #F0CE3D
10173
- * - EU strip blue: #003399
10174
- * - EU stars yellow: #FFCC00
10175
- * - Plate text: #1A1A1A
10176
- *
10177
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
10178
- */
10179
-
10180
- .muka-license-plate-input {
10181
- --plate-yellow: #f0ce3d;
10182
- --plate-blue: #003399;
10183
- --plate-text: #1a1a1a;
10184
- --plate-stars: #ffcc00;
10365
+ /* Icon */
10366
+ /* Icon Component Styles - Using Muka Design Tokens */
10185
10367
 
10368
+ .muka-icon {
10186
10369
  display: inline-flex;
10187
- flex-direction: column;
10188
- gap: var(--spacing-2);
10370
+ align-items: center;
10371
+ justify-content: center;
10372
+ flex-shrink: 0;
10373
+ color: var(--color-icon-default-default, currentColor);
10189
10374
  }
10190
10375
 
10191
- /* Plate body */
10192
- .muka-license-plate-input__plate {
10193
- display: inline-flex;
10194
- align-items: stretch;
10195
- background-color: var(--plate-yellow);
10196
- border-radius: var(--input-field-radius-md);
10197
- cursor: text;
10198
- position: relative;
10199
- overflow: hidden;
10200
- box-sizing: border-box;
10201
- /* Subtle outline to lift the plate from light backgrounds */
10202
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
10203
- /* Reserve space for the focus / error solid ring without shifting layout */
10204
- outline: 3px solid transparent;
10205
- outline-offset: 2px;
10206
- transition: outline-color 0.15s ease, opacity 0.15s ease;
10376
+ /* Icons inside buttons should inherit from button's foreground color */
10377
+ .muka-button .muka-icon {
10378
+ color: inherit;
10207
10379
  }
10208
10380
 
10209
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
10210
- .muka-license-plate-input__plate--sm {
10211
- height: 44px;
10212
- min-width: 220px;
10213
- border-radius: var(--input-field-radius-sm);
10381
+ .muka-icon--subtle {
10382
+ color: var(--color-icon-subtle-default);
10214
10383
  }
10215
10384
 
10216
- .muka-license-plate-input__plate--md {
10217
- height: 60px;
10218
- min-width: 300px;
10219
- border-radius: var(--input-field-radius-md);
10385
+ .muka-icon--muted {
10386
+ color: var(--color-icon-muted-default);
10220
10387
  }
10221
10388
 
10222
- .muka-license-plate-input__plate--lg {
10223
- height: 80px;
10224
- min-width: 400px;
10225
- border-radius: var(--input-field-radius-lg);
10389
+ .muka-icon--inverse {
10390
+ color: var(--color-icon-default-inverse);
10226
10391
  }
10227
10392
 
10228
- /* Focus — solid outline ring */
10229
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
10230
- outline-color: var(--input-field-color-focus-border);
10393
+ .muka-icon--xs {
10394
+ width: var(--icon-size-xs);
10395
+ height: var(--icon-size-xs);
10231
10396
  }
10232
10397
 
10233
- /* Error — solid outline ring in error color */
10234
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
10235
- outline-color: var(--input-field-color-error-border);
10398
+ .muka-icon--sm {
10399
+ width: var(--icon-size-sm);
10400
+ height: var(--icon-size-sm);
10236
10401
  }
10237
10402
 
10238
- /* Disabled */
10239
- .muka-license-plate-input__plate--disabled {
10240
- cursor: not-allowed;
10241
- opacity: 0.55;
10242
- }
10243
-
10244
- /* EU strip */
10245
- .muka-license-plate-input__eu-strip {
10246
- display: inline-flex;
10247
- flex-direction: column;
10248
- align-items: center;
10249
- justify-content: center;
10250
- background-color: var(--plate-blue);
10251
- color: #ffffff;
10252
- flex-shrink: 0;
10253
- padding: 0 0.4em;
10254
- gap: 0.15em;
10255
- /* Strip width scales with plate height for a consistent ratio */
10256
- width: 14%;
10257
- min-width: 36px;
10258
- }
10259
-
10260
- .muka-license-plate-input__eu-stars {
10261
- width: 60%;
10262
- max-width: 28px;
10263
- aspect-ratio: 1 / 1;
10264
- display: block;
10265
- }
10266
-
10267
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
10268
- max-width: 20px;
10269
- }
10270
-
10271
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
10272
- max-width: 36px;
10273
- }
10274
-
10275
- .muka-license-plate-input__country-code {
10276
- font-family:
10277
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
10278
- font-weight: 700;
10279
- letter-spacing: 0.04em;
10280
- line-height: 1;
10281
- color: #ffffff;
10282
- }
10283
-
10284
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
10285
- font-size: 10px;
10286
- }
10287
-
10288
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
10289
- font-size: 13px;
10403
+ .muka-icon--md {
10404
+ width: var(--icon-size-default);
10405
+ height: var(--icon-size-default);
10290
10406
  }
10291
10407
 
10292
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
10293
- font-size: 16px;
10408
+ .muka-icon--lg {
10409
+ width: var(--icon-size-lg);
10410
+ height: var(--icon-size-lg);
10294
10411
  }
10295
10412
 
10296
- /* Native input */
10297
- .muka-license-plate-input__native {
10298
- flex: 1;
10299
- min-width: 0;
10300
- border: none;
10301
- outline: none;
10302
- background: transparent;
10303
- color: var(--plate-text);
10304
- text-align: center;
10305
- text-transform: uppercase;
10306
- letter-spacing: 0.06em;
10307
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
10308
- shipping a custom font. JetBrains Mono is the system mono brand font. */
10309
- font-family:
10310
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
10311
- font-weight: 800;
10312
- padding: 0 0.5em;
10413
+ .muka-icon svg {
10313
10414
  width: 100%;
10314
- caret-color: var(--plate-text);
10315
- }
10316
-
10317
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
10318
- font-size: 22px;
10319
- }
10320
-
10321
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
10322
- font-size: 30px;
10323
- }
10324
-
10325
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
10326
- font-size: 42px;
10327
- }
10328
-
10329
- .muka-license-plate-input__native::placeholder {
10330
- color: var(--plate-text);
10331
- opacity: 0.55;
10332
- font-weight: 700;
10333
- letter-spacing: 0.08em;
10334
- }
10335
-
10336
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
10337
- cursor: not-allowed;
10338
- }
10339
-
10340
- /* Helper text */
10341
- .muka-license-plate-input__helper {
10342
- font-family: var(--text-label-sm-regular-fontFamily);
10343
- font-weight: var(--text-label-sm-regular-fontWeight);
10344
- font-size: var(--text-label-sm-regular-fontSize);
10345
- line-height: var(--text-label-sm-regular-lineHeight);
10346
- color: var(--color-text-subtle-default);
10347
- margin: 0;
10348
- }
10349
-
10350
- /* Error message */
10351
- .muka-license-plate-input__error {
10352
- font-family: var(--text-label-sm-regular-fontFamily);
10353
- font-weight: var(--text-label-sm-regular-fontWeight);
10354
- font-size: var(--text-label-sm-regular-fontSize);
10355
- line-height: var(--text-label-sm-regular-lineHeight);
10356
- color: var(--color-state-error-default);
10357
- margin: 0;
10358
- }
10359
-
10360
-
10361
- /* Icon */
10362
- /* Icon Component Styles - Using Muka Design Tokens */
10363
-
10364
- .muka-icon {
10365
- display: inline-flex;
10366
- align-items: center;
10367
- justify-content: center;
10368
- flex-shrink: 0;
10369
- color: var(--color-icon-default-default, currentColor);
10370
- }
10371
-
10372
- /* Icons inside buttons should inherit from button's foreground color */
10373
- .muka-button .muka-icon {
10374
- color: inherit;
10375
- }
10376
-
10377
- .muka-icon--subtle {
10378
- color: var(--color-icon-subtle-default);
10379
- }
10380
-
10381
- .muka-icon--muted {
10382
- color: var(--color-icon-muted-default);
10383
- }
10384
-
10385
- .muka-icon--inverse {
10386
- color: var(--color-icon-default-inverse);
10415
+ height: 100%;
10387
10416
  }
10388
10417
 
10389
- .muka-icon--xs {
10390
- width: var(--icon-size-xs);
10391
- height: var(--icon-size-xs);
10392
- }
10393
10418
 
10394
- .muka-icon--sm {
10395
- width: var(--icon-size-sm);
10396
- height: var(--icon-size-sm);
10419
+ /* Form */
10420
+ .muka-form {
10421
+ display: flex;
10422
+ flex-direction: column;
10423
+ width: 100%;
10397
10424
  }
10398
10425
 
10399
- .muka-icon--md {
10400
- width: var(--icon-size-default);
10401
- height: var(--icon-size-default);
10426
+ .muka-form--gap-sm {
10427
+ gap: var(--size-sm);
10402
10428
  }
10403
10429
 
10404
- .muka-icon--lg {
10405
- width: var(--icon-size-lg);
10406
- height: var(--icon-size-lg);
10430
+ .muka-form--gap-md {
10431
+ gap: var(--size-md);
10407
10432
  }
10408
10433
 
10409
- .muka-icon svg {
10410
- width: 100%;
10411
- height: 100%;
10434
+ .muka-form--gap-lg {
10435
+ gap: var(--size-lg);
10412
10436
  }
10413
10437
 
10414
10438
 
@@ -10674,26 +10698,6 @@ li.muka-listitem {
10674
10698
  }
10675
10699
 
10676
10700
 
10677
- /* Form */
10678
- .muka-form {
10679
- display: flex;
10680
- flex-direction: column;
10681
- width: 100%;
10682
- }
10683
-
10684
- .muka-form--gap-sm {
10685
- gap: var(--size-sm);
10686
- }
10687
-
10688
- .muka-form--gap-md {
10689
- gap: var(--size-md);
10690
- }
10691
-
10692
- .muka-form--gap-lg {
10693
- gap: var(--size-lg);
10694
- }
10695
-
10696
-
10697
10701
  /* FAB */
10698
10702
  /* FAB (Floating Action Button) Component Styles */
10699
10703
 
@@ -10835,28 +10839,6 @@ li.muka-listitem {
10835
10839
  }
10836
10840
 
10837
10841
 
10838
- /* EmojiPicker */
10839
- /* EmojiPicker Component Styles */
10840
-
10841
- .muka-emoji-picker {
10842
- display: grid;
10843
- grid-template-columns: repeat(8, 1fr);
10844
- gap: var(--spacing-1);
10845
- padding: var(--spacing-2);
10846
- max-height: 12rem;
10847
- overflow-y: auto;
10848
- background: var(--color-surface-level2);
10849
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10850
- border-radius: var(--radius-lg);
10851
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10852
- }
10853
-
10854
- .muka-emoji-picker__glyph {
10855
- font-size: 1.25rem;
10856
- line-height: 1;
10857
- }
10858
-
10859
-
10860
10842
  /* EmptyState */
10861
10843
  /* EmptyState Component Styles - Using Muka Design Tokens */
10862
10844
 
@@ -10998,6 +10980,28 @@ li.muka-listitem {
10998
10980
  }
10999
10981
 
11000
10982
 
10983
+ /* EmojiPicker */
10984
+ /* EmojiPicker Component Styles */
10985
+
10986
+ .muka-emoji-picker {
10987
+ display: grid;
10988
+ grid-template-columns: repeat(8, 1fr);
10989
+ gap: var(--spacing-1);
10990
+ padding: var(--spacing-2);
10991
+ max-height: 12rem;
10992
+ overflow-y: auto;
10993
+ background: var(--color-surface-level2);
10994
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10995
+ border-radius: var(--radius-lg);
10996
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10997
+ }
10998
+
10999
+ .muka-emoji-picker__glyph {
11000
+ font-size: 1.25rem;
11001
+ line-height: 1;
11002
+ }
11003
+
11004
+
11001
11005
  /* DropdownSelect */
11002
11006
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
11003
11007
 
@@ -11371,16 +11375,295 @@ li.muka-listitem {
11371
11375
  }
11372
11376
 
11373
11377
 
11374
- /* Divider */
11375
- /* Divider Component Styles - Using Muka Design Tokens */
11378
+ /* DocumentViewer */
11379
+ /* DocumentViewer Component Styles - Using Muka Design Tokens */
11376
11380
 
11377
- .muka-divider {
11378
- flex-shrink: 0;
11381
+ .muka-documentviewer {
11382
+ display: flex;
11383
+ flex-direction: column;
11384
+ background-color: var(--documentviewer-container-background);
11385
+ border-radius: var(--documentviewer-container-borderRadius);
11386
+ overflow: hidden;
11387
+ position: relative;
11379
11388
  }
11380
11389
 
11381
- .muka-divider--horizontal {
11382
- width: 100%;
11383
- height: var(--separator-width);
11390
+ .muka-documentviewer--fullscreen {
11391
+ position: fixed;
11392
+ top: 0;
11393
+ left: 0;
11394
+ right: 0;
11395
+ bottom: 0;
11396
+ width: 100vw;
11397
+ height: 100vh;
11398
+ z-index: 9999;
11399
+ border-radius: 0;
11400
+ }
11401
+
11402
+ /* Toolbar */
11403
+ .muka-documentviewer__toolbar {
11404
+ display: flex;
11405
+ align-items: center;
11406
+ justify-content: space-between;
11407
+ height: var(--documentviewer-toolbar-height);
11408
+ padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
11409
+ background-color: var(--documentviewer-toolbar-background);
11410
+ border-bottom: 1px solid var(--documentviewer-toolbar-border);
11411
+ gap: var(--documentviewer-toolbar-gap);
11412
+ flex-shrink: 0;
11413
+ }
11414
+
11415
+ .muka-documentviewer__toolbar-section {
11416
+ display: flex;
11417
+ align-items: center;
11418
+ gap: var(--documentviewer-toolbar-gap);
11419
+ }
11420
+
11421
+ .muka-documentviewer__toolbar-section--center {
11422
+ flex: 1;
11423
+ justify-content: center;
11424
+ }
11425
+
11426
+ .muka-documentviewer__toolbar-section--end {
11427
+ justify-content: flex-end;
11428
+ }
11429
+
11430
+ /* Page navigation */
11431
+ .muka-documentviewer__page-input {
11432
+ display: flex;
11433
+ align-items: center;
11434
+ gap: var(--spacing-1);
11435
+ }
11436
+
11437
+ .muka-documentviewer__page-number {
11438
+ width: 3rem;
11439
+ padding: var(--spacing-1) var(--spacing-2);
11440
+ text-align: center;
11441
+ font-family: var(--alias-font-brand-family);
11442
+ font-size: var(--text-label-sm-fontSize);
11443
+ line-height: var(--text-label-sm-lineHeight);
11444
+ border: 1px solid var(--color-border-default);
11445
+ border-radius: var(--border-radius-md);
11446
+ background-color: var(--color-surface-level0);
11447
+ color: var(--color-text-default-default);
11448
+ }
11449
+
11450
+ .muka-documentviewer__page-number:focus {
11451
+ outline: 2px solid var(--color-border-focus);
11452
+ outline-offset: 0;
11453
+ border-color: var(--color-border-focus);
11454
+ }
11455
+
11456
+ .muka-documentviewer__page-total {
11457
+ font-family: var(--alias-font-brand-family);
11458
+ font-size: var(--text-label-sm-fontSize);
11459
+ color: var(--color-text-subtle-default);
11460
+ }
11461
+
11462
+ /* Zoom controls */
11463
+ .muka-documentviewer__zoom-display {
11464
+ min-width: var(--documentviewer-zoom-button-width);
11465
+ padding: var(--spacing-1) var(--spacing-2);
11466
+ font-family: var(--alias-font-brand-family);
11467
+ font-size: var(--text-label-sm-fontSize);
11468
+ font-weight: var(--alias-font-brand-weight-semibold);
11469
+ color: var(--color-text-default-default);
11470
+ background: transparent;
11471
+ border: none;
11472
+ border-radius: var(--border-radius-md);
11473
+ cursor: pointer;
11474
+ transition: background-color 0.2s ease;
11475
+ }
11476
+
11477
+ .muka-documentviewer__zoom-display:hover {
11478
+ background-color: var(--color-surface-level2);
11479
+ }
11480
+
11481
+ .muka-documentviewer__zoom-display:focus {
11482
+ outline: 2px solid var(--color-border-focus);
11483
+ outline-offset: 0;
11484
+ }
11485
+
11486
+ /* Content area */
11487
+ .muka-documentviewer__content {
11488
+ display: flex;
11489
+ flex: 1;
11490
+ overflow: hidden;
11491
+ }
11492
+
11493
+ .muka-documentviewer__main {
11494
+ flex: 1;
11495
+ display: flex;
11496
+ flex-direction: column;
11497
+ overflow: hidden;
11498
+ position: relative;
11499
+ }
11500
+
11501
+ /* Canvas */
11502
+ .muka-documentviewer__canvas {
11503
+ flex: 1;
11504
+ background-color: var(--documentviewer-canvas-background);
11505
+ padding: var(--documentviewer-canvas-padding);
11506
+ overflow: auto;
11507
+ display: flex;
11508
+ align-items: flex-start;
11509
+ justify-content: center;
11510
+ }
11511
+
11512
+ .muka-documentviewer__page {
11513
+ background-color: var(--documentviewer-page-background);
11514
+ box-shadow: var(--documentviewer-page-shadow);
11515
+ border-radius: var(--documentviewer-page-borderRadius);
11516
+ overflow: hidden;
11517
+ }
11518
+
11519
+ .muka-documentviewer__page canvas {
11520
+ display: block;
11521
+ max-width: 100%;
11522
+ height: auto;
11523
+ }
11524
+
11525
+ .muka-documentviewer__page-number {
11526
+ text-align: center;
11527
+ padding: var(--spacing-2);
11528
+ font-family: var(--alias-font-brand-family);
11529
+ font-size: var(--text-label-sm-fontSize);
11530
+ color: var(--color-text-subtle-default);
11531
+ }
11532
+
11533
+ /* Thumbnails */
11534
+ .muka-documentviewer__thumbnails {
11535
+ width: var(--documentviewer-thumbnails-width);
11536
+ background-color: var(--documentviewer-thumbnails-background);
11537
+ border-right: 1px solid var(--documentviewer-thumbnails-border);
11538
+ overflow-y: auto;
11539
+ flex-shrink: 0;
11540
+ }
11541
+
11542
+ .muka-documentviewer__thumbnails-list {
11543
+ display: flex;
11544
+ flex-direction: column;
11545
+ gap: var(--documentviewer-thumbnails-item-gap);
11546
+ padding: var(--spacing-2);
11547
+ }
11548
+
11549
+ .muka-documentviewer__thumbnail-item {
11550
+ display: flex;
11551
+ flex-direction: column;
11552
+ align-items: center;
11553
+ gap: var(--spacing-1);
11554
+ padding: var(--documentviewer-thumbnails-item-padding);
11555
+ border-radius: var(--documentviewer-thumbnails-item-borderRadius);
11556
+ border: 2px solid var(--documentviewer-thumbnails-item-border-default);
11557
+ background-color: var(--documentviewer-thumbnails-item-background-default);
11558
+ cursor: pointer;
11559
+ transition: all 0.2s ease;
11560
+ width: 100%;
11561
+ }
11562
+
11563
+ .muka-documentviewer__thumbnail-item:hover {
11564
+ background-color: var(--documentviewer-thumbnails-item-background-hover);
11565
+ }
11566
+
11567
+ .muka-documentviewer__thumbnail-item--selected {
11568
+ background-color: var(--documentviewer-thumbnails-item-background-selected);
11569
+ border-color: var(--documentviewer-thumbnails-item-border-selected);
11570
+ }
11571
+
11572
+ .muka-documentviewer__thumbnail-item:focus {
11573
+ outline: 2px solid var(--color-border-focus);
11574
+ outline-offset: 2px;
11575
+ }
11576
+
11577
+ .muka-documentviewer__thumbnail-preview {
11578
+ width: 100%;
11579
+ overflow: hidden;
11580
+ border-radius: var(--border-radius-sm);
11581
+ }
11582
+
11583
+ .muka-documentviewer__thumbnail-preview canvas {
11584
+ display: block;
11585
+ width: 100%;
11586
+ height: auto;
11587
+ }
11588
+
11589
+ .muka-documentviewer__thumbnail-label {
11590
+ font-family: var(--alias-font-brand-family);
11591
+ font-size: var(--text-label-xs-regular-fontSize);
11592
+ color: var(--color-text-default-default);
11593
+ font-weight: var(--alias-font-brand-weight-medium);
11594
+ }
11595
+
11596
+ /* Loading state */
11597
+ .muka-documentviewer__loading {
11598
+ display: flex;
11599
+ align-items: center;
11600
+ justify-content: center;
11601
+ flex: 1;
11602
+ background-color: var(--documentviewer-loading-overlay-background);
11603
+ }
11604
+
11605
+ /* Error state */
11606
+ .muka-documentviewer__error {
11607
+ display: flex;
11608
+ align-items: center;
11609
+ justify-content: center;
11610
+ flex: 1;
11611
+ padding: var(--spacing-4);
11612
+ background-color: var(--documentviewer-error-background);
11613
+ }
11614
+
11615
+ /* Accessibility - visually hidden */
11616
+ .visually-hidden {
11617
+ position: absolute;
11618
+ width: 1px;
11619
+ height: 1px;
11620
+ margin: -1px;
11621
+ padding: 0;
11622
+ overflow: hidden;
11623
+ clip: rect(0, 0, 0, 0);
11624
+ white-space: nowrap;
11625
+ border-width: 0;
11626
+ }
11627
+
11628
+ /* React-PDF specific styles */
11629
+ .react-pdf__Document {
11630
+ display: flex;
11631
+ flex-direction: column;
11632
+ align-items: center;
11633
+ }
11634
+
11635
+ .react-pdf__Page {
11636
+ max-width: 100%;
11637
+ box-shadow: var(--documentviewer-page-shadow);
11638
+ border-radius: var(--documentviewer-page-borderRadius);
11639
+ overflow: hidden;
11640
+ }
11641
+
11642
+ .react-pdf__Page__canvas {
11643
+ max-width: 100%;
11644
+ height: auto !important;
11645
+ display: block;
11646
+ }
11647
+
11648
+ .react-pdf__Page__textContent {
11649
+ max-width: 100%;
11650
+ }
11651
+
11652
+ .react-pdf__Page__annotations {
11653
+ max-width: 100%;
11654
+ }
11655
+
11656
+
11657
+ /* Divider */
11658
+ /* Divider Component Styles - Using Muka Design Tokens */
11659
+
11660
+ .muka-divider {
11661
+ flex-shrink: 0;
11662
+ }
11663
+
11664
+ .muka-divider--horizontal {
11665
+ width: 100%;
11666
+ height: var(--separator-width);
11384
11667
  }
11385
11668
 
11386
11669
  .muka-divider--vertical {
@@ -14911,114 +15194,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14911
15194
  }
14912
15195
 
14913
15196
 
14914
- /* BadgeNumber */
14915
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
14916
-
14917
- .muka-badge-number {
14918
- display: inline-flex;
14919
- align-items: center;
14920
- justify-content: center;
14921
- border-radius: var(--border-radius-full);
14922
- white-space: nowrap;
14923
- user-select: none;
14924
- box-sizing: border-box;
14925
- }
14926
-
14927
- /*
14928
- * Sizes — fixed height, matching min-width (so a single digit renders as a
14929
- * circle), horizontal padding, and bold label typography. Vertical centering
14930
- * is handled by the fixed height + align-items: center.
14931
- */
14932
- .muka-badge-number--2xs {
14933
- height: var(--badge-number-size-2xs);
14934
- min-width: var(--badge-number-size-2xs);
14935
- padding: 0 var(--badge-number-padding-2xs);
14936
- font-family: var(--text-label-xs-bold-fontFamily);
14937
- font-weight: var(--text-label-xs-bold-fontWeight);
14938
- font-size: var(--text-label-xs-bold-fontSize);
14939
- line-height: var(--text-label-xs-bold-lineHeight);
14940
- }
14941
-
14942
- .muka-badge-number--xs {
14943
- height: var(--badge-number-size-xs);
14944
- min-width: var(--badge-number-size-xs);
14945
- padding: 0 var(--badge-number-padding-xs);
14946
- font-family: var(--text-label-sm-bold-fontFamily);
14947
- font-weight: var(--text-label-sm-bold-fontWeight);
14948
- font-size: var(--text-label-sm-bold-fontSize);
14949
- line-height: var(--text-label-sm-bold-lineHeight);
14950
- }
14951
-
14952
- .muka-badge-number--sm {
14953
- height: var(--badge-number-size-sm);
14954
- min-width: var(--badge-number-size-sm);
14955
- padding: 0 var(--badge-number-padding-sm);
14956
- font-family: var(--text-label-md-bold-fontFamily);
14957
- font-weight: var(--text-label-md-bold-fontWeight);
14958
- font-size: var(--text-label-md-bold-fontSize);
14959
- line-height: var(--text-label-md-bold-lineHeight);
14960
- }
14961
-
14962
- .muka-badge-number--md {
14963
- height: var(--badge-number-size-md);
14964
- min-width: var(--badge-number-size-md);
14965
- padding: 0 var(--badge-number-padding-md);
14966
- font-family: var(--text-label-lg-bold-fontFamily);
14967
- font-weight: var(--text-label-lg-bold-fontWeight);
14968
- font-size: var(--text-label-lg-bold-fontSize);
14969
- line-height: var(--text-label-lg-bold-lineHeight);
14970
- }
14971
-
14972
- .muka-badge-number--lg {
14973
- height: var(--badge-number-size-lg);
14974
- min-width: var(--badge-number-size-lg);
14975
- padding: 0 var(--badge-number-padding-lg);
14976
- font-family: var(--text-label-2xl-bold-fontFamily);
14977
- font-weight: var(--text-label-2xl-bold-fontWeight);
14978
- font-size: var(--text-label-2xl-bold-fontSize);
14979
- line-height: var(--text-label-2xl-bold-lineHeight);
14980
- }
14981
-
14982
- .muka-badge-number__label {
14983
- /*
14984
- * The badge sets a tight line-height for compact sizing, which would clip
14985
- * glyph descenders; give the label a roomier line-height. Vertical centering
14986
- * is unaffected because the badge height is fixed and content is centered.
14987
- */
14988
- line-height: normal;
14989
- }
14990
-
14991
- /* Neutral variant */
14992
- .muka-badge-number--neutral {
14993
- background-color: var(--color-surface-level1);
14994
- color: var(--color-text-default-default);
14995
- }
14996
-
14997
- /* Info variant */
14998
- .muka-badge-number--info {
14999
- background-color: var(--color-state-info-contrast);
15000
- color: var(--color-text-default-inverse);
15001
- }
15002
-
15003
- /* Success variant */
15004
- .muka-badge-number--success {
15005
- background-color: var(--color-state-success-contrast);
15006
- color: var(--color-text-default-inverse);
15007
- }
15008
-
15009
- /* Warning variant */
15010
- .muka-badge-number--warning {
15011
- background-color: var(--color-state-warning-contrast);
15012
- color: var(--color-text-default-inverse);
15013
- }
15014
-
15015
- /* Error variant */
15016
- .muka-badge-number--error {
15017
- background-color: var(--color-state-error-contrast);
15018
- color: var(--color-text-default-inverse);
15019
- }
15020
-
15021
-
15022
15197
  /* BottomBar */
15023
15198
  /* BottomBar Component Styles */
15024
15199
 
@@ -15076,6 +15251,62 @@ button.muka-chat-photo-grid__tile:focus-visible {
15076
15251
  width: 100%;
15077
15252
  }
15078
15253
 
15254
+ /* ─── Message (actions variants only) ────────────────── */
15255
+
15256
+ /* Below 1024px the message takes its own line above the buttons. */
15257
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15258
+ flex-wrap: wrap;
15259
+ row-gap: var(--bottombar-actions-message-gap);
15260
+ }
15261
+
15262
+ .muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
15263
+ row-gap: var(--bottombar-actions-message-gap);
15264
+ }
15265
+
15266
+ .muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15267
+ flex: 1 0 100%;
15268
+ width: 100%;
15269
+ }
15270
+
15271
+ .muka-bottombar__message {
15272
+ margin: 0;
15273
+ min-width: 0;
15274
+ overflow-wrap: anywhere;
15275
+ font-family: var(--text-body-sm-regular-fontFamily);
15276
+ font-weight: var(--text-body-sm-regular-fontWeight);
15277
+ font-size: var(--text-body-sm-regular-fontSize);
15278
+ line-height: var(--text-body-sm-regular-lineHeight);
15279
+ }
15280
+
15281
+ .muka-bottombar__message--neutral {
15282
+ color: var(--bottombar-color-message-neutral);
15283
+ }
15284
+
15285
+ .muka-bottombar__message--success {
15286
+ color: var(--bottombar-color-message-success);
15287
+ }
15288
+
15289
+ .muka-bottombar__message--warning {
15290
+ color: var(--bottombar-color-message-warning);
15291
+ }
15292
+
15293
+ /* From 1024px the horizontal bar puts the message left, the buttons right at
15294
+ their own width. The vertical variant keeps stacking. */
15295
+ @media (min-width: 1024px) {
15296
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
15297
+ flex-wrap: nowrap;
15298
+ }
15299
+
15300
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
15301
+ flex: 0 0 auto;
15302
+ }
15303
+
15304
+ .muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
15305
+ flex: 1 1 auto;
15306
+ width: auto;
15307
+ }
15308
+ }
15309
+
15079
15310
  /* ─── Size modifiers (actions variants only) ─────────── */
15080
15311
 
15081
15312
  /* ─── Navigation variant ──────────────────────────────── */
@@ -15299,39 +15530,147 @@ button.muka-chat-photo-grid__tile:focus-visible {
15299
15530
  border-bottom: 2px solid transparent;
15300
15531
  }
15301
15532
 
15302
- .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
15303
- border-bottom-color: var(--color-action-default);
15304
- }
15533
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
15534
+ border-bottom-color: var(--color-action-default);
15535
+ }
15536
+
15537
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
15538
+ background-color: var(--color-surface-level2);
15539
+ }
15540
+
15541
+ .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
15542
+ font-family: var(--text-label-md-regular-fontFamily);
15543
+ font-weight: var(--text-label-md-regular-fontWeight);
15544
+ font-size: var(--text-label-md-regular-fontSize);
15545
+ line-height: var(--text-label-md-regular-lineHeight);
15546
+ }
15547
+
15548
+ /* When floating and topnav, remove the floating card styles */
15549
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating {
15550
+ padding: 0;
15551
+ }
15552
+
15553
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
15554
+ background-color: transparent;
15555
+ border-radius: 0;
15556
+ box-shadow: none;
15557
+ }
15558
+ }
15559
+
15560
+ /* ─── Print ────────────────────────────────────────────── */
15561
+
15562
+ @media print {
15563
+ .muka-bottombar {
15564
+ display: none;
15565
+ }
15566
+ }
15567
+
15568
+
15569
+ /* BadgeNumber */
15570
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
15571
+
15572
+ .muka-badge-number {
15573
+ display: inline-flex;
15574
+ align-items: center;
15575
+ justify-content: center;
15576
+ border-radius: var(--border-radius-full);
15577
+ white-space: nowrap;
15578
+ user-select: none;
15579
+ box-sizing: border-box;
15580
+ }
15581
+
15582
+ /*
15583
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
15584
+ * circle), horizontal padding, and bold label typography. Vertical centering
15585
+ * is handled by the fixed height + align-items: center.
15586
+ */
15587
+ .muka-badge-number--2xs {
15588
+ height: var(--badge-number-size-2xs);
15589
+ min-width: var(--badge-number-size-2xs);
15590
+ padding: 0 var(--badge-number-padding-2xs);
15591
+ font-family: var(--text-label-xs-bold-fontFamily);
15592
+ font-weight: var(--text-label-xs-bold-fontWeight);
15593
+ font-size: var(--text-label-xs-bold-fontSize);
15594
+ line-height: var(--text-label-xs-bold-lineHeight);
15595
+ }
15596
+
15597
+ .muka-badge-number--xs {
15598
+ height: var(--badge-number-size-xs);
15599
+ min-width: var(--badge-number-size-xs);
15600
+ padding: 0 var(--badge-number-padding-xs);
15601
+ font-family: var(--text-label-sm-bold-fontFamily);
15602
+ font-weight: var(--text-label-sm-bold-fontWeight);
15603
+ font-size: var(--text-label-sm-bold-fontSize);
15604
+ line-height: var(--text-label-sm-bold-lineHeight);
15605
+ }
15606
+
15607
+ .muka-badge-number--sm {
15608
+ height: var(--badge-number-size-sm);
15609
+ min-width: var(--badge-number-size-sm);
15610
+ padding: 0 var(--badge-number-padding-sm);
15611
+ font-family: var(--text-label-md-bold-fontFamily);
15612
+ font-weight: var(--text-label-md-bold-fontWeight);
15613
+ font-size: var(--text-label-md-bold-fontSize);
15614
+ line-height: var(--text-label-md-bold-lineHeight);
15615
+ }
15616
+
15617
+ .muka-badge-number--md {
15618
+ height: var(--badge-number-size-md);
15619
+ min-width: var(--badge-number-size-md);
15620
+ padding: 0 var(--badge-number-padding-md);
15621
+ font-family: var(--text-label-lg-bold-fontFamily);
15622
+ font-weight: var(--text-label-lg-bold-fontWeight);
15623
+ font-size: var(--text-label-lg-bold-fontSize);
15624
+ line-height: var(--text-label-lg-bold-lineHeight);
15625
+ }
15305
15626
 
15306
- .muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
15307
- background-color: var(--color-surface-level2);
15308
- }
15627
+ .muka-badge-number--lg {
15628
+ height: var(--badge-number-size-lg);
15629
+ min-width: var(--badge-number-size-lg);
15630
+ padding: 0 var(--badge-number-padding-lg);
15631
+ font-family: var(--text-label-2xl-bold-fontFamily);
15632
+ font-weight: var(--text-label-2xl-bold-fontWeight);
15633
+ font-size: var(--text-label-2xl-bold-fontSize);
15634
+ line-height: var(--text-label-2xl-bold-lineHeight);
15635
+ }
15309
15636
 
15310
- .muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
15311
- font-family: var(--text-label-md-regular-fontFamily);
15312
- font-weight: var(--text-label-md-regular-fontWeight);
15313
- font-size: var(--text-label-md-regular-fontSize);
15314
- line-height: var(--text-label-md-regular-lineHeight);
15315
- }
15637
+ .muka-badge-number__label {
15638
+ /*
15639
+ * The badge sets a tight line-height for compact sizing, which would clip
15640
+ * glyph descenders; give the label a roomier line-height. Vertical centering
15641
+ * is unaffected because the badge height is fixed and content is centered.
15642
+ */
15643
+ line-height: normal;
15644
+ }
15316
15645
 
15317
- /* When floating and topnav, remove the floating card styles */
15318
- .muka-bottombar--desktop-topnav.muka-bottombar--floating {
15319
- padding: 0;
15320
- }
15646
+ /* Neutral variant */
15647
+ .muka-badge-number--neutral {
15648
+ background-color: var(--color-surface-level1);
15649
+ color: var(--color-text-default-default);
15650
+ }
15321
15651
 
15322
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
15323
- background-color: transparent;
15324
- border-radius: 0;
15325
- box-shadow: none;
15326
- }
15652
+ /* Info variant */
15653
+ .muka-badge-number--info {
15654
+ background-color: var(--color-state-info-contrast);
15655
+ color: var(--color-text-default-inverse);
15327
15656
  }
15328
15657
 
15329
- /* ─── Print ────────────────────────────────────────────── */
15658
+ /* Success variant */
15659
+ .muka-badge-number--success {
15660
+ background-color: var(--color-state-success-contrast);
15661
+ color: var(--color-text-default-inverse);
15662
+ }
15330
15663
 
15331
- @media print {
15332
- .muka-bottombar {
15333
- display: none;
15334
- }
15664
+ /* Warning variant */
15665
+ .muka-badge-number--warning {
15666
+ background-color: var(--color-state-warning-contrast);
15667
+ color: var(--color-text-default-inverse);
15668
+ }
15669
+
15670
+ /* Error variant */
15671
+ .muka-badge-number--error {
15672
+ background-color: var(--color-state-error-contrast);
15673
+ color: var(--color-text-default-inverse);
15335
15674
  }
15336
15675
 
15337
15676
 
@@ -16008,224 +16347,55 @@ button.muka-chat-photo-grid__tile:focus-visible {
16008
16347
  height: var(--app-shell-appbar-height);
16009
16348
  padding-inline: var(--spacing-4);
16010
16349
  background-color: var(--color-surface-level3);
16011
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
16012
- z-index: 11; /* above the sidebar rail (z-index 10) */
16013
- }
16014
-
16015
- /* ─── Large tier (responsive) ─── */
16016
- @media (min-width: 1024px) {
16017
- .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
16018
- display: block;
16019
- }
16020
- .muka-app-shell:not([data-size]) .muka-app-shell__main {
16021
- padding-left: var(--app-shell-sidebar-width);
16022
- }
16023
- .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
16024
- display: flex;
16025
- }
16026
- /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
16027
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
16028
- padding-top: var(--app-shell-appbar-height);
16029
- }
16030
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16031
- top: var(--app-shell-appbar-height);
16032
- height: calc(100vh - var(--app-shell-appbar-height));
16033
- }
16034
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16035
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16036
- height: calc(100dvh - var(--app-shell-appbar-height));
16037
- }
16038
- }
16039
-
16040
- /* ─── Large tier (forced via size="lg") ─── */
16041
- .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16042
- display: block;
16043
- }
16044
- .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16045
- padding-left: var(--app-shell-sidebar-width);
16046
- }
16047
- .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16048
- display: flex;
16049
- }
16050
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16051
- padding-top: var(--app-shell-appbar-height);
16052
- }
16053
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16054
- top: var(--app-shell-appbar-height);
16055
- height: calc(100vh - var(--app-shell-appbar-height));
16056
- }
16057
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16058
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16059
- height: calc(100dvh - var(--app-shell-appbar-height));
16060
- }
16061
-
16062
-
16063
- /* AgentTaskList */
16064
- /* AgentTaskList Component Styles */
16065
-
16066
- .muka-agent-task-list {
16067
- display: flex;
16068
- flex-direction: column;
16069
- gap: var(--spacing-2);
16070
- width: 100%;
16071
- padding: 0 var(--spacing-2);
16072
- }
16073
-
16074
- /* ─── Header ───────────────────────────────────────────── */
16075
-
16076
- .muka-agent-task-list__header {
16077
- display: inline-flex;
16078
- align-items: center;
16079
- gap: var(--spacing-3);
16080
- background: none;
16081
- border: none;
16082
- padding: 0;
16083
- margin: 0;
16084
- cursor: pointer;
16085
- color: var(--color-text-subtle-default);
16086
- font-family: var(--text-body-sm-regular-fontFamily);
16087
- font-weight: var(--text-body-sm-regular-fontWeight);
16088
- font-size: var(--text-body-sm-regular-fontSize);
16089
- line-height: var(--text-body-sm-regular-lineHeight);
16090
- text-align: left;
16091
- -webkit-tap-highlight-color: transparent;
16092
- }
16093
-
16094
- .muka-agent-task-list--open .muka-agent-task-list__header {
16095
- font-family: var(--text-body-sm-bold-fontFamily);
16096
- font-weight: var(--text-body-sm-bold-fontWeight);
16097
- font-size: var(--text-body-sm-bold-fontSize);
16098
- line-height: var(--text-body-sm-bold-lineHeight);
16099
- }
16100
-
16101
- .muka-agent-task-list__header:focus-visible {
16102
- outline: 2px solid var(--color-action-default);
16103
- outline-offset: 2px;
16104
- border-radius: var(--radius-sm);
16105
- }
16106
-
16107
- .muka-agent-task-list__title {
16108
- text-align: left;
16109
- }
16110
-
16111
- .muka-agent-task-list__chevron {
16112
- display: inline-flex;
16113
- align-items: center;
16114
- justify-content: center;
16115
- transition: transform 0.16s ease;
16116
- color: var(--color-text-subtle-default);
16117
- }
16118
-
16119
- .muka-agent-task-list__chevron[data-open='false'] {
16120
- transform: rotate(-90deg);
16121
- }
16122
-
16123
- /* ─── Task list ────────────────────────────────────────── */
16124
-
16125
- .muka-agent-task-list__tasks {
16126
- list-style: none;
16127
- padding: 0;
16128
- margin: 0;
16129
- display: flex;
16130
- flex-direction: column;
16131
- }
16132
-
16133
- /* ─── Single task row ──────────────────────────────────── */
16134
-
16135
- .muka-agent-task-list__task {
16136
- display: flex;
16137
- align-items: stretch;
16138
- gap: var(--spacing-4);
16139
- min-height: 32px;
16140
- padding: 0;
16141
- }
16142
-
16143
- /* ─── Bullet column (icon + timeline connector) ────────── */
16144
-
16145
- .muka-agent-task-list__bullet {
16146
- position: relative;
16147
- flex-shrink: 0;
16148
- width: 16px;
16149
- align-self: stretch;
16150
- }
16151
-
16152
- .muka-agent-task-list__line {
16153
- position: absolute;
16154
- left: 7px;
16155
- width: 1px;
16156
- background-color: var(--color-border-default);
16157
- }
16158
-
16159
- .muka-agent-task-list__line--top {
16160
- top: 0;
16161
- height: 6px;
16162
- }
16163
-
16164
- .muka-agent-task-list__line--bottom {
16165
- top: 32px;
16166
- bottom: 0;
16167
- }
16168
-
16169
- .muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
16170
- display: none;
16171
- }
16172
-
16173
- .muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
16174
- display: none;
16175
- }
16176
-
16177
- .muka-agent-task-list__icon {
16178
- position: absolute;
16179
- top: 8px;
16180
- left: 0;
16181
- width: 16px;
16182
- height: 16px;
16183
- display: inline-flex;
16184
- align-items: center;
16185
- justify-content: center;
16186
- color: var(--color-text-subtle-default);
16187
- z-index: 1;
16350
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
16351
+ z-index: 11; /* above the sidebar rail (z-index 10) */
16188
16352
  }
16189
16353
 
16190
- /* ─── State color treatments ───────────────────────────── */
16191
-
16192
- .muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
16193
- color: var(--color-action-default);
16354
+ /* ─── Large tier (responsive) ─── */
16355
+ @media (min-width: 1024px) {
16356
+ .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
16357
+ display: block;
16358
+ }
16359
+ .muka-app-shell:not([data-size]) .muka-app-shell__main {
16360
+ padding-left: var(--app-shell-sidebar-width);
16361
+ }
16362
+ .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
16363
+ display: flex;
16364
+ }
16365
+ /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
16366
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
16367
+ padding-top: var(--app-shell-appbar-height);
16368
+ }
16369
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16370
+ top: var(--app-shell-appbar-height);
16371
+ height: calc(100vh - var(--app-shell-appbar-height));
16372
+ }
16373
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16374
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16375
+ height: calc(100dvh - var(--app-shell-appbar-height));
16376
+ }
16194
16377
  }
16195
16378
 
16196
- .muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
16197
- color: var(--color-text-subtle-default);
16379
+ /* ─── Large tier (forced via size="lg") ─── */
16380
+ .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16381
+ display: block;
16198
16382
  }
16199
-
16200
- .muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
16201
- color: var(--color-text-muted-default, var(--color-text-subtle-default));
16202
- opacity: 0.6;
16383
+ .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16384
+ padding-left: var(--app-shell-sidebar-width);
16203
16385
  }
16204
-
16205
- /* ─── Label ────────────────────────────────────────────── */
16206
-
16207
- .muka-agent-task-list__label {
16208
- flex: 1 1 0;
16209
- min-width: 0;
16210
- padding: var(--spacing-2) 0;
16211
- color: var(--color-text-subtle-default);
16212
- font-family: var(--text-body-sm-regular-fontFamily);
16213
- font-weight: var(--text-body-sm-regular-fontWeight);
16214
- font-size: var(--text-body-sm-regular-fontSize);
16215
- line-height: var(--text-body-sm-regular-lineHeight);
16216
- word-break: break-word;
16386
+ .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16387
+ display: flex;
16217
16388
  }
16218
-
16219
- /* ─── Print ────────────────────────────────────────────── */
16220
-
16221
- @media print {
16222
- .muka-agent-task-list {
16223
- break-inside: avoid;
16224
- }
16225
-
16226
- .muka-agent-task-list__chevron {
16227
- display: none;
16228
- }
16389
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16390
+ padding-top: var(--app-shell-appbar-height);
16391
+ }
16392
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16393
+ top: var(--app-shell-appbar-height);
16394
+ height: calc(100vh - var(--app-shell-appbar-height));
16395
+ }
16396
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16397
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16398
+ height: calc(100dvh - var(--app-shell-appbar-height));
16229
16399
  }
16230
16400
 
16231
16401
 
@@ -16440,554 +16610,444 @@ button.muka-chat-photo-grid__tile:focus-visible {
16440
16610
  }
16441
16611
 
16442
16612
 
16443
- /* ActionSheet */
16444
- /* ActionSheet Component Styles */
16613
+ /* AgentTaskList */
16614
+ /* AgentTaskList Component Styles */
16445
16615
 
16446
- .muka-action-sheet__inner {
16616
+ .muka-agent-task-list {
16447
16617
  display: flex;
16448
16618
  flex-direction: column;
16449
- padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
16450
- gap: var(--spacing-3);
16619
+ gap: var(--spacing-2);
16620
+ width: 100%;
16621
+ padding: 0 var(--spacing-2);
16451
16622
  }
16452
16623
 
16453
- /* ─── Header ──────────────────────────────────────────── */
16624
+ /* ─── Header ───────────────────────────────────────────── */
16454
16625
 
16455
- .muka-action-sheet__header {
16456
- display: flex;
16457
- flex-direction: column;
16626
+ .muka-agent-task-list__header {
16627
+ display: inline-flex;
16458
16628
  align-items: center;
16459
- gap: var(--spacing-1);
16460
- padding: var(--spacing-2) 0 var(--spacing-3);
16461
- text-align: center;
16462
- }
16463
-
16464
- .muka-action-sheet__title {
16465
- margin: 0;
16466
- color: var(--color-text-default-default);
16467
- font-family: var(--text-label-md-semibold-fontFamily);
16468
- font-weight: var(--text-label-md-semibold-fontWeight);
16469
- font-size: var(--text-label-md-semibold-fontSize);
16470
- line-height: var(--text-label-md-semibold-lineHeight);
16471
- }
16472
-
16473
- .muka-action-sheet__description {
16629
+ gap: var(--spacing-3);
16630
+ background: none;
16631
+ border: none;
16632
+ padding: 0;
16474
16633
  margin: 0;
16634
+ cursor: pointer;
16475
16635
  color: var(--color-text-subtle-default);
16476
16636
  font-family: var(--text-body-sm-regular-fontFamily);
16477
16637
  font-weight: var(--text-body-sm-regular-fontWeight);
16478
16638
  font-size: var(--text-body-sm-regular-fontSize);
16479
16639
  line-height: var(--text-body-sm-regular-lineHeight);
16480
- }
16481
-
16482
- /* ─── Actions group ───────────────────────────────────── */
16483
-
16484
- .muka-action-sheet__actions {
16485
- display: flex;
16486
- flex-direction: column;
16487
- background-color: var(--color-surface-level1);
16488
- border-radius: var(--radius-md);
16489
- overflow: hidden;
16490
- }
16491
-
16492
- .muka-action-sheet__item {
16493
- display: flex;
16494
- align-items: center;
16495
- gap: var(--spacing-3);
16496
- padding: var(--spacing-3) var(--spacing-4);
16497
- background: none;
16498
- border: none;
16499
- cursor: pointer;
16500
16640
  text-align: left;
16501
- color: var(--color-text-default-default);
16502
- font-family: var(--text-body-base-regular-fontFamily);
16503
- font-weight: var(--text-body-base-regular-fontWeight);
16504
- font-size: var(--text-body-base-regular-fontSize);
16505
- line-height: var(--text-body-base-regular-lineHeight);
16506
16641
  -webkit-tap-highlight-color: transparent;
16507
- transition: background-color 0.12s ease;
16508
- }
16509
-
16510
- .muka-action-sheet__item + .muka-action-sheet__item {
16511
- border-top: var(--border-width-regular) solid var(--color-border-default);
16512
16642
  }
16513
16643
 
16514
- .muka-action-sheet__item:hover:not(:disabled) {
16515
- background-color: var(--color-surface-level2);
16516
- }
16517
-
16518
- .muka-action-sheet__item:active:not(:disabled) {
16519
- background-color: var(--color-surface-level3);
16644
+ .muka-agent-task-list--open .muka-agent-task-list__header {
16645
+ font-family: var(--text-body-sm-bold-fontFamily);
16646
+ font-weight: var(--text-body-sm-bold-fontWeight);
16647
+ font-size: var(--text-body-sm-bold-fontSize);
16648
+ line-height: var(--text-body-sm-bold-lineHeight);
16520
16649
  }
16521
16650
 
16522
- .muka-action-sheet__item:focus-visible {
16651
+ .muka-agent-task-list__header:focus-visible {
16523
16652
  outline: 2px solid var(--color-action-default);
16524
- outline-offset: -2px;
16525
- }
16526
-
16527
- .muka-action-sheet__item--destructive {
16528
- color: var(--color-state-error-default);
16653
+ outline-offset: 2px;
16654
+ border-radius: var(--radius-sm);
16529
16655
  }
16530
16656
 
16531
- .muka-action-sheet__item--disabled,
16532
- .muka-action-sheet__item:disabled {
16533
- opacity: 0.5;
16534
- cursor: not-allowed;
16657
+ .muka-agent-task-list__title {
16658
+ text-align: left;
16535
16659
  }
16536
16660
 
16537
- .muka-action-sheet__item-icon {
16661
+ .muka-agent-task-list__chevron {
16538
16662
  display: inline-flex;
16539
16663
  align-items: center;
16540
16664
  justify-content: center;
16541
- width: 24px;
16542
- height: 24px;
16543
- flex-shrink: 0;
16544
- }
16545
-
16546
- .muka-action-sheet__item-icon svg {
16547
- width: 100%;
16548
- height: 100%;
16549
- }
16550
-
16551
- .muka-action-sheet__item-label {
16552
- flex: 1;
16553
- }
16554
-
16555
- /* ─── Cancel button (separate at bottom) ──────────────── */
16556
-
16557
- .muka-action-sheet__cancel {
16558
- display: flex;
16559
- align-items: center;
16560
- justify-content: center;
16561
- padding: var(--spacing-3) var(--spacing-4);
16562
- background-color: var(--color-surface-level1);
16563
- border: none;
16564
- border-radius: var(--radius-md);
16565
- cursor: pointer;
16566
- color: var(--color-text-default-default);
16567
- font-family: var(--text-label-md-semibold-fontFamily);
16568
- font-weight: var(--text-label-md-semibold-fontWeight);
16569
- font-size: var(--text-label-md-semibold-fontSize);
16570
- line-height: var(--text-label-md-semibold-lineHeight);
16571
- -webkit-tap-highlight-color: transparent;
16572
- transition: background-color 0.12s ease;
16573
- }
16574
-
16575
- .muka-action-sheet__cancel:hover {
16576
- background-color: var(--color-surface-level2);
16577
- }
16578
-
16579
- .muka-action-sheet__cancel:focus-visible {
16580
- outline: 2px solid var(--color-action-default);
16581
- outline-offset: 2px;
16582
- }
16583
-
16584
-
16585
- /* Accordion */
16586
- /* Accordion Component Styles */
16587
-
16588
- .muka-accordion {
16589
- width: 100%;
16590
- }
16591
-
16592
- /* Item */
16593
- .muka-accordion__item {
16594
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
16665
+ transition: transform 0.16s ease;
16666
+ color: var(--color-text-subtle-default);
16595
16667
  }
16596
16668
 
16597
- .muka-accordion__item:last-child {
16598
- border-bottom: none;
16669
+ .muka-agent-task-list__chevron[data-open='false'] {
16670
+ transform: rotate(-90deg);
16599
16671
  }
16600
16672
 
16601
- /* Header reset */
16602
- .muka-accordion__header {
16603
- margin: 0;
16604
- }
16673
+ /* ─── Task list ────────────────────────────────────────── */
16605
16674
 
16606
- /* Trigger */
16607
- .muka-accordion__trigger {
16608
- display: flex;
16609
- align-items: center;
16610
- justify-content: space-between;
16611
- width: 100%;
16612
- padding: var(--spacing-4);
16613
- background: none;
16614
- border: none;
16615
- cursor: pointer;
16616
- font-family: var(--text-label-md-semibold-fontFamily);
16617
- font-weight: var(--text-label-md-semibold-fontWeight);
16618
- font-size: var(--text-label-md-semibold-fontSize);
16619
- line-height: var(--text-label-md-semibold-lineHeight);
16620
- color: var(--color-text-default-default);
16621
- text-align: left;
16622
- gap: var(--spacing-3);
16623
- transition: background-color 0.15s ease;
16675
+ .muka-agent-task-list__tasks {
16676
+ list-style: none;
16677
+ padding: 0;
16678
+ margin: 0;
16679
+ display: flex;
16680
+ flex-direction: column;
16624
16681
  }
16625
16682
 
16626
- .muka-accordion__trigger:hover {
16627
- background-color: var(--color-surface-level1);
16628
- }
16683
+ /* ─── Single task row ──────────────────────────────────── */
16629
16684
 
16630
- .muka-accordion__trigger[data-disabled] {
16631
- cursor: not-allowed;
16632
- opacity: 0.4;
16685
+ .muka-agent-task-list__task {
16686
+ display: flex;
16687
+ align-items: stretch;
16688
+ gap: var(--spacing-4);
16689
+ min-height: 32px;
16690
+ padding: 0;
16633
16691
  }
16634
16692
 
16635
- .muka-accordion__trigger-text {
16636
- flex: 1;
16637
- }
16693
+ /* ─── Bullet column (icon + timeline connector) ────────── */
16638
16694
 
16639
- /* Chevron rotation */
16640
- .muka-accordion__chevron {
16641
- display: inline-flex;
16642
- align-items: center;
16643
- color: var(--color-text-subtle-default);
16644
- transition: transform 200ms ease;
16695
+ .muka-agent-task-list__bullet {
16696
+ position: relative;
16697
+ flex-shrink: 0;
16698
+ width: 16px;
16699
+ align-self: stretch;
16645
16700
  }
16646
16701
 
16647
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
16648
- transform: rotate(180deg);
16702
+ .muka-agent-task-list__line {
16703
+ position: absolute;
16704
+ left: 7px;
16705
+ width: 1px;
16706
+ background-color: var(--color-border-default);
16649
16707
  }
16650
16708
 
16651
- /* Content */
16652
- .muka-accordion__content {
16653
- overflow: hidden;
16709
+ .muka-agent-task-list__line--top {
16710
+ top: 0;
16711
+ height: 6px;
16654
16712
  }
16655
16713
 
16656
- .muka-accordion__content[data-state='open'] {
16657
- animation: muka-accordion-slideDown 200ms ease;
16714
+ .muka-agent-task-list__line--bottom {
16715
+ top: 32px;
16716
+ bottom: 0;
16658
16717
  }
16659
16718
 
16660
- .muka-accordion__content[data-state='closed'] {
16661
- animation: muka-accordion-slideUp 200ms ease;
16719
+ .muka-agent-task-list__task:first-child .muka-agent-task-list__line--top {
16720
+ display: none;
16662
16721
  }
16663
16722
 
16664
- @keyframes muka-accordion-slideDown {
16665
- from {
16666
- height: 0;
16667
- }
16668
- to {
16669
- height: var(--radix-accordion-content-height);
16670
- }
16723
+ .muka-agent-task-list__task:last-child .muka-agent-task-list__line--bottom {
16724
+ display: none;
16671
16725
  }
16672
16726
 
16673
- @keyframes muka-accordion-slideUp {
16674
- from {
16675
- height: var(--radix-accordion-content-height);
16676
- }
16677
- to {
16678
- height: 0;
16679
- }
16727
+ .muka-agent-task-list__icon {
16728
+ position: absolute;
16729
+ top: 8px;
16730
+ left: 0;
16731
+ width: 16px;
16732
+ height: 16px;
16733
+ display: inline-flex;
16734
+ align-items: center;
16735
+ justify-content: center;
16736
+ color: var(--color-text-subtle-default);
16737
+ z-index: 1;
16680
16738
  }
16681
16739
 
16682
- .muka-accordion__content-inner {
16683
- padding: 0 var(--spacing-4) var(--spacing-5);
16684
- color: var(--color-text-default-default);
16685
- }
16740
+ /* ─── State color treatments ───────────────────────────── */
16686
16741
 
16687
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
16742
+ .muka-agent-task-list__task[data-state='active'] .muka-agent-task-list__icon {
16743
+ color: var(--color-action-default);
16744
+ }
16688
16745
 
16689
- .muka-accordion--flush .muka-accordion__trigger {
16690
- padding-left: 0;
16691
- padding-right: 0;
16746
+ .muka-agent-task-list__task[data-state='done'] .muka-agent-task-list__icon {
16747
+ color: var(--color-text-subtle-default);
16692
16748
  }
16693
16749
 
16694
- .muka-accordion--flush .muka-accordion__content-inner {
16695
- padding-left: 0;
16696
- padding-right: 0;
16750
+ .muka-agent-task-list__task[data-state='pending'] .muka-agent-task-list__icon {
16751
+ color: var(--color-text-muted-default, var(--color-text-subtle-default));
16752
+ opacity: 0.6;
16697
16753
  }
16698
16754
 
16699
- /* ─── Variant: contained ────────────────────────────────────────────────── */
16755
+ /* ─── Label ────────────────────────────────────────────── */
16700
16756
 
16701
- .muka-accordion--contained {
16702
- border: var(--border-width-regular) solid var(--color-border-default);
16703
- border-radius: var(--radius-md);
16704
- overflow: hidden;
16757
+ .muka-agent-task-list__label {
16758
+ flex: 1 1 0;
16759
+ min-width: 0;
16760
+ padding: var(--spacing-2) 0;
16761
+ color: var(--color-text-subtle-default);
16762
+ font-family: var(--text-body-sm-regular-fontFamily);
16763
+ font-weight: var(--text-body-sm-regular-fontWeight);
16764
+ font-size: var(--text-body-sm-regular-fontSize);
16765
+ line-height: var(--text-body-sm-regular-lineHeight);
16766
+ word-break: break-word;
16705
16767
  }
16706
16768
 
16707
- .muka-accordion--contained .muka-accordion__item {
16708
- background-color: var(--color-surface-level3);
16709
- }
16769
+ /* ─── Print ────────────────────────────────────────────── */
16710
16770
 
16711
- .muka-accordion--contained .muka-accordion__item:last-child {
16712
- border-bottom: none;
16771
+ @media print {
16772
+ .muka-agent-task-list {
16773
+ break-inside: avoid;
16774
+ }
16775
+
16776
+ .muka-agent-task-list__chevron {
16777
+ display: none;
16778
+ }
16713
16779
  }
16714
16780
 
16715
16781
 
16716
- /* DocumentViewer */
16717
- /* DocumentViewer Component Styles - Using Muka Design Tokens */
16782
+ /* ActionSheet */
16783
+ /* ActionSheet Component Styles */
16718
16784
 
16719
- .muka-documentviewer {
16785
+ .muka-action-sheet__inner {
16720
16786
  display: flex;
16721
16787
  flex-direction: column;
16722
- background-color: var(--documentviewer-container-background);
16723
- border-radius: var(--documentviewer-container-borderRadius);
16724
- overflow: hidden;
16725
- position: relative;
16788
+ padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
16789
+ gap: var(--spacing-3);
16726
16790
  }
16727
16791
 
16728
- .muka-documentviewer--fullscreen {
16729
- position: fixed;
16730
- top: 0;
16731
- left: 0;
16732
- right: 0;
16733
- bottom: 0;
16734
- width: 100vw;
16735
- height: 100vh;
16736
- z-index: 9999;
16737
- border-radius: 0;
16738
- }
16792
+ /* ─── Header ──────────────────────────────────────────── */
16739
16793
 
16740
- /* Toolbar */
16741
- .muka-documentviewer__toolbar {
16794
+ .muka-action-sheet__header {
16742
16795
  display: flex;
16796
+ flex-direction: column;
16743
16797
  align-items: center;
16744
- justify-content: space-between;
16745
- height: var(--documentviewer-toolbar-height);
16746
- padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
16747
- background-color: var(--documentviewer-toolbar-background);
16748
- border-bottom: 1px solid var(--documentviewer-toolbar-border);
16749
- gap: var(--documentviewer-toolbar-gap);
16750
- flex-shrink: 0;
16798
+ gap: var(--spacing-1);
16799
+ padding: var(--spacing-2) 0 var(--spacing-3);
16800
+ text-align: center;
16751
16801
  }
16752
16802
 
16753
- .muka-documentviewer__toolbar-section {
16754
- display: flex;
16755
- align-items: center;
16756
- gap: var(--documentviewer-toolbar-gap);
16803
+ .muka-action-sheet__title {
16804
+ margin: 0;
16805
+ color: var(--color-text-default-default);
16806
+ font-family: var(--text-label-md-semibold-fontFamily);
16807
+ font-weight: var(--text-label-md-semibold-fontWeight);
16808
+ font-size: var(--text-label-md-semibold-fontSize);
16809
+ line-height: var(--text-label-md-semibold-lineHeight);
16757
16810
  }
16758
16811
 
16759
- .muka-documentviewer__toolbar-section--center {
16760
- flex: 1;
16761
- justify-content: center;
16812
+ .muka-action-sheet__description {
16813
+ margin: 0;
16814
+ color: var(--color-text-subtle-default);
16815
+ font-family: var(--text-body-sm-regular-fontFamily);
16816
+ font-weight: var(--text-body-sm-regular-fontWeight);
16817
+ font-size: var(--text-body-sm-regular-fontSize);
16818
+ line-height: var(--text-body-sm-regular-lineHeight);
16762
16819
  }
16763
16820
 
16764
- .muka-documentviewer__toolbar-section--end {
16765
- justify-content: flex-end;
16821
+ /* ─── Actions group ───────────────────────────────────── */
16822
+
16823
+ .muka-action-sheet__actions {
16824
+ display: flex;
16825
+ flex-direction: column;
16826
+ background-color: var(--color-surface-level1);
16827
+ border-radius: var(--radius-md);
16828
+ overflow: hidden;
16766
16829
  }
16767
16830
 
16768
- /* Page navigation */
16769
- .muka-documentviewer__page-input {
16831
+ .muka-action-sheet__item {
16770
16832
  display: flex;
16771
16833
  align-items: center;
16772
- gap: var(--spacing-1);
16834
+ gap: var(--spacing-3);
16835
+ padding: var(--spacing-3) var(--spacing-4);
16836
+ background: none;
16837
+ border: none;
16838
+ cursor: pointer;
16839
+ text-align: left;
16840
+ color: var(--color-text-default-default);
16841
+ font-family: var(--text-body-base-regular-fontFamily);
16842
+ font-weight: var(--text-body-base-regular-fontWeight);
16843
+ font-size: var(--text-body-base-regular-fontSize);
16844
+ line-height: var(--text-body-base-regular-lineHeight);
16845
+ -webkit-tap-highlight-color: transparent;
16846
+ transition: background-color 0.12s ease;
16773
16847
  }
16774
16848
 
16775
- .muka-documentviewer__page-number {
16776
- width: 3rem;
16777
- padding: var(--spacing-1) var(--spacing-2);
16778
- text-align: center;
16779
- font-family: var(--alias-font-brand-family);
16780
- font-size: var(--text-label-sm-fontSize);
16781
- line-height: var(--text-label-sm-lineHeight);
16782
- border: 1px solid var(--color-border-default);
16783
- border-radius: var(--border-radius-md);
16784
- background-color: var(--color-surface-level0);
16785
- color: var(--color-text-default-default);
16849
+ .muka-action-sheet__item + .muka-action-sheet__item {
16850
+ border-top: var(--border-width-regular) solid var(--color-border-default);
16786
16851
  }
16787
16852
 
16788
- .muka-documentviewer__page-number:focus {
16789
- outline: 2px solid var(--color-border-focus);
16790
- outline-offset: 0;
16791
- border-color: var(--color-border-focus);
16853
+ .muka-action-sheet__item:hover:not(:disabled) {
16854
+ background-color: var(--color-surface-level2);
16792
16855
  }
16793
16856
 
16794
- .muka-documentviewer__page-total {
16795
- font-family: var(--alias-font-brand-family);
16796
- font-size: var(--text-label-sm-fontSize);
16797
- color: var(--color-text-subtle-default);
16857
+ .muka-action-sheet__item:active:not(:disabled) {
16858
+ background-color: var(--color-surface-level3);
16798
16859
  }
16799
16860
 
16800
- /* Zoom controls */
16801
- .muka-documentviewer__zoom-display {
16802
- min-width: var(--documentviewer-zoom-button-width);
16803
- padding: var(--spacing-1) var(--spacing-2);
16804
- font-family: var(--alias-font-brand-family);
16805
- font-size: var(--text-label-sm-fontSize);
16806
- font-weight: var(--alias-font-brand-weight-semibold);
16807
- color: var(--color-text-default-default);
16808
- background: transparent;
16809
- border: none;
16810
- border-radius: var(--border-radius-md);
16811
- cursor: pointer;
16812
- transition: background-color 0.2s ease;
16861
+ .muka-action-sheet__item:focus-visible {
16862
+ outline: 2px solid var(--color-action-default);
16863
+ outline-offset: -2px;
16813
16864
  }
16814
16865
 
16815
- .muka-documentviewer__zoom-display:hover {
16816
- background-color: var(--color-surface-level2);
16866
+ .muka-action-sheet__item--destructive {
16867
+ color: var(--color-state-error-default);
16817
16868
  }
16818
16869
 
16819
- .muka-documentviewer__zoom-display:focus {
16820
- outline: 2px solid var(--color-border-focus);
16821
- outline-offset: 0;
16870
+ .muka-action-sheet__item--disabled,
16871
+ .muka-action-sheet__item:disabled {
16872
+ opacity: 0.5;
16873
+ cursor: not-allowed;
16822
16874
  }
16823
16875
 
16824
- /* Content area */
16825
- .muka-documentviewer__content {
16826
- display: flex;
16827
- flex: 1;
16828
- overflow: hidden;
16876
+ .muka-action-sheet__item-icon {
16877
+ display: inline-flex;
16878
+ align-items: center;
16879
+ justify-content: center;
16880
+ width: 24px;
16881
+ height: 24px;
16882
+ flex-shrink: 0;
16829
16883
  }
16830
16884
 
16831
- .muka-documentviewer__main {
16832
- flex: 1;
16833
- display: flex;
16834
- flex-direction: column;
16835
- overflow: hidden;
16836
- position: relative;
16885
+ .muka-action-sheet__item-icon svg {
16886
+ width: 100%;
16887
+ height: 100%;
16837
16888
  }
16838
16889
 
16839
- /* Canvas */
16840
- .muka-documentviewer__canvas {
16890
+ .muka-action-sheet__item-label {
16841
16891
  flex: 1;
16842
- background-color: var(--documentviewer-canvas-background);
16843
- padding: var(--documentviewer-canvas-padding);
16844
- overflow: auto;
16892
+ }
16893
+
16894
+ /* ─── Cancel button (separate at bottom) ──────────────── */
16895
+
16896
+ .muka-action-sheet__cancel {
16845
16897
  display: flex;
16846
- align-items: flex-start;
16898
+ align-items: center;
16847
16899
  justify-content: center;
16900
+ padding: var(--spacing-3) var(--spacing-4);
16901
+ background-color: var(--color-surface-level1);
16902
+ border: none;
16903
+ border-radius: var(--radius-md);
16904
+ cursor: pointer;
16905
+ color: var(--color-text-default-default);
16906
+ font-family: var(--text-label-md-semibold-fontFamily);
16907
+ font-weight: var(--text-label-md-semibold-fontWeight);
16908
+ font-size: var(--text-label-md-semibold-fontSize);
16909
+ line-height: var(--text-label-md-semibold-lineHeight);
16910
+ -webkit-tap-highlight-color: transparent;
16911
+ transition: background-color 0.12s ease;
16848
16912
  }
16849
16913
 
16850
- .muka-documentviewer__page {
16851
- background-color: var(--documentviewer-page-background);
16852
- box-shadow: var(--documentviewer-page-shadow);
16853
- border-radius: var(--documentviewer-page-borderRadius);
16854
- overflow: hidden;
16914
+ .muka-action-sheet__cancel:hover {
16915
+ background-color: var(--color-surface-level2);
16855
16916
  }
16856
16917
 
16857
- .muka-documentviewer__page canvas {
16858
- display: block;
16859
- max-width: 100%;
16860
- height: auto;
16918
+ .muka-action-sheet__cancel:focus-visible {
16919
+ outline: 2px solid var(--color-action-default);
16920
+ outline-offset: 2px;
16861
16921
  }
16862
16922
 
16863
- .muka-documentviewer__page-number {
16864
- text-align: center;
16865
- padding: var(--spacing-2);
16866
- font-family: var(--alias-font-brand-family);
16867
- font-size: var(--text-label-sm-fontSize);
16868
- color: var(--color-text-subtle-default);
16923
+
16924
+ /* Accordion */
16925
+ /* Accordion Component Styles */
16926
+
16927
+ .muka-accordion {
16928
+ width: 100%;
16869
16929
  }
16870
16930
 
16871
- /* Thumbnails */
16872
- .muka-documentviewer__thumbnails {
16873
- width: var(--documentviewer-thumbnails-width);
16874
- background-color: var(--documentviewer-thumbnails-background);
16875
- border-right: 1px solid var(--documentviewer-thumbnails-border);
16876
- overflow-y: auto;
16877
- flex-shrink: 0;
16931
+ /* Item */
16932
+ .muka-accordion__item {
16933
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
16878
16934
  }
16879
16935
 
16880
- .muka-documentviewer__thumbnails-list {
16881
- display: flex;
16882
- flex-direction: column;
16883
- gap: var(--documentviewer-thumbnails-item-gap);
16884
- padding: var(--spacing-2);
16936
+ .muka-accordion__item:last-child {
16937
+ border-bottom: none;
16885
16938
  }
16886
16939
 
16887
- .muka-documentviewer__thumbnail-item {
16940
+ /* Header reset */
16941
+ .muka-accordion__header {
16942
+ margin: 0;
16943
+ }
16944
+
16945
+ /* Trigger */
16946
+ .muka-accordion__trigger {
16888
16947
  display: flex;
16889
- flex-direction: column;
16890
16948
  align-items: center;
16891
- gap: var(--spacing-1);
16892
- padding: var(--documentviewer-thumbnails-item-padding);
16893
- border-radius: var(--documentviewer-thumbnails-item-borderRadius);
16894
- border: 2px solid var(--documentviewer-thumbnails-item-border-default);
16895
- background-color: var(--documentviewer-thumbnails-item-background-default);
16896
- cursor: pointer;
16897
- transition: all 0.2s ease;
16949
+ justify-content: space-between;
16898
16950
  width: 100%;
16951
+ padding: var(--spacing-4);
16952
+ background: none;
16953
+ border: none;
16954
+ cursor: pointer;
16955
+ font-family: var(--text-label-md-semibold-fontFamily);
16956
+ font-weight: var(--text-label-md-semibold-fontWeight);
16957
+ font-size: var(--text-label-md-semibold-fontSize);
16958
+ line-height: var(--text-label-md-semibold-lineHeight);
16959
+ color: var(--color-text-default-default);
16960
+ text-align: left;
16961
+ gap: var(--spacing-3);
16962
+ transition: background-color 0.15s ease;
16899
16963
  }
16900
16964
 
16901
- .muka-documentviewer__thumbnail-item:hover {
16902
- background-color: var(--documentviewer-thumbnails-item-background-hover);
16965
+ .muka-accordion__trigger:hover {
16966
+ background-color: var(--color-surface-level1);
16903
16967
  }
16904
16968
 
16905
- .muka-documentviewer__thumbnail-item--selected {
16906
- background-color: var(--documentviewer-thumbnails-item-background-selected);
16907
- border-color: var(--documentviewer-thumbnails-item-border-selected);
16969
+ .muka-accordion__trigger[data-disabled] {
16970
+ cursor: not-allowed;
16971
+ opacity: 0.4;
16908
16972
  }
16909
16973
 
16910
- .muka-documentviewer__thumbnail-item:focus {
16911
- outline: 2px solid var(--color-border-focus);
16912
- outline-offset: 2px;
16974
+ .muka-accordion__trigger-text {
16975
+ flex: 1;
16913
16976
  }
16914
16977
 
16915
- .muka-documentviewer__thumbnail-preview {
16916
- width: 100%;
16978
+ /* Chevron rotation */
16979
+ .muka-accordion__chevron {
16980
+ display: inline-flex;
16981
+ align-items: center;
16982
+ color: var(--color-text-subtle-default);
16983
+ transition: transform 200ms ease;
16984
+ }
16985
+
16986
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
16987
+ transform: rotate(180deg);
16988
+ }
16989
+
16990
+ /* Content */
16991
+ .muka-accordion__content {
16917
16992
  overflow: hidden;
16918
- border-radius: var(--border-radius-sm);
16919
16993
  }
16920
16994
 
16921
- .muka-documentviewer__thumbnail-preview canvas {
16922
- display: block;
16923
- width: 100%;
16924
- height: auto;
16995
+ .muka-accordion__content[data-state='open'] {
16996
+ animation: muka-accordion-slideDown 200ms ease;
16925
16997
  }
16926
16998
 
16927
- .muka-documentviewer__thumbnail-label {
16928
- font-family: var(--alias-font-brand-family);
16929
- font-size: var(--text-label-xs-regular-fontSize);
16930
- color: var(--color-text-default-default);
16931
- font-weight: var(--alias-font-brand-weight-medium);
16999
+ .muka-accordion__content[data-state='closed'] {
17000
+ animation: muka-accordion-slideUp 200ms ease;
16932
17001
  }
16933
17002
 
16934
- /* Loading state */
16935
- .muka-documentviewer__loading {
16936
- display: flex;
16937
- align-items: center;
16938
- justify-content: center;
16939
- flex: 1;
16940
- background-color: var(--documentviewer-loading-overlay-background);
17003
+ @keyframes muka-accordion-slideDown {
17004
+ from {
17005
+ height: 0;
17006
+ }
17007
+ to {
17008
+ height: var(--radix-accordion-content-height);
17009
+ }
16941
17010
  }
16942
17011
 
16943
- /* Error state */
16944
- .muka-documentviewer__error {
16945
- display: flex;
16946
- align-items: center;
16947
- justify-content: center;
16948
- flex: 1;
16949
- padding: var(--spacing-4);
16950
- background-color: var(--documentviewer-error-background);
17012
+ @keyframes muka-accordion-slideUp {
17013
+ from {
17014
+ height: var(--radix-accordion-content-height);
17015
+ }
17016
+ to {
17017
+ height: 0;
17018
+ }
16951
17019
  }
16952
17020
 
16953
- /* Accessibility - visually hidden */
16954
- .visually-hidden {
16955
- position: absolute;
16956
- width: 1px;
16957
- height: 1px;
16958
- margin: -1px;
16959
- padding: 0;
16960
- overflow: hidden;
16961
- clip: rect(0, 0, 0, 0);
16962
- white-space: nowrap;
16963
- border-width: 0;
17021
+ .muka-accordion__content-inner {
17022
+ padding: 0 var(--spacing-4) var(--spacing-5);
17023
+ color: var(--color-text-default-default);
16964
17024
  }
16965
17025
 
16966
- /* React-PDF specific styles */
16967
- .react-pdf__Document {
16968
- display: flex;
16969
- flex-direction: column;
16970
- align-items: center;
17026
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
17027
+
17028
+ .muka-accordion--flush .muka-accordion__trigger {
17029
+ padding-left: 0;
17030
+ padding-right: 0;
16971
17031
  }
16972
17032
 
16973
- .react-pdf__Page {
16974
- max-width: 100%;
16975
- box-shadow: var(--documentviewer-page-shadow);
16976
- border-radius: var(--documentviewer-page-borderRadius);
16977
- overflow: hidden;
17033
+ .muka-accordion--flush .muka-accordion__content-inner {
17034
+ padding-left: 0;
17035
+ padding-right: 0;
16978
17036
  }
16979
17037
 
16980
- .react-pdf__Page__canvas {
16981
- max-width: 100%;
16982
- height: auto !important;
16983
- display: block;
17038
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17039
+
17040
+ .muka-accordion--contained {
17041
+ border: var(--border-width-regular) solid var(--color-border-default);
17042
+ border-radius: var(--radius-md);
17043
+ overflow: hidden;
16984
17044
  }
16985
17045
 
16986
- .react-pdf__Page__textContent {
16987
- max-width: 100%;
17046
+ .muka-accordion--contained .muka-accordion__item {
17047
+ background-color: var(--color-surface-level3);
16988
17048
  }
16989
17049
 
16990
- .react-pdf__Page__annotations {
16991
- max-width: 100%;
17050
+ .muka-accordion--contained .muka-accordion__item:last-child {
17051
+ border-bottom: none;
16992
17052
  }
16993
17053