@revikornmann/muka-ui 0.38.0 → 0.39.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 (49) hide show
  1. package/build/manifest.json +20 -10
  2. package/dist/cjs/components/Card/Card.css +35 -0
  3. package/dist/cjs/components/Card/Card.js +4 -1
  4. package/dist/cjs/components/Card/Card.js.map +1 -1
  5. package/dist/cjs/components/PlanningGantt/PlanningGantt.css +336 -0
  6. package/dist/cjs/components/PlanningGantt/PlanningGantt.js +89 -0
  7. package/dist/cjs/components/PlanningGantt/PlanningGantt.js.map +1 -0
  8. package/dist/cjs/components/PlanningGantt/index.js +6 -0
  9. package/dist/cjs/components/PlanningGantt/index.js.map +1 -0
  10. package/dist/cjs/components/index.js +4 -2
  11. package/dist/cjs/components/index.js.map +1 -1
  12. package/dist/esm/components/Card/Card.css +35 -0
  13. package/dist/esm/components/Card/Card.js +4 -1
  14. package/dist/esm/components/Card/Card.js.map +1 -1
  15. package/dist/esm/components/PlanningGantt/PlanningGantt.css +336 -0
  16. package/dist/esm/components/PlanningGantt/PlanningGantt.js +85 -0
  17. package/dist/esm/components/PlanningGantt/PlanningGantt.js.map +1 -0
  18. package/dist/esm/components/PlanningGantt/index.js +2 -0
  19. package/dist/esm/components/PlanningGantt/index.js.map +1 -0
  20. package/dist/esm/components/index.js +1 -0
  21. package/dist/esm/components/index.js.map +1 -1
  22. package/dist/styles/components/Card.css +35 -0
  23. package/dist/styles/components/PlanningGantt.css +336 -0
  24. package/dist/styles/index.css +2124 -1723
  25. package/dist/styles/muka-dark.css +2124 -1723
  26. package/dist/styles/muka-light.css +2124 -1723
  27. package/dist/styles/tokens-bouwplan-dark.css +27 -0
  28. package/dist/styles/tokens-bouwplan-light.css +27 -0
  29. package/dist/styles/tokens-fscl-dark.css +27 -0
  30. package/dist/styles/tokens-fscl-light.css +27 -0
  31. package/dist/styles/tokens-grip-dark.css +27 -0
  32. package/dist/styles/tokens-grip-light.css +27 -0
  33. package/dist/styles/tokens-muka-dark.css +27 -0
  34. package/dist/styles/tokens-muka-light.css +27 -0
  35. package/dist/styles/tokens-wireframe-dark.css +27 -0
  36. package/dist/styles/tokens-wireframe-light.css +27 -0
  37. package/dist/styles/wireframe-dark.css +2124 -1723
  38. package/dist/styles/wireframe-light.css +2124 -1723
  39. package/dist/types/components/Card/Card.d.ts +9 -0
  40. package/dist/types/components/Card/Card.d.ts.map +1 -1
  41. package/dist/types/components/PlanningGantt/PlanningGantt.d.ts +133 -0
  42. package/dist/types/components/PlanningGantt/PlanningGantt.d.ts.map +1 -0
  43. package/dist/types/components/PlanningGantt/index.d.ts +3 -0
  44. package/dist/types/components/PlanningGantt/index.d.ts.map +1 -0
  45. package/dist/types/components/index.d.ts +1 -0
  46. package/dist/types/components/index.d.ts.map +1 -1
  47. package/package.json +1 -1
  48. package/tokens/t4-components/card.json +19 -0
  49. package/tokens/t4-components/gantt.json +119 -0
@@ -1705,6 +1705,9 @@ body {
1705
1705
  --card-color-selected-background: #f2eff3;
1706
1706
  --card-color-selected-foreground: #211f26;
1707
1707
  --card-color-selected-border: #3e63dd;
1708
+ --card-color-note-background: #fefbe9;
1709
+ --card-color-note-foreground: #211f26;
1710
+ --card-color-note-border: #ffee9c;
1708
1711
  --card-radius-sm: 0.1875rem;
1709
1712
  --card-radius-md: 0.375rem;
1710
1713
  --card-radius-lg: 0.75rem;
@@ -1715,6 +1718,7 @@ body {
1715
1718
  --card-shadow-hover: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
1716
1719
  --card-shadow-pressed: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 2px 4px 0 rgba(0, 0, 0, 0.090);
1717
1720
  --card-shadow-selected: 0px 0px 1px 0px rgba(0, 0, 0, 0.090), 0px 2px 4px 0px rgba(0, 0, 0, 0.090);
1721
+ --card-shadow-note: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
1718
1722
  --card-border-default: 0.0625rem solid #eae7ec;
1719
1723
  --card-border-hover: 0.0625rem solid #d0cdd7;
1720
1724
  --card-border-pressed: 0.125rem solid #3e63dd;
@@ -2358,6 +2362,29 @@ body {
2358
2362
  --piechart-size-diameter-sm: 2rem;
2359
2363
  --piechart-size-diameter-md: 4rem;
2360
2364
  --piechart-size-diameter-lg: 8rem;
2365
+ --gantt-tone-blue: #0091ff;
2366
+ --gantt-tone-teal: #12a594;
2367
+ --gantt-tone-purple: #8e4ec6;
2368
+ --gantt-tone-green: #30a46c;
2369
+ --gantt-tone-orange: #f76808;
2370
+ --gantt-tone-pink: #d6409f;
2371
+ --gantt-background: #fdfcfd;
2372
+ --gantt-border: #eae7ec;
2373
+ --gantt-header-background: #f2eff3;
2374
+ --gantt-header-foreground: #211f26;
2375
+ --gantt-row-height: 3.5rem;
2376
+ --gantt-row-label-width: 16rem;
2377
+ --gantt-today-background: rgba(43, 0, 85, 0.024);
2378
+ --gantt-today-indicator: #3e63dd;
2379
+ --gantt-bar-radius: 0.375rem;
2380
+ --gantt-bar-text: #211f26;
2381
+ --gantt-stelpost-background: #fefbe9;
2382
+ --gantt-stelpost-border: #ab6400;
2383
+ --gantt-wait-stripe-a: #f2eff3;
2384
+ --gantt-wait-stripe-b: #e3dfe6;
2385
+ --gantt-wait-border: #d0cdd7;
2386
+ --gantt-wait-foreground: #211f26;
2387
+ --gantt-ghost-border: #ab6400;
2361
2388
  }
2362
2389
 
2363
2390
  /* Responsive overrides: md (min-width: 768px) */
@@ -2477,6 +2504,38 @@ body {
2477
2504
  }
2478
2505
 
2479
2506
 
2507
+ /* VoiceMessage */
2508
+ /* VoiceMessage Component Styles */
2509
+
2510
+ .muka-voice-message {
2511
+ display: flex;
2512
+ align-items: center;
2513
+ gap: var(--spacing-3);
2514
+ width: 100%;
2515
+ min-width: min(16rem, 60vw);
2516
+ }
2517
+
2518
+ .muka-voice-message__wave {
2519
+ flex: 1 1 auto;
2520
+ min-width: 0;
2521
+ }
2522
+
2523
+ .muka-voice-message__time {
2524
+ flex: 0 0 auto;
2525
+ white-space: nowrap;
2526
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
2527
+ line-height: var(--text-label-sm-lineHeight, 1);
2528
+ font-variant-numeric: tabular-nums;
2529
+ color: var(--color-text-subtle-default);
2530
+ }
2531
+
2532
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2533
+ * to the inverse text token for contrast. */
2534
+ .muka-voice-message--own .muka-voice-message__time {
2535
+ color: var(--color-text-default-inverse);
2536
+ }
2537
+
2538
+
2480
2539
  /* View */
2481
2540
  /* View Component Styles */
2482
2541
 
@@ -2587,38 +2646,6 @@ body {
2587
2646
  }
2588
2647
 
2589
2648
 
2590
- /* VoiceMessage */
2591
- /* VoiceMessage Component Styles */
2592
-
2593
- .muka-voice-message {
2594
- display: flex;
2595
- align-items: center;
2596
- gap: var(--spacing-3);
2597
- width: 100%;
2598
- min-width: min(16rem, 60vw);
2599
- }
2600
-
2601
- .muka-voice-message__wave {
2602
- flex: 1 1 auto;
2603
- min-width: 0;
2604
- }
2605
-
2606
- .muka-voice-message__time {
2607
- flex: 0 0 auto;
2608
- white-space: nowrap;
2609
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2610
- line-height: var(--text-label-sm-lineHeight, 1);
2611
- font-variant-numeric: tabular-nums;
2612
- color: var(--color-text-subtle-default);
2613
- }
2614
-
2615
- /* On the tinted own bubble the surface is the action color, so the timer flips
2616
- * to the inverse text token for contrast. */
2617
- .muka-voice-message--own .muka-voice-message__time {
2618
- color: var(--color-text-default-inverse);
2619
- }
2620
-
2621
-
2622
2649
  /* Typography */
2623
2650
  .muka-typography-catalog {
2624
2651
  display: flex;
@@ -3322,985 +3349,985 @@ body {
3322
3349
  }
3323
3350
 
3324
3351
 
3325
- /* Thumbnail */
3326
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3352
+ /* Tile */
3353
+ /* Tile Component Styles - Using Muka Design Tokens */
3327
3354
 
3328
- .muka-thumbnail {
3329
- position: relative;
3330
- flex-shrink: 0;
3331
- }
3355
+ /* ─── Base ────────────────────────────────────────────── */
3332
3356
 
3333
- /* The frame carries the border, background and shape clip. Keeping it separate
3334
- from the root lets the remove (×) button sit outside the clip (needed for the
3335
- circular/ellipse shape, whose corners would otherwise clip the button). */
3336
- .muka-thumbnail__frame {
3337
- position: absolute;
3338
- inset: 0;
3339
- overflow: hidden;
3340
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3341
- border-radius: var(--border-radius-lg);
3342
- background-color: var(--color-surface-level1);
3357
+ .muka-tile {
3358
+ display: flex;
3359
+ color: var(--color-text-default-default);
3343
3360
  }
3344
3361
 
3345
- /* ─── Shapes ──────────────────────────────────────────── */
3346
- .muka-thumbnail--4-3 {
3347
- width: 160px;
3348
- height: 120px;
3362
+ .muka-tile--interactive {
3363
+ cursor: pointer;
3364
+ user-select: none;
3349
3365
  }
3350
3366
 
3351
- .muka-thumbnail--1-1 {
3352
- width: 120px;
3353
- height: 120px;
3367
+ .muka-tile--interactive:focus-visible {
3368
+ outline: 2px solid var(--color-border-focus);
3369
+ outline-offset: 2px;
3370
+ border-radius: var(--border-radius-lg);
3354
3371
  }
3355
3372
 
3356
- .muka-thumbnail--ellipse {
3357
- width: 120px;
3358
- height: 120px;
3359
- }
3373
+ /* ─── Image position variants ─────────────────────────── */
3360
3374
 
3361
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3362
- .muka-thumbnail--fluid {
3363
- width: 100%;
3364
- height: auto;
3365
- aspect-ratio: 1 / 1;
3375
+ .muka-tile--image-top {
3376
+ flex-direction: column;
3366
3377
  }
3367
3378
 
3368
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3369
- aspect-ratio: 4 / 3;
3379
+ .muka-tile--image-left {
3380
+ flex-direction: row;
3370
3381
  }
3371
3382
 
3372
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3373
- border-radius: var(--border-radius-full);
3383
+ .muka-tile--image-right {
3384
+ flex-direction: row;
3374
3385
  }
3375
3386
 
3376
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3377
- interactive hover zoom has a clean origin. */
3378
- .muka-thumbnail__image {
3379
- position: absolute;
3380
- inset: 0;
3381
- width: 100%;
3382
- height: 100%;
3383
- object-fit: cover;
3384
- display: block;
3385
- transform-origin: center;
3386
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3387
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3388
- }
3387
+ /* ─── Gap by size (top) ───────────────────────────────── */
3389
3388
 
3390
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3391
- .muka-thumbnail__trigger {
3392
- position: absolute;
3393
- inset: 0;
3394
- padding: 0;
3395
- border: 0;
3396
- background: none;
3397
- cursor: pointer;
3398
- overflow: hidden;
3389
+ .muka-tile--image-top.muka-tile--lg {
3390
+ gap: var(--spacing-6);
3399
3391
  }
3400
3392
 
3401
- .muka-thumbnail__trigger:focus-visible {
3402
- outline: 2px solid var(--color-border-focus);
3403
- outline-offset: -2px;
3393
+ .muka-tile--image-top.muka-tile--md {
3394
+ gap: var(--spacing-6);
3395
+ width: 320px;
3404
3396
  }
3405
3397
 
3406
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3407
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3408
- transform: scale(1.05);
3398
+ .muka-tile--image-top.muka-tile--sm {
3399
+ gap: var(--spacing-4);
3400
+ min-width: 120px;
3409
3401
  }
3410
3402
 
3411
- /* ─── Loading overlay + progress donut ────────────────── */
3412
- .muka-thumbnail__overlay {
3413
- position: absolute;
3414
- inset: 0;
3415
- display: flex;
3403
+ /* ─── Gap by size (left/right) ────────────────────────── */
3404
+
3405
+ .muka-tile--image-left.muka-tile--lg,
3406
+ .muka-tile--image-right.muka-tile--lg {
3407
+ gap: var(--spacing-6);
3416
3408
  align-items: center;
3417
- justify-content: center;
3418
- background-color: var(--dialog-color-backdrop);
3419
3409
  }
3420
3410
 
3421
- .muka-thumbnail__progress {
3422
- width: 40px;
3423
- height: 40px;
3411
+ .muka-tile--image-left.muka-tile--md,
3412
+ .muka-tile--image-right.muka-tile--md {
3413
+ gap: var(--spacing-6);
3414
+ align-items: center;
3424
3415
  }
3425
3416
 
3426
- /* ─── Error / corrupt state ───────────────────────────── */
3427
- .muka-thumbnail--error .muka-thumbnail__frame {
3428
- background-color: var(--alias-color-state-error-muted);
3429
- border-color: var(--alias-color-state-error-default);
3417
+ .muka-tile--image-left.muka-tile--sm,
3418
+ .muka-tile--image-right.muka-tile--sm {
3419
+ gap: var(--spacing-4);
3420
+ align-items: flex-start;
3430
3421
  }
3431
3422
 
3432
- .muka-thumbnail__error {
3433
- position: absolute;
3434
- inset: 0;
3423
+ /* ─── Photos container ────────────────────────────────── */
3424
+
3425
+ .muka-tile__photos {
3426
+ position: relative;
3427
+ flex-shrink: 0;
3428
+ overflow: hidden;
3435
3429
  display: flex;
3436
3430
  flex-direction: column;
3437
- align-items: center;
3438
- justify-content: center;
3439
- gap: var(--spacing-2);
3440
- padding: var(--spacing-3);
3441
- text-align: center;
3431
+ isolation: isolate;
3442
3432
  }
3443
3433
 
3444
- .muka-thumbnail__error-icon {
3445
- color: var(--alert-color-error-accent);
3434
+ /* Photos border radius by size */
3435
+ .muka-tile--lg .muka-tile__photos,
3436
+ .muka-tile--md .muka-tile__photos {
3437
+ border-radius: var(--border-radius-lg);
3446
3438
  }
3447
3439
 
3448
- .muka-thumbnail__caption {
3449
- max-width: 100%;
3450
- overflow: hidden;
3451
- text-overflow: ellipsis;
3452
- white-space: nowrap;
3453
- color: var(--alert-color-error-accent);
3454
- font-family: var(--text-body-sm-regular-fontFamily);
3455
- font-size: var(--text-body-sm-regular-fontSize);
3456
- font-weight: var(--text-body-sm-regular-fontWeight);
3457
- line-height: var(--text-body-sm-regular-lineHeight);
3440
+ .muka-tile--sm .muka-tile__photos {
3441
+ border-radius: var(--border-radius-md);
3458
3442
  }
3459
3443
 
3460
- /* ─── Remove (×) button ───────────────────────────────── */
3461
- .muka-thumbnail__remove {
3462
- position: absolute;
3463
- top: var(--spacing-2);
3464
- right: var(--spacing-2);
3465
- display: flex;
3466
- align-items: center;
3467
- justify-content: center;
3468
- width: var(--size-2xl);
3469
- height: var(--size-2xl);
3470
- padding: 0;
3471
- color: var(--button-color-tertiary-foreground-default);
3472
- background-color: var(--button-color-tertiary-background-default);
3473
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3474
- border-radius: var(--border-radius-lg);
3475
- cursor: pointer;
3476
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3477
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3444
+ /* Photos sizing: top layout */
3445
+ .muka-tile--image-top .muka-tile__photos {
3446
+ width: 100%;
3478
3447
  }
3479
3448
 
3480
- .muka-thumbnail__remove:hover {
3481
- color: var(--button-color-tertiary-foreground-hover);
3482
- background-color: var(--button-color-tertiary-background-hover);
3483
- border-color: var(--button-color-tertiary-border-hover);
3449
+ /* Photos sizing: left/right large */
3450
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3451
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3452
+ width: 520px;
3484
3453
  }
3485
3454
 
3486
- .muka-thumbnail__remove:active {
3487
- color: var(--button-color-tertiary-foreground-pressed);
3488
- background-color: var(--button-color-tertiary-background-pressed);
3489
- border-color: var(--button-color-tertiary-border-pressed);
3455
+ /* Photos sizing: left/right medium */
3456
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3457
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3458
+ width: 320px;
3490
3459
  }
3491
3460
 
3492
- .muka-thumbnail__remove:focus-visible {
3493
- outline: 2px solid var(--color-border-focus);
3494
- outline-offset: 2px;
3461
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3462
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3463
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3464
+ width: 80px;
3465
+ align-self: stretch;
3495
3466
  }
3496
3467
 
3497
- /* ─── Reduced motion ──────────────────────────────────── */
3498
- @media (prefers-reduced-motion: reduce) {
3499
- .muka-thumbnail__image,
3500
- .muka-thumbnail__remove {
3501
- transition: none;
3502
- }
3468
+ /* ─── Main photo ──────────────────────────────────────── */
3503
3469
 
3504
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3505
- transform: none;
3506
- }
3470
+ .muka-tile__photo-main {
3471
+ position: relative;
3472
+ width: 100%;
3473
+ overflow: hidden;
3474
+ flex-shrink: 0;
3507
3475
  }
3508
3476
 
3477
+ /* 16:9 aspect for lg and md */
3478
+ .muka-tile--lg .muka-tile__photo-main,
3479
+ .muka-tile--md .muka-tile__photo-main {
3480
+ aspect-ratio: 1280 / 720;
3481
+ }
3509
3482
 
3510
- /* Textarea */
3511
- /* Textarea Component Styles - Using Muka Design Tokens */
3512
-
3513
- .muka-textarea {
3514
- display: inline-flex;
3515
- flex-direction: column;
3516
- gap: var(--spacing-2);
3483
+ /* 1:1 aspect for top + sm */
3484
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3485
+ aspect-ratio: 1 / 1;
3517
3486
  }
3518
3487
 
3519
- /* Label */
3520
- .muka-textarea__label {
3521
- color: var(--color-text-default-default);
3522
- cursor: pointer;
3488
+ /* Fixed size for left/right + sm */
3489
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3490
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3491
+ width: 80px;
3492
+ height: 80px;
3493
+ aspect-ratio: auto;
3523
3494
  }
3524
3495
 
3525
- .muka-textarea__label--sm {
3526
- font-family: var(--text-label-sm-semibold-fontFamily);
3527
- font-weight: var(--text-label-sm-semibold-fontWeight);
3528
- font-size: var(--text-label-sm-semibold-fontSize);
3529
- line-height: var(--text-label-sm-semibold-lineHeight);
3496
+ .muka-tile__photo-main img {
3497
+ width: 100%;
3498
+ height: 100%;
3499
+ object-fit: cover;
3500
+ display: block;
3530
3501
  }
3531
3502
 
3532
- .muka-textarea__label--md {
3533
- font-family: var(--text-label-md-semibold-fontFamily);
3534
- font-weight: var(--text-label-md-semibold-fontWeight);
3535
- font-size: var(--text-label-md-semibold-fontSize);
3536
- line-height: var(--text-label-md-semibold-lineHeight);
3503
+ /* ─── Favourite overlay ───────────────────────────────── */
3504
+
3505
+ .muka-tile__favourite {
3506
+ position: absolute;
3507
+ z-index: 3;
3537
3508
  }
3538
3509
 
3539
- .muka-textarea__label--lg {
3540
- font-family: var(--text-label-lg-semibold-fontFamily);
3541
- font-weight: var(--text-label-lg-semibold-fontWeight);
3542
- font-size: var(--text-label-lg-semibold-fontSize);
3543
- line-height: var(--text-label-lg-semibold-lineHeight);
3510
+ .muka-tile--lg .muka-tile__favourite,
3511
+ .muka-tile--md .muka-tile__favourite {
3512
+ top: var(--spacing-4);
3513
+ right: var(--spacing-4);
3544
3514
  }
3545
3515
 
3546
- .muka-textarea__required {
3547
- color: var(--color-state-error-default);
3516
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3517
+ top: var(--spacing-1);
3518
+ right: var(--spacing-1);
3548
3519
  }
3549
3520
 
3550
- /* Field container */
3551
- .muka-textarea__field {
3521
+ /* ─── Thumbnails ──────────────────────────────────────── */
3522
+
3523
+ .muka-tile__thumbnails {
3552
3524
  display: flex;
3553
- background-color: var(--input-field-color-default-background);
3554
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3555
- border-radius: var(--input-field-radius-md);
3556
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3557
- transition: border-color 0.2s ease, background-color 0.2s ease;
3558
- box-sizing: border-box;
3525
+ gap: 2px;
3526
+ overflow: hidden;
3527
+ flex-shrink: 0;
3528
+ height: 80px;
3559
3529
  }
3560
3530
 
3561
- .muka-textarea__field--sm {
3562
- min-height: var(--input-textarea-height-sm);
3563
- border-radius: var(--input-field-radius-sm);
3531
+ .muka-tile__thumbnail {
3532
+ width: 80px;
3533
+ height: 80px;
3534
+ flex-shrink: 0;
3535
+ overflow: hidden;
3564
3536
  }
3565
3537
 
3566
- .muka-textarea__field--md {
3567
- min-height: var(--input-textarea-height-default);
3568
- border-radius: var(--input-field-radius-md);
3538
+ .muka-tile__thumbnail img {
3539
+ width: 100%;
3540
+ height: 100%;
3541
+ object-fit: cover;
3542
+ display: block;
3569
3543
  }
3570
3544
 
3571
- .muka-textarea__field--lg {
3572
- min-height: var(--input-textarea-height-lg);
3573
- border-radius: var(--input-field-radius-lg);
3545
+ /* Gap between main photo and thumbnails */
3546
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3547
+ margin-top: 2px;
3574
3548
  }
3575
3549
 
3576
- /* Focus state */
3577
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3578
- border-width: var(--border-width-bold);
3579
- border-color: var(--input-field-color-focus-border);
3580
- background-color: var(--input-field-color-focus-background);
3581
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3550
+ /* ─── Content section ─────────────────────────────────── */
3551
+
3552
+ .muka-tile__content {
3553
+ display: flex;
3554
+ flex-direction: column;
3555
+ flex: 1;
3556
+ min-width: 0;
3582
3557
  }
3583
3558
 
3584
- /* Error state */
3585
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3586
- border-width: var(--border-width-bold);
3587
- border-color: var(--input-field-color-error-border);
3588
- background-color: var(--input-field-color-error-background);
3589
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3559
+ /* Top layout: content has horizontal padding */
3560
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3561
+ padding: 0 var(--spacing-3);
3562
+ gap: var(--spacing-1);
3590
3563
  }
3591
3564
 
3592
- /* Disabled state */
3593
- .muka-textarea__field--disabled {
3594
- background-color: var(--input-field-color-disabled-background);
3595
- border-color: var(--input-field-color-disabled-border);
3596
- cursor: not-allowed;
3565
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3566
+ padding: 0 var(--spacing-3);
3567
+ gap: var(--spacing-2);
3597
3568
  }
3598
3569
 
3599
- /* Native textarea */
3600
- .muka-textarea__native {
3601
- flex: 1;
3602
- border: none;
3603
- outline: none;
3604
- background: transparent;
3605
- color: var(--input-field-color-default-foreground);
3606
- font-family: var(--text-input-md-fontFamily);
3607
- font-weight: var(--text-input-md-fontWeight);
3608
- font-size: var(--text-input-md-fontSize);
3609
- line-height: var(--text-input-md-lineHeight);
3610
- padding: 0;
3611
- width: 100%;
3612
- min-width: 0;
3570
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3571
+ gap: var(--spacing-2);
3613
3572
  }
3614
3573
 
3615
- .muka-textarea__field--sm .muka-textarea__native {
3616
- font-family: var(--text-input-sm-fontFamily);
3617
- font-weight: var(--text-input-sm-fontWeight);
3618
- font-size: var(--text-input-sm-fontSize);
3619
- line-height: var(--text-input-sm-lineHeight);
3574
+ /* Left/right layout: content grows to fill space */
3575
+ .muka-tile--image-left .muka-tile__content,
3576
+ .muka-tile--image-right .muka-tile__content {
3577
+ gap: var(--spacing-3);
3620
3578
  }
3621
3579
 
3622
- .muka-textarea__field--lg .muka-textarea__native {
3623
- font-family: var(--text-input-lg-fontFamily);
3624
- font-weight: var(--text-input-lg-fontWeight);
3625
- font-size: var(--text-input-lg-fontSize);
3626
- line-height: var(--text-input-lg-lineHeight);
3580
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3581
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3582
+ padding: 0 var(--spacing-3);
3627
3583
  }
3628
3584
 
3629
- .muka-textarea__native::placeholder {
3630
- color: var(--color-text-subtle-default);
3585
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3586
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3587
+ padding: var(--spacing-2) var(--spacing-3);
3631
3588
  }
3632
3589
 
3633
- .muka-textarea__field--disabled .muka-textarea__native {
3634
- color: var(--input-field-color-disabled-foreground);
3635
- cursor: not-allowed;
3590
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3591
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3592
+ gap: var(--spacing-2);
3636
3593
  }
3637
3594
 
3638
- /* Footer (helper/error + count) */
3639
- .muka-textarea__footer {
3595
+ /* ─── Header (heading row + price) ────────────────────── */
3596
+
3597
+ .muka-tile__header {
3640
3598
  display: flex;
3641
- justify-content: space-between;
3642
3599
  align-items: flex-start;
3643
- gap: var(--spacing-2);
3600
+ gap: var(--spacing-4);
3644
3601
  }
3645
3602
 
3646
- .muka-textarea__helper {
3647
- font-family: var(--text-label-sm-regular-fontFamily);
3648
- font-weight: var(--text-label-sm-regular-fontWeight);
3649
- font-size: var(--text-label-sm-regular-fontSize);
3650
- line-height: var(--text-label-sm-regular-lineHeight);
3651
- color: var(--color-text-subtle-default);
3652
- margin: 0;
3603
+ /* Small horizontal: row with text and action */
3604
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3605
+ gap: var(--spacing-2);
3606
+ align-items: center;
3607
+ padding-top: var(--spacing-1);
3653
3608
  }
3654
3609
 
3655
- .muka-textarea__error {
3656
- font-family: var(--text-label-sm-regular-fontFamily);
3657
- font-weight: var(--text-label-sm-regular-fontWeight);
3658
- font-size: var(--text-label-sm-regular-fontSize);
3659
- line-height: var(--text-label-sm-regular-lineHeight);
3660
- color: var(--color-state-error-default);
3661
- margin: 0;
3662
- }
3610
+ /* ─── Text group ──────────────────────────────────────── */
3663
3611
 
3664
- .muka-textarea__count {
3665
- font-family: var(--text-label-sm-regular-fontFamily);
3666
- font-weight: var(--text-label-sm-regular-fontWeight);
3667
- font-size: var(--text-label-sm-regular-fontSize);
3668
- line-height: var(--text-label-sm-regular-lineHeight);
3669
- color: var(--color-text-subtle-default);
3670
- margin-left: auto;
3612
+ .muka-tile__text {
3613
+ display: flex;
3614
+ flex-direction: column;
3615
+ flex: 1;
3616
+ min-width: 0;
3617
+ gap: var(--spacing-2);
3671
3618
  }
3672
3619
 
3620
+ /* ─── Heading typography ──────────────────────────────── */
3673
3621
 
3674
- /* TextLink */
3675
- /* TextLink Component Styles - Using Muka Design Tokens */
3622
+ .muka-tile__heading {
3623
+ margin: 0;
3624
+ }
3676
3625
 
3677
- .muka-text-link {
3678
- display: inline;
3679
- cursor: pointer;
3680
- text-decoration: underline;
3681
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3682
- text-underline-offset: 0.2em;
3683
- text-decoration-thickness: from-font;
3684
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3685
- border-radius: var(--border-radius-sm);
3686
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3626
+ .muka-tile--lg .muka-tile__heading {
3627
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3628
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3629
+ font-size: var(--text-label-2xl-semibold-fontSize);
3630
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3631
+ color: var(--color-text-default-default);
3687
3632
  }
3688
3633
 
3689
- /* ─── Sizes ───────────────────────────────────────────────
3690
- Mirrors the body text scale so a link matches the copy it sits in. */
3691
- .muka-text-link--sm {
3692
- font-family: var(--text-body-sm-regular-fontFamily);
3693
- font-weight: var(--text-body-sm-regular-fontWeight);
3694
- font-size: var(--text-body-sm-regular-fontSize);
3695
- line-height: var(--text-body-sm-regular-lineHeight);
3634
+ .muka-tile--md .muka-tile__heading {
3635
+ font-family: var(--text-label-xl-semibold-fontFamily);
3636
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3637
+ font-size: var(--text-label-xl-semibold-fontSize);
3638
+ line-height: var(--text-label-xl-semibold-lineHeight);
3639
+ color: var(--color-text-default-default);
3696
3640
  }
3697
3641
 
3698
- .muka-text-link--base {
3699
- font-family: var(--text-body-base-regular-fontFamily);
3700
- font-weight: var(--text-body-base-regular-fontWeight);
3701
- font-size: var(--text-body-base-regular-fontSize);
3702
- line-height: var(--text-body-base-regular-lineHeight);
3642
+ .muka-tile--sm .muka-tile__heading {
3643
+ font-family: var(--text-label-lg-bold-fontFamily);
3644
+ font-weight: var(--text-label-lg-bold-fontWeight);
3645
+ font-size: var(--text-label-lg-bold-fontSize);
3646
+ line-height: var(--text-label-lg-bold-lineHeight);
3647
+ color: var(--color-text-default-default);
3703
3648
  }
3704
3649
 
3705
- .muka-text-link--lg {
3706
- font-family: var(--text-body-lg-regular-fontFamily);
3707
- font-weight: var(--text-body-lg-regular-fontWeight);
3708
- font-size: var(--text-body-lg-regular-fontSize);
3709
- line-height: var(--text-body-lg-regular-lineHeight);
3710
- }
3650
+ /* ─── Subheading typography ───────────────────────────── */
3711
3651
 
3712
- /* ─── Variant: default (accent) ───────────────────────────
3713
- Visited repeats the default colour on purpose: the design treats visited and
3714
- default the same, and pinning it stops the browser's purple from showing. */
3715
- .muka-text-link--default,
3716
- .muka-text-link--default:visited {
3717
- color: var(--color-text-action-default);
3652
+ .muka-tile__subheading {
3653
+ margin: 0;
3654
+ color: var(--color-text-subtle-default);
3718
3655
  }
3719
3656
 
3720
- .muka-text-link--default:hover,
3721
- .muka-text-link--default:focus-visible {
3722
- color: var(--color-text-action-hover);
3657
+ .muka-tile--lg .muka-tile__subheading {
3658
+ font-family: var(--text-subheading-md-fontFamily);
3659
+ font-weight: var(--text-subheading-md-fontWeight);
3660
+ font-size: var(--text-subheading-md-fontSize);
3661
+ line-height: var(--text-subheading-md-lineHeight);
3723
3662
  }
3724
3663
 
3725
- .muka-text-link--default:active {
3726
- color: var(--color-text-action-pressed);
3664
+ .muka-tile--md .muka-tile__subheading,
3665
+ .muka-tile--sm .muka-tile__subheading {
3666
+ font-family: var(--text-subheading-sm-fontFamily);
3667
+ font-weight: var(--text-subheading-sm-fontWeight);
3668
+ font-size: var(--text-subheading-sm-fontSize);
3669
+ line-height: var(--text-subheading-sm-lineHeight);
3727
3670
  }
3728
3671
 
3729
- /* ─── Variant: subtle (neutral) ───────────────────────────
3730
- Hover, focus and pressed all darken to the default text colour. */
3731
- .muka-text-link--subtle,
3732
- .muka-text-link--subtle:visited {
3733
- color: var(--color-text-subtle-default);
3734
- }
3672
+ /* ─── Description typography ──────────────────────────── */
3735
3673
 
3736
- .muka-text-link--subtle:hover,
3737
- .muka-text-link--subtle:focus-visible,
3738
- .muka-text-link--subtle:active {
3674
+ .muka-tile__description {
3675
+ margin: 0;
3739
3676
  color: var(--color-text-default-default);
3740
3677
  }
3741
3678
 
3742
- /* ─── Focus ───────────────────────────────────────────────
3743
- Same ring as every other focusable Muka component. */
3744
- .muka-text-link:focus-visible {
3745
- outline: 2px solid var(--color-border-focus);
3746
- outline-offset: 2px;
3679
+ .muka-tile--lg .muka-tile__description {
3680
+ font-family: var(--text-body-lg-regular-fontFamily);
3681
+ font-weight: var(--text-body-lg-regular-fontWeight);
3682
+ font-size: var(--text-body-lg-regular-fontSize);
3683
+ line-height: var(--text-body-lg-regular-lineHeight);
3747
3684
  }
3748
3685
 
3749
- @media (prefers-reduced-motion: reduce) {
3750
- .muka-text-link {
3751
- transition: none;
3752
- }
3686
+ .muka-tile--md .muka-tile__description,
3687
+ .muka-tile--sm .muka-tile__description {
3688
+ font-family: var(--text-body-base-regular-fontFamily);
3689
+ font-weight: var(--text-body-base-regular-fontWeight);
3690
+ font-size: var(--text-body-base-regular-fontSize);
3691
+ line-height: var(--text-body-base-regular-lineHeight);
3753
3692
  }
3754
3693
 
3694
+ /* Description overflow for medium */
3695
+ .muka-tile--md .muka-tile__description {
3696
+ overflow: hidden;
3697
+ text-overflow: ellipsis;
3698
+ }
3755
3699
 
3756
- /* Tabs */
3757
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
3700
+ /* ─── Price slot ──────────────────────────────────────── */
3758
3701
 
3759
- .muka-tabs {
3760
- display: flex;
3761
- flex-direction: column;
3702
+ .muka-tile__price {
3703
+ flex-shrink: 0;
3762
3704
  }
3763
3705
 
3764
- /* Alignment Variants */
3765
- .muka-tabs--align-left .muka-tabs__list {
3766
- justify-content: flex-start;
3767
- }
3768
- .muka-tabs--align-center .muka-tabs__list {
3769
- justify-content: center;
3770
- }
3771
- .muka-tabs--align-fill .muka-tabs__list {
3772
- justify-content: space-between;
3773
- }
3774
- .muka-tabs--align-fill .muka-tabs__trigger {
3775
- flex: 1;
3776
- }
3706
+ /* ─── Action slot ─────────────────────────────────────── */
3777
3707
 
3778
- /* Tab List — strip container */
3779
- .muka-tabs__list {
3780
- display: flex;
3781
- align-items: center;
3782
- position: relative;
3783
- z-index: 2;
3784
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3708
+ .muka-tile__action {
3709
+ flex-shrink: 0;
3785
3710
  }
3786
3711
 
3787
- /* Padding: inset the tabs; the divider (border) still spans the full width */
3788
- .muka-tabs--padding-default .muka-tabs__list {
3789
- padding-inline: var(--tabs-list-padding-x);
3790
- }
3791
3712
 
3792
- /* Tab Trigger — clean underline style */
3793
- .muka-tabs__trigger {
3794
- display: inline-flex;
3795
- align-items: center;
3796
- justify-content: center;
3797
- gap: var(--spacing-1);
3798
- background: transparent;
3799
- border: none;
3800
- cursor: pointer;
3801
- user-select: none;
3802
- transition: background-color 0.2s ease, color 0.2s ease;
3803
- outline: none;
3804
- white-space: nowrap;
3713
+ /* Thumbnail */
3714
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3715
+
3716
+ .muka-thumbnail {
3805
3717
  position: relative;
3806
- z-index: 2;
3807
- color: var(--tabs-trigger-color-default-foreground);
3718
+ flex-shrink: 0;
3719
+ }
3808
3720
 
3809
- /* Default MD size values */
3810
- min-height: var(--tabs-trigger-min-height-md);
3811
- padding: var(--spacing-3);
3812
- font-family: var(--text-label-md-regular-fontFamily);
3813
- font-weight: var(--text-label-md-regular-fontWeight);
3814
- font-size: var(--text-label-md-regular-fontSize);
3815
- line-height: var(--text-label-md-regular-lineHeight);
3721
+ /* The frame carries the border, background and shape clip. Keeping it separate
3722
+ from the root lets the remove (×) button sit outside the clip (needed for the
3723
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3724
+ .muka-thumbnail__frame {
3725
+ position: absolute;
3726
+ inset: 0;
3727
+ overflow: hidden;
3728
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3729
+ border-radius: var(--border-radius-lg);
3730
+ background-color: var(--color-surface-level1);
3816
3731
  }
3817
3732
 
3818
- /* Size Variants */
3819
- .muka-tabs--size-sm .muka-tabs__trigger {
3820
- min-height: var(--tabs-trigger-min-height-sm);
3821
- padding: 0 var(--spacing-2);
3822
- font-family: var(--text-label-sm-regular-fontFamily);
3823
- font-weight: var(--text-label-sm-regular-fontWeight);
3824
- font-size: var(--text-label-sm-regular-fontSize);
3825
- line-height: var(--text-label-sm-regular-lineHeight);
3733
+ /* ─── Shapes ──────────────────────────────────────────── */
3734
+ .muka-thumbnail--4-3 {
3735
+ width: 160px;
3736
+ height: 120px;
3826
3737
  }
3827
3738
 
3828
- .muka-tabs--size-lg .muka-tabs__trigger {
3829
- min-height: var(--tabs-trigger-min-height-lg);
3830
- padding: var(--spacing-4);
3831
- font-family: var(--text-label-lg-regular-fontFamily);
3832
- font-weight: var(--text-label-lg-regular-fontWeight);
3833
- font-size: var(--text-label-lg-regular-fontSize);
3834
- line-height: var(--text-label-lg-regular-lineHeight);
3739
+ .muka-thumbnail--1-1 {
3740
+ width: 120px;
3741
+ height: 120px;
3835
3742
  }
3836
3743
 
3837
- /* Hover state */
3838
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
3839
- color: var(--tabs-trigger-color-hover-foreground);
3744
+ .muka-thumbnail--ellipse {
3745
+ width: 120px;
3746
+ height: 120px;
3840
3747
  }
3841
3748
 
3842
- /* Current tab */
3843
- .muka-tabs__trigger--current {
3844
- color: var(--tabs-trigger-color-current-foreground);
3749
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3750
+ .muka-thumbnail--fluid {
3751
+ width: 100%;
3752
+ height: auto;
3753
+ aspect-ratio: 1 / 1;
3845
3754
  }
3846
3755
 
3847
- /* Active bottom border (underline) */
3848
- .muka-tabs__trigger--current::after {
3849
- content: '';
3850
- position: absolute;
3851
- bottom: -1px; /* Overlap the 1px border */
3852
- left: 0;
3853
- right: 0;
3854
- height: var(--tabs-indicator-height-md);
3855
- background-color: var(--tabs-indicator-color);
3856
- border-bottom-left-radius: 1px;
3857
- border-bottom-right-radius: 1px;
3858
- border-top-left-radius: 3px;
3859
- border-top-right-radius: 3px;
3860
- z-index: 3;
3756
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3757
+ aspect-ratio: 4 / 3;
3861
3758
  }
3862
3759
 
3863
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
3864
- height: var(--tabs-indicator-height-sm);
3760
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3761
+ border-radius: var(--border-radius-full);
3865
3762
  }
3866
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
3867
- height: var(--tabs-indicator-height-lg);
3763
+
3764
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3765
+ interactive hover zoom has a clean origin. */
3766
+ .muka-thumbnail__image {
3767
+ position: absolute;
3768
+ inset: 0;
3769
+ width: 100%;
3770
+ height: 100%;
3771
+ object-fit: cover;
3772
+ display: block;
3773
+ transform-origin: center;
3774
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3775
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3868
3776
  }
3869
3777
 
3870
- .muka-tabs__trigger--disabled {
3871
- color: var(--tabs-trigger-color-disabled-foreground);
3872
- cursor: not-allowed;
3778
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3779
+ .muka-thumbnail__trigger {
3780
+ position: absolute;
3781
+ inset: 0;
3782
+ padding: 0;
3783
+ border: 0;
3784
+ background: none;
3785
+ cursor: pointer;
3786
+ overflow: hidden;
3873
3787
  }
3874
3788
 
3875
- .muka-tabs__trigger:focus-visible {
3789
+ .muka-thumbnail__trigger:focus-visible {
3876
3790
  outline: 2px solid var(--color-border-focus);
3877
3791
  outline-offset: -2px;
3878
3792
  }
3879
3793
 
3880
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
3881
- item sits 12px from the text */
3882
- .muka-tabs__label {
3883
- padding: 0 var(--spacing-2);
3884
- }
3794
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3795
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3796
+ transform: scale(1.05);
3797
+ }
3885
3798
 
3886
- /* Leading item: icon, avatar, avatar group or data pie chart */
3887
- .muka-tabs__leading {
3799
+ /* ─── Loading overlay + progress donut ────────────────── */
3800
+ .muka-thumbnail__overlay {
3801
+ position: absolute;
3802
+ inset: 0;
3888
3803
  display: flex;
3889
3804
  align-items: center;
3890
3805
  justify-content: center;
3891
- flex-shrink: 0;
3892
- }
3893
- .muka-tabs__trigger .muka-icon {
3894
- color: inherit;
3806
+ background-color: var(--dialog-color-backdrop);
3895
3807
  }
3896
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
3897
- .muka-tabs--size-sm .muka-tabs__leading > svg,
3898
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
3899
- .muka-tabs--size-md .muka-tabs__leading > svg,
3900
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
3901
- .muka-tabs--size-lg .muka-tabs__leading > svg,
3902
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
3903
3808
 
3904
- /* Responsive Scroll behavior on small screens */
3905
- @media (max-width: 768px) {
3906
- .muka-tabs__list {
3907
- /* Make scrollable */
3908
- overflow-x: auto;
3909
- overflow-y: hidden;
3910
- /* Force left alignment on mobile to prevent clipping when scrolling */
3911
- justify-content: flex-start !important;
3912
- max-width: 100vw;
3913
- -webkit-overflow-scrolling: touch;
3914
- /* Hide scrollbar for cleaner look */
3915
- scrollbar-width: none;
3916
- }
3917
- .muka-tabs__list::-webkit-scrollbar {
3918
- display: none;
3919
- }
3920
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
3921
- .muka-tabs--align-fill .muka-tabs__trigger {
3922
- flex: 0 0 auto;
3923
- }
3809
+ .muka-thumbnail__progress {
3810
+ width: 40px;
3811
+ height: 40px;
3924
3812
  }
3925
3813
 
3926
- /* Tab Panel — content area */
3927
- .muka-tabs__panel {
3928
- background-color: var(--tabs-panel-background);
3929
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
3930
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
3931
- padding: var(--spacing-4);
3932
- position: relative;
3933
- z-index: 1;
3934
- font-family: var(--text-body-base-regular-fontFamily);
3935
- font-weight: var(--text-body-base-regular-fontWeight);
3936
- font-size: var(--text-body-base-regular-fontSize);
3937
- line-height: var(--text-body-base-regular-lineHeight);
3814
+ /* ─── Error / corrupt state ───────────────────────────── */
3815
+ .muka-thumbnail--error .muka-thumbnail__frame {
3816
+ background-color: var(--alias-color-state-error-muted);
3817
+ border-color: var(--alias-color-state-error-default);
3938
3818
  }
3939
3819
 
3940
- .muka-tabs__panel:focus-visible {
3941
- outline: 2px solid var(--color-border-focus);
3942
- outline-offset: 2px;
3820
+ .muka-thumbnail__error {
3821
+ position: absolute;
3822
+ inset: 0;
3823
+ display: flex;
3824
+ flex-direction: column;
3825
+ align-items: center;
3826
+ justify-content: center;
3827
+ gap: var(--spacing-2);
3828
+ padding: var(--spacing-3);
3829
+ text-align: center;
3943
3830
  }
3944
3831
 
3832
+ .muka-thumbnail__error-icon {
3833
+ color: var(--alert-color-error-accent);
3834
+ }
3945
3835
 
3946
- /* Tile */
3947
- /* Tile Component Styles - Using Muka Design Tokens */
3948
-
3949
- /* ─── Base ────────────────────────────────────────────── */
3836
+ .muka-thumbnail__caption {
3837
+ max-width: 100%;
3838
+ overflow: hidden;
3839
+ text-overflow: ellipsis;
3840
+ white-space: nowrap;
3841
+ color: var(--alert-color-error-accent);
3842
+ font-family: var(--text-body-sm-regular-fontFamily);
3843
+ font-size: var(--text-body-sm-regular-fontSize);
3844
+ font-weight: var(--text-body-sm-regular-fontWeight);
3845
+ line-height: var(--text-body-sm-regular-lineHeight);
3846
+ }
3950
3847
 
3951
- .muka-tile {
3848
+ /* ─── Remove (×) button ───────────────────────────────── */
3849
+ .muka-thumbnail__remove {
3850
+ position: absolute;
3851
+ top: var(--spacing-2);
3852
+ right: var(--spacing-2);
3952
3853
  display: flex;
3953
- color: var(--color-text-default-default);
3854
+ align-items: center;
3855
+ justify-content: center;
3856
+ width: var(--size-2xl);
3857
+ height: var(--size-2xl);
3858
+ padding: 0;
3859
+ color: var(--button-color-tertiary-foreground-default);
3860
+ background-color: var(--button-color-tertiary-background-default);
3861
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3862
+ border-radius: var(--border-radius-lg);
3863
+ cursor: pointer;
3864
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3865
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3954
3866
  }
3955
3867
 
3956
- .muka-tile--interactive {
3957
- cursor: pointer;
3958
- user-select: none;
3868
+ .muka-thumbnail__remove:hover {
3869
+ color: var(--button-color-tertiary-foreground-hover);
3870
+ background-color: var(--button-color-tertiary-background-hover);
3871
+ border-color: var(--button-color-tertiary-border-hover);
3959
3872
  }
3960
3873
 
3961
- .muka-tile--interactive:focus-visible {
3874
+ .muka-thumbnail__remove:active {
3875
+ color: var(--button-color-tertiary-foreground-pressed);
3876
+ background-color: var(--button-color-tertiary-background-pressed);
3877
+ border-color: var(--button-color-tertiary-border-pressed);
3878
+ }
3879
+
3880
+ .muka-thumbnail__remove:focus-visible {
3962
3881
  outline: 2px solid var(--color-border-focus);
3963
3882
  outline-offset: 2px;
3964
- border-radius: var(--border-radius-lg);
3965
3883
  }
3966
3884
 
3967
- /* ─── Image position variants ─────────────────────────── */
3968
-
3969
- .muka-tile--image-top {
3970
- flex-direction: column;
3971
- }
3885
+ /* ─── Reduced motion ──────────────────────────────────── */
3886
+ @media (prefers-reduced-motion: reduce) {
3887
+ .muka-thumbnail__image,
3888
+ .muka-thumbnail__remove {
3889
+ transition: none;
3890
+ }
3972
3891
 
3973
- .muka-tile--image-left {
3974
- flex-direction: row;
3892
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3893
+ transform: none;
3894
+ }
3975
3895
  }
3976
3896
 
3977
- .muka-tile--image-right {
3978
- flex-direction: row;
3979
- }
3980
3897
 
3981
- /* ─── Gap by size (top) ───────────────────────────────── */
3898
+ /* Textarea */
3899
+ /* Textarea Component Styles - Using Muka Design Tokens */
3982
3900
 
3983
- .muka-tile--image-top.muka-tile--lg {
3984
- gap: var(--spacing-6);
3901
+ .muka-textarea {
3902
+ display: inline-flex;
3903
+ flex-direction: column;
3904
+ gap: var(--spacing-2);
3985
3905
  }
3986
3906
 
3987
- .muka-tile--image-top.muka-tile--md {
3988
- gap: var(--spacing-6);
3989
- width: 320px;
3907
+ /* Label */
3908
+ .muka-textarea__label {
3909
+ color: var(--color-text-default-default);
3910
+ cursor: pointer;
3990
3911
  }
3991
3912
 
3992
- .muka-tile--image-top.muka-tile--sm {
3993
- gap: var(--spacing-4);
3994
- min-width: 120px;
3913
+ .muka-textarea__label--sm {
3914
+ font-family: var(--text-label-sm-semibold-fontFamily);
3915
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3916
+ font-size: var(--text-label-sm-semibold-fontSize);
3917
+ line-height: var(--text-label-sm-semibold-lineHeight);
3995
3918
  }
3996
3919
 
3997
- /* ─── Gap by size (left/right) ────────────────────────── */
3998
-
3999
- .muka-tile--image-left.muka-tile--lg,
4000
- .muka-tile--image-right.muka-tile--lg {
4001
- gap: var(--spacing-6);
4002
- align-items: center;
3920
+ .muka-textarea__label--md {
3921
+ font-family: var(--text-label-md-semibold-fontFamily);
3922
+ font-weight: var(--text-label-md-semibold-fontWeight);
3923
+ font-size: var(--text-label-md-semibold-fontSize);
3924
+ line-height: var(--text-label-md-semibold-lineHeight);
4003
3925
  }
4004
3926
 
4005
- .muka-tile--image-left.muka-tile--md,
4006
- .muka-tile--image-right.muka-tile--md {
4007
- gap: var(--spacing-6);
4008
- align-items: center;
3927
+ .muka-textarea__label--lg {
3928
+ font-family: var(--text-label-lg-semibold-fontFamily);
3929
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3930
+ font-size: var(--text-label-lg-semibold-fontSize);
3931
+ line-height: var(--text-label-lg-semibold-lineHeight);
4009
3932
  }
4010
3933
 
4011
- .muka-tile--image-left.muka-tile--sm,
4012
- .muka-tile--image-right.muka-tile--sm {
4013
- gap: var(--spacing-4);
4014
- align-items: flex-start;
3934
+ .muka-textarea__required {
3935
+ color: var(--color-state-error-default);
4015
3936
  }
4016
3937
 
4017
- /* ─── Photos container ────────────────────────────────── */
4018
-
4019
- .muka-tile__photos {
4020
- position: relative;
4021
- flex-shrink: 0;
4022
- overflow: hidden;
3938
+ /* Field container */
3939
+ .muka-textarea__field {
4023
3940
  display: flex;
4024
- flex-direction: column;
4025
- isolation: isolate;
3941
+ background-color: var(--input-field-color-default-background);
3942
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3943
+ border-radius: var(--input-field-radius-md);
3944
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3945
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3946
+ box-sizing: border-box;
4026
3947
  }
4027
3948
 
4028
- /* Photos border radius by size */
4029
- .muka-tile--lg .muka-tile__photos,
4030
- .muka-tile--md .muka-tile__photos {
4031
- border-radius: var(--border-radius-lg);
3949
+ .muka-textarea__field--sm {
3950
+ min-height: var(--input-textarea-height-sm);
3951
+ border-radius: var(--input-field-radius-sm);
4032
3952
  }
4033
3953
 
4034
- .muka-tile--sm .muka-tile__photos {
4035
- border-radius: var(--border-radius-md);
3954
+ .muka-textarea__field--md {
3955
+ min-height: var(--input-textarea-height-default);
3956
+ border-radius: var(--input-field-radius-md);
4036
3957
  }
4037
3958
 
4038
- /* Photos sizing: top layout */
4039
- .muka-tile--image-top .muka-tile__photos {
4040
- width: 100%;
3959
+ .muka-textarea__field--lg {
3960
+ min-height: var(--input-textarea-height-lg);
3961
+ border-radius: var(--input-field-radius-lg);
4041
3962
  }
4042
3963
 
4043
- /* Photos sizing: left/right large */
4044
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4045
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4046
- width: 520px;
3964
+ /* Focus state */
3965
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3966
+ border-width: var(--border-width-bold);
3967
+ border-color: var(--input-field-color-focus-border);
3968
+ background-color: var(--input-field-color-focus-background);
3969
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4047
3970
  }
4048
3971
 
4049
- /* Photos sizing: left/right medium */
4050
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4051
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4052
- width: 320px;
3972
+ /* Error state */
3973
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3974
+ border-width: var(--border-width-bold);
3975
+ border-color: var(--input-field-color-error-border);
3976
+ background-color: var(--input-field-color-error-background);
3977
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4053
3978
  }
4054
3979
 
4055
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4056
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4057
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4058
- width: 80px;
4059
- align-self: stretch;
4060
- }
4061
-
4062
- /* ─── Main photo ──────────────────────────────────────── */
3980
+ /* Disabled state */
3981
+ .muka-textarea__field--disabled {
3982
+ background-color: var(--input-field-color-disabled-background);
3983
+ border-color: var(--input-field-color-disabled-border);
3984
+ cursor: not-allowed;
3985
+ }
4063
3986
 
4064
- .muka-tile__photo-main {
4065
- position: relative;
3987
+ /* Native textarea */
3988
+ .muka-textarea__native {
3989
+ flex: 1;
3990
+ border: none;
3991
+ outline: none;
3992
+ background: transparent;
3993
+ color: var(--input-field-color-default-foreground);
3994
+ font-family: var(--text-input-md-fontFamily);
3995
+ font-weight: var(--text-input-md-fontWeight);
3996
+ font-size: var(--text-input-md-fontSize);
3997
+ line-height: var(--text-input-md-lineHeight);
3998
+ padding: 0;
4066
3999
  width: 100%;
4067
- overflow: hidden;
4068
- flex-shrink: 0;
4000
+ min-width: 0;
4069
4001
  }
4070
4002
 
4071
- /* 16:9 aspect for lg and md */
4072
- .muka-tile--lg .muka-tile__photo-main,
4073
- .muka-tile--md .muka-tile__photo-main {
4074
- aspect-ratio: 1280 / 720;
4003
+ .muka-textarea__field--sm .muka-textarea__native {
4004
+ font-family: var(--text-input-sm-fontFamily);
4005
+ font-weight: var(--text-input-sm-fontWeight);
4006
+ font-size: var(--text-input-sm-fontSize);
4007
+ line-height: var(--text-input-sm-lineHeight);
4075
4008
  }
4076
4009
 
4077
- /* 1:1 aspect for top + sm */
4078
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4079
- aspect-ratio: 1 / 1;
4010
+ .muka-textarea__field--lg .muka-textarea__native {
4011
+ font-family: var(--text-input-lg-fontFamily);
4012
+ font-weight: var(--text-input-lg-fontWeight);
4013
+ font-size: var(--text-input-lg-fontSize);
4014
+ line-height: var(--text-input-lg-lineHeight);
4080
4015
  }
4081
4016
 
4082
- /* Fixed size for left/right + sm */
4083
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4084
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4085
- width: 80px;
4086
- height: 80px;
4087
- aspect-ratio: auto;
4017
+ .muka-textarea__native::placeholder {
4018
+ color: var(--color-text-subtle-default);
4088
4019
  }
4089
4020
 
4090
- .muka-tile__photo-main img {
4091
- width: 100%;
4092
- height: 100%;
4093
- object-fit: cover;
4094
- display: block;
4021
+ .muka-textarea__field--disabled .muka-textarea__native {
4022
+ color: var(--input-field-color-disabled-foreground);
4023
+ cursor: not-allowed;
4095
4024
  }
4096
4025
 
4097
- /* ─── Favourite overlay ───────────────────────────────── */
4026
+ /* Footer (helper/error + count) */
4027
+ .muka-textarea__footer {
4028
+ display: flex;
4029
+ justify-content: space-between;
4030
+ align-items: flex-start;
4031
+ gap: var(--spacing-2);
4032
+ }
4098
4033
 
4099
- .muka-tile__favourite {
4100
- position: absolute;
4101
- z-index: 3;
4034
+ .muka-textarea__helper {
4035
+ font-family: var(--text-label-sm-regular-fontFamily);
4036
+ font-weight: var(--text-label-sm-regular-fontWeight);
4037
+ font-size: var(--text-label-sm-regular-fontSize);
4038
+ line-height: var(--text-label-sm-regular-lineHeight);
4039
+ color: var(--color-text-subtle-default);
4040
+ margin: 0;
4102
4041
  }
4103
4042
 
4104
- .muka-tile--lg .muka-tile__favourite,
4105
- .muka-tile--md .muka-tile__favourite {
4106
- top: var(--spacing-4);
4107
- right: var(--spacing-4);
4043
+ .muka-textarea__error {
4044
+ font-family: var(--text-label-sm-regular-fontFamily);
4045
+ font-weight: var(--text-label-sm-regular-fontWeight);
4046
+ font-size: var(--text-label-sm-regular-fontSize);
4047
+ line-height: var(--text-label-sm-regular-lineHeight);
4048
+ color: var(--color-state-error-default);
4049
+ margin: 0;
4108
4050
  }
4109
4051
 
4110
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4111
- top: var(--spacing-1);
4112
- right: var(--spacing-1);
4052
+ .muka-textarea__count {
4053
+ font-family: var(--text-label-sm-regular-fontFamily);
4054
+ font-weight: var(--text-label-sm-regular-fontWeight);
4055
+ font-size: var(--text-label-sm-regular-fontSize);
4056
+ line-height: var(--text-label-sm-regular-lineHeight);
4057
+ color: var(--color-text-subtle-default);
4058
+ margin-left: auto;
4113
4059
  }
4114
4060
 
4115
- /* ─── Thumbnails ──────────────────────────────────────── */
4116
4061
 
4117
- .muka-tile__thumbnails {
4118
- display: flex;
4119
- gap: 2px;
4120
- overflow: hidden;
4121
- flex-shrink: 0;
4122
- height: 80px;
4123
- }
4062
+ /* TextLink */
4063
+ /* TextLink Component Styles - Using Muka Design Tokens */
4124
4064
 
4125
- .muka-tile__thumbnail {
4126
- width: 80px;
4127
- height: 80px;
4128
- flex-shrink: 0;
4129
- overflow: hidden;
4065
+ .muka-text-link {
4066
+ display: inline;
4067
+ cursor: pointer;
4068
+ text-decoration: underline;
4069
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4070
+ text-underline-offset: 0.2em;
4071
+ text-decoration-thickness: from-font;
4072
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4073
+ border-radius: var(--border-radius-sm);
4074
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4130
4075
  }
4131
4076
 
4132
- .muka-tile__thumbnail img {
4133
- width: 100%;
4134
- height: 100%;
4135
- object-fit: cover;
4136
- display: block;
4077
+ /* ─── Sizes ───────────────────────────────────────────────
4078
+ Mirrors the body text scale so a link matches the copy it sits in. */
4079
+ .muka-text-link--sm {
4080
+ font-family: var(--text-body-sm-regular-fontFamily);
4081
+ font-weight: var(--text-body-sm-regular-fontWeight);
4082
+ font-size: var(--text-body-sm-regular-fontSize);
4083
+ line-height: var(--text-body-sm-regular-lineHeight);
4137
4084
  }
4138
4085
 
4139
- /* Gap between main photo and thumbnails */
4140
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4141
- margin-top: 2px;
4086
+ .muka-text-link--base {
4087
+ font-family: var(--text-body-base-regular-fontFamily);
4088
+ font-weight: var(--text-body-base-regular-fontWeight);
4089
+ font-size: var(--text-body-base-regular-fontSize);
4090
+ line-height: var(--text-body-base-regular-lineHeight);
4142
4091
  }
4143
4092
 
4144
- /* ─── Content section ─────────────────────────────────── */
4145
-
4146
- .muka-tile__content {
4147
- display: flex;
4148
- flex-direction: column;
4149
- flex: 1;
4150
- min-width: 0;
4093
+ .muka-text-link--lg {
4094
+ font-family: var(--text-body-lg-regular-fontFamily);
4095
+ font-weight: var(--text-body-lg-regular-fontWeight);
4096
+ font-size: var(--text-body-lg-regular-fontSize);
4097
+ line-height: var(--text-body-lg-regular-lineHeight);
4151
4098
  }
4152
4099
 
4153
- /* Top layout: content has horizontal padding */
4154
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4155
- padding: 0 var(--spacing-3);
4156
- gap: var(--spacing-1);
4100
+ /* ─── Variant: default (accent) ───────────────────────────
4101
+ Visited repeats the default colour on purpose: the design treats visited and
4102
+ default the same, and pinning it stops the browser's purple from showing. */
4103
+ .muka-text-link--default,
4104
+ .muka-text-link--default:visited {
4105
+ color: var(--color-text-action-default);
4157
4106
  }
4158
4107
 
4159
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4160
- padding: 0 var(--spacing-3);
4161
- gap: var(--spacing-2);
4108
+ .muka-text-link--default:hover,
4109
+ .muka-text-link--default:focus-visible {
4110
+ color: var(--color-text-action-hover);
4162
4111
  }
4163
4112
 
4164
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4165
- gap: var(--spacing-2);
4113
+ .muka-text-link--default:active {
4114
+ color: var(--color-text-action-pressed);
4166
4115
  }
4167
4116
 
4168
- /* Left/right layout: content grows to fill space */
4169
- .muka-tile--image-left .muka-tile__content,
4170
- .muka-tile--image-right .muka-tile__content {
4171
- gap: var(--spacing-3);
4117
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4118
+ Hover, focus and pressed all darken to the default text colour. */
4119
+ .muka-text-link--subtle,
4120
+ .muka-text-link--subtle:visited {
4121
+ color: var(--color-text-subtle-default);
4172
4122
  }
4173
4123
 
4174
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4175
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4176
- padding: 0 var(--spacing-3);
4124
+ .muka-text-link--subtle:hover,
4125
+ .muka-text-link--subtle:focus-visible,
4126
+ .muka-text-link--subtle:active {
4127
+ color: var(--color-text-default-default);
4177
4128
  }
4178
4129
 
4179
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4180
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4181
- padding: var(--spacing-2) var(--spacing-3);
4130
+ /* ─── Focus ───────────────────────────────────────────────
4131
+ Same ring as every other focusable Muka component. */
4132
+ .muka-text-link:focus-visible {
4133
+ outline: 2px solid var(--color-border-focus);
4134
+ outline-offset: 2px;
4182
4135
  }
4183
4136
 
4184
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4185
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4186
- gap: var(--spacing-2);
4137
+ @media (prefers-reduced-motion: reduce) {
4138
+ .muka-text-link {
4139
+ transition: none;
4140
+ }
4187
4141
  }
4188
4142
 
4189
- /* ─── Header (heading row + price) ────────────────────── */
4190
4143
 
4191
- .muka-tile__header {
4144
+ /* Tabs */
4145
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4146
+
4147
+ .muka-tabs {
4192
4148
  display: flex;
4193
- align-items: flex-start;
4194
- gap: var(--spacing-4);
4149
+ flex-direction: column;
4195
4150
  }
4196
4151
 
4197
- /* Small horizontal: row with text and action */
4198
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4199
- gap: var(--spacing-2);
4200
- align-items: center;
4201
- padding-top: var(--spacing-1);
4152
+ /* Alignment Variants */
4153
+ .muka-tabs--align-left .muka-tabs__list {
4154
+ justify-content: flex-start;
4202
4155
  }
4203
-
4204
- /* ─── Text group ──────────────────────────────────────── */
4205
-
4206
- .muka-tile__text {
4207
- display: flex;
4208
- flex-direction: column;
4156
+ .muka-tabs--align-center .muka-tabs__list {
4157
+ justify-content: center;
4158
+ }
4159
+ .muka-tabs--align-fill .muka-tabs__list {
4160
+ justify-content: space-between;
4161
+ }
4162
+ .muka-tabs--align-fill .muka-tabs__trigger {
4209
4163
  flex: 1;
4210
- min-width: 0;
4211
- gap: var(--spacing-2);
4212
4164
  }
4213
4165
 
4214
- /* ─── Heading typography ──────────────────────────────── */
4166
+ /* Tab List — strip container */
4167
+ .muka-tabs__list {
4168
+ display: flex;
4169
+ align-items: center;
4170
+ position: relative;
4171
+ z-index: 2;
4172
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4173
+ }
4215
4174
 
4216
- .muka-tile__heading {
4217
- margin: 0;
4175
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4176
+ .muka-tabs--padding-default .muka-tabs__list {
4177
+ padding-inline: var(--tabs-list-padding-x);
4218
4178
  }
4219
4179
 
4220
- .muka-tile--lg .muka-tile__heading {
4221
- font-family: var(--text-label-2xl-semibold-fontFamily);
4222
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4223
- font-size: var(--text-label-2xl-semibold-fontSize);
4224
- line-height: var(--text-label-2xl-semibold-lineHeight);
4225
- color: var(--color-text-default-default);
4226
- }
4180
+ /* Tab Trigger — clean underline style */
4181
+ .muka-tabs__trigger {
4182
+ display: inline-flex;
4183
+ align-items: center;
4184
+ justify-content: center;
4185
+ gap: var(--spacing-1);
4186
+ background: transparent;
4187
+ border: none;
4188
+ cursor: pointer;
4189
+ user-select: none;
4190
+ transition: background-color 0.2s ease, color 0.2s ease;
4191
+ outline: none;
4192
+ white-space: nowrap;
4193
+ position: relative;
4194
+ z-index: 2;
4195
+ color: var(--tabs-trigger-color-default-foreground);
4227
4196
 
4228
- .muka-tile--md .muka-tile__heading {
4229
- font-family: var(--text-label-xl-semibold-fontFamily);
4230
- font-weight: var(--text-label-xl-semibold-fontWeight);
4231
- font-size: var(--text-label-xl-semibold-fontSize);
4232
- line-height: var(--text-label-xl-semibold-lineHeight);
4233
- color: var(--color-text-default-default);
4197
+ /* Default MD size values */
4198
+ min-height: var(--tabs-trigger-min-height-md);
4199
+ padding: var(--spacing-3);
4200
+ font-family: var(--text-label-md-regular-fontFamily);
4201
+ font-weight: var(--text-label-md-regular-fontWeight);
4202
+ font-size: var(--text-label-md-regular-fontSize);
4203
+ line-height: var(--text-label-md-regular-lineHeight);
4234
4204
  }
4235
4205
 
4236
- .muka-tile--sm .muka-tile__heading {
4237
- font-family: var(--text-label-lg-bold-fontFamily);
4238
- font-weight: var(--text-label-lg-bold-fontWeight);
4239
- font-size: var(--text-label-lg-bold-fontSize);
4240
- line-height: var(--text-label-lg-bold-lineHeight);
4241
- color: var(--color-text-default-default);
4206
+ /* Size Variants */
4207
+ .muka-tabs--size-sm .muka-tabs__trigger {
4208
+ min-height: var(--tabs-trigger-min-height-sm);
4209
+ padding: 0 var(--spacing-2);
4210
+ font-family: var(--text-label-sm-regular-fontFamily);
4211
+ font-weight: var(--text-label-sm-regular-fontWeight);
4212
+ font-size: var(--text-label-sm-regular-fontSize);
4213
+ line-height: var(--text-label-sm-regular-lineHeight);
4242
4214
  }
4243
4215
 
4244
- /* ─── Subheading typography ───────────────────────────── */
4245
-
4246
- .muka-tile__subheading {
4247
- margin: 0;
4248
- color: var(--color-text-subtle-default);
4216
+ .muka-tabs--size-lg .muka-tabs__trigger {
4217
+ min-height: var(--tabs-trigger-min-height-lg);
4218
+ padding: var(--spacing-4);
4219
+ font-family: var(--text-label-lg-regular-fontFamily);
4220
+ font-weight: var(--text-label-lg-regular-fontWeight);
4221
+ font-size: var(--text-label-lg-regular-fontSize);
4222
+ line-height: var(--text-label-lg-regular-lineHeight);
4249
4223
  }
4250
4224
 
4251
- .muka-tile--lg .muka-tile__subheading {
4252
- font-family: var(--text-subheading-md-fontFamily);
4253
- font-weight: var(--text-subheading-md-fontWeight);
4254
- font-size: var(--text-subheading-md-fontSize);
4255
- line-height: var(--text-subheading-md-lineHeight);
4225
+ /* Hover state */
4226
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4227
+ color: var(--tabs-trigger-color-hover-foreground);
4256
4228
  }
4257
4229
 
4258
- .muka-tile--md .muka-tile__subheading,
4259
- .muka-tile--sm .muka-tile__subheading {
4260
- font-family: var(--text-subheading-sm-fontFamily);
4261
- font-weight: var(--text-subheading-sm-fontWeight);
4262
- font-size: var(--text-subheading-sm-fontSize);
4263
- line-height: var(--text-subheading-sm-lineHeight);
4230
+ /* Current tab */
4231
+ .muka-tabs__trigger--current {
4232
+ color: var(--tabs-trigger-color-current-foreground);
4264
4233
  }
4265
4234
 
4266
- /* ─── Description typography ──────────────────────────── */
4267
-
4268
- .muka-tile__description {
4269
- margin: 0;
4270
- color: var(--color-text-default-default);
4235
+ /* Active bottom border (underline) */
4236
+ .muka-tabs__trigger--current::after {
4237
+ content: '';
4238
+ position: absolute;
4239
+ bottom: -1px; /* Overlap the 1px border */
4240
+ left: 0;
4241
+ right: 0;
4242
+ height: var(--tabs-indicator-height-md);
4243
+ background-color: var(--tabs-indicator-color);
4244
+ border-bottom-left-radius: 1px;
4245
+ border-bottom-right-radius: 1px;
4246
+ border-top-left-radius: 3px;
4247
+ border-top-right-radius: 3px;
4248
+ z-index: 3;
4271
4249
  }
4272
4250
 
4273
- .muka-tile--lg .muka-tile__description {
4274
- font-family: var(--text-body-lg-regular-fontFamily);
4275
- font-weight: var(--text-body-lg-regular-fontWeight);
4276
- font-size: var(--text-body-lg-regular-fontSize);
4277
- line-height: var(--text-body-lg-regular-lineHeight);
4251
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4252
+ height: var(--tabs-indicator-height-sm);
4253
+ }
4254
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4255
+ height: var(--tabs-indicator-height-lg);
4278
4256
  }
4279
4257
 
4280
- .muka-tile--md .muka-tile__description,
4281
- .muka-tile--sm .muka-tile__description {
4282
- font-family: var(--text-body-base-regular-fontFamily);
4283
- font-weight: var(--text-body-base-regular-fontWeight);
4284
- font-size: var(--text-body-base-regular-fontSize);
4285
- line-height: var(--text-body-base-regular-lineHeight);
4258
+ .muka-tabs__trigger--disabled {
4259
+ color: var(--tabs-trigger-color-disabled-foreground);
4260
+ cursor: not-allowed;
4286
4261
  }
4287
4262
 
4288
- /* Description overflow for medium */
4289
- .muka-tile--md .muka-tile__description {
4290
- overflow: hidden;
4291
- text-overflow: ellipsis;
4263
+ .muka-tabs__trigger:focus-visible {
4264
+ outline: 2px solid var(--color-border-focus);
4265
+ outline-offset: -2px;
4292
4266
  }
4293
4267
 
4294
- /* ─── Price slot ──────────────────────────────────────── */
4268
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4269
+ item sits 12px from the text */
4270
+ .muka-tabs__label {
4271
+ padding: 0 var(--spacing-2);
4272
+ }
4295
4273
 
4296
- .muka-tile__price {
4274
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4275
+ .muka-tabs__leading {
4276
+ display: flex;
4277
+ align-items: center;
4278
+ justify-content: center;
4297
4279
  flex-shrink: 0;
4298
4280
  }
4281
+ .muka-tabs__trigger .muka-icon {
4282
+ color: inherit;
4283
+ }
4284
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4285
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4286
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4287
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4288
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4289
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4290
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4299
4291
 
4300
- /* ─── Action slot ─────────────────────────────────────── */
4292
+ /* Responsive Scroll behavior on small screens */
4293
+ @media (max-width: 768px) {
4294
+ .muka-tabs__list {
4295
+ /* Make scrollable */
4296
+ overflow-x: auto;
4297
+ overflow-y: hidden;
4298
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4299
+ justify-content: flex-start !important;
4300
+ max-width: 100vw;
4301
+ -webkit-overflow-scrolling: touch;
4302
+ /* Hide scrollbar for cleaner look */
4303
+ scrollbar-width: none;
4304
+ }
4305
+ .muka-tabs__list::-webkit-scrollbar {
4306
+ display: none;
4307
+ }
4308
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4309
+ .muka-tabs--align-fill .muka-tabs__trigger {
4310
+ flex: 0 0 auto;
4311
+ }
4312
+ }
4301
4313
 
4302
- .muka-tile__action {
4303
- flex-shrink: 0;
4314
+ /* Tab Panel — content area */
4315
+ .muka-tabs__panel {
4316
+ background-color: var(--tabs-panel-background);
4317
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4318
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4319
+ padding: var(--spacing-4);
4320
+ position: relative;
4321
+ z-index: 1;
4322
+ font-family: var(--text-body-base-regular-fontFamily);
4323
+ font-weight: var(--text-body-base-regular-fontWeight);
4324
+ font-size: var(--text-body-base-regular-fontSize);
4325
+ line-height: var(--text-body-base-regular-lineHeight);
4326
+ }
4327
+
4328
+ .muka-tabs__panel:focus-visible {
4329
+ outline: 2px solid var(--color-border-focus);
4330
+ outline-offset: 2px;
4304
4331
  }
4305
4332
 
4306
4333
 
@@ -5321,118 +5348,43 @@ body {
5321
5348
  }
5322
5349
 
5323
5350
 
5324
- /* Skeleton */
5325
- /* Skeleton Component Styles */
5326
-
5327
- .muka-skeleton {
5328
- background-color: var(--color-surface-level1);
5329
- display: block;
5330
- }
5351
+ /* Sheet */
5352
+ /* Sheet Component Styles */
5331
5353
 
5332
- /* Variants */
5333
- .muka-skeleton--text {
5334
- height: 1em;
5335
- border-radius: var(--radius-md);
5336
- width: 100%;
5337
- }
5354
+ /* ─── Backdrop ────────────────────────────────────────── */
5338
5355
 
5339
- .muka-skeleton--circular {
5340
- width: 2.5rem;
5341
- height: 2.5rem;
5342
- border-radius: var(--radius-full);
5356
+ .muka-sheet__overlay {
5357
+ position: fixed;
5358
+ inset: 0;
5359
+ background-color: var(--color-surface-backdrop);
5360
+ z-index: 50;
5343
5361
  }
5344
5362
 
5345
- .muka-skeleton--rectangular {
5346
- height: 7.5rem;
5347
- border-radius: var(--radius-md);
5348
- width: 100%;
5349
- }
5363
+ /* ─── Surface ─────────────────────────────────────────── */
5350
5364
 
5351
- /* Last line in multi-line text is shorter */
5352
- .muka-skeleton--last-line {
5353
- width: 80%;
5354
- }
5365
+ .muka-sheet {
5366
+ position: fixed;
5367
+ left: 0;
5368
+ right: 0;
5369
+ bottom: 0;
5370
+ z-index: 51;
5355
5371
 
5356
- /* Lines container */
5357
- .muka-skeleton__lines {
5358
5372
  display: flex;
5359
5373
  flex-direction: column;
5360
- gap: var(--spacing-2);
5361
- }
5362
5374
 
5363
- /* Shimmer animation */
5364
- @keyframes muka-skeleton-shimmer {
5365
- 0% {
5366
- background-position: -200% 0;
5367
- }
5368
- 100% {
5369
- background-position: 200% 0;
5370
- }
5375
+ max-height: 96dvh;
5376
+
5377
+ background-color: var(--color-surface-level3);
5378
+ border-top-left-radius: var(--radius-lg);
5379
+ border-top-right-radius: var(--radius-lg);
5380
+ box-shadow: var(--shadow-level5);
5381
+
5382
+ outline: none;
5371
5383
  }
5372
5384
 
5373
- .muka-skeleton--shimmer {
5374
- background: linear-gradient(
5375
- 90deg,
5376
- var(--color-surface-level1) 25%,
5377
- var(--color-surface-level2) 50%,
5378
- var(--color-surface-level1) 75%
5379
- );
5380
- background-size: 200% 100%;
5381
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5382
- }
5383
-
5384
- /* Pulse animation */
5385
- @keyframes muka-skeleton-pulse {
5386
- 0%, 100% {
5387
- opacity: 1;
5388
- }
5389
- 50% {
5390
- opacity: 0.4;
5391
- }
5392
- }
5393
-
5394
- .muka-skeleton--pulse {
5395
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5396
- }
5397
-
5398
-
5399
- /* Sheet */
5400
- /* Sheet Component Styles */
5401
-
5402
- /* ─── Backdrop ────────────────────────────────────────── */
5403
-
5404
- .muka-sheet__overlay {
5405
- position: fixed;
5406
- inset: 0;
5407
- background-color: var(--color-surface-backdrop);
5408
- z-index: 50;
5409
- }
5410
-
5411
- /* ─── Surface ─────────────────────────────────────────── */
5412
-
5413
- .muka-sheet {
5414
- position: fixed;
5415
- left: 0;
5416
- right: 0;
5417
- bottom: 0;
5418
- z-index: 51;
5419
-
5420
- display: flex;
5421
- flex-direction: column;
5422
-
5423
- max-height: 96dvh;
5424
-
5425
- background-color: var(--color-surface-level3);
5426
- border-top-left-radius: var(--radius-lg);
5427
- border-top-right-radius: var(--radius-lg);
5428
- box-shadow: var(--shadow-level5);
5429
-
5430
- outline: none;
5431
- }
5432
-
5433
- /* Safe-area bottom inset for the iPhone home indicator. */
5434
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5435
- padding-bottom: env(safe-area-inset-bottom);
5385
+ /* Safe-area bottom inset for the iPhone home indicator. */
5386
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5387
+ padding-bottom: env(safe-area-inset-bottom);
5436
5388
  }
5437
5389
 
5438
5390
  /* ─── Drag handle ─────────────────────────────────────── */
@@ -5476,6 +5428,81 @@ body {
5476
5428
  }
5477
5429
 
5478
5430
 
5431
+ /* Skeleton */
5432
+ /* Skeleton Component Styles */
5433
+
5434
+ .muka-skeleton {
5435
+ background-color: var(--color-surface-level1);
5436
+ display: block;
5437
+ }
5438
+
5439
+ /* Variants */
5440
+ .muka-skeleton--text {
5441
+ height: 1em;
5442
+ border-radius: var(--radius-md);
5443
+ width: 100%;
5444
+ }
5445
+
5446
+ .muka-skeleton--circular {
5447
+ width: 2.5rem;
5448
+ height: 2.5rem;
5449
+ border-radius: var(--radius-full);
5450
+ }
5451
+
5452
+ .muka-skeleton--rectangular {
5453
+ height: 7.5rem;
5454
+ border-radius: var(--radius-md);
5455
+ width: 100%;
5456
+ }
5457
+
5458
+ /* Last line in multi-line text is shorter */
5459
+ .muka-skeleton--last-line {
5460
+ width: 80%;
5461
+ }
5462
+
5463
+ /* Lines container */
5464
+ .muka-skeleton__lines {
5465
+ display: flex;
5466
+ flex-direction: column;
5467
+ gap: var(--spacing-2);
5468
+ }
5469
+
5470
+ /* Shimmer animation */
5471
+ @keyframes muka-skeleton-shimmer {
5472
+ 0% {
5473
+ background-position: -200% 0;
5474
+ }
5475
+ 100% {
5476
+ background-position: 200% 0;
5477
+ }
5478
+ }
5479
+
5480
+ .muka-skeleton--shimmer {
5481
+ background: linear-gradient(
5482
+ 90deg,
5483
+ var(--color-surface-level1) 25%,
5484
+ var(--color-surface-level2) 50%,
5485
+ var(--color-surface-level1) 75%
5486
+ );
5487
+ background-size: 200% 100%;
5488
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5489
+ }
5490
+
5491
+ /* Pulse animation */
5492
+ @keyframes muka-skeleton-pulse {
5493
+ 0%, 100% {
5494
+ opacity: 1;
5495
+ }
5496
+ 50% {
5497
+ opacity: 0.4;
5498
+ }
5499
+ }
5500
+
5501
+ .muka-skeleton--pulse {
5502
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5503
+ }
5504
+
5505
+
5479
5506
  /* Select */
5480
5507
  /* Select Component Styles - Aligned with Input for consistency */
5481
5508
 
@@ -5858,86 +5885,240 @@ body {
5858
5885
  }
5859
5886
 
5860
5887
 
5861
- /* Section */
5862
- /* Section Component - Layout tokens (section.padding) */
5863
-
5864
- .muka-section {
5865
- box-sizing: border-box;
5866
- }
5888
+ /* Scrollbar */
5889
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5867
5890
 
5868
- .muka-section--padding-compact {
5869
- padding-block: var(--section-padding-vertical-compact);
5870
- padding-inline: var(--section-padding-horizontal-compact);
5891
+ .muka-scrollbar {
5892
+ display: flex;
5893
+ flex-shrink: 0;
5894
+ border-left: var(--border-width-regular) solid var(--color-border-default);
5895
+ background-color: var(--color-surface-level3);
5896
+ user-select: none;
5871
5897
  }
5872
5898
 
5873
- .muka-section--padding-default {
5874
- padding-block: var(--section-padding-vertical-default);
5875
- padding-inline: var(--section-padding-horizontal-default);
5899
+ .muka-scrollbar--vertical {
5900
+ flex-direction: column;
5901
+ width: var(--size-2xl, 32px);
5902
+ align-self: stretch;
5876
5903
  }
5877
5904
 
5878
- .muka-section--padding-spacious {
5879
- padding-block: var(--section-padding-vertical-spacious);
5880
- padding-inline: var(--section-padding-horizontal-spacious);
5905
+ .muka-scrollbar--horizontal {
5906
+ flex-direction: row;
5907
+ height: var(--size-2xl, 32px);
5908
+ width: 100%;
5909
+ border-left: none;
5910
+ border-top: var(--border-width-regular) solid var(--color-border-default);
5881
5911
  }
5882
5912
 
5883
-
5884
- /* SearchInput */
5885
- /* SearchInput Component Styles */
5886
-
5887
- .muka-search-input {
5913
+ .muka-scrollbar__button {
5888
5914
  display: flex;
5889
5915
  align-items: center;
5890
- gap: var(--spacing-3);
5916
+ justify-content: center;
5917
+ flex-shrink: 0;
5891
5918
  width: 100%;
5919
+ height: var(--size-2xl, 32px);
5920
+ padding: 0;
5921
+ border: none;
5922
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5923
+ color: var(--color-text-default-default);
5924
+ cursor: pointer;
5892
5925
  }
5893
5926
 
5894
- /* ─── Field wrapper ───────────────────────────────────── */
5895
-
5896
- .muka-search-input__field {
5897
- flex: 1 1 auto;
5898
- display: flex;
5899
- align-items: center;
5900
- gap: var(--spacing-2);
5901
- background-color: var(--input-field-color-default-background);
5902
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5903
- border-radius: var(--input-field-radius-md);
5904
- padding: 0 var(--input-field-padding-x);
5905
- transition: border-color 0.12s ease, background-color 0.12s ease;
5927
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
5928
+ width: var(--size-2xl, 32px);
5929
+ height: 100%;
5906
5930
  }
5907
5931
 
5908
- .muka-search-input--focused .muka-search-input__field {
5909
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5932
+ .muka-scrollbar__button:hover {
5933
+ background-color: var(--color-surface-hover);
5910
5934
  }
5911
5935
 
5912
- /* ─── Sizes ───────────────────────────────────────────── */
5913
-
5914
- .muka-search-input--sm .muka-search-input__field {
5915
- min-height: var(--input-field-height-sm);
5916
- border-radius: var(--input-field-radius-sm);
5936
+ .muka-scrollbar__divider {
5937
+ flex-shrink: 0;
5938
+ width: 100%;
5939
+ height: 1px;
5940
+ background-color: var(--color-border-default);
5917
5941
  }
5918
5942
 
5919
- .muka-search-input--md .muka-search-input__field {
5920
- min-height: var(--input-field-height-default);
5943
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
5944
+ width: 1px;
5945
+ height: 100%;
5921
5946
  }
5922
5947
 
5923
- .muka-search-input--lg .muka-search-input__field {
5924
- min-height: var(--input-field-height-lg);
5925
- border-radius: var(--input-field-radius-lg);
5948
+ .muka-scrollbar__track {
5949
+ position: relative;
5950
+ display: flex;
5951
+ flex-direction: column;
5952
+ flex: 1 1 auto;
5953
+ min-height: 0;
5954
+ width: 100%;
5926
5955
  }
5927
5956
 
5928
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5957
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
5958
+ flex-direction: row;
5959
+ min-width: 0;
5960
+ height: 100%;
5961
+ }
5929
5962
 
5930
- .muka-search-input--embedded .muka-search-input__field {
5931
- background-color: var(--color-surface-level1);
5932
- border-color: transparent;
5963
+ .muka-scrollbar__thumb {
5964
+ position: absolute;
5965
+ left: 0;
5966
+ top: 0;
5967
+ z-index: 1;
5968
+ display: flex;
5969
+ align-items: center;
5970
+ justify-content: center;
5971
+ width: 100%;
5972
+ /* Figma: scrollbar thumb fill = surface/level3 */
5973
+ background-color: var(--color-surface-level3);
5974
+ cursor: grab;
5975
+ touch-action: none;
5933
5976
  }
5934
5977
 
5935
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5936
- border-color: transparent;
5937
- background-color: var(--color-surface-level2);
5978
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
5979
+ left: 0;
5980
+ top: 0;
5981
+ width: auto;
5982
+ height: 100%;
5983
+ margin-left: 0;
5984
+ margin-top: 0;
5938
5985
  }
5939
5986
 
5940
- /* ─── Disabled ────────────────────────────────────────── */
5987
+ .muka-scrollbar__thumb:active {
5988
+ cursor: grabbing;
5989
+ }
5990
+
5991
+ .muka-scrollbar__grip {
5992
+ display: flex;
5993
+ flex-direction: column;
5994
+ gap: 2px;
5995
+ width: 14px;
5996
+ }
5997
+
5998
+ .muka-scrollbar__grip::before,
5999
+ .muka-scrollbar__grip::after {
6000
+ content: '';
6001
+ display: block;
6002
+ width: 100%;
6003
+ height: 2px;
6004
+ border-radius: var(--border-radius-md);
6005
+ background-color: var(--color-text-subtle-default);
6006
+ }
6007
+
6008
+ .muka-scrollbar__spacer {
6009
+ flex: 1 1 auto;
6010
+ min-height: 0;
6011
+ background-color: var(--color-surface-level2);
6012
+ }
6013
+
6014
+
6015
+ /* RecordingBar */
6016
+ /* RecordingBar Component Styles */
6017
+
6018
+ .muka-recording-bar {
6019
+ display: flex;
6020
+ align-items: center;
6021
+ gap: var(--spacing-3);
6022
+ width: 100%;
6023
+ min-width: 0;
6024
+ }
6025
+
6026
+ .muka-recording-bar__dot {
6027
+ flex: 0 0 auto;
6028
+ width: 0.625rem;
6029
+ height: 0.625rem;
6030
+ border-radius: var(--radius-full, 9999px);
6031
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
6032
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6033
+ }
6034
+
6035
+ .muka-recording-bar__time {
6036
+ flex: 0 0 auto;
6037
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6038
+ line-height: var(--text-label-sm-lineHeight, 1);
6039
+ font-variant-numeric: tabular-nums;
6040
+ color: var(--color-text-default-default);
6041
+ }
6042
+
6043
+ .muka-recording-bar__wave {
6044
+ flex: 1 1 auto;
6045
+ min-width: 0;
6046
+ }
6047
+
6048
+ @keyframes muka-recording-bar-pulse {
6049
+ 0%,
6050
+ 100% {
6051
+ opacity: 1;
6052
+ }
6053
+ 50% {
6054
+ opacity: 0.3;
6055
+ }
6056
+ }
6057
+
6058
+ @media (prefers-reduced-motion: reduce) {
6059
+ .muka-recording-bar__dot {
6060
+ animation: none;
6061
+ }
6062
+ }
6063
+
6064
+
6065
+ /* SearchInput */
6066
+ /* SearchInput Component Styles */
6067
+
6068
+ .muka-search-input {
6069
+ display: flex;
6070
+ align-items: center;
6071
+ gap: var(--spacing-3);
6072
+ width: 100%;
6073
+ }
6074
+
6075
+ /* ─── Field wrapper ───────────────────────────────────── */
6076
+
6077
+ .muka-search-input__field {
6078
+ flex: 1 1 auto;
6079
+ display: flex;
6080
+ align-items: center;
6081
+ gap: var(--spacing-2);
6082
+ background-color: var(--input-field-color-default-background);
6083
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6084
+ border-radius: var(--input-field-radius-md);
6085
+ padding: 0 var(--input-field-padding-x);
6086
+ transition: border-color 0.12s ease, background-color 0.12s ease;
6087
+ }
6088
+
6089
+ .muka-search-input--focused .muka-search-input__field {
6090
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
6091
+ }
6092
+
6093
+ /* ─── Sizes ───────────────────────────────────────────── */
6094
+
6095
+ .muka-search-input--sm .muka-search-input__field {
6096
+ min-height: var(--input-field-height-sm);
6097
+ border-radius: var(--input-field-radius-sm);
6098
+ }
6099
+
6100
+ .muka-search-input--md .muka-search-input__field {
6101
+ min-height: var(--input-field-height-default);
6102
+ }
6103
+
6104
+ .muka-search-input--lg .muka-search-input__field {
6105
+ min-height: var(--input-field-height-lg);
6106
+ border-radius: var(--input-field-radius-lg);
6107
+ }
6108
+
6109
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6110
+
6111
+ .muka-search-input--embedded .muka-search-input__field {
6112
+ background-color: var(--color-surface-level1);
6113
+ border-color: transparent;
6114
+ }
6115
+
6116
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6117
+ border-color: transparent;
6118
+ background-color: var(--color-surface-level2);
6119
+ }
6120
+
6121
+ /* ─── Disabled ────────────────────────────────────────── */
5941
6122
 
5942
6123
  .muka-search-input--disabled .muka-search-input__field {
5943
6124
  opacity: 0.5;
@@ -6050,221 +6231,67 @@ body {
6050
6231
  }
6051
6232
 
6052
6233
 
6053
- /* Scrollbar */
6054
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6055
-
6056
- .muka-scrollbar {
6057
- display: flex;
6058
- flex-shrink: 0;
6059
- border-left: var(--border-width-regular) solid var(--color-border-default);
6060
- background-color: var(--color-surface-level3);
6061
- user-select: none;
6062
- }
6063
-
6064
- .muka-scrollbar--vertical {
6065
- flex-direction: column;
6066
- width: var(--size-2xl, 32px);
6067
- align-self: stretch;
6068
- }
6234
+ /* Section */
6235
+ /* Section Component - Layout tokens (section.padding) */
6069
6236
 
6070
- .muka-scrollbar--horizontal {
6071
- flex-direction: row;
6072
- height: var(--size-2xl, 32px);
6073
- width: 100%;
6074
- border-left: none;
6075
- border-top: var(--border-width-regular) solid var(--color-border-default);
6237
+ .muka-section {
6238
+ box-sizing: border-box;
6076
6239
  }
6077
6240
 
6078
- .muka-scrollbar__button {
6079
- display: flex;
6080
- align-items: center;
6081
- justify-content: center;
6082
- flex-shrink: 0;
6083
- width: 100%;
6084
- height: var(--size-2xl, 32px);
6085
- padding: 0;
6086
- border: none;
6087
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6088
- color: var(--color-text-default-default);
6089
- cursor: pointer;
6241
+ .muka-section--padding-compact {
6242
+ padding-block: var(--section-padding-vertical-compact);
6243
+ padding-inline: var(--section-padding-horizontal-compact);
6090
6244
  }
6091
6245
 
6092
- .muka-scrollbar--horizontal .muka-scrollbar__button {
6093
- width: var(--size-2xl, 32px);
6094
- height: 100%;
6246
+ .muka-section--padding-default {
6247
+ padding-block: var(--section-padding-vertical-default);
6248
+ padding-inline: var(--section-padding-horizontal-default);
6095
6249
  }
6096
6250
 
6097
- .muka-scrollbar__button:hover {
6098
- background-color: var(--color-surface-hover);
6251
+ .muka-section--padding-spacious {
6252
+ padding-block: var(--section-padding-vertical-spacious);
6253
+ padding-inline: var(--section-padding-horizontal-spacious);
6099
6254
  }
6100
6255
 
6101
- .muka-scrollbar__divider {
6102
- flex-shrink: 0;
6103
- width: 100%;
6104
- height: 1px;
6105
- background-color: var(--color-border-default);
6106
- }
6107
6256
 
6108
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
6109
- width: 1px;
6110
- height: 100%;
6111
- }
6257
+ /* RangeSlider */
6258
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6112
6259
 
6113
- .muka-scrollbar__track {
6114
- position: relative;
6260
+ .muka-range-slider {
6115
6261
  display: flex;
6116
6262
  flex-direction: column;
6117
- flex: 1 1 auto;
6118
- min-height: 0;
6263
+ gap: var(--spacing-1);
6119
6264
  width: 100%;
6120
6265
  }
6121
6266
 
6122
- .muka-scrollbar--horizontal .muka-scrollbar__track {
6123
- flex-direction: row;
6124
- min-width: 0;
6125
- height: 100%;
6126
- }
6267
+ /* ========================================
6268
+ HEADER: label group (label + info + optional) and value readout
6269
+ ======================================== */
6127
6270
 
6128
- .muka-scrollbar__thumb {
6129
- position: absolute;
6130
- left: 0;
6131
- top: 0;
6132
- z-index: 1;
6271
+ .muka-range-slider__header {
6133
6272
  display: flex;
6134
6273
  align-items: center;
6135
- justify-content: center;
6136
- width: 100%;
6137
- /* Figma: scrollbar thumb fill = surface/level3 */
6138
- background-color: var(--color-surface-level3);
6139
- cursor: grab;
6140
- touch-action: none;
6274
+ justify-content: space-between;
6275
+ gap: var(--spacing-2);
6276
+ min-height: 24px;
6141
6277
  }
6142
6278
 
6143
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6144
- left: 0;
6145
- top: 0;
6146
- width: auto;
6147
- height: 100%;
6148
- margin-left: 0;
6149
- margin-top: 0;
6279
+ .muka-range-slider__label-group {
6280
+ display: inline-flex;
6281
+ align-items: center;
6282
+ gap: var(--spacing-2);
6150
6283
  }
6151
6284
 
6152
- .muka-scrollbar__thumb:active {
6153
- cursor: grabbing;
6285
+ .muka-range-slider__label {
6286
+ font-family: var(--text-label-md-semibold-fontFamily);
6287
+ font-weight: var(--text-label-md-semibold-fontWeight);
6288
+ font-size: var(--text-label-md-semibold-fontSize);
6289
+ line-height: var(--text-label-md-semibold-lineHeight);
6290
+ color: var(--color-text-default-default);
6154
6291
  }
6155
6292
 
6156
- .muka-scrollbar__grip {
6157
- display: flex;
6158
- flex-direction: column;
6159
- gap: 2px;
6160
- width: 14px;
6161
- }
6162
-
6163
- .muka-scrollbar__grip::before,
6164
- .muka-scrollbar__grip::after {
6165
- content: '';
6166
- display: block;
6167
- width: 100%;
6168
- height: 2px;
6169
- border-radius: var(--border-radius-md);
6170
- background-color: var(--color-text-subtle-default);
6171
- }
6172
-
6173
- .muka-scrollbar__spacer {
6174
- flex: 1 1 auto;
6175
- min-height: 0;
6176
- background-color: var(--color-surface-level2);
6177
- }
6178
-
6179
-
6180
- /* RecordingBar */
6181
- /* RecordingBar Component Styles */
6182
-
6183
- .muka-recording-bar {
6184
- display: flex;
6185
- align-items: center;
6186
- gap: var(--spacing-3);
6187
- width: 100%;
6188
- min-width: 0;
6189
- }
6190
-
6191
- .muka-recording-bar__dot {
6192
- flex: 0 0 auto;
6193
- width: 0.625rem;
6194
- height: 0.625rem;
6195
- border-radius: var(--radius-full, 9999px);
6196
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6197
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6198
- }
6199
-
6200
- .muka-recording-bar__time {
6201
- flex: 0 0 auto;
6202
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6203
- line-height: var(--text-label-sm-lineHeight, 1);
6204
- font-variant-numeric: tabular-nums;
6205
- color: var(--color-text-default-default);
6206
- }
6207
-
6208
- .muka-recording-bar__wave {
6209
- flex: 1 1 auto;
6210
- min-width: 0;
6211
- }
6212
-
6213
- @keyframes muka-recording-bar-pulse {
6214
- 0%,
6215
- 100% {
6216
- opacity: 1;
6217
- }
6218
- 50% {
6219
- opacity: 0.3;
6220
- }
6221
- }
6222
-
6223
- @media (prefers-reduced-motion: reduce) {
6224
- .muka-recording-bar__dot {
6225
- animation: none;
6226
- }
6227
- }
6228
-
6229
-
6230
- /* RangeSlider */
6231
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6232
-
6233
- .muka-range-slider {
6234
- display: flex;
6235
- flex-direction: column;
6236
- gap: var(--spacing-1);
6237
- width: 100%;
6238
- }
6239
-
6240
- /* ========================================
6241
- HEADER: label group (label + info + optional) and value readout
6242
- ======================================== */
6243
-
6244
- .muka-range-slider__header {
6245
- display: flex;
6246
- align-items: center;
6247
- justify-content: space-between;
6248
- gap: var(--spacing-2);
6249
- min-height: 24px;
6250
- }
6251
-
6252
- .muka-range-slider__label-group {
6253
- display: inline-flex;
6254
- align-items: center;
6255
- gap: var(--spacing-2);
6256
- }
6257
-
6258
- .muka-range-slider__label {
6259
- font-family: var(--text-label-md-semibold-fontFamily);
6260
- font-weight: var(--text-label-md-semibold-fontWeight);
6261
- font-size: var(--text-label-md-semibold-fontSize);
6262
- line-height: var(--text-label-md-semibold-lineHeight);
6263
- color: var(--color-text-default-default);
6264
- }
6265
-
6266
- .muka-range-slider__info {
6267
- color: var(--color-text-subtle-default);
6293
+ .muka-range-slider__info {
6294
+ color: var(--color-text-subtle-default);
6268
6295
  }
6269
6296
 
6270
6297
  .muka-range-slider__optional {
@@ -7599,6 +7626,77 @@ button.muka-progress-tracker__tab:focus-visible {
7599
7626
  }
7600
7627
 
7601
7628
 
7629
+ /* ProfileBadge */
7630
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7631
+
7632
+ .muka-profile-badge {
7633
+ display: inline-flex;
7634
+ align-items: center;
7635
+ font-family: var(--text-body-base-regular-fontFamily);
7636
+ }
7637
+
7638
+ /* Size variants */
7639
+ .muka-profile-badge--lg {
7640
+ gap: var(--spacing-4); /* 16px */
7641
+ }
7642
+
7643
+ .muka-profile-badge--md {
7644
+ gap: var(--spacing-3); /* 12px */
7645
+ }
7646
+
7647
+ .muka-profile-badge__avatar {
7648
+ flex-shrink: 0;
7649
+ }
7650
+
7651
+ /* Text stack */
7652
+ .muka-profile-badge__text {
7653
+ display: flex;
7654
+ flex-direction: column;
7655
+ align-items: flex-start;
7656
+ min-width: 0;
7657
+ }
7658
+
7659
+ .muka-profile-badge__name {
7660
+ font-family: var(--text-body-base-regular-fontFamily);
7661
+ font-size: var(--text-body-base-regular-fontSize);
7662
+ font-weight: var(--text-body-base-regular-fontWeight);
7663
+ line-height: var(--text-body-base-regular-lineHeight);
7664
+ color: var(--color-text-default-default);
7665
+ }
7666
+
7667
+ .muka-profile-badge__email {
7668
+ font-family: var(--text-body-xs-regular-fontFamily);
7669
+ font-size: var(--text-body-xs-regular-fontSize);
7670
+ font-weight: var(--text-body-xs-regular-fontWeight);
7671
+ line-height: var(--text-body-xs-regular-lineHeight);
7672
+ color: var(--color-text-subtle-default);
7673
+ }
7674
+
7675
+ /* Clickable state */
7676
+ .muka-profile-badge--clickable {
7677
+ cursor: pointer;
7678
+ border: none;
7679
+ background: none;
7680
+ padding: 0;
7681
+ text-align: left;
7682
+ border-radius: var(--radius-md);
7683
+ transition: opacity 0.2s ease;
7684
+ }
7685
+
7686
+ .muka-profile-badge--clickable:hover {
7687
+ opacity: 0.9;
7688
+ }
7689
+
7690
+ .muka-profile-badge--clickable:active {
7691
+ opacity: 0.8;
7692
+ }
7693
+
7694
+ .muka-profile-badge--clickable:focus-visible {
7695
+ outline: 2px solid var(--color-border-focus);
7696
+ outline-offset: 2px;
7697
+ }
7698
+
7699
+
7602
7700
  /* Progress */
7603
7701
  /* Progress Component Styles - Using Muka Design Tokens */
7604
7702
 
@@ -7771,77 +7869,6 @@ button.muka-progress-tracker__tab:focus-visible {
7771
7869
  }
7772
7870
 
7773
7871
 
7774
- /* ProfileBadge */
7775
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7776
-
7777
- .muka-profile-badge {
7778
- display: inline-flex;
7779
- align-items: center;
7780
- font-family: var(--text-body-base-regular-fontFamily);
7781
- }
7782
-
7783
- /* Size variants */
7784
- .muka-profile-badge--lg {
7785
- gap: var(--spacing-4); /* 16px */
7786
- }
7787
-
7788
- .muka-profile-badge--md {
7789
- gap: var(--spacing-3); /* 12px */
7790
- }
7791
-
7792
- .muka-profile-badge__avatar {
7793
- flex-shrink: 0;
7794
- }
7795
-
7796
- /* Text stack */
7797
- .muka-profile-badge__text {
7798
- display: flex;
7799
- flex-direction: column;
7800
- align-items: flex-start;
7801
- min-width: 0;
7802
- }
7803
-
7804
- .muka-profile-badge__name {
7805
- font-family: var(--text-body-base-regular-fontFamily);
7806
- font-size: var(--text-body-base-regular-fontSize);
7807
- font-weight: var(--text-body-base-regular-fontWeight);
7808
- line-height: var(--text-body-base-regular-lineHeight);
7809
- color: var(--color-text-default-default);
7810
- }
7811
-
7812
- .muka-profile-badge__email {
7813
- font-family: var(--text-body-xs-regular-fontFamily);
7814
- font-size: var(--text-body-xs-regular-fontSize);
7815
- font-weight: var(--text-body-xs-regular-fontWeight);
7816
- line-height: var(--text-body-xs-regular-lineHeight);
7817
- color: var(--color-text-subtle-default);
7818
- }
7819
-
7820
- /* Clickable state */
7821
- .muka-profile-badge--clickable {
7822
- cursor: pointer;
7823
- border: none;
7824
- background: none;
7825
- padding: 0;
7826
- text-align: left;
7827
- border-radius: var(--radius-md);
7828
- transition: opacity 0.2s ease;
7829
- }
7830
-
7831
- .muka-profile-badge--clickable:hover {
7832
- opacity: 0.9;
7833
- }
7834
-
7835
- .muka-profile-badge--clickable:active {
7836
- opacity: 0.8;
7837
- }
7838
-
7839
- .muka-profile-badge--clickable:focus-visible {
7840
- outline: 2px solid var(--color-border-focus);
7841
- outline-offset: 2px;
7842
- }
7843
-
7844
-
7845
7872
  /* PriceTag */
7846
7873
  /* PriceTag Component Styles - Using Muka Design Tokens */
7847
7874
 
@@ -7970,16 +7997,355 @@ button.muka-progress-tracker__tab:focus-visible {
7970
7997
  }
7971
7998
 
7972
7999
 
7973
- /* PieChart */
7974
- /* PieChart Component Styles - Using Muka Design Tokens */
8000
+ /* PlanningGantt */
8001
+ /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
7975
8002
 
7976
- .muka-piechart {
7977
- display: inline-flex;
7978
- align-items: center;
7979
- gap: var(--spacing-4);
8003
+ .muka-gantt {
8004
+ container-type: inline-size;
8005
+ container-name: muka-gantt;
8006
+ display: flex;
8007
+ flex-direction: column;
8008
+ gap: var(--spacing-3);
8009
+ color: var(--gantt-bar-text);
8010
+ font-family: var(--text-body-sm-regular-fontFamily);
7980
8011
  }
7981
8012
 
7982
- /* Legend layout */
8013
+ /* Toolbar: today + pager on the left, actions on the right */
8014
+ .muka-gantt__toolbar {
8015
+ display: flex;
8016
+ flex-wrap: wrap;
8017
+ align-items: center;
8018
+ justify-content: space-between;
8019
+ gap: var(--spacing-3);
8020
+ }
8021
+
8022
+ .muka-gantt__pager {
8023
+ display: flex;
8024
+ align-items: center;
8025
+ gap: var(--spacing-2);
8026
+ }
8027
+
8028
+ .muka-gantt__pager-group {
8029
+ display: flex;
8030
+ align-items: center;
8031
+ gap: var(--spacing-1);
8032
+ }
8033
+
8034
+ .muka-gantt__week-label {
8035
+ min-width: var(--size-15xl);
8036
+ text-align: center;
8037
+ font-family: var(--text-label-sm-semibold-fontFamily);
8038
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8039
+ font-size: var(--text-label-sm-semibold-fontSize);
8040
+ line-height: var(--text-body-sm-regular-lineHeight);
8041
+ }
8042
+
8043
+ .muka-gantt__actions {
8044
+ display: flex;
8045
+ align-items: center;
8046
+ gap: var(--spacing-2);
8047
+ }
8048
+
8049
+ /* Legend */
8050
+ .muka-gantt__legend {
8051
+ display: flex;
8052
+ flex-wrap: wrap;
8053
+ gap: var(--spacing-2) var(--spacing-4);
8054
+ margin: 0;
8055
+ padding: 0;
8056
+ list-style: none;
8057
+ font-size: var(--text-body-xs-regular-fontSize);
8058
+ line-height: var(--text-body-xs-regular-lineHeight);
8059
+ }
8060
+
8061
+ .muka-gantt__legend-item {
8062
+ display: inline-flex;
8063
+ align-items: center;
8064
+ gap: var(--spacing-2);
8065
+ }
8066
+
8067
+ .muka-gantt__swatch {
8068
+ width: var(--size-sm);
8069
+ height: var(--size-sm);
8070
+ border-radius: var(--alias-radius-sm);
8071
+ border: var(--border-width-regular) solid transparent;
8072
+ box-sizing: border-box;
8073
+ }
8074
+
8075
+ .muka-gantt__swatch--task {
8076
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 14%, var(--gantt-background));
8077
+ border-color: var(--muka-gantt-bar-tone);
8078
+ }
8079
+
8080
+ .muka-gantt__swatch--stelpost {
8081
+ background: var(--gantt-stelpost-background);
8082
+ border: var(--border-width-bold) dashed var(--gantt-stelpost-border);
8083
+ }
8084
+
8085
+ .muka-gantt__swatch--wait {
8086
+ background: repeating-linear-gradient(
8087
+ 135deg,
8088
+ var(--gantt-wait-stripe-a) 0 var(--size-2xs),
8089
+ var(--gantt-wait-stripe-b) var(--size-2xs) var(--size-xs)
8090
+ );
8091
+ border-color: var(--gantt-wait-border);
8092
+ }
8093
+
8094
+ .muka-gantt__swatch--ghost {
8095
+ border: var(--border-width-bold) dashed var(--gantt-ghost-border);
8096
+ }
8097
+
8098
+ /* Table */
8099
+ .muka-gantt__table {
8100
+ background: var(--gantt-background);
8101
+ border: var(--border-width-regular) solid var(--gantt-border);
8102
+ border-radius: var(--alias-radius-lg);
8103
+ overflow: hidden;
8104
+ }
8105
+
8106
+ .muka-gantt__row {
8107
+ display: grid;
8108
+ grid-template-columns: var(--gantt-row-label-width) minmax(0, 1fr);
8109
+ border-bottom: var(--border-width-regular) solid var(--gantt-border);
8110
+ }
8111
+
8112
+ .muka-gantt__row:last-child {
8113
+ border-bottom: 0;
8114
+ }
8115
+
8116
+ .muka-gantt__row--header {
8117
+ background: var(--gantt-header-background);
8118
+ color: var(--gantt-header-foreground);
8119
+ }
8120
+
8121
+ .muka-gantt__label {
8122
+ display: flex;
8123
+ flex-direction: column;
8124
+ justify-content: center;
8125
+ gap: var(--spacing-1);
8126
+ min-width: 0;
8127
+ padding: var(--spacing-2) var(--spacing-4);
8128
+ border-right: var(--border-width-regular) solid var(--gantt-border);
8129
+ }
8130
+
8131
+ .muka-gantt__label--header {
8132
+ font-family: var(--text-label-xs-semibold-fontFamily);
8133
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8134
+ font-size: var(--text-label-xs-semibold-fontSize);
8135
+ }
8136
+
8137
+ .muka-gantt__label-text {
8138
+ font-family: var(--text-body-sm-bold-fontFamily);
8139
+ font-weight: var(--text-body-sm-bold-fontWeight);
8140
+ font-size: var(--text-body-sm-bold-fontSize);
8141
+ line-height: var(--text-body-sm-bold-lineHeight);
8142
+ }
8143
+
8144
+ .muka-gantt__sublabel {
8145
+ color: var(--color-text-subtle-default);
8146
+ font-size: var(--text-body-xs-regular-fontSize);
8147
+ line-height: var(--text-body-xs-regular-lineHeight);
8148
+ }
8149
+
8150
+ .muka-gantt__track {
8151
+ display: grid;
8152
+ grid-template-columns: repeat(var(--muka-gantt-days), minmax(0, 1fr));
8153
+ grid-template-rows: minmax(var(--gantt-row-height), auto);
8154
+ min-width: 0;
8155
+ }
8156
+
8157
+ .muka-gantt__track--header {
8158
+ grid-template-rows: auto;
8159
+ }
8160
+
8161
+ .muka-gantt__day {
8162
+ display: flex;
8163
+ flex-direction: column;
8164
+ gap: var(--spacing-1);
8165
+ padding: var(--spacing-2) var(--spacing-3);
8166
+ border-left: var(--border-width-regular) solid var(--gantt-border);
8167
+ font-family: var(--text-label-xs-semibold-fontFamily);
8168
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8169
+ font-size: var(--text-label-xs-semibold-fontSize);
8170
+ line-height: var(--text-body-xs-regular-lineHeight);
8171
+ }
8172
+
8173
+ .muka-gantt__day:first-child,
8174
+ .muka-gantt__day-cell:first-child {
8175
+ border-left: 0;
8176
+ }
8177
+
8178
+ .muka-gantt__day--today {
8179
+ background: var(--gantt-today-background);
8180
+ box-shadow: inset 0 var(--border-width-bold) 0 var(--gantt-today-indicator);
8181
+ }
8182
+
8183
+ .muka-gantt__day-today {
8184
+ font-family: var(--text-label-xs-bold-fontFamily);
8185
+ font-weight: var(--text-label-xs-bold-fontWeight);
8186
+ }
8187
+
8188
+ .muka-gantt__day-cell {
8189
+ grid-row: 1;
8190
+ border-left: var(--border-width-regular) solid var(--gantt-border);
8191
+ }
8192
+
8193
+
8194
+ .muka-gantt__day-cell--today {
8195
+ background: var(--gantt-today-background);
8196
+ }
8197
+
8198
+ .muka-gantt__empty {
8199
+ grid-column: 1 / -1;
8200
+ padding: var(--spacing-6) var(--spacing-4);
8201
+ text-align: center;
8202
+ color: var(--color-text-subtle-default);
8203
+ }
8204
+
8205
+ /* Bars */
8206
+ .muka-gantt__bar {
8207
+ grid-row: 1;
8208
+ z-index: 1;
8209
+ display: flex;
8210
+ align-items: center;
8211
+ gap: var(--spacing-1);
8212
+ min-width: 0;
8213
+ margin: var(--spacing-2) var(--spacing-1);
8214
+ padding: var(--spacing-1) var(--spacing-2);
8215
+ box-sizing: border-box;
8216
+ border: var(--border-width-regular) solid transparent;
8217
+ border-radius: var(--gantt-bar-radius);
8218
+ color: var(--gantt-bar-text);
8219
+ font: inherit;
8220
+ font-family: var(--text-label-xs-semibold-fontFamily);
8221
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8222
+ font-size: var(--text-label-xs-semibold-fontSize);
8223
+ line-height: var(--text-body-xs-regular-lineHeight);
8224
+ text-align: left;
8225
+ }
8226
+
8227
+ .muka-gantt__bar--tone-blue { --muka-gantt-bar-tone: var(--gantt-tone-blue); }
8228
+ .muka-gantt__bar--tone-teal { --muka-gantt-bar-tone: var(--gantt-tone-teal); }
8229
+ .muka-gantt__bar--tone-purple { --muka-gantt-bar-tone: var(--gantt-tone-purple); }
8230
+ .muka-gantt__bar--tone-green { --muka-gantt-bar-tone: var(--gantt-tone-green); }
8231
+ .muka-gantt__bar--tone-orange { --muka-gantt-bar-tone: var(--gantt-tone-orange); }
8232
+ .muka-gantt__bar--tone-pink { --muka-gantt-bar-tone: var(--gantt-tone-pink); }
8233
+
8234
+ .muka-gantt__bar--task {
8235
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 14%, var(--gantt-background));
8236
+ border-color: var(--muka-gantt-bar-tone);
8237
+ color: color-mix(in srgb, var(--muka-gantt-bar-tone) 45%, var(--gantt-bar-text));
8238
+ }
8239
+
8240
+ .muka-gantt__bar--task.muka-gantt__bar--status-done {
8241
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 8%, var(--gantt-background));
8242
+ }
8243
+
8244
+ .muka-gantt__bar--stelpost {
8245
+ background: var(--gantt-stelpost-background);
8246
+ border: var(--border-width-bold) dashed var(--gantt-stelpost-border);
8247
+ }
8248
+
8249
+ .muka-gantt__bar--wait {
8250
+ background: repeating-linear-gradient(
8251
+ 135deg,
8252
+ var(--gantt-wait-stripe-a) 0 var(--size-xs),
8253
+ var(--gantt-wait-stripe-b) var(--size-xs) var(--size-md)
8254
+ );
8255
+ border-color: var(--gantt-wait-border);
8256
+ color: var(--gantt-wait-foreground);
8257
+ }
8258
+
8259
+ .muka-gantt__bar--ghost {
8260
+ z-index: 0;
8261
+ background: transparent;
8262
+ border: var(--border-width-bold) dashed var(--gantt-ghost-border);
8263
+ color: var(--gantt-ghost-border);
8264
+ }
8265
+
8266
+ .muka-gantt__bar--continues-before {
8267
+ margin-left: 0;
8268
+ border-top-left-radius: 0;
8269
+ border-bottom-left-radius: 0;
8270
+ border-left-width: 0;
8271
+ }
8272
+
8273
+ .muka-gantt__bar--continues-after {
8274
+ margin-right: 0;
8275
+ border-top-right-radius: 0;
8276
+ border-bottom-right-radius: 0;
8277
+ border-right-width: 0;
8278
+ }
8279
+
8280
+ .muka-gantt__bar--interactive {
8281
+ cursor: pointer;
8282
+ }
8283
+
8284
+ .muka-gantt__bar--interactive:hover {
8285
+ box-shadow: var(--shadow-level2);
8286
+ }
8287
+
8288
+ .muka-gantt__bar--interactive:focus-visible {
8289
+ outline: var(--border-width-bold) solid var(--color-border-focus);
8290
+ outline-offset: var(--border-width-bold);
8291
+ }
8292
+
8293
+ .muka-gantt__bar-icon {
8294
+ flex: none;
8295
+ }
8296
+
8297
+ .muka-gantt__bar-label {
8298
+ min-width: 0;
8299
+ overflow: hidden;
8300
+ text-overflow: ellipsis;
8301
+ white-space: nowrap;
8302
+ }
8303
+
8304
+ .muka-gantt__bar-badge {
8305
+ flex: none;
8306
+ display: inline-flex;
8307
+ margin-left: auto;
8308
+ }
8309
+
8310
+ /* Narrow containers: the task label sits above its bars */
8311
+ @container muka-gantt (max-width: 40rem) {
8312
+ .muka-gantt__row {
8313
+ grid-template-columns: minmax(0, 1fr);
8314
+ }
8315
+
8316
+ .muka-gantt__label {
8317
+ border-right: 0;
8318
+ padding-bottom: 0;
8319
+ }
8320
+
8321
+ .muka-gantt__label--header {
8322
+ display: none;
8323
+ }
8324
+
8325
+ .muka-gantt__day {
8326
+ padding: var(--spacing-2);
8327
+ }
8328
+
8329
+ .muka-gantt__bar {
8330
+ padding: var(--spacing-1);
8331
+ }
8332
+
8333
+ .muka-gantt__week-label {
8334
+ min-width: 0;
8335
+ }
8336
+ }
8337
+
8338
+
8339
+ /* PieChart */
8340
+ /* PieChart Component Styles - Using Muka Design Tokens */
8341
+
8342
+ .muka-piechart {
8343
+ display: inline-flex;
8344
+ align-items: center;
8345
+ gap: var(--spacing-4);
8346
+ }
8347
+
8348
+ /* Legend layout */
7983
8349
  .muka-piechart--legend-right {
7984
8350
  flex-direction: row;
7985
8351
  }
@@ -10402,6 +10768,28 @@ li.muka-listitem {
10402
10768
  }
10403
10769
 
10404
10770
 
10771
+ /* EmojiPicker */
10772
+ /* EmojiPicker Component Styles */
10773
+
10774
+ .muka-emoji-picker {
10775
+ display: grid;
10776
+ grid-template-columns: repeat(8, 1fr);
10777
+ gap: var(--spacing-1);
10778
+ padding: var(--spacing-2);
10779
+ max-height: 12rem;
10780
+ overflow-y: auto;
10781
+ background: var(--color-surface-level2);
10782
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10783
+ border-radius: var(--radius-lg);
10784
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10785
+ }
10786
+
10787
+ .muka-emoji-picker__glyph {
10788
+ font-size: 1.25rem;
10789
+ line-height: 1;
10790
+ }
10791
+
10792
+
10405
10793
  /* EmptyState */
10406
10794
  /* EmptyState Component Styles - Using Muka Design Tokens */
10407
10795
 
@@ -10543,28 +10931,6 @@ li.muka-listitem {
10543
10931
  }
10544
10932
 
10545
10933
 
10546
- /* EmojiPicker */
10547
- /* EmojiPicker Component Styles */
10548
-
10549
- .muka-emoji-picker {
10550
- display: grid;
10551
- grid-template-columns: repeat(8, 1fr);
10552
- gap: var(--spacing-1);
10553
- padding: var(--spacing-2);
10554
- max-height: 12rem;
10555
- overflow-y: auto;
10556
- background: var(--color-surface-level2);
10557
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10558
- border-radius: var(--radius-lg);
10559
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10560
- }
10561
-
10562
- .muka-emoji-picker__glyph {
10563
- font-size: 1.25rem;
10564
- line-height: 1;
10565
- }
10566
-
10567
-
10568
10934
  /* DropdownSelect */
10569
10935
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10570
10936
 
@@ -11548,13 +11914,89 @@ li.muka-listitem {
11548
11914
  }
11549
11915
 
11550
11916
 
11551
- /* DataTable */
11552
- /* DataTable Component Styles - Using Muka Design Tokens */
11917
+ /* DataPieChart */
11918
+ /* DataPieChart Component Styles - Using Muka Design Tokens */
11553
11919
 
11554
- .muka-data-table-wrapper {
11555
- width: 100%;
11556
- overflow-x: auto;
11557
- -webkit-overflow-scrolling: touch;
11920
+ .muka-data-pie-chart {
11921
+ position: relative;
11922
+ display: inline-flex;
11923
+ align-items: center;
11924
+ justify-content: center;
11925
+ flex-shrink: 0;
11926
+ }
11927
+
11928
+ .muka-data-pie-chart__svg {
11929
+ display: block;
11930
+ width: 100%;
11931
+ height: 100%;
11932
+ /* Start the segment at 12 o'clock instead of 3 o'clock */
11933
+ transform: rotate(-90deg);
11934
+ }
11935
+
11936
+ .muka-data-pie-chart__track {
11937
+ fill: none;
11938
+ }
11939
+
11940
+ .muka-data-pie-chart__segment {
11941
+ fill: none;
11942
+ /* Subtle lift on the filled segment, matching the Figma elevation */
11943
+ filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
11944
+ /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
11945
+ stroke-linecap: butt;
11946
+ /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
11947
+ transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
11948
+ }
11949
+
11950
+ /* ─── Indeterminate (spinner) ─────────────────────────── */
11951
+ /* A masked ring filled with an angular (conic) gradient that rotates. The mask
11952
+ band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
11953
+ it swaps seamlessly with the value-based progress donut. */
11954
+ .muka-data-pie-chart__spinner-track,
11955
+ .muka-data-pie-chart__spinner {
11956
+ position: absolute;
11957
+ inset: 0;
11958
+ border-radius: 50%;
11959
+ -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11960
+ mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11961
+ }
11962
+
11963
+ .muka-data-pie-chart__spinner {
11964
+ animation: muka-data-pie-chart-spin 0.9s linear infinite;
11965
+ }
11966
+
11967
+ @keyframes muka-data-pie-chart-spin {
11968
+ to {
11969
+ transform: rotate(360deg);
11970
+ }
11971
+ }
11972
+
11973
+ @media (prefers-reduced-motion: reduce) {
11974
+ .muka-data-pie-chart__spinner {
11975
+ animation-duration: 2.5s;
11976
+ }
11977
+ }
11978
+
11979
+ .muka-data-pie-chart__value {
11980
+ position: absolute;
11981
+ inset: 0;
11982
+ display: flex;
11983
+ align-items: center;
11984
+ justify-content: center;
11985
+ font-family: var(--text-body-base-bold-fontFamily);
11986
+ font-weight: var(--text-body-base-bold-fontWeight);
11987
+ font-size: var(--text-body-base-bold-fontSize);
11988
+ line-height: var(--text-body-base-bold-lineHeight);
11989
+ color: var(--color-text-default-default);
11990
+ }
11991
+
11992
+
11993
+ /* DataTable */
11994
+ /* DataTable Component Styles - Using Muka Design Tokens */
11995
+
11996
+ .muka-data-table-wrapper {
11997
+ width: 100%;
11998
+ overflow-x: auto;
11999
+ -webkit-overflow-scrolling: touch;
11558
12000
  }
11559
12001
 
11560
12002
  .muka-data-table {
@@ -12041,82 +12483,6 @@ li.muka-listitem {
12041
12483
  }
12042
12484
 
12043
12485
 
12044
- /* DataPieChart */
12045
- /* DataPieChart Component Styles - Using Muka Design Tokens */
12046
-
12047
- .muka-data-pie-chart {
12048
- position: relative;
12049
- display: inline-flex;
12050
- align-items: center;
12051
- justify-content: center;
12052
- flex-shrink: 0;
12053
- }
12054
-
12055
- .muka-data-pie-chart__svg {
12056
- display: block;
12057
- width: 100%;
12058
- height: 100%;
12059
- /* Start the segment at 12 o'clock instead of 3 o'clock */
12060
- transform: rotate(-90deg);
12061
- }
12062
-
12063
- .muka-data-pie-chart__track {
12064
- fill: none;
12065
- }
12066
-
12067
- .muka-data-pie-chart__segment {
12068
- fill: none;
12069
- /* Subtle lift on the filled segment, matching the Figma elevation */
12070
- filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
12071
- /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
12072
- stroke-linecap: butt;
12073
- /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
12074
- transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
12075
- }
12076
-
12077
- /* ─── Indeterminate (spinner) ─────────────────────────── */
12078
- /* A masked ring filled with an angular (conic) gradient that rotates. The mask
12079
- band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
12080
- it swaps seamlessly with the value-based progress donut. */
12081
- .muka-data-pie-chart__spinner-track,
12082
- .muka-data-pie-chart__spinner {
12083
- position: absolute;
12084
- inset: 0;
12085
- border-radius: 50%;
12086
- -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12087
- mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12088
- }
12089
-
12090
- .muka-data-pie-chart__spinner {
12091
- animation: muka-data-pie-chart-spin 0.9s linear infinite;
12092
- }
12093
-
12094
- @keyframes muka-data-pie-chart-spin {
12095
- to {
12096
- transform: rotate(360deg);
12097
- }
12098
- }
12099
-
12100
- @media (prefers-reduced-motion: reduce) {
12101
- .muka-data-pie-chart__spinner {
12102
- animation-duration: 2.5s;
12103
- }
12104
- }
12105
-
12106
- .muka-data-pie-chart__value {
12107
- position: absolute;
12108
- inset: 0;
12109
- display: flex;
12110
- align-items: center;
12111
- justify-content: center;
12112
- font-family: var(--text-body-base-bold-fontFamily);
12113
- font-weight: var(--text-body-base-bold-fontWeight);
12114
- font-size: var(--text-body-base-bold-fontSize);
12115
- line-height: var(--text-body-base-bold-lineHeight);
12116
- color: var(--color-text-default-default);
12117
- }
12118
-
12119
-
12120
12486
  /* ContextSelect */
12121
12487
  /* ContextSelect — split label (navigate) + chevron menu button (switch)
12122
12488
  *
@@ -12237,310 +12603,86 @@ li.muka-listitem {
12237
12603
  }
12238
12604
 
12239
12605
 
12240
- /* Container */
12241
- /* Container Component - Layout tokens (container.max-width, container.gap) */
12606
+ /* Chip */
12607
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12242
12608
 
12243
- .muka-container {
12609
+ .muka-chip {
12610
+ display: inline-flex;
12611
+ align-items: center;
12612
+ border-radius: var(--border-radius-full);
12613
+ white-space: nowrap;
12614
+ user-select: none;
12615
+ border: var(--border-width-regular) solid transparent;
12244
12616
  box-sizing: border-box;
12245
- width: 100%;
12246
- margin-inline: auto;
12247
12617
  }
12248
12618
 
12249
- /* Max-width variants */
12250
- .muka-container--max-width-small {
12251
- max-width: var(--container-max-width-small);
12619
+ /*
12620
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12621
+ * Vertical centering is handled by the fixed height + align-items: center.
12622
+ * The side that carries an adornment (leading icon / dismiss button) gets a
12623
+ * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12624
+ */
12625
+ .muka-chip--sm {
12626
+ height: var(--chip-size-height-sm);
12627
+ gap: var(--chip-gap-sm);
12628
+ padding: 0 var(--chip-padding-label-sm);
12629
+ font-family: var(--text-label-sm-regular-fontFamily);
12630
+ font-weight: var(--text-label-sm-regular-fontWeight);
12631
+ font-size: var(--text-label-sm-regular-fontSize);
12632
+ line-height: var(--text-label-sm-regular-lineHeight);
12252
12633
  }
12253
12634
 
12254
- .muka-container--max-width-medium {
12255
- max-width: var(--container-max-width-medium);
12635
+ .muka-chip--md {
12636
+ height: var(--chip-size-height-md);
12637
+ gap: var(--chip-gap-md);
12638
+ padding: 0 var(--chip-padding-label-md);
12639
+ font-family: var(--text-label-md-regular-fontFamily);
12640
+ font-weight: var(--text-label-md-regular-fontWeight);
12641
+ font-size: var(--text-label-md-regular-fontSize);
12642
+ line-height: var(--text-label-md-regular-lineHeight);
12256
12643
  }
12257
12644
 
12258
- .muka-container--max-width-large {
12259
- max-width: var(--container-max-width-large);
12645
+ .muka-chip--lg {
12646
+ height: var(--chip-size-height-lg);
12647
+ gap: var(--chip-gap-lg);
12648
+ padding: 0 var(--chip-padding-label-lg);
12649
+ font-family: var(--text-label-lg-regular-fontFamily);
12650
+ font-weight: var(--text-label-lg-regular-fontWeight);
12651
+ font-size: var(--text-label-lg-regular-fontSize);
12652
+ line-height: var(--text-label-lg-regular-lineHeight);
12260
12653
  }
12261
12654
 
12262
- .muka-container--max-width-xlarge {
12263
- max-width: var(--container-max-width-xlarge);
12655
+ /* Tighter leading padding when a leading icon is present */
12656
+ .muka-chip--sm.muka-chip--has-icon {
12657
+ padding-left: var(--chip-padding-leading-sm);
12264
12658
  }
12265
-
12266
- /* No gap — max-width only, no flex */
12267
- .muka-container--gap-none {
12268
- /* block layout by default */
12659
+ .muka-chip--md.muka-chip--has-icon {
12660
+ padding-left: var(--chip-padding-leading-md);
12269
12661
  }
12270
-
12271
- /* Gap variants — flex column with token gap */
12272
- .muka-container--gap-compact {
12273
- display: flex;
12274
- flex-direction: column;
12275
- gap: var(--container-gap-compact);
12662
+ .muka-chip--lg.muka-chip--has-icon {
12663
+ padding-left: var(--chip-padding-leading-lg);
12276
12664
  }
12277
12665
 
12278
- .muka-container--gap-default {
12279
- display: flex;
12280
- flex-direction: column;
12281
- gap: var(--container-gap-default);
12666
+ /* Tighter trailing padding when the dismiss button is present */
12667
+ .muka-chip--sm.muka-chip--dismissible,
12668
+ .muka-chip--sm.muka-chip--expandable {
12669
+ padding-right: var(--chip-padding-trailing-sm);
12282
12670
  }
12283
-
12284
- .muka-container--gap-spacious {
12285
- display: flex;
12286
- flex-direction: column;
12287
- gap: var(--container-gap-spacious);
12671
+ .muka-chip--md.muka-chip--dismissible,
12672
+ .muka-chip--md.muka-chip--expandable {
12673
+ padding-right: var(--chip-padding-trailing-md);
12674
+ }
12675
+ .muka-chip--lg.muka-chip--dismissible,
12676
+ .muka-chip--lg.muka-chip--expandable {
12677
+ padding-right: var(--chip-padding-trailing-lg);
12288
12678
  }
12289
12679
 
12290
-
12291
- /* Combobox */
12292
- /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
12293
-
12294
- .muka-combobox {
12680
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12681
+ .muka-chip__icon {
12295
12682
  display: inline-flex;
12296
- flex-direction: column;
12297
- gap: var(--spacing-2);
12298
- min-width: 200px;
12299
- }
12300
-
12301
- .muka-combobox--full-width {
12302
- width: 100%;
12303
- }
12304
-
12305
- .muka-combobox__label {
12306
- color: var(--color-text-default-default);
12307
- cursor: pointer;
12308
- }
12309
-
12310
- .muka-combobox__label--sm {
12311
- font-family: var(--text-label-sm-semibold-fontFamily);
12312
- font-weight: var(--text-label-sm-semibold-fontWeight);
12313
- font-size: var(--text-label-sm-semibold-fontSize);
12314
- line-height: var(--text-label-sm-semibold-lineHeight);
12315
- }
12316
-
12317
- .muka-combobox__label--md {
12318
- font-family: var(--text-label-md-semibold-fontFamily);
12319
- font-weight: var(--text-label-md-semibold-fontWeight);
12320
- font-size: var(--text-label-md-semibold-fontSize);
12321
- line-height: var(--text-label-md-semibold-lineHeight);
12322
- }
12323
-
12324
- .muka-combobox__label--lg {
12325
- font-family: var(--text-label-lg-semibold-fontFamily);
12326
- font-weight: var(--text-label-lg-semibold-fontWeight);
12327
- font-size: var(--text-label-lg-semibold-fontSize);
12328
- line-height: var(--text-label-lg-semibold-lineHeight);
12329
- }
12330
-
12331
- .muka-combobox__field {
12332
- display: flex;
12333
- align-items: center;
12334
- width: 100%;
12335
- position: relative;
12336
- isolation: isolate;
12337
- box-sizing: border-box;
12338
- background-color: var(--input-field-color-default-background);
12339
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12340
- border-radius: var(--input-field-radius-lg);
12341
- padding: var(--spacing-2);
12342
- cursor: text;
12343
- transition: border-color 0.12s ease, background-color 0.12s ease;
12344
- }
12345
-
12346
- .muka-combobox__field::after {
12347
- content: '';
12348
- position: absolute;
12349
- inset: 0;
12350
- border-radius: inherit;
12351
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12352
- pointer-events: none;
12353
- }
12354
-
12355
- .muka-combobox__field--sm {
12356
- min-height: var(--input-field-height-sm);
12357
- border-radius: var(--input-field-radius-sm);
12358
- }
12359
-
12360
- .muka-combobox__field--md {
12361
- min-height: var(--input-field-height-default);
12362
- border-radius: var(--input-field-radius-md);
12363
- }
12364
-
12365
- .muka-combobox__field--lg {
12366
- min-height: var(--input-field-height-lg);
12367
- border-radius: var(--input-field-radius-lg);
12368
- }
12369
-
12370
- .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
12371
- border-width: var(--border-width-bold);
12372
- border-color: var(--input-field-color-focus-border);
12373
- background-color: var(--input-field-color-focus-background);
12374
- padding: calc(var(--spacing-2) - 1px);
12375
- }
12376
-
12377
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12378
- border-color: var(--color-state-error-contrast);
12379
- }
12380
-
12381
- .muka-combobox__field--disabled {
12382
- opacity: 0.5;
12383
- cursor: not-allowed;
12384
- }
12385
-
12386
- .muka-combobox__field--multiline {
12387
- align-items: flex-start;
12388
- min-height: 7rem;
12389
- }
12390
-
12391
- .muka-combobox__chips {
12392
- display: flex;
12393
- flex: 1 1 auto;
12394
- flex-wrap: wrap;
12395
- gap: var(--spacing-2);
12396
- align-items: center;
12397
- min-width: 0;
12398
- width: 100%;
12399
- position: relative;
12400
- z-index: 1;
12401
- }
12402
-
12403
- .muka-combobox__input {
12404
- flex: 1 1 5rem;
12405
- min-width: 5rem;
12406
- min-height: 2rem;
12407
- margin: 0;
12408
- padding: 0 var(--spacing-1);
12409
- border: none;
12410
- outline: none;
12411
- background: transparent;
12412
- color: var(--input-field-color-default-foreground);
12413
- caret-color: var(--input-field-color-default-foreground);
12414
- font-family: var(--text-label-md-regular-fontFamily);
12415
- font-size: var(--text-label-md-regular-fontSize);
12416
- font-weight: var(--text-label-md-regular-fontWeight);
12417
- line-height: var(--text-label-md-regular-lineHeight);
12418
- }
12419
-
12420
- .muka-combobox__input::placeholder {
12421
- color: var(--color-text-subtle-default);
12422
- }
12423
-
12424
- .muka-combobox__helper {
12425
- margin: 0;
12426
- color: var(--color-text-subtle-default);
12427
- font-family: var(--text-label-sm-regular-fontFamily);
12428
- font-size: var(--text-label-sm-regular-fontSize);
12429
- font-weight: var(--text-label-sm-regular-fontWeight);
12430
- line-height: var(--text-label-sm-regular-lineHeight);
12431
- }
12432
-
12433
- .muka-combobox__error {
12434
- margin: 0;
12435
- color: var(--color-state-error-default);
12436
- font-family: var(--text-label-sm-regular-fontFamily);
12437
- font-size: var(--text-label-sm-regular-fontSize);
12438
- font-weight: var(--text-label-sm-regular-fontWeight);
12439
- line-height: var(--text-label-sm-regular-lineHeight);
12440
- }
12441
-
12442
- .muka-combobox__menu-anchor {
12443
- position: absolute;
12444
- inset: 0;
12445
- z-index: 0;
12446
- width: 100%;
12447
- height: 100%;
12448
- margin: 0;
12449
- padding: 0;
12450
- border: none;
12451
- background: transparent;
12452
- pointer-events: none;
12453
- opacity: 0;
12454
- }
12455
-
12456
- .muka-combobox__menu {
12457
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12458
- min-width: var(--menu-content-min-width);
12459
- width: max-content;
12460
- max-width: min(100vw - 2rem, 24rem);
12461
- }
12462
-
12463
-
12464
- /* Chip */
12465
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12466
-
12467
- .muka-chip {
12468
- display: inline-flex;
12469
- align-items: center;
12470
- border-radius: var(--border-radius-full);
12471
- white-space: nowrap;
12472
- user-select: none;
12473
- border: var(--border-width-regular) solid transparent;
12474
- box-sizing: border-box;
12475
- }
12476
-
12477
- /*
12478
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12479
- * Vertical centering is handled by the fixed height + align-items: center.
12480
- * The side that carries an adornment (leading icon / dismiss button) gets a
12481
- * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12482
- */
12483
- .muka-chip--sm {
12484
- height: var(--chip-size-height-sm);
12485
- gap: var(--chip-gap-sm);
12486
- padding: 0 var(--chip-padding-label-sm);
12487
- font-family: var(--text-label-sm-regular-fontFamily);
12488
- font-weight: var(--text-label-sm-regular-fontWeight);
12489
- font-size: var(--text-label-sm-regular-fontSize);
12490
- line-height: var(--text-label-sm-regular-lineHeight);
12491
- }
12492
-
12493
- .muka-chip--md {
12494
- height: var(--chip-size-height-md);
12495
- gap: var(--chip-gap-md);
12496
- padding: 0 var(--chip-padding-label-md);
12497
- font-family: var(--text-label-md-regular-fontFamily);
12498
- font-weight: var(--text-label-md-regular-fontWeight);
12499
- font-size: var(--text-label-md-regular-fontSize);
12500
- line-height: var(--text-label-md-regular-lineHeight);
12501
- }
12502
-
12503
- .muka-chip--lg {
12504
- height: var(--chip-size-height-lg);
12505
- gap: var(--chip-gap-lg);
12506
- padding: 0 var(--chip-padding-label-lg);
12507
- font-family: var(--text-label-lg-regular-fontFamily);
12508
- font-weight: var(--text-label-lg-regular-fontWeight);
12509
- font-size: var(--text-label-lg-regular-fontSize);
12510
- line-height: var(--text-label-lg-regular-lineHeight);
12511
- }
12512
-
12513
- /* Tighter leading padding when a leading icon is present */
12514
- .muka-chip--sm.muka-chip--has-icon {
12515
- padding-left: var(--chip-padding-leading-sm);
12516
- }
12517
- .muka-chip--md.muka-chip--has-icon {
12518
- padding-left: var(--chip-padding-leading-md);
12519
- }
12520
- .muka-chip--lg.muka-chip--has-icon {
12521
- padding-left: var(--chip-padding-leading-lg);
12522
- }
12523
-
12524
- /* Tighter trailing padding when the dismiss button is present */
12525
- .muka-chip--sm.muka-chip--dismissible,
12526
- .muka-chip--sm.muka-chip--expandable {
12527
- padding-right: var(--chip-padding-trailing-sm);
12528
- }
12529
- .muka-chip--md.muka-chip--dismissible,
12530
- .muka-chip--md.muka-chip--expandable {
12531
- padding-right: var(--chip-padding-trailing-md);
12532
- }
12533
- .muka-chip--lg.muka-chip--dismissible,
12534
- .muka-chip--lg.muka-chip--expandable {
12535
- padding-right: var(--chip-padding-trailing-lg);
12536
- }
12537
-
12538
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12539
- .muka-chip__icon {
12540
- display: inline-flex;
12541
- align-items: center;
12542
- justify-content: center;
12543
- flex-shrink: 0;
12683
+ align-items: center;
12684
+ justify-content: center;
12685
+ flex-shrink: 0;
12544
12686
  }
12545
12687
 
12546
12688
  .muka-chip--sm .muka-chip__icon {
@@ -12829,94 +12971,440 @@ li.muka-listitem {
12829
12971
  color: var(--color-text-default-default);
12830
12972
  }
12831
12973
 
12832
- .muka-checkbox-tile__icon svg {
12833
- width: 100%;
12834
- height: 100%;
12974
+ .muka-checkbox-tile__icon svg {
12975
+ width: 100%;
12976
+ height: 100%;
12977
+ }
12978
+
12979
+ /* Image */
12980
+ .muka-checkbox-tile__image {
12981
+ flex-shrink: 0;
12982
+ overflow: hidden;
12983
+ border-radius: var(--border-radius-sm);
12984
+ }
12985
+
12986
+ .muka-checkbox-tile__image img {
12987
+ display: block;
12988
+ width: 100%;
12989
+ height: 100%;
12990
+ object-fit: cover;
12991
+ }
12992
+
12993
+ /* Horizontal image sizing */
12994
+ .muka-checkbox-tile__image--horizontal {
12995
+ width: 40px;
12996
+ height: 40px;
12997
+ }
12998
+
12999
+ /* Vertical image sizing */
13000
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
13001
+ width: 100%;
13002
+ aspect-ratio: 4/3;
13003
+ }
13004
+
13005
+ /* Content container */
13006
+ .muka-checkbox-tile__content {
13007
+ display: flex;
13008
+ flex-direction: column;
13009
+ flex: 1;
13010
+ min-width: 0;
13011
+ gap: var(--spacing-2);
13012
+ }
13013
+
13014
+ .muka-checkbox-tile__content-inner {
13015
+ display: flex;
13016
+ flex-direction: column;
13017
+ gap: var(--spacing-1);
13018
+ }
13019
+
13020
+ /* Chip slot (replaces badge; use Chip component) */
13021
+ .muka-checkbox-tile__chip {
13022
+ flex-shrink: 0;
13023
+ }
13024
+
13025
+ .muka-checkbox-tile__chip--vertical {
13026
+ margin-top: var(--spacing-1);
13027
+ }
13028
+
13029
+ /* Label */
13030
+ .muka-checkbox-tile__label {
13031
+ font-family: var(--text-body-lg-regular-fontFamily);
13032
+ font-weight: var(--text-body-lg-regular-fontWeight);
13033
+ font-size: var(--text-body-lg-regular-fontSize);
13034
+ line-height: var(--text-body-lg-regular-lineHeight);
13035
+ color: var(--color-text-default-default);
13036
+ }
13037
+
13038
+ .muka-checkbox-tile__label--bold {
13039
+ font-family: var(--text-label-lg-semibold-fontFamily);
13040
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13041
+ font-size: var(--text-label-lg-semibold-fontSize);
13042
+ line-height: var(--text-label-lg-semibold-lineHeight);
13043
+ }
13044
+
13045
+ .muka-checkbox-tile__label--center {
13046
+ text-align: center;
13047
+ }
13048
+
13049
+ /* Caption */
13050
+ .muka-checkbox-tile__caption {
13051
+ font-family: var(--text-body-base-regular-fontFamily);
13052
+ font-weight: var(--text-body-base-regular-fontWeight);
13053
+ font-size: var(--text-body-base-regular-fontSize);
13054
+ line-height: var(--text-body-base-regular-lineHeight);
13055
+ color: var(--color-text-subtle-default);
13056
+ }
13057
+
13058
+ /* Disabled states */
13059
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13060
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13061
+ color: var(--color-text-subtle-default);
13062
+ }
13063
+
13064
+
13065
+ /* Container */
13066
+ /* Container Component - Layout tokens (container.max-width, container.gap) */
13067
+
13068
+ .muka-container {
13069
+ box-sizing: border-box;
13070
+ width: 100%;
13071
+ margin-inline: auto;
13072
+ }
13073
+
13074
+ /* Max-width variants */
13075
+ .muka-container--max-width-small {
13076
+ max-width: var(--container-max-width-small);
13077
+ }
13078
+
13079
+ .muka-container--max-width-medium {
13080
+ max-width: var(--container-max-width-medium);
13081
+ }
13082
+
13083
+ .muka-container--max-width-large {
13084
+ max-width: var(--container-max-width-large);
13085
+ }
13086
+
13087
+ .muka-container--max-width-xlarge {
13088
+ max-width: var(--container-max-width-xlarge);
13089
+ }
13090
+
13091
+ /* No gap — max-width only, no flex */
13092
+ .muka-container--gap-none {
13093
+ /* block layout by default */
13094
+ }
13095
+
13096
+ /* Gap variants — flex column with token gap */
13097
+ .muka-container--gap-compact {
13098
+ display: flex;
13099
+ flex-direction: column;
13100
+ gap: var(--container-gap-compact);
13101
+ }
13102
+
13103
+ .muka-container--gap-default {
13104
+ display: flex;
13105
+ flex-direction: column;
13106
+ gap: var(--container-gap-default);
13107
+ }
13108
+
13109
+ .muka-container--gap-spacious {
13110
+ display: flex;
13111
+ flex-direction: column;
13112
+ gap: var(--container-gap-spacious);
13113
+ }
13114
+
13115
+
13116
+ /* Combobox */
13117
+ /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13118
+
13119
+ .muka-combobox {
13120
+ display: inline-flex;
13121
+ flex-direction: column;
13122
+ gap: var(--spacing-2);
13123
+ min-width: 200px;
13124
+ }
13125
+
13126
+ .muka-combobox--full-width {
13127
+ width: 100%;
13128
+ }
13129
+
13130
+ .muka-combobox__label {
13131
+ color: var(--color-text-default-default);
13132
+ cursor: pointer;
13133
+ }
13134
+
13135
+ .muka-combobox__label--sm {
13136
+ font-family: var(--text-label-sm-semibold-fontFamily);
13137
+ font-weight: var(--text-label-sm-semibold-fontWeight);
13138
+ font-size: var(--text-label-sm-semibold-fontSize);
13139
+ line-height: var(--text-label-sm-semibold-lineHeight);
13140
+ }
13141
+
13142
+ .muka-combobox__label--md {
13143
+ font-family: var(--text-label-md-semibold-fontFamily);
13144
+ font-weight: var(--text-label-md-semibold-fontWeight);
13145
+ font-size: var(--text-label-md-semibold-fontSize);
13146
+ line-height: var(--text-label-md-semibold-lineHeight);
13147
+ }
13148
+
13149
+ .muka-combobox__label--lg {
13150
+ font-family: var(--text-label-lg-semibold-fontFamily);
13151
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13152
+ font-size: var(--text-label-lg-semibold-fontSize);
13153
+ line-height: var(--text-label-lg-semibold-lineHeight);
13154
+ }
13155
+
13156
+ .muka-combobox__field {
13157
+ display: flex;
13158
+ align-items: center;
13159
+ width: 100%;
13160
+ position: relative;
13161
+ isolation: isolate;
13162
+ box-sizing: border-box;
13163
+ background-color: var(--input-field-color-default-background);
13164
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
13165
+ border-radius: var(--input-field-radius-lg);
13166
+ padding: var(--spacing-2);
13167
+ cursor: text;
13168
+ transition: border-color 0.12s ease, background-color 0.12s ease;
13169
+ }
13170
+
13171
+ .muka-combobox__field::after {
13172
+ content: '';
13173
+ position: absolute;
13174
+ inset: 0;
13175
+ border-radius: inherit;
13176
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13177
+ pointer-events: none;
13178
+ }
13179
+
13180
+ .muka-combobox__field--sm {
13181
+ min-height: var(--input-field-height-sm);
13182
+ border-radius: var(--input-field-radius-sm);
13183
+ }
13184
+
13185
+ .muka-combobox__field--md {
13186
+ min-height: var(--input-field-height-default);
13187
+ border-radius: var(--input-field-radius-md);
13188
+ }
13189
+
13190
+ .muka-combobox__field--lg {
13191
+ min-height: var(--input-field-height-lg);
13192
+ border-radius: var(--input-field-radius-lg);
13193
+ }
13194
+
13195
+ .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13196
+ border-width: var(--border-width-bold);
13197
+ border-color: var(--input-field-color-focus-border);
13198
+ background-color: var(--input-field-color-focus-background);
13199
+ padding: calc(var(--spacing-2) - 1px);
13200
+ }
13201
+
13202
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13203
+ border-color: var(--color-state-error-contrast);
13204
+ }
13205
+
13206
+ .muka-combobox__field--disabled {
13207
+ opacity: 0.5;
13208
+ cursor: not-allowed;
13209
+ }
13210
+
13211
+ .muka-combobox__field--multiline {
13212
+ align-items: flex-start;
13213
+ min-height: 7rem;
13214
+ }
13215
+
13216
+ .muka-combobox__chips {
13217
+ display: flex;
13218
+ flex: 1 1 auto;
13219
+ flex-wrap: wrap;
13220
+ gap: var(--spacing-2);
13221
+ align-items: center;
13222
+ min-width: 0;
13223
+ width: 100%;
13224
+ position: relative;
13225
+ z-index: 1;
13226
+ }
13227
+
13228
+ .muka-combobox__input {
13229
+ flex: 1 1 5rem;
13230
+ min-width: 5rem;
13231
+ min-height: 2rem;
13232
+ margin: 0;
13233
+ padding: 0 var(--spacing-1);
13234
+ border: none;
13235
+ outline: none;
13236
+ background: transparent;
13237
+ color: var(--input-field-color-default-foreground);
13238
+ caret-color: var(--input-field-color-default-foreground);
13239
+ font-family: var(--text-label-md-regular-fontFamily);
13240
+ font-size: var(--text-label-md-regular-fontSize);
13241
+ font-weight: var(--text-label-md-regular-fontWeight);
13242
+ line-height: var(--text-label-md-regular-lineHeight);
13243
+ }
13244
+
13245
+ .muka-combobox__input::placeholder {
13246
+ color: var(--color-text-subtle-default);
13247
+ }
13248
+
13249
+ .muka-combobox__helper {
13250
+ margin: 0;
13251
+ color: var(--color-text-subtle-default);
13252
+ font-family: var(--text-label-sm-regular-fontFamily);
13253
+ font-size: var(--text-label-sm-regular-fontSize);
13254
+ font-weight: var(--text-label-sm-regular-fontWeight);
13255
+ line-height: var(--text-label-sm-regular-lineHeight);
13256
+ }
13257
+
13258
+ .muka-combobox__error {
13259
+ margin: 0;
13260
+ color: var(--color-state-error-default);
13261
+ font-family: var(--text-label-sm-regular-fontFamily);
13262
+ font-size: var(--text-label-sm-regular-fontSize);
13263
+ font-weight: var(--text-label-sm-regular-fontWeight);
13264
+ line-height: var(--text-label-sm-regular-lineHeight);
13265
+ }
13266
+
13267
+ .muka-combobox__menu-anchor {
13268
+ position: absolute;
13269
+ inset: 0;
13270
+ z-index: 0;
13271
+ width: 100%;
13272
+ height: 100%;
13273
+ margin: 0;
13274
+ padding: 0;
13275
+ border: none;
13276
+ background: transparent;
13277
+ pointer-events: none;
13278
+ opacity: 0;
13279
+ }
13280
+
13281
+ .muka-combobox__menu {
13282
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13283
+ min-width: var(--menu-content-min-width);
13284
+ width: max-content;
13285
+ max-width: min(100vw - 2rem, 24rem);
13286
+ }
13287
+
13288
+
13289
+ /* ChatPhotoGrid */
13290
+ /* ChatPhotoGrid Component Styles */
13291
+
13292
+ /*
13293
+ * The grid clips to its own radius and the tiles stay square, so only the four
13294
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13295
+ */
13296
+ .muka-chat-photo-grid {
13297
+ display: grid;
13298
+ gap: var(--chatphotogrid-gap);
13299
+ width: 100%;
13300
+ min-width: 0;
13301
+ overflow: hidden;
13302
+ border-radius: var(--chatphotogrid-radius);
13303
+ }
13304
+
13305
+ /* ─── Tiles ────────────────────────────────────────────── */
13306
+
13307
+ .muka-chat-photo-grid__tile {
13308
+ position: relative;
13309
+ display: block;
13310
+ overflow: hidden;
13311
+ min-width: 0;
13312
+ padding: 0;
13313
+ margin: 0;
13314
+ border: none;
13315
+ background-color: var(--chatphotogrid-color-placeholder);
13316
+ aspect-ratio: 1 / 1;
13317
+ }
13318
+
13319
+ button.muka-chat-photo-grid__tile {
13320
+ cursor: pointer;
13321
+ appearance: none;
12835
13322
  }
12836
13323
 
12837
- /* Image */
12838
- .muka-checkbox-tile__image {
12839
- flex-shrink: 0;
12840
- overflow: hidden;
12841
- border-radius: var(--border-radius-sm);
13324
+ button.muka-chat-photo-grid__tile:focus-visible {
13325
+ outline: var(--border-width-bold) solid var(--color-border-focus);
13326
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13327
+ outline-offset: calc(-1 * var(--border-width-bold));
12842
13328
  }
12843
13329
 
12844
- .muka-checkbox-tile__image img {
13330
+ .muka-chat-photo-grid__image {
12845
13331
  display: block;
12846
13332
  width: 100%;
12847
13333
  height: 100%;
12848
13334
  object-fit: cover;
12849
13335
  }
12850
13336
 
12851
- /* Horizontal image sizing */
12852
- .muka-checkbox-tile__image--horizontal {
12853
- width: 40px;
12854
- height: 40px;
13337
+ /* ─── Overflow tile ────────────────────────────────────── */
13338
+
13339
+ .muka-chat-photo-grid__overflow {
13340
+ position: absolute;
13341
+ inset: 0;
13342
+ display: flex;
13343
+ align-items: center;
13344
+ justify-content: center;
13345
+ background-color: var(--chatphotogrid-color-overflow-background);
13346
+ color: var(--chatphotogrid-color-overflow-foreground);
13347
+ font-family: var(--text-body-2xl-regular-fontFamily);
13348
+ font-weight: var(--text-body-2xl-regular-fontWeight);
13349
+ font-size: var(--text-body-2xl-regular-fontSize);
13350
+ line-height: var(--text-body-2xl-regular-lineHeight);
12855
13351
  }
12856
13352
 
12857
- /* Vertical image sizing */
12858
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12859
- width: 100%;
12860
- aspect-ratio: 4/3;
13353
+ /* ─── Layouts ──────────────────────────────────────────── */
13354
+
13355
+ .muka-chat-photo-grid--1 {
13356
+ grid-template-columns: 1fr;
12861
13357
  }
12862
13358
 
12863
- /* Content container */
12864
- .muka-checkbox-tile__content {
12865
- display: flex;
12866
- flex-direction: column;
12867
- flex: 1;
12868
- min-width: 0;
12869
- gap: var(--spacing-2);
13359
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13360
+ aspect-ratio: 4 / 3;
12870
13361
  }
12871
13362
 
12872
- .muka-checkbox-tile__content-inner {
12873
- display: flex;
12874
- flex-direction: column;
12875
- gap: var(--spacing-1);
13363
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13364
+ aspect-ratio: 3 / 4;
12876
13365
  }
12877
13366
 
12878
- /* Chip slot (replaces badge; use Chip component) */
12879
- .muka-checkbox-tile__chip {
12880
- flex-shrink: 0;
13367
+ .muka-chat-photo-grid--2 {
13368
+ grid-template-columns: repeat(2, 1fr);
12881
13369
  }
12882
13370
 
12883
- .muka-checkbox-tile__chip--vertical {
12884
- margin-top: var(--spacing-1);
13371
+ .muka-chat-photo-grid--3 {
13372
+ grid-template-columns: repeat(3, 1fr);
12885
13373
  }
12886
13374
 
12887
- /* Label */
12888
- .muka-checkbox-tile__label {
12889
- font-family: var(--text-body-lg-regular-fontFamily);
12890
- font-weight: var(--text-body-lg-regular-fontWeight);
12891
- font-size: var(--text-body-lg-regular-fontSize);
12892
- line-height: var(--text-body-lg-regular-lineHeight);
12893
- color: var(--color-text-default-default);
13375
+ .muka-chat-photo-grid--4 {
13376
+ grid-template-columns: repeat(2, 1fr);
12894
13377
  }
12895
13378
 
12896
- .muka-checkbox-tile__label--bold {
12897
- font-family: var(--text-label-lg-semibold-fontFamily);
12898
- font-weight: var(--text-label-lg-semibold-fontWeight);
12899
- font-size: var(--text-label-lg-semibold-fontSize);
12900
- line-height: var(--text-label-lg-semibold-lineHeight);
13379
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13380
+ .muka-chat-photo-grid--5 {
13381
+ grid-template-columns: repeat(6, 1fr);
12901
13382
  }
12902
13383
 
12903
- .muka-checkbox-tile__label--center {
12904
- text-align: center;
13384
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13385
+ grid-column: span 3;
12905
13386
  }
12906
13387
 
12907
- /* Caption */
12908
- .muka-checkbox-tile__caption {
12909
- font-family: var(--text-body-base-regular-fontFamily);
12910
- font-weight: var(--text-body-base-regular-fontWeight);
12911
- font-size: var(--text-body-base-regular-fontSize);
12912
- line-height: var(--text-body-base-regular-lineHeight);
12913
- color: var(--color-text-subtle-default);
13388
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13389
+ grid-column: span 2;
12914
13390
  }
12915
13391
 
12916
- /* Disabled states */
12917
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12918
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12919
- color: var(--color-text-subtle-default);
13392
+ .muka-chat-photo-grid--6,
13393
+ .muka-chat-photo-grid--overflow {
13394
+ grid-template-columns: repeat(3, 1fr);
13395
+ }
13396
+
13397
+ /* ─── Print ────────────────────────────────────────────── */
13398
+
13399
+ @media print {
13400
+ .muka-chat-photo-grid {
13401
+ break-inside: avoid;
13402
+ }
13403
+
13404
+ .muka-chat-photo-grid__image {
13405
+ print-color-adjust: exact;
13406
+ -webkit-print-color-adjust: exact;
13407
+ }
12920
13408
  }
12921
13409
 
12922
13410
 
@@ -13087,128 +13575,6 @@ li.muka-listitem {
13087
13575
  }
13088
13576
 
13089
13577
 
13090
- /* ChatPhotoGrid */
13091
- /* ChatPhotoGrid Component Styles */
13092
-
13093
- /*
13094
- * The grid clips to its own radius and the tiles stay square, so only the four
13095
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13096
- */
13097
- .muka-chat-photo-grid {
13098
- display: grid;
13099
- gap: var(--chatphotogrid-gap);
13100
- width: 100%;
13101
- min-width: 0;
13102
- overflow: hidden;
13103
- border-radius: var(--chatphotogrid-radius);
13104
- }
13105
-
13106
- /* ─── Tiles ────────────────────────────────────────────── */
13107
-
13108
- .muka-chat-photo-grid__tile {
13109
- position: relative;
13110
- display: block;
13111
- overflow: hidden;
13112
- min-width: 0;
13113
- padding: 0;
13114
- margin: 0;
13115
- border: none;
13116
- background-color: var(--chatphotogrid-color-placeholder);
13117
- aspect-ratio: 1 / 1;
13118
- }
13119
-
13120
- button.muka-chat-photo-grid__tile {
13121
- cursor: pointer;
13122
- appearance: none;
13123
- }
13124
-
13125
- button.muka-chat-photo-grid__tile:focus-visible {
13126
- outline: var(--border-width-bold) solid var(--color-border-focus);
13127
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13128
- outline-offset: calc(-1 * var(--border-width-bold));
13129
- }
13130
-
13131
- .muka-chat-photo-grid__image {
13132
- display: block;
13133
- width: 100%;
13134
- height: 100%;
13135
- object-fit: cover;
13136
- }
13137
-
13138
- /* ─── Overflow tile ────────────────────────────────────── */
13139
-
13140
- .muka-chat-photo-grid__overflow {
13141
- position: absolute;
13142
- inset: 0;
13143
- display: flex;
13144
- align-items: center;
13145
- justify-content: center;
13146
- background-color: var(--chatphotogrid-color-overflow-background);
13147
- color: var(--chatphotogrid-color-overflow-foreground);
13148
- font-family: var(--text-body-2xl-regular-fontFamily);
13149
- font-weight: var(--text-body-2xl-regular-fontWeight);
13150
- font-size: var(--text-body-2xl-regular-fontSize);
13151
- line-height: var(--text-body-2xl-regular-lineHeight);
13152
- }
13153
-
13154
- /* ─── Layouts ──────────────────────────────────────────── */
13155
-
13156
- .muka-chat-photo-grid--1 {
13157
- grid-template-columns: 1fr;
13158
- }
13159
-
13160
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13161
- aspect-ratio: 4 / 3;
13162
- }
13163
-
13164
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13165
- aspect-ratio: 3 / 4;
13166
- }
13167
-
13168
- .muka-chat-photo-grid--2 {
13169
- grid-template-columns: repeat(2, 1fr);
13170
- }
13171
-
13172
- .muka-chat-photo-grid--3 {
13173
- grid-template-columns: repeat(3, 1fr);
13174
- }
13175
-
13176
- .muka-chat-photo-grid--4 {
13177
- grid-template-columns: repeat(2, 1fr);
13178
- }
13179
-
13180
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13181
- .muka-chat-photo-grid--5 {
13182
- grid-template-columns: repeat(6, 1fr);
13183
- }
13184
-
13185
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13186
- grid-column: span 3;
13187
- }
13188
-
13189
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13190
- grid-column: span 2;
13191
- }
13192
-
13193
- .muka-chat-photo-grid--6,
13194
- .muka-chat-photo-grid--overflow {
13195
- grid-template-columns: repeat(3, 1fr);
13196
- }
13197
-
13198
- /* ─── Print ────────────────────────────────────────────── */
13199
-
13200
- @media print {
13201
- .muka-chat-photo-grid {
13202
- break-inside: avoid;
13203
- }
13204
-
13205
- .muka-chat-photo-grid__image {
13206
- print-color-adjust: exact;
13207
- -webkit-print-color-adjust: exact;
13208
- }
13209
- }
13210
-
13211
-
13212
13578
  /* ChatMessageStack */
13213
13579
  /* ChatMessageStack Component Styles */
13214
13580
 
@@ -14137,6 +14503,41 @@ button.muka-chat-photo-grid__tile:focus-visible {
14137
14503
  box-shadow: var(--card-shadow-selected);
14138
14504
  }
14139
14505
 
14506
+ /* Tone: sticky note (MUK-105) */
14507
+ .muka-card--tone-note {
14508
+ background-color: var(--card-color-note-background);
14509
+ color: var(--card-color-note-foreground);
14510
+ border-color: var(--card-color-note-border);
14511
+ box-shadow: var(--card-shadow-note);
14512
+ }
14513
+
14514
+ .muka-card--tone-note.muka-card--interactive:hover,
14515
+ .muka-card--tone-note.muka-card--interactive:active,
14516
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
14517
+ background-color: var(--card-color-note-background);
14518
+ border-color: var(--card-color-note-border);
14519
+ }
14520
+
14521
+ .muka-card--tilt-left {
14522
+ transform: rotate(-0.75deg);
14523
+ }
14524
+
14525
+ .muka-card--tilt-right {
14526
+ transform: rotate(0.6deg);
14527
+ }
14528
+
14529
+ @media (prefers-reduced-motion: no-preference) {
14530
+ .muka-card--tilt-left,
14531
+ .muka-card--tilt-right {
14532
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
14533
+ }
14534
+ }
14535
+
14536
+ .muka-card--interactive.muka-card--tilt-left:hover,
14537
+ .muka-card--interactive.muka-card--tilt-right:hover {
14538
+ transform: none;
14539
+ }
14540
+
14140
14541
  /* Optional header (title + description) */
14141
14542
  .muka-card__header {
14142
14543
  margin-bottom: var(--spacing-4);