@revikornmann/muka-ui 0.45.1 → 0.46.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.
@@ -3347,985 +3347,985 @@ body {
3347
3347
  }
3348
3348
 
3349
3349
 
3350
- /* Thumbnail */
3351
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3350
+ /* Tile */
3351
+ /* Tile Component Styles - Using Muka Design Tokens */
3352
3352
 
3353
- .muka-thumbnail {
3354
- position: relative;
3355
- flex-shrink: 0;
3356
- }
3353
+ /* ─── Base ────────────────────────────────────────────── */
3357
3354
 
3358
- /* The frame carries the border, background and shape clip. Keeping it separate
3359
- from the root lets the remove (×) button sit outside the clip (needed for the
3360
- circular/ellipse shape, whose corners would otherwise clip the button). */
3361
- .muka-thumbnail__frame {
3362
- position: absolute;
3363
- inset: 0;
3364
- overflow: hidden;
3365
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3366
- border-radius: var(--border-radius-lg);
3367
- background-color: var(--color-surface-level1);
3355
+ .muka-tile {
3356
+ display: flex;
3357
+ color: var(--color-text-default-default);
3368
3358
  }
3369
3359
 
3370
- /* ─── Shapes ──────────────────────────────────────────── */
3371
- .muka-thumbnail--4-3 {
3372
- width: 160px;
3373
- height: 120px;
3360
+ .muka-tile--interactive {
3361
+ cursor: pointer;
3362
+ user-select: none;
3374
3363
  }
3375
3364
 
3376
- .muka-thumbnail--1-1 {
3377
- width: 120px;
3378
- height: 120px;
3365
+ .muka-tile--interactive:focus-visible {
3366
+ outline: 2px solid var(--color-border-focus);
3367
+ outline-offset: 2px;
3368
+ border-radius: var(--border-radius-lg);
3379
3369
  }
3380
3370
 
3381
- .muka-thumbnail--ellipse {
3382
- width: 120px;
3383
- height: 120px;
3384
- }
3371
+ /* ─── Image position variants ─────────────────────────── */
3385
3372
 
3386
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3387
- .muka-thumbnail--fluid {
3388
- width: 100%;
3389
- height: auto;
3390
- aspect-ratio: 1 / 1;
3373
+ .muka-tile--image-top {
3374
+ flex-direction: column;
3391
3375
  }
3392
3376
 
3393
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3394
- aspect-ratio: 4 / 3;
3377
+ .muka-tile--image-left {
3378
+ flex-direction: row;
3395
3379
  }
3396
3380
 
3397
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3398
- border-radius: var(--border-radius-full);
3381
+ .muka-tile--image-right {
3382
+ flex-direction: row;
3399
3383
  }
3400
3384
 
3401
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3402
- interactive hover zoom has a clean origin. */
3403
- .muka-thumbnail__image {
3404
- position: absolute;
3405
- inset: 0;
3406
- width: 100%;
3407
- height: 100%;
3408
- object-fit: cover;
3409
- display: block;
3410
- transform-origin: center;
3411
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3412
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3413
- }
3385
+ /* ─── Gap by size (top) ───────────────────────────────── */
3414
3386
 
3415
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3416
- .muka-thumbnail__trigger {
3417
- position: absolute;
3418
- inset: 0;
3419
- padding: 0;
3420
- border: 0;
3421
- background: none;
3422
- cursor: pointer;
3423
- overflow: hidden;
3387
+ .muka-tile--image-top.muka-tile--lg {
3388
+ gap: var(--spacing-6);
3424
3389
  }
3425
3390
 
3426
- .muka-thumbnail__trigger:focus-visible {
3427
- outline: 2px solid var(--color-border-focus);
3428
- outline-offset: -2px;
3391
+ .muka-tile--image-top.muka-tile--md {
3392
+ gap: var(--spacing-6);
3393
+ width: 320px;
3429
3394
  }
3430
3395
 
3431
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3432
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3433
- transform: scale(1.05);
3396
+ .muka-tile--image-top.muka-tile--sm {
3397
+ gap: var(--spacing-4);
3398
+ min-width: 120px;
3434
3399
  }
3435
3400
 
3436
- /* ─── Loading overlay + progress donut ────────────────── */
3437
- .muka-thumbnail__overlay {
3438
- position: absolute;
3439
- inset: 0;
3440
- display: flex;
3401
+ /* ─── Gap by size (left/right) ────────────────────────── */
3402
+
3403
+ .muka-tile--image-left.muka-tile--lg,
3404
+ .muka-tile--image-right.muka-tile--lg {
3405
+ gap: var(--spacing-6);
3441
3406
  align-items: center;
3442
- justify-content: center;
3443
- background-color: var(--dialog-color-backdrop);
3444
3407
  }
3445
3408
 
3446
- .muka-thumbnail__progress {
3447
- width: 40px;
3448
- height: 40px;
3409
+ .muka-tile--image-left.muka-tile--md,
3410
+ .muka-tile--image-right.muka-tile--md {
3411
+ gap: var(--spacing-6);
3412
+ align-items: center;
3449
3413
  }
3450
3414
 
3451
- /* ─── Error / corrupt state ───────────────────────────── */
3452
- .muka-thumbnail--error .muka-thumbnail__frame {
3453
- background-color: var(--alias-color-state-error-muted);
3454
- border-color: var(--alias-color-state-error-default);
3415
+ .muka-tile--image-left.muka-tile--sm,
3416
+ .muka-tile--image-right.muka-tile--sm {
3417
+ gap: var(--spacing-4);
3418
+ align-items: flex-start;
3455
3419
  }
3456
3420
 
3457
- .muka-thumbnail__error {
3458
- position: absolute;
3459
- inset: 0;
3421
+ /* ─── Photos container ────────────────────────────────── */
3422
+
3423
+ .muka-tile__photos {
3424
+ position: relative;
3425
+ flex-shrink: 0;
3426
+ overflow: hidden;
3460
3427
  display: flex;
3461
3428
  flex-direction: column;
3462
- align-items: center;
3463
- justify-content: center;
3464
- gap: var(--spacing-2);
3465
- padding: var(--spacing-3);
3466
- text-align: center;
3429
+ isolation: isolate;
3467
3430
  }
3468
3431
 
3469
- .muka-thumbnail__error-icon {
3470
- color: var(--alert-color-error-accent);
3432
+ /* Photos border radius by size */
3433
+ .muka-tile--lg .muka-tile__photos,
3434
+ .muka-tile--md .muka-tile__photos {
3435
+ border-radius: var(--border-radius-lg);
3471
3436
  }
3472
3437
 
3473
- .muka-thumbnail__caption {
3474
- max-width: 100%;
3475
- overflow: hidden;
3476
- text-overflow: ellipsis;
3477
- white-space: nowrap;
3478
- color: var(--alert-color-error-accent);
3479
- font-family: var(--text-body-sm-regular-fontFamily);
3480
- font-size: var(--text-body-sm-regular-fontSize);
3481
- font-weight: var(--text-body-sm-regular-fontWeight);
3482
- line-height: var(--text-body-sm-regular-lineHeight);
3438
+ .muka-tile--sm .muka-tile__photos {
3439
+ border-radius: var(--border-radius-md);
3483
3440
  }
3484
3441
 
3485
- /* ─── Remove (×) button ───────────────────────────────── */
3486
- .muka-thumbnail__remove {
3487
- position: absolute;
3488
- top: var(--spacing-2);
3489
- right: var(--spacing-2);
3490
- display: flex;
3491
- align-items: center;
3492
- justify-content: center;
3493
- width: var(--size-2xl);
3494
- height: var(--size-2xl);
3495
- padding: 0;
3496
- color: var(--button-color-tertiary-foreground-default);
3497
- background-color: var(--button-color-tertiary-background-default);
3498
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3499
- border-radius: var(--border-radius-lg);
3500
- cursor: pointer;
3501
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3502
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
3442
+ /* Photos sizing: top layout */
3443
+ .muka-tile--image-top .muka-tile__photos {
3444
+ width: 100%;
3503
3445
  }
3504
3446
 
3505
- .muka-thumbnail__remove:hover {
3506
- color: var(--button-color-tertiary-foreground-hover);
3507
- background-color: var(--button-color-tertiary-background-hover);
3508
- border-color: var(--button-color-tertiary-border-hover);
3447
+ /* Photos sizing: left/right large */
3448
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3449
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3450
+ width: 520px;
3509
3451
  }
3510
3452
 
3511
- .muka-thumbnail__remove:active {
3512
- color: var(--button-color-tertiary-foreground-pressed);
3513
- background-color: var(--button-color-tertiary-background-pressed);
3514
- border-color: var(--button-color-tertiary-border-pressed);
3453
+ /* Photos sizing: left/right medium */
3454
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3455
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3456
+ width: 320px;
3515
3457
  }
3516
3458
 
3517
- .muka-thumbnail__remove:focus-visible {
3518
- outline: 2px solid var(--color-border-focus);
3519
- outline-offset: 2px;
3459
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
3460
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3461
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3462
+ width: 80px;
3463
+ align-self: stretch;
3520
3464
  }
3521
3465
 
3522
- /* ─── Reduced motion ──────────────────────────────────── */
3523
- @media (prefers-reduced-motion: reduce) {
3524
- .muka-thumbnail__image,
3525
- .muka-thumbnail__remove {
3526
- transition: none;
3527
- }
3466
+ /* ─── Main photo ──────────────────────────────────────── */
3528
3467
 
3529
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3530
- transform: none;
3531
- }
3468
+ .muka-tile__photo-main {
3469
+ position: relative;
3470
+ width: 100%;
3471
+ overflow: hidden;
3472
+ flex-shrink: 0;
3532
3473
  }
3533
3474
 
3534
-
3535
- /* Textarea */
3536
- /* Textarea Component Styles - Using Muka Design Tokens */
3537
-
3538
- .muka-textarea {
3539
- display: inline-flex;
3540
- flex-direction: column;
3541
- gap: var(--spacing-2);
3475
+ /* 16:9 aspect for lg and md */
3476
+ .muka-tile--lg .muka-tile__photo-main,
3477
+ .muka-tile--md .muka-tile__photo-main {
3478
+ aspect-ratio: 1280 / 720;
3542
3479
  }
3543
3480
 
3544
- /* Label */
3545
- .muka-textarea__label {
3546
- color: var(--color-text-default-default);
3547
- cursor: pointer;
3481
+ /* 1:1 aspect for top + sm */
3482
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3483
+ aspect-ratio: 1 / 1;
3548
3484
  }
3549
3485
 
3550
- .muka-textarea__label--sm {
3551
- font-family: var(--text-label-sm-semibold-fontFamily);
3552
- font-weight: var(--text-label-sm-semibold-fontWeight);
3553
- font-size: var(--text-label-sm-semibold-fontSize);
3554
- line-height: var(--text-label-sm-semibold-lineHeight);
3486
+ /* Fixed size for left/right + sm */
3487
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3488
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3489
+ width: 80px;
3490
+ height: 80px;
3491
+ aspect-ratio: auto;
3555
3492
  }
3556
3493
 
3557
- .muka-textarea__label--md {
3558
- font-family: var(--text-label-md-semibold-fontFamily);
3559
- font-weight: var(--text-label-md-semibold-fontWeight);
3560
- font-size: var(--text-label-md-semibold-fontSize);
3561
- line-height: var(--text-label-md-semibold-lineHeight);
3494
+ .muka-tile__photo-main img {
3495
+ width: 100%;
3496
+ height: 100%;
3497
+ object-fit: cover;
3498
+ display: block;
3562
3499
  }
3563
3500
 
3564
- .muka-textarea__label--lg {
3565
- font-family: var(--text-label-lg-semibold-fontFamily);
3566
- font-weight: var(--text-label-lg-semibold-fontWeight);
3567
- font-size: var(--text-label-lg-semibold-fontSize);
3568
- line-height: var(--text-label-lg-semibold-lineHeight);
3501
+ /* ─── Favourite overlay ───────────────────────────────── */
3502
+
3503
+ .muka-tile__favourite {
3504
+ position: absolute;
3505
+ z-index: 3;
3569
3506
  }
3570
3507
 
3571
- .muka-textarea__required {
3572
- color: var(--color-state-error-default);
3508
+ .muka-tile--lg .muka-tile__favourite,
3509
+ .muka-tile--md .muka-tile__favourite {
3510
+ top: var(--spacing-4);
3511
+ right: var(--spacing-4);
3573
3512
  }
3574
3513
 
3575
- /* Field container */
3576
- .muka-textarea__field {
3514
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3515
+ top: var(--spacing-1);
3516
+ right: var(--spacing-1);
3517
+ }
3518
+
3519
+ /* ─── Thumbnails ──────────────────────────────────────── */
3520
+
3521
+ .muka-tile__thumbnails {
3577
3522
  display: flex;
3578
- background-color: var(--input-field-color-default-background);
3579
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3580
- border-radius: var(--input-field-radius-md);
3581
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3582
- transition: border-color 0.2s ease, background-color 0.2s ease;
3583
- box-sizing: border-box;
3523
+ gap: 2px;
3524
+ overflow: hidden;
3525
+ flex-shrink: 0;
3526
+ height: 80px;
3584
3527
  }
3585
3528
 
3586
- .muka-textarea__field--sm {
3587
- min-height: var(--input-textarea-height-sm);
3588
- border-radius: var(--input-field-radius-sm);
3529
+ .muka-tile__thumbnail {
3530
+ width: 80px;
3531
+ height: 80px;
3532
+ flex-shrink: 0;
3533
+ overflow: hidden;
3589
3534
  }
3590
3535
 
3591
- .muka-textarea__field--md {
3592
- min-height: var(--input-textarea-height-default);
3593
- border-radius: var(--input-field-radius-md);
3536
+ .muka-tile__thumbnail img {
3537
+ width: 100%;
3538
+ height: 100%;
3539
+ object-fit: cover;
3540
+ display: block;
3594
3541
  }
3595
3542
 
3596
- .muka-textarea__field--lg {
3597
- min-height: var(--input-textarea-height-lg);
3598
- border-radius: var(--input-field-radius-lg);
3543
+ /* Gap between main photo and thumbnails */
3544
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3545
+ margin-top: 2px;
3599
3546
  }
3600
3547
 
3601
- /* Focus state */
3602
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3603
- border-width: var(--border-width-bold);
3604
- border-color: var(--input-field-color-focus-border);
3605
- background-color: var(--input-field-color-focus-background);
3606
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3548
+ /* ─── Content section ─────────────────────────────────── */
3549
+
3550
+ .muka-tile__content {
3551
+ display: flex;
3552
+ flex-direction: column;
3553
+ flex: 1;
3554
+ min-width: 0;
3607
3555
  }
3608
3556
 
3609
- /* Error state */
3610
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3611
- border-width: var(--border-width-bold);
3612
- border-color: var(--input-field-color-error-border);
3613
- background-color: var(--input-field-color-error-background);
3614
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3557
+ /* Top layout: content has horizontal padding */
3558
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3559
+ padding: 0 var(--spacing-3);
3560
+ gap: var(--spacing-1);
3615
3561
  }
3616
3562
 
3617
- /* Disabled state */
3618
- .muka-textarea__field--disabled {
3619
- background-color: var(--input-field-color-disabled-background);
3620
- border-color: var(--input-field-color-disabled-border);
3621
- cursor: not-allowed;
3563
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
3564
+ padding: 0 var(--spacing-3);
3565
+ gap: var(--spacing-2);
3622
3566
  }
3623
3567
 
3624
- /* Native textarea */
3625
- .muka-textarea__native {
3626
- flex: 1;
3627
- border: none;
3628
- outline: none;
3629
- background: transparent;
3630
- color: var(--input-field-color-default-foreground);
3631
- font-family: var(--text-input-md-fontFamily);
3632
- font-weight: var(--text-input-md-fontWeight);
3633
- font-size: var(--text-input-md-fontSize);
3634
- line-height: var(--text-input-md-lineHeight);
3635
- padding: 0;
3636
- width: 100%;
3637
- min-width: 0;
3568
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3569
+ gap: var(--spacing-2);
3638
3570
  }
3639
3571
 
3640
- .muka-textarea__field--sm .muka-textarea__native {
3641
- font-family: var(--text-input-sm-fontFamily);
3642
- font-weight: var(--text-input-sm-fontWeight);
3643
- font-size: var(--text-input-sm-fontSize);
3644
- line-height: var(--text-input-sm-lineHeight);
3572
+ /* Left/right layout: content grows to fill space */
3573
+ .muka-tile--image-left .muka-tile__content,
3574
+ .muka-tile--image-right .muka-tile__content {
3575
+ gap: var(--spacing-3);
3645
3576
  }
3646
3577
 
3647
- .muka-textarea__field--lg .muka-textarea__native {
3648
- font-family: var(--text-input-lg-fontFamily);
3649
- font-weight: var(--text-input-lg-fontWeight);
3650
- font-size: var(--text-input-lg-fontSize);
3651
- line-height: var(--text-input-lg-lineHeight);
3578
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3579
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3580
+ padding: 0 var(--spacing-3);
3652
3581
  }
3653
3582
 
3654
- .muka-textarea__native::placeholder {
3655
- color: var(--color-text-subtle-default);
3583
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
3584
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
3585
+ padding: var(--spacing-2) var(--spacing-3);
3656
3586
  }
3657
3587
 
3658
- .muka-textarea__field--disabled .muka-textarea__native {
3659
- color: var(--input-field-color-disabled-foreground);
3660
- cursor: not-allowed;
3588
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3589
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3590
+ gap: var(--spacing-2);
3661
3591
  }
3662
3592
 
3663
- /* Footer (helper/error + count) */
3664
- .muka-textarea__footer {
3593
+ /* ─── Header (heading row + price) ────────────────────── */
3594
+
3595
+ .muka-tile__header {
3665
3596
  display: flex;
3666
- justify-content: space-between;
3667
3597
  align-items: flex-start;
3598
+ gap: var(--spacing-4);
3599
+ }
3600
+
3601
+ /* Small horizontal: row with text and action */
3602
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3668
3603
  gap: var(--spacing-2);
3604
+ align-items: center;
3605
+ padding-top: var(--spacing-1);
3669
3606
  }
3670
3607
 
3671
- .muka-textarea__helper {
3672
- font-family: var(--text-label-sm-regular-fontFamily);
3673
- font-weight: var(--text-label-sm-regular-fontWeight);
3674
- font-size: var(--text-label-sm-regular-fontSize);
3675
- line-height: var(--text-label-sm-regular-lineHeight);
3676
- color: var(--color-text-subtle-default);
3677
- margin: 0;
3608
+ /* ─── Text group ──────────────────────────────────────── */
3609
+
3610
+ .muka-tile__text {
3611
+ display: flex;
3612
+ flex-direction: column;
3613
+ flex: 1;
3614
+ min-width: 0;
3615
+ gap: var(--spacing-2);
3678
3616
  }
3679
3617
 
3680
- .muka-textarea__error {
3681
- font-family: var(--text-label-sm-regular-fontFamily);
3682
- font-weight: var(--text-label-sm-regular-fontWeight);
3683
- font-size: var(--text-label-sm-regular-fontSize);
3684
- line-height: var(--text-label-sm-regular-lineHeight);
3685
- color: var(--color-state-error-default);
3618
+ /* ─── Heading typography ──────────────────────────────── */
3619
+
3620
+ .muka-tile__heading {
3686
3621
  margin: 0;
3687
3622
  }
3688
3623
 
3689
- .muka-textarea__count {
3690
- font-family: var(--text-label-sm-regular-fontFamily);
3691
- font-weight: var(--text-label-sm-regular-fontWeight);
3692
- font-size: var(--text-label-sm-regular-fontSize);
3693
- line-height: var(--text-label-sm-regular-lineHeight);
3694
- color: var(--color-text-subtle-default);
3695
- margin-left: auto;
3624
+ .muka-tile--lg .muka-tile__heading {
3625
+ font-family: var(--text-label-2xl-semibold-fontFamily);
3626
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
3627
+ font-size: var(--text-label-2xl-semibold-fontSize);
3628
+ line-height: var(--text-label-2xl-semibold-lineHeight);
3629
+ color: var(--color-text-default-default);
3696
3630
  }
3697
3631
 
3632
+ .muka-tile--md .muka-tile__heading {
3633
+ font-family: var(--text-label-xl-semibold-fontFamily);
3634
+ font-weight: var(--text-label-xl-semibold-fontWeight);
3635
+ font-size: var(--text-label-xl-semibold-fontSize);
3636
+ line-height: var(--text-label-xl-semibold-lineHeight);
3637
+ color: var(--color-text-default-default);
3638
+ }
3698
3639
 
3699
- /* TextLink */
3700
- /* TextLink Component Styles - Using Muka Design Tokens */
3640
+ .muka-tile--sm .muka-tile__heading {
3641
+ font-family: var(--text-label-lg-bold-fontFamily);
3642
+ font-weight: var(--text-label-lg-bold-fontWeight);
3643
+ font-size: var(--text-label-lg-bold-fontSize);
3644
+ line-height: var(--text-label-lg-bold-lineHeight);
3645
+ color: var(--color-text-default-default);
3646
+ }
3701
3647
 
3702
- .muka-text-link {
3703
- display: inline;
3704
- cursor: pointer;
3705
- text-decoration: underline;
3706
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3707
- text-underline-offset: 0.2em;
3708
- text-decoration-thickness: from-font;
3709
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3710
- border-radius: var(--border-radius-sm);
3711
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3648
+ /* ─── Subheading typography ───────────────────────────── */
3649
+
3650
+ .muka-tile__subheading {
3651
+ margin: 0;
3652
+ color: var(--color-text-subtle-default);
3712
3653
  }
3713
3654
 
3714
- /* ─── Sizes ───────────────────────────────────────────────
3715
- Mirrors the body text scale so a link matches the copy it sits in. */
3716
- .muka-text-link--sm {
3717
- font-family: var(--text-body-sm-regular-fontFamily);
3718
- font-weight: var(--text-body-sm-regular-fontWeight);
3719
- font-size: var(--text-body-sm-regular-fontSize);
3720
- line-height: var(--text-body-sm-regular-lineHeight);
3655
+ .muka-tile--lg .muka-tile__subheading {
3656
+ font-family: var(--text-subheading-md-fontFamily);
3657
+ font-weight: var(--text-subheading-md-fontWeight);
3658
+ font-size: var(--text-subheading-md-fontSize);
3659
+ line-height: var(--text-subheading-md-lineHeight);
3721
3660
  }
3722
3661
 
3723
- .muka-text-link--base {
3724
- font-family: var(--text-body-base-regular-fontFamily);
3725
- font-weight: var(--text-body-base-regular-fontWeight);
3726
- font-size: var(--text-body-base-regular-fontSize);
3727
- line-height: var(--text-body-base-regular-lineHeight);
3662
+ .muka-tile--md .muka-tile__subheading,
3663
+ .muka-tile--sm .muka-tile__subheading {
3664
+ font-family: var(--text-subheading-sm-fontFamily);
3665
+ font-weight: var(--text-subheading-sm-fontWeight);
3666
+ font-size: var(--text-subheading-sm-fontSize);
3667
+ line-height: var(--text-subheading-sm-lineHeight);
3728
3668
  }
3729
3669
 
3730
- .muka-text-link--lg {
3670
+ /* ─── Description typography ──────────────────────────── */
3671
+
3672
+ .muka-tile__description {
3673
+ margin: 0;
3674
+ color: var(--color-text-default-default);
3675
+ }
3676
+
3677
+ .muka-tile--lg .muka-tile__description {
3731
3678
  font-family: var(--text-body-lg-regular-fontFamily);
3732
3679
  font-weight: var(--text-body-lg-regular-fontWeight);
3733
3680
  font-size: var(--text-body-lg-regular-fontSize);
3734
3681
  line-height: var(--text-body-lg-regular-lineHeight);
3735
3682
  }
3736
3683
 
3737
- /* ─── Variant: default (accent) ───────────────────────────
3738
- Visited repeats the default colour on purpose: the design treats visited and
3739
- default the same, and pinning it stops the browser's purple from showing. */
3740
- .muka-text-link--default,
3741
- .muka-text-link--default:visited {
3742
- color: var(--color-text-action-default);
3684
+ .muka-tile--md .muka-tile__description,
3685
+ .muka-tile--sm .muka-tile__description {
3686
+ font-family: var(--text-body-base-regular-fontFamily);
3687
+ font-weight: var(--text-body-base-regular-fontWeight);
3688
+ font-size: var(--text-body-base-regular-fontSize);
3689
+ line-height: var(--text-body-base-regular-lineHeight);
3743
3690
  }
3744
3691
 
3745
- .muka-text-link--default:hover,
3746
- .muka-text-link--default:focus-visible {
3747
- color: var(--color-text-action-hover);
3692
+ /* Description overflow for medium */
3693
+ .muka-tile--md .muka-tile__description {
3694
+ overflow: hidden;
3695
+ text-overflow: ellipsis;
3748
3696
  }
3749
3697
 
3750
- .muka-text-link--default:active {
3751
- color: var(--color-text-action-pressed);
3698
+ /* ─── Price slot ──────────────────────────────────────── */
3699
+
3700
+ .muka-tile__price {
3701
+ flex-shrink: 0;
3752
3702
  }
3753
3703
 
3754
- /* ─── Variant: subtle (neutral) ───────────────────────────
3755
- Hover, focus and pressed all darken to the default text colour. */
3756
- .muka-text-link--subtle,
3757
- .muka-text-link--subtle:visited {
3758
- color: var(--color-text-subtle-default);
3704
+ /* ─── Action slot ─────────────────────────────────────── */
3705
+
3706
+ .muka-tile__action {
3707
+ flex-shrink: 0;
3759
3708
  }
3760
3709
 
3761
- .muka-text-link--subtle:hover,
3762
- .muka-text-link--subtle:focus-visible,
3763
- .muka-text-link--subtle:active {
3764
- color: var(--color-text-default-default);
3710
+
3711
+ /* Thumbnail */
3712
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3713
+
3714
+ .muka-thumbnail {
3715
+ position: relative;
3716
+ flex-shrink: 0;
3765
3717
  }
3766
3718
 
3767
- /* ─── Focus ───────────────────────────────────────────────
3768
- Same ring as every other focusable Muka component. */
3769
- .muka-text-link:focus-visible {
3770
- outline: 2px solid var(--color-border-focus);
3771
- outline-offset: 2px;
3719
+ /* The frame carries the border, background and shape clip. Keeping it separate
3720
+ from the root lets the remove (×) button sit outside the clip (needed for the
3721
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3722
+ .muka-thumbnail__frame {
3723
+ position: absolute;
3724
+ inset: 0;
3725
+ overflow: hidden;
3726
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3727
+ border-radius: var(--border-radius-lg);
3728
+ background-color: var(--color-surface-level1);
3772
3729
  }
3773
3730
 
3774
- @media (prefers-reduced-motion: reduce) {
3775
- .muka-text-link {
3776
- transition: none;
3777
- }
3731
+ /* ─── Shapes ──────────────────────────────────────────── */
3732
+ .muka-thumbnail--4-3 {
3733
+ width: 160px;
3734
+ height: 120px;
3778
3735
  }
3779
3736
 
3737
+ .muka-thumbnail--1-1 {
3738
+ width: 120px;
3739
+ height: 120px;
3740
+ }
3780
3741
 
3781
- /* Tabs */
3782
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
3742
+ .muka-thumbnail--ellipse {
3743
+ width: 120px;
3744
+ height: 120px;
3745
+ }
3783
3746
 
3784
- .muka-tabs {
3785
- display: flex;
3786
- flex-direction: column;
3747
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3748
+ .muka-thumbnail--fluid {
3749
+ width: 100%;
3750
+ height: auto;
3751
+ aspect-ratio: 1 / 1;
3787
3752
  }
3788
3753
 
3789
- /* Alignment Variants */
3790
- .muka-tabs--align-left .muka-tabs__list {
3791
- justify-content: flex-start;
3754
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3755
+ aspect-ratio: 4 / 3;
3792
3756
  }
3793
- .muka-tabs--align-center .muka-tabs__list {
3794
- justify-content: center;
3757
+
3758
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3759
+ border-radius: var(--border-radius-full);
3795
3760
  }
3796
- .muka-tabs--align-fill .muka-tabs__list {
3797
- justify-content: space-between;
3761
+
3762
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3763
+ interactive hover zoom has a clean origin. */
3764
+ .muka-thumbnail__image {
3765
+ position: absolute;
3766
+ inset: 0;
3767
+ width: 100%;
3768
+ height: 100%;
3769
+ object-fit: cover;
3770
+ display: block;
3771
+ transform-origin: center;
3772
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3773
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3798
3774
  }
3799
- .muka-tabs--align-fill .muka-tabs__trigger {
3800
- flex: 1;
3775
+
3776
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3777
+ .muka-thumbnail__trigger {
3778
+ position: absolute;
3779
+ inset: 0;
3780
+ padding: 0;
3781
+ border: 0;
3782
+ background: none;
3783
+ cursor: pointer;
3784
+ overflow: hidden;
3801
3785
  }
3802
3786
 
3803
- /* Tab List — strip container */
3804
- .muka-tabs__list {
3805
- display: flex;
3806
- align-items: center;
3807
- position: relative;
3808
- z-index: 2;
3809
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3787
+ .muka-thumbnail__trigger:focus-visible {
3788
+ outline: 2px solid var(--color-border-focus);
3789
+ outline-offset: -2px;
3810
3790
  }
3811
3791
 
3812
- /* Padding: inset the tabs; the divider (border) still spans the full width */
3813
- .muka-tabs--padding-default .muka-tabs__list {
3814
- padding-inline: var(--tabs-list-padding-x);
3792
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3793
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3794
+ transform: scale(1.05);
3815
3795
  }
3816
3796
 
3817
- /* Tab Trigger — clean underline style */
3818
- .muka-tabs__trigger {
3819
- display: inline-flex;
3797
+ /* ─── Loading overlay + progress donut ────────────────── */
3798
+ .muka-thumbnail__overlay {
3799
+ position: absolute;
3800
+ inset: 0;
3801
+ display: flex;
3820
3802
  align-items: center;
3821
3803
  justify-content: center;
3822
- gap: var(--spacing-1);
3823
- background: transparent;
3824
- border: none;
3825
- cursor: pointer;
3826
- user-select: none;
3827
- transition: background-color 0.2s ease, color 0.2s ease;
3828
- outline: none;
3829
- white-space: nowrap;
3830
- position: relative;
3831
- z-index: 2;
3832
- color: var(--tabs-trigger-color-default-foreground);
3804
+ background-color: var(--dialog-color-backdrop);
3805
+ }
3833
3806
 
3834
- /* Default MD size values */
3835
- min-height: var(--tabs-trigger-min-height-md);
3836
- padding: var(--spacing-3);
3837
- font-family: var(--text-label-md-regular-fontFamily);
3838
- font-weight: var(--text-label-md-regular-fontWeight);
3839
- font-size: var(--text-label-md-regular-fontSize);
3840
- line-height: var(--text-label-md-regular-lineHeight);
3807
+ .muka-thumbnail__progress {
3808
+ width: 40px;
3809
+ height: 40px;
3841
3810
  }
3842
3811
 
3843
- /* Size Variants */
3844
- .muka-tabs--size-sm .muka-tabs__trigger {
3845
- min-height: var(--tabs-trigger-min-height-sm);
3846
- padding: 0 var(--spacing-2);
3847
- font-family: var(--text-label-sm-regular-fontFamily);
3848
- font-weight: var(--text-label-sm-regular-fontWeight);
3849
- font-size: var(--text-label-sm-regular-fontSize);
3850
- line-height: var(--text-label-sm-regular-lineHeight);
3812
+ /* ─── Error / corrupt state ───────────────────────────── */
3813
+ .muka-thumbnail--error .muka-thumbnail__frame {
3814
+ background-color: var(--alias-color-state-error-muted);
3815
+ border-color: var(--alias-color-state-error-default);
3851
3816
  }
3852
3817
 
3853
- .muka-tabs--size-lg .muka-tabs__trigger {
3854
- min-height: var(--tabs-trigger-min-height-lg);
3855
- padding: var(--spacing-4);
3856
- font-family: var(--text-label-lg-regular-fontFamily);
3857
- font-weight: var(--text-label-lg-regular-fontWeight);
3858
- font-size: var(--text-label-lg-regular-fontSize);
3859
- line-height: var(--text-label-lg-regular-lineHeight);
3818
+ .muka-thumbnail__error {
3819
+ position: absolute;
3820
+ inset: 0;
3821
+ display: flex;
3822
+ flex-direction: column;
3823
+ align-items: center;
3824
+ justify-content: center;
3825
+ gap: var(--spacing-2);
3826
+ padding: var(--spacing-3);
3827
+ text-align: center;
3860
3828
  }
3861
3829
 
3862
- /* Hover state */
3863
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
3864
- color: var(--tabs-trigger-color-hover-foreground);
3830
+ .muka-thumbnail__error-icon {
3831
+ color: var(--alert-color-error-accent);
3865
3832
  }
3866
3833
 
3867
- /* Current tab */
3868
- .muka-tabs__trigger--current {
3869
- color: var(--tabs-trigger-color-current-foreground);
3834
+ .muka-thumbnail__caption {
3835
+ max-width: 100%;
3836
+ overflow: hidden;
3837
+ text-overflow: ellipsis;
3838
+ white-space: nowrap;
3839
+ color: var(--alert-color-error-accent);
3840
+ font-family: var(--text-body-sm-regular-fontFamily);
3841
+ font-size: var(--text-body-sm-regular-fontSize);
3842
+ font-weight: var(--text-body-sm-regular-fontWeight);
3843
+ line-height: var(--text-body-sm-regular-lineHeight);
3870
3844
  }
3871
3845
 
3872
- /* Active bottom border (underline) */
3873
- .muka-tabs__trigger--current::after {
3874
- content: '';
3846
+ /* ─── Remove (×) button ───────────────────────────────── */
3847
+ .muka-thumbnail__remove {
3875
3848
  position: absolute;
3876
- bottom: -1px; /* Overlap the 1px border */
3877
- left: 0;
3878
- right: 0;
3879
- height: var(--tabs-indicator-height-md);
3880
- background-color: var(--tabs-indicator-color);
3881
- border-bottom-left-radius: 1px;
3882
- border-bottom-right-radius: 1px;
3883
- border-top-left-radius: 3px;
3884
- border-top-right-radius: 3px;
3885
- z-index: 3;
3849
+ top: var(--spacing-2);
3850
+ right: var(--spacing-2);
3851
+ display: flex;
3852
+ align-items: center;
3853
+ justify-content: center;
3854
+ width: var(--size-2xl);
3855
+ height: var(--size-2xl);
3856
+ padding: 0;
3857
+ color: var(--button-color-tertiary-foreground-default);
3858
+ background-color: var(--button-color-tertiary-background-default);
3859
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3860
+ border-radius: var(--border-radius-lg);
3861
+ cursor: pointer;
3862
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3863
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3886
3864
  }
3887
3865
 
3888
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
3889
- height: var(--tabs-indicator-height-sm);
3890
- }
3891
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
3892
- height: var(--tabs-indicator-height-lg);
3866
+ .muka-thumbnail__remove:hover {
3867
+ color: var(--button-color-tertiary-foreground-hover);
3868
+ background-color: var(--button-color-tertiary-background-hover);
3869
+ border-color: var(--button-color-tertiary-border-hover);
3893
3870
  }
3894
3871
 
3895
- .muka-tabs__trigger--disabled {
3896
- color: var(--tabs-trigger-color-disabled-foreground);
3897
- cursor: not-allowed;
3872
+ .muka-thumbnail__remove:active {
3873
+ color: var(--button-color-tertiary-foreground-pressed);
3874
+ background-color: var(--button-color-tertiary-background-pressed);
3875
+ border-color: var(--button-color-tertiary-border-pressed);
3898
3876
  }
3899
3877
 
3900
- .muka-tabs__trigger:focus-visible {
3878
+ .muka-thumbnail__remove:focus-visible {
3901
3879
  outline: 2px solid var(--color-border-focus);
3902
- outline-offset: -2px;
3880
+ outline-offset: 2px;
3903
3881
  }
3904
3882
 
3905
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
3906
- item sits 12px from the text */
3907
- .muka-tabs__label {
3908
- padding: 0 var(--spacing-2);
3909
- }
3910
-
3911
- /* Leading item: icon, avatar, avatar group or data pie chart */
3912
- .muka-tabs__leading {
3913
- display: flex;
3914
- align-items: center;
3915
- justify-content: center;
3916
- flex-shrink: 0;
3917
- }
3918
- .muka-tabs__trigger .muka-icon {
3919
- color: inherit;
3920
- }
3921
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
3922
- .muka-tabs--size-sm .muka-tabs__leading > svg,
3923
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
3924
- .muka-tabs--size-md .muka-tabs__leading > svg,
3925
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
3926
- .muka-tabs--size-lg .muka-tabs__leading > svg,
3927
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
3928
-
3929
- /* Responsive Scroll behavior on small screens */
3930
- @media (max-width: 768px) {
3931
- .muka-tabs__list {
3932
- /* Make scrollable */
3933
- overflow-x: auto;
3934
- overflow-y: hidden;
3935
- /* Force left alignment on mobile to prevent clipping when scrolling */
3936
- justify-content: flex-start !important;
3937
- max-width: 100vw;
3938
- -webkit-overflow-scrolling: touch;
3939
- /* Hide scrollbar for cleaner look */
3940
- scrollbar-width: none;
3941
- }
3942
- .muka-tabs__list::-webkit-scrollbar {
3943
- display: none;
3944
- }
3945
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
3946
- .muka-tabs--align-fill .muka-tabs__trigger {
3947
- flex: 0 0 auto;
3883
+ /* ─── Reduced motion ──────────────────────────────────── */
3884
+ @media (prefers-reduced-motion: reduce) {
3885
+ .muka-thumbnail__image,
3886
+ .muka-thumbnail__remove {
3887
+ transition: none;
3948
3888
  }
3949
- }
3950
-
3951
- /* Tab Panel — content area */
3952
- .muka-tabs__panel {
3953
- background-color: var(--tabs-panel-background);
3954
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
3955
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
3956
- padding: var(--spacing-4);
3957
- position: relative;
3958
- z-index: 1;
3959
- font-family: var(--text-body-base-regular-fontFamily);
3960
- font-weight: var(--text-body-base-regular-fontWeight);
3961
- font-size: var(--text-body-base-regular-fontSize);
3962
- line-height: var(--text-body-base-regular-lineHeight);
3963
- }
3964
3889
 
3965
- .muka-tabs__panel:focus-visible {
3966
- outline: 2px solid var(--color-border-focus);
3967
- outline-offset: 2px;
3890
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3891
+ transform: none;
3892
+ }
3968
3893
  }
3969
3894
 
3970
3895
 
3971
- /* Tile */
3972
- /* Tile Component Styles - Using Muka Design Tokens */
3973
-
3974
- /* ─── Base ────────────────────────────────────────────── */
3896
+ /* Textarea */
3897
+ /* Textarea Component Styles - Using Muka Design Tokens */
3975
3898
 
3976
- .muka-tile {
3977
- display: flex;
3978
- color: var(--color-text-default-default);
3899
+ .muka-textarea {
3900
+ display: inline-flex;
3901
+ flex-direction: column;
3902
+ gap: var(--spacing-2);
3979
3903
  }
3980
3904
 
3981
- .muka-tile--interactive {
3905
+ /* Label */
3906
+ .muka-textarea__label {
3907
+ color: var(--color-text-default-default);
3982
3908
  cursor: pointer;
3983
- user-select: none;
3984
3909
  }
3985
3910
 
3986
- .muka-tile--interactive:focus-visible {
3987
- outline: 2px solid var(--color-border-focus);
3988
- outline-offset: 2px;
3989
- border-radius: var(--border-radius-lg);
3911
+ .muka-textarea__label--sm {
3912
+ font-family: var(--text-label-sm-semibold-fontFamily);
3913
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3914
+ font-size: var(--text-label-sm-semibold-fontSize);
3915
+ line-height: var(--text-label-sm-semibold-lineHeight);
3990
3916
  }
3991
3917
 
3992
- /* ─── Image position variants ─────────────────────────── */
3993
-
3994
- .muka-tile--image-top {
3995
- flex-direction: column;
3918
+ .muka-textarea__label--md {
3919
+ font-family: var(--text-label-md-semibold-fontFamily);
3920
+ font-weight: var(--text-label-md-semibold-fontWeight);
3921
+ font-size: var(--text-label-md-semibold-fontSize);
3922
+ line-height: var(--text-label-md-semibold-lineHeight);
3996
3923
  }
3997
3924
 
3998
- .muka-tile--image-left {
3999
- flex-direction: row;
3925
+ .muka-textarea__label--lg {
3926
+ font-family: var(--text-label-lg-semibold-fontFamily);
3927
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3928
+ font-size: var(--text-label-lg-semibold-fontSize);
3929
+ line-height: var(--text-label-lg-semibold-lineHeight);
4000
3930
  }
4001
3931
 
4002
- .muka-tile--image-right {
4003
- flex-direction: row;
3932
+ .muka-textarea__required {
3933
+ color: var(--color-state-error-default);
4004
3934
  }
4005
3935
 
4006
- /* ─── Gap by size (top) ───────────────────────────────── */
4007
-
4008
- .muka-tile--image-top.muka-tile--lg {
4009
- gap: var(--spacing-6);
3936
+ /* Field container */
3937
+ .muka-textarea__field {
3938
+ display: flex;
3939
+ background-color: var(--input-field-color-default-background);
3940
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3941
+ border-radius: var(--input-field-radius-md);
3942
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3943
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3944
+ box-sizing: border-box;
4010
3945
  }
4011
3946
 
4012
- .muka-tile--image-top.muka-tile--md {
4013
- gap: var(--spacing-6);
4014
- width: 320px;
3947
+ .muka-textarea__field--sm {
3948
+ min-height: var(--input-textarea-height-sm);
3949
+ border-radius: var(--input-field-radius-sm);
4015
3950
  }
4016
3951
 
4017
- .muka-tile--image-top.muka-tile--sm {
4018
- gap: var(--spacing-4);
4019
- min-width: 120px;
3952
+ .muka-textarea__field--md {
3953
+ min-height: var(--input-textarea-height-default);
3954
+ border-radius: var(--input-field-radius-md);
4020
3955
  }
4021
3956
 
4022
- /* ─── Gap by size (left/right) ────────────────────────── */
4023
-
4024
- .muka-tile--image-left.muka-tile--lg,
4025
- .muka-tile--image-right.muka-tile--lg {
4026
- gap: var(--spacing-6);
4027
- align-items: center;
3957
+ .muka-textarea__field--lg {
3958
+ min-height: var(--input-textarea-height-lg);
3959
+ border-radius: var(--input-field-radius-lg);
4028
3960
  }
4029
3961
 
4030
- .muka-tile--image-left.muka-tile--md,
4031
- .muka-tile--image-right.muka-tile--md {
4032
- gap: var(--spacing-6);
4033
- align-items: center;
3962
+ /* Focus state */
3963
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3964
+ border-width: var(--border-width-bold);
3965
+ border-color: var(--input-field-color-focus-border);
3966
+ background-color: var(--input-field-color-focus-background);
3967
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4034
3968
  }
4035
3969
 
4036
- .muka-tile--image-left.muka-tile--sm,
4037
- .muka-tile--image-right.muka-tile--sm {
4038
- gap: var(--spacing-4);
4039
- align-items: flex-start;
3970
+ /* Error state */
3971
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3972
+ border-width: var(--border-width-bold);
3973
+ border-color: var(--input-field-color-error-border);
3974
+ background-color: var(--input-field-color-error-background);
3975
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4040
3976
  }
4041
3977
 
4042
- /* ─── Photos container ────────────────────────────────── */
4043
-
4044
- .muka-tile__photos {
4045
- position: relative;
4046
- flex-shrink: 0;
4047
- overflow: hidden;
4048
- display: flex;
4049
- flex-direction: column;
4050
- isolation: isolate;
3978
+ /* Disabled state */
3979
+ .muka-textarea__field--disabled {
3980
+ background-color: var(--input-field-color-disabled-background);
3981
+ border-color: var(--input-field-color-disabled-border);
3982
+ cursor: not-allowed;
4051
3983
  }
4052
3984
 
4053
- /* Photos border radius by size */
4054
- .muka-tile--lg .muka-tile__photos,
4055
- .muka-tile--md .muka-tile__photos {
4056
- border-radius: var(--border-radius-lg);
3985
+ /* Native textarea */
3986
+ .muka-textarea__native {
3987
+ flex: 1;
3988
+ border: none;
3989
+ outline: none;
3990
+ background: transparent;
3991
+ color: var(--input-field-color-default-foreground);
3992
+ font-family: var(--text-input-md-fontFamily);
3993
+ font-weight: var(--text-input-md-fontWeight);
3994
+ font-size: var(--text-input-md-fontSize);
3995
+ line-height: var(--text-input-md-lineHeight);
3996
+ padding: 0;
3997
+ width: 100%;
3998
+ min-width: 0;
4057
3999
  }
4058
4000
 
4059
- .muka-tile--sm .muka-tile__photos {
4060
- border-radius: var(--border-radius-md);
4001
+ .muka-textarea__field--sm .muka-textarea__native {
4002
+ font-family: var(--text-input-sm-fontFamily);
4003
+ font-weight: var(--text-input-sm-fontWeight);
4004
+ font-size: var(--text-input-sm-fontSize);
4005
+ line-height: var(--text-input-sm-lineHeight);
4061
4006
  }
4062
4007
 
4063
- /* Photos sizing: top layout */
4064
- .muka-tile--image-top .muka-tile__photos {
4065
- width: 100%;
4008
+ .muka-textarea__field--lg .muka-textarea__native {
4009
+ font-family: var(--text-input-lg-fontFamily);
4010
+ font-weight: var(--text-input-lg-fontWeight);
4011
+ font-size: var(--text-input-lg-fontSize);
4012
+ line-height: var(--text-input-lg-lineHeight);
4066
4013
  }
4067
4014
 
4068
- /* Photos sizing: left/right large */
4069
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4070
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4071
- width: 520px;
4015
+ .muka-textarea__native::placeholder {
4016
+ color: var(--color-text-subtle-default);
4072
4017
  }
4073
4018
 
4074
- /* Photos sizing: left/right medium */
4075
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4076
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4077
- width: 320px;
4019
+ .muka-textarea__field--disabled .muka-textarea__native {
4020
+ color: var(--input-field-color-disabled-foreground);
4021
+ cursor: not-allowed;
4078
4022
  }
4079
4023
 
4080
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
4081
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4082
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4083
- width: 80px;
4084
- align-self: stretch;
4024
+ /* Footer (helper/error + count) */
4025
+ .muka-textarea__footer {
4026
+ display: flex;
4027
+ justify-content: space-between;
4028
+ align-items: flex-start;
4029
+ gap: var(--spacing-2);
4085
4030
  }
4086
4031
 
4087
- /* ─── Main photo ──────────────────────────────────────── */
4088
-
4089
- .muka-tile__photo-main {
4090
- position: relative;
4091
- width: 100%;
4092
- overflow: hidden;
4093
- flex-shrink: 0;
4032
+ .muka-textarea__helper {
4033
+ font-family: var(--text-label-sm-regular-fontFamily);
4034
+ font-weight: var(--text-label-sm-regular-fontWeight);
4035
+ font-size: var(--text-label-sm-regular-fontSize);
4036
+ line-height: var(--text-label-sm-regular-lineHeight);
4037
+ color: var(--color-text-subtle-default);
4038
+ margin: 0;
4094
4039
  }
4095
4040
 
4096
- /* 16:9 aspect for lg and md */
4097
- .muka-tile--lg .muka-tile__photo-main,
4098
- .muka-tile--md .muka-tile__photo-main {
4099
- aspect-ratio: 1280 / 720;
4041
+ .muka-textarea__error {
4042
+ font-family: var(--text-label-sm-regular-fontFamily);
4043
+ font-weight: var(--text-label-sm-regular-fontWeight);
4044
+ font-size: var(--text-label-sm-regular-fontSize);
4045
+ line-height: var(--text-label-sm-regular-lineHeight);
4046
+ color: var(--color-state-error-default);
4047
+ margin: 0;
4100
4048
  }
4101
4049
 
4102
- /* 1:1 aspect for top + sm */
4103
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4104
- aspect-ratio: 1 / 1;
4050
+ .muka-textarea__count {
4051
+ font-family: var(--text-label-sm-regular-fontFamily);
4052
+ font-weight: var(--text-label-sm-regular-fontWeight);
4053
+ font-size: var(--text-label-sm-regular-fontSize);
4054
+ line-height: var(--text-label-sm-regular-lineHeight);
4055
+ color: var(--color-text-subtle-default);
4056
+ margin-left: auto;
4105
4057
  }
4106
4058
 
4107
- /* Fixed size for left/right + sm */
4108
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4109
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4110
- width: 80px;
4111
- height: 80px;
4112
- aspect-ratio: auto;
4059
+
4060
+ /* TextLink */
4061
+ /* TextLink Component Styles - Using Muka Design Tokens */
4062
+
4063
+ .muka-text-link {
4064
+ display: inline;
4065
+ cursor: pointer;
4066
+ text-decoration: underline;
4067
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4068
+ text-underline-offset: 0.2em;
4069
+ text-decoration-thickness: from-font;
4070
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4071
+ border-radius: var(--border-radius-sm);
4072
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4113
4073
  }
4114
4074
 
4115
- .muka-tile__photo-main img {
4116
- width: 100%;
4117
- height: 100%;
4118
- object-fit: cover;
4119
- display: block;
4075
+ /* ─── Sizes ───────────────────────────────────────────────
4076
+ Mirrors the body text scale so a link matches the copy it sits in. */
4077
+ .muka-text-link--sm {
4078
+ font-family: var(--text-body-sm-regular-fontFamily);
4079
+ font-weight: var(--text-body-sm-regular-fontWeight);
4080
+ font-size: var(--text-body-sm-regular-fontSize);
4081
+ line-height: var(--text-body-sm-regular-lineHeight);
4120
4082
  }
4121
4083
 
4122
- /* ─── Favourite overlay ───────────────────────────────── */
4084
+ .muka-text-link--base {
4085
+ font-family: var(--text-body-base-regular-fontFamily);
4086
+ font-weight: var(--text-body-base-regular-fontWeight);
4087
+ font-size: var(--text-body-base-regular-fontSize);
4088
+ line-height: var(--text-body-base-regular-lineHeight);
4089
+ }
4123
4090
 
4124
- .muka-tile__favourite {
4125
- position: absolute;
4126
- z-index: 3;
4091
+ .muka-text-link--lg {
4092
+ font-family: var(--text-body-lg-regular-fontFamily);
4093
+ font-weight: var(--text-body-lg-regular-fontWeight);
4094
+ font-size: var(--text-body-lg-regular-fontSize);
4095
+ line-height: var(--text-body-lg-regular-lineHeight);
4127
4096
  }
4128
4097
 
4129
- .muka-tile--lg .muka-tile__favourite,
4130
- .muka-tile--md .muka-tile__favourite {
4131
- top: var(--spacing-4);
4132
- right: var(--spacing-4);
4098
+ /* ─── Variant: default (accent) ───────────────────────────
4099
+ Visited repeats the default colour on purpose: the design treats visited and
4100
+ default the same, and pinning it stops the browser's purple from showing. */
4101
+ .muka-text-link--default,
4102
+ .muka-text-link--default:visited {
4103
+ color: var(--color-text-action-default);
4133
4104
  }
4134
4105
 
4135
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4136
- top: var(--spacing-1);
4137
- right: var(--spacing-1);
4106
+ .muka-text-link--default:hover,
4107
+ .muka-text-link--default:focus-visible {
4108
+ color: var(--color-text-action-hover);
4138
4109
  }
4139
4110
 
4140
- /* ─── Thumbnails ──────────────────────────────────────── */
4111
+ .muka-text-link--default:active {
4112
+ color: var(--color-text-action-pressed);
4113
+ }
4141
4114
 
4142
- .muka-tile__thumbnails {
4143
- display: flex;
4144
- gap: 2px;
4145
- overflow: hidden;
4146
- flex-shrink: 0;
4147
- height: 80px;
4115
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4116
+ Hover, focus and pressed all darken to the default text colour. */
4117
+ .muka-text-link--subtle,
4118
+ .muka-text-link--subtle:visited {
4119
+ color: var(--color-text-subtle-default);
4148
4120
  }
4149
4121
 
4150
- .muka-tile__thumbnail {
4151
- width: 80px;
4152
- height: 80px;
4153
- flex-shrink: 0;
4154
- overflow: hidden;
4122
+ .muka-text-link--subtle:hover,
4123
+ .muka-text-link--subtle:focus-visible,
4124
+ .muka-text-link--subtle:active {
4125
+ color: var(--color-text-default-default);
4155
4126
  }
4156
4127
 
4157
- .muka-tile__thumbnail img {
4158
- width: 100%;
4159
- height: 100%;
4160
- object-fit: cover;
4161
- display: block;
4128
+ /* ─── Focus ───────────────────────────────────────────────
4129
+ Same ring as every other focusable Muka component. */
4130
+ .muka-text-link:focus-visible {
4131
+ outline: 2px solid var(--color-border-focus);
4132
+ outline-offset: 2px;
4162
4133
  }
4163
4134
 
4164
- /* Gap between main photo and thumbnails */
4165
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4166
- margin-top: 2px;
4135
+ @media (prefers-reduced-motion: reduce) {
4136
+ .muka-text-link {
4137
+ transition: none;
4138
+ }
4167
4139
  }
4168
4140
 
4169
- /* ─── Content section ─────────────────────────────────── */
4170
4141
 
4171
- .muka-tile__content {
4142
+ /* Tabs */
4143
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
4144
+
4145
+ .muka-tabs {
4172
4146
  display: flex;
4173
4147
  flex-direction: column;
4174
- flex: 1;
4175
- min-width: 0;
4176
- }
4177
-
4178
- /* Top layout: content has horizontal padding */
4179
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4180
- padding: 0 var(--spacing-3);
4181
- gap: var(--spacing-1);
4182
4148
  }
4183
4149
 
4184
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
4185
- padding: 0 var(--spacing-3);
4186
- gap: var(--spacing-2);
4150
+ /* Alignment Variants */
4151
+ .muka-tabs--align-left .muka-tabs__list {
4152
+ justify-content: flex-start;
4187
4153
  }
4188
-
4189
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4190
- gap: var(--spacing-2);
4154
+ .muka-tabs--align-center .muka-tabs__list {
4155
+ justify-content: center;
4191
4156
  }
4192
-
4193
- /* Left/right layout: content grows to fill space */
4194
- .muka-tile--image-left .muka-tile__content,
4195
- .muka-tile--image-right .muka-tile__content {
4196
- gap: var(--spacing-3);
4157
+ .muka-tabs--align-fill .muka-tabs__list {
4158
+ justify-content: space-between;
4197
4159
  }
4198
-
4199
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4200
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4201
- padding: 0 var(--spacing-3);
4160
+ .muka-tabs--align-fill .muka-tabs__trigger {
4161
+ flex: 1;
4202
4162
  }
4203
4163
 
4204
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
4205
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
4206
- padding: var(--spacing-2) var(--spacing-3);
4164
+ /* Tab List — strip container */
4165
+ .muka-tabs__list {
4166
+ display: flex;
4167
+ align-items: center;
4168
+ position: relative;
4169
+ z-index: 2;
4170
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
4207
4171
  }
4208
4172
 
4209
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4210
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4211
- gap: var(--spacing-2);
4173
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
4174
+ .muka-tabs--padding-default .muka-tabs__list {
4175
+ padding-inline: var(--tabs-list-padding-x);
4212
4176
  }
4213
4177
 
4214
- /* ─── Header (heading row + price) ────────────────────── */
4178
+ /* Tab Trigger — clean underline style */
4179
+ .muka-tabs__trigger {
4180
+ display: inline-flex;
4181
+ align-items: center;
4182
+ justify-content: center;
4183
+ gap: var(--spacing-1);
4184
+ background: transparent;
4185
+ border: none;
4186
+ cursor: pointer;
4187
+ user-select: none;
4188
+ transition: background-color 0.2s ease, color 0.2s ease;
4189
+ outline: none;
4190
+ white-space: nowrap;
4191
+ position: relative;
4192
+ z-index: 2;
4193
+ color: var(--tabs-trigger-color-default-foreground);
4215
4194
 
4216
- .muka-tile__header {
4217
- display: flex;
4218
- align-items: flex-start;
4219
- gap: var(--spacing-4);
4195
+ /* Default MD size values */
4196
+ min-height: var(--tabs-trigger-min-height-md);
4197
+ padding: var(--spacing-3);
4198
+ font-family: var(--text-label-md-regular-fontFamily);
4199
+ font-weight: var(--text-label-md-regular-fontWeight);
4200
+ font-size: var(--text-label-md-regular-fontSize);
4201
+ line-height: var(--text-label-md-regular-lineHeight);
4220
4202
  }
4221
4203
 
4222
- /* Small horizontal: row with text and action */
4223
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4224
- gap: var(--spacing-2);
4225
- align-items: center;
4226
- padding-top: var(--spacing-1);
4204
+ /* Size Variants */
4205
+ .muka-tabs--size-sm .muka-tabs__trigger {
4206
+ min-height: var(--tabs-trigger-min-height-sm);
4207
+ padding: 0 var(--spacing-2);
4208
+ font-family: var(--text-label-sm-regular-fontFamily);
4209
+ font-weight: var(--text-label-sm-regular-fontWeight);
4210
+ font-size: var(--text-label-sm-regular-fontSize);
4211
+ line-height: var(--text-label-sm-regular-lineHeight);
4227
4212
  }
4228
4213
 
4229
- /* ─── Text group ──────────────────────────────────────── */
4230
-
4231
- .muka-tile__text {
4232
- display: flex;
4233
- flex-direction: column;
4234
- flex: 1;
4235
- min-width: 0;
4236
- gap: var(--spacing-2);
4214
+ .muka-tabs--size-lg .muka-tabs__trigger {
4215
+ min-height: var(--tabs-trigger-min-height-lg);
4216
+ padding: var(--spacing-4);
4217
+ font-family: var(--text-label-lg-regular-fontFamily);
4218
+ font-weight: var(--text-label-lg-regular-fontWeight);
4219
+ font-size: var(--text-label-lg-regular-fontSize);
4220
+ line-height: var(--text-label-lg-regular-lineHeight);
4237
4221
  }
4238
4222
 
4239
- /* ─── Heading typography ──────────────────────────────── */
4240
-
4241
- .muka-tile__heading {
4242
- margin: 0;
4223
+ /* Hover state */
4224
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4225
+ color: var(--tabs-trigger-color-hover-foreground);
4243
4226
  }
4244
4227
 
4245
- .muka-tile--lg .muka-tile__heading {
4246
- font-family: var(--text-label-2xl-semibold-fontFamily);
4247
- font-weight: var(--text-label-2xl-semibold-fontWeight);
4248
- font-size: var(--text-label-2xl-semibold-fontSize);
4249
- line-height: var(--text-label-2xl-semibold-lineHeight);
4250
- color: var(--color-text-default-default);
4228
+ /* Current tab */
4229
+ .muka-tabs__trigger--current {
4230
+ color: var(--tabs-trigger-color-current-foreground);
4251
4231
  }
4252
4232
 
4253
- .muka-tile--md .muka-tile__heading {
4254
- font-family: var(--text-label-xl-semibold-fontFamily);
4255
- font-weight: var(--text-label-xl-semibold-fontWeight);
4256
- font-size: var(--text-label-xl-semibold-fontSize);
4257
- line-height: var(--text-label-xl-semibold-lineHeight);
4258
- color: var(--color-text-default-default);
4233
+ /* Active bottom border (underline) */
4234
+ .muka-tabs__trigger--current::after {
4235
+ content: '';
4236
+ position: absolute;
4237
+ bottom: -1px; /* Overlap the 1px border */
4238
+ left: 0;
4239
+ right: 0;
4240
+ height: var(--tabs-indicator-height-md);
4241
+ background-color: var(--tabs-indicator-color);
4242
+ border-bottom-left-radius: 1px;
4243
+ border-bottom-right-radius: 1px;
4244
+ border-top-left-radius: 3px;
4245
+ border-top-right-radius: 3px;
4246
+ z-index: 3;
4259
4247
  }
4260
4248
 
4261
- .muka-tile--sm .muka-tile__heading {
4262
- font-family: var(--text-label-lg-bold-fontFamily);
4263
- font-weight: var(--text-label-lg-bold-fontWeight);
4264
- font-size: var(--text-label-lg-bold-fontSize);
4265
- line-height: var(--text-label-lg-bold-lineHeight);
4266
- color: var(--color-text-default-default);
4249
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4250
+ height: var(--tabs-indicator-height-sm);
4267
4251
  }
4268
-
4269
- /* ─── Subheading typography ───────────────────────────── */
4270
-
4271
- .muka-tile__subheading {
4272
- margin: 0;
4273
- color: var(--color-text-subtle-default);
4252
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4253
+ height: var(--tabs-indicator-height-lg);
4274
4254
  }
4275
4255
 
4276
- .muka-tile--lg .muka-tile__subheading {
4277
- font-family: var(--text-subheading-md-fontFamily);
4278
- font-weight: var(--text-subheading-md-fontWeight);
4279
- font-size: var(--text-subheading-md-fontSize);
4280
- line-height: var(--text-subheading-md-lineHeight);
4256
+ .muka-tabs__trigger--disabled {
4257
+ color: var(--tabs-trigger-color-disabled-foreground);
4258
+ cursor: not-allowed;
4281
4259
  }
4282
4260
 
4283
- .muka-tile--md .muka-tile__subheading,
4284
- .muka-tile--sm .muka-tile__subheading {
4285
- font-family: var(--text-subheading-sm-fontFamily);
4286
- font-weight: var(--text-subheading-sm-fontWeight);
4287
- font-size: var(--text-subheading-sm-fontSize);
4288
- line-height: var(--text-subheading-sm-lineHeight);
4261
+ .muka-tabs__trigger:focus-visible {
4262
+ outline: 2px solid var(--color-border-focus);
4263
+ outline-offset: -2px;
4289
4264
  }
4290
4265
 
4291
- /* ─── Description typography ──────────────────────────── */
4266
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4267
+ item sits 12px from the text */
4268
+ .muka-tabs__label {
4269
+ padding: 0 var(--spacing-2);
4270
+ }
4292
4271
 
4293
- .muka-tile__description {
4294
- margin: 0;
4295
- color: var(--color-text-default-default);
4272
+ /* Leading item: icon, avatar, avatar group or data pie chart */
4273
+ .muka-tabs__leading {
4274
+ display: flex;
4275
+ align-items: center;
4276
+ justify-content: center;
4277
+ flex-shrink: 0;
4278
+ }
4279
+ .muka-tabs__trigger .muka-icon {
4280
+ color: inherit;
4296
4281
  }
4282
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
4283
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
4284
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4285
+ .muka-tabs--size-md .muka-tabs__leading > svg,
4286
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4287
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
4288
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4297
4289
 
4298
- .muka-tile--lg .muka-tile__description {
4299
- font-family: var(--text-body-lg-regular-fontFamily);
4300
- font-weight: var(--text-body-lg-regular-fontWeight);
4301
- font-size: var(--text-body-lg-regular-fontSize);
4302
- line-height: var(--text-body-lg-regular-lineHeight);
4290
+ /* Responsive Scroll behavior on small screens */
4291
+ @media (max-width: 768px) {
4292
+ .muka-tabs__list {
4293
+ /* Make scrollable */
4294
+ overflow-x: auto;
4295
+ overflow-y: hidden;
4296
+ /* Force left alignment on mobile to prevent clipping when scrolling */
4297
+ justify-content: flex-start !important;
4298
+ max-width: 100vw;
4299
+ -webkit-overflow-scrolling: touch;
4300
+ /* Hide scrollbar for cleaner look */
4301
+ scrollbar-width: none;
4302
+ }
4303
+ .muka-tabs__list::-webkit-scrollbar {
4304
+ display: none;
4305
+ }
4306
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4307
+ .muka-tabs--align-fill .muka-tabs__trigger {
4308
+ flex: 0 0 auto;
4309
+ }
4303
4310
  }
4304
4311
 
4305
- .muka-tile--md .muka-tile__description,
4306
- .muka-tile--sm .muka-tile__description {
4312
+ /* Tab Panel — content area */
4313
+ .muka-tabs__panel {
4314
+ background-color: var(--tabs-panel-background);
4315
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4316
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4317
+ padding: var(--spacing-4);
4318
+ position: relative;
4319
+ z-index: 1;
4307
4320
  font-family: var(--text-body-base-regular-fontFamily);
4308
4321
  font-weight: var(--text-body-base-regular-fontWeight);
4309
4322
  font-size: var(--text-body-base-regular-fontSize);
4310
4323
  line-height: var(--text-body-base-regular-lineHeight);
4311
4324
  }
4312
4325
 
4313
- /* Description overflow for medium */
4314
- .muka-tile--md .muka-tile__description {
4315
- overflow: hidden;
4316
- text-overflow: ellipsis;
4317
- }
4318
-
4319
- /* ─── Price slot ──────────────────────────────────────── */
4320
-
4321
- .muka-tile__price {
4322
- flex-shrink: 0;
4323
- }
4324
-
4325
- /* ─── Action slot ─────────────────────────────────────── */
4326
-
4327
- .muka-tile__action {
4328
- flex-shrink: 0;
4326
+ .muka-tabs__panel:focus-visible {
4327
+ outline: 2px solid var(--color-border-focus);
4328
+ outline-offset: 2px;
4329
4329
  }
4330
4330
 
4331
4331
 
@@ -5908,6 +5908,133 @@ body {
5908
5908
  }
5909
5909
 
5910
5910
 
5911
+ /* Scrollbar */
5912
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5913
+
5914
+ .muka-scrollbar {
5915
+ display: flex;
5916
+ flex-shrink: 0;
5917
+ border-left: var(--border-width-regular) solid var(--color-border-default);
5918
+ background-color: var(--color-surface-level3);
5919
+ user-select: none;
5920
+ }
5921
+
5922
+ .muka-scrollbar--vertical {
5923
+ flex-direction: column;
5924
+ width: var(--size-2xl, 32px);
5925
+ align-self: stretch;
5926
+ }
5927
+
5928
+ .muka-scrollbar--horizontal {
5929
+ flex-direction: row;
5930
+ height: var(--size-2xl, 32px);
5931
+ width: 100%;
5932
+ border-left: none;
5933
+ border-top: var(--border-width-regular) solid var(--color-border-default);
5934
+ }
5935
+
5936
+ .muka-scrollbar__button {
5937
+ display: flex;
5938
+ align-items: center;
5939
+ justify-content: center;
5940
+ flex-shrink: 0;
5941
+ width: 100%;
5942
+ height: var(--size-2xl, 32px);
5943
+ padding: 0;
5944
+ border: none;
5945
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5946
+ color: var(--color-text-default-default);
5947
+ cursor: pointer;
5948
+ }
5949
+
5950
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
5951
+ width: var(--size-2xl, 32px);
5952
+ height: 100%;
5953
+ }
5954
+
5955
+ .muka-scrollbar__button:hover {
5956
+ background-color: var(--color-surface-hover);
5957
+ }
5958
+
5959
+ .muka-scrollbar__divider {
5960
+ flex-shrink: 0;
5961
+ width: 100%;
5962
+ height: 1px;
5963
+ background-color: var(--color-border-default);
5964
+ }
5965
+
5966
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
5967
+ width: 1px;
5968
+ height: 100%;
5969
+ }
5970
+
5971
+ .muka-scrollbar__track {
5972
+ position: relative;
5973
+ display: flex;
5974
+ flex-direction: column;
5975
+ flex: 1 1 auto;
5976
+ min-height: 0;
5977
+ width: 100%;
5978
+ }
5979
+
5980
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
5981
+ flex-direction: row;
5982
+ min-width: 0;
5983
+ height: 100%;
5984
+ }
5985
+
5986
+ .muka-scrollbar__thumb {
5987
+ position: absolute;
5988
+ left: 0;
5989
+ top: 0;
5990
+ z-index: 1;
5991
+ display: flex;
5992
+ align-items: center;
5993
+ justify-content: center;
5994
+ width: 100%;
5995
+ /* Figma: scrollbar thumb fill = surface/level3 */
5996
+ background-color: var(--color-surface-level3);
5997
+ cursor: grab;
5998
+ touch-action: none;
5999
+ }
6000
+
6001
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6002
+ left: 0;
6003
+ top: 0;
6004
+ width: auto;
6005
+ height: 100%;
6006
+ margin-left: 0;
6007
+ margin-top: 0;
6008
+ }
6009
+
6010
+ .muka-scrollbar__thumb:active {
6011
+ cursor: grabbing;
6012
+ }
6013
+
6014
+ .muka-scrollbar__grip {
6015
+ display: flex;
6016
+ flex-direction: column;
6017
+ gap: 2px;
6018
+ width: 14px;
6019
+ }
6020
+
6021
+ .muka-scrollbar__grip::before,
6022
+ .muka-scrollbar__grip::after {
6023
+ content: '';
6024
+ display: block;
6025
+ width: 100%;
6026
+ height: 2px;
6027
+ border-radius: var(--border-radius-md);
6028
+ background-color: var(--color-text-subtle-default);
6029
+ }
6030
+
6031
+ .muka-scrollbar__spacer {
6032
+ flex: 1 1 auto;
6033
+ min-height: 0;
6034
+ background-color: var(--color-surface-level2);
6035
+ }
6036
+
6037
+
5911
6038
  /* SearchInput */
5912
6039
  /* SearchInput Component Styles */
5913
6040
 
@@ -6046,161 +6173,34 @@ body {
6046
6173
 
6047
6174
  .muka-search-input__clear:focus-visible {
6048
6175
  outline: 2px solid var(--color-action-default);
6049
- outline-offset: 2px;
6050
- border-radius: 50%;
6051
- }
6052
-
6053
- /* ─── Cancel button ───────────────────────────────────── */
6054
-
6055
- .muka-search-input__cancel {
6056
- flex-shrink: 0;
6057
- background: none;
6058
- border: none;
6059
- padding: var(--spacing-1) var(--spacing-2);
6060
- cursor: pointer;
6061
- color: var(--color-action-default);
6062
- font-family: var(--text-label-md-regular-fontFamily);
6063
- font-weight: var(--text-label-md-regular-fontWeight);
6064
- font-size: var(--text-label-md-regular-fontSize);
6065
- line-height: var(--text-label-md-regular-lineHeight);
6066
- -webkit-tap-highlight-color: transparent;
6067
- }
6068
-
6069
- .muka-search-input__cancel:hover {
6070
- color: var(--color-action-hover);
6071
- }
6072
-
6073
- .muka-search-input__cancel:focus-visible {
6074
- outline: 2px solid var(--color-action-default);
6075
- outline-offset: 2px;
6076
- border-radius: var(--radius-sm);
6077
- }
6078
-
6079
-
6080
- /* Scrollbar */
6081
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6082
-
6083
- .muka-scrollbar {
6084
- display: flex;
6085
- flex-shrink: 0;
6086
- border-left: var(--border-width-regular) solid var(--color-border-default);
6087
- background-color: var(--color-surface-level3);
6088
- user-select: none;
6089
- }
6090
-
6091
- .muka-scrollbar--vertical {
6092
- flex-direction: column;
6093
- width: var(--size-2xl, 32px);
6094
- align-self: stretch;
6095
- }
6096
-
6097
- .muka-scrollbar--horizontal {
6098
- flex-direction: row;
6099
- height: var(--size-2xl, 32px);
6100
- width: 100%;
6101
- border-left: none;
6102
- border-top: var(--border-width-regular) solid var(--color-border-default);
6103
- }
6104
-
6105
- .muka-scrollbar__button {
6106
- display: flex;
6107
- align-items: center;
6108
- justify-content: center;
6109
- flex-shrink: 0;
6110
- width: 100%;
6111
- height: var(--size-2xl, 32px);
6112
- padding: 0;
6113
- border: none;
6114
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6115
- color: var(--color-text-default-default);
6116
- cursor: pointer;
6117
- }
6118
-
6119
- .muka-scrollbar--horizontal .muka-scrollbar__button {
6120
- width: var(--size-2xl, 32px);
6121
- height: 100%;
6122
- }
6123
-
6124
- .muka-scrollbar__button:hover {
6125
- background-color: var(--color-surface-hover);
6126
- }
6127
-
6128
- .muka-scrollbar__divider {
6129
- flex-shrink: 0;
6130
- width: 100%;
6131
- height: 1px;
6132
- background-color: var(--color-border-default);
6133
- }
6134
-
6135
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
6136
- width: 1px;
6137
- height: 100%;
6138
- }
6139
-
6140
- .muka-scrollbar__track {
6141
- position: relative;
6142
- display: flex;
6143
- flex-direction: column;
6144
- flex: 1 1 auto;
6145
- min-height: 0;
6146
- width: 100%;
6147
- }
6148
-
6149
- .muka-scrollbar--horizontal .muka-scrollbar__track {
6150
- flex-direction: row;
6151
- min-width: 0;
6152
- height: 100%;
6153
- }
6154
-
6155
- .muka-scrollbar__thumb {
6156
- position: absolute;
6157
- left: 0;
6158
- top: 0;
6159
- z-index: 1;
6160
- display: flex;
6161
- align-items: center;
6162
- justify-content: center;
6163
- width: 100%;
6164
- /* Figma: scrollbar thumb fill = surface/level3 */
6165
- background-color: var(--color-surface-level3);
6166
- cursor: grab;
6167
- touch-action: none;
6168
- }
6169
-
6170
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6171
- left: 0;
6172
- top: 0;
6173
- width: auto;
6174
- height: 100%;
6175
- margin-left: 0;
6176
- margin-top: 0;
6176
+ outline-offset: 2px;
6177
+ border-radius: 50%;
6177
6178
  }
6178
6179
 
6179
- .muka-scrollbar__thumb:active {
6180
- cursor: grabbing;
6181
- }
6180
+ /* ─── Cancel button ───────────────────────────────────── */
6182
6181
 
6183
- .muka-scrollbar__grip {
6184
- display: flex;
6185
- flex-direction: column;
6186
- gap: 2px;
6187
- width: 14px;
6182
+ .muka-search-input__cancel {
6183
+ flex-shrink: 0;
6184
+ background: none;
6185
+ border: none;
6186
+ padding: var(--spacing-1) var(--spacing-2);
6187
+ cursor: pointer;
6188
+ color: var(--color-action-default);
6189
+ font-family: var(--text-label-md-regular-fontFamily);
6190
+ font-weight: var(--text-label-md-regular-fontWeight);
6191
+ font-size: var(--text-label-md-regular-fontSize);
6192
+ line-height: var(--text-label-md-regular-lineHeight);
6193
+ -webkit-tap-highlight-color: transparent;
6188
6194
  }
6189
6195
 
6190
- .muka-scrollbar__grip::before,
6191
- .muka-scrollbar__grip::after {
6192
- content: '';
6193
- display: block;
6194
- width: 100%;
6195
- height: 2px;
6196
- border-radius: var(--border-radius-md);
6197
- background-color: var(--color-text-subtle-default);
6196
+ .muka-search-input__cancel:hover {
6197
+ color: var(--color-action-hover);
6198
6198
  }
6199
6199
 
6200
- .muka-scrollbar__spacer {
6201
- flex: 1 1 auto;
6202
- min-height: 0;
6203
- background-color: var(--color-surface-level2);
6200
+ .muka-search-input__cancel:focus-visible {
6201
+ outline: 2px solid var(--color-action-default);
6202
+ outline-offset: 2px;
6203
+ border-radius: var(--radius-sm);
6204
6204
  }
6205
6205
 
6206
6206
 
@@ -14171,6 +14171,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
14171
14171
  flex-shrink: 0;
14172
14172
  }
14173
14173
 
14174
+ /* Touch devices have emoji on their keyboard: no button there, unless the app
14175
+ keeps it with `emojiOnTouch`. */
14176
+ @media (pointer: coarse) {
14177
+ .muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
14178
+ display: none;
14179
+ }
14180
+ }
14181
+
14174
14182
  /* ─── Recording bar ────────────────────────────────────── */
14175
14183
 
14176
14184
  .muka-chat-composer__recording {
@@ -14255,9 +14263,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
14255
14263
  width: 100%;
14256
14264
  }
14257
14265
 
14266
+ /*
14267
+ * Many choices (a phone with seven options) would push the field and the step
14268
+ * footer off screen. The card gets a height limit and scrolls on its own, so
14269
+ * the prompt, the field and the footer stay in view.
14270
+ */
14258
14271
  .muka-chat-composer__choices-card {
14259
14272
  width: 100%;
14260
- overflow: hidden;
14273
+ max-height: 45dvh;
14274
+ overflow-x: hidden;
14275
+ overflow-y: auto;
14276
+ overscroll-behavior: contain;
14277
+ }
14278
+
14279
+ /* A choice is one short line, not a navigation row: compact padding. */
14280
+ .muka-chat-composer__choice.muka-listitem {
14281
+ align-items: center;
14282
+ padding-block: var(--spacing-3);
14261
14283
  }
14262
14284
 
14263
14285
  /* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
@@ -16256,241 +16278,30 @@ button.muka-chat-photo-grid__tile:focus-visible {
16256
16278
  }
16257
16279
  .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16258
16280
  .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16259
- height: calc(100dvh - var(--app-shell-appbar-height));
16260
- }
16261
- }
16262
-
16263
- /* ─── Large tier (forced via size="lg") ─── */
16264
- .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16265
- display: block;
16266
- }
16267
- .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16268
- padding-left: var(--app-shell-sidebar-width);
16269
- }
16270
- .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16271
- display: flex;
16272
- }
16273
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16274
- padding-top: var(--app-shell-appbar-height);
16275
- }
16276
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16277
- top: var(--app-shell-appbar-height);
16278
- height: calc(100vh - var(--app-shell-appbar-height));
16279
- }
16280
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16281
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16282
- height: calc(100dvh - var(--app-shell-appbar-height));
16283
- }
16284
-
16285
-
16286
- /* Alert */
16287
- /* Alert Component Styles - Using Muka Design Tokens */
16288
-
16289
- .muka-alert {
16290
- display: flex;
16291
- align-items: flex-start;
16292
- border-radius: var(--alert-radius);
16293
- border: none;
16294
- gap: var(--alert-gap);
16295
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16296
- }
16297
-
16298
- /* Size variants */
16299
- .muka-alert--sm {
16300
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16301
- }
16302
-
16303
- .muka-alert--md {
16304
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16305
- }
16306
-
16307
- .muka-alert--lg {
16308
- padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16309
- }
16310
-
16311
- /* Variant: Info */
16312
- .muka-alert--info {
16313
- background-color: var(--alert-color-info-background);
16314
- color: var(--alert-color-info-foreground);
16315
- }
16316
-
16317
- .muka-alert--info .muka-alert__icon {
16318
- color: var(--alert-color-info-accent);
16319
- }
16320
-
16321
- .muka-alert--info .muka-alert__title {
16322
- color: var(--alert-color-info-accent);
16323
- }
16324
-
16325
- .muka-alert--info .muka-alert__dismiss {
16326
- color: var(--alert-color-info-accent);
16327
- }
16328
-
16329
- /* Variant: Success */
16330
- .muka-alert--success {
16331
- background-color: var(--alert-color-success-background);
16332
- color: var(--alert-color-success-foreground);
16333
- }
16334
-
16335
- .muka-alert--success .muka-alert__icon {
16336
- color: var(--alert-color-success-accent);
16337
- }
16338
-
16339
- .muka-alert--success .muka-alert__title {
16340
- color: var(--alert-color-success-accent);
16341
- }
16342
-
16343
- .muka-alert--success .muka-alert__dismiss {
16344
- color: var(--alert-color-success-accent);
16345
- }
16346
-
16347
- /* Variant: Warning */
16348
- .muka-alert--warning {
16349
- background-color: var(--alert-color-warning-background);
16350
- color: var(--alert-color-warning-foreground);
16351
- }
16352
-
16353
- .muka-alert--warning .muka-alert__icon {
16354
- color: var(--alert-color-warning-accent);
16355
- }
16356
-
16357
- .muka-alert--warning .muka-alert__title {
16358
- color: var(--alert-color-warning-accent);
16359
- }
16360
-
16361
- .muka-alert--warning .muka-alert__dismiss {
16362
- color: var(--alert-color-warning-accent);
16363
- }
16364
-
16365
- /* Variant: Error */
16366
- .muka-alert--error {
16367
- background-color: var(--alert-color-error-background);
16368
- color: var(--alert-color-error-foreground);
16369
- }
16370
-
16371
- .muka-alert--error .muka-alert__icon {
16372
- color: var(--alert-color-error-accent);
16373
- }
16374
-
16375
- .muka-alert--error .muka-alert__title {
16376
- color: var(--alert-color-error-accent);
16377
- }
16378
-
16379
- .muka-alert--error .muka-alert__dismiss {
16380
- color: var(--alert-color-error-accent);
16381
- }
16382
-
16383
- /* Icon */
16384
- .muka-alert__icon {
16385
- display: flex;
16386
- align-items: center;
16387
- justify-content: center;
16388
- flex-shrink: 0;
16389
- width: var(--alert-icon-size);
16390
- height: var(--alert-icon-size);
16391
- }
16392
-
16393
- .muka-alert__icon svg {
16394
- width: 100%;
16395
- height: 100%;
16396
- }
16397
-
16398
- /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16399
- their container, overriding the Icon component's default color. */
16400
- .muka-alert__icon .muka-icon,
16401
- .muka-alert__dismiss .muka-icon {
16402
- color: inherit;
16403
- }
16404
-
16405
- /* Content */
16406
- .muka-alert__content {
16407
- flex: 1;
16408
- min-width: 0;
16409
- }
16410
-
16411
- .muka-alert__title {
16412
- font-family: var(--text-label-md-semibold-fontFamily);
16413
- font-weight: var(--text-label-md-semibold-fontWeight);
16414
- font-size: var(--text-label-md-semibold-fontSize);
16415
- line-height: var(--text-label-md-semibold-lineHeight);
16416
- margin-bottom: var(--spacing-1);
16417
- }
16418
-
16419
- .muka-alert--sm .muka-alert__title {
16420
- font-family: var(--text-label-sm-semibold-fontFamily);
16421
- font-weight: var(--text-label-sm-semibold-fontWeight);
16422
- font-size: var(--text-label-sm-semibold-fontSize);
16423
- line-height: var(--text-label-sm-semibold-lineHeight);
16424
- }
16425
-
16426
- .muka-alert--lg .muka-alert__title {
16427
- font-family: var(--text-label-lg-semibold-fontFamily);
16428
- font-weight: var(--text-label-lg-semibold-fontWeight);
16429
- font-size: var(--text-label-lg-semibold-fontSize);
16430
- line-height: var(--text-label-lg-semibold-lineHeight);
16431
- }
16432
-
16433
- .muka-alert__message {
16434
- font-family: var(--text-body-sm-regular-fontFamily);
16435
- font-weight: var(--text-body-sm-regular-fontWeight);
16436
- font-size: var(--text-body-sm-regular-fontSize);
16437
- line-height: var(--text-body-sm-regular-lineHeight);
16438
- /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16439
- foreground stays readable in light and dark themes. */
16440
- color: inherit;
16441
- }
16442
-
16443
- .muka-alert .muka-alert__message,
16444
- .muka-alert .muka-alert__message * {
16445
- color: inherit;
16446
- }
16447
-
16448
- .muka-alert--lg .muka-alert__message {
16449
- font-family: var(--text-body-base-regular-fontFamily);
16450
- font-weight: var(--text-body-base-regular-fontWeight);
16451
- font-size: var(--text-body-base-regular-fontSize);
16452
- line-height: var(--text-body-base-regular-lineHeight);
16453
- }
16454
-
16455
- /* Action slot — TextLink (or similar) below the message, matching Figma */
16456
- .muka-alert__action {
16457
- display: flex;
16458
- flex-direction: column;
16459
- align-items: flex-start;
16460
- padding-top: var(--spacing-1);
16281
+ height: calc(100dvh - var(--app-shell-appbar-height));
16282
+ }
16461
16283
  }
16462
16284
 
16463
- /* Dismiss button - uses accent color per variant, aligned with icon row */
16464
- .muka-alert__dismiss {
16285
+ /* ─── Large tier (forced via size="lg") ─── */
16286
+ .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16287
+ display: block;
16288
+ }
16289
+ .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16290
+ padding-left: var(--app-shell-sidebar-width);
16291
+ }
16292
+ .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16465
16293
  display: flex;
16466
- align-items: center;
16467
- justify-content: center;
16468
- flex-shrink: 0;
16469
- align-self: flex-start;
16470
- width: 24px;
16471
- height: 24px;
16472
- padding: 0;
16473
- margin: 0 0 0 auto;
16474
- border: none;
16475
- background: transparent;
16476
- cursor: pointer;
16477
- border-radius: var(--border-radius-sm);
16478
- transition: opacity 0.15s ease, background-color 0.15s ease;
16479
16294
  }
16480
-
16481
- .muka-alert__dismiss:hover {
16482
- opacity: 0.85;
16483
- background-color: rgba(0, 0, 0, 0.05);
16295
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16296
+ padding-top: var(--app-shell-appbar-height);
16484
16297
  }
16485
-
16486
- .muka-alert__dismiss:focus-visible {
16487
- outline: 2px solid var(--color-border-focus);
16488
- outline-offset: 2px;
16298
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16299
+ top: var(--app-shell-appbar-height);
16300
+ height: calc(100vh - var(--app-shell-appbar-height));
16489
16301
  }
16490
-
16491
- .muka-alert__dismiss svg {
16492
- width: 16px;
16493
- height: 16px;
16302
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16303
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16304
+ height: calc(100dvh - var(--app-shell-appbar-height));
16494
16305
  }
16495
16306
 
16496
16307
 
@@ -16805,6 +16616,217 @@ button.muka-chat-photo-grid__tile:focus-visible {
16805
16616
  }
16806
16617
 
16807
16618
 
16619
+ /* Alert */
16620
+ /* Alert Component Styles - Using Muka Design Tokens */
16621
+
16622
+ .muka-alert {
16623
+ display: flex;
16624
+ align-items: flex-start;
16625
+ border-radius: var(--alert-radius);
16626
+ border: none;
16627
+ gap: var(--alert-gap);
16628
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16629
+ }
16630
+
16631
+ /* Size variants */
16632
+ .muka-alert--sm {
16633
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16634
+ }
16635
+
16636
+ .muka-alert--md {
16637
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16638
+ }
16639
+
16640
+ .muka-alert--lg {
16641
+ padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16642
+ }
16643
+
16644
+ /* Variant: Info */
16645
+ .muka-alert--info {
16646
+ background-color: var(--alert-color-info-background);
16647
+ color: var(--alert-color-info-foreground);
16648
+ }
16649
+
16650
+ .muka-alert--info .muka-alert__icon {
16651
+ color: var(--alert-color-info-accent);
16652
+ }
16653
+
16654
+ .muka-alert--info .muka-alert__title {
16655
+ color: var(--alert-color-info-accent);
16656
+ }
16657
+
16658
+ .muka-alert--info .muka-alert__dismiss {
16659
+ color: var(--alert-color-info-accent);
16660
+ }
16661
+
16662
+ /* Variant: Success */
16663
+ .muka-alert--success {
16664
+ background-color: var(--alert-color-success-background);
16665
+ color: var(--alert-color-success-foreground);
16666
+ }
16667
+
16668
+ .muka-alert--success .muka-alert__icon {
16669
+ color: var(--alert-color-success-accent);
16670
+ }
16671
+
16672
+ .muka-alert--success .muka-alert__title {
16673
+ color: var(--alert-color-success-accent);
16674
+ }
16675
+
16676
+ .muka-alert--success .muka-alert__dismiss {
16677
+ color: var(--alert-color-success-accent);
16678
+ }
16679
+
16680
+ /* Variant: Warning */
16681
+ .muka-alert--warning {
16682
+ background-color: var(--alert-color-warning-background);
16683
+ color: var(--alert-color-warning-foreground);
16684
+ }
16685
+
16686
+ .muka-alert--warning .muka-alert__icon {
16687
+ color: var(--alert-color-warning-accent);
16688
+ }
16689
+
16690
+ .muka-alert--warning .muka-alert__title {
16691
+ color: var(--alert-color-warning-accent);
16692
+ }
16693
+
16694
+ .muka-alert--warning .muka-alert__dismiss {
16695
+ color: var(--alert-color-warning-accent);
16696
+ }
16697
+
16698
+ /* Variant: Error */
16699
+ .muka-alert--error {
16700
+ background-color: var(--alert-color-error-background);
16701
+ color: var(--alert-color-error-foreground);
16702
+ }
16703
+
16704
+ .muka-alert--error .muka-alert__icon {
16705
+ color: var(--alert-color-error-accent);
16706
+ }
16707
+
16708
+ .muka-alert--error .muka-alert__title {
16709
+ color: var(--alert-color-error-accent);
16710
+ }
16711
+
16712
+ .muka-alert--error .muka-alert__dismiss {
16713
+ color: var(--alert-color-error-accent);
16714
+ }
16715
+
16716
+ /* Icon */
16717
+ .muka-alert__icon {
16718
+ display: flex;
16719
+ align-items: center;
16720
+ justify-content: center;
16721
+ flex-shrink: 0;
16722
+ width: var(--alert-icon-size);
16723
+ height: var(--alert-icon-size);
16724
+ }
16725
+
16726
+ .muka-alert__icon svg {
16727
+ width: 100%;
16728
+ height: 100%;
16729
+ }
16730
+
16731
+ /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16732
+ their container, overriding the Icon component's default color. */
16733
+ .muka-alert__icon .muka-icon,
16734
+ .muka-alert__dismiss .muka-icon {
16735
+ color: inherit;
16736
+ }
16737
+
16738
+ /* Content */
16739
+ .muka-alert__content {
16740
+ flex: 1;
16741
+ min-width: 0;
16742
+ }
16743
+
16744
+ .muka-alert__title {
16745
+ font-family: var(--text-label-md-semibold-fontFamily);
16746
+ font-weight: var(--text-label-md-semibold-fontWeight);
16747
+ font-size: var(--text-label-md-semibold-fontSize);
16748
+ line-height: var(--text-label-md-semibold-lineHeight);
16749
+ margin-bottom: var(--spacing-1);
16750
+ }
16751
+
16752
+ .muka-alert--sm .muka-alert__title {
16753
+ font-family: var(--text-label-sm-semibold-fontFamily);
16754
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16755
+ font-size: var(--text-label-sm-semibold-fontSize);
16756
+ line-height: var(--text-label-sm-semibold-lineHeight);
16757
+ }
16758
+
16759
+ .muka-alert--lg .muka-alert__title {
16760
+ font-family: var(--text-label-lg-semibold-fontFamily);
16761
+ font-weight: var(--text-label-lg-semibold-fontWeight);
16762
+ font-size: var(--text-label-lg-semibold-fontSize);
16763
+ line-height: var(--text-label-lg-semibold-lineHeight);
16764
+ }
16765
+
16766
+ .muka-alert__message {
16767
+ font-family: var(--text-body-sm-regular-fontFamily);
16768
+ font-weight: var(--text-body-sm-regular-fontWeight);
16769
+ font-size: var(--text-body-sm-regular-fontSize);
16770
+ line-height: var(--text-body-sm-regular-lineHeight);
16771
+ /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16772
+ foreground stays readable in light and dark themes. */
16773
+ color: inherit;
16774
+ }
16775
+
16776
+ .muka-alert .muka-alert__message,
16777
+ .muka-alert .muka-alert__message * {
16778
+ color: inherit;
16779
+ }
16780
+
16781
+ .muka-alert--lg .muka-alert__message {
16782
+ font-family: var(--text-body-base-regular-fontFamily);
16783
+ font-weight: var(--text-body-base-regular-fontWeight);
16784
+ font-size: var(--text-body-base-regular-fontSize);
16785
+ line-height: var(--text-body-base-regular-lineHeight);
16786
+ }
16787
+
16788
+ /* Action slot — TextLink (or similar) below the message, matching Figma */
16789
+ .muka-alert__action {
16790
+ display: flex;
16791
+ flex-direction: column;
16792
+ align-items: flex-start;
16793
+ padding-top: var(--spacing-1);
16794
+ }
16795
+
16796
+ /* Dismiss button - uses accent color per variant, aligned with icon row */
16797
+ .muka-alert__dismiss {
16798
+ display: flex;
16799
+ align-items: center;
16800
+ justify-content: center;
16801
+ flex-shrink: 0;
16802
+ align-self: flex-start;
16803
+ width: 24px;
16804
+ height: 24px;
16805
+ padding: 0;
16806
+ margin: 0 0 0 auto;
16807
+ border: none;
16808
+ background: transparent;
16809
+ cursor: pointer;
16810
+ border-radius: var(--border-radius-sm);
16811
+ transition: opacity 0.15s ease, background-color 0.15s ease;
16812
+ }
16813
+
16814
+ .muka-alert__dismiss:hover {
16815
+ opacity: 0.85;
16816
+ background-color: rgba(0, 0, 0, 0.05);
16817
+ }
16818
+
16819
+ .muka-alert__dismiss:focus-visible {
16820
+ outline: 2px solid var(--color-border-focus);
16821
+ outline-offset: 2px;
16822
+ }
16823
+
16824
+ .muka-alert__dismiss svg {
16825
+ width: 16px;
16826
+ height: 16px;
16827
+ }
16828
+
16829
+
16808
16830
  /* Accordion */
16809
16831
  /* Accordion Component Styles */
16810
16832