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