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