@revikornmann/muka-ui 0.36.0 → 0.38.0

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 (85) hide show
  1. package/cli/bin/muka-ui.js +18 -0
  2. package/cli/commands/check.js +174 -0
  3. package/cli/commands/init.js +8 -20
  4. package/cli/commands/install-skill.js +37 -26
  5. package/cli/commands/sync.js +90 -0
  6. package/cli/lib/agents-block.js +139 -0
  7. package/cli/lib/skills.js +182 -0
  8. package/cli/templates/{AGENTS.md → agents-block.md} +55 -16
  9. package/dist/cjs/components/Dialog/Dialog.css +10 -0
  10. package/dist/cjs/components/Dialog/Dialog.js +58 -48
  11. package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
  12. package/dist/cjs/components/Dialog/index.js +6 -1
  13. package/dist/cjs/components/Dialog/index.js.map +1 -1
  14. package/dist/cjs/components/Drawer/Drawer.css +4 -24
  15. package/dist/cjs/components/Drawer/Drawer.js +20 -10
  16. package/dist/cjs/components/Drawer/Drawer.js.map +1 -1
  17. package/dist/cjs/components/NumberInput/NumberInput.js +88 -3
  18. package/dist/cjs/components/NumberInput/NumberInput.js.map +1 -1
  19. package/dist/cjs/components/Toggle/Toggle.js +2 -2
  20. package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
  21. package/dist/cjs/components/TopBar/TopBar.css +11 -10
  22. package/dist/cjs/components/TopBar/TopBar.js +33 -3
  23. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  24. package/dist/cjs/components/View/View.js +11 -12
  25. package/dist/cjs/components/View/View.js.map +1 -1
  26. package/dist/cjs/components/index.js +7 -3
  27. package/dist/cjs/components/index.js.map +1 -1
  28. package/dist/cjs/utils/useDismissGuard.js +114 -0
  29. package/dist/cjs/utils/useDismissGuard.js.map +1 -0
  30. package/dist/esm/components/Dialog/Dialog.css +10 -0
  31. package/dist/esm/components/Dialog/Dialog.js +57 -49
  32. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  33. package/dist/esm/components/Dialog/index.js +2 -1
  34. package/dist/esm/components/Dialog/index.js.map +1 -1
  35. package/dist/esm/components/Drawer/Drawer.css +4 -24
  36. package/dist/esm/components/Drawer/Drawer.js +21 -11
  37. package/dist/esm/components/Drawer/Drawer.js.map +1 -1
  38. package/dist/esm/components/NumberInput/NumberInput.js +88 -3
  39. package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
  40. package/dist/esm/components/Toggle/Toggle.js +2 -2
  41. package/dist/esm/components/Toggle/Toggle.js.map +1 -1
  42. package/dist/esm/components/TopBar/TopBar.css +11 -10
  43. package/dist/esm/components/TopBar/TopBar.js +30 -3
  44. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  45. package/dist/esm/components/View/View.js +11 -12
  46. package/dist/esm/components/View/View.js.map +1 -1
  47. package/dist/esm/components/index.js +1 -1
  48. package/dist/esm/components/index.js.map +1 -1
  49. package/dist/esm/utils/useDismissGuard.js +106 -0
  50. package/dist/esm/utils/useDismissGuard.js.map +1 -0
  51. package/dist/styles/components/Dialog.css +10 -0
  52. package/dist/styles/components/Drawer.css +4 -24
  53. package/dist/styles/index.css +1172 -1182
  54. package/dist/styles/muka-dark.css +1172 -1182
  55. package/dist/styles/muka-light.css +1172 -1182
  56. package/dist/styles/wireframe-dark.css +1172 -1182
  57. package/dist/styles/wireframe-light.css +1172 -1182
  58. package/dist/types/components/Dialog/Dialog.d.ts +54 -11
  59. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
  60. package/dist/types/components/Dialog/index.d.ts +2 -1
  61. package/dist/types/components/Dialog/index.d.ts.map +1 -1
  62. package/dist/types/components/Drawer/Drawer.d.ts +38 -5
  63. package/dist/types/components/Drawer/Drawer.d.ts.map +1 -1
  64. package/dist/types/components/NumberInput/NumberInput.d.ts +9 -0
  65. package/dist/types/components/NumberInput/NumberInput.d.ts.map +1 -1
  66. package/dist/types/components/Toggle/Toggle.d.ts +6 -0
  67. package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
  68. package/dist/types/components/TopBar/TopBar.d.ts +12 -1
  69. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  70. package/dist/types/components/View/View.d.ts +4 -3
  71. package/dist/types/components/View/View.d.ts.map +1 -1
  72. package/dist/types/components/index.d.ts +1 -1
  73. package/dist/types/components/index.d.ts.map +1 -1
  74. package/dist/types/utils/useDismissGuard.d.ts +87 -0
  75. package/dist/types/utils/useDismissGuard.d.ts.map +1 -0
  76. package/docs/consumers/README.md +6 -2
  77. package/docs/consumers/dialogs.md +124 -0
  78. package/docs/consumers/setup-instructions.md +55 -9
  79. package/docs/consumers/skills.md +29 -13
  80. package/eslint/index.js +293 -0
  81. package/package.json +14 -2
  82. package/skills/setup-muka/SKILL.md +59 -7
  83. package/templates/muka-check.yml +45 -0
  84. package/templates/update-muka.yml +17 -4
  85. package/cli/templates/CLAUDE.md +0 -15
@@ -2476,38 +2476,6 @@ body {
2476
2476
  }
2477
2477
 
2478
2478
 
2479
- /* VoiceMessage */
2480
- /* VoiceMessage Component Styles */
2481
-
2482
- .muka-voice-message {
2483
- display: flex;
2484
- align-items: center;
2485
- gap: var(--spacing-3);
2486
- width: 100%;
2487
- min-width: min(16rem, 60vw);
2488
- }
2489
-
2490
- .muka-voice-message__wave {
2491
- flex: 1 1 auto;
2492
- min-width: 0;
2493
- }
2494
-
2495
- .muka-voice-message__time {
2496
- flex: 0 0 auto;
2497
- white-space: nowrap;
2498
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2499
- line-height: var(--text-label-sm-lineHeight, 1);
2500
- font-variant-numeric: tabular-nums;
2501
- color: var(--color-text-subtle-default);
2502
- }
2503
-
2504
- /* On the tinted own bubble the surface is the action color, so the timer flips
2505
- * to the inverse text token for contrast. */
2506
- .muka-voice-message--own .muka-voice-message__time {
2507
- color: var(--color-text-default-inverse);
2508
- }
2509
-
2510
-
2511
2479
  /* View */
2512
2480
  /* View Component Styles */
2513
2481
 
@@ -2618,6 +2586,38 @@ body {
2618
2586
  }
2619
2587
 
2620
2588
 
2589
+ /* VoiceMessage */
2590
+ /* VoiceMessage Component Styles */
2591
+
2592
+ .muka-voice-message {
2593
+ display: flex;
2594
+ align-items: center;
2595
+ gap: var(--spacing-3);
2596
+ width: 100%;
2597
+ min-width: min(16rem, 60vw);
2598
+ }
2599
+
2600
+ .muka-voice-message__wave {
2601
+ flex: 1 1 auto;
2602
+ min-width: 0;
2603
+ }
2604
+
2605
+ .muka-voice-message__time {
2606
+ flex: 0 0 auto;
2607
+ white-space: nowrap;
2608
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
2609
+ line-height: var(--text-label-sm-lineHeight, 1);
2610
+ font-variant-numeric: tabular-nums;
2611
+ color: var(--color-text-subtle-default);
2612
+ }
2613
+
2614
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2615
+ * to the inverse text token for contrast. */
2616
+ .muka-voice-message--own .muka-voice-message__time {
2617
+ color: var(--color-text-default-inverse);
2618
+ }
2619
+
2620
+
2621
2621
  /* Typography */
2622
2622
  .muka-typography-catalog {
2623
2623
  display: flex;
@@ -3321,985 +3321,985 @@ body {
3321
3321
  }
3322
3322
 
3323
3323
 
3324
- /* Tile */
3325
- /* Tile Component Styles - Using Muka Design Tokens */
3326
-
3327
- /* ─── Base ────────────────────────────────────────────── */
3328
-
3329
- .muka-tile {
3330
- display: flex;
3331
- color: var(--color-text-default-default);
3332
- }
3324
+ /* Thumbnail */
3325
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3333
3326
 
3334
- .muka-tile--interactive {
3335
- cursor: pointer;
3336
- user-select: none;
3327
+ .muka-thumbnail {
3328
+ position: relative;
3329
+ flex-shrink: 0;
3337
3330
  }
3338
3331
 
3339
- .muka-tile--interactive:focus-visible {
3340
- outline: 2px solid var(--color-border-focus);
3341
- outline-offset: 2px;
3332
+ /* The frame carries the border, background and shape clip. Keeping it separate
3333
+ from the root lets the remove (×) button sit outside the clip (needed for the
3334
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3335
+ .muka-thumbnail__frame {
3336
+ position: absolute;
3337
+ inset: 0;
3338
+ overflow: hidden;
3339
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3342
3340
  border-radius: var(--border-radius-lg);
3341
+ background-color: var(--color-surface-level1);
3343
3342
  }
3344
3343
 
3345
- /* ─── Image position variants ─────────────────────────── */
3344
+ /* ─── Shapes ──────────────────────────────────────────── */
3345
+ .muka-thumbnail--4-3 {
3346
+ width: 160px;
3347
+ height: 120px;
3348
+ }
3346
3349
 
3347
- .muka-tile--image-top {
3348
- flex-direction: column;
3350
+ .muka-thumbnail--1-1 {
3351
+ width: 120px;
3352
+ height: 120px;
3349
3353
  }
3350
3354
 
3351
- .muka-tile--image-left {
3352
- flex-direction: row;
3355
+ .muka-thumbnail--ellipse {
3356
+ width: 120px;
3357
+ height: 120px;
3353
3358
  }
3354
3359
 
3355
- .muka-tile--image-right {
3356
- flex-direction: row;
3360
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3361
+ .muka-thumbnail--fluid {
3362
+ width: 100%;
3363
+ height: auto;
3364
+ aspect-ratio: 1 / 1;
3357
3365
  }
3358
3366
 
3359
- /* ─── Gap by size (top) ───────────────────────────────── */
3367
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3368
+ aspect-ratio: 4 / 3;
3369
+ }
3360
3370
 
3361
- .muka-tile--image-top.muka-tile--lg {
3362
- gap: var(--spacing-6);
3371
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3372
+ border-radius: var(--border-radius-full);
3363
3373
  }
3364
3374
 
3365
- .muka-tile--image-top.muka-tile--md {
3366
- gap: var(--spacing-6);
3367
- width: 320px;
3375
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3376
+ interactive hover zoom has a clean origin. */
3377
+ .muka-thumbnail__image {
3378
+ position: absolute;
3379
+ inset: 0;
3380
+ width: 100%;
3381
+ height: 100%;
3382
+ object-fit: cover;
3383
+ display: block;
3384
+ transform-origin: center;
3385
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3386
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3368
3387
  }
3369
3388
 
3370
- .muka-tile--image-top.muka-tile--sm {
3371
- gap: var(--spacing-4);
3372
- min-width: 120px;
3389
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3390
+ .muka-thumbnail__trigger {
3391
+ position: absolute;
3392
+ inset: 0;
3393
+ padding: 0;
3394
+ border: 0;
3395
+ background: none;
3396
+ cursor: pointer;
3397
+ overflow: hidden;
3373
3398
  }
3374
3399
 
3375
- /* ─── Gap by size (left/right) ────────────────────────── */
3400
+ .muka-thumbnail__trigger:focus-visible {
3401
+ outline: 2px solid var(--color-border-focus);
3402
+ outline-offset: -2px;
3403
+ }
3376
3404
 
3377
- .muka-tile--image-left.muka-tile--lg,
3378
- .muka-tile--image-right.muka-tile--lg {
3379
- gap: var(--spacing-6);
3380
- align-items: center;
3405
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3406
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3407
+ transform: scale(1.05);
3381
3408
  }
3382
3409
 
3383
- .muka-tile--image-left.muka-tile--md,
3384
- .muka-tile--image-right.muka-tile--md {
3385
- gap: var(--spacing-6);
3410
+ /* ─── Loading overlay + progress donut ────────────────── */
3411
+ .muka-thumbnail__overlay {
3412
+ position: absolute;
3413
+ inset: 0;
3414
+ display: flex;
3386
3415
  align-items: center;
3416
+ justify-content: center;
3417
+ background-color: var(--dialog-color-backdrop);
3387
3418
  }
3388
3419
 
3389
- .muka-tile--image-left.muka-tile--sm,
3390
- .muka-tile--image-right.muka-tile--sm {
3391
- gap: var(--spacing-4);
3392
- align-items: flex-start;
3420
+ .muka-thumbnail__progress {
3421
+ width: 40px;
3422
+ height: 40px;
3393
3423
  }
3394
3424
 
3395
- /* ─── Photos container ────────────────────────────────── */
3425
+ /* ─── Error / corrupt state ───────────────────────────── */
3426
+ .muka-thumbnail--error .muka-thumbnail__frame {
3427
+ background-color: var(--alias-color-state-error-muted);
3428
+ border-color: var(--alias-color-state-error-default);
3429
+ }
3396
3430
 
3397
- .muka-tile__photos {
3398
- position: relative;
3399
- flex-shrink: 0;
3400
- overflow: hidden;
3431
+ .muka-thumbnail__error {
3432
+ position: absolute;
3433
+ inset: 0;
3401
3434
  display: flex;
3402
3435
  flex-direction: column;
3403
- isolation: isolate;
3436
+ align-items: center;
3437
+ justify-content: center;
3438
+ gap: var(--spacing-2);
3439
+ padding: var(--spacing-3);
3440
+ text-align: center;
3404
3441
  }
3405
3442
 
3406
- /* Photos border radius by size */
3407
- .muka-tile--lg .muka-tile__photos,
3408
- .muka-tile--md .muka-tile__photos {
3409
- border-radius: var(--border-radius-lg);
3443
+ .muka-thumbnail__error-icon {
3444
+ color: var(--alert-color-error-accent);
3410
3445
  }
3411
3446
 
3412
- .muka-tile--sm .muka-tile__photos {
3413
- border-radius: var(--border-radius-md);
3447
+ .muka-thumbnail__caption {
3448
+ max-width: 100%;
3449
+ overflow: hidden;
3450
+ text-overflow: ellipsis;
3451
+ white-space: nowrap;
3452
+ color: var(--alert-color-error-accent);
3453
+ font-family: var(--text-body-sm-regular-fontFamily);
3454
+ font-size: var(--text-body-sm-regular-fontSize);
3455
+ font-weight: var(--text-body-sm-regular-fontWeight);
3456
+ line-height: var(--text-body-sm-regular-lineHeight);
3414
3457
  }
3415
3458
 
3416
- /* Photos sizing: top layout */
3417
- .muka-tile--image-top .muka-tile__photos {
3418
- width: 100%;
3459
+ /* ─── Remove (×) button ───────────────────────────────── */
3460
+ .muka-thumbnail__remove {
3461
+ position: absolute;
3462
+ top: var(--spacing-2);
3463
+ right: var(--spacing-2);
3464
+ display: flex;
3465
+ align-items: center;
3466
+ justify-content: center;
3467
+ width: var(--size-2xl);
3468
+ height: var(--size-2xl);
3469
+ padding: 0;
3470
+ color: var(--button-color-tertiary-foreground-default);
3471
+ background-color: var(--button-color-tertiary-background-default);
3472
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3473
+ border-radius: var(--border-radius-lg);
3474
+ cursor: pointer;
3475
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3476
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3419
3477
  }
3420
3478
 
3421
- /* Photos sizing: left/right large */
3422
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3423
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3424
- width: 520px;
3479
+ .muka-thumbnail__remove:hover {
3480
+ color: var(--button-color-tertiary-foreground-hover);
3481
+ background-color: var(--button-color-tertiary-background-hover);
3482
+ border-color: var(--button-color-tertiary-border-hover);
3425
3483
  }
3426
3484
 
3427
- /* Photos sizing: left/right medium */
3428
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3429
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3430
- width: 320px;
3485
+ .muka-thumbnail__remove:active {
3486
+ color: var(--button-color-tertiary-foreground-pressed);
3487
+ background-color: var(--button-color-tertiary-background-pressed);
3488
+ border-color: var(--button-color-tertiary-border-pressed);
3431
3489
  }
3432
3490
 
3433
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3434
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3435
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3436
- width: 80px;
3437
- align-self: stretch;
3491
+ .muka-thumbnail__remove:focus-visible {
3492
+ outline: 2px solid var(--color-border-focus);
3493
+ outline-offset: 2px;
3438
3494
  }
3439
3495
 
3440
- /* ─── Main photo ──────────────────────────────────────── */
3496
+ /* ─── Reduced motion ──────────────────────────────────── */
3497
+ @media (prefers-reduced-motion: reduce) {
3498
+ .muka-thumbnail__image,
3499
+ .muka-thumbnail__remove {
3500
+ transition: none;
3501
+ }
3441
3502
 
3442
- .muka-tile__photo-main {
3443
- position: relative;
3444
- width: 100%;
3445
- overflow: hidden;
3446
- flex-shrink: 0;
3503
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3504
+ transform: none;
3505
+ }
3447
3506
  }
3448
3507
 
3449
- /* 16:9 aspect for lg and md */
3450
- .muka-tile--lg .muka-tile__photo-main,
3451
- .muka-tile--md .muka-tile__photo-main {
3452
- aspect-ratio: 1280 / 720;
3453
- }
3454
3508
 
3455
- /* 1:1 aspect for top + sm */
3456
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3457
- aspect-ratio: 1 / 1;
3458
- }
3509
+ /* Textarea */
3510
+ /* Textarea Component Styles - Using Muka Design Tokens */
3459
3511
 
3460
- /* Fixed size for left/right + sm */
3461
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3462
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3463
- width: 80px;
3464
- height: 80px;
3465
- aspect-ratio: auto;
3512
+ .muka-textarea {
3513
+ display: inline-flex;
3514
+ flex-direction: column;
3515
+ gap: var(--spacing-2);
3466
3516
  }
3467
3517
 
3468
- .muka-tile__photo-main img {
3469
- width: 100%;
3470
- height: 100%;
3471
- object-fit: cover;
3472
- display: block;
3518
+ /* Label */
3519
+ .muka-textarea__label {
3520
+ color: var(--color-text-default-default);
3521
+ cursor: pointer;
3473
3522
  }
3474
3523
 
3475
- /* ─── Favourite overlay ───────────────────────────────── */
3476
-
3477
- .muka-tile__favourite {
3478
- position: absolute;
3479
- z-index: 3;
3524
+ .muka-textarea__label--sm {
3525
+ font-family: var(--text-label-sm-semibold-fontFamily);
3526
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3527
+ font-size: var(--text-label-sm-semibold-fontSize);
3528
+ line-height: var(--text-label-sm-semibold-lineHeight);
3480
3529
  }
3481
3530
 
3482
- .muka-tile--lg .muka-tile__favourite,
3483
- .muka-tile--md .muka-tile__favourite {
3484
- top: var(--spacing-4);
3485
- right: var(--spacing-4);
3531
+ .muka-textarea__label--md {
3532
+ font-family: var(--text-label-md-semibold-fontFamily);
3533
+ font-weight: var(--text-label-md-semibold-fontWeight);
3534
+ font-size: var(--text-label-md-semibold-fontSize);
3535
+ line-height: var(--text-label-md-semibold-lineHeight);
3486
3536
  }
3487
3537
 
3488
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3489
- top: var(--spacing-1);
3490
- right: var(--spacing-1);
3538
+ .muka-textarea__label--lg {
3539
+ font-family: var(--text-label-lg-semibold-fontFamily);
3540
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3541
+ font-size: var(--text-label-lg-semibold-fontSize);
3542
+ line-height: var(--text-label-lg-semibold-lineHeight);
3491
3543
  }
3492
3544
 
3493
- /* ─── Thumbnails ──────────────────────────────────────── */
3545
+ .muka-textarea__required {
3546
+ color: var(--color-state-error-default);
3547
+ }
3494
3548
 
3495
- .muka-tile__thumbnails {
3549
+ /* Field container */
3550
+ .muka-textarea__field {
3496
3551
  display: flex;
3497
- gap: 2px;
3498
- overflow: hidden;
3499
- flex-shrink: 0;
3500
- height: 80px;
3552
+ background-color: var(--input-field-color-default-background);
3553
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3554
+ border-radius: var(--input-field-radius-md);
3555
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3556
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3557
+ box-sizing: border-box;
3501
3558
  }
3502
3559
 
3503
- .muka-tile__thumbnail {
3504
- width: 80px;
3505
- height: 80px;
3506
- flex-shrink: 0;
3507
- overflow: hidden;
3560
+ .muka-textarea__field--sm {
3561
+ min-height: var(--input-textarea-height-sm);
3562
+ border-radius: var(--input-field-radius-sm);
3508
3563
  }
3509
3564
 
3510
- .muka-tile__thumbnail img {
3511
- width: 100%;
3512
- height: 100%;
3513
- object-fit: cover;
3514
- display: block;
3565
+ .muka-textarea__field--md {
3566
+ min-height: var(--input-textarea-height-default);
3567
+ border-radius: var(--input-field-radius-md);
3515
3568
  }
3516
3569
 
3517
- /* Gap between main photo and thumbnails */
3518
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3519
- margin-top: 2px;
3570
+ .muka-textarea__field--lg {
3571
+ min-height: var(--input-textarea-height-lg);
3572
+ border-radius: var(--input-field-radius-lg);
3520
3573
  }
3521
3574
 
3522
- /* ─── Content section ─────────────────────────────────── */
3523
-
3524
- .muka-tile__content {
3525
- display: flex;
3526
- flex-direction: column;
3527
- flex: 1;
3528
- min-width: 0;
3575
+ /* Focus state */
3576
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3577
+ border-width: var(--border-width-bold);
3578
+ border-color: var(--input-field-color-focus-border);
3579
+ background-color: var(--input-field-color-focus-background);
3580
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3529
3581
  }
3530
3582
 
3531
- /* Top layout: content has horizontal padding */
3532
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3533
- padding: 0 var(--spacing-3);
3534
- gap: var(--spacing-1);
3583
+ /* Error state */
3584
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3585
+ border-width: var(--border-width-bold);
3586
+ border-color: var(--input-field-color-error-border);
3587
+ background-color: var(--input-field-color-error-background);
3588
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3535
3589
  }
3536
3590
 
3537
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3538
- padding: 0 var(--spacing-3);
3539
- gap: var(--spacing-2);
3591
+ /* Disabled state */
3592
+ .muka-textarea__field--disabled {
3593
+ background-color: var(--input-field-color-disabled-background);
3594
+ border-color: var(--input-field-color-disabled-border);
3595
+ cursor: not-allowed;
3540
3596
  }
3541
3597
 
3542
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3543
- gap: var(--spacing-2);
3598
+ /* Native textarea */
3599
+ .muka-textarea__native {
3600
+ flex: 1;
3601
+ border: none;
3602
+ outline: none;
3603
+ background: transparent;
3604
+ color: var(--input-field-color-default-foreground);
3605
+ font-family: var(--text-input-md-fontFamily);
3606
+ font-weight: var(--text-input-md-fontWeight);
3607
+ font-size: var(--text-input-md-fontSize);
3608
+ line-height: var(--text-input-md-lineHeight);
3609
+ padding: 0;
3610
+ width: 100%;
3611
+ min-width: 0;
3544
3612
  }
3545
3613
 
3546
- /* Left/right layout: content grows to fill space */
3547
- .muka-tile--image-left .muka-tile__content,
3548
- .muka-tile--image-right .muka-tile__content {
3549
- gap: var(--spacing-3);
3614
+ .muka-textarea__field--sm .muka-textarea__native {
3615
+ font-family: var(--text-input-sm-fontFamily);
3616
+ font-weight: var(--text-input-sm-fontWeight);
3617
+ font-size: var(--text-input-sm-fontSize);
3618
+ line-height: var(--text-input-sm-lineHeight);
3550
3619
  }
3551
3620
 
3552
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3553
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3554
- padding: 0 var(--spacing-3);
3621
+ .muka-textarea__field--lg .muka-textarea__native {
3622
+ font-family: var(--text-input-lg-fontFamily);
3623
+ font-weight: var(--text-input-lg-fontWeight);
3624
+ font-size: var(--text-input-lg-fontSize);
3625
+ line-height: var(--text-input-lg-lineHeight);
3555
3626
  }
3556
3627
 
3557
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3558
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3559
- padding: var(--spacing-2) var(--spacing-3);
3628
+ .muka-textarea__native::placeholder {
3629
+ color: var(--color-text-subtle-default);
3560
3630
  }
3561
3631
 
3562
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3563
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3564
- gap: var(--spacing-2);
3632
+ .muka-textarea__field--disabled .muka-textarea__native {
3633
+ color: var(--input-field-color-disabled-foreground);
3634
+ cursor: not-allowed;
3565
3635
  }
3566
3636
 
3567
- /* ─── Header (heading row + price) ────────────────────── */
3568
-
3569
- .muka-tile__header {
3637
+ /* Footer (helper/error + count) */
3638
+ .muka-textarea__footer {
3570
3639
  display: flex;
3640
+ justify-content: space-between;
3571
3641
  align-items: flex-start;
3572
- gap: var(--spacing-4);
3573
- }
3574
-
3575
- /* Small horizontal: row with text and action */
3576
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3577
3642
  gap: var(--spacing-2);
3578
- align-items: center;
3579
- padding-top: var(--spacing-1);
3580
3643
  }
3581
3644
 
3582
- /* ─── Text group ──────────────────────────────────────── */
3583
-
3584
- .muka-tile__text {
3585
- display: flex;
3586
- flex-direction: column;
3587
- flex: 1;
3588
- min-width: 0;
3589
- gap: var(--spacing-2);
3645
+ .muka-textarea__helper {
3646
+ font-family: var(--text-label-sm-regular-fontFamily);
3647
+ font-weight: var(--text-label-sm-regular-fontWeight);
3648
+ font-size: var(--text-label-sm-regular-fontSize);
3649
+ line-height: var(--text-label-sm-regular-lineHeight);
3650
+ color: var(--color-text-subtle-default);
3651
+ margin: 0;
3590
3652
  }
3591
3653
 
3592
- /* ─── Heading typography ──────────────────────────────── */
3593
-
3594
- .muka-tile__heading {
3654
+ .muka-textarea__error {
3655
+ font-family: var(--text-label-sm-regular-fontFamily);
3656
+ font-weight: var(--text-label-sm-regular-fontWeight);
3657
+ font-size: var(--text-label-sm-regular-fontSize);
3658
+ line-height: var(--text-label-sm-regular-lineHeight);
3659
+ color: var(--color-state-error-default);
3595
3660
  margin: 0;
3596
3661
  }
3597
3662
 
3598
- .muka-tile--lg .muka-tile__heading {
3599
- font-family: var(--text-label-2xl-semibold-fontFamily);
3600
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3601
- font-size: var(--text-label-2xl-semibold-fontSize);
3602
- line-height: var(--text-label-2xl-semibold-lineHeight);
3603
- color: var(--color-text-default-default);
3663
+ .muka-textarea__count {
3664
+ font-family: var(--text-label-sm-regular-fontFamily);
3665
+ font-weight: var(--text-label-sm-regular-fontWeight);
3666
+ font-size: var(--text-label-sm-regular-fontSize);
3667
+ line-height: var(--text-label-sm-regular-lineHeight);
3668
+ color: var(--color-text-subtle-default);
3669
+ margin-left: auto;
3604
3670
  }
3605
3671
 
3606
- .muka-tile--md .muka-tile__heading {
3607
- font-family: var(--text-label-xl-semibold-fontFamily);
3608
- font-weight: var(--text-label-xl-semibold-fontWeight);
3609
- font-size: var(--text-label-xl-semibold-fontSize);
3610
- line-height: var(--text-label-xl-semibold-lineHeight);
3611
- color: var(--color-text-default-default);
3612
- }
3613
3672
 
3614
- .muka-tile--sm .muka-tile__heading {
3615
- font-family: var(--text-label-lg-bold-fontFamily);
3616
- font-weight: var(--text-label-lg-bold-fontWeight);
3617
- font-size: var(--text-label-lg-bold-fontSize);
3618
- line-height: var(--text-label-lg-bold-lineHeight);
3619
- color: var(--color-text-default-default);
3620
- }
3621
-
3622
- /* ─── Subheading typography ───────────────────────────── */
3623
-
3624
- .muka-tile__subheading {
3625
- margin: 0;
3626
- color: var(--color-text-subtle-default);
3627
- }
3673
+ /* TextLink */
3674
+ /* TextLink Component Styles - Using Muka Design Tokens */
3628
3675
 
3629
- .muka-tile--lg .muka-tile__subheading {
3630
- font-family: var(--text-subheading-md-fontFamily);
3631
- font-weight: var(--text-subheading-md-fontWeight);
3632
- font-size: var(--text-subheading-md-fontSize);
3633
- line-height: var(--text-subheading-md-lineHeight);
3676
+ .muka-text-link {
3677
+ display: inline;
3678
+ cursor: pointer;
3679
+ text-decoration: underline;
3680
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3681
+ text-underline-offset: 0.2em;
3682
+ text-decoration-thickness: from-font;
3683
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
3684
+ border-radius: var(--border-radius-sm);
3685
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3634
3686
  }
3635
3687
 
3636
- .muka-tile--md .muka-tile__subheading,
3637
- .muka-tile--sm .muka-tile__subheading {
3638
- font-family: var(--text-subheading-sm-fontFamily);
3639
- font-weight: var(--text-subheading-sm-fontWeight);
3640
- font-size: var(--text-subheading-sm-fontSize);
3641
- line-height: var(--text-subheading-sm-lineHeight);
3688
+ /* ─── Sizes ───────────────────────────────────────────────
3689
+ Mirrors the body text scale so a link matches the copy it sits in. */
3690
+ .muka-text-link--sm {
3691
+ font-family: var(--text-body-sm-regular-fontFamily);
3692
+ font-weight: var(--text-body-sm-regular-fontWeight);
3693
+ font-size: var(--text-body-sm-regular-fontSize);
3694
+ line-height: var(--text-body-sm-regular-lineHeight);
3642
3695
  }
3643
3696
 
3644
- /* ─── Description typography ──────────────────────────── */
3645
-
3646
- .muka-tile__description {
3647
- margin: 0;
3648
- color: var(--color-text-default-default);
3697
+ .muka-text-link--base {
3698
+ font-family: var(--text-body-base-regular-fontFamily);
3699
+ font-weight: var(--text-body-base-regular-fontWeight);
3700
+ font-size: var(--text-body-base-regular-fontSize);
3701
+ line-height: var(--text-body-base-regular-lineHeight);
3649
3702
  }
3650
3703
 
3651
- .muka-tile--lg .muka-tile__description {
3704
+ .muka-text-link--lg {
3652
3705
  font-family: var(--text-body-lg-regular-fontFamily);
3653
3706
  font-weight: var(--text-body-lg-regular-fontWeight);
3654
3707
  font-size: var(--text-body-lg-regular-fontSize);
3655
3708
  line-height: var(--text-body-lg-regular-lineHeight);
3656
3709
  }
3657
3710
 
3658
- .muka-tile--md .muka-tile__description,
3659
- .muka-tile--sm .muka-tile__description {
3660
- font-family: var(--text-body-base-regular-fontFamily);
3661
- font-weight: var(--text-body-base-regular-fontWeight);
3662
- font-size: var(--text-body-base-regular-fontSize);
3663
- line-height: var(--text-body-base-regular-lineHeight);
3711
+ /* ─── Variant: default (accent) ───────────────────────────
3712
+ Visited repeats the default colour on purpose: the design treats visited and
3713
+ default the same, and pinning it stops the browser's purple from showing. */
3714
+ .muka-text-link--default,
3715
+ .muka-text-link--default:visited {
3716
+ color: var(--color-text-action-default);
3664
3717
  }
3665
3718
 
3666
- /* Description overflow for medium */
3667
- .muka-tile--md .muka-tile__description {
3668
- overflow: hidden;
3669
- text-overflow: ellipsis;
3719
+ .muka-text-link--default:hover,
3720
+ .muka-text-link--default:focus-visible {
3721
+ color: var(--color-text-action-hover);
3670
3722
  }
3671
3723
 
3672
- /* ─── Price slot ──────────────────────────────────────── */
3673
-
3674
- .muka-tile__price {
3675
- flex-shrink: 0;
3724
+ .muka-text-link--default:active {
3725
+ color: var(--color-text-action-pressed);
3676
3726
  }
3677
3727
 
3678
- /* ─── Action slot ─────────────────────────────────────── */
3679
-
3680
- .muka-tile__action {
3681
- flex-shrink: 0;
3728
+ /* ─── Variant: subtle (neutral) ───────────────────────────
3729
+ Hover, focus and pressed all darken to the default text colour. */
3730
+ .muka-text-link--subtle,
3731
+ .muka-text-link--subtle:visited {
3732
+ color: var(--color-text-subtle-default);
3682
3733
  }
3683
3734
 
3684
-
3685
- /* Thumbnail */
3686
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3687
-
3688
- .muka-thumbnail {
3689
- position: relative;
3690
- flex-shrink: 0;
3735
+ .muka-text-link--subtle:hover,
3736
+ .muka-text-link--subtle:focus-visible,
3737
+ .muka-text-link--subtle:active {
3738
+ color: var(--color-text-default-default);
3691
3739
  }
3692
3740
 
3693
- /* The frame carries the border, background and shape clip. Keeping it separate
3694
- from the root lets the remove (×) button sit outside the clip (needed for the
3695
- circular/ellipse shape, whose corners would otherwise clip the button). */
3696
- .muka-thumbnail__frame {
3697
- position: absolute;
3698
- inset: 0;
3699
- overflow: hidden;
3700
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3701
- border-radius: var(--border-radius-lg);
3702
- background-color: var(--color-surface-level1);
3741
+ /* ─── Focus ───────────────────────────────────────────────
3742
+ Same ring as every other focusable Muka component. */
3743
+ .muka-text-link:focus-visible {
3744
+ outline: 2px solid var(--color-border-focus);
3745
+ outline-offset: 2px;
3703
3746
  }
3704
3747
 
3705
- /* ─── Shapes ──────────────────────────────────────────── */
3706
- .muka-thumbnail--4-3 {
3707
- width: 160px;
3708
- height: 120px;
3748
+ @media (prefers-reduced-motion: reduce) {
3749
+ .muka-text-link {
3750
+ transition: none;
3751
+ }
3709
3752
  }
3710
3753
 
3711
- .muka-thumbnail--1-1 {
3712
- width: 120px;
3713
- height: 120px;
3714
- }
3715
3754
 
3716
- .muka-thumbnail--ellipse {
3717
- width: 120px;
3718
- height: 120px;
3719
- }
3755
+ /* Tabs */
3756
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3720
3757
 
3721
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3722
- .muka-thumbnail--fluid {
3723
- width: 100%;
3724
- height: auto;
3725
- aspect-ratio: 1 / 1;
3758
+ .muka-tabs {
3759
+ display: flex;
3760
+ flex-direction: column;
3726
3761
  }
3727
3762
 
3728
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3729
- aspect-ratio: 4 / 3;
3763
+ /* Alignment Variants */
3764
+ .muka-tabs--align-left .muka-tabs__list {
3765
+ justify-content: flex-start;
3730
3766
  }
3731
-
3732
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3733
- border-radius: var(--border-radius-full);
3767
+ .muka-tabs--align-center .muka-tabs__list {
3768
+ justify-content: center;
3734
3769
  }
3735
-
3736
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3737
- interactive hover zoom has a clean origin. */
3738
- .muka-thumbnail__image {
3739
- position: absolute;
3740
- inset: 0;
3741
- width: 100%;
3742
- height: 100%;
3743
- object-fit: cover;
3744
- display: block;
3745
- transform-origin: center;
3746
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3747
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3770
+ .muka-tabs--align-fill .muka-tabs__list {
3771
+ justify-content: space-between;
3748
3772
  }
3749
-
3750
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3751
- .muka-thumbnail__trigger {
3752
- position: absolute;
3753
- inset: 0;
3754
- padding: 0;
3755
- border: 0;
3756
- background: none;
3757
- cursor: pointer;
3758
- overflow: hidden;
3773
+ .muka-tabs--align-fill .muka-tabs__trigger {
3774
+ flex: 1;
3759
3775
  }
3760
3776
 
3761
- .muka-thumbnail__trigger:focus-visible {
3762
- outline: 2px solid var(--color-border-focus);
3763
- outline-offset: -2px;
3777
+ /* Tab List — strip container */
3778
+ .muka-tabs__list {
3779
+ display: flex;
3780
+ align-items: center;
3781
+ position: relative;
3782
+ z-index: 2;
3783
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3764
3784
  }
3765
3785
 
3766
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3767
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3768
- transform: scale(1.05);
3786
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
3787
+ .muka-tabs--padding-default .muka-tabs__list {
3788
+ padding-inline: var(--tabs-list-padding-x);
3769
3789
  }
3770
3790
 
3771
- /* ─── Loading overlay + progress donut ────────────────── */
3772
- .muka-thumbnail__overlay {
3773
- position: absolute;
3774
- inset: 0;
3775
- display: flex;
3791
+ /* Tab Trigger — clean underline style */
3792
+ .muka-tabs__trigger {
3793
+ display: inline-flex;
3776
3794
  align-items: center;
3777
3795
  justify-content: center;
3778
- background-color: var(--dialog-color-backdrop);
3796
+ gap: var(--spacing-1);
3797
+ background: transparent;
3798
+ border: none;
3799
+ cursor: pointer;
3800
+ user-select: none;
3801
+ transition: background-color 0.2s ease, color 0.2s ease;
3802
+ outline: none;
3803
+ white-space: nowrap;
3804
+ position: relative;
3805
+ z-index: 2;
3806
+ color: var(--tabs-trigger-color-default-foreground);
3807
+
3808
+ /* Default MD size values */
3809
+ min-height: var(--tabs-trigger-min-height-md);
3810
+ padding: var(--spacing-3);
3811
+ font-family: var(--text-label-md-regular-fontFamily);
3812
+ font-weight: var(--text-label-md-regular-fontWeight);
3813
+ font-size: var(--text-label-md-regular-fontSize);
3814
+ line-height: var(--text-label-md-regular-lineHeight);
3779
3815
  }
3780
3816
 
3781
- .muka-thumbnail__progress {
3782
- width: 40px;
3783
- height: 40px;
3817
+ /* Size Variants */
3818
+ .muka-tabs--size-sm .muka-tabs__trigger {
3819
+ min-height: var(--tabs-trigger-min-height-sm);
3820
+ padding: 0 var(--spacing-2);
3821
+ font-family: var(--text-label-sm-regular-fontFamily);
3822
+ font-weight: var(--text-label-sm-regular-fontWeight);
3823
+ font-size: var(--text-label-sm-regular-fontSize);
3824
+ line-height: var(--text-label-sm-regular-lineHeight);
3784
3825
  }
3785
3826
 
3786
- /* ─── Error / corrupt state ───────────────────────────── */
3787
- .muka-thumbnail--error .muka-thumbnail__frame {
3788
- background-color: var(--alias-color-state-error-muted);
3789
- border-color: var(--alias-color-state-error-default);
3827
+ .muka-tabs--size-lg .muka-tabs__trigger {
3828
+ min-height: var(--tabs-trigger-min-height-lg);
3829
+ padding: var(--spacing-4);
3830
+ font-family: var(--text-label-lg-regular-fontFamily);
3831
+ font-weight: var(--text-label-lg-regular-fontWeight);
3832
+ font-size: var(--text-label-lg-regular-fontSize);
3833
+ line-height: var(--text-label-lg-regular-lineHeight);
3790
3834
  }
3791
3835
 
3792
- .muka-thumbnail__error {
3793
- position: absolute;
3794
- inset: 0;
3795
- display: flex;
3796
- flex-direction: column;
3797
- align-items: center;
3798
- justify-content: center;
3799
- gap: var(--spacing-2);
3800
- padding: var(--spacing-3);
3801
- text-align: center;
3836
+ /* Hover state */
3837
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
3838
+ color: var(--tabs-trigger-color-hover-foreground);
3802
3839
  }
3803
3840
 
3804
- .muka-thumbnail__error-icon {
3805
- color: var(--alert-color-error-accent);
3841
+ /* Current tab */
3842
+ .muka-tabs__trigger--current {
3843
+ color: var(--tabs-trigger-color-current-foreground);
3806
3844
  }
3807
3845
 
3808
- .muka-thumbnail__caption {
3809
- max-width: 100%;
3810
- overflow: hidden;
3811
- text-overflow: ellipsis;
3812
- white-space: nowrap;
3813
- color: var(--alert-color-error-accent);
3814
- font-family: var(--text-body-sm-regular-fontFamily);
3815
- font-size: var(--text-body-sm-regular-fontSize);
3816
- font-weight: var(--text-body-sm-regular-fontWeight);
3817
- line-height: var(--text-body-sm-regular-lineHeight);
3846
+ /* Active bottom border (underline) */
3847
+ .muka-tabs__trigger--current::after {
3848
+ content: '';
3849
+ position: absolute;
3850
+ bottom: -1px; /* Overlap the 1px border */
3851
+ left: 0;
3852
+ right: 0;
3853
+ height: var(--tabs-indicator-height-md);
3854
+ background-color: var(--tabs-indicator-color);
3855
+ border-bottom-left-radius: 1px;
3856
+ border-bottom-right-radius: 1px;
3857
+ border-top-left-radius: 3px;
3858
+ border-top-right-radius: 3px;
3859
+ z-index: 3;
3818
3860
  }
3819
3861
 
3820
- /* ─── Remove (×) button ───────────────────────────────── */
3821
- .muka-thumbnail__remove {
3822
- position: absolute;
3823
- top: var(--spacing-2);
3824
- right: var(--spacing-2);
3862
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
3863
+ height: var(--tabs-indicator-height-sm);
3864
+ }
3865
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
3866
+ height: var(--tabs-indicator-height-lg);
3867
+ }
3868
+
3869
+ .muka-tabs__trigger--disabled {
3870
+ color: var(--tabs-trigger-color-disabled-foreground);
3871
+ cursor: not-allowed;
3872
+ }
3873
+
3874
+ .muka-tabs__trigger:focus-visible {
3875
+ outline: 2px solid var(--color-border-focus);
3876
+ outline-offset: -2px;
3877
+ }
3878
+
3879
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
3880
+ item sits 12px from the text */
3881
+ .muka-tabs__label {
3882
+ padding: 0 var(--spacing-2);
3883
+ }
3884
+
3885
+ /* Leading item: icon, avatar, avatar group or data pie chart */
3886
+ .muka-tabs__leading {
3825
3887
  display: flex;
3826
3888
  align-items: center;
3827
3889
  justify-content: center;
3828
- width: var(--size-2xl);
3829
- height: var(--size-2xl);
3830
- padding: 0;
3831
- color: var(--button-color-tertiary-foreground-default);
3832
- background-color: var(--button-color-tertiary-background-default);
3833
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3834
- border-radius: var(--border-radius-lg);
3835
- cursor: pointer;
3836
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3837
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3890
+ flex-shrink: 0;
3891
+ }
3892
+ .muka-tabs__trigger .muka-icon {
3893
+ color: inherit;
3838
3894
  }
3895
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
3896
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
3897
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
3898
+ .muka-tabs--size-md .muka-tabs__leading > svg,
3899
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
3900
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
3901
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
3839
3902
 
3840
- .muka-thumbnail__remove:hover {
3841
- color: var(--button-color-tertiary-foreground-hover);
3842
- background-color: var(--button-color-tertiary-background-hover);
3843
- border-color: var(--button-color-tertiary-border-hover);
3903
+ /* Responsive Scroll behavior on small screens */
3904
+ @media (max-width: 768px) {
3905
+ .muka-tabs__list {
3906
+ /* Make scrollable */
3907
+ overflow-x: auto;
3908
+ overflow-y: hidden;
3909
+ /* Force left alignment on mobile to prevent clipping when scrolling */
3910
+ justify-content: flex-start !important;
3911
+ max-width: 100vw;
3912
+ -webkit-overflow-scrolling: touch;
3913
+ /* Hide scrollbar for cleaner look */
3914
+ scrollbar-width: none;
3915
+ }
3916
+ .muka-tabs__list::-webkit-scrollbar {
3917
+ display: none;
3918
+ }
3919
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
3920
+ .muka-tabs--align-fill .muka-tabs__trigger {
3921
+ flex: 0 0 auto;
3922
+ }
3844
3923
  }
3845
3924
 
3846
- .muka-thumbnail__remove:active {
3847
- color: var(--button-color-tertiary-foreground-pressed);
3848
- background-color: var(--button-color-tertiary-background-pressed);
3849
- border-color: var(--button-color-tertiary-border-pressed);
3925
+ /* Tab Panel — content area */
3926
+ .muka-tabs__panel {
3927
+ background-color: var(--tabs-panel-background);
3928
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
3929
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
3930
+ padding: var(--spacing-4);
3931
+ position: relative;
3932
+ z-index: 1;
3933
+ font-family: var(--text-body-base-regular-fontFamily);
3934
+ font-weight: var(--text-body-base-regular-fontWeight);
3935
+ font-size: var(--text-body-base-regular-fontSize);
3936
+ line-height: var(--text-body-base-regular-lineHeight);
3850
3937
  }
3851
3938
 
3852
- .muka-thumbnail__remove:focus-visible {
3939
+ .muka-tabs__panel:focus-visible {
3853
3940
  outline: 2px solid var(--color-border-focus);
3854
3941
  outline-offset: 2px;
3855
3942
  }
3856
3943
 
3857
- /* ─── Reduced motion ──────────────────────────────────── */
3858
- @media (prefers-reduced-motion: reduce) {
3859
- .muka-thumbnail__image,
3860
- .muka-thumbnail__remove {
3861
- transition: none;
3862
- }
3863
-
3864
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3865
- transform: none;
3866
- }
3867
- }
3868
3944
 
3945
+ /* Tile */
3946
+ /* Tile Component Styles - Using Muka Design Tokens */
3869
3947
 
3870
- /* Textarea */
3871
- /* Textarea Component Styles - Using Muka Design Tokens */
3948
+ /* ─── Base ────────────────────────────────────────────── */
3872
3949
 
3873
- .muka-textarea {
3874
- display: inline-flex;
3875
- flex-direction: column;
3876
- gap: var(--spacing-2);
3950
+ .muka-tile {
3951
+ display: flex;
3952
+ color: var(--color-text-default-default);
3877
3953
  }
3878
3954
 
3879
- /* Label */
3880
- .muka-textarea__label {
3881
- color: var(--color-text-default-default);
3955
+ .muka-tile--interactive {
3882
3956
  cursor: pointer;
3957
+ user-select: none;
3883
3958
  }
3884
3959
 
3885
- .muka-textarea__label--sm {
3886
- font-family: var(--text-label-sm-semibold-fontFamily);
3887
- font-weight: var(--text-label-sm-semibold-fontWeight);
3888
- font-size: var(--text-label-sm-semibold-fontSize);
3889
- line-height: var(--text-label-sm-semibold-lineHeight);
3960
+ .muka-tile--interactive:focus-visible {
3961
+ outline: 2px solid var(--color-border-focus);
3962
+ outline-offset: 2px;
3963
+ border-radius: var(--border-radius-lg);
3890
3964
  }
3891
3965
 
3892
- .muka-textarea__label--md {
3893
- font-family: var(--text-label-md-semibold-fontFamily);
3894
- font-weight: var(--text-label-md-semibold-fontWeight);
3895
- font-size: var(--text-label-md-semibold-fontSize);
3896
- line-height: var(--text-label-md-semibold-lineHeight);
3897
- }
3966
+ /* ─── Image position variants ─────────────────────────── */
3898
3967
 
3899
- .muka-textarea__label--lg {
3900
- font-family: var(--text-label-lg-semibold-fontFamily);
3901
- font-weight: var(--text-label-lg-semibold-fontWeight);
3902
- font-size: var(--text-label-lg-semibold-fontSize);
3903
- line-height: var(--text-label-lg-semibold-lineHeight);
3968
+ .muka-tile--image-top {
3969
+ flex-direction: column;
3904
3970
  }
3905
3971
 
3906
- .muka-textarea__required {
3907
- color: var(--color-state-error-default);
3972
+ .muka-tile--image-left {
3973
+ flex-direction: row;
3908
3974
  }
3909
3975
 
3910
- /* Field container */
3911
- .muka-textarea__field {
3912
- display: flex;
3913
- background-color: var(--input-field-color-default-background);
3914
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3915
- border-radius: var(--input-field-radius-md);
3916
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3917
- transition: border-color 0.2s ease, background-color 0.2s ease;
3918
- box-sizing: border-box;
3976
+ .muka-tile--image-right {
3977
+ flex-direction: row;
3919
3978
  }
3920
3979
 
3921
- .muka-textarea__field--sm {
3922
- min-height: var(--input-textarea-height-sm);
3923
- border-radius: var(--input-field-radius-sm);
3924
- }
3980
+ /* ─── Gap by size (top) ───────────────────────────────── */
3925
3981
 
3926
- .muka-textarea__field--md {
3927
- min-height: var(--input-textarea-height-default);
3928
- border-radius: var(--input-field-radius-md);
3982
+ .muka-tile--image-top.muka-tile--lg {
3983
+ gap: var(--spacing-6);
3929
3984
  }
3930
3985
 
3931
- .muka-textarea__field--lg {
3932
- min-height: var(--input-textarea-height-lg);
3933
- border-radius: var(--input-field-radius-lg);
3986
+ .muka-tile--image-top.muka-tile--md {
3987
+ gap: var(--spacing-6);
3988
+ width: 320px;
3934
3989
  }
3935
3990
 
3936
- /* Focus state */
3937
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3938
- border-width: var(--border-width-bold);
3939
- border-color: var(--input-field-color-focus-border);
3940
- background-color: var(--input-field-color-focus-background);
3941
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3991
+ .muka-tile--image-top.muka-tile--sm {
3992
+ gap: var(--spacing-4);
3993
+ min-width: 120px;
3942
3994
  }
3943
3995
 
3944
- /* Error state */
3945
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3946
- border-width: var(--border-width-bold);
3947
- border-color: var(--input-field-color-error-border);
3948
- background-color: var(--input-field-color-error-background);
3949
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3950
- }
3996
+ /* ─── Gap by size (left/right) ────────────────────────── */
3951
3997
 
3952
- /* Disabled state */
3953
- .muka-textarea__field--disabled {
3954
- background-color: var(--input-field-color-disabled-background);
3955
- border-color: var(--input-field-color-disabled-border);
3956
- cursor: not-allowed;
3998
+ .muka-tile--image-left.muka-tile--lg,
3999
+ .muka-tile--image-right.muka-tile--lg {
4000
+ gap: var(--spacing-6);
4001
+ align-items: center;
3957
4002
  }
3958
4003
 
3959
- /* Native textarea */
3960
- .muka-textarea__native {
3961
- flex: 1;
3962
- border: none;
3963
- outline: none;
3964
- background: transparent;
3965
- color: var(--input-field-color-default-foreground);
3966
- font-family: var(--text-input-md-fontFamily);
3967
- font-weight: var(--text-input-md-fontWeight);
3968
- font-size: var(--text-input-md-fontSize);
3969
- line-height: var(--text-input-md-lineHeight);
3970
- padding: 0;
3971
- width: 100%;
3972
- min-width: 0;
4004
+ .muka-tile--image-left.muka-tile--md,
4005
+ .muka-tile--image-right.muka-tile--md {
4006
+ gap: var(--spacing-6);
4007
+ align-items: center;
3973
4008
  }
3974
4009
 
3975
- .muka-textarea__field--sm .muka-textarea__native {
3976
- font-family: var(--text-input-sm-fontFamily);
3977
- font-weight: var(--text-input-sm-fontWeight);
3978
- font-size: var(--text-input-sm-fontSize);
3979
- line-height: var(--text-input-sm-lineHeight);
4010
+ .muka-tile--image-left.muka-tile--sm,
4011
+ .muka-tile--image-right.muka-tile--sm {
4012
+ gap: var(--spacing-4);
4013
+ align-items: flex-start;
3980
4014
  }
3981
4015
 
3982
- .muka-textarea__field--lg .muka-textarea__native {
3983
- font-family: var(--text-input-lg-fontFamily);
3984
- font-weight: var(--text-input-lg-fontWeight);
3985
- font-size: var(--text-input-lg-fontSize);
3986
- line-height: var(--text-input-lg-lineHeight);
4016
+ /* ─── Photos container ────────────────────────────────── */
4017
+
4018
+ .muka-tile__photos {
4019
+ position: relative;
4020
+ flex-shrink: 0;
4021
+ overflow: hidden;
4022
+ display: flex;
4023
+ flex-direction: column;
4024
+ isolation: isolate;
3987
4025
  }
3988
4026
 
3989
- .muka-textarea__native::placeholder {
3990
- color: var(--color-text-subtle-default);
4027
+ /* Photos border radius by size */
4028
+ .muka-tile--lg .muka-tile__photos,
4029
+ .muka-tile--md .muka-tile__photos {
4030
+ border-radius: var(--border-radius-lg);
3991
4031
  }
3992
4032
 
3993
- .muka-textarea__field--disabled .muka-textarea__native {
3994
- color: var(--input-field-color-disabled-foreground);
3995
- cursor: not-allowed;
4033
+ .muka-tile--sm .muka-tile__photos {
4034
+ border-radius: var(--border-radius-md);
3996
4035
  }
3997
4036
 
3998
- /* Footer (helper/error + count) */
3999
- .muka-textarea__footer {
4000
- display: flex;
4001
- justify-content: space-between;
4002
- align-items: flex-start;
4003
- gap: var(--spacing-2);
4037
+ /* Photos sizing: top layout */
4038
+ .muka-tile--image-top .muka-tile__photos {
4039
+ width: 100%;
4004
4040
  }
4005
4041
 
4006
- .muka-textarea__helper {
4007
- font-family: var(--text-label-sm-regular-fontFamily);
4008
- font-weight: var(--text-label-sm-regular-fontWeight);
4009
- font-size: var(--text-label-sm-regular-fontSize);
4010
- line-height: var(--text-label-sm-regular-lineHeight);
4011
- color: var(--color-text-subtle-default);
4012
- margin: 0;
4042
+ /* Photos sizing: left/right large */
4043
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4044
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4045
+ width: 520px;
4013
4046
  }
4014
4047
 
4015
- .muka-textarea__error {
4016
- font-family: var(--text-label-sm-regular-fontFamily);
4017
- font-weight: var(--text-label-sm-regular-fontWeight);
4018
- font-size: var(--text-label-sm-regular-fontSize);
4019
- line-height: var(--text-label-sm-regular-lineHeight);
4020
- color: var(--color-state-error-default);
4021
- margin: 0;
4048
+ /* Photos sizing: left/right medium */
4049
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4050
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4051
+ width: 320px;
4022
4052
  }
4023
4053
 
4024
- .muka-textarea__count {
4025
- font-family: var(--text-label-sm-regular-fontFamily);
4026
- font-weight: var(--text-label-sm-regular-fontWeight);
4027
- font-size: var(--text-label-sm-regular-fontSize);
4028
- line-height: var(--text-label-sm-regular-lineHeight);
4029
- color: var(--color-text-subtle-default);
4030
- margin-left: auto;
4054
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4055
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4056
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4057
+ width: 80px;
4058
+ align-self: stretch;
4031
4059
  }
4032
4060
 
4061
+ /* ─── Main photo ──────────────────────────────────────── */
4033
4062
 
4034
- /* TextLink */
4035
- /* TextLink Component Styles - Using Muka Design Tokens */
4036
-
4037
- .muka-text-link {
4038
- display: inline;
4039
- cursor: pointer;
4040
- text-decoration: underline;
4041
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4042
- text-underline-offset: 0.2em;
4043
- text-decoration-thickness: from-font;
4044
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4045
- border-radius: var(--border-radius-sm);
4046
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4063
+ .muka-tile__photo-main {
4064
+ position: relative;
4065
+ width: 100%;
4066
+ overflow: hidden;
4067
+ flex-shrink: 0;
4047
4068
  }
4048
4069
 
4049
- /* ─── Sizes ───────────────────────────────────────────────
4050
- Mirrors the body text scale so a link matches the copy it sits in. */
4051
- .muka-text-link--sm {
4052
- font-family: var(--text-body-sm-regular-fontFamily);
4053
- font-weight: var(--text-body-sm-regular-fontWeight);
4054
- font-size: var(--text-body-sm-regular-fontSize);
4055
- line-height: var(--text-body-sm-regular-lineHeight);
4070
+ /* 16:9 aspect for lg and md */
4071
+ .muka-tile--lg .muka-tile__photo-main,
4072
+ .muka-tile--md .muka-tile__photo-main {
4073
+ aspect-ratio: 1280 / 720;
4056
4074
  }
4057
4075
 
4058
- .muka-text-link--base {
4059
- font-family: var(--text-body-base-regular-fontFamily);
4060
- font-weight: var(--text-body-base-regular-fontWeight);
4061
- font-size: var(--text-body-base-regular-fontSize);
4062
- line-height: var(--text-body-base-regular-lineHeight);
4076
+ /* 1:1 aspect for top + sm */
4077
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4078
+ aspect-ratio: 1 / 1;
4063
4079
  }
4064
4080
 
4065
- .muka-text-link--lg {
4066
- font-family: var(--text-body-lg-regular-fontFamily);
4067
- font-weight: var(--text-body-lg-regular-fontWeight);
4068
- font-size: var(--text-body-lg-regular-fontSize);
4069
- line-height: var(--text-body-lg-regular-lineHeight);
4081
+ /* Fixed size for left/right + sm */
4082
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4083
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4084
+ width: 80px;
4085
+ height: 80px;
4086
+ aspect-ratio: auto;
4070
4087
  }
4071
4088
 
4072
- /* ─── Variant: default (accent) ───────────────────────────
4073
- Visited repeats the default colour on purpose: the design treats visited and
4074
- default the same, and pinning it stops the browser's purple from showing. */
4075
- .muka-text-link--default,
4076
- .muka-text-link--default:visited {
4077
- color: var(--color-text-action-default);
4089
+ .muka-tile__photo-main img {
4090
+ width: 100%;
4091
+ height: 100%;
4092
+ object-fit: cover;
4093
+ display: block;
4078
4094
  }
4079
4095
 
4080
- .muka-text-link--default:hover,
4081
- .muka-text-link--default:focus-visible {
4082
- color: var(--color-text-action-hover);
4096
+ /* ─── Favourite overlay ───────────────────────────────── */
4097
+
4098
+ .muka-tile__favourite {
4099
+ position: absolute;
4100
+ z-index: 3;
4083
4101
  }
4084
4102
 
4085
- .muka-text-link--default:active {
4086
- color: var(--color-text-action-pressed);
4103
+ .muka-tile--lg .muka-tile__favourite,
4104
+ .muka-tile--md .muka-tile__favourite {
4105
+ top: var(--spacing-4);
4106
+ right: var(--spacing-4);
4087
4107
  }
4088
4108
 
4089
- /* ─── Variant: subtle (neutral) ───────────────────────────
4090
- Hover, focus and pressed all darken to the default text colour. */
4091
- .muka-text-link--subtle,
4092
- .muka-text-link--subtle:visited {
4093
- color: var(--color-text-subtle-default);
4109
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4110
+ top: var(--spacing-1);
4111
+ right: var(--spacing-1);
4094
4112
  }
4095
4113
 
4096
- .muka-text-link--subtle:hover,
4097
- .muka-text-link--subtle:focus-visible,
4098
- .muka-text-link--subtle:active {
4099
- color: var(--color-text-default-default);
4114
+ /* ─── Thumbnails ──────────────────────────────────────── */
4115
+
4116
+ .muka-tile__thumbnails {
4117
+ display: flex;
4118
+ gap: 2px;
4119
+ overflow: hidden;
4120
+ flex-shrink: 0;
4121
+ height: 80px;
4100
4122
  }
4101
4123
 
4102
- /* ─── Focus ───────────────────────────────────────────────
4103
- Same ring as every other focusable Muka component. */
4104
- .muka-text-link:focus-visible {
4105
- outline: 2px solid var(--color-border-focus);
4106
- outline-offset: 2px;
4124
+ .muka-tile__thumbnail {
4125
+ width: 80px;
4126
+ height: 80px;
4127
+ flex-shrink: 0;
4128
+ overflow: hidden;
4107
4129
  }
4108
4130
 
4109
- @media (prefers-reduced-motion: reduce) {
4110
- .muka-text-link {
4111
- transition: none;
4112
- }
4131
+ .muka-tile__thumbnail img {
4132
+ width: 100%;
4133
+ height: 100%;
4134
+ object-fit: cover;
4135
+ display: block;
4113
4136
  }
4114
4137
 
4138
+ /* Gap between main photo and thumbnails */
4139
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4140
+ margin-top: 2px;
4141
+ }
4115
4142
 
4116
- /* Tabs */
4117
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4143
+ /* ─── Content section ─────────────────────────────────── */
4118
4144
 
4119
- .muka-tabs {
4145
+ .muka-tile__content {
4120
4146
  display: flex;
4121
4147
  flex-direction: column;
4148
+ flex: 1;
4149
+ min-width: 0;
4122
4150
  }
4123
4151
 
4124
- /* Alignment Variants */
4125
- .muka-tabs--align-left .muka-tabs__list {
4126
- justify-content: flex-start;
4152
+ /* Top layout: content has horizontal padding */
4153
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4154
+ padding: 0 var(--spacing-3);
4155
+ gap: var(--spacing-1);
4127
4156
  }
4128
- .muka-tabs--align-center .muka-tabs__list {
4129
- justify-content: center;
4157
+
4158
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4159
+ padding: 0 var(--spacing-3);
4160
+ gap: var(--spacing-2);
4130
4161
  }
4131
- .muka-tabs--align-fill .muka-tabs__list {
4132
- justify-content: space-between;
4162
+
4163
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4164
+ gap: var(--spacing-2);
4133
4165
  }
4134
- .muka-tabs--align-fill .muka-tabs__trigger {
4135
- flex: 1;
4166
+
4167
+ /* Left/right layout: content grows to fill space */
4168
+ .muka-tile--image-left .muka-tile__content,
4169
+ .muka-tile--image-right .muka-tile__content {
4170
+ gap: var(--spacing-3);
4136
4171
  }
4137
4172
 
4138
- /* Tab List — strip container */
4139
- .muka-tabs__list {
4140
- display: flex;
4141
- align-items: center;
4142
- position: relative;
4143
- z-index: 2;
4144
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4173
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4174
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4175
+ padding: 0 var(--spacing-3);
4145
4176
  }
4146
4177
 
4147
- /* Padding: inset the tabs; the divider (border) still spans the full width */
4148
- .muka-tabs--padding-default .muka-tabs__list {
4149
- padding-inline: var(--tabs-list-padding-x);
4178
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4179
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4180
+ padding: var(--spacing-2) var(--spacing-3);
4150
4181
  }
4151
4182
 
4152
- /* Tab Trigger — clean underline style */
4153
- .muka-tabs__trigger {
4154
- display: inline-flex;
4155
- align-items: center;
4156
- justify-content: center;
4157
- gap: var(--spacing-1);
4158
- background: transparent;
4159
- border: none;
4160
- cursor: pointer;
4161
- user-select: none;
4162
- transition: background-color 0.2s ease, color 0.2s ease;
4163
- outline: none;
4164
- white-space: nowrap;
4165
- position: relative;
4166
- z-index: 2;
4167
- color: var(--tabs-trigger-color-default-foreground);
4183
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4184
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4185
+ gap: var(--spacing-2);
4186
+ }
4168
4187
 
4169
- /* Default MD size values */
4170
- min-height: var(--tabs-trigger-min-height-md);
4171
- padding: var(--spacing-3);
4172
- font-family: var(--text-label-md-regular-fontFamily);
4173
- font-weight: var(--text-label-md-regular-fontWeight);
4174
- font-size: var(--text-label-md-regular-fontSize);
4175
- line-height: var(--text-label-md-regular-lineHeight);
4188
+ /* ─── Header (heading row + price) ────────────────────── */
4189
+
4190
+ .muka-tile__header {
4191
+ display: flex;
4192
+ align-items: flex-start;
4193
+ gap: var(--spacing-4);
4176
4194
  }
4177
4195
 
4178
- /* Size Variants */
4179
- .muka-tabs--size-sm .muka-tabs__trigger {
4180
- min-height: var(--tabs-trigger-min-height-sm);
4181
- padding: 0 var(--spacing-2);
4182
- font-family: var(--text-label-sm-regular-fontFamily);
4183
- font-weight: var(--text-label-sm-regular-fontWeight);
4184
- font-size: var(--text-label-sm-regular-fontSize);
4185
- line-height: var(--text-label-sm-regular-lineHeight);
4196
+ /* Small horizontal: row with text and action */
4197
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4198
+ gap: var(--spacing-2);
4199
+ align-items: center;
4200
+ padding-top: var(--spacing-1);
4186
4201
  }
4187
4202
 
4188
- .muka-tabs--size-lg .muka-tabs__trigger {
4189
- min-height: var(--tabs-trigger-min-height-lg);
4190
- padding: var(--spacing-4);
4191
- font-family: var(--text-label-lg-regular-fontFamily);
4192
- font-weight: var(--text-label-lg-regular-fontWeight);
4193
- font-size: var(--text-label-lg-regular-fontSize);
4194
- line-height: var(--text-label-lg-regular-lineHeight);
4203
+ /* ─── Text group ──────────────────────────────────────── */
4204
+
4205
+ .muka-tile__text {
4206
+ display: flex;
4207
+ flex-direction: column;
4208
+ flex: 1;
4209
+ min-width: 0;
4210
+ gap: var(--spacing-2);
4195
4211
  }
4196
4212
 
4197
- /* Hover state */
4198
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4199
- color: var(--tabs-trigger-color-hover-foreground);
4213
+ /* ─── Heading typography ──────────────────────────────── */
4214
+
4215
+ .muka-tile__heading {
4216
+ margin: 0;
4200
4217
  }
4201
4218
 
4202
- /* Current tab */
4203
- .muka-tabs__trigger--current {
4204
- color: var(--tabs-trigger-color-current-foreground);
4219
+ .muka-tile--lg .muka-tile__heading {
4220
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4221
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4222
+ font-size: var(--text-label-2xl-semibold-fontSize);
4223
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4224
+ color: var(--color-text-default-default);
4205
4225
  }
4206
4226
 
4207
- /* Active bottom border (underline) */
4208
- .muka-tabs__trigger--current::after {
4209
- content: '';
4210
- position: absolute;
4211
- bottom: -1px; /* Overlap the 1px border */
4212
- left: 0;
4213
- right: 0;
4214
- height: var(--tabs-indicator-height-md);
4215
- background-color: var(--tabs-indicator-color);
4216
- border-bottom-left-radius: 1px;
4217
- border-bottom-right-radius: 1px;
4218
- border-top-left-radius: 3px;
4219
- border-top-right-radius: 3px;
4220
- z-index: 3;
4227
+ .muka-tile--md .muka-tile__heading {
4228
+ font-family: var(--text-label-xl-semibold-fontFamily);
4229
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4230
+ font-size: var(--text-label-xl-semibold-fontSize);
4231
+ line-height: var(--text-label-xl-semibold-lineHeight);
4232
+ color: var(--color-text-default-default);
4221
4233
  }
4222
4234
 
4223
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4224
- height: var(--tabs-indicator-height-sm);
4225
- }
4226
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4227
- height: var(--tabs-indicator-height-lg);
4235
+ .muka-tile--sm .muka-tile__heading {
4236
+ font-family: var(--text-label-lg-bold-fontFamily);
4237
+ font-weight: var(--text-label-lg-bold-fontWeight);
4238
+ font-size: var(--text-label-lg-bold-fontSize);
4239
+ line-height: var(--text-label-lg-bold-lineHeight);
4240
+ color: var(--color-text-default-default);
4228
4241
  }
4229
4242
 
4230
- .muka-tabs__trigger--disabled {
4231
- color: var(--tabs-trigger-color-disabled-foreground);
4232
- cursor: not-allowed;
4233
- }
4243
+ /* ─── Subheading typography ───────────────────────────── */
4234
4244
 
4235
- .muka-tabs__trigger:focus-visible {
4236
- outline: 2px solid var(--color-border-focus);
4237
- outline-offset: -2px;
4245
+ .muka-tile__subheading {
4246
+ margin: 0;
4247
+ color: var(--color-text-subtle-default);
4238
4248
  }
4239
4249
 
4240
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4241
- item sits 12px from the text */
4242
- .muka-tabs__label {
4243
- padding: 0 var(--spacing-2);
4250
+ .muka-tile--lg .muka-tile__subheading {
4251
+ font-family: var(--text-subheading-md-fontFamily);
4252
+ font-weight: var(--text-subheading-md-fontWeight);
4253
+ font-size: var(--text-subheading-md-fontSize);
4254
+ line-height: var(--text-subheading-md-lineHeight);
4244
4255
  }
4245
4256
 
4246
- /* Leading item: icon, avatar, avatar group or data pie chart */
4247
- .muka-tabs__leading {
4248
- display: flex;
4249
- align-items: center;
4250
- justify-content: center;
4251
- flex-shrink: 0;
4257
+ .muka-tile--md .muka-tile__subheading,
4258
+ .muka-tile--sm .muka-tile__subheading {
4259
+ font-family: var(--text-subheading-sm-fontFamily);
4260
+ font-weight: var(--text-subheading-sm-fontWeight);
4261
+ font-size: var(--text-subheading-sm-fontSize);
4262
+ line-height: var(--text-subheading-sm-lineHeight);
4252
4263
  }
4253
- .muka-tabs__trigger .muka-icon {
4254
- color: inherit;
4264
+
4265
+ /* ─── Description typography ──────────────────────────── */
4266
+
4267
+ .muka-tile__description {
4268
+ margin: 0;
4269
+ color: var(--color-text-default-default);
4255
4270
  }
4256
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4257
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4258
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4259
- .muka-tabs--size-md .muka-tabs__leading > svg,
4260
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4261
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4262
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4263
4271
 
4264
- /* Responsive Scroll behavior on small screens */
4265
- @media (max-width: 768px) {
4266
- .muka-tabs__list {
4267
- /* Make scrollable */
4268
- overflow-x: auto;
4269
- overflow-y: hidden;
4270
- /* Force left alignment on mobile to prevent clipping when scrolling */
4271
- justify-content: flex-start !important;
4272
- max-width: 100vw;
4273
- -webkit-overflow-scrolling: touch;
4274
- /* Hide scrollbar for cleaner look */
4275
- scrollbar-width: none;
4276
- }
4277
- .muka-tabs__list::-webkit-scrollbar {
4278
- display: none;
4279
- }
4280
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4281
- .muka-tabs--align-fill .muka-tabs__trigger {
4282
- flex: 0 0 auto;
4283
- }
4272
+ .muka-tile--lg .muka-tile__description {
4273
+ font-family: var(--text-body-lg-regular-fontFamily);
4274
+ font-weight: var(--text-body-lg-regular-fontWeight);
4275
+ font-size: var(--text-body-lg-regular-fontSize);
4276
+ line-height: var(--text-body-lg-regular-lineHeight);
4284
4277
  }
4285
4278
 
4286
- /* Tab Panel — content area */
4287
- .muka-tabs__panel {
4288
- background-color: var(--tabs-panel-background);
4289
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4290
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4291
- padding: var(--spacing-4);
4292
- position: relative;
4293
- z-index: 1;
4279
+ .muka-tile--md .muka-tile__description,
4280
+ .muka-tile--sm .muka-tile__description {
4294
4281
  font-family: var(--text-body-base-regular-fontFamily);
4295
4282
  font-weight: var(--text-body-base-regular-fontWeight);
4296
4283
  font-size: var(--text-body-base-regular-fontSize);
4297
4284
  line-height: var(--text-body-base-regular-lineHeight);
4298
4285
  }
4299
4286
 
4300
- .muka-tabs__panel:focus-visible {
4301
- outline: 2px solid var(--color-border-focus);
4302
- outline-offset: 2px;
4287
+ /* Description overflow for medium */
4288
+ .muka-tile--md .muka-tile__description {
4289
+ overflow: hidden;
4290
+ text-overflow: ellipsis;
4291
+ }
4292
+
4293
+ /* ─── Price slot ──────────────────────────────────────── */
4294
+
4295
+ .muka-tile__price {
4296
+ flex-shrink: 0;
4297
+ }
4298
+
4299
+ /* ─── Action slot ─────────────────────────────────────── */
4300
+
4301
+ .muka-tile__action {
4302
+ flex-shrink: 0;
4303
4303
  }
4304
4304
 
4305
4305
 
@@ -10333,71 +10333,212 @@ li.muka-listitem {
10333
10333
 
10334
10334
  /* ─── Extended (pill shape with label) ────────────────── */
10335
10335
 
10336
- .muka-fab--extended {
10337
- width: auto;
10338
- height: auto;
10339
- padding: var(--spacing-3) var(--spacing-4);
10340
- border-radius: var(--radius-full);
10336
+ .muka-fab--extended {
10337
+ width: auto;
10338
+ height: auto;
10339
+ padding: var(--spacing-3) var(--spacing-4);
10340
+ border-radius: var(--radius-full);
10341
+ }
10342
+
10343
+ .muka-fab--extended.muka-fab--lg {
10344
+ padding: var(--spacing-4) var(--spacing-5);
10345
+ }
10346
+
10347
+ .muka-fab__icon {
10348
+ display: inline-flex;
10349
+ align-items: center;
10350
+ justify-content: center;
10351
+ width: 24px;
10352
+ height: 24px;
10353
+ }
10354
+
10355
+ .muka-fab__icon svg {
10356
+ width: 100%;
10357
+ height: 100%;
10358
+ }
10359
+
10360
+ .muka-fab__label {
10361
+ font-family: var(--text-label-md-semibold-fontFamily);
10362
+ font-weight: var(--text-label-md-semibold-fontWeight);
10363
+ font-size: var(--text-label-md-semibold-fontSize);
10364
+ line-height: var(--text-label-md-semibold-lineHeight);
10365
+ }
10366
+
10367
+ /* ─── Positioning ─────────────────────────────────────── */
10368
+
10369
+ .muka-fab--bottom-right {
10370
+ right: var(--spacing-4);
10371
+ bottom: var(--spacing-4);
10372
+ }
10373
+
10374
+ .muka-fab--bottom-left {
10375
+ left: var(--spacing-4);
10376
+ bottom: var(--spacing-4);
10377
+ }
10378
+
10379
+ .muka-fab--bottom-center {
10380
+ left: 50%;
10381
+ bottom: var(--spacing-4);
10382
+ transform: translateX(-50%);
10383
+ }
10384
+
10385
+ .muka-fab--bottom-center:active {
10386
+ transform: translateX(-50%) scale(0.96);
10387
+ }
10388
+
10389
+ /* Add the iOS home-indicator inset to the bottom offset. */
10390
+ .muka-fab:not(.muka-fab--no-safe-area) {
10391
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
10392
+ }
10393
+
10394
+ /* Lateral safe-area for landscape iPhone with notch. */
10395
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
10396
+ right: max(var(--spacing-4), env(safe-area-inset-right));
10397
+ }
10398
+
10399
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
10400
+ left: max(var(--spacing-4), env(safe-area-inset-left));
10401
+ }
10402
+
10403
+
10404
+ /* EmptyState */
10405
+ /* EmptyState Component Styles - Using Muka Design Tokens */
10406
+
10407
+ .muka-emptystate {
10408
+ display: flex;
10409
+ flex-direction: column;
10410
+ align-items: center;
10411
+ justify-content: center;
10412
+ gap: var(--emptystate-container-gap);
10413
+ max-width: var(--emptystate-container-maxWidth);
10414
+ margin: 0 auto;
10415
+ text-align: center;
10416
+ }
10417
+
10418
+ /* Alignment variants */
10419
+ .muka-emptystate--left {
10420
+ align-items: flex-start;
10421
+ text-align: left;
10422
+ }
10423
+
10424
+ /* Size variants */
10425
+ .muka-emptystate--sm {
10426
+ padding: var(--emptystate-container-padding-sm);
10427
+ }
10428
+
10429
+ .muka-emptystate--md {
10430
+ padding: var(--emptystate-container-padding-md);
10431
+ }
10432
+
10433
+ .muka-emptystate--lg {
10434
+ padding: var(--emptystate-container-padding-lg);
10435
+ }
10436
+
10437
+ /* Visual (icon or illustration) */
10438
+ .muka-emptystate__visual {
10439
+ display: flex;
10440
+ align-items: center;
10441
+ justify-content: center;
10442
+ color: var(--emptystate-icon-color);
10443
+ flex-shrink: 0;
10444
+ }
10445
+
10446
+ .muka-emptystate--sm .muka-emptystate__visual {
10447
+ width: var(--emptystate-icon-size-sm);
10448
+ height: var(--emptystate-icon-size-sm);
10449
+ }
10450
+
10451
+ .muka-emptystate--md .muka-emptystate__visual {
10452
+ width: var(--emptystate-icon-size-md);
10453
+ height: var(--emptystate-icon-size-md);
10341
10454
  }
10342
10455
 
10343
- .muka-fab--extended.muka-fab--lg {
10344
- padding: var(--spacing-4) var(--spacing-5);
10456
+ .muka-emptystate--lg .muka-emptystate__visual {
10457
+ width: var(--emptystate-icon-size-lg);
10458
+ height: var(--emptystate-icon-size-lg);
10345
10459
  }
10346
10460
 
10347
- .muka-fab__icon {
10348
- display: inline-flex;
10349
- align-items: center;
10350
- justify-content: center;
10351
- width: 24px;
10352
- height: 24px;
10461
+ .muka-emptystate__visual svg {
10462
+ width: 100%;
10463
+ height: 100%;
10353
10464
  }
10354
10465
 
10355
- .muka-fab__icon svg {
10466
+ .muka-emptystate__visual img {
10356
10467
  width: 100%;
10357
10468
  height: 100%;
10469
+ object-fit: contain;
10358
10470
  }
10359
10471
 
10360
- .muka-fab__label {
10361
- font-family: var(--text-label-md-semibold-fontFamily);
10362
- font-weight: var(--text-label-md-semibold-fontWeight);
10363
- font-size: var(--text-label-md-semibold-fontSize);
10364
- line-height: var(--text-label-md-semibold-lineHeight);
10472
+ /* Content */
10473
+ .muka-emptystate__content {
10474
+ display: flex;
10475
+ flex-direction: column;
10476
+ gap: var(--spacing-2);
10365
10477
  }
10366
10478
 
10367
- /* ─── Positioning ─────────────────────────────────────── */
10479
+ .muka-emptystate--left .muka-emptystate__content {
10480
+ align-items: flex-start;
10481
+ }
10368
10482
 
10369
- .muka-fab--bottom-right {
10370
- right: var(--spacing-4);
10371
- bottom: var(--spacing-4);
10483
+ /* Title */
10484
+ .muka-emptystate__title {
10485
+ color: var(--emptystate-title-color);
10486
+ margin: 0;
10487
+ font-family: var(--text-heading-sm-fontFamily);
10488
+ font-weight: var(--text-heading-sm-fontWeight);
10489
+ font-size: var(--text-heading-sm-fontSize);
10490
+ line-height: var(--text-heading-sm-lineHeight);
10372
10491
  }
10373
10492
 
10374
- .muka-fab--bottom-left {
10375
- left: var(--spacing-4);
10376
- bottom: var(--spacing-4);
10493
+ .muka-emptystate--sm .muka-emptystate__title {
10494
+ font-family: var(--text-label-lg-semibold-fontFamily);
10495
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10496
+ font-size: var(--text-label-lg-semibold-fontSize);
10497
+ line-height: var(--text-label-lg-semibold-lineHeight);
10377
10498
  }
10378
10499
 
10379
- .muka-fab--bottom-center {
10380
- left: 50%;
10381
- bottom: var(--spacing-4);
10382
- transform: translateX(-50%);
10500
+ .muka-emptystate--lg .muka-emptystate__title {
10501
+ font-family: var(--text-heading-md-fontFamily);
10502
+ font-weight: var(--text-heading-md-fontWeight);
10503
+ font-size: var(--text-heading-md-fontSize);
10504
+ line-height: var(--text-heading-md-lineHeight);
10383
10505
  }
10384
10506
 
10385
- .muka-fab--bottom-center:active {
10386
- transform: translateX(-50%) scale(0.96);
10507
+ /* Description */
10508
+ .muka-emptystate__description {
10509
+ color: var(--emptystate-description-color);
10510
+ margin: 0;
10511
+ font-family: var(--text-body-sm-regular-fontFamily);
10512
+ font-weight: var(--text-body-sm-regular-fontWeight);
10513
+ font-size: var(--text-body-sm-regular-fontSize);
10514
+ line-height: var(--text-body-sm-regular-lineHeight);
10387
10515
  }
10388
10516
 
10389
- /* Add the iOS home-indicator inset to the bottom offset. */
10390
- .muka-fab:not(.muka-fab--no-safe-area) {
10391
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
10517
+ .muka-emptystate--md .muka-emptystate__description {
10518
+ font-family: var(--text-body-base-regular-fontFamily);
10519
+ font-weight: var(--text-body-base-regular-fontWeight);
10520
+ font-size: var(--text-body-base-regular-fontSize);
10521
+ line-height: var(--text-body-base-regular-lineHeight);
10392
10522
  }
10393
10523
 
10394
- /* Lateral safe-area for landscape iPhone with notch. */
10395
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
10396
- right: max(var(--spacing-4), env(safe-area-inset-right));
10524
+ .muka-emptystate--lg .muka-emptystate__description {
10525
+ font-family: var(--text-body-lg-regular-fontFamily);
10526
+ font-weight: var(--text-body-lg-regular-fontWeight);
10527
+ font-size: var(--text-body-lg-regular-fontSize);
10528
+ line-height: var(--text-body-lg-regular-lineHeight);
10397
10529
  }
10398
10530
 
10399
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
10400
- left: max(var(--spacing-4), env(safe-area-inset-left));
10531
+ /* Actions */
10532
+ .muka-emptystate__actions {
10533
+ display: flex;
10534
+ gap: var(--emptystate-actions-gap);
10535
+ margin-top: var(--emptystate-actions-marginTop);
10536
+ flex-wrap: wrap;
10537
+ justify-content: center;
10538
+ }
10539
+
10540
+ .muka-emptystate--left .muka-emptystate__actions {
10541
+ justify-content: flex-start;
10401
10542
  }
10402
10543
 
10403
10544
 
@@ -10628,167 +10769,26 @@ li.muka-listitem {
10628
10769
  outline-offset: 2px;
10629
10770
  }
10630
10771
 
10631
- .muka-dropdown-select__helper {
10632
- margin: 0;
10633
- color: var(--color-text-subtle-default);
10634
- font-family: var(--text-label-sm-regular-fontFamily);
10635
- font-size: var(--text-label-sm-regular-fontSize);
10636
- font-weight: var(--text-label-sm-regular-fontWeight);
10637
- line-height: var(--text-label-sm-regular-lineHeight);
10638
- }
10639
-
10640
- .muka-dropdown-select__error {
10641
- margin: 0;
10642
- color: var(--color-state-error-default);
10643
- font-family: var(--text-label-sm-regular-fontFamily);
10644
- font-size: var(--text-label-sm-regular-fontSize);
10645
- font-weight: var(--text-label-sm-regular-fontWeight);
10646
- line-height: var(--text-label-sm-regular-lineHeight);
10647
- }
10648
-
10649
- .muka-dropdown-select__menu {
10650
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
10651
- }
10652
-
10653
-
10654
- /* EmptyState */
10655
- /* EmptyState Component Styles - Using Muka Design Tokens */
10656
-
10657
- .muka-emptystate {
10658
- display: flex;
10659
- flex-direction: column;
10660
- align-items: center;
10661
- justify-content: center;
10662
- gap: var(--emptystate-container-gap);
10663
- max-width: var(--emptystate-container-maxWidth);
10664
- margin: 0 auto;
10665
- text-align: center;
10666
- }
10667
-
10668
- /* Alignment variants */
10669
- .muka-emptystate--left {
10670
- align-items: flex-start;
10671
- text-align: left;
10672
- }
10673
-
10674
- /* Size variants */
10675
- .muka-emptystate--sm {
10676
- padding: var(--emptystate-container-padding-sm);
10677
- }
10678
-
10679
- .muka-emptystate--md {
10680
- padding: var(--emptystate-container-padding-md);
10681
- }
10682
-
10683
- .muka-emptystate--lg {
10684
- padding: var(--emptystate-container-padding-lg);
10685
- }
10686
-
10687
- /* Visual (icon or illustration) */
10688
- .muka-emptystate__visual {
10689
- display: flex;
10690
- align-items: center;
10691
- justify-content: center;
10692
- color: var(--emptystate-icon-color);
10693
- flex-shrink: 0;
10694
- }
10695
-
10696
- .muka-emptystate--sm .muka-emptystate__visual {
10697
- width: var(--emptystate-icon-size-sm);
10698
- height: var(--emptystate-icon-size-sm);
10699
- }
10700
-
10701
- .muka-emptystate--md .muka-emptystate__visual {
10702
- width: var(--emptystate-icon-size-md);
10703
- height: var(--emptystate-icon-size-md);
10704
- }
10705
-
10706
- .muka-emptystate--lg .muka-emptystate__visual {
10707
- width: var(--emptystate-icon-size-lg);
10708
- height: var(--emptystate-icon-size-lg);
10709
- }
10710
-
10711
- .muka-emptystate__visual svg {
10712
- width: 100%;
10713
- height: 100%;
10714
- }
10715
-
10716
- .muka-emptystate__visual img {
10717
- width: 100%;
10718
- height: 100%;
10719
- object-fit: contain;
10720
- }
10721
-
10722
- /* Content */
10723
- .muka-emptystate__content {
10724
- display: flex;
10725
- flex-direction: column;
10726
- gap: var(--spacing-2);
10727
- }
10728
-
10729
- .muka-emptystate--left .muka-emptystate__content {
10730
- align-items: flex-start;
10731
- }
10732
-
10733
- /* Title */
10734
- .muka-emptystate__title {
10735
- color: var(--emptystate-title-color);
10736
- margin: 0;
10737
- font-family: var(--text-heading-sm-fontFamily);
10738
- font-weight: var(--text-heading-sm-fontWeight);
10739
- font-size: var(--text-heading-sm-fontSize);
10740
- line-height: var(--text-heading-sm-lineHeight);
10741
- }
10742
-
10743
- .muka-emptystate--sm .muka-emptystate__title {
10744
- font-family: var(--text-label-lg-semibold-fontFamily);
10745
- font-weight: var(--text-label-lg-semibold-fontWeight);
10746
- font-size: var(--text-label-lg-semibold-fontSize);
10747
- line-height: var(--text-label-lg-semibold-lineHeight);
10748
- }
10749
-
10750
- .muka-emptystate--lg .muka-emptystate__title {
10751
- font-family: var(--text-heading-md-fontFamily);
10752
- font-weight: var(--text-heading-md-fontWeight);
10753
- font-size: var(--text-heading-md-fontSize);
10754
- line-height: var(--text-heading-md-lineHeight);
10755
- }
10756
-
10757
- /* Description */
10758
- .muka-emptystate__description {
10759
- color: var(--emptystate-description-color);
10760
- margin: 0;
10761
- font-family: var(--text-body-sm-regular-fontFamily);
10762
- font-weight: var(--text-body-sm-regular-fontWeight);
10763
- font-size: var(--text-body-sm-regular-fontSize);
10764
- line-height: var(--text-body-sm-regular-lineHeight);
10765
- }
10766
-
10767
- .muka-emptystate--md .muka-emptystate__description {
10768
- font-family: var(--text-body-base-regular-fontFamily);
10769
- font-weight: var(--text-body-base-regular-fontWeight);
10770
- font-size: var(--text-body-base-regular-fontSize);
10771
- line-height: var(--text-body-base-regular-lineHeight);
10772
- }
10773
-
10774
- .muka-emptystate--lg .muka-emptystate__description {
10775
- font-family: var(--text-body-lg-regular-fontFamily);
10776
- font-weight: var(--text-body-lg-regular-fontWeight);
10777
- font-size: var(--text-body-lg-regular-fontSize);
10778
- line-height: var(--text-body-lg-regular-lineHeight);
10779
- }
10780
-
10781
- /* Actions */
10782
- .muka-emptystate__actions {
10783
- display: flex;
10784
- gap: var(--emptystate-actions-gap);
10785
- margin-top: var(--emptystate-actions-marginTop);
10786
- flex-wrap: wrap;
10787
- justify-content: center;
10772
+ .muka-dropdown-select__helper {
10773
+ margin: 0;
10774
+ color: var(--color-text-subtle-default);
10775
+ font-family: var(--text-label-sm-regular-fontFamily);
10776
+ font-size: var(--text-label-sm-regular-fontSize);
10777
+ font-weight: var(--text-label-sm-regular-fontWeight);
10778
+ line-height: var(--text-label-sm-regular-lineHeight);
10788
10779
  }
10789
10780
 
10790
- .muka-emptystate--left .muka-emptystate__actions {
10791
- justify-content: flex-start;
10781
+ .muka-dropdown-select__error {
10782
+ margin: 0;
10783
+ color: var(--color-state-error-default);
10784
+ font-family: var(--text-label-sm-regular-fontFamily);
10785
+ font-size: var(--text-label-sm-regular-fontSize);
10786
+ font-weight: var(--text-label-sm-regular-fontWeight);
10787
+ line-height: var(--text-label-sm-regular-lineHeight);
10788
+ }
10789
+
10790
+ .muka-dropdown-select__menu {
10791
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
10792
10792
  }
10793
10793
 
10794
10794
 
@@ -10906,30 +10906,10 @@ li.muka-listitem {
10906
10906
  max-height: 100vh;
10907
10907
  }
10908
10908
 
10909
- /* Header */
10910
- .muka-drawer__header {
10911
- display: flex;
10912
- align-items: center;
10913
- gap: var(--spacing-3);
10914
- padding: var(--spacing-4);
10915
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
10916
- flex-shrink: 0;
10917
- }
10918
-
10919
- .muka-drawer__title {
10920
- flex: 1;
10921
- margin: 0;
10922
- font-family: var(--text-label-lg-semibold-fontFamily);
10923
- font-weight: var(--text-label-lg-semibold-fontWeight);
10924
- font-size: var(--text-label-lg-semibold-fontSize);
10925
- line-height: var(--text-label-lg-semibold-lineHeight);
10926
- color: var(--color-text-default-default);
10927
- }
10928
-
10929
- .muka-drawer__leading,
10930
- .muka-drawer__trailing {
10931
- display: flex;
10932
- align-items: center;
10909
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
10910
+ .muka-drawer .muka-topbar {
10911
+ position: relative;
10912
+ z-index: 1;
10933
10913
  flex-shrink: 0;
10934
10914
  }
10935
10915
 
@@ -11524,6 +11504,16 @@ li.muka-listitem {
11524
11504
  box-shadow: var(--shadow-level2);
11525
11505
  }
11526
11506
 
11507
+ /* ─── Discard confirmation ────────────────────────────── */
11508
+
11509
+ .muka-dialog__discard-message {
11510
+ margin: 0;
11511
+ color: var(--color-text-subtle-default);
11512
+ font-family: var(--text-body-base-regular-fontFamily);
11513
+ font-size: var(--text-body-base-regular-fontSize);
11514
+ line-height: var(--text-body-base-regular-lineHeight);
11515
+ }
11516
+
11527
11517
 
11528
11518
  /* DatePicker */
11529
11519
  /* DatePicker — compact native date field. */
@@ -12383,248 +12373,90 @@ li.muka-listitem {
12383
12373
  padding: calc(var(--spacing-2) - 1px);
12384
12374
  }
12385
12375
 
12386
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12387
- border-color: var(--color-state-error-contrast);
12388
- }
12389
-
12390
- .muka-combobox__field--disabled {
12391
- opacity: 0.5;
12392
- cursor: not-allowed;
12393
- }
12394
-
12395
- .muka-combobox__field--multiline {
12396
- align-items: flex-start;
12397
- min-height: 7rem;
12398
- }
12399
-
12400
- .muka-combobox__chips {
12401
- display: flex;
12402
- flex: 1 1 auto;
12403
- flex-wrap: wrap;
12404
- gap: var(--spacing-2);
12405
- align-items: center;
12406
- min-width: 0;
12407
- width: 100%;
12408
- position: relative;
12409
- z-index: 1;
12410
- }
12411
-
12412
- .muka-combobox__input {
12413
- flex: 1 1 5rem;
12414
- min-width: 5rem;
12415
- min-height: 2rem;
12416
- margin: 0;
12417
- padding: 0 var(--spacing-1);
12418
- border: none;
12419
- outline: none;
12420
- background: transparent;
12421
- color: var(--input-field-color-default-foreground);
12422
- caret-color: var(--input-field-color-default-foreground);
12423
- font-family: var(--text-label-md-regular-fontFamily);
12424
- font-size: var(--text-label-md-regular-fontSize);
12425
- font-weight: var(--text-label-md-regular-fontWeight);
12426
- line-height: var(--text-label-md-regular-lineHeight);
12427
- }
12428
-
12429
- .muka-combobox__input::placeholder {
12430
- color: var(--color-text-subtle-default);
12431
- }
12432
-
12433
- .muka-combobox__helper {
12434
- margin: 0;
12435
- color: var(--color-text-subtle-default);
12436
- font-family: var(--text-label-sm-regular-fontFamily);
12437
- font-size: var(--text-label-sm-regular-fontSize);
12438
- font-weight: var(--text-label-sm-regular-fontWeight);
12439
- line-height: var(--text-label-sm-regular-lineHeight);
12440
- }
12441
-
12442
- .muka-combobox__error {
12443
- margin: 0;
12444
- color: var(--color-state-error-default);
12445
- font-family: var(--text-label-sm-regular-fontFamily);
12446
- font-size: var(--text-label-sm-regular-fontSize);
12447
- font-weight: var(--text-label-sm-regular-fontWeight);
12448
- line-height: var(--text-label-sm-regular-lineHeight);
12449
- }
12450
-
12451
- .muka-combobox__menu-anchor {
12452
- position: absolute;
12453
- inset: 0;
12454
- z-index: 0;
12455
- width: 100%;
12456
- height: 100%;
12457
- margin: 0;
12458
- padding: 0;
12459
- border: none;
12460
- background: transparent;
12461
- pointer-events: none;
12462
- opacity: 0;
12463
- }
12464
-
12465
- .muka-combobox__menu {
12466
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12467
- min-width: var(--menu-content-min-width);
12468
- width: max-content;
12469
- max-width: min(100vw - 2rem, 24rem);
12470
- }
12471
-
12472
-
12473
- /* CheckboxTile */
12474
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
12475
-
12476
- /* Base tile styles - horizontal */
12477
- .muka-checkbox-tile {
12478
- display: flex;
12479
- align-items: center;
12480
- gap: var(--spacing-4);
12481
- padding: var(--spacing-4);
12482
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12483
- border-radius: var(--input-field-radius-lg);
12484
- background-color: var(--color-surface-level3);
12485
- cursor: pointer;
12486
- transition: border-color 0.15s ease, border-width 0.15s ease;
12487
- overflow: hidden;
12488
- box-sizing: border-box;
12489
- }
12490
-
12491
- .muka-checkbox-tile--disabled {
12492
- cursor: not-allowed;
12493
- opacity: 0.6;
12494
- }
12495
-
12496
- /* Selected state */
12497
- .muka-checkbox-tile[data-checked] {
12498
- border-width: var(--border-width-bold);
12499
- border-color: var(--color-action-default);
12500
- }
12501
-
12502
- /* Vertical layout */
12503
- .muka-checkbox-tile--vertical {
12504
- flex-direction: column;
12505
- align-items: center;
12506
- gap: var(--spacing-2);
12507
- position: relative;
12508
- width: 160px;
12509
- }
12510
-
12511
- /* Checkbox container */
12512
- .muka-checkbox-tile__checkbox {
12513
- flex-shrink: 0;
12514
- }
12515
-
12516
- /* Corner-positioned checkbox for vertical */
12517
- .muka-checkbox-tile__checkbox--corner {
12518
- position: absolute;
12519
- top: var(--spacing-4);
12520
- left: var(--spacing-4);
12521
- }
12522
-
12523
- /* Adjust corner position when selected (border is thicker) */
12524
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12525
- top: calc(var(--spacing-4) - 1px);
12526
- left: calc(var(--spacing-4) - 1px);
12527
- }
12528
-
12529
- /* Icon */
12530
- .muka-checkbox-tile__icon {
12531
- display: flex;
12532
- align-items: center;
12533
- justify-content: center;
12534
- flex-shrink: 0;
12535
- width: var(--icon-size-default);
12536
- height: var(--icon-size-default);
12537
- color: var(--color-text-default-default);
12538
- }
12539
-
12540
- .muka-checkbox-tile__icon svg {
12541
- width: 100%;
12542
- height: 100%;
12543
- }
12544
-
12545
- /* Image */
12546
- .muka-checkbox-tile__image {
12547
- flex-shrink: 0;
12548
- overflow: hidden;
12549
- border-radius: var(--border-radius-sm);
12550
- }
12551
-
12552
- .muka-checkbox-tile__image img {
12553
- display: block;
12554
- width: 100%;
12555
- height: 100%;
12556
- object-fit: cover;
12557
- }
12558
-
12559
- /* Horizontal image sizing */
12560
- .muka-checkbox-tile__image--horizontal {
12561
- width: 40px;
12562
- height: 40px;
12563
- }
12564
-
12565
- /* Vertical image sizing */
12566
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12567
- width: 100%;
12568
- aspect-ratio: 4/3;
12569
- }
12570
-
12571
- /* Content container */
12572
- .muka-checkbox-tile__content {
12573
- display: flex;
12574
- flex-direction: column;
12575
- flex: 1;
12576
- min-width: 0;
12577
- gap: var(--spacing-2);
12578
- }
12579
-
12580
- .muka-checkbox-tile__content-inner {
12581
- display: flex;
12582
- flex-direction: column;
12583
- gap: var(--spacing-1);
12584
- }
12585
-
12586
- /* Chip slot (replaces badge; use Chip component) */
12587
- .muka-checkbox-tile__chip {
12588
- flex-shrink: 0;
12376
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12377
+ border-color: var(--color-state-error-contrast);
12589
12378
  }
12590
12379
 
12591
- .muka-checkbox-tile__chip--vertical {
12592
- margin-top: var(--spacing-1);
12380
+ .muka-combobox__field--disabled {
12381
+ opacity: 0.5;
12382
+ cursor: not-allowed;
12593
12383
  }
12594
12384
 
12595
- /* Label */
12596
- .muka-checkbox-tile__label {
12597
- font-family: var(--text-body-lg-regular-fontFamily);
12598
- font-weight: var(--text-body-lg-regular-fontWeight);
12599
- font-size: var(--text-body-lg-regular-fontSize);
12600
- line-height: var(--text-body-lg-regular-lineHeight);
12601
- color: var(--color-text-default-default);
12385
+ .muka-combobox__field--multiline {
12386
+ align-items: flex-start;
12387
+ min-height: 7rem;
12602
12388
  }
12603
12389
 
12604
- .muka-checkbox-tile__label--bold {
12605
- font-family: var(--text-label-lg-semibold-fontFamily);
12606
- font-weight: var(--text-label-lg-semibold-fontWeight);
12607
- font-size: var(--text-label-lg-semibold-fontSize);
12608
- line-height: var(--text-label-lg-semibold-lineHeight);
12390
+ .muka-combobox__chips {
12391
+ display: flex;
12392
+ flex: 1 1 auto;
12393
+ flex-wrap: wrap;
12394
+ gap: var(--spacing-2);
12395
+ align-items: center;
12396
+ min-width: 0;
12397
+ width: 100%;
12398
+ position: relative;
12399
+ z-index: 1;
12609
12400
  }
12610
12401
 
12611
- .muka-checkbox-tile__label--center {
12612
- text-align: center;
12402
+ .muka-combobox__input {
12403
+ flex: 1 1 5rem;
12404
+ min-width: 5rem;
12405
+ min-height: 2rem;
12406
+ margin: 0;
12407
+ padding: 0 var(--spacing-1);
12408
+ border: none;
12409
+ outline: none;
12410
+ background: transparent;
12411
+ color: var(--input-field-color-default-foreground);
12412
+ caret-color: var(--input-field-color-default-foreground);
12413
+ font-family: var(--text-label-md-regular-fontFamily);
12414
+ font-size: var(--text-label-md-regular-fontSize);
12415
+ font-weight: var(--text-label-md-regular-fontWeight);
12416
+ line-height: var(--text-label-md-regular-lineHeight);
12613
12417
  }
12614
12418
 
12615
- /* Caption */
12616
- .muka-checkbox-tile__caption {
12617
- font-family: var(--text-body-base-regular-fontFamily);
12618
- font-weight: var(--text-body-base-regular-fontWeight);
12619
- font-size: var(--text-body-base-regular-fontSize);
12620
- line-height: var(--text-body-base-regular-lineHeight);
12419
+ .muka-combobox__input::placeholder {
12621
12420
  color: var(--color-text-subtle-default);
12622
12421
  }
12623
12422
 
12624
- /* Disabled states */
12625
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12626
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12423
+ .muka-combobox__helper {
12424
+ margin: 0;
12627
12425
  color: var(--color-text-subtle-default);
12426
+ font-family: var(--text-label-sm-regular-fontFamily);
12427
+ font-size: var(--text-label-sm-regular-fontSize);
12428
+ font-weight: var(--text-label-sm-regular-fontWeight);
12429
+ line-height: var(--text-label-sm-regular-lineHeight);
12430
+ }
12431
+
12432
+ .muka-combobox__error {
12433
+ margin: 0;
12434
+ color: var(--color-state-error-default);
12435
+ font-family: var(--text-label-sm-regular-fontFamily);
12436
+ font-size: var(--text-label-sm-regular-fontSize);
12437
+ font-weight: var(--text-label-sm-regular-fontWeight);
12438
+ line-height: var(--text-label-sm-regular-lineHeight);
12439
+ }
12440
+
12441
+ .muka-combobox__menu-anchor {
12442
+ position: absolute;
12443
+ inset: 0;
12444
+ z-index: 0;
12445
+ width: 100%;
12446
+ height: 100%;
12447
+ margin: 0;
12448
+ padding: 0;
12449
+ border: none;
12450
+ background: transparent;
12451
+ pointer-events: none;
12452
+ opacity: 0;
12453
+ }
12454
+
12455
+ .muka-combobox__menu {
12456
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12457
+ min-width: var(--menu-content-min-width);
12458
+ width: max-content;
12459
+ max-width: min(100vw - 2rem, 24rem);
12628
12460
  }
12629
12461
 
12630
12462
 
@@ -12929,6 +12761,164 @@ li.muka-listitem {
12929
12761
  }
12930
12762
 
12931
12763
 
12764
+ /* CheckboxTile */
12765
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
12766
+
12767
+ /* Base tile styles - horizontal */
12768
+ .muka-checkbox-tile {
12769
+ display: flex;
12770
+ align-items: center;
12771
+ gap: var(--spacing-4);
12772
+ padding: var(--spacing-4);
12773
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12774
+ border-radius: var(--input-field-radius-lg);
12775
+ background-color: var(--color-surface-level3);
12776
+ cursor: pointer;
12777
+ transition: border-color 0.15s ease, border-width 0.15s ease;
12778
+ overflow: hidden;
12779
+ box-sizing: border-box;
12780
+ }
12781
+
12782
+ .muka-checkbox-tile--disabled {
12783
+ cursor: not-allowed;
12784
+ opacity: 0.6;
12785
+ }
12786
+
12787
+ /* Selected state */
12788
+ .muka-checkbox-tile[data-checked] {
12789
+ border-width: var(--border-width-bold);
12790
+ border-color: var(--color-action-default);
12791
+ }
12792
+
12793
+ /* Vertical layout */
12794
+ .muka-checkbox-tile--vertical {
12795
+ flex-direction: column;
12796
+ align-items: center;
12797
+ gap: var(--spacing-2);
12798
+ position: relative;
12799
+ width: 160px;
12800
+ }
12801
+
12802
+ /* Checkbox container */
12803
+ .muka-checkbox-tile__checkbox {
12804
+ flex-shrink: 0;
12805
+ }
12806
+
12807
+ /* Corner-positioned checkbox for vertical */
12808
+ .muka-checkbox-tile__checkbox--corner {
12809
+ position: absolute;
12810
+ top: var(--spacing-4);
12811
+ left: var(--spacing-4);
12812
+ }
12813
+
12814
+ /* Adjust corner position when selected (border is thicker) */
12815
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12816
+ top: calc(var(--spacing-4) - 1px);
12817
+ left: calc(var(--spacing-4) - 1px);
12818
+ }
12819
+
12820
+ /* Icon */
12821
+ .muka-checkbox-tile__icon {
12822
+ display: flex;
12823
+ align-items: center;
12824
+ justify-content: center;
12825
+ flex-shrink: 0;
12826
+ width: var(--icon-size-default);
12827
+ height: var(--icon-size-default);
12828
+ color: var(--color-text-default-default);
12829
+ }
12830
+
12831
+ .muka-checkbox-tile__icon svg {
12832
+ width: 100%;
12833
+ height: 100%;
12834
+ }
12835
+
12836
+ /* Image */
12837
+ .muka-checkbox-tile__image {
12838
+ flex-shrink: 0;
12839
+ overflow: hidden;
12840
+ border-radius: var(--border-radius-sm);
12841
+ }
12842
+
12843
+ .muka-checkbox-tile__image img {
12844
+ display: block;
12845
+ width: 100%;
12846
+ height: 100%;
12847
+ object-fit: cover;
12848
+ }
12849
+
12850
+ /* Horizontal image sizing */
12851
+ .muka-checkbox-tile__image--horizontal {
12852
+ width: 40px;
12853
+ height: 40px;
12854
+ }
12855
+
12856
+ /* Vertical image sizing */
12857
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12858
+ width: 100%;
12859
+ aspect-ratio: 4/3;
12860
+ }
12861
+
12862
+ /* Content container */
12863
+ .muka-checkbox-tile__content {
12864
+ display: flex;
12865
+ flex-direction: column;
12866
+ flex: 1;
12867
+ min-width: 0;
12868
+ gap: var(--spacing-2);
12869
+ }
12870
+
12871
+ .muka-checkbox-tile__content-inner {
12872
+ display: flex;
12873
+ flex-direction: column;
12874
+ gap: var(--spacing-1);
12875
+ }
12876
+
12877
+ /* Chip slot (replaces badge; use Chip component) */
12878
+ .muka-checkbox-tile__chip {
12879
+ flex-shrink: 0;
12880
+ }
12881
+
12882
+ .muka-checkbox-tile__chip--vertical {
12883
+ margin-top: var(--spacing-1);
12884
+ }
12885
+
12886
+ /* Label */
12887
+ .muka-checkbox-tile__label {
12888
+ font-family: var(--text-body-lg-regular-fontFamily);
12889
+ font-weight: var(--text-body-lg-regular-fontWeight);
12890
+ font-size: var(--text-body-lg-regular-fontSize);
12891
+ line-height: var(--text-body-lg-regular-lineHeight);
12892
+ color: var(--color-text-default-default);
12893
+ }
12894
+
12895
+ .muka-checkbox-tile__label--bold {
12896
+ font-family: var(--text-label-lg-semibold-fontFamily);
12897
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12898
+ font-size: var(--text-label-lg-semibold-fontSize);
12899
+ line-height: var(--text-label-lg-semibold-lineHeight);
12900
+ }
12901
+
12902
+ .muka-checkbox-tile__label--center {
12903
+ text-align: center;
12904
+ }
12905
+
12906
+ /* Caption */
12907
+ .muka-checkbox-tile__caption {
12908
+ font-family: var(--text-body-base-regular-fontFamily);
12909
+ font-weight: var(--text-body-base-regular-fontWeight);
12910
+ font-size: var(--text-body-base-regular-fontSize);
12911
+ line-height: var(--text-body-base-regular-lineHeight);
12912
+ color: var(--color-text-subtle-default);
12913
+ }
12914
+
12915
+ /* Disabled states */
12916
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12917
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12918
+ color: var(--color-text-subtle-default);
12919
+ }
12920
+
12921
+
12932
12922
  /* Checkbox */
12933
12923
  /* Checkbox Component Styles - Using Muka Design Tokens */
12934
12924