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