@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
@@ -1672,6 +1672,9 @@ body {
1672
1672
  --card-color-selected-background: #2a2a2a;
1673
1673
  --card-color-selected-foreground: #eeeeee;
1674
1674
  --card-color-selected-border: #b4b4b4;
1675
+ --card-color-note-background: #1d180f;
1676
+ --card-color-note-foreground: #eeeeee;
1677
+ --card-color-note-border: #3f2700;
1675
1678
  --card-radius-sm: 0px;
1676
1679
  --card-radius-md: 0px;
1677
1680
  --card-radius-lg: 0px;
@@ -1682,6 +1685,7 @@ body {
1682
1685
  --card-shadow-hover: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
1683
1686
  --card-shadow-pressed: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 2px 4px 0 rgba(0, 0, 0, 0.090);
1684
1687
  --card-shadow-selected: 0px 0px 1px 0px rgba(0, 0, 0, 0.090), 0px 2px 4px 0px rgba(0, 0, 0, 0.090);
1688
+ --card-shadow-note: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
1685
1689
  --card-border-default: 0.0625rem solid #313131;
1686
1690
  --card-border-hover: 0.0625rem solid #606060;
1687
1691
  --card-border-pressed: 0.125rem solid #b4b4b4;
@@ -2325,6 +2329,29 @@ body {
2325
2329
  --piechart-size-diameter-sm: 2rem;
2326
2330
  --piechart-size-diameter-md: 4rem;
2327
2331
  --piechart-size-diameter-lg: 8rem;
2332
+ --gantt-tone-blue: #0091ff;
2333
+ --gantt-tone-teal: #12a594;
2334
+ --gantt-tone-purple: #8e4ec6;
2335
+ --gantt-tone-green: #30a46c;
2336
+ --gantt-tone-orange: #f76808;
2337
+ --gantt-tone-pink: #d6409f;
2338
+ --gantt-background: #111111;
2339
+ --gantt-border: #313131;
2340
+ --gantt-header-background: #2a2a2a;
2341
+ --gantt-header-foreground: #eeeeee;
2342
+ --gantt-row-height: 3.5rem;
2343
+ --gantt-row-label-width: 16rem;
2344
+ --gantt-today-background: rgba(255, 255, 255, 0.035);
2345
+ --gantt-today-indicator: #b4b4b4;
2346
+ --gantt-bar-radius: 0px;
2347
+ --gantt-bar-text: #eeeeee;
2348
+ --gantt-stelpost-background: #1d180f;
2349
+ --gantt-stelpost-border: #ffca16;
2350
+ --gantt-wait-stripe-a: #2a2a2a;
2351
+ --gantt-wait-stripe-b: #3a3a3a;
2352
+ --gantt-wait-border: #606060;
2353
+ --gantt-wait-foreground: #eeeeee;
2354
+ --gantt-ghost-border: #ffca16;
2328
2355
  }
2329
2356
 
2330
2357
  /* Responsive overrides: md (min-width: 768px) */
@@ -2444,6 +2471,38 @@ body {
2444
2471
  }
2445
2472
 
2446
2473
 
2474
+ /* VoiceMessage */
2475
+ /* VoiceMessage Component Styles */
2476
+
2477
+ .muka-voice-message {
2478
+ display: flex;
2479
+ align-items: center;
2480
+ gap: var(--spacing-3);
2481
+ width: 100%;
2482
+ min-width: min(16rem, 60vw);
2483
+ }
2484
+
2485
+ .muka-voice-message__wave {
2486
+ flex: 1 1 auto;
2487
+ min-width: 0;
2488
+ }
2489
+
2490
+ .muka-voice-message__time {
2491
+ flex: 0 0 auto;
2492
+ white-space: nowrap;
2493
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
2494
+ line-height: var(--text-label-sm-lineHeight, 1);
2495
+ font-variant-numeric: tabular-nums;
2496
+ color: var(--color-text-subtle-default);
2497
+ }
2498
+
2499
+ /* On the tinted own bubble the surface is the action color, so the timer flips
2500
+ * to the inverse text token for contrast. */
2501
+ .muka-voice-message--own .muka-voice-message__time {
2502
+ color: var(--color-text-default-inverse);
2503
+ }
2504
+
2505
+
2447
2506
  /* View */
2448
2507
  /* View Component Styles */
2449
2508
 
@@ -2554,38 +2613,6 @@ body {
2554
2613
  }
2555
2614
 
2556
2615
 
2557
- /* VoiceMessage */
2558
- /* VoiceMessage Component Styles */
2559
-
2560
- .muka-voice-message {
2561
- display: flex;
2562
- align-items: center;
2563
- gap: var(--spacing-3);
2564
- width: 100%;
2565
- min-width: min(16rem, 60vw);
2566
- }
2567
-
2568
- .muka-voice-message__wave {
2569
- flex: 1 1 auto;
2570
- min-width: 0;
2571
- }
2572
-
2573
- .muka-voice-message__time {
2574
- flex: 0 0 auto;
2575
- white-space: nowrap;
2576
- font-size: var(--text-label-sm-fontSize, 0.75rem);
2577
- line-height: var(--text-label-sm-lineHeight, 1);
2578
- font-variant-numeric: tabular-nums;
2579
- color: var(--color-text-subtle-default);
2580
- }
2581
-
2582
- /* On the tinted own bubble the surface is the action color, so the timer flips
2583
- * to the inverse text token for contrast. */
2584
- .muka-voice-message--own .muka-voice-message__time {
2585
- color: var(--color-text-default-inverse);
2586
- }
2587
-
2588
-
2589
2616
  /* Typography */
2590
2617
  .muka-typography-catalog {
2591
2618
  display: flex;
@@ -3289,985 +3316,985 @@ body {
3289
3316
  }
3290
3317
 
3291
3318
 
3292
- /* Thumbnail */
3293
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3319
+ /* Tile */
3320
+ /* Tile Component Styles - Using Muka Design Tokens */
3294
3321
 
3295
- .muka-thumbnail {
3296
- position: relative;
3297
- flex-shrink: 0;
3298
- }
3322
+ /* ─── Base ────────────────────────────────────────────── */
3299
3323
 
3300
- /* The frame carries the border, background and shape clip. Keeping it separate
3301
- from the root lets the remove (×) button sit outside the clip (needed for the
3302
- circular/ellipse shape, whose corners would otherwise clip the button). */
3303
- .muka-thumbnail__frame {
3304
- position: absolute;
3305
- inset: 0;
3306
- overflow: hidden;
3307
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3308
- border-radius: var(--border-radius-lg);
3309
- background-color: var(--color-surface-level1);
3324
+ .muka-tile {
3325
+ display: flex;
3326
+ color: var(--color-text-default-default);
3310
3327
  }
3311
3328
 
3312
- /* ─── Shapes ──────────────────────────────────────────── */
3313
- .muka-thumbnail--4-3 {
3314
- width: 160px;
3315
- height: 120px;
3329
+ .muka-tile--interactive {
3330
+ cursor: pointer;
3331
+ user-select: none;
3316
3332
  }
3317
3333
 
3318
- .muka-thumbnail--1-1 {
3319
- width: 120px;
3320
- height: 120px;
3334
+ .muka-tile--interactive:focus-visible {
3335
+ outline: 2px solid var(--color-border-focus);
3336
+ outline-offset: 2px;
3337
+ border-radius: var(--border-radius-lg);
3321
3338
  }
3322
3339
 
3323
- .muka-thumbnail--ellipse {
3324
- width: 120px;
3325
- height: 120px;
3326
- }
3340
+ /* ─── Image position variants ─────────────────────────── */
3327
3341
 
3328
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3329
- .muka-thumbnail--fluid {
3330
- width: 100%;
3331
- height: auto;
3332
- aspect-ratio: 1 / 1;
3342
+ .muka-tile--image-top {
3343
+ flex-direction: column;
3333
3344
  }
3334
3345
 
3335
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3336
- aspect-ratio: 4 / 3;
3346
+ .muka-tile--image-left {
3347
+ flex-direction: row;
3337
3348
  }
3338
3349
 
3339
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3340
- border-radius: var(--border-radius-full);
3350
+ .muka-tile--image-right {
3351
+ flex-direction: row;
3341
3352
  }
3342
3353
 
3343
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3344
- interactive hover zoom has a clean origin. */
3345
- .muka-thumbnail__image {
3346
- position: absolute;
3347
- inset: 0;
3348
- width: 100%;
3349
- height: 100%;
3350
- object-fit: cover;
3351
- display: block;
3352
- transform-origin: center;
3353
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3354
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3355
- }
3354
+ /* ─── Gap by size (top) ───────────────────────────────── */
3356
3355
 
3357
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3358
- .muka-thumbnail__trigger {
3359
- position: absolute;
3360
- inset: 0;
3361
- padding: 0;
3362
- border: 0;
3363
- background: none;
3364
- cursor: pointer;
3365
- overflow: hidden;
3356
+ .muka-tile--image-top.muka-tile--lg {
3357
+ gap: var(--spacing-6);
3366
3358
  }
3367
3359
 
3368
- .muka-thumbnail__trigger:focus-visible {
3369
- outline: 2px solid var(--color-border-focus);
3370
- outline-offset: -2px;
3360
+ .muka-tile--image-top.muka-tile--md {
3361
+ gap: var(--spacing-6);
3362
+ width: 320px;
3371
3363
  }
3372
3364
 
3373
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3374
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3375
- transform: scale(1.05);
3365
+ .muka-tile--image-top.muka-tile--sm {
3366
+ gap: var(--spacing-4);
3367
+ min-width: 120px;
3376
3368
  }
3377
3369
 
3378
- /* ─── Loading overlay + progress donut ────────────────── */
3379
- .muka-thumbnail__overlay {
3380
- position: absolute;
3381
- inset: 0;
3382
- display: flex;
3370
+ /* ─── Gap by size (left/right) ────────────────────────── */
3371
+
3372
+ .muka-tile--image-left.muka-tile--lg,
3373
+ .muka-tile--image-right.muka-tile--lg {
3374
+ gap: var(--spacing-6);
3383
3375
  align-items: center;
3384
- justify-content: center;
3385
- background-color: var(--dialog-color-backdrop);
3386
3376
  }
3387
3377
 
3388
- .muka-thumbnail__progress {
3389
- width: 40px;
3390
- height: 40px;
3378
+ .muka-tile--image-left.muka-tile--md,
3379
+ .muka-tile--image-right.muka-tile--md {
3380
+ gap: var(--spacing-6);
3381
+ align-items: center;
3391
3382
  }
3392
3383
 
3393
- /* ─── Error / corrupt state ───────────────────────────── */
3394
- .muka-thumbnail--error .muka-thumbnail__frame {
3395
- background-color: var(--alias-color-state-error-muted);
3396
- border-color: var(--alias-color-state-error-default);
3384
+ .muka-tile--image-left.muka-tile--sm,
3385
+ .muka-tile--image-right.muka-tile--sm {
3386
+ gap: var(--spacing-4);
3387
+ align-items: flex-start;
3397
3388
  }
3398
3389
 
3399
- .muka-thumbnail__error {
3400
- position: absolute;
3401
- inset: 0;
3390
+ /* ─── Photos container ────────────────────────────────── */
3391
+
3392
+ .muka-tile__photos {
3393
+ position: relative;
3394
+ flex-shrink: 0;
3395
+ overflow: hidden;
3402
3396
  display: flex;
3403
3397
  flex-direction: column;
3404
- align-items: center;
3405
- justify-content: center;
3406
- gap: var(--spacing-2);
3407
- padding: var(--spacing-3);
3408
- text-align: center;
3398
+ isolation: isolate;
3409
3399
  }
3410
3400
 
3411
- .muka-thumbnail__error-icon {
3412
- color: var(--alert-color-error-accent);
3401
+ /* Photos border radius by size */
3402
+ .muka-tile--lg .muka-tile__photos,
3403
+ .muka-tile--md .muka-tile__photos {
3404
+ border-radius: var(--border-radius-lg);
3413
3405
  }
3414
3406
 
3415
- .muka-thumbnail__caption {
3416
- max-width: 100%;
3417
- overflow: hidden;
3418
- text-overflow: ellipsis;
3419
- white-space: nowrap;
3420
- color: var(--alert-color-error-accent);
3421
- font-family: var(--text-body-sm-regular-fontFamily);
3422
- font-size: var(--text-body-sm-regular-fontSize);
3423
- font-weight: var(--text-body-sm-regular-fontWeight);
3424
- line-height: var(--text-body-sm-regular-lineHeight);
3407
+ .muka-tile--sm .muka-tile__photos {
3408
+ border-radius: var(--border-radius-md);
3425
3409
  }
3426
3410
 
3427
- /* ─── Remove (×) button ───────────────────────────────── */
3428
- .muka-thumbnail__remove {
3429
- position: absolute;
3430
- top: var(--spacing-2);
3431
- right: var(--spacing-2);
3432
- display: flex;
3433
- align-items: center;
3434
- justify-content: center;
3435
- width: var(--size-2xl);
3436
- height: var(--size-2xl);
3437
- padding: 0;
3438
- color: var(--button-color-tertiary-foreground-default);
3439
- background-color: var(--button-color-tertiary-background-default);
3440
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3441
- border-radius: var(--border-radius-lg);
3442
- cursor: pointer;
3443
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3444
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3411
+ /* Photos sizing: top layout */
3412
+ .muka-tile--image-top .muka-tile__photos {
3413
+ width: 100%;
3445
3414
  }
3446
3415
 
3447
- .muka-thumbnail__remove:hover {
3448
- color: var(--button-color-tertiary-foreground-hover);
3449
- background-color: var(--button-color-tertiary-background-hover);
3450
- border-color: var(--button-color-tertiary-border-hover);
3416
+ /* Photos sizing: left/right large */
3417
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3418
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3419
+ width: 520px;
3451
3420
  }
3452
3421
 
3453
- .muka-thumbnail__remove:active {
3454
- color: var(--button-color-tertiary-foreground-pressed);
3455
- background-color: var(--button-color-tertiary-background-pressed);
3456
- border-color: var(--button-color-tertiary-border-pressed);
3422
+ /* Photos sizing: left/right medium */
3423
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3424
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3425
+ width: 320px;
3457
3426
  }
3458
3427
 
3459
- .muka-thumbnail__remove:focus-visible {
3460
- outline: 2px solid var(--color-border-focus);
3461
- outline-offset: 2px;
3428
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3429
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3430
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3431
+ width: 80px;
3432
+ align-self: stretch;
3462
3433
  }
3463
3434
 
3464
- /* ─── Reduced motion ──────────────────────────────────── */
3465
- @media (prefers-reduced-motion: reduce) {
3466
- .muka-thumbnail__image,
3467
- .muka-thumbnail__remove {
3468
- transition: none;
3469
- }
3435
+ /* ─── Main photo ──────────────────────────────────────── */
3470
3436
 
3471
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3472
- transform: none;
3473
- }
3437
+ .muka-tile__photo-main {
3438
+ position: relative;
3439
+ width: 100%;
3440
+ overflow: hidden;
3441
+ flex-shrink: 0;
3474
3442
  }
3475
3443
 
3444
+ /* 16:9 aspect for lg and md */
3445
+ .muka-tile--lg .muka-tile__photo-main,
3446
+ .muka-tile--md .muka-tile__photo-main {
3447
+ aspect-ratio: 1280 / 720;
3448
+ }
3476
3449
 
3477
- /* Textarea */
3478
- /* Textarea Component Styles - Using Muka Design Tokens */
3479
-
3480
- .muka-textarea {
3481
- display: inline-flex;
3482
- flex-direction: column;
3483
- gap: var(--spacing-2);
3450
+ /* 1:1 aspect for top + sm */
3451
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3452
+ aspect-ratio: 1 / 1;
3484
3453
  }
3485
3454
 
3486
- /* Label */
3487
- .muka-textarea__label {
3488
- color: var(--color-text-default-default);
3489
- cursor: pointer;
3455
+ /* Fixed size for left/right + sm */
3456
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3457
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3458
+ width: 80px;
3459
+ height: 80px;
3460
+ aspect-ratio: auto;
3490
3461
  }
3491
3462
 
3492
- .muka-textarea__label--sm {
3493
- font-family: var(--text-label-sm-semibold-fontFamily);
3494
- font-weight: var(--text-label-sm-semibold-fontWeight);
3495
- font-size: var(--text-label-sm-semibold-fontSize);
3496
- line-height: var(--text-label-sm-semibold-lineHeight);
3463
+ .muka-tile__photo-main img {
3464
+ width: 100%;
3465
+ height: 100%;
3466
+ object-fit: cover;
3467
+ display: block;
3497
3468
  }
3498
3469
 
3499
- .muka-textarea__label--md {
3500
- font-family: var(--text-label-md-semibold-fontFamily);
3501
- font-weight: var(--text-label-md-semibold-fontWeight);
3502
- font-size: var(--text-label-md-semibold-fontSize);
3503
- line-height: var(--text-label-md-semibold-lineHeight);
3470
+ /* ─── Favourite overlay ───────────────────────────────── */
3471
+
3472
+ .muka-tile__favourite {
3473
+ position: absolute;
3474
+ z-index: 3;
3504
3475
  }
3505
3476
 
3506
- .muka-textarea__label--lg {
3507
- font-family: var(--text-label-lg-semibold-fontFamily);
3508
- font-weight: var(--text-label-lg-semibold-fontWeight);
3509
- font-size: var(--text-label-lg-semibold-fontSize);
3510
- line-height: var(--text-label-lg-semibold-lineHeight);
3477
+ .muka-tile--lg .muka-tile__favourite,
3478
+ .muka-tile--md .muka-tile__favourite {
3479
+ top: var(--spacing-4);
3480
+ right: var(--spacing-4);
3511
3481
  }
3512
3482
 
3513
- .muka-textarea__required {
3514
- color: var(--color-state-error-default);
3483
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3484
+ top: var(--spacing-1);
3485
+ right: var(--spacing-1);
3515
3486
  }
3516
3487
 
3517
- /* Field container */
3518
- .muka-textarea__field {
3488
+ /* ─── Thumbnails ──────────────────────────────────────── */
3489
+
3490
+ .muka-tile__thumbnails {
3519
3491
  display: flex;
3520
- background-color: var(--input-field-color-default-background);
3521
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3522
- border-radius: var(--input-field-radius-md);
3523
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3524
- transition: border-color 0.2s ease, background-color 0.2s ease;
3525
- box-sizing: border-box;
3492
+ gap: 2px;
3493
+ overflow: hidden;
3494
+ flex-shrink: 0;
3495
+ height: 80px;
3526
3496
  }
3527
3497
 
3528
- .muka-textarea__field--sm {
3529
- min-height: var(--input-textarea-height-sm);
3530
- border-radius: var(--input-field-radius-sm);
3498
+ .muka-tile__thumbnail {
3499
+ width: 80px;
3500
+ height: 80px;
3501
+ flex-shrink: 0;
3502
+ overflow: hidden;
3531
3503
  }
3532
3504
 
3533
- .muka-textarea__field--md {
3534
- min-height: var(--input-textarea-height-default);
3535
- border-radius: var(--input-field-radius-md);
3505
+ .muka-tile__thumbnail img {
3506
+ width: 100%;
3507
+ height: 100%;
3508
+ object-fit: cover;
3509
+ display: block;
3536
3510
  }
3537
3511
 
3538
- .muka-textarea__field--lg {
3539
- min-height: var(--input-textarea-height-lg);
3540
- border-radius: var(--input-field-radius-lg);
3512
+ /* Gap between main photo and thumbnails */
3513
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3514
+ margin-top: 2px;
3541
3515
  }
3542
3516
 
3543
- /* Focus state */
3544
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3545
- border-width: var(--border-width-bold);
3546
- border-color: var(--input-field-color-focus-border);
3547
- background-color: var(--input-field-color-focus-background);
3548
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3517
+ /* ─── Content section ─────────────────────────────────── */
3518
+
3519
+ .muka-tile__content {
3520
+ display: flex;
3521
+ flex-direction: column;
3522
+ flex: 1;
3523
+ min-width: 0;
3549
3524
  }
3550
3525
 
3551
- /* Error state */
3552
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3553
- border-width: var(--border-width-bold);
3554
- border-color: var(--input-field-color-error-border);
3555
- background-color: var(--input-field-color-error-background);
3556
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3526
+ /* Top layout: content has horizontal padding */
3527
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3528
+ padding: 0 var(--spacing-3);
3529
+ gap: var(--spacing-1);
3557
3530
  }
3558
3531
 
3559
- /* Disabled state */
3560
- .muka-textarea__field--disabled {
3561
- background-color: var(--input-field-color-disabled-background);
3562
- border-color: var(--input-field-color-disabled-border);
3563
- cursor: not-allowed;
3532
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3533
+ padding: 0 var(--spacing-3);
3534
+ gap: var(--spacing-2);
3564
3535
  }
3565
3536
 
3566
- /* Native textarea */
3567
- .muka-textarea__native {
3568
- flex: 1;
3569
- border: none;
3570
- outline: none;
3571
- background: transparent;
3572
- color: var(--input-field-color-default-foreground);
3573
- font-family: var(--text-input-md-fontFamily);
3574
- font-weight: var(--text-input-md-fontWeight);
3575
- font-size: var(--text-input-md-fontSize);
3576
- line-height: var(--text-input-md-lineHeight);
3577
- padding: 0;
3578
- width: 100%;
3579
- min-width: 0;
3537
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3538
+ gap: var(--spacing-2);
3580
3539
  }
3581
3540
 
3582
- .muka-textarea__field--sm .muka-textarea__native {
3583
- font-family: var(--text-input-sm-fontFamily);
3584
- font-weight: var(--text-input-sm-fontWeight);
3585
- font-size: var(--text-input-sm-fontSize);
3586
- line-height: var(--text-input-sm-lineHeight);
3541
+ /* Left/right layout: content grows to fill space */
3542
+ .muka-tile--image-left .muka-tile__content,
3543
+ .muka-tile--image-right .muka-tile__content {
3544
+ gap: var(--spacing-3);
3587
3545
  }
3588
3546
 
3589
- .muka-textarea__field--lg .muka-textarea__native {
3590
- font-family: var(--text-input-lg-fontFamily);
3591
- font-weight: var(--text-input-lg-fontWeight);
3592
- font-size: var(--text-input-lg-fontSize);
3593
- line-height: var(--text-input-lg-lineHeight);
3547
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3548
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3549
+ padding: 0 var(--spacing-3);
3594
3550
  }
3595
3551
 
3596
- .muka-textarea__native::placeholder {
3597
- color: var(--color-text-subtle-default);
3552
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3553
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3554
+ padding: var(--spacing-2) var(--spacing-3);
3598
3555
  }
3599
3556
 
3600
- .muka-textarea__field--disabled .muka-textarea__native {
3601
- color: var(--input-field-color-disabled-foreground);
3602
- cursor: not-allowed;
3557
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3558
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3559
+ gap: var(--spacing-2);
3603
3560
  }
3604
3561
 
3605
- /* Footer (helper/error + count) */
3606
- .muka-textarea__footer {
3562
+ /* ─── Header (heading row + price) ────────────────────── */
3563
+
3564
+ .muka-tile__header {
3607
3565
  display: flex;
3608
- justify-content: space-between;
3609
3566
  align-items: flex-start;
3610
- gap: var(--spacing-2);
3567
+ gap: var(--spacing-4);
3611
3568
  }
3612
3569
 
3613
- .muka-textarea__helper {
3614
- font-family: var(--text-label-sm-regular-fontFamily);
3615
- font-weight: var(--text-label-sm-regular-fontWeight);
3616
- font-size: var(--text-label-sm-regular-fontSize);
3617
- line-height: var(--text-label-sm-regular-lineHeight);
3618
- color: var(--color-text-subtle-default);
3619
- margin: 0;
3570
+ /* Small horizontal: row with text and action */
3571
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3572
+ gap: var(--spacing-2);
3573
+ align-items: center;
3574
+ padding-top: var(--spacing-1);
3620
3575
  }
3621
3576
 
3622
- .muka-textarea__error {
3623
- font-family: var(--text-label-sm-regular-fontFamily);
3624
- font-weight: var(--text-label-sm-regular-fontWeight);
3625
- font-size: var(--text-label-sm-regular-fontSize);
3626
- line-height: var(--text-label-sm-regular-lineHeight);
3627
- color: var(--color-state-error-default);
3628
- margin: 0;
3629
- }
3577
+ /* ─── Text group ──────────────────────────────────────── */
3630
3578
 
3631
- .muka-textarea__count {
3632
- font-family: var(--text-label-sm-regular-fontFamily);
3633
- font-weight: var(--text-label-sm-regular-fontWeight);
3634
- font-size: var(--text-label-sm-regular-fontSize);
3635
- line-height: var(--text-label-sm-regular-lineHeight);
3636
- color: var(--color-text-subtle-default);
3637
- margin-left: auto;
3579
+ .muka-tile__text {
3580
+ display: flex;
3581
+ flex-direction: column;
3582
+ flex: 1;
3583
+ min-width: 0;
3584
+ gap: var(--spacing-2);
3638
3585
  }
3639
3586
 
3587
+ /* ─── Heading typography ──────────────────────────────── */
3640
3588
 
3641
- /* TextLink */
3642
- /* TextLink Component Styles - Using Muka Design Tokens */
3589
+ .muka-tile__heading {
3590
+ margin: 0;
3591
+ }
3643
3592
 
3644
- .muka-text-link {
3645
- display: inline;
3646
- cursor: pointer;
3647
- text-decoration: underline;
3648
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3649
- text-underline-offset: 0.2em;
3650
- text-decoration-thickness: from-font;
3651
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3652
- border-radius: var(--border-radius-sm);
3653
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3593
+ .muka-tile--lg .muka-tile__heading {
3594
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3595
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3596
+ font-size: var(--text-label-2xl-semibold-fontSize);
3597
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3598
+ color: var(--color-text-default-default);
3654
3599
  }
3655
3600
 
3656
- /* ─── Sizes ───────────────────────────────────────────────
3657
- Mirrors the body text scale so a link matches the copy it sits in. */
3658
- .muka-text-link--sm {
3659
- font-family: var(--text-body-sm-regular-fontFamily);
3660
- font-weight: var(--text-body-sm-regular-fontWeight);
3661
- font-size: var(--text-body-sm-regular-fontSize);
3662
- line-height: var(--text-body-sm-regular-lineHeight);
3601
+ .muka-tile--md .muka-tile__heading {
3602
+ font-family: var(--text-label-xl-semibold-fontFamily);
3603
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3604
+ font-size: var(--text-label-xl-semibold-fontSize);
3605
+ line-height: var(--text-label-xl-semibold-lineHeight);
3606
+ color: var(--color-text-default-default);
3663
3607
  }
3664
3608
 
3665
- .muka-text-link--base {
3666
- font-family: var(--text-body-base-regular-fontFamily);
3667
- font-weight: var(--text-body-base-regular-fontWeight);
3668
- font-size: var(--text-body-base-regular-fontSize);
3669
- line-height: var(--text-body-base-regular-lineHeight);
3609
+ .muka-tile--sm .muka-tile__heading {
3610
+ font-family: var(--text-label-lg-bold-fontFamily);
3611
+ font-weight: var(--text-label-lg-bold-fontWeight);
3612
+ font-size: var(--text-label-lg-bold-fontSize);
3613
+ line-height: var(--text-label-lg-bold-lineHeight);
3614
+ color: var(--color-text-default-default);
3670
3615
  }
3671
3616
 
3672
- .muka-text-link--lg {
3673
- font-family: var(--text-body-lg-regular-fontFamily);
3674
- font-weight: var(--text-body-lg-regular-fontWeight);
3675
- font-size: var(--text-body-lg-regular-fontSize);
3676
- line-height: var(--text-body-lg-regular-lineHeight);
3677
- }
3617
+ /* ─── Subheading typography ───────────────────────────── */
3678
3618
 
3679
- /* ─── Variant: default (accent) ───────────────────────────
3680
- Visited repeats the default colour on purpose: the design treats visited and
3681
- default the same, and pinning it stops the browser's purple from showing. */
3682
- .muka-text-link--default,
3683
- .muka-text-link--default:visited {
3684
- color: var(--color-text-action-default);
3619
+ .muka-tile__subheading {
3620
+ margin: 0;
3621
+ color: var(--color-text-subtle-default);
3685
3622
  }
3686
3623
 
3687
- .muka-text-link--default:hover,
3688
- .muka-text-link--default:focus-visible {
3689
- color: var(--color-text-action-hover);
3624
+ .muka-tile--lg .muka-tile__subheading {
3625
+ font-family: var(--text-subheading-md-fontFamily);
3626
+ font-weight: var(--text-subheading-md-fontWeight);
3627
+ font-size: var(--text-subheading-md-fontSize);
3628
+ line-height: var(--text-subheading-md-lineHeight);
3690
3629
  }
3691
3630
 
3692
- .muka-text-link--default:active {
3693
- color: var(--color-text-action-pressed);
3631
+ .muka-tile--md .muka-tile__subheading,
3632
+ .muka-tile--sm .muka-tile__subheading {
3633
+ font-family: var(--text-subheading-sm-fontFamily);
3634
+ font-weight: var(--text-subheading-sm-fontWeight);
3635
+ font-size: var(--text-subheading-sm-fontSize);
3636
+ line-height: var(--text-subheading-sm-lineHeight);
3694
3637
  }
3695
3638
 
3696
- /* ─── Variant: subtle (neutral) ───────────────────────────
3697
- Hover, focus and pressed all darken to the default text colour. */
3698
- .muka-text-link--subtle,
3699
- .muka-text-link--subtle:visited {
3700
- color: var(--color-text-subtle-default);
3701
- }
3639
+ /* ─── Description typography ──────────────────────────── */
3702
3640
 
3703
- .muka-text-link--subtle:hover,
3704
- .muka-text-link--subtle:focus-visible,
3705
- .muka-text-link--subtle:active {
3641
+ .muka-tile__description {
3642
+ margin: 0;
3706
3643
  color: var(--color-text-default-default);
3707
3644
  }
3708
3645
 
3709
- /* ─── Focus ───────────────────────────────────────────────
3710
- Same ring as every other focusable Muka component. */
3711
- .muka-text-link:focus-visible {
3712
- outline: 2px solid var(--color-border-focus);
3713
- outline-offset: 2px;
3646
+ .muka-tile--lg .muka-tile__description {
3647
+ font-family: var(--text-body-lg-regular-fontFamily);
3648
+ font-weight: var(--text-body-lg-regular-fontWeight);
3649
+ font-size: var(--text-body-lg-regular-fontSize);
3650
+ line-height: var(--text-body-lg-regular-lineHeight);
3714
3651
  }
3715
3652
 
3716
- @media (prefers-reduced-motion: reduce) {
3717
- .muka-text-link {
3718
- transition: none;
3719
- }
3653
+ .muka-tile--md .muka-tile__description,
3654
+ .muka-tile--sm .muka-tile__description {
3655
+ font-family: var(--text-body-base-regular-fontFamily);
3656
+ font-weight: var(--text-body-base-regular-fontWeight);
3657
+ font-size: var(--text-body-base-regular-fontSize);
3658
+ line-height: var(--text-body-base-regular-lineHeight);
3720
3659
  }
3721
3660
 
3661
+ /* Description overflow for medium */
3662
+ .muka-tile--md .muka-tile__description {
3663
+ overflow: hidden;
3664
+ text-overflow: ellipsis;
3665
+ }
3722
3666
 
3723
- /* Tabs */
3724
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
3667
+ /* ─── Price slot ──────────────────────────────────────── */
3725
3668
 
3726
- .muka-tabs {
3727
- display: flex;
3728
- flex-direction: column;
3669
+ .muka-tile__price {
3670
+ flex-shrink: 0;
3729
3671
  }
3730
3672
 
3731
- /* Alignment Variants */
3732
- .muka-tabs--align-left .muka-tabs__list {
3733
- justify-content: flex-start;
3734
- }
3735
- .muka-tabs--align-center .muka-tabs__list {
3736
- justify-content: center;
3737
- }
3738
- .muka-tabs--align-fill .muka-tabs__list {
3739
- justify-content: space-between;
3740
- }
3741
- .muka-tabs--align-fill .muka-tabs__trigger {
3742
- flex: 1;
3743
- }
3673
+ /* ─── Action slot ─────────────────────────────────────── */
3744
3674
 
3745
- /* Tab List — strip container */
3746
- .muka-tabs__list {
3747
- display: flex;
3748
- align-items: center;
3749
- position: relative;
3750
- z-index: 2;
3751
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3675
+ .muka-tile__action {
3676
+ flex-shrink: 0;
3752
3677
  }
3753
3678
 
3754
- /* Padding: inset the tabs; the divider (border) still spans the full width */
3755
- .muka-tabs--padding-default .muka-tabs__list {
3756
- padding-inline: var(--tabs-list-padding-x);
3757
- }
3758
3679
 
3759
- /* Tab Trigger — clean underline style */
3760
- .muka-tabs__trigger {
3761
- display: inline-flex;
3762
- align-items: center;
3763
- justify-content: center;
3764
- gap: var(--spacing-1);
3765
- background: transparent;
3766
- border: none;
3767
- cursor: pointer;
3768
- user-select: none;
3769
- transition: background-color 0.2s ease, color 0.2s ease;
3770
- outline: none;
3771
- white-space: nowrap;
3680
+ /* Thumbnail */
3681
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3682
+
3683
+ .muka-thumbnail {
3772
3684
  position: relative;
3773
- z-index: 2;
3774
- color: var(--tabs-trigger-color-default-foreground);
3685
+ flex-shrink: 0;
3686
+ }
3775
3687
 
3776
- /* Default MD size values */
3777
- min-height: var(--tabs-trigger-min-height-md);
3778
- padding: var(--spacing-3);
3779
- font-family: var(--text-label-md-regular-fontFamily);
3780
- font-weight: var(--text-label-md-regular-fontWeight);
3781
- font-size: var(--text-label-md-regular-fontSize);
3782
- line-height: var(--text-label-md-regular-lineHeight);
3688
+ /* The frame carries the border, background and shape clip. Keeping it separate
3689
+ from the root lets the remove (×) button sit outside the clip (needed for the
3690
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3691
+ .muka-thumbnail__frame {
3692
+ position: absolute;
3693
+ inset: 0;
3694
+ overflow: hidden;
3695
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3696
+ border-radius: var(--border-radius-lg);
3697
+ background-color: var(--color-surface-level1);
3783
3698
  }
3784
3699
 
3785
- /* Size Variants */
3786
- .muka-tabs--size-sm .muka-tabs__trigger {
3787
- min-height: var(--tabs-trigger-min-height-sm);
3788
- padding: 0 var(--spacing-2);
3789
- font-family: var(--text-label-sm-regular-fontFamily);
3790
- font-weight: var(--text-label-sm-regular-fontWeight);
3791
- font-size: var(--text-label-sm-regular-fontSize);
3792
- line-height: var(--text-label-sm-regular-lineHeight);
3700
+ /* ─── Shapes ──────────────────────────────────────────── */
3701
+ .muka-thumbnail--4-3 {
3702
+ width: 160px;
3703
+ height: 120px;
3793
3704
  }
3794
3705
 
3795
- .muka-tabs--size-lg .muka-tabs__trigger {
3796
- min-height: var(--tabs-trigger-min-height-lg);
3797
- padding: var(--spacing-4);
3798
- font-family: var(--text-label-lg-regular-fontFamily);
3799
- font-weight: var(--text-label-lg-regular-fontWeight);
3800
- font-size: var(--text-label-lg-regular-fontSize);
3801
- line-height: var(--text-label-lg-regular-lineHeight);
3706
+ .muka-thumbnail--1-1 {
3707
+ width: 120px;
3708
+ height: 120px;
3802
3709
  }
3803
3710
 
3804
- /* Hover state */
3805
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
3806
- color: var(--tabs-trigger-color-hover-foreground);
3711
+ .muka-thumbnail--ellipse {
3712
+ width: 120px;
3713
+ height: 120px;
3807
3714
  }
3808
3715
 
3809
- /* Current tab */
3810
- .muka-tabs__trigger--current {
3811
- color: var(--tabs-trigger-color-current-foreground);
3716
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3717
+ .muka-thumbnail--fluid {
3718
+ width: 100%;
3719
+ height: auto;
3720
+ aspect-ratio: 1 / 1;
3812
3721
  }
3813
3722
 
3814
- /* Active bottom border (underline) */
3815
- .muka-tabs__trigger--current::after {
3816
- content: '';
3817
- position: absolute;
3818
- bottom: -1px; /* Overlap the 1px border */
3819
- left: 0;
3820
- right: 0;
3821
- height: var(--tabs-indicator-height-md);
3822
- background-color: var(--tabs-indicator-color);
3823
- border-bottom-left-radius: 1px;
3824
- border-bottom-right-radius: 1px;
3825
- border-top-left-radius: 3px;
3826
- border-top-right-radius: 3px;
3827
- z-index: 3;
3723
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3724
+ aspect-ratio: 4 / 3;
3828
3725
  }
3829
3726
 
3830
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
3831
- height: var(--tabs-indicator-height-sm);
3727
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3728
+ border-radius: var(--border-radius-full);
3832
3729
  }
3833
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
3834
- height: var(--tabs-indicator-height-lg);
3730
+
3731
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3732
+ interactive hover zoom has a clean origin. */
3733
+ .muka-thumbnail__image {
3734
+ position: absolute;
3735
+ inset: 0;
3736
+ width: 100%;
3737
+ height: 100%;
3738
+ object-fit: cover;
3739
+ display: block;
3740
+ transform-origin: center;
3741
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3742
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3835
3743
  }
3836
3744
 
3837
- .muka-tabs__trigger--disabled {
3838
- color: var(--tabs-trigger-color-disabled-foreground);
3839
- cursor: not-allowed;
3745
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3746
+ .muka-thumbnail__trigger {
3747
+ position: absolute;
3748
+ inset: 0;
3749
+ padding: 0;
3750
+ border: 0;
3751
+ background: none;
3752
+ cursor: pointer;
3753
+ overflow: hidden;
3840
3754
  }
3841
3755
 
3842
- .muka-tabs__trigger:focus-visible {
3756
+ .muka-thumbnail__trigger:focus-visible {
3843
3757
  outline: 2px solid var(--color-border-focus);
3844
3758
  outline-offset: -2px;
3845
3759
  }
3846
3760
 
3847
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
3848
- item sits 12px from the text */
3849
- .muka-tabs__label {
3850
- padding: 0 var(--spacing-2);
3851
- }
3761
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3762
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3763
+ transform: scale(1.05);
3764
+ }
3852
3765
 
3853
- /* Leading item: icon, avatar, avatar group or data pie chart */
3854
- .muka-tabs__leading {
3766
+ /* ─── Loading overlay + progress donut ────────────────── */
3767
+ .muka-thumbnail__overlay {
3768
+ position: absolute;
3769
+ inset: 0;
3855
3770
  display: flex;
3856
3771
  align-items: center;
3857
3772
  justify-content: center;
3858
- flex-shrink: 0;
3859
- }
3860
- .muka-tabs__trigger .muka-icon {
3861
- color: inherit;
3773
+ background-color: var(--dialog-color-backdrop);
3862
3774
  }
3863
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
3864
- .muka-tabs--size-sm .muka-tabs__leading > svg,
3865
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
3866
- .muka-tabs--size-md .muka-tabs__leading > svg,
3867
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
3868
- .muka-tabs--size-lg .muka-tabs__leading > svg,
3869
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
3870
3775
 
3871
- /* Responsive Scroll behavior on small screens */
3872
- @media (max-width: 768px) {
3873
- .muka-tabs__list {
3874
- /* Make scrollable */
3875
- overflow-x: auto;
3876
- overflow-y: hidden;
3877
- /* Force left alignment on mobile to prevent clipping when scrolling */
3878
- justify-content: flex-start !important;
3879
- max-width: 100vw;
3880
- -webkit-overflow-scrolling: touch;
3881
- /* Hide scrollbar for cleaner look */
3882
- scrollbar-width: none;
3883
- }
3884
- .muka-tabs__list::-webkit-scrollbar {
3885
- display: none;
3886
- }
3887
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
3888
- .muka-tabs--align-fill .muka-tabs__trigger {
3889
- flex: 0 0 auto;
3890
- }
3776
+ .muka-thumbnail__progress {
3777
+ width: 40px;
3778
+ height: 40px;
3891
3779
  }
3892
3780
 
3893
- /* Tab Panel — content area */
3894
- .muka-tabs__panel {
3895
- background-color: var(--tabs-panel-background);
3896
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
3897
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
3898
- padding: var(--spacing-4);
3899
- position: relative;
3900
- z-index: 1;
3901
- font-family: var(--text-body-base-regular-fontFamily);
3902
- font-weight: var(--text-body-base-regular-fontWeight);
3903
- font-size: var(--text-body-base-regular-fontSize);
3904
- line-height: var(--text-body-base-regular-lineHeight);
3781
+ /* ─── Error / corrupt state ───────────────────────────── */
3782
+ .muka-thumbnail--error .muka-thumbnail__frame {
3783
+ background-color: var(--alias-color-state-error-muted);
3784
+ border-color: var(--alias-color-state-error-default);
3905
3785
  }
3906
3786
 
3907
- .muka-tabs__panel:focus-visible {
3908
- outline: 2px solid var(--color-border-focus);
3909
- outline-offset: 2px;
3787
+ .muka-thumbnail__error {
3788
+ position: absolute;
3789
+ inset: 0;
3790
+ display: flex;
3791
+ flex-direction: column;
3792
+ align-items: center;
3793
+ justify-content: center;
3794
+ gap: var(--spacing-2);
3795
+ padding: var(--spacing-3);
3796
+ text-align: center;
3910
3797
  }
3911
3798
 
3799
+ .muka-thumbnail__error-icon {
3800
+ color: var(--alert-color-error-accent);
3801
+ }
3912
3802
 
3913
- /* Tile */
3914
- /* Tile Component Styles - Using Muka Design Tokens */
3915
-
3916
- /* ─── Base ────────────────────────────────────────────── */
3803
+ .muka-thumbnail__caption {
3804
+ max-width: 100%;
3805
+ overflow: hidden;
3806
+ text-overflow: ellipsis;
3807
+ white-space: nowrap;
3808
+ color: var(--alert-color-error-accent);
3809
+ font-family: var(--text-body-sm-regular-fontFamily);
3810
+ font-size: var(--text-body-sm-regular-fontSize);
3811
+ font-weight: var(--text-body-sm-regular-fontWeight);
3812
+ line-height: var(--text-body-sm-regular-lineHeight);
3813
+ }
3917
3814
 
3918
- .muka-tile {
3815
+ /* ─── Remove (×) button ───────────────────────────────── */
3816
+ .muka-thumbnail__remove {
3817
+ position: absolute;
3818
+ top: var(--spacing-2);
3819
+ right: var(--spacing-2);
3919
3820
  display: flex;
3920
- color: var(--color-text-default-default);
3821
+ align-items: center;
3822
+ justify-content: center;
3823
+ width: var(--size-2xl);
3824
+ height: var(--size-2xl);
3825
+ padding: 0;
3826
+ color: var(--button-color-tertiary-foreground-default);
3827
+ background-color: var(--button-color-tertiary-background-default);
3828
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3829
+ border-radius: var(--border-radius-lg);
3830
+ cursor: pointer;
3831
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3832
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3921
3833
  }
3922
3834
 
3923
- .muka-tile--interactive {
3924
- cursor: pointer;
3925
- user-select: none;
3835
+ .muka-thumbnail__remove:hover {
3836
+ color: var(--button-color-tertiary-foreground-hover);
3837
+ background-color: var(--button-color-tertiary-background-hover);
3838
+ border-color: var(--button-color-tertiary-border-hover);
3926
3839
  }
3927
3840
 
3928
- .muka-tile--interactive:focus-visible {
3841
+ .muka-thumbnail__remove:active {
3842
+ color: var(--button-color-tertiary-foreground-pressed);
3843
+ background-color: var(--button-color-tertiary-background-pressed);
3844
+ border-color: var(--button-color-tertiary-border-pressed);
3845
+ }
3846
+
3847
+ .muka-thumbnail__remove:focus-visible {
3929
3848
  outline: 2px solid var(--color-border-focus);
3930
3849
  outline-offset: 2px;
3931
- border-radius: var(--border-radius-lg);
3932
3850
  }
3933
3851
 
3934
- /* ─── Image position variants ─────────────────────────── */
3935
-
3936
- .muka-tile--image-top {
3937
- flex-direction: column;
3938
- }
3852
+ /* ─── Reduced motion ──────────────────────────────────── */
3853
+ @media (prefers-reduced-motion: reduce) {
3854
+ .muka-thumbnail__image,
3855
+ .muka-thumbnail__remove {
3856
+ transition: none;
3857
+ }
3939
3858
 
3940
- .muka-tile--image-left {
3941
- flex-direction: row;
3859
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3860
+ transform: none;
3861
+ }
3942
3862
  }
3943
3863
 
3944
- .muka-tile--image-right {
3945
- flex-direction: row;
3946
- }
3947
3864
 
3948
- /* ─── Gap by size (top) ───────────────────────────────── */
3865
+ /* Textarea */
3866
+ /* Textarea Component Styles - Using Muka Design Tokens */
3949
3867
 
3950
- .muka-tile--image-top.muka-tile--lg {
3951
- gap: var(--spacing-6);
3868
+ .muka-textarea {
3869
+ display: inline-flex;
3870
+ flex-direction: column;
3871
+ gap: var(--spacing-2);
3952
3872
  }
3953
3873
 
3954
- .muka-tile--image-top.muka-tile--md {
3955
- gap: var(--spacing-6);
3956
- width: 320px;
3874
+ /* Label */
3875
+ .muka-textarea__label {
3876
+ color: var(--color-text-default-default);
3877
+ cursor: pointer;
3957
3878
  }
3958
3879
 
3959
- .muka-tile--image-top.muka-tile--sm {
3960
- gap: var(--spacing-4);
3961
- min-width: 120px;
3880
+ .muka-textarea__label--sm {
3881
+ font-family: var(--text-label-sm-semibold-fontFamily);
3882
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3883
+ font-size: var(--text-label-sm-semibold-fontSize);
3884
+ line-height: var(--text-label-sm-semibold-lineHeight);
3962
3885
  }
3963
3886
 
3964
- /* ─── Gap by size (left/right) ────────────────────────── */
3965
-
3966
- .muka-tile--image-left.muka-tile--lg,
3967
- .muka-tile--image-right.muka-tile--lg {
3968
- gap: var(--spacing-6);
3969
- align-items: center;
3887
+ .muka-textarea__label--md {
3888
+ font-family: var(--text-label-md-semibold-fontFamily);
3889
+ font-weight: var(--text-label-md-semibold-fontWeight);
3890
+ font-size: var(--text-label-md-semibold-fontSize);
3891
+ line-height: var(--text-label-md-semibold-lineHeight);
3970
3892
  }
3971
3893
 
3972
- .muka-tile--image-left.muka-tile--md,
3973
- .muka-tile--image-right.muka-tile--md {
3974
- gap: var(--spacing-6);
3975
- align-items: center;
3894
+ .muka-textarea__label--lg {
3895
+ font-family: var(--text-label-lg-semibold-fontFamily);
3896
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3897
+ font-size: var(--text-label-lg-semibold-fontSize);
3898
+ line-height: var(--text-label-lg-semibold-lineHeight);
3976
3899
  }
3977
3900
 
3978
- .muka-tile--image-left.muka-tile--sm,
3979
- .muka-tile--image-right.muka-tile--sm {
3980
- gap: var(--spacing-4);
3981
- align-items: flex-start;
3901
+ .muka-textarea__required {
3902
+ color: var(--color-state-error-default);
3982
3903
  }
3983
3904
 
3984
- /* ─── Photos container ────────────────────────────────── */
3985
-
3986
- .muka-tile__photos {
3987
- position: relative;
3988
- flex-shrink: 0;
3989
- overflow: hidden;
3905
+ /* Field container */
3906
+ .muka-textarea__field {
3990
3907
  display: flex;
3991
- flex-direction: column;
3992
- isolation: isolate;
3908
+ background-color: var(--input-field-color-default-background);
3909
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3910
+ border-radius: var(--input-field-radius-md);
3911
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3912
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3913
+ box-sizing: border-box;
3993
3914
  }
3994
3915
 
3995
- /* Photos border radius by size */
3996
- .muka-tile--lg .muka-tile__photos,
3997
- .muka-tile--md .muka-tile__photos {
3998
- border-radius: var(--border-radius-lg);
3916
+ .muka-textarea__field--sm {
3917
+ min-height: var(--input-textarea-height-sm);
3918
+ border-radius: var(--input-field-radius-sm);
3999
3919
  }
4000
3920
 
4001
- .muka-tile--sm .muka-tile__photos {
4002
- border-radius: var(--border-radius-md);
3921
+ .muka-textarea__field--md {
3922
+ min-height: var(--input-textarea-height-default);
3923
+ border-radius: var(--input-field-radius-md);
4003
3924
  }
4004
3925
 
4005
- /* Photos sizing: top layout */
4006
- .muka-tile--image-top .muka-tile__photos {
4007
- width: 100%;
3926
+ .muka-textarea__field--lg {
3927
+ min-height: var(--input-textarea-height-lg);
3928
+ border-radius: var(--input-field-radius-lg);
4008
3929
  }
4009
3930
 
4010
- /* Photos sizing: left/right large */
4011
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4012
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4013
- width: 520px;
3931
+ /* Focus state */
3932
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3933
+ border-width: var(--border-width-bold);
3934
+ border-color: var(--input-field-color-focus-border);
3935
+ background-color: var(--input-field-color-focus-background);
3936
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4014
3937
  }
4015
3938
 
4016
- /* Photos sizing: left/right medium */
4017
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4018
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4019
- width: 320px;
3939
+ /* Error state */
3940
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3941
+ border-width: var(--border-width-bold);
3942
+ border-color: var(--input-field-color-error-border);
3943
+ background-color: var(--input-field-color-error-background);
3944
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4020
3945
  }
4021
3946
 
4022
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4023
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4024
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4025
- width: 80px;
4026
- align-self: stretch;
4027
- }
4028
-
4029
- /* ─── Main photo ──────────────────────────────────────── */
3947
+ /* Disabled state */
3948
+ .muka-textarea__field--disabled {
3949
+ background-color: var(--input-field-color-disabled-background);
3950
+ border-color: var(--input-field-color-disabled-border);
3951
+ cursor: not-allowed;
3952
+ }
4030
3953
 
4031
- .muka-tile__photo-main {
4032
- position: relative;
3954
+ /* Native textarea */
3955
+ .muka-textarea__native {
3956
+ flex: 1;
3957
+ border: none;
3958
+ outline: none;
3959
+ background: transparent;
3960
+ color: var(--input-field-color-default-foreground);
3961
+ font-family: var(--text-input-md-fontFamily);
3962
+ font-weight: var(--text-input-md-fontWeight);
3963
+ font-size: var(--text-input-md-fontSize);
3964
+ line-height: var(--text-input-md-lineHeight);
3965
+ padding: 0;
4033
3966
  width: 100%;
4034
- overflow: hidden;
4035
- flex-shrink: 0;
3967
+ min-width: 0;
4036
3968
  }
4037
3969
 
4038
- /* 16:9 aspect for lg and md */
4039
- .muka-tile--lg .muka-tile__photo-main,
4040
- .muka-tile--md .muka-tile__photo-main {
4041
- aspect-ratio: 1280 / 720;
3970
+ .muka-textarea__field--sm .muka-textarea__native {
3971
+ font-family: var(--text-input-sm-fontFamily);
3972
+ font-weight: var(--text-input-sm-fontWeight);
3973
+ font-size: var(--text-input-sm-fontSize);
3974
+ line-height: var(--text-input-sm-lineHeight);
4042
3975
  }
4043
3976
 
4044
- /* 1:1 aspect for top + sm */
4045
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4046
- aspect-ratio: 1 / 1;
3977
+ .muka-textarea__field--lg .muka-textarea__native {
3978
+ font-family: var(--text-input-lg-fontFamily);
3979
+ font-weight: var(--text-input-lg-fontWeight);
3980
+ font-size: var(--text-input-lg-fontSize);
3981
+ line-height: var(--text-input-lg-lineHeight);
4047
3982
  }
4048
3983
 
4049
- /* Fixed size for left/right + sm */
4050
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4051
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4052
- width: 80px;
4053
- height: 80px;
4054
- aspect-ratio: auto;
3984
+ .muka-textarea__native::placeholder {
3985
+ color: var(--color-text-subtle-default);
4055
3986
  }
4056
3987
 
4057
- .muka-tile__photo-main img {
4058
- width: 100%;
4059
- height: 100%;
4060
- object-fit: cover;
4061
- display: block;
3988
+ .muka-textarea__field--disabled .muka-textarea__native {
3989
+ color: var(--input-field-color-disabled-foreground);
3990
+ cursor: not-allowed;
4062
3991
  }
4063
3992
 
4064
- /* ─── Favourite overlay ───────────────────────────────── */
3993
+ /* Footer (helper/error + count) */
3994
+ .muka-textarea__footer {
3995
+ display: flex;
3996
+ justify-content: space-between;
3997
+ align-items: flex-start;
3998
+ gap: var(--spacing-2);
3999
+ }
4065
4000
 
4066
- .muka-tile__favourite {
4067
- position: absolute;
4068
- z-index: 3;
4001
+ .muka-textarea__helper {
4002
+ font-family: var(--text-label-sm-regular-fontFamily);
4003
+ font-weight: var(--text-label-sm-regular-fontWeight);
4004
+ font-size: var(--text-label-sm-regular-fontSize);
4005
+ line-height: var(--text-label-sm-regular-lineHeight);
4006
+ color: var(--color-text-subtle-default);
4007
+ margin: 0;
4069
4008
  }
4070
4009
 
4071
- .muka-tile--lg .muka-tile__favourite,
4072
- .muka-tile--md .muka-tile__favourite {
4073
- top: var(--spacing-4);
4074
- right: var(--spacing-4);
4010
+ .muka-textarea__error {
4011
+ font-family: var(--text-label-sm-regular-fontFamily);
4012
+ font-weight: var(--text-label-sm-regular-fontWeight);
4013
+ font-size: var(--text-label-sm-regular-fontSize);
4014
+ line-height: var(--text-label-sm-regular-lineHeight);
4015
+ color: var(--color-state-error-default);
4016
+ margin: 0;
4075
4017
  }
4076
4018
 
4077
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4078
- top: var(--spacing-1);
4079
- right: var(--spacing-1);
4019
+ .muka-textarea__count {
4020
+ font-family: var(--text-label-sm-regular-fontFamily);
4021
+ font-weight: var(--text-label-sm-regular-fontWeight);
4022
+ font-size: var(--text-label-sm-regular-fontSize);
4023
+ line-height: var(--text-label-sm-regular-lineHeight);
4024
+ color: var(--color-text-subtle-default);
4025
+ margin-left: auto;
4080
4026
  }
4081
4027
 
4082
- /* ─── Thumbnails ──────────────────────────────────────── */
4083
4028
 
4084
- .muka-tile__thumbnails {
4085
- display: flex;
4086
- gap: 2px;
4087
- overflow: hidden;
4088
- flex-shrink: 0;
4089
- height: 80px;
4090
- }
4029
+ /* TextLink */
4030
+ /* TextLink Component Styles - Using Muka Design Tokens */
4091
4031
 
4092
- .muka-tile__thumbnail {
4093
- width: 80px;
4094
- height: 80px;
4095
- flex-shrink: 0;
4096
- overflow: hidden;
4032
+ .muka-text-link {
4033
+ display: inline;
4034
+ cursor: pointer;
4035
+ text-decoration: underline;
4036
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4037
+ text-underline-offset: 0.2em;
4038
+ text-decoration-thickness: from-font;
4039
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4040
+ border-radius: var(--border-radius-sm);
4041
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4097
4042
  }
4098
4043
 
4099
- .muka-tile__thumbnail img {
4100
- width: 100%;
4101
- height: 100%;
4102
- object-fit: cover;
4103
- display: block;
4044
+ /* ─── Sizes ───────────────────────────────────────────────
4045
+ Mirrors the body text scale so a link matches the copy it sits in. */
4046
+ .muka-text-link--sm {
4047
+ font-family: var(--text-body-sm-regular-fontFamily);
4048
+ font-weight: var(--text-body-sm-regular-fontWeight);
4049
+ font-size: var(--text-body-sm-regular-fontSize);
4050
+ line-height: var(--text-body-sm-regular-lineHeight);
4104
4051
  }
4105
4052
 
4106
- /* Gap between main photo and thumbnails */
4107
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4108
- margin-top: 2px;
4053
+ .muka-text-link--base {
4054
+ font-family: var(--text-body-base-regular-fontFamily);
4055
+ font-weight: var(--text-body-base-regular-fontWeight);
4056
+ font-size: var(--text-body-base-regular-fontSize);
4057
+ line-height: var(--text-body-base-regular-lineHeight);
4109
4058
  }
4110
4059
 
4111
- /* ─── Content section ─────────────────────────────────── */
4112
-
4113
- .muka-tile__content {
4114
- display: flex;
4115
- flex-direction: column;
4116
- flex: 1;
4117
- min-width: 0;
4060
+ .muka-text-link--lg {
4061
+ font-family: var(--text-body-lg-regular-fontFamily);
4062
+ font-weight: var(--text-body-lg-regular-fontWeight);
4063
+ font-size: var(--text-body-lg-regular-fontSize);
4064
+ line-height: var(--text-body-lg-regular-lineHeight);
4118
4065
  }
4119
4066
 
4120
- /* Top layout: content has horizontal padding */
4121
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4122
- padding: 0 var(--spacing-3);
4123
- gap: var(--spacing-1);
4067
+ /* ─── Variant: default (accent) ───────────────────────────
4068
+ Visited repeats the default colour on purpose: the design treats visited and
4069
+ default the same, and pinning it stops the browser's purple from showing. */
4070
+ .muka-text-link--default,
4071
+ .muka-text-link--default:visited {
4072
+ color: var(--color-text-action-default);
4124
4073
  }
4125
4074
 
4126
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4127
- padding: 0 var(--spacing-3);
4128
- gap: var(--spacing-2);
4075
+ .muka-text-link--default:hover,
4076
+ .muka-text-link--default:focus-visible {
4077
+ color: var(--color-text-action-hover);
4129
4078
  }
4130
4079
 
4131
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4132
- gap: var(--spacing-2);
4080
+ .muka-text-link--default:active {
4081
+ color: var(--color-text-action-pressed);
4133
4082
  }
4134
4083
 
4135
- /* Left/right layout: content grows to fill space */
4136
- .muka-tile--image-left .muka-tile__content,
4137
- .muka-tile--image-right .muka-tile__content {
4138
- gap: var(--spacing-3);
4084
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4085
+ Hover, focus and pressed all darken to the default text colour. */
4086
+ .muka-text-link--subtle,
4087
+ .muka-text-link--subtle:visited {
4088
+ color: var(--color-text-subtle-default);
4139
4089
  }
4140
4090
 
4141
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4142
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4143
- padding: 0 var(--spacing-3);
4091
+ .muka-text-link--subtle:hover,
4092
+ .muka-text-link--subtle:focus-visible,
4093
+ .muka-text-link--subtle:active {
4094
+ color: var(--color-text-default-default);
4144
4095
  }
4145
4096
 
4146
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4147
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4148
- padding: var(--spacing-2) var(--spacing-3);
4097
+ /* ─── Focus ───────────────────────────────────────────────
4098
+ Same ring as every other focusable Muka component. */
4099
+ .muka-text-link:focus-visible {
4100
+ outline: 2px solid var(--color-border-focus);
4101
+ outline-offset: 2px;
4149
4102
  }
4150
4103
 
4151
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4152
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4153
- gap: var(--spacing-2);
4104
+ @media (prefers-reduced-motion: reduce) {
4105
+ .muka-text-link {
4106
+ transition: none;
4107
+ }
4154
4108
  }
4155
4109
 
4156
- /* ─── Header (heading row + price) ────────────────────── */
4157
4110
 
4158
- .muka-tile__header {
4111
+ /* Tabs */
4112
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4113
+
4114
+ .muka-tabs {
4159
4115
  display: flex;
4160
- align-items: flex-start;
4161
- gap: var(--spacing-4);
4116
+ flex-direction: column;
4162
4117
  }
4163
4118
 
4164
- /* Small horizontal: row with text and action */
4165
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4166
- gap: var(--spacing-2);
4167
- align-items: center;
4168
- padding-top: var(--spacing-1);
4119
+ /* Alignment Variants */
4120
+ .muka-tabs--align-left .muka-tabs__list {
4121
+ justify-content: flex-start;
4169
4122
  }
4170
-
4171
- /* ─── Text group ──────────────────────────────────────── */
4172
-
4173
- .muka-tile__text {
4174
- display: flex;
4175
- flex-direction: column;
4123
+ .muka-tabs--align-center .muka-tabs__list {
4124
+ justify-content: center;
4125
+ }
4126
+ .muka-tabs--align-fill .muka-tabs__list {
4127
+ justify-content: space-between;
4128
+ }
4129
+ .muka-tabs--align-fill .muka-tabs__trigger {
4176
4130
  flex: 1;
4177
- min-width: 0;
4178
- gap: var(--spacing-2);
4179
4131
  }
4180
4132
 
4181
- /* ─── Heading typography ──────────────────────────────── */
4133
+ /* Tab List — strip container */
4134
+ .muka-tabs__list {
4135
+ display: flex;
4136
+ align-items: center;
4137
+ position: relative;
4138
+ z-index: 2;
4139
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4140
+ }
4182
4141
 
4183
- .muka-tile__heading {
4184
- margin: 0;
4142
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4143
+ .muka-tabs--padding-default .muka-tabs__list {
4144
+ padding-inline: var(--tabs-list-padding-x);
4185
4145
  }
4186
4146
 
4187
- .muka-tile--lg .muka-tile__heading {
4188
- font-family: var(--text-label-2xl-semibold-fontFamily);
4189
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4190
- font-size: var(--text-label-2xl-semibold-fontSize);
4191
- line-height: var(--text-label-2xl-semibold-lineHeight);
4192
- color: var(--color-text-default-default);
4193
- }
4147
+ /* Tab Trigger — clean underline style */
4148
+ .muka-tabs__trigger {
4149
+ display: inline-flex;
4150
+ align-items: center;
4151
+ justify-content: center;
4152
+ gap: var(--spacing-1);
4153
+ background: transparent;
4154
+ border: none;
4155
+ cursor: pointer;
4156
+ user-select: none;
4157
+ transition: background-color 0.2s ease, color 0.2s ease;
4158
+ outline: none;
4159
+ white-space: nowrap;
4160
+ position: relative;
4161
+ z-index: 2;
4162
+ color: var(--tabs-trigger-color-default-foreground);
4194
4163
 
4195
- .muka-tile--md .muka-tile__heading {
4196
- font-family: var(--text-label-xl-semibold-fontFamily);
4197
- font-weight: var(--text-label-xl-semibold-fontWeight);
4198
- font-size: var(--text-label-xl-semibold-fontSize);
4199
- line-height: var(--text-label-xl-semibold-lineHeight);
4200
- color: var(--color-text-default-default);
4164
+ /* Default MD size values */
4165
+ min-height: var(--tabs-trigger-min-height-md);
4166
+ padding: var(--spacing-3);
4167
+ font-family: var(--text-label-md-regular-fontFamily);
4168
+ font-weight: var(--text-label-md-regular-fontWeight);
4169
+ font-size: var(--text-label-md-regular-fontSize);
4170
+ line-height: var(--text-label-md-regular-lineHeight);
4201
4171
  }
4202
4172
 
4203
- .muka-tile--sm .muka-tile__heading {
4204
- font-family: var(--text-label-lg-bold-fontFamily);
4205
- font-weight: var(--text-label-lg-bold-fontWeight);
4206
- font-size: var(--text-label-lg-bold-fontSize);
4207
- line-height: var(--text-label-lg-bold-lineHeight);
4208
- color: var(--color-text-default-default);
4173
+ /* Size Variants */
4174
+ .muka-tabs--size-sm .muka-tabs__trigger {
4175
+ min-height: var(--tabs-trigger-min-height-sm);
4176
+ padding: 0 var(--spacing-2);
4177
+ font-family: var(--text-label-sm-regular-fontFamily);
4178
+ font-weight: var(--text-label-sm-regular-fontWeight);
4179
+ font-size: var(--text-label-sm-regular-fontSize);
4180
+ line-height: var(--text-label-sm-regular-lineHeight);
4209
4181
  }
4210
4182
 
4211
- /* ─── Subheading typography ───────────────────────────── */
4212
-
4213
- .muka-tile__subheading {
4214
- margin: 0;
4215
- color: var(--color-text-subtle-default);
4183
+ .muka-tabs--size-lg .muka-tabs__trigger {
4184
+ min-height: var(--tabs-trigger-min-height-lg);
4185
+ padding: var(--spacing-4);
4186
+ font-family: var(--text-label-lg-regular-fontFamily);
4187
+ font-weight: var(--text-label-lg-regular-fontWeight);
4188
+ font-size: var(--text-label-lg-regular-fontSize);
4189
+ line-height: var(--text-label-lg-regular-lineHeight);
4216
4190
  }
4217
4191
 
4218
- .muka-tile--lg .muka-tile__subheading {
4219
- font-family: var(--text-subheading-md-fontFamily);
4220
- font-weight: var(--text-subheading-md-fontWeight);
4221
- font-size: var(--text-subheading-md-fontSize);
4222
- line-height: var(--text-subheading-md-lineHeight);
4192
+ /* Hover state */
4193
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4194
+ color: var(--tabs-trigger-color-hover-foreground);
4223
4195
  }
4224
4196
 
4225
- .muka-tile--md .muka-tile__subheading,
4226
- .muka-tile--sm .muka-tile__subheading {
4227
- font-family: var(--text-subheading-sm-fontFamily);
4228
- font-weight: var(--text-subheading-sm-fontWeight);
4229
- font-size: var(--text-subheading-sm-fontSize);
4230
- line-height: var(--text-subheading-sm-lineHeight);
4197
+ /* Current tab */
4198
+ .muka-tabs__trigger--current {
4199
+ color: var(--tabs-trigger-color-current-foreground);
4231
4200
  }
4232
4201
 
4233
- /* ─── Description typography ──────────────────────────── */
4234
-
4235
- .muka-tile__description {
4236
- margin: 0;
4237
- color: var(--color-text-default-default);
4202
+ /* Active bottom border (underline) */
4203
+ .muka-tabs__trigger--current::after {
4204
+ content: '';
4205
+ position: absolute;
4206
+ bottom: -1px; /* Overlap the 1px border */
4207
+ left: 0;
4208
+ right: 0;
4209
+ height: var(--tabs-indicator-height-md);
4210
+ background-color: var(--tabs-indicator-color);
4211
+ border-bottom-left-radius: 1px;
4212
+ border-bottom-right-radius: 1px;
4213
+ border-top-left-radius: 3px;
4214
+ border-top-right-radius: 3px;
4215
+ z-index: 3;
4238
4216
  }
4239
4217
 
4240
- .muka-tile--lg .muka-tile__description {
4241
- font-family: var(--text-body-lg-regular-fontFamily);
4242
- font-weight: var(--text-body-lg-regular-fontWeight);
4243
- font-size: var(--text-body-lg-regular-fontSize);
4244
- line-height: var(--text-body-lg-regular-lineHeight);
4218
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4219
+ height: var(--tabs-indicator-height-sm);
4220
+ }
4221
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4222
+ height: var(--tabs-indicator-height-lg);
4245
4223
  }
4246
4224
 
4247
- .muka-tile--md .muka-tile__description,
4248
- .muka-tile--sm .muka-tile__description {
4249
- font-family: var(--text-body-base-regular-fontFamily);
4250
- font-weight: var(--text-body-base-regular-fontWeight);
4251
- font-size: var(--text-body-base-regular-fontSize);
4252
- line-height: var(--text-body-base-regular-lineHeight);
4225
+ .muka-tabs__trigger--disabled {
4226
+ color: var(--tabs-trigger-color-disabled-foreground);
4227
+ cursor: not-allowed;
4253
4228
  }
4254
4229
 
4255
- /* Description overflow for medium */
4256
- .muka-tile--md .muka-tile__description {
4257
- overflow: hidden;
4258
- text-overflow: ellipsis;
4230
+ .muka-tabs__trigger:focus-visible {
4231
+ outline: 2px solid var(--color-border-focus);
4232
+ outline-offset: -2px;
4259
4233
  }
4260
4234
 
4261
- /* ─── Price slot ──────────────────────────────────────── */
4235
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4236
+ item sits 12px from the text */
4237
+ .muka-tabs__label {
4238
+ padding: 0 var(--spacing-2);
4239
+ }
4262
4240
 
4263
- .muka-tile__price {
4241
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4242
+ .muka-tabs__leading {
4243
+ display: flex;
4244
+ align-items: center;
4245
+ justify-content: center;
4264
4246
  flex-shrink: 0;
4265
4247
  }
4248
+ .muka-tabs__trigger .muka-icon {
4249
+ color: inherit;
4250
+ }
4251
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4252
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4253
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4254
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4255
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4256
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4257
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4266
4258
 
4267
- /* ─── Action slot ─────────────────────────────────────── */
4259
+ /* Responsive Scroll behavior on small screens */
4260
+ @media (max-width: 768px) {
4261
+ .muka-tabs__list {
4262
+ /* Make scrollable */
4263
+ overflow-x: auto;
4264
+ overflow-y: hidden;
4265
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4266
+ justify-content: flex-start !important;
4267
+ max-width: 100vw;
4268
+ -webkit-overflow-scrolling: touch;
4269
+ /* Hide scrollbar for cleaner look */
4270
+ scrollbar-width: none;
4271
+ }
4272
+ .muka-tabs__list::-webkit-scrollbar {
4273
+ display: none;
4274
+ }
4275
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4276
+ .muka-tabs--align-fill .muka-tabs__trigger {
4277
+ flex: 0 0 auto;
4278
+ }
4279
+ }
4268
4280
 
4269
- .muka-tile__action {
4270
- flex-shrink: 0;
4281
+ /* Tab Panel — content area */
4282
+ .muka-tabs__panel {
4283
+ background-color: var(--tabs-panel-background);
4284
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4285
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4286
+ padding: var(--spacing-4);
4287
+ position: relative;
4288
+ z-index: 1;
4289
+ font-family: var(--text-body-base-regular-fontFamily);
4290
+ font-weight: var(--text-body-base-regular-fontWeight);
4291
+ font-size: var(--text-body-base-regular-fontSize);
4292
+ line-height: var(--text-body-base-regular-lineHeight);
4293
+ }
4294
+
4295
+ .muka-tabs__panel:focus-visible {
4296
+ outline: 2px solid var(--color-border-focus);
4297
+ outline-offset: 2px;
4271
4298
  }
4272
4299
 
4273
4300
 
@@ -5288,118 +5315,43 @@ body {
5288
5315
  }
5289
5316
 
5290
5317
 
5291
- /* Skeleton */
5292
- /* Skeleton Component Styles */
5293
-
5294
- .muka-skeleton {
5295
- background-color: var(--color-surface-level1);
5296
- display: block;
5297
- }
5318
+ /* Sheet */
5319
+ /* Sheet Component Styles */
5298
5320
 
5299
- /* Variants */
5300
- .muka-skeleton--text {
5301
- height: 1em;
5302
- border-radius: var(--radius-md);
5303
- width: 100%;
5304
- }
5321
+ /* ─── Backdrop ────────────────────────────────────────── */
5305
5322
 
5306
- .muka-skeleton--circular {
5307
- width: 2.5rem;
5308
- height: 2.5rem;
5309
- border-radius: var(--radius-full);
5323
+ .muka-sheet__overlay {
5324
+ position: fixed;
5325
+ inset: 0;
5326
+ background-color: var(--color-surface-backdrop);
5327
+ z-index: 50;
5310
5328
  }
5311
5329
 
5312
- .muka-skeleton--rectangular {
5313
- height: 7.5rem;
5314
- border-radius: var(--radius-md);
5315
- width: 100%;
5316
- }
5330
+ /* ─── Surface ─────────────────────────────────────────── */
5317
5331
 
5318
- /* Last line in multi-line text is shorter */
5319
- .muka-skeleton--last-line {
5320
- width: 80%;
5321
- }
5332
+ .muka-sheet {
5333
+ position: fixed;
5334
+ left: 0;
5335
+ right: 0;
5336
+ bottom: 0;
5337
+ z-index: 51;
5322
5338
 
5323
- /* Lines container */
5324
- .muka-skeleton__lines {
5325
5339
  display: flex;
5326
5340
  flex-direction: column;
5327
- gap: var(--spacing-2);
5328
- }
5329
5341
 
5330
- /* Shimmer animation */
5331
- @keyframes muka-skeleton-shimmer {
5332
- 0% {
5333
- background-position: -200% 0;
5334
- }
5335
- 100% {
5336
- background-position: 200% 0;
5337
- }
5342
+ max-height: 96dvh;
5343
+
5344
+ background-color: var(--color-surface-level3);
5345
+ border-top-left-radius: var(--radius-lg);
5346
+ border-top-right-radius: var(--radius-lg);
5347
+ box-shadow: var(--shadow-level5);
5348
+
5349
+ outline: none;
5338
5350
  }
5339
5351
 
5340
- .muka-skeleton--shimmer {
5341
- background: linear-gradient(
5342
- 90deg,
5343
- var(--color-surface-level1) 25%,
5344
- var(--color-surface-level2) 50%,
5345
- var(--color-surface-level1) 75%
5346
- );
5347
- background-size: 200% 100%;
5348
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5349
- }
5350
-
5351
- /* Pulse animation */
5352
- @keyframes muka-skeleton-pulse {
5353
- 0%, 100% {
5354
- opacity: 1;
5355
- }
5356
- 50% {
5357
- opacity: 0.4;
5358
- }
5359
- }
5360
-
5361
- .muka-skeleton--pulse {
5362
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5363
- }
5364
-
5365
-
5366
- /* Sheet */
5367
- /* Sheet Component Styles */
5368
-
5369
- /* ─── Backdrop ────────────────────────────────────────── */
5370
-
5371
- .muka-sheet__overlay {
5372
- position: fixed;
5373
- inset: 0;
5374
- background-color: var(--color-surface-backdrop);
5375
- z-index: 50;
5376
- }
5377
-
5378
- /* ─── Surface ─────────────────────────────────────────── */
5379
-
5380
- .muka-sheet {
5381
- position: fixed;
5382
- left: 0;
5383
- right: 0;
5384
- bottom: 0;
5385
- z-index: 51;
5386
-
5387
- display: flex;
5388
- flex-direction: column;
5389
-
5390
- max-height: 96dvh;
5391
-
5392
- background-color: var(--color-surface-level3);
5393
- border-top-left-radius: var(--radius-lg);
5394
- border-top-right-radius: var(--radius-lg);
5395
- box-shadow: var(--shadow-level5);
5396
-
5397
- outline: none;
5398
- }
5399
-
5400
- /* Safe-area bottom inset for the iPhone home indicator. */
5401
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5402
- padding-bottom: env(safe-area-inset-bottom);
5352
+ /* Safe-area bottom inset for the iPhone home indicator. */
5353
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5354
+ padding-bottom: env(safe-area-inset-bottom);
5403
5355
  }
5404
5356
 
5405
5357
  /* ─── Drag handle ─────────────────────────────────────── */
@@ -5443,6 +5395,81 @@ body {
5443
5395
  }
5444
5396
 
5445
5397
 
5398
+ /* Skeleton */
5399
+ /* Skeleton Component Styles */
5400
+
5401
+ .muka-skeleton {
5402
+ background-color: var(--color-surface-level1);
5403
+ display: block;
5404
+ }
5405
+
5406
+ /* Variants */
5407
+ .muka-skeleton--text {
5408
+ height: 1em;
5409
+ border-radius: var(--radius-md);
5410
+ width: 100%;
5411
+ }
5412
+
5413
+ .muka-skeleton--circular {
5414
+ width: 2.5rem;
5415
+ height: 2.5rem;
5416
+ border-radius: var(--radius-full);
5417
+ }
5418
+
5419
+ .muka-skeleton--rectangular {
5420
+ height: 7.5rem;
5421
+ border-radius: var(--radius-md);
5422
+ width: 100%;
5423
+ }
5424
+
5425
+ /* Last line in multi-line text is shorter */
5426
+ .muka-skeleton--last-line {
5427
+ width: 80%;
5428
+ }
5429
+
5430
+ /* Lines container */
5431
+ .muka-skeleton__lines {
5432
+ display: flex;
5433
+ flex-direction: column;
5434
+ gap: var(--spacing-2);
5435
+ }
5436
+
5437
+ /* Shimmer animation */
5438
+ @keyframes muka-skeleton-shimmer {
5439
+ 0% {
5440
+ background-position: -200% 0;
5441
+ }
5442
+ 100% {
5443
+ background-position: 200% 0;
5444
+ }
5445
+ }
5446
+
5447
+ .muka-skeleton--shimmer {
5448
+ background: linear-gradient(
5449
+ 90deg,
5450
+ var(--color-surface-level1) 25%,
5451
+ var(--color-surface-level2) 50%,
5452
+ var(--color-surface-level1) 75%
5453
+ );
5454
+ background-size: 200% 100%;
5455
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5456
+ }
5457
+
5458
+ /* Pulse animation */
5459
+ @keyframes muka-skeleton-pulse {
5460
+ 0%, 100% {
5461
+ opacity: 1;
5462
+ }
5463
+ 50% {
5464
+ opacity: 0.4;
5465
+ }
5466
+ }
5467
+
5468
+ .muka-skeleton--pulse {
5469
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5470
+ }
5471
+
5472
+
5446
5473
  /* Select */
5447
5474
  /* Select Component Styles - Aligned with Input for consistency */
5448
5475
 
@@ -5825,86 +5852,240 @@ body {
5825
5852
  }
5826
5853
 
5827
5854
 
5828
- /* Section */
5829
- /* Section Component - Layout tokens (section.padding) */
5830
-
5831
- .muka-section {
5832
- box-sizing: border-box;
5833
- }
5855
+ /* Scrollbar */
5856
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5834
5857
 
5835
- .muka-section--padding-compact {
5836
- padding-block: var(--section-padding-vertical-compact);
5837
- padding-inline: var(--section-padding-horizontal-compact);
5858
+ .muka-scrollbar {
5859
+ display: flex;
5860
+ flex-shrink: 0;
5861
+ border-left: var(--border-width-regular) solid var(--color-border-default);
5862
+ background-color: var(--color-surface-level3);
5863
+ user-select: none;
5838
5864
  }
5839
5865
 
5840
- .muka-section--padding-default {
5841
- padding-block: var(--section-padding-vertical-default);
5842
- padding-inline: var(--section-padding-horizontal-default);
5866
+ .muka-scrollbar--vertical {
5867
+ flex-direction: column;
5868
+ width: var(--size-2xl, 32px);
5869
+ align-self: stretch;
5843
5870
  }
5844
5871
 
5845
- .muka-section--padding-spacious {
5846
- padding-block: var(--section-padding-vertical-spacious);
5847
- padding-inline: var(--section-padding-horizontal-spacious);
5872
+ .muka-scrollbar--horizontal {
5873
+ flex-direction: row;
5874
+ height: var(--size-2xl, 32px);
5875
+ width: 100%;
5876
+ border-left: none;
5877
+ border-top: var(--border-width-regular) solid var(--color-border-default);
5848
5878
  }
5849
5879
 
5850
-
5851
- /* SearchInput */
5852
- /* SearchInput Component Styles */
5853
-
5854
- .muka-search-input {
5880
+ .muka-scrollbar__button {
5855
5881
  display: flex;
5856
5882
  align-items: center;
5857
- gap: var(--spacing-3);
5883
+ justify-content: center;
5884
+ flex-shrink: 0;
5858
5885
  width: 100%;
5886
+ height: var(--size-2xl, 32px);
5887
+ padding: 0;
5888
+ border: none;
5889
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5890
+ color: var(--color-text-default-default);
5891
+ cursor: pointer;
5859
5892
  }
5860
5893
 
5861
- /* ─── Field wrapper ───────────────────────────────────── */
5862
-
5863
- .muka-search-input__field {
5864
- flex: 1 1 auto;
5865
- display: flex;
5866
- align-items: center;
5867
- gap: var(--spacing-2);
5868
- background-color: var(--input-field-color-default-background);
5869
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5870
- border-radius: var(--input-field-radius-md);
5871
- padding: 0 var(--input-field-padding-x);
5872
- transition: border-color 0.12s ease, background-color 0.12s ease;
5894
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
5895
+ width: var(--size-2xl, 32px);
5896
+ height: 100%;
5873
5897
  }
5874
5898
 
5875
- .muka-search-input--focused .muka-search-input__field {
5876
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5899
+ .muka-scrollbar__button:hover {
5900
+ background-color: var(--color-surface-hover);
5877
5901
  }
5878
5902
 
5879
- /* ─── Sizes ───────────────────────────────────────────── */
5880
-
5881
- .muka-search-input--sm .muka-search-input__field {
5882
- min-height: var(--input-field-height-sm);
5883
- border-radius: var(--input-field-radius-sm);
5903
+ .muka-scrollbar__divider {
5904
+ flex-shrink: 0;
5905
+ width: 100%;
5906
+ height: 1px;
5907
+ background-color: var(--color-border-default);
5884
5908
  }
5885
5909
 
5886
- .muka-search-input--md .muka-search-input__field {
5887
- min-height: var(--input-field-height-default);
5910
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
5911
+ width: 1px;
5912
+ height: 100%;
5888
5913
  }
5889
5914
 
5890
- .muka-search-input--lg .muka-search-input__field {
5891
- min-height: var(--input-field-height-lg);
5892
- border-radius: var(--input-field-radius-lg);
5915
+ .muka-scrollbar__track {
5916
+ position: relative;
5917
+ display: flex;
5918
+ flex-direction: column;
5919
+ flex: 1 1 auto;
5920
+ min-height: 0;
5921
+ width: 100%;
5893
5922
  }
5894
5923
 
5895
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5924
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
5925
+ flex-direction: row;
5926
+ min-width: 0;
5927
+ height: 100%;
5928
+ }
5896
5929
 
5897
- .muka-search-input--embedded .muka-search-input__field {
5898
- background-color: var(--color-surface-level1);
5899
- border-color: transparent;
5930
+ .muka-scrollbar__thumb {
5931
+ position: absolute;
5932
+ left: 0;
5933
+ top: 0;
5934
+ z-index: 1;
5935
+ display: flex;
5936
+ align-items: center;
5937
+ justify-content: center;
5938
+ width: 100%;
5939
+ /* Figma: scrollbar thumb fill = surface/level3 */
5940
+ background-color: var(--color-surface-level3);
5941
+ cursor: grab;
5942
+ touch-action: none;
5900
5943
  }
5901
5944
 
5902
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5903
- border-color: transparent;
5904
- background-color: var(--color-surface-level2);
5945
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
5946
+ left: 0;
5947
+ top: 0;
5948
+ width: auto;
5949
+ height: 100%;
5950
+ margin-left: 0;
5951
+ margin-top: 0;
5905
5952
  }
5906
5953
 
5907
- /* ─── Disabled ────────────────────────────────────────── */
5954
+ .muka-scrollbar__thumb:active {
5955
+ cursor: grabbing;
5956
+ }
5957
+
5958
+ .muka-scrollbar__grip {
5959
+ display: flex;
5960
+ flex-direction: column;
5961
+ gap: 2px;
5962
+ width: 14px;
5963
+ }
5964
+
5965
+ .muka-scrollbar__grip::before,
5966
+ .muka-scrollbar__grip::after {
5967
+ content: '';
5968
+ display: block;
5969
+ width: 100%;
5970
+ height: 2px;
5971
+ border-radius: var(--border-radius-md);
5972
+ background-color: var(--color-text-subtle-default);
5973
+ }
5974
+
5975
+ .muka-scrollbar__spacer {
5976
+ flex: 1 1 auto;
5977
+ min-height: 0;
5978
+ background-color: var(--color-surface-level2);
5979
+ }
5980
+
5981
+
5982
+ /* RecordingBar */
5983
+ /* RecordingBar Component Styles */
5984
+
5985
+ .muka-recording-bar {
5986
+ display: flex;
5987
+ align-items: center;
5988
+ gap: var(--spacing-3);
5989
+ width: 100%;
5990
+ min-width: 0;
5991
+ }
5992
+
5993
+ .muka-recording-bar__dot {
5994
+ flex: 0 0 auto;
5995
+ width: 0.625rem;
5996
+ height: 0.625rem;
5997
+ border-radius: var(--radius-full, 9999px);
5998
+ background: var(--alert-color-error-accent, var(--color-text-default-default));
5999
+ animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6000
+ }
6001
+
6002
+ .muka-recording-bar__time {
6003
+ flex: 0 0 auto;
6004
+ font-size: var(--text-label-sm-fontSize, 0.75rem);
6005
+ line-height: var(--text-label-sm-lineHeight, 1);
6006
+ font-variant-numeric: tabular-nums;
6007
+ color: var(--color-text-default-default);
6008
+ }
6009
+
6010
+ .muka-recording-bar__wave {
6011
+ flex: 1 1 auto;
6012
+ min-width: 0;
6013
+ }
6014
+
6015
+ @keyframes muka-recording-bar-pulse {
6016
+ 0%,
6017
+ 100% {
6018
+ opacity: 1;
6019
+ }
6020
+ 50% {
6021
+ opacity: 0.3;
6022
+ }
6023
+ }
6024
+
6025
+ @media (prefers-reduced-motion: reduce) {
6026
+ .muka-recording-bar__dot {
6027
+ animation: none;
6028
+ }
6029
+ }
6030
+
6031
+
6032
+ /* SearchInput */
6033
+ /* SearchInput Component Styles */
6034
+
6035
+ .muka-search-input {
6036
+ display: flex;
6037
+ align-items: center;
6038
+ gap: var(--spacing-3);
6039
+ width: 100%;
6040
+ }
6041
+
6042
+ /* ─── Field wrapper ───────────────────────────────────── */
6043
+
6044
+ .muka-search-input__field {
6045
+ flex: 1 1 auto;
6046
+ display: flex;
6047
+ align-items: center;
6048
+ gap: var(--spacing-2);
6049
+ background-color: var(--input-field-color-default-background);
6050
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6051
+ border-radius: var(--input-field-radius-md);
6052
+ padding: 0 var(--input-field-padding-x);
6053
+ transition: border-color 0.12s ease, background-color 0.12s ease;
6054
+ }
6055
+
6056
+ .muka-search-input--focused .muka-search-input__field {
6057
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
6058
+ }
6059
+
6060
+ /* ─── Sizes ───────────────────────────────────────────── */
6061
+
6062
+ .muka-search-input--sm .muka-search-input__field {
6063
+ min-height: var(--input-field-height-sm);
6064
+ border-radius: var(--input-field-radius-sm);
6065
+ }
6066
+
6067
+ .muka-search-input--md .muka-search-input__field {
6068
+ min-height: var(--input-field-height-default);
6069
+ }
6070
+
6071
+ .muka-search-input--lg .muka-search-input__field {
6072
+ min-height: var(--input-field-height-lg);
6073
+ border-radius: var(--input-field-radius-lg);
6074
+ }
6075
+
6076
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6077
+
6078
+ .muka-search-input--embedded .muka-search-input__field {
6079
+ background-color: var(--color-surface-level1);
6080
+ border-color: transparent;
6081
+ }
6082
+
6083
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6084
+ border-color: transparent;
6085
+ background-color: var(--color-surface-level2);
6086
+ }
6087
+
6088
+ /* ─── Disabled ────────────────────────────────────────── */
5908
6089
 
5909
6090
  .muka-search-input--disabled .muka-search-input__field {
5910
6091
  opacity: 0.5;
@@ -6017,221 +6198,67 @@ body {
6017
6198
  }
6018
6199
 
6019
6200
 
6020
- /* Scrollbar */
6021
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6022
-
6023
- .muka-scrollbar {
6024
- display: flex;
6025
- flex-shrink: 0;
6026
- border-left: var(--border-width-regular) solid var(--color-border-default);
6027
- background-color: var(--color-surface-level3);
6028
- user-select: none;
6029
- }
6030
-
6031
- .muka-scrollbar--vertical {
6032
- flex-direction: column;
6033
- width: var(--size-2xl, 32px);
6034
- align-self: stretch;
6035
- }
6201
+ /* Section */
6202
+ /* Section Component - Layout tokens (section.padding) */
6036
6203
 
6037
- .muka-scrollbar--horizontal {
6038
- flex-direction: row;
6039
- height: var(--size-2xl, 32px);
6040
- width: 100%;
6041
- border-left: none;
6042
- border-top: var(--border-width-regular) solid var(--color-border-default);
6204
+ .muka-section {
6205
+ box-sizing: border-box;
6043
6206
  }
6044
6207
 
6045
- .muka-scrollbar__button {
6046
- display: flex;
6047
- align-items: center;
6048
- justify-content: center;
6049
- flex-shrink: 0;
6050
- width: 100%;
6051
- height: var(--size-2xl, 32px);
6052
- padding: 0;
6053
- border: none;
6054
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6055
- color: var(--color-text-default-default);
6056
- cursor: pointer;
6208
+ .muka-section--padding-compact {
6209
+ padding-block: var(--section-padding-vertical-compact);
6210
+ padding-inline: var(--section-padding-horizontal-compact);
6057
6211
  }
6058
6212
 
6059
- .muka-scrollbar--horizontal .muka-scrollbar__button {
6060
- width: var(--size-2xl, 32px);
6061
- height: 100%;
6213
+ .muka-section--padding-default {
6214
+ padding-block: var(--section-padding-vertical-default);
6215
+ padding-inline: var(--section-padding-horizontal-default);
6062
6216
  }
6063
6217
 
6064
- .muka-scrollbar__button:hover {
6065
- background-color: var(--color-surface-hover);
6218
+ .muka-section--padding-spacious {
6219
+ padding-block: var(--section-padding-vertical-spacious);
6220
+ padding-inline: var(--section-padding-horizontal-spacious);
6066
6221
  }
6067
6222
 
6068
- .muka-scrollbar__divider {
6069
- flex-shrink: 0;
6070
- width: 100%;
6071
- height: 1px;
6072
- background-color: var(--color-border-default);
6073
- }
6074
6223
 
6075
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
6076
- width: 1px;
6077
- height: 100%;
6078
- }
6224
+ /* RangeSlider */
6225
+ /* RangeSlider Component Styles - Using Muka Design Tokens */
6079
6226
 
6080
- .muka-scrollbar__track {
6081
- position: relative;
6227
+ .muka-range-slider {
6082
6228
  display: flex;
6083
6229
  flex-direction: column;
6084
- flex: 1 1 auto;
6085
- min-height: 0;
6230
+ gap: var(--spacing-1);
6086
6231
  width: 100%;
6087
6232
  }
6088
6233
 
6089
- .muka-scrollbar--horizontal .muka-scrollbar__track {
6090
- flex-direction: row;
6091
- min-width: 0;
6092
- height: 100%;
6093
- }
6234
+ /* ========================================
6235
+ HEADER: label group (label + info + optional) and value readout
6236
+ ======================================== */
6094
6237
 
6095
- .muka-scrollbar__thumb {
6096
- position: absolute;
6097
- left: 0;
6098
- top: 0;
6099
- z-index: 1;
6238
+ .muka-range-slider__header {
6100
6239
  display: flex;
6101
6240
  align-items: center;
6102
- justify-content: center;
6103
- width: 100%;
6104
- /* Figma: scrollbar thumb fill = surface/level3 */
6105
- background-color: var(--color-surface-level3);
6106
- cursor: grab;
6107
- touch-action: none;
6241
+ justify-content: space-between;
6242
+ gap: var(--spacing-2);
6243
+ min-height: 24px;
6108
6244
  }
6109
6245
 
6110
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6111
- left: 0;
6112
- top: 0;
6113
- width: auto;
6114
- height: 100%;
6115
- margin-left: 0;
6116
- margin-top: 0;
6246
+ .muka-range-slider__label-group {
6247
+ display: inline-flex;
6248
+ align-items: center;
6249
+ gap: var(--spacing-2);
6117
6250
  }
6118
6251
 
6119
- .muka-scrollbar__thumb:active {
6120
- cursor: grabbing;
6252
+ .muka-range-slider__label {
6253
+ font-family: var(--text-label-md-semibold-fontFamily);
6254
+ font-weight: var(--text-label-md-semibold-fontWeight);
6255
+ font-size: var(--text-label-md-semibold-fontSize);
6256
+ line-height: var(--text-label-md-semibold-lineHeight);
6257
+ color: var(--color-text-default-default);
6121
6258
  }
6122
6259
 
6123
- .muka-scrollbar__grip {
6124
- display: flex;
6125
- flex-direction: column;
6126
- gap: 2px;
6127
- width: 14px;
6128
- }
6129
-
6130
- .muka-scrollbar__grip::before,
6131
- .muka-scrollbar__grip::after {
6132
- content: '';
6133
- display: block;
6134
- width: 100%;
6135
- height: 2px;
6136
- border-radius: var(--border-radius-md);
6137
- background-color: var(--color-text-subtle-default);
6138
- }
6139
-
6140
- .muka-scrollbar__spacer {
6141
- flex: 1 1 auto;
6142
- min-height: 0;
6143
- background-color: var(--color-surface-level2);
6144
- }
6145
-
6146
-
6147
- /* RecordingBar */
6148
- /* RecordingBar Component Styles */
6149
-
6150
- .muka-recording-bar {
6151
- display: flex;
6152
- align-items: center;
6153
- gap: var(--spacing-3);
6154
- width: 100%;
6155
- min-width: 0;
6156
- }
6157
-
6158
- .muka-recording-bar__dot {
6159
- flex: 0 0 auto;
6160
- width: 0.625rem;
6161
- height: 0.625rem;
6162
- border-radius: var(--radius-full, 9999px);
6163
- background: var(--alert-color-error-accent, var(--color-text-default-default));
6164
- animation: muka-recording-bar-pulse 1s ease-in-out infinite;
6165
- }
6166
-
6167
- .muka-recording-bar__time {
6168
- flex: 0 0 auto;
6169
- font-size: var(--text-label-sm-fontSize, 0.75rem);
6170
- line-height: var(--text-label-sm-lineHeight, 1);
6171
- font-variant-numeric: tabular-nums;
6172
- color: var(--color-text-default-default);
6173
- }
6174
-
6175
- .muka-recording-bar__wave {
6176
- flex: 1 1 auto;
6177
- min-width: 0;
6178
- }
6179
-
6180
- @keyframes muka-recording-bar-pulse {
6181
- 0%,
6182
- 100% {
6183
- opacity: 1;
6184
- }
6185
- 50% {
6186
- opacity: 0.3;
6187
- }
6188
- }
6189
-
6190
- @media (prefers-reduced-motion: reduce) {
6191
- .muka-recording-bar__dot {
6192
- animation: none;
6193
- }
6194
- }
6195
-
6196
-
6197
- /* RangeSlider */
6198
- /* RangeSlider Component Styles - Using Muka Design Tokens */
6199
-
6200
- .muka-range-slider {
6201
- display: flex;
6202
- flex-direction: column;
6203
- gap: var(--spacing-1);
6204
- width: 100%;
6205
- }
6206
-
6207
- /* ========================================
6208
- HEADER: label group (label + info + optional) and value readout
6209
- ======================================== */
6210
-
6211
- .muka-range-slider__header {
6212
- display: flex;
6213
- align-items: center;
6214
- justify-content: space-between;
6215
- gap: var(--spacing-2);
6216
- min-height: 24px;
6217
- }
6218
-
6219
- .muka-range-slider__label-group {
6220
- display: inline-flex;
6221
- align-items: center;
6222
- gap: var(--spacing-2);
6223
- }
6224
-
6225
- .muka-range-slider__label {
6226
- font-family: var(--text-label-md-semibold-fontFamily);
6227
- font-weight: var(--text-label-md-semibold-fontWeight);
6228
- font-size: var(--text-label-md-semibold-fontSize);
6229
- line-height: var(--text-label-md-semibold-lineHeight);
6230
- color: var(--color-text-default-default);
6231
- }
6232
-
6233
- .muka-range-slider__info {
6234
- color: var(--color-text-subtle-default);
6260
+ .muka-range-slider__info {
6261
+ color: var(--color-text-subtle-default);
6235
6262
  }
6236
6263
 
6237
6264
  .muka-range-slider__optional {
@@ -7566,6 +7593,77 @@ button.muka-progress-tracker__tab:focus-visible {
7566
7593
  }
7567
7594
 
7568
7595
 
7596
+ /* ProfileBadge */
7597
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7598
+
7599
+ .muka-profile-badge {
7600
+ display: inline-flex;
7601
+ align-items: center;
7602
+ font-family: var(--text-body-base-regular-fontFamily);
7603
+ }
7604
+
7605
+ /* Size variants */
7606
+ .muka-profile-badge--lg {
7607
+ gap: var(--spacing-4); /* 16px */
7608
+ }
7609
+
7610
+ .muka-profile-badge--md {
7611
+ gap: var(--spacing-3); /* 12px */
7612
+ }
7613
+
7614
+ .muka-profile-badge__avatar {
7615
+ flex-shrink: 0;
7616
+ }
7617
+
7618
+ /* Text stack */
7619
+ .muka-profile-badge__text {
7620
+ display: flex;
7621
+ flex-direction: column;
7622
+ align-items: flex-start;
7623
+ min-width: 0;
7624
+ }
7625
+
7626
+ .muka-profile-badge__name {
7627
+ font-family: var(--text-body-base-regular-fontFamily);
7628
+ font-size: var(--text-body-base-regular-fontSize);
7629
+ font-weight: var(--text-body-base-regular-fontWeight);
7630
+ line-height: var(--text-body-base-regular-lineHeight);
7631
+ color: var(--color-text-default-default);
7632
+ }
7633
+
7634
+ .muka-profile-badge__email {
7635
+ font-family: var(--text-body-xs-regular-fontFamily);
7636
+ font-size: var(--text-body-xs-regular-fontSize);
7637
+ font-weight: var(--text-body-xs-regular-fontWeight);
7638
+ line-height: var(--text-body-xs-regular-lineHeight);
7639
+ color: var(--color-text-subtle-default);
7640
+ }
7641
+
7642
+ /* Clickable state */
7643
+ .muka-profile-badge--clickable {
7644
+ cursor: pointer;
7645
+ border: none;
7646
+ background: none;
7647
+ padding: 0;
7648
+ text-align: left;
7649
+ border-radius: var(--radius-md);
7650
+ transition: opacity 0.2s ease;
7651
+ }
7652
+
7653
+ .muka-profile-badge--clickable:hover {
7654
+ opacity: 0.9;
7655
+ }
7656
+
7657
+ .muka-profile-badge--clickable:active {
7658
+ opacity: 0.8;
7659
+ }
7660
+
7661
+ .muka-profile-badge--clickable:focus-visible {
7662
+ outline: 2px solid var(--color-border-focus);
7663
+ outline-offset: 2px;
7664
+ }
7665
+
7666
+
7569
7667
  /* Progress */
7570
7668
  /* Progress Component Styles - Using Muka Design Tokens */
7571
7669
 
@@ -7738,77 +7836,6 @@ button.muka-progress-tracker__tab:focus-visible {
7738
7836
  }
7739
7837
 
7740
7838
 
7741
- /* ProfileBadge */
7742
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7743
-
7744
- .muka-profile-badge {
7745
- display: inline-flex;
7746
- align-items: center;
7747
- font-family: var(--text-body-base-regular-fontFamily);
7748
- }
7749
-
7750
- /* Size variants */
7751
- .muka-profile-badge--lg {
7752
- gap: var(--spacing-4); /* 16px */
7753
- }
7754
-
7755
- .muka-profile-badge--md {
7756
- gap: var(--spacing-3); /* 12px */
7757
- }
7758
-
7759
- .muka-profile-badge__avatar {
7760
- flex-shrink: 0;
7761
- }
7762
-
7763
- /* Text stack */
7764
- .muka-profile-badge__text {
7765
- display: flex;
7766
- flex-direction: column;
7767
- align-items: flex-start;
7768
- min-width: 0;
7769
- }
7770
-
7771
- .muka-profile-badge__name {
7772
- font-family: var(--text-body-base-regular-fontFamily);
7773
- font-size: var(--text-body-base-regular-fontSize);
7774
- font-weight: var(--text-body-base-regular-fontWeight);
7775
- line-height: var(--text-body-base-regular-lineHeight);
7776
- color: var(--color-text-default-default);
7777
- }
7778
-
7779
- .muka-profile-badge__email {
7780
- font-family: var(--text-body-xs-regular-fontFamily);
7781
- font-size: var(--text-body-xs-regular-fontSize);
7782
- font-weight: var(--text-body-xs-regular-fontWeight);
7783
- line-height: var(--text-body-xs-regular-lineHeight);
7784
- color: var(--color-text-subtle-default);
7785
- }
7786
-
7787
- /* Clickable state */
7788
- .muka-profile-badge--clickable {
7789
- cursor: pointer;
7790
- border: none;
7791
- background: none;
7792
- padding: 0;
7793
- text-align: left;
7794
- border-radius: var(--radius-md);
7795
- transition: opacity 0.2s ease;
7796
- }
7797
-
7798
- .muka-profile-badge--clickable:hover {
7799
- opacity: 0.9;
7800
- }
7801
-
7802
- .muka-profile-badge--clickable:active {
7803
- opacity: 0.8;
7804
- }
7805
-
7806
- .muka-profile-badge--clickable:focus-visible {
7807
- outline: 2px solid var(--color-border-focus);
7808
- outline-offset: 2px;
7809
- }
7810
-
7811
-
7812
7839
  /* PriceTag */
7813
7840
  /* PriceTag Component Styles - Using Muka Design Tokens */
7814
7841
 
@@ -7937,16 +7964,355 @@ button.muka-progress-tracker__tab:focus-visible {
7937
7964
  }
7938
7965
 
7939
7966
 
7940
- /* PieChart */
7941
- /* PieChart Component Styles - Using Muka Design Tokens */
7967
+ /* PlanningGantt */
7968
+ /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
7942
7969
 
7943
- .muka-piechart {
7944
- display: inline-flex;
7945
- align-items: center;
7946
- gap: var(--spacing-4);
7970
+ .muka-gantt {
7971
+ container-type: inline-size;
7972
+ container-name: muka-gantt;
7973
+ display: flex;
7974
+ flex-direction: column;
7975
+ gap: var(--spacing-3);
7976
+ color: var(--gantt-bar-text);
7977
+ font-family: var(--text-body-sm-regular-fontFamily);
7947
7978
  }
7948
7979
 
7949
- /* Legend layout */
7980
+ /* Toolbar: today + pager on the left, actions on the right */
7981
+ .muka-gantt__toolbar {
7982
+ display: flex;
7983
+ flex-wrap: wrap;
7984
+ align-items: center;
7985
+ justify-content: space-between;
7986
+ gap: var(--spacing-3);
7987
+ }
7988
+
7989
+ .muka-gantt__pager {
7990
+ display: flex;
7991
+ align-items: center;
7992
+ gap: var(--spacing-2);
7993
+ }
7994
+
7995
+ .muka-gantt__pager-group {
7996
+ display: flex;
7997
+ align-items: center;
7998
+ gap: var(--spacing-1);
7999
+ }
8000
+
8001
+ .muka-gantt__week-label {
8002
+ min-width: var(--size-15xl);
8003
+ text-align: center;
8004
+ font-family: var(--text-label-sm-semibold-fontFamily);
8005
+ font-weight: var(--text-label-sm-semibold-fontWeight);
8006
+ font-size: var(--text-label-sm-semibold-fontSize);
8007
+ line-height: var(--text-body-sm-regular-lineHeight);
8008
+ }
8009
+
8010
+ .muka-gantt__actions {
8011
+ display: flex;
8012
+ align-items: center;
8013
+ gap: var(--spacing-2);
8014
+ }
8015
+
8016
+ /* Legend */
8017
+ .muka-gantt__legend {
8018
+ display: flex;
8019
+ flex-wrap: wrap;
8020
+ gap: var(--spacing-2) var(--spacing-4);
8021
+ margin: 0;
8022
+ padding: 0;
8023
+ list-style: none;
8024
+ font-size: var(--text-body-xs-regular-fontSize);
8025
+ line-height: var(--text-body-xs-regular-lineHeight);
8026
+ }
8027
+
8028
+ .muka-gantt__legend-item {
8029
+ display: inline-flex;
8030
+ align-items: center;
8031
+ gap: var(--spacing-2);
8032
+ }
8033
+
8034
+ .muka-gantt__swatch {
8035
+ width: var(--size-sm);
8036
+ height: var(--size-sm);
8037
+ border-radius: var(--alias-radius-sm);
8038
+ border: var(--border-width-regular) solid transparent;
8039
+ box-sizing: border-box;
8040
+ }
8041
+
8042
+ .muka-gantt__swatch--task {
8043
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 14%, var(--gantt-background));
8044
+ border-color: var(--muka-gantt-bar-tone);
8045
+ }
8046
+
8047
+ .muka-gantt__swatch--stelpost {
8048
+ background: var(--gantt-stelpost-background);
8049
+ border: var(--border-width-bold) dashed var(--gantt-stelpost-border);
8050
+ }
8051
+
8052
+ .muka-gantt__swatch--wait {
8053
+ background: repeating-linear-gradient(
8054
+ 135deg,
8055
+ var(--gantt-wait-stripe-a) 0 var(--size-2xs),
8056
+ var(--gantt-wait-stripe-b) var(--size-2xs) var(--size-xs)
8057
+ );
8058
+ border-color: var(--gantt-wait-border);
8059
+ }
8060
+
8061
+ .muka-gantt__swatch--ghost {
8062
+ border: var(--border-width-bold) dashed var(--gantt-ghost-border);
8063
+ }
8064
+
8065
+ /* Table */
8066
+ .muka-gantt__table {
8067
+ background: var(--gantt-background);
8068
+ border: var(--border-width-regular) solid var(--gantt-border);
8069
+ border-radius: var(--alias-radius-lg);
8070
+ overflow: hidden;
8071
+ }
8072
+
8073
+ .muka-gantt__row {
8074
+ display: grid;
8075
+ grid-template-columns: var(--gantt-row-label-width) minmax(0, 1fr);
8076
+ border-bottom: var(--border-width-regular) solid var(--gantt-border);
8077
+ }
8078
+
8079
+ .muka-gantt__row:last-child {
8080
+ border-bottom: 0;
8081
+ }
8082
+
8083
+ .muka-gantt__row--header {
8084
+ background: var(--gantt-header-background);
8085
+ color: var(--gantt-header-foreground);
8086
+ }
8087
+
8088
+ .muka-gantt__label {
8089
+ display: flex;
8090
+ flex-direction: column;
8091
+ justify-content: center;
8092
+ gap: var(--spacing-1);
8093
+ min-width: 0;
8094
+ padding: var(--spacing-2) var(--spacing-4);
8095
+ border-right: var(--border-width-regular) solid var(--gantt-border);
8096
+ }
8097
+
8098
+ .muka-gantt__label--header {
8099
+ font-family: var(--text-label-xs-semibold-fontFamily);
8100
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8101
+ font-size: var(--text-label-xs-semibold-fontSize);
8102
+ }
8103
+
8104
+ .muka-gantt__label-text {
8105
+ font-family: var(--text-body-sm-bold-fontFamily);
8106
+ font-weight: var(--text-body-sm-bold-fontWeight);
8107
+ font-size: var(--text-body-sm-bold-fontSize);
8108
+ line-height: var(--text-body-sm-bold-lineHeight);
8109
+ }
8110
+
8111
+ .muka-gantt__sublabel {
8112
+ color: var(--color-text-subtle-default);
8113
+ font-size: var(--text-body-xs-regular-fontSize);
8114
+ line-height: var(--text-body-xs-regular-lineHeight);
8115
+ }
8116
+
8117
+ .muka-gantt__track {
8118
+ display: grid;
8119
+ grid-template-columns: repeat(var(--muka-gantt-days), minmax(0, 1fr));
8120
+ grid-template-rows: minmax(var(--gantt-row-height), auto);
8121
+ min-width: 0;
8122
+ }
8123
+
8124
+ .muka-gantt__track--header {
8125
+ grid-template-rows: auto;
8126
+ }
8127
+
8128
+ .muka-gantt__day {
8129
+ display: flex;
8130
+ flex-direction: column;
8131
+ gap: var(--spacing-1);
8132
+ padding: var(--spacing-2) var(--spacing-3);
8133
+ border-left: var(--border-width-regular) solid var(--gantt-border);
8134
+ font-family: var(--text-label-xs-semibold-fontFamily);
8135
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8136
+ font-size: var(--text-label-xs-semibold-fontSize);
8137
+ line-height: var(--text-body-xs-regular-lineHeight);
8138
+ }
8139
+
8140
+ .muka-gantt__day:first-child,
8141
+ .muka-gantt__day-cell:first-child {
8142
+ border-left: 0;
8143
+ }
8144
+
8145
+ .muka-gantt__day--today {
8146
+ background: var(--gantt-today-background);
8147
+ box-shadow: inset 0 var(--border-width-bold) 0 var(--gantt-today-indicator);
8148
+ }
8149
+
8150
+ .muka-gantt__day-today {
8151
+ font-family: var(--text-label-xs-bold-fontFamily);
8152
+ font-weight: var(--text-label-xs-bold-fontWeight);
8153
+ }
8154
+
8155
+ .muka-gantt__day-cell {
8156
+ grid-row: 1;
8157
+ border-left: var(--border-width-regular) solid var(--gantt-border);
8158
+ }
8159
+
8160
+
8161
+ .muka-gantt__day-cell--today {
8162
+ background: var(--gantt-today-background);
8163
+ }
8164
+
8165
+ .muka-gantt__empty {
8166
+ grid-column: 1 / -1;
8167
+ padding: var(--spacing-6) var(--spacing-4);
8168
+ text-align: center;
8169
+ color: var(--color-text-subtle-default);
8170
+ }
8171
+
8172
+ /* Bars */
8173
+ .muka-gantt__bar {
8174
+ grid-row: 1;
8175
+ z-index: 1;
8176
+ display: flex;
8177
+ align-items: center;
8178
+ gap: var(--spacing-1);
8179
+ min-width: 0;
8180
+ margin: var(--spacing-2) var(--spacing-1);
8181
+ padding: var(--spacing-1) var(--spacing-2);
8182
+ box-sizing: border-box;
8183
+ border: var(--border-width-regular) solid transparent;
8184
+ border-radius: var(--gantt-bar-radius);
8185
+ color: var(--gantt-bar-text);
8186
+ font: inherit;
8187
+ font-family: var(--text-label-xs-semibold-fontFamily);
8188
+ font-weight: var(--text-label-xs-semibold-fontWeight);
8189
+ font-size: var(--text-label-xs-semibold-fontSize);
8190
+ line-height: var(--text-body-xs-regular-lineHeight);
8191
+ text-align: left;
8192
+ }
8193
+
8194
+ .muka-gantt__bar--tone-blue { --muka-gantt-bar-tone: var(--gantt-tone-blue); }
8195
+ .muka-gantt__bar--tone-teal { --muka-gantt-bar-tone: var(--gantt-tone-teal); }
8196
+ .muka-gantt__bar--tone-purple { --muka-gantt-bar-tone: var(--gantt-tone-purple); }
8197
+ .muka-gantt__bar--tone-green { --muka-gantt-bar-tone: var(--gantt-tone-green); }
8198
+ .muka-gantt__bar--tone-orange { --muka-gantt-bar-tone: var(--gantt-tone-orange); }
8199
+ .muka-gantt__bar--tone-pink { --muka-gantt-bar-tone: var(--gantt-tone-pink); }
8200
+
8201
+ .muka-gantt__bar--task {
8202
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 14%, var(--gantt-background));
8203
+ border-color: var(--muka-gantt-bar-tone);
8204
+ color: color-mix(in srgb, var(--muka-gantt-bar-tone) 45%, var(--gantt-bar-text));
8205
+ }
8206
+
8207
+ .muka-gantt__bar--task.muka-gantt__bar--status-done {
8208
+ background: color-mix(in srgb, var(--muka-gantt-bar-tone) 8%, var(--gantt-background));
8209
+ }
8210
+
8211
+ .muka-gantt__bar--stelpost {
8212
+ background: var(--gantt-stelpost-background);
8213
+ border: var(--border-width-bold) dashed var(--gantt-stelpost-border);
8214
+ }
8215
+
8216
+ .muka-gantt__bar--wait {
8217
+ background: repeating-linear-gradient(
8218
+ 135deg,
8219
+ var(--gantt-wait-stripe-a) 0 var(--size-xs),
8220
+ var(--gantt-wait-stripe-b) var(--size-xs) var(--size-md)
8221
+ );
8222
+ border-color: var(--gantt-wait-border);
8223
+ color: var(--gantt-wait-foreground);
8224
+ }
8225
+
8226
+ .muka-gantt__bar--ghost {
8227
+ z-index: 0;
8228
+ background: transparent;
8229
+ border: var(--border-width-bold) dashed var(--gantt-ghost-border);
8230
+ color: var(--gantt-ghost-border);
8231
+ }
8232
+
8233
+ .muka-gantt__bar--continues-before {
8234
+ margin-left: 0;
8235
+ border-top-left-radius: 0;
8236
+ border-bottom-left-radius: 0;
8237
+ border-left-width: 0;
8238
+ }
8239
+
8240
+ .muka-gantt__bar--continues-after {
8241
+ margin-right: 0;
8242
+ border-top-right-radius: 0;
8243
+ border-bottom-right-radius: 0;
8244
+ border-right-width: 0;
8245
+ }
8246
+
8247
+ .muka-gantt__bar--interactive {
8248
+ cursor: pointer;
8249
+ }
8250
+
8251
+ .muka-gantt__bar--interactive:hover {
8252
+ box-shadow: var(--shadow-level2);
8253
+ }
8254
+
8255
+ .muka-gantt__bar--interactive:focus-visible {
8256
+ outline: var(--border-width-bold) solid var(--color-border-focus);
8257
+ outline-offset: var(--border-width-bold);
8258
+ }
8259
+
8260
+ .muka-gantt__bar-icon {
8261
+ flex: none;
8262
+ }
8263
+
8264
+ .muka-gantt__bar-label {
8265
+ min-width: 0;
8266
+ overflow: hidden;
8267
+ text-overflow: ellipsis;
8268
+ white-space: nowrap;
8269
+ }
8270
+
8271
+ .muka-gantt__bar-badge {
8272
+ flex: none;
8273
+ display: inline-flex;
8274
+ margin-left: auto;
8275
+ }
8276
+
8277
+ /* Narrow containers: the task label sits above its bars */
8278
+ @container muka-gantt (max-width: 40rem) {
8279
+ .muka-gantt__row {
8280
+ grid-template-columns: minmax(0, 1fr);
8281
+ }
8282
+
8283
+ .muka-gantt__label {
8284
+ border-right: 0;
8285
+ padding-bottom: 0;
8286
+ }
8287
+
8288
+ .muka-gantt__label--header {
8289
+ display: none;
8290
+ }
8291
+
8292
+ .muka-gantt__day {
8293
+ padding: var(--spacing-2);
8294
+ }
8295
+
8296
+ .muka-gantt__bar {
8297
+ padding: var(--spacing-1);
8298
+ }
8299
+
8300
+ .muka-gantt__week-label {
8301
+ min-width: 0;
8302
+ }
8303
+ }
8304
+
8305
+
8306
+ /* PieChart */
8307
+ /* PieChart Component Styles - Using Muka Design Tokens */
8308
+
8309
+ .muka-piechart {
8310
+ display: inline-flex;
8311
+ align-items: center;
8312
+ gap: var(--spacing-4);
8313
+ }
8314
+
8315
+ /* Legend layout */
7950
8316
  .muka-piechart--legend-right {
7951
8317
  flex-direction: row;
7952
8318
  }
@@ -10369,6 +10735,28 @@ li.muka-listitem {
10369
10735
  }
10370
10736
 
10371
10737
 
10738
+ /* EmojiPicker */
10739
+ /* EmojiPicker Component Styles */
10740
+
10741
+ .muka-emoji-picker {
10742
+ display: grid;
10743
+ grid-template-columns: repeat(8, 1fr);
10744
+ gap: var(--spacing-1);
10745
+ padding: var(--spacing-2);
10746
+ max-height: 12rem;
10747
+ overflow-y: auto;
10748
+ background: var(--color-surface-level2);
10749
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10750
+ border-radius: var(--radius-lg);
10751
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10752
+ }
10753
+
10754
+ .muka-emoji-picker__glyph {
10755
+ font-size: 1.25rem;
10756
+ line-height: 1;
10757
+ }
10758
+
10759
+
10372
10760
  /* EmptyState */
10373
10761
  /* EmptyState Component Styles - Using Muka Design Tokens */
10374
10762
 
@@ -10510,28 +10898,6 @@ li.muka-listitem {
10510
10898
  }
10511
10899
 
10512
10900
 
10513
- /* EmojiPicker */
10514
- /* EmojiPicker Component Styles */
10515
-
10516
- .muka-emoji-picker {
10517
- display: grid;
10518
- grid-template-columns: repeat(8, 1fr);
10519
- gap: var(--spacing-1);
10520
- padding: var(--spacing-2);
10521
- max-height: 12rem;
10522
- overflow-y: auto;
10523
- background: var(--color-surface-level2);
10524
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10525
- border-radius: var(--radius-lg);
10526
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10527
- }
10528
-
10529
- .muka-emoji-picker__glyph {
10530
- font-size: 1.25rem;
10531
- line-height: 1;
10532
- }
10533
-
10534
-
10535
10901
  /* DropdownSelect */
10536
10902
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10537
10903
 
@@ -11515,13 +11881,89 @@ li.muka-listitem {
11515
11881
  }
11516
11882
 
11517
11883
 
11518
- /* DataTable */
11519
- /* DataTable Component Styles - Using Muka Design Tokens */
11884
+ /* DataPieChart */
11885
+ /* DataPieChart Component Styles - Using Muka Design Tokens */
11520
11886
 
11521
- .muka-data-table-wrapper {
11522
- width: 100%;
11523
- overflow-x: auto;
11524
- -webkit-overflow-scrolling: touch;
11887
+ .muka-data-pie-chart {
11888
+ position: relative;
11889
+ display: inline-flex;
11890
+ align-items: center;
11891
+ justify-content: center;
11892
+ flex-shrink: 0;
11893
+ }
11894
+
11895
+ .muka-data-pie-chart__svg {
11896
+ display: block;
11897
+ width: 100%;
11898
+ height: 100%;
11899
+ /* Start the segment at 12 o'clock instead of 3 o'clock */
11900
+ transform: rotate(-90deg);
11901
+ }
11902
+
11903
+ .muka-data-pie-chart__track {
11904
+ fill: none;
11905
+ }
11906
+
11907
+ .muka-data-pie-chart__segment {
11908
+ fill: none;
11909
+ /* Subtle lift on the filled segment, matching the Figma elevation */
11910
+ filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
11911
+ /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
11912
+ stroke-linecap: butt;
11913
+ /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
11914
+ transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
11915
+ }
11916
+
11917
+ /* ─── Indeterminate (spinner) ─────────────────────────── */
11918
+ /* A masked ring filled with an angular (conic) gradient that rotates. The mask
11919
+ band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
11920
+ it swaps seamlessly with the value-based progress donut. */
11921
+ .muka-data-pie-chart__spinner-track,
11922
+ .muka-data-pie-chart__spinner {
11923
+ position: absolute;
11924
+ inset: 0;
11925
+ border-radius: 50%;
11926
+ -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11927
+ mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
11928
+ }
11929
+
11930
+ .muka-data-pie-chart__spinner {
11931
+ animation: muka-data-pie-chart-spin 0.9s linear infinite;
11932
+ }
11933
+
11934
+ @keyframes muka-data-pie-chart-spin {
11935
+ to {
11936
+ transform: rotate(360deg);
11937
+ }
11938
+ }
11939
+
11940
+ @media (prefers-reduced-motion: reduce) {
11941
+ .muka-data-pie-chart__spinner {
11942
+ animation-duration: 2.5s;
11943
+ }
11944
+ }
11945
+
11946
+ .muka-data-pie-chart__value {
11947
+ position: absolute;
11948
+ inset: 0;
11949
+ display: flex;
11950
+ align-items: center;
11951
+ justify-content: center;
11952
+ font-family: var(--text-body-base-bold-fontFamily);
11953
+ font-weight: var(--text-body-base-bold-fontWeight);
11954
+ font-size: var(--text-body-base-bold-fontSize);
11955
+ line-height: var(--text-body-base-bold-lineHeight);
11956
+ color: var(--color-text-default-default);
11957
+ }
11958
+
11959
+
11960
+ /* DataTable */
11961
+ /* DataTable Component Styles - Using Muka Design Tokens */
11962
+
11963
+ .muka-data-table-wrapper {
11964
+ width: 100%;
11965
+ overflow-x: auto;
11966
+ -webkit-overflow-scrolling: touch;
11525
11967
  }
11526
11968
 
11527
11969
  .muka-data-table {
@@ -12008,82 +12450,6 @@ li.muka-listitem {
12008
12450
  }
12009
12451
 
12010
12452
 
12011
- /* DataPieChart */
12012
- /* DataPieChart Component Styles - Using Muka Design Tokens */
12013
-
12014
- .muka-data-pie-chart {
12015
- position: relative;
12016
- display: inline-flex;
12017
- align-items: center;
12018
- justify-content: center;
12019
- flex-shrink: 0;
12020
- }
12021
-
12022
- .muka-data-pie-chart__svg {
12023
- display: block;
12024
- width: 100%;
12025
- height: 100%;
12026
- /* Start the segment at 12 o'clock instead of 3 o'clock */
12027
- transform: rotate(-90deg);
12028
- }
12029
-
12030
- .muka-data-pie-chart__track {
12031
- fill: none;
12032
- }
12033
-
12034
- .muka-data-pie-chart__segment {
12035
- fill: none;
12036
- /* Subtle lift on the filled segment, matching the Figma elevation */
12037
- filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
12038
- /* Butt caps keep the always-rendered 0% arc invisible (round caps would draw a dot) */
12039
- stroke-linecap: butt;
12040
- /* view duration (300ms) reads at the 24px size; tokens zero it for reduced motion */
12041
- transition: stroke-dasharray var(--motion-duration-view) var(--motion-easing-default);
12042
- }
12043
-
12044
- /* ─── Indeterminate (spinner) ─────────────────────────── */
12045
- /* A masked ring filled with an angular (conic) gradient that rotates. The mask
12046
- band matches the donut geometry (r=40, strokeWidth=16 → 64%–96% of radius) so
12047
- it swaps seamlessly with the value-based progress donut. */
12048
- .muka-data-pie-chart__spinner-track,
12049
- .muka-data-pie-chart__spinner {
12050
- position: absolute;
12051
- inset: 0;
12052
- border-radius: 50%;
12053
- -webkit-mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12054
- mask: radial-gradient(farthest-side, transparent 63%, #000 65%, #000 95%, transparent 97%);
12055
- }
12056
-
12057
- .muka-data-pie-chart__spinner {
12058
- animation: muka-data-pie-chart-spin 0.9s linear infinite;
12059
- }
12060
-
12061
- @keyframes muka-data-pie-chart-spin {
12062
- to {
12063
- transform: rotate(360deg);
12064
- }
12065
- }
12066
-
12067
- @media (prefers-reduced-motion: reduce) {
12068
- .muka-data-pie-chart__spinner {
12069
- animation-duration: 2.5s;
12070
- }
12071
- }
12072
-
12073
- .muka-data-pie-chart__value {
12074
- position: absolute;
12075
- inset: 0;
12076
- display: flex;
12077
- align-items: center;
12078
- justify-content: center;
12079
- font-family: var(--text-body-base-bold-fontFamily);
12080
- font-weight: var(--text-body-base-bold-fontWeight);
12081
- font-size: var(--text-body-base-bold-fontSize);
12082
- line-height: var(--text-body-base-bold-lineHeight);
12083
- color: var(--color-text-default-default);
12084
- }
12085
-
12086
-
12087
12453
  /* ContextSelect */
12088
12454
  /* ContextSelect — split label (navigate) + chevron menu button (switch)
12089
12455
  *
@@ -12204,310 +12570,86 @@ li.muka-listitem {
12204
12570
  }
12205
12571
 
12206
12572
 
12207
- /* Container */
12208
- /* Container Component - Layout tokens (container.max-width, container.gap) */
12573
+ /* Chip */
12574
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12209
12575
 
12210
- .muka-container {
12576
+ .muka-chip {
12577
+ display: inline-flex;
12578
+ align-items: center;
12579
+ border-radius: var(--border-radius-full);
12580
+ white-space: nowrap;
12581
+ user-select: none;
12582
+ border: var(--border-width-regular) solid transparent;
12211
12583
  box-sizing: border-box;
12212
- width: 100%;
12213
- margin-inline: auto;
12214
12584
  }
12215
12585
 
12216
- /* Max-width variants */
12217
- .muka-container--max-width-small {
12218
- max-width: var(--container-max-width-small);
12586
+ /*
12587
+ * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12588
+ * Vertical centering is handled by the fixed height + align-items: center.
12589
+ * The side that carries an adornment (leading icon / dismiss button) gets a
12590
+ * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12591
+ */
12592
+ .muka-chip--sm {
12593
+ height: var(--chip-size-height-sm);
12594
+ gap: var(--chip-gap-sm);
12595
+ padding: 0 var(--chip-padding-label-sm);
12596
+ font-family: var(--text-label-sm-regular-fontFamily);
12597
+ font-weight: var(--text-label-sm-regular-fontWeight);
12598
+ font-size: var(--text-label-sm-regular-fontSize);
12599
+ line-height: var(--text-label-sm-regular-lineHeight);
12219
12600
  }
12220
12601
 
12221
- .muka-container--max-width-medium {
12222
- max-width: var(--container-max-width-medium);
12602
+ .muka-chip--md {
12603
+ height: var(--chip-size-height-md);
12604
+ gap: var(--chip-gap-md);
12605
+ padding: 0 var(--chip-padding-label-md);
12606
+ font-family: var(--text-label-md-regular-fontFamily);
12607
+ font-weight: var(--text-label-md-regular-fontWeight);
12608
+ font-size: var(--text-label-md-regular-fontSize);
12609
+ line-height: var(--text-label-md-regular-lineHeight);
12223
12610
  }
12224
12611
 
12225
- .muka-container--max-width-large {
12226
- max-width: var(--container-max-width-large);
12612
+ .muka-chip--lg {
12613
+ height: var(--chip-size-height-lg);
12614
+ gap: var(--chip-gap-lg);
12615
+ padding: 0 var(--chip-padding-label-lg);
12616
+ font-family: var(--text-label-lg-regular-fontFamily);
12617
+ font-weight: var(--text-label-lg-regular-fontWeight);
12618
+ font-size: var(--text-label-lg-regular-fontSize);
12619
+ line-height: var(--text-label-lg-regular-lineHeight);
12227
12620
  }
12228
12621
 
12229
- .muka-container--max-width-xlarge {
12230
- max-width: var(--container-max-width-xlarge);
12622
+ /* Tighter leading padding when a leading icon is present */
12623
+ .muka-chip--sm.muka-chip--has-icon {
12624
+ padding-left: var(--chip-padding-leading-sm);
12231
12625
  }
12232
-
12233
- /* No gap — max-width only, no flex */
12234
- .muka-container--gap-none {
12235
- /* block layout by default */
12626
+ .muka-chip--md.muka-chip--has-icon {
12627
+ padding-left: var(--chip-padding-leading-md);
12236
12628
  }
12237
-
12238
- /* Gap variants — flex column with token gap */
12239
- .muka-container--gap-compact {
12240
- display: flex;
12241
- flex-direction: column;
12242
- gap: var(--container-gap-compact);
12629
+ .muka-chip--lg.muka-chip--has-icon {
12630
+ padding-left: var(--chip-padding-leading-lg);
12243
12631
  }
12244
12632
 
12245
- .muka-container--gap-default {
12246
- display: flex;
12247
- flex-direction: column;
12248
- gap: var(--container-gap-default);
12633
+ /* Tighter trailing padding when the dismiss button is present */
12634
+ .muka-chip--sm.muka-chip--dismissible,
12635
+ .muka-chip--sm.muka-chip--expandable {
12636
+ padding-right: var(--chip-padding-trailing-sm);
12249
12637
  }
12250
-
12251
- .muka-container--gap-spacious {
12252
- display: flex;
12253
- flex-direction: column;
12254
- gap: var(--container-gap-spacious);
12638
+ .muka-chip--md.muka-chip--dismissible,
12639
+ .muka-chip--md.muka-chip--expandable {
12640
+ padding-right: var(--chip-padding-trailing-md);
12641
+ }
12642
+ .muka-chip--lg.muka-chip--dismissible,
12643
+ .muka-chip--lg.muka-chip--expandable {
12644
+ padding-right: var(--chip-padding-trailing-lg);
12255
12645
  }
12256
12646
 
12257
-
12258
- /* Combobox */
12259
- /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
12260
-
12261
- .muka-combobox {
12647
+ /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12648
+ .muka-chip__icon {
12262
12649
  display: inline-flex;
12263
- flex-direction: column;
12264
- gap: var(--spacing-2);
12265
- min-width: 200px;
12266
- }
12267
-
12268
- .muka-combobox--full-width {
12269
- width: 100%;
12270
- }
12271
-
12272
- .muka-combobox__label {
12273
- color: var(--color-text-default-default);
12274
- cursor: pointer;
12275
- }
12276
-
12277
- .muka-combobox__label--sm {
12278
- font-family: var(--text-label-sm-semibold-fontFamily);
12279
- font-weight: var(--text-label-sm-semibold-fontWeight);
12280
- font-size: var(--text-label-sm-semibold-fontSize);
12281
- line-height: var(--text-label-sm-semibold-lineHeight);
12282
- }
12283
-
12284
- .muka-combobox__label--md {
12285
- font-family: var(--text-label-md-semibold-fontFamily);
12286
- font-weight: var(--text-label-md-semibold-fontWeight);
12287
- font-size: var(--text-label-md-semibold-fontSize);
12288
- line-height: var(--text-label-md-semibold-lineHeight);
12289
- }
12290
-
12291
- .muka-combobox__label--lg {
12292
- font-family: var(--text-label-lg-semibold-fontFamily);
12293
- font-weight: var(--text-label-lg-semibold-fontWeight);
12294
- font-size: var(--text-label-lg-semibold-fontSize);
12295
- line-height: var(--text-label-lg-semibold-lineHeight);
12296
- }
12297
-
12298
- .muka-combobox__field {
12299
- display: flex;
12300
- align-items: center;
12301
- width: 100%;
12302
- position: relative;
12303
- isolation: isolate;
12304
- box-sizing: border-box;
12305
- background-color: var(--input-field-color-default-background);
12306
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12307
- border-radius: var(--input-field-radius-lg);
12308
- padding: var(--spacing-2);
12309
- cursor: text;
12310
- transition: border-color 0.12s ease, background-color 0.12s ease;
12311
- }
12312
-
12313
- .muka-combobox__field::after {
12314
- content: '';
12315
- position: absolute;
12316
- inset: 0;
12317
- border-radius: inherit;
12318
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
12319
- pointer-events: none;
12320
- }
12321
-
12322
- .muka-combobox__field--sm {
12323
- min-height: var(--input-field-height-sm);
12324
- border-radius: var(--input-field-radius-sm);
12325
- }
12326
-
12327
- .muka-combobox__field--md {
12328
- min-height: var(--input-field-height-default);
12329
- border-radius: var(--input-field-radius-md);
12330
- }
12331
-
12332
- .muka-combobox__field--lg {
12333
- min-height: var(--input-field-height-lg);
12334
- border-radius: var(--input-field-radius-lg);
12335
- }
12336
-
12337
- .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
12338
- border-width: var(--border-width-bold);
12339
- border-color: var(--input-field-color-focus-border);
12340
- background-color: var(--input-field-color-focus-background);
12341
- padding: calc(var(--spacing-2) - 1px);
12342
- }
12343
-
12344
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12345
- border-color: var(--color-state-error-contrast);
12346
- }
12347
-
12348
- .muka-combobox__field--disabled {
12349
- opacity: 0.5;
12350
- cursor: not-allowed;
12351
- }
12352
-
12353
- .muka-combobox__field--multiline {
12354
- align-items: flex-start;
12355
- min-height: 7rem;
12356
- }
12357
-
12358
- .muka-combobox__chips {
12359
- display: flex;
12360
- flex: 1 1 auto;
12361
- flex-wrap: wrap;
12362
- gap: var(--spacing-2);
12363
- align-items: center;
12364
- min-width: 0;
12365
- width: 100%;
12366
- position: relative;
12367
- z-index: 1;
12368
- }
12369
-
12370
- .muka-combobox__input {
12371
- flex: 1 1 5rem;
12372
- min-width: 5rem;
12373
- min-height: 2rem;
12374
- margin: 0;
12375
- padding: 0 var(--spacing-1);
12376
- border: none;
12377
- outline: none;
12378
- background: transparent;
12379
- color: var(--input-field-color-default-foreground);
12380
- caret-color: var(--input-field-color-default-foreground);
12381
- font-family: var(--text-label-md-regular-fontFamily);
12382
- font-size: var(--text-label-md-regular-fontSize);
12383
- font-weight: var(--text-label-md-regular-fontWeight);
12384
- line-height: var(--text-label-md-regular-lineHeight);
12385
- }
12386
-
12387
- .muka-combobox__input::placeholder {
12388
- color: var(--color-text-subtle-default);
12389
- }
12390
-
12391
- .muka-combobox__helper {
12392
- margin: 0;
12393
- color: var(--color-text-subtle-default);
12394
- font-family: var(--text-label-sm-regular-fontFamily);
12395
- font-size: var(--text-label-sm-regular-fontSize);
12396
- font-weight: var(--text-label-sm-regular-fontWeight);
12397
- line-height: var(--text-label-sm-regular-lineHeight);
12398
- }
12399
-
12400
- .muka-combobox__error {
12401
- margin: 0;
12402
- color: var(--color-state-error-default);
12403
- font-family: var(--text-label-sm-regular-fontFamily);
12404
- font-size: var(--text-label-sm-regular-fontSize);
12405
- font-weight: var(--text-label-sm-regular-fontWeight);
12406
- line-height: var(--text-label-sm-regular-lineHeight);
12407
- }
12408
-
12409
- .muka-combobox__menu-anchor {
12410
- position: absolute;
12411
- inset: 0;
12412
- z-index: 0;
12413
- width: 100%;
12414
- height: 100%;
12415
- margin: 0;
12416
- padding: 0;
12417
- border: none;
12418
- background: transparent;
12419
- pointer-events: none;
12420
- opacity: 0;
12421
- }
12422
-
12423
- .muka-combobox__menu {
12424
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12425
- min-width: var(--menu-content-min-width);
12426
- width: max-content;
12427
- max-width: min(100vw - 2rem, 24rem);
12428
- }
12429
-
12430
-
12431
- /* Chip */
12432
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
12433
-
12434
- .muka-chip {
12435
- display: inline-flex;
12436
- align-items: center;
12437
- border-radius: var(--border-radius-full);
12438
- white-space: nowrap;
12439
- user-select: none;
12440
- border: var(--border-width-regular) solid transparent;
12441
- box-sizing: border-box;
12442
- }
12443
-
12444
- /*
12445
- * Sizes — height, gap, type, and default (label-edge) horizontal padding.
12446
- * Vertical centering is handled by the fixed height + align-items: center.
12447
- * The side that carries an adornment (leading icon / dismiss button) gets a
12448
- * tighter padding, applied via the --has-icon / --dismissible modifiers below.
12449
- */
12450
- .muka-chip--sm {
12451
- height: var(--chip-size-height-sm);
12452
- gap: var(--chip-gap-sm);
12453
- padding: 0 var(--chip-padding-label-sm);
12454
- font-family: var(--text-label-sm-regular-fontFamily);
12455
- font-weight: var(--text-label-sm-regular-fontWeight);
12456
- font-size: var(--text-label-sm-regular-fontSize);
12457
- line-height: var(--text-label-sm-regular-lineHeight);
12458
- }
12459
-
12460
- .muka-chip--md {
12461
- height: var(--chip-size-height-md);
12462
- gap: var(--chip-gap-md);
12463
- padding: 0 var(--chip-padding-label-md);
12464
- font-family: var(--text-label-md-regular-fontFamily);
12465
- font-weight: var(--text-label-md-regular-fontWeight);
12466
- font-size: var(--text-label-md-regular-fontSize);
12467
- line-height: var(--text-label-md-regular-lineHeight);
12468
- }
12469
-
12470
- .muka-chip--lg {
12471
- height: var(--chip-size-height-lg);
12472
- gap: var(--chip-gap-lg);
12473
- padding: 0 var(--chip-padding-label-lg);
12474
- font-family: var(--text-label-lg-regular-fontFamily);
12475
- font-weight: var(--text-label-lg-regular-fontWeight);
12476
- font-size: var(--text-label-lg-regular-fontSize);
12477
- line-height: var(--text-label-lg-regular-lineHeight);
12478
- }
12479
-
12480
- /* Tighter leading padding when a leading icon is present */
12481
- .muka-chip--sm.muka-chip--has-icon {
12482
- padding-left: var(--chip-padding-leading-sm);
12483
- }
12484
- .muka-chip--md.muka-chip--has-icon {
12485
- padding-left: var(--chip-padding-leading-md);
12486
- }
12487
- .muka-chip--lg.muka-chip--has-icon {
12488
- padding-left: var(--chip-padding-leading-lg);
12489
- }
12490
-
12491
- /* Tighter trailing padding when the dismiss button is present */
12492
- .muka-chip--sm.muka-chip--dismissible,
12493
- .muka-chip--sm.muka-chip--expandable {
12494
- padding-right: var(--chip-padding-trailing-sm);
12495
- }
12496
- .muka-chip--md.muka-chip--dismissible,
12497
- .muka-chip--md.muka-chip--expandable {
12498
- padding-right: var(--chip-padding-trailing-md);
12499
- }
12500
- .muka-chip--lg.muka-chip--dismissible,
12501
- .muka-chip--lg.muka-chip--expandable {
12502
- padding-right: var(--chip-padding-trailing-lg);
12503
- }
12504
-
12505
- /* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
12506
- .muka-chip__icon {
12507
- display: inline-flex;
12508
- align-items: center;
12509
- justify-content: center;
12510
- flex-shrink: 0;
12650
+ align-items: center;
12651
+ justify-content: center;
12652
+ flex-shrink: 0;
12511
12653
  }
12512
12654
 
12513
12655
  .muka-chip--sm .muka-chip__icon {
@@ -12796,94 +12938,440 @@ li.muka-listitem {
12796
12938
  color: var(--color-text-default-default);
12797
12939
  }
12798
12940
 
12799
- .muka-checkbox-tile__icon svg {
12800
- width: 100%;
12801
- height: 100%;
12941
+ .muka-checkbox-tile__icon svg {
12942
+ width: 100%;
12943
+ height: 100%;
12944
+ }
12945
+
12946
+ /* Image */
12947
+ .muka-checkbox-tile__image {
12948
+ flex-shrink: 0;
12949
+ overflow: hidden;
12950
+ border-radius: var(--border-radius-sm);
12951
+ }
12952
+
12953
+ .muka-checkbox-tile__image img {
12954
+ display: block;
12955
+ width: 100%;
12956
+ height: 100%;
12957
+ object-fit: cover;
12958
+ }
12959
+
12960
+ /* Horizontal image sizing */
12961
+ .muka-checkbox-tile__image--horizontal {
12962
+ width: 40px;
12963
+ height: 40px;
12964
+ }
12965
+
12966
+ /* Vertical image sizing */
12967
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12968
+ width: 100%;
12969
+ aspect-ratio: 4/3;
12970
+ }
12971
+
12972
+ /* Content container */
12973
+ .muka-checkbox-tile__content {
12974
+ display: flex;
12975
+ flex-direction: column;
12976
+ flex: 1;
12977
+ min-width: 0;
12978
+ gap: var(--spacing-2);
12979
+ }
12980
+
12981
+ .muka-checkbox-tile__content-inner {
12982
+ display: flex;
12983
+ flex-direction: column;
12984
+ gap: var(--spacing-1);
12985
+ }
12986
+
12987
+ /* Chip slot (replaces badge; use Chip component) */
12988
+ .muka-checkbox-tile__chip {
12989
+ flex-shrink: 0;
12990
+ }
12991
+
12992
+ .muka-checkbox-tile__chip--vertical {
12993
+ margin-top: var(--spacing-1);
12994
+ }
12995
+
12996
+ /* Label */
12997
+ .muka-checkbox-tile__label {
12998
+ font-family: var(--text-body-lg-regular-fontFamily);
12999
+ font-weight: var(--text-body-lg-regular-fontWeight);
13000
+ font-size: var(--text-body-lg-regular-fontSize);
13001
+ line-height: var(--text-body-lg-regular-lineHeight);
13002
+ color: var(--color-text-default-default);
13003
+ }
13004
+
13005
+ .muka-checkbox-tile__label--bold {
13006
+ font-family: var(--text-label-lg-semibold-fontFamily);
13007
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13008
+ font-size: var(--text-label-lg-semibold-fontSize);
13009
+ line-height: var(--text-label-lg-semibold-lineHeight);
13010
+ }
13011
+
13012
+ .muka-checkbox-tile__label--center {
13013
+ text-align: center;
13014
+ }
13015
+
13016
+ /* Caption */
13017
+ .muka-checkbox-tile__caption {
13018
+ font-family: var(--text-body-base-regular-fontFamily);
13019
+ font-weight: var(--text-body-base-regular-fontWeight);
13020
+ font-size: var(--text-body-base-regular-fontSize);
13021
+ line-height: var(--text-body-base-regular-lineHeight);
13022
+ color: var(--color-text-subtle-default);
13023
+ }
13024
+
13025
+ /* Disabled states */
13026
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
13027
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
13028
+ color: var(--color-text-subtle-default);
13029
+ }
13030
+
13031
+
13032
+ /* Container */
13033
+ /* Container Component - Layout tokens (container.max-width, container.gap) */
13034
+
13035
+ .muka-container {
13036
+ box-sizing: border-box;
13037
+ width: 100%;
13038
+ margin-inline: auto;
13039
+ }
13040
+
13041
+ /* Max-width variants */
13042
+ .muka-container--max-width-small {
13043
+ max-width: var(--container-max-width-small);
13044
+ }
13045
+
13046
+ .muka-container--max-width-medium {
13047
+ max-width: var(--container-max-width-medium);
13048
+ }
13049
+
13050
+ .muka-container--max-width-large {
13051
+ max-width: var(--container-max-width-large);
13052
+ }
13053
+
13054
+ .muka-container--max-width-xlarge {
13055
+ max-width: var(--container-max-width-xlarge);
13056
+ }
13057
+
13058
+ /* No gap — max-width only, no flex */
13059
+ .muka-container--gap-none {
13060
+ /* block layout by default */
13061
+ }
13062
+
13063
+ /* Gap variants — flex column with token gap */
13064
+ .muka-container--gap-compact {
13065
+ display: flex;
13066
+ flex-direction: column;
13067
+ gap: var(--container-gap-compact);
13068
+ }
13069
+
13070
+ .muka-container--gap-default {
13071
+ display: flex;
13072
+ flex-direction: column;
13073
+ gap: var(--container-gap-default);
13074
+ }
13075
+
13076
+ .muka-container--gap-spacious {
13077
+ display: flex;
13078
+ flex-direction: column;
13079
+ gap: var(--container-gap-spacious);
13080
+ }
13081
+
13082
+
13083
+ /* Combobox */
13084
+ /* Combobox — Figma Input Combobox (free-input chips + suggestion Menu) */
13085
+
13086
+ .muka-combobox {
13087
+ display: inline-flex;
13088
+ flex-direction: column;
13089
+ gap: var(--spacing-2);
13090
+ min-width: 200px;
13091
+ }
13092
+
13093
+ .muka-combobox--full-width {
13094
+ width: 100%;
13095
+ }
13096
+
13097
+ .muka-combobox__label {
13098
+ color: var(--color-text-default-default);
13099
+ cursor: pointer;
13100
+ }
13101
+
13102
+ .muka-combobox__label--sm {
13103
+ font-family: var(--text-label-sm-semibold-fontFamily);
13104
+ font-weight: var(--text-label-sm-semibold-fontWeight);
13105
+ font-size: var(--text-label-sm-semibold-fontSize);
13106
+ line-height: var(--text-label-sm-semibold-lineHeight);
13107
+ }
13108
+
13109
+ .muka-combobox__label--md {
13110
+ font-family: var(--text-label-md-semibold-fontFamily);
13111
+ font-weight: var(--text-label-md-semibold-fontWeight);
13112
+ font-size: var(--text-label-md-semibold-fontSize);
13113
+ line-height: var(--text-label-md-semibold-lineHeight);
13114
+ }
13115
+
13116
+ .muka-combobox__label--lg {
13117
+ font-family: var(--text-label-lg-semibold-fontFamily);
13118
+ font-weight: var(--text-label-lg-semibold-fontWeight);
13119
+ font-size: var(--text-label-lg-semibold-fontSize);
13120
+ line-height: var(--text-label-lg-semibold-lineHeight);
13121
+ }
13122
+
13123
+ .muka-combobox__field {
13124
+ display: flex;
13125
+ align-items: center;
13126
+ width: 100%;
13127
+ position: relative;
13128
+ isolation: isolate;
13129
+ box-sizing: border-box;
13130
+ background-color: var(--input-field-color-default-background);
13131
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
13132
+ border-radius: var(--input-field-radius-lg);
13133
+ padding: var(--spacing-2);
13134
+ cursor: text;
13135
+ transition: border-color 0.12s ease, background-color 0.12s ease;
13136
+ }
13137
+
13138
+ .muka-combobox__field::after {
13139
+ content: '';
13140
+ position: absolute;
13141
+ inset: 0;
13142
+ border-radius: inherit;
13143
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
13144
+ pointer-events: none;
13145
+ }
13146
+
13147
+ .muka-combobox__field--sm {
13148
+ min-height: var(--input-field-height-sm);
13149
+ border-radius: var(--input-field-radius-sm);
13150
+ }
13151
+
13152
+ .muka-combobox__field--md {
13153
+ min-height: var(--input-field-height-default);
13154
+ border-radius: var(--input-field-radius-md);
13155
+ }
13156
+
13157
+ .muka-combobox__field--lg {
13158
+ min-height: var(--input-field-height-lg);
13159
+ border-radius: var(--input-field-radius-lg);
13160
+ }
13161
+
13162
+ .muka-combobox__field--focused:not(.muka-combobox__field--disabled) {
13163
+ border-width: var(--border-width-bold);
13164
+ border-color: var(--input-field-color-focus-border);
13165
+ background-color: var(--input-field-color-focus-background);
13166
+ padding: calc(var(--spacing-2) - 1px);
13167
+ }
13168
+
13169
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
13170
+ border-color: var(--color-state-error-contrast);
13171
+ }
13172
+
13173
+ .muka-combobox__field--disabled {
13174
+ opacity: 0.5;
13175
+ cursor: not-allowed;
13176
+ }
13177
+
13178
+ .muka-combobox__field--multiline {
13179
+ align-items: flex-start;
13180
+ min-height: 7rem;
13181
+ }
13182
+
13183
+ .muka-combobox__chips {
13184
+ display: flex;
13185
+ flex: 1 1 auto;
13186
+ flex-wrap: wrap;
13187
+ gap: var(--spacing-2);
13188
+ align-items: center;
13189
+ min-width: 0;
13190
+ width: 100%;
13191
+ position: relative;
13192
+ z-index: 1;
13193
+ }
13194
+
13195
+ .muka-combobox__input {
13196
+ flex: 1 1 5rem;
13197
+ min-width: 5rem;
13198
+ min-height: 2rem;
13199
+ margin: 0;
13200
+ padding: 0 var(--spacing-1);
13201
+ border: none;
13202
+ outline: none;
13203
+ background: transparent;
13204
+ color: var(--input-field-color-default-foreground);
13205
+ caret-color: var(--input-field-color-default-foreground);
13206
+ font-family: var(--text-label-md-regular-fontFamily);
13207
+ font-size: var(--text-label-md-regular-fontSize);
13208
+ font-weight: var(--text-label-md-regular-fontWeight);
13209
+ line-height: var(--text-label-md-regular-lineHeight);
13210
+ }
13211
+
13212
+ .muka-combobox__input::placeholder {
13213
+ color: var(--color-text-subtle-default);
13214
+ }
13215
+
13216
+ .muka-combobox__helper {
13217
+ margin: 0;
13218
+ color: var(--color-text-subtle-default);
13219
+ font-family: var(--text-label-sm-regular-fontFamily);
13220
+ font-size: var(--text-label-sm-regular-fontSize);
13221
+ font-weight: var(--text-label-sm-regular-fontWeight);
13222
+ line-height: var(--text-label-sm-regular-lineHeight);
13223
+ }
13224
+
13225
+ .muka-combobox__error {
13226
+ margin: 0;
13227
+ color: var(--color-state-error-default);
13228
+ font-family: var(--text-label-sm-regular-fontFamily);
13229
+ font-size: var(--text-label-sm-regular-fontSize);
13230
+ font-weight: var(--text-label-sm-regular-fontWeight);
13231
+ line-height: var(--text-label-sm-regular-lineHeight);
13232
+ }
13233
+
13234
+ .muka-combobox__menu-anchor {
13235
+ position: absolute;
13236
+ inset: 0;
13237
+ z-index: 0;
13238
+ width: 100%;
13239
+ height: 100%;
13240
+ margin: 0;
13241
+ padding: 0;
13242
+ border: none;
13243
+ background: transparent;
13244
+ pointer-events: none;
13245
+ opacity: 0;
13246
+ }
13247
+
13248
+ .muka-combobox__menu {
13249
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
13250
+ min-width: var(--menu-content-min-width);
13251
+ width: max-content;
13252
+ max-width: min(100vw - 2rem, 24rem);
13253
+ }
13254
+
13255
+
13256
+ /* ChatPhotoGrid */
13257
+ /* ChatPhotoGrid Component Styles */
13258
+
13259
+ /*
13260
+ * The grid clips to its own radius and the tiles stay square, so only the four
13261
+ * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13262
+ */
13263
+ .muka-chat-photo-grid {
13264
+ display: grid;
13265
+ gap: var(--chatphotogrid-gap);
13266
+ width: 100%;
13267
+ min-width: 0;
13268
+ overflow: hidden;
13269
+ border-radius: var(--chatphotogrid-radius);
13270
+ }
13271
+
13272
+ /* ─── Tiles ────────────────────────────────────────────── */
13273
+
13274
+ .muka-chat-photo-grid__tile {
13275
+ position: relative;
13276
+ display: block;
13277
+ overflow: hidden;
13278
+ min-width: 0;
13279
+ padding: 0;
13280
+ margin: 0;
13281
+ border: none;
13282
+ background-color: var(--chatphotogrid-color-placeholder);
13283
+ aspect-ratio: 1 / 1;
13284
+ }
13285
+
13286
+ button.muka-chat-photo-grid__tile {
13287
+ cursor: pointer;
13288
+ appearance: none;
12802
13289
  }
12803
13290
 
12804
- /* Image */
12805
- .muka-checkbox-tile__image {
12806
- flex-shrink: 0;
12807
- overflow: hidden;
12808
- border-radius: var(--border-radius-sm);
13291
+ button.muka-chat-photo-grid__tile:focus-visible {
13292
+ outline: var(--border-width-bold) solid var(--color-border-focus);
13293
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13294
+ outline-offset: calc(-1 * var(--border-width-bold));
12809
13295
  }
12810
13296
 
12811
- .muka-checkbox-tile__image img {
13297
+ .muka-chat-photo-grid__image {
12812
13298
  display: block;
12813
13299
  width: 100%;
12814
13300
  height: 100%;
12815
13301
  object-fit: cover;
12816
13302
  }
12817
13303
 
12818
- /* Horizontal image sizing */
12819
- .muka-checkbox-tile__image--horizontal {
12820
- width: 40px;
12821
- height: 40px;
13304
+ /* ─── Overflow tile ────────────────────────────────────── */
13305
+
13306
+ .muka-chat-photo-grid__overflow {
13307
+ position: absolute;
13308
+ inset: 0;
13309
+ display: flex;
13310
+ align-items: center;
13311
+ justify-content: center;
13312
+ background-color: var(--chatphotogrid-color-overflow-background);
13313
+ color: var(--chatphotogrid-color-overflow-foreground);
13314
+ font-family: var(--text-body-2xl-regular-fontFamily);
13315
+ font-weight: var(--text-body-2xl-regular-fontWeight);
13316
+ font-size: var(--text-body-2xl-regular-fontSize);
13317
+ line-height: var(--text-body-2xl-regular-lineHeight);
12822
13318
  }
12823
13319
 
12824
- /* Vertical image sizing */
12825
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12826
- width: 100%;
12827
- aspect-ratio: 4/3;
13320
+ /* ─── Layouts ──────────────────────────────────────────── */
13321
+
13322
+ .muka-chat-photo-grid--1 {
13323
+ grid-template-columns: 1fr;
12828
13324
  }
12829
13325
 
12830
- /* Content container */
12831
- .muka-checkbox-tile__content {
12832
- display: flex;
12833
- flex-direction: column;
12834
- flex: 1;
12835
- min-width: 0;
12836
- gap: var(--spacing-2);
13326
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13327
+ aspect-ratio: 4 / 3;
12837
13328
  }
12838
13329
 
12839
- .muka-checkbox-tile__content-inner {
12840
- display: flex;
12841
- flex-direction: column;
12842
- gap: var(--spacing-1);
13330
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13331
+ aspect-ratio: 3 / 4;
12843
13332
  }
12844
13333
 
12845
- /* Chip slot (replaces badge; use Chip component) */
12846
- .muka-checkbox-tile__chip {
12847
- flex-shrink: 0;
13334
+ .muka-chat-photo-grid--2 {
13335
+ grid-template-columns: repeat(2, 1fr);
12848
13336
  }
12849
13337
 
12850
- .muka-checkbox-tile__chip--vertical {
12851
- margin-top: var(--spacing-1);
13338
+ .muka-chat-photo-grid--3 {
13339
+ grid-template-columns: repeat(3, 1fr);
12852
13340
  }
12853
13341
 
12854
- /* Label */
12855
- .muka-checkbox-tile__label {
12856
- font-family: var(--text-body-lg-regular-fontFamily);
12857
- font-weight: var(--text-body-lg-regular-fontWeight);
12858
- font-size: var(--text-body-lg-regular-fontSize);
12859
- line-height: var(--text-body-lg-regular-lineHeight);
12860
- color: var(--color-text-default-default);
13342
+ .muka-chat-photo-grid--4 {
13343
+ grid-template-columns: repeat(2, 1fr);
12861
13344
  }
12862
13345
 
12863
- .muka-checkbox-tile__label--bold {
12864
- font-family: var(--text-label-lg-semibold-fontFamily);
12865
- font-weight: var(--text-label-lg-semibold-fontWeight);
12866
- font-size: var(--text-label-lg-semibold-fontSize);
12867
- line-height: var(--text-label-lg-semibold-lineHeight);
13346
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13347
+ .muka-chat-photo-grid--5 {
13348
+ grid-template-columns: repeat(6, 1fr);
12868
13349
  }
12869
13350
 
12870
- .muka-checkbox-tile__label--center {
12871
- text-align: center;
13351
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13352
+ grid-column: span 3;
12872
13353
  }
12873
13354
 
12874
- /* Caption */
12875
- .muka-checkbox-tile__caption {
12876
- font-family: var(--text-body-base-regular-fontFamily);
12877
- font-weight: var(--text-body-base-regular-fontWeight);
12878
- font-size: var(--text-body-base-regular-fontSize);
12879
- line-height: var(--text-body-base-regular-lineHeight);
12880
- color: var(--color-text-subtle-default);
13355
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13356
+ grid-column: span 2;
12881
13357
  }
12882
13358
 
12883
- /* Disabled states */
12884
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12885
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12886
- color: var(--color-text-subtle-default);
13359
+ .muka-chat-photo-grid--6,
13360
+ .muka-chat-photo-grid--overflow {
13361
+ grid-template-columns: repeat(3, 1fr);
13362
+ }
13363
+
13364
+ /* ─── Print ────────────────────────────────────────────── */
13365
+
13366
+ @media print {
13367
+ .muka-chat-photo-grid {
13368
+ break-inside: avoid;
13369
+ }
13370
+
13371
+ .muka-chat-photo-grid__image {
13372
+ print-color-adjust: exact;
13373
+ -webkit-print-color-adjust: exact;
13374
+ }
12887
13375
  }
12888
13376
 
12889
13377
 
@@ -13054,128 +13542,6 @@ li.muka-listitem {
13054
13542
  }
13055
13543
 
13056
13544
 
13057
- /* ChatPhotoGrid */
13058
- /* ChatPhotoGrid Component Styles */
13059
-
13060
- /*
13061
- * The grid clips to its own radius and the tiles stay square, so only the four
13062
- * outer corners round — matching the Figma "Wrapper" frame (5225:1394).
13063
- */
13064
- .muka-chat-photo-grid {
13065
- display: grid;
13066
- gap: var(--chatphotogrid-gap);
13067
- width: 100%;
13068
- min-width: 0;
13069
- overflow: hidden;
13070
- border-radius: var(--chatphotogrid-radius);
13071
- }
13072
-
13073
- /* ─── Tiles ────────────────────────────────────────────── */
13074
-
13075
- .muka-chat-photo-grid__tile {
13076
- position: relative;
13077
- display: block;
13078
- overflow: hidden;
13079
- min-width: 0;
13080
- padding: 0;
13081
- margin: 0;
13082
- border: none;
13083
- background-color: var(--chatphotogrid-color-placeholder);
13084
- aspect-ratio: 1 / 1;
13085
- }
13086
-
13087
- button.muka-chat-photo-grid__tile {
13088
- cursor: pointer;
13089
- appearance: none;
13090
- }
13091
-
13092
- button.muka-chat-photo-grid__tile:focus-visible {
13093
- outline: var(--border-width-bold) solid var(--color-border-focus);
13094
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
13095
- outline-offset: calc(-1 * var(--border-width-bold));
13096
- }
13097
-
13098
- .muka-chat-photo-grid__image {
13099
- display: block;
13100
- width: 100%;
13101
- height: 100%;
13102
- object-fit: cover;
13103
- }
13104
-
13105
- /* ─── Overflow tile ────────────────────────────────────── */
13106
-
13107
- .muka-chat-photo-grid__overflow {
13108
- position: absolute;
13109
- inset: 0;
13110
- display: flex;
13111
- align-items: center;
13112
- justify-content: center;
13113
- background-color: var(--chatphotogrid-color-overflow-background);
13114
- color: var(--chatphotogrid-color-overflow-foreground);
13115
- font-family: var(--text-body-2xl-regular-fontFamily);
13116
- font-weight: var(--text-body-2xl-regular-fontWeight);
13117
- font-size: var(--text-body-2xl-regular-fontSize);
13118
- line-height: var(--text-body-2xl-regular-lineHeight);
13119
- }
13120
-
13121
- /* ─── Layouts ──────────────────────────────────────────── */
13122
-
13123
- .muka-chat-photo-grid--1 {
13124
- grid-template-columns: 1fr;
13125
- }
13126
-
13127
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
13128
- aspect-ratio: 4 / 3;
13129
- }
13130
-
13131
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
13132
- aspect-ratio: 3 / 4;
13133
- }
13134
-
13135
- .muka-chat-photo-grid--2 {
13136
- grid-template-columns: repeat(2, 1fr);
13137
- }
13138
-
13139
- .muka-chat-photo-grid--3 {
13140
- grid-template-columns: repeat(3, 1fr);
13141
- }
13142
-
13143
- .muka-chat-photo-grid--4 {
13144
- grid-template-columns: repeat(2, 1fr);
13145
- }
13146
-
13147
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
13148
- .muka-chat-photo-grid--5 {
13149
- grid-template-columns: repeat(6, 1fr);
13150
- }
13151
-
13152
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
13153
- grid-column: span 3;
13154
- }
13155
-
13156
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
13157
- grid-column: span 2;
13158
- }
13159
-
13160
- .muka-chat-photo-grid--6,
13161
- .muka-chat-photo-grid--overflow {
13162
- grid-template-columns: repeat(3, 1fr);
13163
- }
13164
-
13165
- /* ─── Print ────────────────────────────────────────────── */
13166
-
13167
- @media print {
13168
- .muka-chat-photo-grid {
13169
- break-inside: avoid;
13170
- }
13171
-
13172
- .muka-chat-photo-grid__image {
13173
- print-color-adjust: exact;
13174
- -webkit-print-color-adjust: exact;
13175
- }
13176
- }
13177
-
13178
-
13179
13545
  /* ChatMessageStack */
13180
13546
  /* ChatMessageStack Component Styles */
13181
13547
 
@@ -14104,6 +14470,41 @@ button.muka-chat-photo-grid__tile:focus-visible {
14104
14470
  box-shadow: var(--card-shadow-selected);
14105
14471
  }
14106
14472
 
14473
+ /* Tone: sticky note (MUK-105) */
14474
+ .muka-card--tone-note {
14475
+ background-color: var(--card-color-note-background);
14476
+ color: var(--card-color-note-foreground);
14477
+ border-color: var(--card-color-note-border);
14478
+ box-shadow: var(--card-shadow-note);
14479
+ }
14480
+
14481
+ .muka-card--tone-note.muka-card--interactive:hover,
14482
+ .muka-card--tone-note.muka-card--interactive:active,
14483
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
14484
+ background-color: var(--card-color-note-background);
14485
+ border-color: var(--card-color-note-border);
14486
+ }
14487
+
14488
+ .muka-card--tilt-left {
14489
+ transform: rotate(-0.75deg);
14490
+ }
14491
+
14492
+ .muka-card--tilt-right {
14493
+ transform: rotate(0.6deg);
14494
+ }
14495
+
14496
+ @media (prefers-reduced-motion: no-preference) {
14497
+ .muka-card--tilt-left,
14498
+ .muka-card--tilt-right {
14499
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
14500
+ }
14501
+ }
14502
+
14503
+ .muka-card--interactive.muka-card--tilt-left:hover,
14504
+ .muka-card--interactive.muka-card--tilt-right:hover {
14505
+ transform: none;
14506
+ }
14507
+
14107
14508
  /* Optional header (title + description) */
14108
14509
  .muka-card__header {
14109
14510
  margin-bottom: var(--spacing-4);