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