@revikornmann/muka-ui 0.50.0 → 0.50.1

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.
@@ -2609,9 +2609,11 @@ body {
2609
2609
  padding-right: env(safe-area-inset-right, 0px);
2610
2610
  }
2611
2611
 
2612
- /* Home indicator: a View without a footer pads its own body. A footer holds a
2613
- BottomBar, which pads itself, so the body must not do it twice. */
2614
- .muka-view__body:not(:has(.muka-view__footer)) {
2612
+ /* Home indicator: the body pads for it only when nothing inside does. A
2613
+ BottomBar pads itself, whether it sits in the footer slot or in the content
2614
+ (a chat composer pinned under a message list), so the body must not do it
2615
+ twice; doing so left a strip of body colour under the bar. */
2616
+ .muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
2615
2617
  padding-bottom: env(safe-area-inset-bottom, 0px);
2616
2618
  }
2617
2619
 
@@ -3541,795 +3543,795 @@ body {
3541
3543
  }
3542
3544
 
3543
3545
 
3544
- /* Tile */
3545
- /* Tile Component Styles - Using Muka Design Tokens */
3546
-
3547
- /* ─── Base ────────────────────────────────────────────── */
3548
-
3549
- .muka-tile {
3550
- display: flex;
3551
- color: var(--color-text-default-default);
3552
- }
3546
+ /* Thumbnail */
3547
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3553
3548
 
3554
- .muka-tile--interactive {
3555
- cursor: pointer;
3556
- user-select: none;
3549
+ .muka-thumbnail {
3550
+ position: relative;
3551
+ flex-shrink: 0;
3557
3552
  }
3558
3553
 
3559
- .muka-tile--interactive:focus-visible {
3560
- outline: 2px solid var(--color-border-focus);
3561
- outline-offset: 2px;
3554
+ /* The frame carries the border, background and shape clip. Keeping it separate
3555
+ from the root lets the remove (×) button sit outside the clip (needed for the
3556
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3557
+ .muka-thumbnail__frame {
3558
+ position: absolute;
3559
+ inset: 0;
3560
+ overflow: hidden;
3561
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3562
3562
  border-radius: var(--border-radius-lg);
3563
+ background-color: var(--color-surface-level1);
3563
3564
  }
3564
3565
 
3565
- /* ─── Image position variants ─────────────────────────── */
3566
+ /* ─── Shapes ──────────────────────────────────────────── */
3567
+ .muka-thumbnail--4-3 {
3568
+ width: 160px;
3569
+ height: 120px;
3570
+ }
3566
3571
 
3567
- .muka-tile--image-top {
3568
- flex-direction: column;
3572
+ .muka-thumbnail--1-1 {
3573
+ width: 120px;
3574
+ height: 120px;
3569
3575
  }
3570
3576
 
3571
- .muka-tile--image-left {
3572
- flex-direction: row;
3577
+ .muka-thumbnail--ellipse {
3578
+ width: 120px;
3579
+ height: 120px;
3573
3580
  }
3574
3581
 
3575
- .muka-tile--image-right {
3576
- flex-direction: row;
3582
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3583
+ .muka-thumbnail--fluid {
3584
+ width: 100%;
3585
+ height: auto;
3586
+ aspect-ratio: 1 / 1;
3577
3587
  }
3578
3588
 
3579
- /* ─── Gap by size (top) ───────────────────────────────── */
3589
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3590
+ aspect-ratio: 4 / 3;
3591
+ }
3580
3592
 
3581
- .muka-tile--image-top.muka-tile--lg {
3582
- gap: var(--spacing-6);
3593
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3594
+ border-radius: var(--border-radius-full);
3583
3595
  }
3584
3596
 
3585
- .muka-tile--image-top.muka-tile--md {
3586
- gap: var(--spacing-6);
3587
- width: 320px;
3597
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3598
+ interactive hover zoom has a clean origin. */
3599
+ .muka-thumbnail__image {
3600
+ position: absolute;
3601
+ inset: 0;
3602
+ width: 100%;
3603
+ height: 100%;
3604
+ object-fit: cover;
3605
+ display: block;
3606
+ transform-origin: center;
3607
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3608
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3588
3609
  }
3589
3610
 
3590
- .muka-tile--image-top.muka-tile--sm {
3591
- gap: var(--spacing-4);
3592
- min-width: 120px;
3611
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3612
+ .muka-thumbnail__trigger {
3613
+ position: absolute;
3614
+ inset: 0;
3615
+ padding: 0;
3616
+ border: 0;
3617
+ background: none;
3618
+ cursor: pointer;
3619
+ overflow: hidden;
3593
3620
  }
3594
3621
 
3595
- /* ─── Gap by size (left/right) ────────────────────────── */
3622
+ .muka-thumbnail__trigger:focus-visible {
3623
+ outline: 2px solid var(--color-border-focus);
3624
+ outline-offset: -2px;
3625
+ }
3596
3626
 
3597
- .muka-tile--image-left.muka-tile--lg,
3598
- .muka-tile--image-right.muka-tile--lg {
3599
- gap: var(--spacing-6);
3600
- align-items: center;
3627
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3628
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3629
+ transform: scale(1.05);
3601
3630
  }
3602
3631
 
3603
- .muka-tile--image-left.muka-tile--md,
3604
- .muka-tile--image-right.muka-tile--md {
3605
- gap: var(--spacing-6);
3632
+ /* ─── Loading overlay + progress donut ────────────────── */
3633
+ .muka-thumbnail__overlay {
3634
+ position: absolute;
3635
+ inset: 0;
3636
+ display: flex;
3606
3637
  align-items: center;
3638
+ justify-content: center;
3639
+ background-color: var(--dialog-color-backdrop);
3607
3640
  }
3608
3641
 
3609
- .muka-tile--image-left.muka-tile--sm,
3610
- .muka-tile--image-right.muka-tile--sm {
3611
- gap: var(--spacing-4);
3612
- align-items: flex-start;
3642
+ .muka-thumbnail__progress {
3643
+ width: 40px;
3644
+ height: 40px;
3613
3645
  }
3614
3646
 
3615
- /* ─── Photos container ────────────────────────────────── */
3647
+ /* ─── Error / corrupt state ───────────────────────────── */
3648
+ .muka-thumbnail--error .muka-thumbnail__frame {
3649
+ background-color: var(--alias-color-state-error-muted);
3650
+ border-color: var(--alias-color-state-error-default);
3651
+ }
3616
3652
 
3617
- .muka-tile__photos {
3618
- position: relative;
3619
- flex-shrink: 0;
3620
- overflow: hidden;
3653
+ .muka-thumbnail__error {
3654
+ position: absolute;
3655
+ inset: 0;
3621
3656
  display: flex;
3622
3657
  flex-direction: column;
3623
- isolation: isolate;
3658
+ align-items: center;
3659
+ justify-content: center;
3660
+ gap: var(--spacing-2);
3661
+ padding: var(--spacing-3);
3662
+ text-align: center;
3624
3663
  }
3625
3664
 
3626
- /* Photos border radius by size */
3627
- .muka-tile--lg .muka-tile__photos,
3628
- .muka-tile--md .muka-tile__photos {
3629
- border-radius: var(--border-radius-lg);
3665
+ .muka-thumbnail__error-icon {
3666
+ color: var(--alert-color-error-accent);
3630
3667
  }
3631
3668
 
3632
- .muka-tile--sm .muka-tile__photos {
3633
- border-radius: var(--border-radius-md);
3669
+ .muka-thumbnail__caption {
3670
+ max-width: 100%;
3671
+ overflow: hidden;
3672
+ text-overflow: ellipsis;
3673
+ white-space: nowrap;
3674
+ color: var(--alert-color-error-accent);
3675
+ font-family: var(--text-body-sm-regular-fontFamily);
3676
+ font-size: var(--text-body-sm-regular-fontSize);
3677
+ font-weight: var(--text-body-sm-regular-fontWeight);
3678
+ line-height: var(--text-body-sm-regular-lineHeight);
3634
3679
  }
3635
3680
 
3636
- /* Photos sizing: top layout */
3637
- .muka-tile--image-top .muka-tile__photos {
3638
- width: 100%;
3681
+ /* ─── Remove (×) button ───────────────────────────────── */
3682
+ .muka-thumbnail__remove {
3683
+ position: absolute;
3684
+ top: var(--spacing-2);
3685
+ right: var(--spacing-2);
3686
+ display: flex;
3687
+ align-items: center;
3688
+ justify-content: center;
3689
+ width: var(--size-2xl);
3690
+ height: var(--size-2xl);
3691
+ padding: 0;
3692
+ color: var(--button-color-tertiary-foreground-default);
3693
+ background-color: var(--button-color-tertiary-background-default);
3694
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3695
+ border-radius: var(--border-radius-lg);
3696
+ cursor: pointer;
3697
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3698
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3639
3699
  }
3640
3700
 
3641
- /* Photos sizing: left/right large */
3642
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3643
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3644
- width: 520px;
3701
+ .muka-thumbnail__remove:hover {
3702
+ color: var(--button-color-tertiary-foreground-hover);
3703
+ background-color: var(--button-color-tertiary-background-hover);
3704
+ border-color: var(--button-color-tertiary-border-hover);
3645
3705
  }
3646
3706
 
3647
- /* Photos sizing: left/right medium */
3648
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3649
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3650
- width: 320px;
3707
+ .muka-thumbnail__remove:active {
3708
+ color: var(--button-color-tertiary-foreground-pressed);
3709
+ background-color: var(--button-color-tertiary-background-pressed);
3710
+ border-color: var(--button-color-tertiary-border-pressed);
3651
3711
  }
3652
3712
 
3653
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3654
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3655
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3656
- width: 80px;
3657
- align-self: stretch;
3713
+ .muka-thumbnail__remove:focus-visible {
3714
+ outline: 2px solid var(--color-border-focus);
3715
+ outline-offset: 2px;
3658
3716
  }
3659
3717
 
3660
- /* ─── Main photo ──────────────────────────────────────── */
3718
+ /* ─── Reduced motion ──────────────────────────────────── */
3719
+ @media (prefers-reduced-motion: reduce) {
3720
+ .muka-thumbnail__image,
3721
+ .muka-thumbnail__remove {
3722
+ transition: none;
3723
+ }
3661
3724
 
3662
- .muka-tile__photo-main {
3663
- position: relative;
3664
- width: 100%;
3665
- overflow: hidden;
3666
- flex-shrink: 0;
3725
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3726
+ transform: none;
3727
+ }
3667
3728
  }
3668
3729
 
3669
- /* 16:9 aspect for lg and md */
3670
- .muka-tile--lg .muka-tile__photo-main,
3671
- .muka-tile--md .muka-tile__photo-main {
3672
- aspect-ratio: 1280 / 720;
3673
- }
3674
3730
 
3675
- /* 1:1 aspect for top + sm */
3676
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3677
- aspect-ratio: 1 / 1;
3678
- }
3731
+ /* Textarea */
3732
+ /* Textarea Component Styles - Using Muka Design Tokens */
3679
3733
 
3680
- /* Fixed size for left/right + sm */
3681
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3682
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3683
- width: 80px;
3684
- height: 80px;
3685
- aspect-ratio: auto;
3734
+ .muka-textarea {
3735
+ display: inline-flex;
3736
+ flex-direction: column;
3737
+ gap: var(--spacing-2);
3686
3738
  }
3687
3739
 
3688
- .muka-tile__photo-main img {
3689
- width: 100%;
3690
- height: 100%;
3691
- object-fit: cover;
3692
- display: block;
3740
+ /* Label */
3741
+ .muka-textarea__label {
3742
+ color: var(--color-text-default-default);
3743
+ cursor: pointer;
3693
3744
  }
3694
3745
 
3695
- /* ─── Favourite overlay ───────────────────────────────── */
3696
-
3697
- .muka-tile__favourite {
3698
- position: absolute;
3699
- z-index: 3;
3746
+ .muka-textarea__label--sm {
3747
+ font-family: var(--text-label-sm-semibold-fontFamily);
3748
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3749
+ font-size: var(--text-label-sm-semibold-fontSize);
3750
+ line-height: var(--text-label-sm-semibold-lineHeight);
3700
3751
  }
3701
3752
 
3702
- .muka-tile--lg .muka-tile__favourite,
3703
- .muka-tile--md .muka-tile__favourite {
3704
- top: var(--spacing-4);
3705
- right: var(--spacing-4);
3753
+ .muka-textarea__label--md {
3754
+ font-family: var(--text-label-md-semibold-fontFamily);
3755
+ font-weight: var(--text-label-md-semibold-fontWeight);
3756
+ font-size: var(--text-label-md-semibold-fontSize);
3757
+ line-height: var(--text-label-md-semibold-lineHeight);
3706
3758
  }
3707
3759
 
3708
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3709
- top: var(--spacing-1);
3710
- right: var(--spacing-1);
3760
+ .muka-textarea__label--lg {
3761
+ font-family: var(--text-label-lg-semibold-fontFamily);
3762
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3763
+ font-size: var(--text-label-lg-semibold-fontSize);
3764
+ line-height: var(--text-label-lg-semibold-lineHeight);
3711
3765
  }
3712
3766
 
3713
- /* ─── Thumbnails ──────────────────────────────────────── */
3767
+ .muka-textarea__required {
3768
+ color: var(--color-state-error-default);
3769
+ }
3714
3770
 
3715
- .muka-tile__thumbnails {
3771
+ /* Field container */
3772
+ .muka-textarea__field {
3716
3773
  display: flex;
3717
- gap: 2px;
3718
- overflow: hidden;
3719
- flex-shrink: 0;
3720
- height: 80px;
3774
+ background-color: var(--input-field-color-default-background);
3775
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3776
+ border-radius: var(--input-field-radius-md);
3777
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3778
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3779
+ box-sizing: border-box;
3721
3780
  }
3722
3781
 
3723
- .muka-tile__thumbnail {
3724
- width: 80px;
3725
- height: 80px;
3726
- flex-shrink: 0;
3727
- overflow: hidden;
3782
+ .muka-textarea__field--sm {
3783
+ min-height: var(--input-textarea-height-sm);
3784
+ border-radius: var(--input-field-radius-sm);
3728
3785
  }
3729
3786
 
3730
- .muka-tile__thumbnail img {
3731
- width: 100%;
3732
- height: 100%;
3733
- object-fit: cover;
3734
- display: block;
3787
+ .muka-textarea__field--md {
3788
+ min-height: var(--input-textarea-height-default);
3789
+ border-radius: var(--input-field-radius-md);
3735
3790
  }
3736
3791
 
3737
- /* Gap between main photo and thumbnails */
3738
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3739
- margin-top: 2px;
3792
+ .muka-textarea__field--lg {
3793
+ min-height: var(--input-textarea-height-lg);
3794
+ border-radius: var(--input-field-radius-lg);
3740
3795
  }
3741
3796
 
3742
- /* ─── Content section ─────────────────────────────────── */
3743
-
3744
- .muka-tile__content {
3745
- display: flex;
3746
- flex-direction: column;
3747
- flex: 1;
3748
- min-width: 0;
3797
+ /* Focus state */
3798
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3799
+ border-width: var(--border-width-bold);
3800
+ border-color: var(--input-field-color-focus-border);
3801
+ background-color: var(--input-field-color-focus-background);
3802
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3749
3803
  }
3750
3804
 
3751
- /* Top layout: content has horizontal padding */
3752
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3753
- padding: 0 var(--spacing-3);
3754
- gap: var(--spacing-1);
3805
+ /* Error state */
3806
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3807
+ border-width: var(--border-width-bold);
3808
+ border-color: var(--input-field-color-error-border);
3809
+ background-color: var(--input-field-color-error-background);
3810
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3755
3811
  }
3756
3812
 
3757
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3758
- padding: 0 var(--spacing-3);
3759
- gap: var(--spacing-2);
3813
+ /* Disabled state */
3814
+ .muka-textarea__field--disabled {
3815
+ background-color: var(--input-field-color-disabled-background);
3816
+ border-color: var(--input-field-color-disabled-border);
3817
+ cursor: not-allowed;
3760
3818
  }
3761
3819
 
3762
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3763
- gap: var(--spacing-2);
3820
+ /* Native textarea */
3821
+ .muka-textarea__native {
3822
+ flex: 1;
3823
+ border: none;
3824
+ outline: none;
3825
+ background: transparent;
3826
+ color: var(--input-field-color-default-foreground);
3827
+ font-family: var(--text-input-md-fontFamily);
3828
+ font-weight: var(--text-input-md-fontWeight);
3829
+ font-size: var(--text-input-md-fontSize);
3830
+ line-height: var(--text-input-md-lineHeight);
3831
+ padding: 0;
3832
+ width: 100%;
3833
+ min-width: 0;
3764
3834
  }
3765
3835
 
3766
- /* Left/right layout: content grows to fill space */
3767
- .muka-tile--image-left .muka-tile__content,
3768
- .muka-tile--image-right .muka-tile__content {
3769
- gap: var(--spacing-3);
3836
+ .muka-textarea__field--sm .muka-textarea__native {
3837
+ font-family: var(--text-input-sm-fontFamily);
3838
+ font-weight: var(--text-input-sm-fontWeight);
3839
+ font-size: var(--text-input-sm-fontSize);
3840
+ line-height: var(--text-input-sm-lineHeight);
3770
3841
  }
3771
3842
 
3772
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3773
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3774
- padding: 0 var(--spacing-3);
3843
+ .muka-textarea__field--lg .muka-textarea__native {
3844
+ font-family: var(--text-input-lg-fontFamily);
3845
+ font-weight: var(--text-input-lg-fontWeight);
3846
+ font-size: var(--text-input-lg-fontSize);
3847
+ line-height: var(--text-input-lg-lineHeight);
3775
3848
  }
3776
3849
 
3777
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3778
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3779
- padding: var(--spacing-2) var(--spacing-3);
3850
+ .muka-textarea__native::placeholder {
3851
+ color: var(--color-text-subtle-default);
3780
3852
  }
3781
3853
 
3782
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3783
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3784
- gap: var(--spacing-2);
3854
+ .muka-textarea__field--disabled .muka-textarea__native {
3855
+ color: var(--input-field-color-disabled-foreground);
3856
+ cursor: not-allowed;
3785
3857
  }
3786
3858
 
3787
- /* ─── Header (heading row + price) ────────────────────── */
3788
-
3789
- .muka-tile__header {
3859
+ /* Footer (helper/error + count) */
3860
+ .muka-textarea__footer {
3790
3861
  display: flex;
3862
+ justify-content: space-between;
3791
3863
  align-items: flex-start;
3792
- gap: var(--spacing-4);
3793
- }
3794
-
3795
- /* Small horizontal: row with text and action */
3796
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3797
- gap: var(--spacing-2);
3798
- align-items: center;
3799
- padding-top: var(--spacing-1);
3800
- }
3801
-
3802
- /* ─── Text group ──────────────────────────────────────── */
3803
-
3804
- .muka-tile__text {
3805
- display: flex;
3806
- flex-direction: column;
3807
- flex: 1;
3808
- min-width: 0;
3809
3864
  gap: var(--spacing-2);
3810
3865
  }
3811
3866
 
3812
- /* ─── Heading typography ──────────────────────────────── */
3813
-
3814
- .muka-tile__heading {
3867
+ .muka-textarea__helper {
3868
+ font-family: var(--text-label-sm-regular-fontFamily);
3869
+ font-weight: var(--text-label-sm-regular-fontWeight);
3870
+ font-size: var(--text-label-sm-regular-fontSize);
3871
+ line-height: var(--text-label-sm-regular-lineHeight);
3872
+ color: var(--color-text-subtle-default);
3815
3873
  margin: 0;
3816
3874
  }
3817
3875
 
3818
- .muka-tile--lg .muka-tile__heading {
3819
- font-family: var(--text-label-2xl-semibold-fontFamily);
3820
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3821
- font-size: var(--text-label-2xl-semibold-fontSize);
3822
- line-height: var(--text-label-2xl-semibold-lineHeight);
3823
- color: var(--color-text-default-default);
3824
- }
3825
-
3826
- .muka-tile--md .muka-tile__heading {
3827
- font-family: var(--text-label-xl-semibold-fontFamily);
3828
- font-weight: var(--text-label-xl-semibold-fontWeight);
3829
- font-size: var(--text-label-xl-semibold-fontSize);
3830
- line-height: var(--text-label-xl-semibold-lineHeight);
3831
- color: var(--color-text-default-default);
3876
+ .muka-textarea__error {
3877
+ font-family: var(--text-label-sm-regular-fontFamily);
3878
+ font-weight: var(--text-label-sm-regular-fontWeight);
3879
+ font-size: var(--text-label-sm-regular-fontSize);
3880
+ line-height: var(--text-label-sm-regular-lineHeight);
3881
+ color: var(--color-state-error-default);
3882
+ margin: 0;
3832
3883
  }
3833
3884
 
3834
- .muka-tile--sm .muka-tile__heading {
3835
- font-family: var(--text-label-lg-bold-fontFamily);
3836
- font-weight: var(--text-label-lg-bold-fontWeight);
3837
- font-size: var(--text-label-lg-bold-fontSize);
3838
- line-height: var(--text-label-lg-bold-lineHeight);
3839
- color: var(--color-text-default-default);
3885
+ .muka-textarea__count {
3886
+ font-family: var(--text-label-sm-regular-fontFamily);
3887
+ font-weight: var(--text-label-sm-regular-fontWeight);
3888
+ font-size: var(--text-label-sm-regular-fontSize);
3889
+ line-height: var(--text-label-sm-regular-lineHeight);
3890
+ color: var(--color-text-subtle-default);
3891
+ margin-left: auto;
3840
3892
  }
3841
3893
 
3842
- /* ─── Subheading typography ───────────────────────────── */
3843
3894
 
3844
- .muka-tile__subheading {
3845
- margin: 0;
3846
- color: var(--color-text-subtle-default);
3847
- }
3895
+ /* TextLink */
3896
+ /* TextLink Component Styles - Using Muka Design Tokens */
3848
3897
 
3849
- .muka-tile--lg .muka-tile__subheading {
3850
- font-family: var(--text-subheading-md-fontFamily);
3851
- font-weight: var(--text-subheading-md-fontWeight);
3852
- font-size: var(--text-subheading-md-fontSize);
3853
- line-height: var(--text-subheading-md-lineHeight);
3898
+ .muka-text-link {
3899
+ display: inline;
3900
+ cursor: pointer;
3901
+ text-decoration: underline;
3902
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3903
+ text-underline-offset: 0.2em;
3904
+ text-decoration-thickness: from-font;
3905
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
3906
+ border-radius: var(--border-radius-sm);
3907
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3854
3908
  }
3855
3909
 
3856
- .muka-tile--md .muka-tile__subheading,
3857
- .muka-tile--sm .muka-tile__subheading {
3858
- font-family: var(--text-subheading-sm-fontFamily);
3859
- font-weight: var(--text-subheading-sm-fontWeight);
3860
- font-size: var(--text-subheading-sm-fontSize);
3861
- line-height: var(--text-subheading-sm-lineHeight);
3910
+ /* ─── Sizes ───────────────────────────────────────────────
3911
+ Mirrors the body text scale so a link matches the copy it sits in. */
3912
+ .muka-text-link--sm {
3913
+ font-family: var(--text-body-sm-regular-fontFamily);
3914
+ font-weight: var(--text-body-sm-regular-fontWeight);
3915
+ font-size: var(--text-body-sm-regular-fontSize);
3916
+ line-height: var(--text-body-sm-regular-lineHeight);
3862
3917
  }
3863
3918
 
3864
- /* ─── Description typography ──────────────────────────── */
3865
-
3866
- .muka-tile__description {
3867
- margin: 0;
3868
- color: var(--color-text-default-default);
3919
+ .muka-text-link--base {
3920
+ font-family: var(--text-body-base-regular-fontFamily);
3921
+ font-weight: var(--text-body-base-regular-fontWeight);
3922
+ font-size: var(--text-body-base-regular-fontSize);
3923
+ line-height: var(--text-body-base-regular-lineHeight);
3869
3924
  }
3870
3925
 
3871
- .muka-tile--lg .muka-tile__description {
3926
+ .muka-text-link--lg {
3872
3927
  font-family: var(--text-body-lg-regular-fontFamily);
3873
3928
  font-weight: var(--text-body-lg-regular-fontWeight);
3874
3929
  font-size: var(--text-body-lg-regular-fontSize);
3875
3930
  line-height: var(--text-body-lg-regular-lineHeight);
3876
3931
  }
3877
3932
 
3878
- .muka-tile--md .muka-tile__description,
3879
- .muka-tile--sm .muka-tile__description {
3880
- font-family: var(--text-body-base-regular-fontFamily);
3881
- font-weight: var(--text-body-base-regular-fontWeight);
3882
- font-size: var(--text-body-base-regular-fontSize);
3883
- line-height: var(--text-body-base-regular-lineHeight);
3933
+ /* ─── Variant: default (accent) ───────────────────────────
3934
+ Visited repeats the default colour on purpose: the design treats visited and
3935
+ default the same, and pinning it stops the browser's purple from showing. */
3936
+ .muka-text-link--default,
3937
+ .muka-text-link--default:visited {
3938
+ color: var(--color-text-action-default);
3884
3939
  }
3885
3940
 
3886
- /* Description overflow for medium */
3887
- .muka-tile--md .muka-tile__description {
3888
- overflow: hidden;
3889
- text-overflow: ellipsis;
3941
+ .muka-text-link--default:hover,
3942
+ .muka-text-link--default:focus-visible {
3943
+ color: var(--color-text-action-hover);
3890
3944
  }
3891
3945
 
3892
- /* ─── Price slot ──────────────────────────────────────── */
3946
+ .muka-text-link--default:active {
3947
+ color: var(--color-text-action-pressed);
3948
+ }
3893
3949
 
3894
- .muka-tile__price {
3895
- flex-shrink: 0;
3950
+ /* ─── Variant: subtle (neutral) ───────────────────────────
3951
+ Hover, focus and pressed all darken to the default text colour. */
3952
+ .muka-text-link--subtle,
3953
+ .muka-text-link--subtle:visited {
3954
+ color: var(--color-text-subtle-default);
3896
3955
  }
3897
3956
 
3898
- /* ─── Action slot ─────────────────────────────────────── */
3957
+ .muka-text-link--subtle:hover,
3958
+ .muka-text-link--subtle:focus-visible,
3959
+ .muka-text-link--subtle:active {
3960
+ color: var(--color-text-default-default);
3961
+ }
3899
3962
 
3900
- .muka-tile__action {
3901
- flex-shrink: 0;
3963
+ /* ─── Focus ───────────────────────────────────────────────
3964
+ Same ring as every other focusable Muka component. */
3965
+ .muka-text-link:focus-visible {
3966
+ outline: 2px solid var(--color-border-focus);
3967
+ outline-offset: 2px;
3902
3968
  }
3903
3969
 
3970
+ @media (prefers-reduced-motion: reduce) {
3971
+ .muka-text-link {
3972
+ transition: none;
3973
+ }
3974
+ }
3904
3975
 
3905
- /* Thumbnail */
3906
- /* Thumbnail Component Styles - Using Muka Design Tokens */
3907
3976
 
3908
- .muka-thumbnail {
3909
- position: relative;
3910
- flex-shrink: 0;
3911
- }
3977
+ /* Tile */
3978
+ /* Tile Component Styles - Using Muka Design Tokens */
3912
3979
 
3913
- /* The frame carries the border, background and shape clip. Keeping it separate
3914
- from the root lets the remove (×) button sit outside the clip (needed for the
3915
- circular/ellipse shape, whose corners would otherwise clip the button). */
3916
- .muka-thumbnail__frame {
3917
- position: absolute;
3918
- inset: 0;
3919
- overflow: hidden;
3920
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3921
- border-radius: var(--border-radius-lg);
3922
- background-color: var(--color-surface-level1);
3923
- }
3980
+ /* ─── Base ────────────────────────────────────────────── */
3924
3981
 
3925
- /* ─── Shapes ──────────────────────────────────────────── */
3926
- .muka-thumbnail--4-3 {
3927
- width: 160px;
3928
- height: 120px;
3982
+ .muka-tile {
3983
+ display: flex;
3984
+ color: var(--color-text-default-default);
3929
3985
  }
3930
3986
 
3931
- .muka-thumbnail--1-1 {
3932
- width: 120px;
3933
- height: 120px;
3987
+ .muka-tile--interactive {
3988
+ cursor: pointer;
3989
+ user-select: none;
3934
3990
  }
3935
3991
 
3936
- .muka-thumbnail--ellipse {
3937
- width: 120px;
3938
- height: 120px;
3992
+ .muka-tile--interactive:focus-visible {
3993
+ outline: 2px solid var(--color-border-focus);
3994
+ outline-offset: 2px;
3995
+ border-radius: var(--border-radius-lg);
3939
3996
  }
3940
3997
 
3941
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3942
- .muka-thumbnail--fluid {
3943
- width: 100%;
3944
- height: auto;
3945
- aspect-ratio: 1 / 1;
3946
- }
3998
+ /* ─── Image position variants ─────────────────────────── */
3947
3999
 
3948
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3949
- aspect-ratio: 4 / 3;
4000
+ .muka-tile--image-top {
4001
+ flex-direction: column;
3950
4002
  }
3951
4003
 
3952
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
3953
- border-radius: var(--border-radius-full);
4004
+ .muka-tile--image-left {
4005
+ flex-direction: row;
3954
4006
  }
3955
4007
 
3956
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3957
- interactive hover zoom has a clean origin. */
3958
- .muka-thumbnail__image {
3959
- position: absolute;
3960
- inset: 0;
3961
- width: 100%;
3962
- height: 100%;
3963
- object-fit: cover;
3964
- display: block;
3965
- transform-origin: center;
3966
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3967
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4008
+ .muka-tile--image-right {
4009
+ flex-direction: row;
3968
4010
  }
3969
4011
 
3970
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
3971
- .muka-thumbnail__trigger {
3972
- position: absolute;
3973
- inset: 0;
3974
- padding: 0;
3975
- border: 0;
3976
- background: none;
3977
- cursor: pointer;
3978
- overflow: hidden;
3979
- }
4012
+ /* ─── Gap by size (top) ───────────────────────────────── */
3980
4013
 
3981
- .muka-thumbnail__trigger:focus-visible {
3982
- outline: 2px solid var(--color-border-focus);
3983
- outline-offset: -2px;
4014
+ .muka-tile--image-top.muka-tile--lg {
4015
+ gap: var(--spacing-6);
3984
4016
  }
3985
4017
 
3986
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3987
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3988
- transform: scale(1.05);
4018
+ .muka-tile--image-top.muka-tile--md {
4019
+ gap: var(--spacing-6);
4020
+ width: 320px;
3989
4021
  }
3990
4022
 
3991
- /* ─── Loading overlay + progress donut ────────────────── */
3992
- .muka-thumbnail__overlay {
3993
- position: absolute;
3994
- inset: 0;
3995
- display: flex;
3996
- align-items: center;
3997
- justify-content: center;
3998
- background-color: var(--dialog-color-backdrop);
4023
+ .muka-tile--image-top.muka-tile--sm {
4024
+ gap: var(--spacing-4);
4025
+ min-width: 120px;
3999
4026
  }
4000
4027
 
4001
- .muka-thumbnail__progress {
4002
- width: 40px;
4003
- height: 40px;
4004
- }
4028
+ /* ─── Gap by size (left/right) ────────────────────────── */
4005
4029
 
4006
- /* ─── Error / corrupt state ───────────────────────────── */
4007
- .muka-thumbnail--error .muka-thumbnail__frame {
4008
- background-color: var(--alias-color-state-error-muted);
4009
- border-color: var(--alias-color-state-error-default);
4030
+ .muka-tile--image-left.muka-tile--lg,
4031
+ .muka-tile--image-right.muka-tile--lg {
4032
+ gap: var(--spacing-6);
4033
+ align-items: center;
4010
4034
  }
4011
4035
 
4012
- .muka-thumbnail__error {
4013
- position: absolute;
4014
- inset: 0;
4015
- display: flex;
4016
- flex-direction: column;
4036
+ .muka-tile--image-left.muka-tile--md,
4037
+ .muka-tile--image-right.muka-tile--md {
4038
+ gap: var(--spacing-6);
4017
4039
  align-items: center;
4018
- justify-content: center;
4019
- gap: var(--spacing-2);
4020
- padding: var(--spacing-3);
4021
- text-align: center;
4022
4040
  }
4023
4041
 
4024
- .muka-thumbnail__error-icon {
4025
- color: var(--alert-color-error-accent);
4042
+ .muka-tile--image-left.muka-tile--sm,
4043
+ .muka-tile--image-right.muka-tile--sm {
4044
+ gap: var(--spacing-4);
4045
+ align-items: flex-start;
4026
4046
  }
4027
4047
 
4028
- .muka-thumbnail__caption {
4029
- max-width: 100%;
4048
+ /* ─── Photos container ────────────────────────────────── */
4049
+
4050
+ .muka-tile__photos {
4051
+ position: relative;
4052
+ flex-shrink: 0;
4030
4053
  overflow: hidden;
4031
- text-overflow: ellipsis;
4032
- white-space: nowrap;
4033
- color: var(--alert-color-error-accent);
4034
- font-family: var(--text-body-sm-regular-fontFamily);
4035
- font-size: var(--text-body-sm-regular-fontSize);
4036
- font-weight: var(--text-body-sm-regular-fontWeight);
4037
- line-height: var(--text-body-sm-regular-lineHeight);
4054
+ display: flex;
4055
+ flex-direction: column;
4056
+ isolation: isolate;
4038
4057
  }
4039
4058
 
4040
- /* ─── Remove (×) button ───────────────────────────────── */
4041
- .muka-thumbnail__remove {
4042
- position: absolute;
4043
- top: var(--spacing-2);
4044
- right: var(--spacing-2);
4045
- display: flex;
4046
- align-items: center;
4047
- justify-content: center;
4048
- width: var(--size-2xl);
4049
- height: var(--size-2xl);
4050
- padding: 0;
4051
- color: var(--button-color-tertiary-foreground-default);
4052
- background-color: var(--button-color-tertiary-background-default);
4053
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4059
+ /* Photos border radius by size */
4060
+ .muka-tile--lg .muka-tile__photos,
4061
+ .muka-tile--md .muka-tile__photos {
4054
4062
  border-radius: var(--border-radius-lg);
4055
- cursor: pointer;
4056
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4057
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4058
4063
  }
4059
4064
 
4060
- .muka-thumbnail__remove:hover {
4061
- color: var(--button-color-tertiary-foreground-hover);
4062
- background-color: var(--button-color-tertiary-background-hover);
4063
- border-color: var(--button-color-tertiary-border-hover);
4065
+ .muka-tile--sm .muka-tile__photos {
4066
+ border-radius: var(--border-radius-md);
4064
4067
  }
4065
4068
 
4066
- .muka-thumbnail__remove:active {
4067
- color: var(--button-color-tertiary-foreground-pressed);
4068
- background-color: var(--button-color-tertiary-background-pressed);
4069
- border-color: var(--button-color-tertiary-border-pressed);
4069
+ /* Photos sizing: top layout */
4070
+ .muka-tile--image-top .muka-tile__photos {
4071
+ width: 100%;
4070
4072
  }
4071
4073
 
4072
- .muka-thumbnail__remove:focus-visible {
4073
- outline: 2px solid var(--color-border-focus);
4074
- outline-offset: 2px;
4074
+ /* Photos sizing: left/right large */
4075
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4076
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4077
+ width: 520px;
4075
4078
  }
4076
4079
 
4077
- /* ─── Reduced motion ──────────────────────────────────── */
4078
- @media (prefers-reduced-motion: reduce) {
4079
- .muka-thumbnail__image,
4080
- .muka-thumbnail__remove {
4081
- transition: none;
4082
- }
4083
-
4084
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4085
- transform: none;
4086
- }
4080
+ /* Photos sizing: left/right medium */
4081
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4082
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4083
+ width: 320px;
4087
4084
  }
4088
4085
 
4086
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4087
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4088
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4089
+ width: 80px;
4090
+ align-self: stretch;
4091
+ }
4089
4092
 
4090
- /* Textarea */
4091
- /* Textarea Component Styles - Using Muka Design Tokens */
4093
+ /* ─── Main photo ──────────────────────────────────────── */
4092
4094
 
4093
- .muka-textarea {
4094
- display: inline-flex;
4095
- flex-direction: column;
4096
- gap: var(--spacing-2);
4095
+ .muka-tile__photo-main {
4096
+ position: relative;
4097
+ width: 100%;
4098
+ overflow: hidden;
4099
+ flex-shrink: 0;
4097
4100
  }
4098
4101
 
4099
- /* Label */
4100
- .muka-textarea__label {
4101
- color: var(--color-text-default-default);
4102
- cursor: pointer;
4103
- }
4104
-
4105
- .muka-textarea__label--sm {
4106
- font-family: var(--text-label-sm-semibold-fontFamily);
4107
- font-weight: var(--text-label-sm-semibold-fontWeight);
4108
- font-size: var(--text-label-sm-semibold-fontSize);
4109
- line-height: var(--text-label-sm-semibold-lineHeight);
4102
+ /* 16:9 aspect for lg and md */
4103
+ .muka-tile--lg .muka-tile__photo-main,
4104
+ .muka-tile--md .muka-tile__photo-main {
4105
+ aspect-ratio: 1280 / 720;
4110
4106
  }
4111
4107
 
4112
- .muka-textarea__label--md {
4113
- font-family: var(--text-label-md-semibold-fontFamily);
4114
- font-weight: var(--text-label-md-semibold-fontWeight);
4115
- font-size: var(--text-label-md-semibold-fontSize);
4116
- line-height: var(--text-label-md-semibold-lineHeight);
4108
+ /* 1:1 aspect for top + sm */
4109
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4110
+ aspect-ratio: 1 / 1;
4117
4111
  }
4118
4112
 
4119
- .muka-textarea__label--lg {
4120
- font-family: var(--text-label-lg-semibold-fontFamily);
4121
- font-weight: var(--text-label-lg-semibold-fontWeight);
4122
- font-size: var(--text-label-lg-semibold-fontSize);
4123
- line-height: var(--text-label-lg-semibold-lineHeight);
4113
+ /* Fixed size for left/right + sm */
4114
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4115
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4116
+ width: 80px;
4117
+ height: 80px;
4118
+ aspect-ratio: auto;
4124
4119
  }
4125
4120
 
4126
- .muka-textarea__required {
4127
- color: var(--color-state-error-default);
4121
+ .muka-tile__photo-main img {
4122
+ width: 100%;
4123
+ height: 100%;
4124
+ object-fit: cover;
4125
+ display: block;
4128
4126
  }
4129
4127
 
4130
- /* Field container */
4131
- .muka-textarea__field {
4132
- display: flex;
4133
- background-color: var(--input-field-color-default-background);
4134
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4135
- border-radius: var(--input-field-radius-md);
4136
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4137
- transition: border-color 0.2s ease, background-color 0.2s ease;
4138
- box-sizing: border-box;
4139
- }
4128
+ /* ─── Favourite overlay ───────────────────────────────── */
4140
4129
 
4141
- .muka-textarea__field--sm {
4142
- min-height: var(--input-textarea-height-sm);
4143
- border-radius: var(--input-field-radius-sm);
4130
+ .muka-tile__favourite {
4131
+ position: absolute;
4132
+ z-index: 3;
4144
4133
  }
4145
4134
 
4146
- .muka-textarea__field--md {
4147
- min-height: var(--input-textarea-height-default);
4148
- border-radius: var(--input-field-radius-md);
4135
+ .muka-tile--lg .muka-tile__favourite,
4136
+ .muka-tile--md .muka-tile__favourite {
4137
+ top: var(--spacing-4);
4138
+ right: var(--spacing-4);
4149
4139
  }
4150
4140
 
4151
- .muka-textarea__field--lg {
4152
- min-height: var(--input-textarea-height-lg);
4153
- border-radius: var(--input-field-radius-lg);
4141
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4142
+ top: var(--spacing-1);
4143
+ right: var(--spacing-1);
4154
4144
  }
4155
4145
 
4156
- /* Focus state */
4157
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4158
- border-width: var(--border-width-bold);
4159
- border-color: var(--input-field-color-focus-border);
4160
- background-color: var(--input-field-color-focus-background);
4161
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4162
- }
4146
+ /* ─── Thumbnails ──────────────────────────────────────── */
4163
4147
 
4164
- /* Error state */
4165
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4166
- border-width: var(--border-width-bold);
4167
- border-color: var(--input-field-color-error-border);
4168
- background-color: var(--input-field-color-error-background);
4169
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4148
+ .muka-tile__thumbnails {
4149
+ display: flex;
4150
+ gap: 2px;
4151
+ overflow: hidden;
4152
+ flex-shrink: 0;
4153
+ height: 80px;
4170
4154
  }
4171
4155
 
4172
- /* Disabled state */
4173
- .muka-textarea__field--disabled {
4174
- background-color: var(--input-field-color-disabled-background);
4175
- border-color: var(--input-field-color-disabled-border);
4176
- cursor: not-allowed;
4156
+ .muka-tile__thumbnail {
4157
+ width: 80px;
4158
+ height: 80px;
4159
+ flex-shrink: 0;
4160
+ overflow: hidden;
4177
4161
  }
4178
4162
 
4179
- /* Native textarea */
4180
- .muka-textarea__native {
4181
- flex: 1;
4182
- border: none;
4183
- outline: none;
4184
- background: transparent;
4185
- color: var(--input-field-color-default-foreground);
4186
- font-family: var(--text-input-md-fontFamily);
4187
- font-weight: var(--text-input-md-fontWeight);
4188
- font-size: var(--text-input-md-fontSize);
4189
- line-height: var(--text-input-md-lineHeight);
4190
- padding: 0;
4163
+ .muka-tile__thumbnail img {
4191
4164
  width: 100%;
4192
- min-width: 0;
4165
+ height: 100%;
4166
+ object-fit: cover;
4167
+ display: block;
4193
4168
  }
4194
4169
 
4195
- .muka-textarea__field--sm .muka-textarea__native {
4196
- font-family: var(--text-input-sm-fontFamily);
4197
- font-weight: var(--text-input-sm-fontWeight);
4198
- font-size: var(--text-input-sm-fontSize);
4199
- line-height: var(--text-input-sm-lineHeight);
4170
+ /* Gap between main photo and thumbnails */
4171
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4172
+ margin-top: 2px;
4200
4173
  }
4201
4174
 
4202
- .muka-textarea__field--lg .muka-textarea__native {
4203
- font-family: var(--text-input-lg-fontFamily);
4204
- font-weight: var(--text-input-lg-fontWeight);
4205
- font-size: var(--text-input-lg-fontSize);
4206
- line-height: var(--text-input-lg-lineHeight);
4175
+ /* ─── Content section ─────────────────────────────────── */
4176
+
4177
+ .muka-tile__content {
4178
+ display: flex;
4179
+ flex-direction: column;
4180
+ flex: 1;
4181
+ min-width: 0;
4207
4182
  }
4208
4183
 
4209
- .muka-textarea__native::placeholder {
4210
- color: var(--color-text-subtle-default);
4184
+ /* Top layout: content has horizontal padding */
4185
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4186
+ padding: 0 var(--spacing-3);
4187
+ gap: var(--spacing-1);
4211
4188
  }
4212
4189
 
4213
- .muka-textarea__field--disabled .muka-textarea__native {
4214
- color: var(--input-field-color-disabled-foreground);
4215
- cursor: not-allowed;
4190
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4191
+ padding: 0 var(--spacing-3);
4192
+ gap: var(--spacing-2);
4216
4193
  }
4217
4194
 
4218
- /* Footer (helper/error + count) */
4219
- .muka-textarea__footer {
4220
- display: flex;
4221
- justify-content: space-between;
4222
- align-items: flex-start;
4195
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4223
4196
  gap: var(--spacing-2);
4224
4197
  }
4225
4198
 
4226
- .muka-textarea__helper {
4227
- font-family: var(--text-label-sm-regular-fontFamily);
4228
- font-weight: var(--text-label-sm-regular-fontWeight);
4229
- font-size: var(--text-label-sm-regular-fontSize);
4230
- line-height: var(--text-label-sm-regular-lineHeight);
4231
- color: var(--color-text-subtle-default);
4232
- margin: 0;
4199
+ /* Left/right layout: content grows to fill space */
4200
+ .muka-tile--image-left .muka-tile__content,
4201
+ .muka-tile--image-right .muka-tile__content {
4202
+ gap: var(--spacing-3);
4233
4203
  }
4234
4204
 
4235
- .muka-textarea__error {
4236
- font-family: var(--text-label-sm-regular-fontFamily);
4237
- font-weight: var(--text-label-sm-regular-fontWeight);
4238
- font-size: var(--text-label-sm-regular-fontSize);
4239
- line-height: var(--text-label-sm-regular-lineHeight);
4240
- color: var(--color-state-error-default);
4241
- margin: 0;
4205
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4206
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4207
+ padding: 0 var(--spacing-3);
4242
4208
  }
4243
4209
 
4244
- .muka-textarea__count {
4245
- font-family: var(--text-label-sm-regular-fontFamily);
4246
- font-weight: var(--text-label-sm-regular-fontWeight);
4247
- font-size: var(--text-label-sm-regular-fontSize);
4248
- line-height: var(--text-label-sm-regular-lineHeight);
4249
- color: var(--color-text-subtle-default);
4250
- margin-left: auto;
4210
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4211
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4212
+ padding: var(--spacing-2) var(--spacing-3);
4251
4213
  }
4252
4214
 
4215
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4216
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4217
+ gap: var(--spacing-2);
4218
+ }
4253
4219
 
4254
- /* TextLink */
4255
- /* TextLink Component Styles - Using Muka Design Tokens */
4220
+ /* ─── Header (heading row + price) ────────────────────── */
4256
4221
 
4257
- .muka-text-link {
4258
- display: inline;
4259
- cursor: pointer;
4260
- text-decoration: underline;
4261
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4262
- text-underline-offset: 0.2em;
4263
- text-decoration-thickness: from-font;
4264
- /* Rounds the focus ring's corners; the link itself has no visible box. */
4265
- border-radius: var(--border-radius-sm);
4266
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4222
+ .muka-tile__header {
4223
+ display: flex;
4224
+ align-items: flex-start;
4225
+ gap: var(--spacing-4);
4267
4226
  }
4268
4227
 
4269
- /* ─── Sizes ───────────────────────────────────────────────
4270
- Mirrors the body text scale so a link matches the copy it sits in. */
4271
- .muka-text-link--sm {
4272
- font-family: var(--text-body-sm-regular-fontFamily);
4273
- font-weight: var(--text-body-sm-regular-fontWeight);
4274
- font-size: var(--text-body-sm-regular-fontSize);
4275
- line-height: var(--text-body-sm-regular-lineHeight);
4228
+ /* Small horizontal: row with text and action */
4229
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4230
+ gap: var(--spacing-2);
4231
+ align-items: center;
4232
+ padding-top: var(--spacing-1);
4276
4233
  }
4277
4234
 
4278
- .muka-text-link--base {
4279
- font-family: var(--text-body-base-regular-fontFamily);
4280
- font-weight: var(--text-body-base-regular-fontWeight);
4281
- font-size: var(--text-body-base-regular-fontSize);
4282
- line-height: var(--text-body-base-regular-lineHeight);
4283
- }
4235
+ /* ─── Text group ──────────────────────────────────────── */
4284
4236
 
4285
- .muka-text-link--lg {
4286
- font-family: var(--text-body-lg-regular-fontFamily);
4287
- font-weight: var(--text-body-lg-regular-fontWeight);
4288
- font-size: var(--text-body-lg-regular-fontSize);
4289
- line-height: var(--text-body-lg-regular-lineHeight);
4237
+ .muka-tile__text {
4238
+ display: flex;
4239
+ flex-direction: column;
4240
+ flex: 1;
4241
+ min-width: 0;
4242
+ gap: var(--spacing-2);
4290
4243
  }
4291
4244
 
4292
- /* ─── Variant: default (accent) ───────────────────────────
4293
- Visited repeats the default colour on purpose: the design treats visited and
4294
- default the same, and pinning it stops the browser's purple from showing. */
4295
- .muka-text-link--default,
4296
- .muka-text-link--default:visited {
4297
- color: var(--color-text-action-default);
4245
+ /* ─── Heading typography ──────────────────────────────── */
4246
+
4247
+ .muka-tile__heading {
4248
+ margin: 0;
4298
4249
  }
4299
4250
 
4300
- .muka-text-link--default:hover,
4301
- .muka-text-link--default:focus-visible {
4302
- color: var(--color-text-action-hover);
4251
+ .muka-tile--lg .muka-tile__heading {
4252
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4253
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4254
+ font-size: var(--text-label-2xl-semibold-fontSize);
4255
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4256
+ color: var(--color-text-default-default);
4303
4257
  }
4304
4258
 
4305
- .muka-text-link--default:active {
4306
- color: var(--color-text-action-pressed);
4259
+ .muka-tile--md .muka-tile__heading {
4260
+ font-family: var(--text-label-xl-semibold-fontFamily);
4261
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4262
+ font-size: var(--text-label-xl-semibold-fontSize);
4263
+ line-height: var(--text-label-xl-semibold-lineHeight);
4264
+ color: var(--color-text-default-default);
4307
4265
  }
4308
4266
 
4309
- /* ─── Variant: subtle (neutral) ───────────────────────────
4310
- Hover, focus and pressed all darken to the default text colour. */
4311
- .muka-text-link--subtle,
4312
- .muka-text-link--subtle:visited {
4267
+ .muka-tile--sm .muka-tile__heading {
4268
+ font-family: var(--text-label-lg-bold-fontFamily);
4269
+ font-weight: var(--text-label-lg-bold-fontWeight);
4270
+ font-size: var(--text-label-lg-bold-fontSize);
4271
+ line-height: var(--text-label-lg-bold-lineHeight);
4272
+ color: var(--color-text-default-default);
4273
+ }
4274
+
4275
+ /* ─── Subheading typography ───────────────────────────── */
4276
+
4277
+ .muka-tile__subheading {
4278
+ margin: 0;
4313
4279
  color: var(--color-text-subtle-default);
4314
4280
  }
4315
4281
 
4316
- .muka-text-link--subtle:hover,
4317
- .muka-text-link--subtle:focus-visible,
4318
- .muka-text-link--subtle:active {
4282
+ .muka-tile--lg .muka-tile__subheading {
4283
+ font-family: var(--text-subheading-md-fontFamily);
4284
+ font-weight: var(--text-subheading-md-fontWeight);
4285
+ font-size: var(--text-subheading-md-fontSize);
4286
+ line-height: var(--text-subheading-md-lineHeight);
4287
+ }
4288
+
4289
+ .muka-tile--md .muka-tile__subheading,
4290
+ .muka-tile--sm .muka-tile__subheading {
4291
+ font-family: var(--text-subheading-sm-fontFamily);
4292
+ font-weight: var(--text-subheading-sm-fontWeight);
4293
+ font-size: var(--text-subheading-sm-fontSize);
4294
+ line-height: var(--text-subheading-sm-lineHeight);
4295
+ }
4296
+
4297
+ /* ─── Description typography ──────────────────────────── */
4298
+
4299
+ .muka-tile__description {
4300
+ margin: 0;
4319
4301
  color: var(--color-text-default-default);
4320
4302
  }
4321
4303
 
4322
- /* ─── Focus ───────────────────────────────────────────────
4323
- Same ring as every other focusable Muka component. */
4324
- .muka-text-link:focus-visible {
4325
- outline: 2px solid var(--color-border-focus);
4326
- outline-offset: 2px;
4304
+ .muka-tile--lg .muka-tile__description {
4305
+ font-family: var(--text-body-lg-regular-fontFamily);
4306
+ font-weight: var(--text-body-lg-regular-fontWeight);
4307
+ font-size: var(--text-body-lg-regular-fontSize);
4308
+ line-height: var(--text-body-lg-regular-lineHeight);
4327
4309
  }
4328
4310
 
4329
- @media (prefers-reduced-motion: reduce) {
4330
- .muka-text-link {
4331
- transition: none;
4332
- }
4311
+ .muka-tile--md .muka-tile__description,
4312
+ .muka-tile--sm .muka-tile__description {
4313
+ font-family: var(--text-body-base-regular-fontFamily);
4314
+ font-weight: var(--text-body-base-regular-fontWeight);
4315
+ font-size: var(--text-body-base-regular-fontSize);
4316
+ line-height: var(--text-body-base-regular-lineHeight);
4317
+ }
4318
+
4319
+ /* Description overflow for medium */
4320
+ .muka-tile--md .muka-tile__description {
4321
+ overflow: hidden;
4322
+ text-overflow: ellipsis;
4323
+ }
4324
+
4325
+ /* ─── Price slot ──────────────────────────────────────── */
4326
+
4327
+ .muka-tile__price {
4328
+ flex-shrink: 0;
4329
+ }
4330
+
4331
+ /* ─── Action slot ─────────────────────────────────────── */
4332
+
4333
+ .muka-tile__action {
4334
+ flex-shrink: 0;
4333
4335
  }
4334
4336
 
4335
4337
 
@@ -4927,114 +4929,6 @@ body {
4927
4929
  }
4928
4930
 
4929
4931
 
4930
- /* SwipeActions */
4931
- /* SwipeActions Component Styles */
4932
-
4933
- .muka-swipe-actions {
4934
- position: relative;
4935
- overflow: hidden;
4936
- touch-action: pan-y;
4937
- -webkit-user-select: none;
4938
- user-select: none;
4939
- background-color: var(--color-surface-level3);
4940
- }
4941
-
4942
- .muka-swipe-actions--disabled {
4943
- touch-action: auto;
4944
- }
4945
-
4946
- /* ─── Row that holds the actual content ────────────────── */
4947
-
4948
- .muka-swipe-actions__row {
4949
- position: relative;
4950
- z-index: 1;
4951
- background-color: inherit;
4952
- will-change: transform;
4953
- }
4954
-
4955
- /* ─── Action panels — sit beneath the row ──────────────── */
4956
-
4957
- .muka-swipe-actions__panel {
4958
- position: absolute;
4959
- top: 0;
4960
- bottom: 0;
4961
- display: flex;
4962
- align-items: stretch;
4963
- z-index: 0;
4964
- }
4965
-
4966
- .muka-swipe-actions__panel--left {
4967
- left: 0;
4968
- }
4969
-
4970
- .muka-swipe-actions__panel--right {
4971
- right: 0;
4972
- }
4973
-
4974
- /* ─── Single action button ─────────────────────────────── */
4975
-
4976
- .muka-swipe-actions__button {
4977
- display: flex;
4978
- flex-direction: column;
4979
- align-items: center;
4980
- justify-content: center;
4981
- gap: var(--spacing-1);
4982
- border: none;
4983
- cursor: pointer;
4984
- padding: var(--spacing-2);
4985
- background-color: var(--color-surface-level2);
4986
- color: var(--color-text-default-default);
4987
- font-family: var(--text-label-sm-semibold-fontFamily);
4988
- font-weight: var(--text-label-sm-semibold-fontWeight);
4989
- font-size: var(--text-label-sm-semibold-fontSize);
4990
- line-height: var(--text-label-sm-semibold-lineHeight);
4991
- -webkit-tap-highlight-color: transparent;
4992
- transition: filter 0.12s ease;
4993
- }
4994
-
4995
- .muka-swipe-actions__button:hover {
4996
- filter: brightness(0.95);
4997
- }
4998
-
4999
- .muka-swipe-actions__button:focus-visible {
5000
- outline: 2px solid var(--color-action-default);
5001
- outline-offset: -2px;
5002
- }
5003
-
5004
- .muka-swipe-actions__button-icon {
5005
- display: inline-flex;
5006
- align-items: center;
5007
- justify-content: center;
5008
- }
5009
-
5010
- /* ─── Color variants ───────────────────────────────────── */
5011
-
5012
- .muka-swipe-actions__button--neutral {
5013
- background-color: var(--color-surface-level2);
5014
- color: var(--color-text-default-default);
5015
- }
5016
-
5017
- .muka-swipe-actions__button--primary {
5018
- background-color: var(--color-action-default);
5019
- color: var(--color-text-default-inverse);
5020
- }
5021
-
5022
- .muka-swipe-actions__button--success {
5023
- background-color: var(--color-state-success-default);
5024
- color: var(--color-text-default-inverse);
5025
- }
5026
-
5027
- .muka-swipe-actions__button--warning {
5028
- background-color: var(--color-state-warning-default);
5029
- color: var(--color-text-default-default);
5030
- }
5031
-
5032
- .muka-swipe-actions__button--destructive {
5033
- background-color: var(--color-state-error-default);
5034
- color: var(--color-text-default-inverse);
5035
- }
5036
-
5037
-
5038
4932
  /* Spinner */
5039
4933
  /* Spinner Component Styles */
5040
4934
 
@@ -5998,29 +5892,6 @@ body {
5998
5892
  }
5999
5893
 
6000
5894
 
6001
- /* Section */
6002
- /* Section Component - Layout tokens (section.padding) */
6003
-
6004
- .muka-section {
6005
- box-sizing: border-box;
6006
- }
6007
-
6008
- .muka-section--padding-compact {
6009
- padding-block: var(--section-padding-vertical-compact);
6010
- padding-inline: var(--section-padding-horizontal-compact);
6011
- }
6012
-
6013
- .muka-section--padding-default {
6014
- padding-block: var(--section-padding-vertical-default);
6015
- padding-inline: var(--section-padding-horizontal-default);
6016
- }
6017
-
6018
- .muka-section--padding-spacious {
6019
- padding-block: var(--section-padding-vertical-spacious);
6020
- padding-inline: var(--section-padding-horizontal-spacious);
6021
- }
6022
-
6023
-
6024
5895
  /* SegmentGroup */
6025
5896
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
6026
5897
 
@@ -6209,6 +6080,29 @@ body {
6209
6080
  }
6210
6081
 
6211
6082
 
6083
+ /* Section */
6084
+ /* Section Component - Layout tokens (section.padding) */
6085
+
6086
+ .muka-section {
6087
+ box-sizing: border-box;
6088
+ }
6089
+
6090
+ .muka-section--padding-compact {
6091
+ padding-block: var(--section-padding-vertical-compact);
6092
+ padding-inline: var(--section-padding-horizontal-compact);
6093
+ }
6094
+
6095
+ .muka-section--padding-default {
6096
+ padding-block: var(--section-padding-vertical-default);
6097
+ padding-inline: var(--section-padding-horizontal-default);
6098
+ }
6099
+
6100
+ .muka-section--padding-spacious {
6101
+ padding-block: var(--section-padding-vertical-spacious);
6102
+ padding-inline: var(--section-padding-horizontal-spacious);
6103
+ }
6104
+
6105
+
6212
6106
  /* SearchInput */
6213
6107
  /* SearchInput Component Styles */
6214
6108
 
@@ -6771,147 +6665,111 @@ body {
6771
6665
  }
6772
6666
 
6773
6667
 
6774
- /* Radio */
6775
- /* Radio Component Styles - Using Muka Design Tokens */
6668
+ /* SwipeActions */
6669
+ /* SwipeActions Component Styles */
6776
6670
 
6777
- /* Wrapper - clickable label container */
6778
- .muka-radio {
6779
- display: inline-flex;
6780
- align-items: center;
6781
- gap: var(--spacing-4);
6782
- cursor: pointer;
6671
+ .muka-swipe-actions {
6672
+ position: relative;
6673
+ overflow: hidden;
6674
+ touch-action: pan-y;
6675
+ -webkit-user-select: none;
6783
6676
  user-select: none;
6677
+ background-color: var(--color-surface-level3);
6784
6678
  }
6785
6679
 
6786
- .muka-radio--disabled {
6787
- cursor: not-allowed;
6788
- opacity: 0.6;
6680
+ .muka-swipe-actions--disabled {
6681
+ touch-action: auto;
6789
6682
  }
6790
6683
 
6791
- /* Control container */
6792
- .muka-radio__control {
6684
+ /* ─── Row that holds the actual content ────────────────── */
6685
+
6686
+ .muka-swipe-actions__row {
6793
6687
  position: relative;
6794
- display: inline-flex;
6795
- align-items: center;
6796
- justify-content: center;
6797
- flex-shrink: 0;
6688
+ z-index: 1;
6689
+ background-color: inherit;
6690
+ will-change: transform;
6798
6691
  }
6799
6692
 
6800
- /* Hidden native input */
6801
- .muka-radio__input {
6802
- position: absolute;
6803
- width: 1px;
6804
- height: 1px;
6805
- padding: 0;
6806
- margin: -1px;
6807
- overflow: hidden;
6808
- clip: rect(0, 0, 0, 0);
6809
- white-space: nowrap;
6810
- border: 0;
6811
- }
6693
+ /* ─── Action panels — sit beneath the row ──────────────── */
6812
6694
 
6813
- /* Visual indicator (circle) */
6814
- .muka-radio__indicator {
6695
+ .muka-swipe-actions__panel {
6696
+ position: absolute;
6697
+ top: 0;
6698
+ bottom: 0;
6815
6699
  display: flex;
6816
- align-items: center;
6817
- justify-content: center;
6818
- width: var(--radio-size-default);
6819
- height: var(--radio-size-default);
6820
- border-radius: var(--border-radius-full);
6821
- background-color: var(--radio-color-default-background);
6822
- border: var(--border-width-regular) solid var(--radio-color-default-border);
6823
- transition: all 0.15s ease;
6824
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
6825
- }
6826
-
6827
- /* Size variants */
6828
- .muka-radio--sm .muka-radio__indicator {
6829
- width: var(--radio-size-sm);
6830
- height: var(--radio-size-sm);
6700
+ align-items: stretch;
6701
+ z-index: 0;
6831
6702
  }
6832
6703
 
6833
- .muka-radio--lg .muka-radio__indicator {
6834
- width: var(--radio-size-lg);
6835
- height: var(--radio-size-lg);
6704
+ .muka-swipe-actions__panel--left {
6705
+ left: 0;
6836
6706
  }
6837
6707
 
6838
- /* Inner dot (shown when checked) */
6839
- .muka-radio__dot {
6840
- width: var(--radio-dot-size-default);
6841
- height: var(--radio-dot-size-default);
6842
- border-radius: var(--border-radius-full);
6843
- background-color: var(--radio-color-default-dot);
6844
- transform: scale(0);
6845
- transition: transform 0.15s ease;
6708
+ .muka-swipe-actions__panel--right {
6709
+ right: 0;
6846
6710
  }
6847
6711
 
6848
- .muka-radio--sm .muka-radio__dot {
6849
- width: var(--radio-dot-size-sm);
6850
- height: var(--radio-dot-size-sm);
6851
- }
6712
+ /* ─── Single action button ─────────────────────────────── */
6852
6713
 
6853
- .muka-radio--lg .muka-radio__dot {
6854
- width: var(--radio-dot-size-lg);
6855
- height: var(--radio-dot-size-lg);
6714
+ .muka-swipe-actions__button {
6715
+ display: flex;
6716
+ flex-direction: column;
6717
+ align-items: center;
6718
+ justify-content: center;
6719
+ gap: var(--spacing-1);
6720
+ border: none;
6721
+ cursor: pointer;
6722
+ padding: var(--spacing-2);
6723
+ background-color: var(--color-surface-level2);
6724
+ color: var(--color-text-default-default);
6725
+ font-family: var(--text-label-sm-semibold-fontFamily);
6726
+ font-weight: var(--text-label-sm-semibold-fontWeight);
6727
+ font-size: var(--text-label-sm-semibold-fontSize);
6728
+ line-height: var(--text-label-sm-semibold-lineHeight);
6729
+ -webkit-tap-highlight-color: transparent;
6730
+ transition: filter 0.12s ease;
6856
6731
  }
6857
6732
 
6858
- /* Hover state - removed per design */
6859
-
6860
- /* Focus state */
6861
- .muka-radio__input:focus-visible + .muka-radio__indicator {
6862
- outline: 2px solid var(--color-border-focus);
6863
- outline-offset: 2px;
6733
+ .muka-swipe-actions__button:hover {
6734
+ filter: brightness(0.95);
6864
6735
  }
6865
6736
 
6866
- /* Checked state */
6867
- .muka-radio__input:checked + .muka-radio__indicator {
6868
- background-color: var(--radio-color-checked-background);
6869
- border-width: var(--border-width-bold);
6870
- border-color: var(--radio-color-checked-border);
6871
- box-shadow: none;
6737
+ .muka-swipe-actions__button:focus-visible {
6738
+ outline: 2px solid var(--color-action-default);
6739
+ outline-offset: -2px;
6872
6740
  }
6873
6741
 
6874
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
6875
- background-color: var(--radio-color-checked-dot);
6876
- transform: scale(1);
6742
+ .muka-swipe-actions__button-icon {
6743
+ display: inline-flex;
6744
+ align-items: center;
6745
+ justify-content: center;
6877
6746
  }
6878
6747
 
6879
- /* Disabled state */
6880
- .muka-radio--disabled .muka-radio__indicator {
6881
- background-color: var(--radio-color-disabled-background);
6882
- border-color: var(--radio-color-disabled-border);
6883
- box-shadow: none;
6884
- }
6748
+ /* ─── Color variants ───────────────────────────────────── */
6885
6749
 
6886
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
6887
- background-color: var(--radio-color-disabled-dot);
6750
+ .muka-swipe-actions__button--neutral {
6751
+ background-color: var(--color-surface-level2);
6752
+ color: var(--color-text-default-default);
6888
6753
  }
6889
6754
 
6890
- /* Label text */
6891
- .muka-radio__label {
6892
- font-family: var(--text-label-lg-regular-fontFamily);
6893
- font-weight: var(--text-label-lg-regular-fontWeight);
6894
- font-size: var(--text-label-lg-regular-fontSize);
6895
- line-height: var(--text-label-lg-regular-lineHeight);
6896
- color: var(--color-text-default-default);
6755
+ .muka-swipe-actions__button--primary {
6756
+ background-color: var(--color-action-default);
6757
+ color: var(--color-text-default-inverse);
6897
6758
  }
6898
6759
 
6899
- .muka-radio--sm .muka-radio__label {
6900
- font-family: var(--text-label-md-regular-fontFamily);
6901
- font-weight: var(--text-label-md-regular-fontWeight);
6902
- font-size: var(--text-label-md-regular-fontSize);
6903
- line-height: var(--text-label-md-regular-lineHeight);
6760
+ .muka-swipe-actions__button--success {
6761
+ background-color: var(--color-state-success-default);
6762
+ color: var(--color-text-default-inverse);
6904
6763
  }
6905
6764
 
6906
- .muka-radio--lg .muka-radio__label {
6907
- font-family: var(--text-label-xl-regular-fontFamily);
6908
- font-weight: var(--text-label-xl-regular-fontWeight);
6909
- font-size: var(--text-label-xl-regular-fontSize);
6910
- line-height: var(--text-label-xl-regular-lineHeight);
6765
+ .muka-swipe-actions__button--warning {
6766
+ background-color: var(--color-state-warning-default);
6767
+ color: var(--color-text-default-default);
6911
6768
  }
6912
6769
 
6913
- .muka-radio--disabled .muka-radio__label {
6914
- color: var(--color-text-subtle-default);
6770
+ .muka-swipe-actions__button--destructive {
6771
+ background-color: var(--color-state-error-default);
6772
+ color: var(--color-text-default-inverse);
6915
6773
  }
6916
6774
 
6917
6775
 
@@ -7058,308 +6916,194 @@ body {
7058
6916
  }
7059
6917
 
7060
6918
 
7061
- /* PullToRefresh */
7062
- /* PullToRefresh Component Styles */
6919
+ /* Radio */
6920
+ /* Radio Component Styles - Using Muka Design Tokens */
7063
6921
 
7064
- .muka-pull-to-refresh {
7065
- position: relative;
7066
- display: flex;
7067
- flex-direction: column;
7068
- width: 100%;
7069
- height: 100%;
7070
- overflow: hidden;
6922
+ /* Wrapper - clickable label container */
6923
+ .muka-radio {
6924
+ display: inline-flex;
6925
+ align-items: center;
6926
+ gap: var(--spacing-4);
6927
+ cursor: pointer;
6928
+ user-select: none;
7071
6929
  }
7072
6930
 
7073
- .muka-pull-to-refresh__indicator {
7074
- position: absolute;
7075
- top: 0;
7076
- left: 0;
7077
- right: 0;
7078
- display: flex;
7079
- align-items: flex-end;
7080
- justify-content: center;
7081
- padding-bottom: var(--spacing-2);
7082
- color: var(--color-text-subtle-default);
7083
- overflow: hidden;
7084
- pointer-events: none;
7085
- z-index: 1;
6931
+ .muka-radio--disabled {
6932
+ cursor: not-allowed;
6933
+ opacity: 0.6;
7086
6934
  }
7087
6935
 
7088
- .muka-pull-to-refresh__chevron {
6936
+ /* Control container */
6937
+ .muka-radio__control {
6938
+ position: relative;
7089
6939
  display: inline-flex;
7090
6940
  align-items: center;
7091
6941
  justify-content: center;
7092
- transition: transform 0.16s ease;
6942
+ flex-shrink: 0;
7093
6943
  }
7094
6944
 
7095
- .muka-pull-to-refresh__scroller {
7096
- flex: 1 1 auto;
7097
- min-height: 0;
7098
- width: 100%;
7099
- overflow-x: clip;
7100
- overflow-y: auto;
7101
- -webkit-overflow-scrolling: touch;
7102
- overscroll-behavior-y: contain;
7103
- touch-action: pan-y;
7104
- will-change: transform;
6945
+ /* Hidden native input */
6946
+ .muka-radio__input {
6947
+ position: absolute;
6948
+ width: 1px;
6949
+ height: 1px;
6950
+ padding: 0;
6951
+ margin: -1px;
6952
+ overflow: hidden;
6953
+ clip: rect(0, 0, 0, 0);
6954
+ white-space: nowrap;
6955
+ border: 0;
7105
6956
  }
7106
6957
 
7107
-
7108
- /* ProgressAccordeon */
7109
- /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7110
-
7111
- /* ─── Root ──────────────────────────────────────────────── */
7112
- .muka-progress-accordeon {
7113
- container-type: inline-size;
6958
+ /* Visual indicator (circle) */
6959
+ .muka-radio__indicator {
7114
6960
  display: flex;
7115
- flex-direction: column;
7116
- align-items: stretch;
7117
- width: 100%;
7118
- /* Top padding provides the vertical rhythm between stacked steps */
7119
- padding-top: var(--spacing-8);
6961
+ align-items: center;
6962
+ justify-content: center;
6963
+ width: var(--radio-size-default);
6964
+ height: var(--radio-size-default);
6965
+ border-radius: var(--border-radius-full);
6966
+ background-color: var(--radio-color-default-background);
6967
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
6968
+ transition: all 0.15s ease;
6969
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7120
6970
  }
7121
6971
 
7122
- /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7123
- .muka-progress-accordeon--current,
7124
- .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7125
- .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7126
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7127
- gap: var(--spacing-6);
6972
+ /* Size variants */
6973
+ .muka-radio--sm .muka-radio__indicator {
6974
+ width: var(--radio-size-sm);
6975
+ height: var(--radio-size-sm);
7128
6976
  }
7129
6977
 
7130
- .muka-progress-accordeon--upcoming,
7131
- .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7132
- .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7133
- .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7134
- gap: var(--spacing-8);
6978
+ .muka-radio--lg .muka-radio__indicator {
6979
+ width: var(--radio-size-lg);
6980
+ height: var(--radio-size-lg);
7135
6981
  }
7136
6982
 
7137
- /* Collapsible steps group header + slot. The header↔content gap lives inside the
7138
- collapsing slot (as padding-top) so it collapses with the content, so the
7139
- body gap itself is 0. */
7140
- .muka-progress-accordeon__body {
7141
- display: flex;
7142
- flex-direction: column;
7143
- gap: 0;
7144
- width: 100%;
6983
+ /* Inner dot (shown when checked) */
6984
+ .muka-radio__dot {
6985
+ width: var(--radio-dot-size-default);
6986
+ height: var(--radio-dot-size-default);
6987
+ border-radius: var(--border-radius-full);
6988
+ background-color: var(--radio-color-default-dot);
6989
+ transform: scale(0);
6990
+ transition: transform 0.15s ease;
7145
6991
  }
7146
6992
 
7147
- /* ─── Header ─────────────────────────────────────────────── */
7148
- .muka-progress-accordeon__header {
7149
- display: flex;
7150
- flex-direction: column;
7151
- gap: var(--spacing-3);
7152
- width: 100%;
6993
+ .muka-radio--sm .muka-radio__dot {
6994
+ width: var(--radio-dot-size-sm);
6995
+ height: var(--radio-dot-size-sm);
7153
6996
  }
7154
6997
 
7155
- .muka-progress-accordeon__header-row {
7156
- display: flex;
7157
- align-items: flex-start;
7158
- gap: var(--spacing-3);
7159
- width: 100%;
7160
- min-height: 40px;
6998
+ .muka-radio--lg .muka-radio__dot {
6999
+ width: var(--radio-dot-size-lg);
7000
+ height: var(--radio-dot-size-lg);
7161
7001
  }
7162
7002
 
7163
- .muka-progress-accordeon__heading-group {
7164
- display: flex;
7165
- flex: 1 0 0;
7166
- min-width: 0;
7167
- align-items: flex-start;
7168
- gap: var(--spacing-4);
7169
- }
7003
+ /* Hover state - removed per design */
7170
7004
 
7171
- /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7172
- so a single line centres against the indicator + controls row. */
7173
- .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7174
- .muka-progress-accordeon__heading-group {
7175
- padding-top: var(--spacing-1);
7005
+ /* Focus state */
7006
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7007
+ outline: 2px solid var(--color-border-focus);
7008
+ outline-offset: 2px;
7176
7009
  }
7177
7010
 
7178
- .muka-progress-accordeon__controls {
7179
- display: flex;
7180
- flex-shrink: 0;
7181
- align-items: center;
7182
- gap: var(--spacing-3);
7011
+ /* Checked state */
7012
+ .muka-radio__input:checked + .muka-radio__indicator {
7013
+ background-color: var(--radio-color-checked-background);
7014
+ border-width: var(--border-width-bold);
7015
+ border-color: var(--radio-color-checked-border);
7016
+ box-shadow: none;
7183
7017
  }
7184
7018
 
7185
- /* ─── Step indicator (circle) ───────────────────────────── */
7186
- .muka-progress-accordeon__indicator {
7187
- width: 32px;
7188
- height: 32px;
7189
- flex-shrink: 0;
7190
- border-radius: var(--border-radius-full);
7191
- display: flex;
7192
- align-items: center;
7193
- justify-content: center;
7019
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7020
+ background-color: var(--radio-color-checked-dot);
7021
+ transform: scale(1);
7194
7022
  }
7195
7023
 
7196
- /* Past: dark accent-contrast circle with inverse checkmark */
7197
- .muka-progress-accordeon__indicator--past {
7198
- background-color: var(--alias-color-accent-contrast);
7199
- color: var(--color-text-default-inverse);
7024
+ /* Disabled state */
7025
+ .muka-radio--disabled .muka-radio__indicator {
7026
+ background-color: var(--radio-color-disabled-background);
7027
+ border-color: var(--radio-color-disabled-border);
7028
+ box-shadow: none;
7200
7029
  }
7201
7030
 
7202
- /* Current: accent circle with inverse bold number */
7203
- .muka-progress-accordeon__indicator--current {
7204
- background-color: var(--alias-color-accent-default);
7205
- color: var(--color-text-default-inverse);
7031
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7032
+ background-color: var(--radio-color-disabled-dot);
7206
7033
  }
7207
7034
 
7208
- /* Upcoming: sunken/muted circle with default-color number */
7209
- .muka-progress-accordeon__indicator--upcoming {
7210
- background-color: var(--color-surface-sunken);
7035
+ /* Label text */
7036
+ .muka-radio__label {
7037
+ font-family: var(--text-label-lg-regular-fontFamily);
7038
+ font-weight: var(--text-label-lg-regular-fontWeight);
7039
+ font-size: var(--text-label-lg-regular-fontSize);
7040
+ line-height: var(--text-label-lg-regular-lineHeight);
7211
7041
  color: var(--color-text-default-default);
7212
7042
  }
7213
7043
 
7214
- .muka-progress-accordeon__check-icon {
7215
- width: 20px;
7216
- height: 20px;
7217
- color: var(--color-text-default-inverse);
7218
- }
7219
-
7220
- .muka-progress-accordeon__number {
7221
- font-family: var(--text-label-md-bold-fontFamily);
7222
- font-weight: var(--text-label-md-bold-fontWeight);
7223
- font-size: var(--text-label-md-bold-fontSize);
7224
- line-height: var(--text-label-md-bold-lineHeight);
7225
- text-align: center;
7226
- user-select: none;
7227
- }
7228
-
7229
- /* Upcoming number is semibold (not bold) per Figma */
7230
- .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7231
- font-family: var(--text-label-md-semibold-fontFamily);
7232
- font-weight: var(--text-label-md-semibold-fontWeight);
7044
+ .muka-radio--sm .muka-radio__label {
7045
+ font-family: var(--text-label-md-regular-fontFamily);
7046
+ font-weight: var(--text-label-md-regular-fontWeight);
7047
+ font-size: var(--text-label-md-regular-fontSize);
7048
+ line-height: var(--text-label-md-regular-lineHeight);
7233
7049
  }
7234
7050
 
7235
- /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7236
- .muka-progress-accordeon__heading {
7237
- flex: 1 0 0;
7238
- min-width: 0;
7239
- margin: 0;
7240
- font-family: var(--text-heading-md-fontFamily);
7241
- font-weight: var(--text-heading-md-fontWeight);
7242
- font-size: var(--text-heading-md-fontSize);
7243
- line-height: var(--text-heading-md-lineHeight);
7244
- letter-spacing: var(--text-heading-md-letterSpacing);
7245
- color: var(--color-text-default-default);
7051
+ .muka-radio--lg .muka-radio__label {
7052
+ font-family: var(--text-label-xl-regular-fontFamily);
7053
+ font-weight: var(--text-label-xl-regular-fontWeight);
7054
+ font-size: var(--text-label-xl-regular-fontSize);
7055
+ line-height: var(--text-label-xl-regular-lineHeight);
7246
7056
  }
7247
7057
 
7248
- /* ─── Description ────────────────────────────────────────── */
7249
- /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7250
- .muka-progress-accordeon__description {
7251
- width: 100%;
7252
- padding-left: 48px;
7253
- font-family: var(--text-body-base-regular-fontFamily);
7254
- font-weight: var(--text-body-base-regular-fontWeight);
7255
- font-size: var(--text-body-base-regular-fontSize);
7256
- line-height: var(--text-body-base-regular-lineHeight);
7257
- color: var(--color-text-default-default);
7058
+ .muka-radio--disabled .muka-radio__label {
7059
+ color: var(--color-text-subtle-default);
7258
7060
  }
7259
7061
 
7260
- /* ─── Edit button ────────────────────────────────────────── */
7261
- .muka-progress-accordeon__edit {
7262
- flex-shrink: 0;
7263
- }
7264
7062
 
7265
- /* Wide container shows the labelled button; the icon-only one is hidden */
7266
- .muka-progress-accordeon__edit--narrow {
7267
- display: none;
7268
- }
7063
+ /* PullToRefresh */
7064
+ /* PullToRefresh Component Styles */
7269
7065
 
7270
- /* ─── Content slot ───────────────────────────────────────── */
7271
- .muka-progress-accordeon__slot {
7066
+ .muka-pull-to-refresh {
7067
+ position: relative;
7272
7068
  display: flex;
7273
7069
  flex-direction: column;
7274
- align-items: stretch;
7275
7070
  width: 100%;
7276
- }
7277
-
7278
- /* ─── Collapse/expand animation (any expandable step) ──────
7279
- Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7280
- shrinks to its intrinsic height. Opacity fades with the same duration.
7281
- Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7282
- .muka-progress-accordeon__panel-wrapper {
7283
- display: grid;
7284
- grid-template-rows: 1fr;
7285
- opacity: 1;
7286
- transition:
7287
- grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7288
- opacity var(--motion-duration-view) var(--motion-easing-enter);
7289
- }
7290
-
7291
- .muka-progress-accordeon__panel-wrapper--collapsed {
7292
- grid-template-rows: 0fr;
7293
- opacity: 0;
7294
- transition:
7295
- grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7296
- opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7297
- }
7298
-
7299
- /* The direct grid child clips and must have NO padding/border of its own —
7300
- min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7301
- 0 height (padding on the item would leave a residual gap when collapsed). */
7302
- .muka-progress-accordeon__panel-clip {
7071
+ height: 100%;
7303
7072
  overflow: hidden;
7304
- min-height: 0;
7305
- }
7306
-
7307
- /* Header↔content spacing + slot/actions gap live inside the clip so they
7308
- collapse together with the panel. */
7309
- .muka-progress-accordeon__panel {
7310
- display: flex;
7311
- flex-direction: column;
7312
- align-items: stretch;
7313
- gap: var(--spacing-6);
7314
- padding-top: var(--spacing-4);
7315
- width: 100%;
7316
- }
7317
-
7318
- /* ─── Action buttons (current state) ─────────────────────── */
7319
- .muka-progress-accordeon__actions {
7320
- display: flex;
7321
- justify-content: flex-end;
7322
- gap: var(--spacing-4);
7323
- width: 100%;
7324
- }
7325
-
7326
- .muka-progress-accordeon__action {
7327
- min-width: 160px;
7328
- }
7329
-
7330
- /* ─── Divider ────────────────────────────────────────────── */
7331
- .muka-progress-accordeon__divider {
7332
- width: 100%;
7333
7073
  }
7334
7074
 
7335
- /* ─── Responsive (narrow container) ──────────────────────── */
7336
- @container (max-width: 480px) {
7337
- /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7338
- 32px step indicator, so nudge the text down to keep a single line centred. */
7339
- .muka-progress-accordeon__heading {
7340
- font-size: var(--text-heading-sm-fontSize);
7341
- line-height: var(--text-heading-sm-lineHeight);
7342
- padding-top: var(--spacing-1);
7343
- }
7344
-
7345
- /* Edit button swaps to the icon-only variant */
7346
- .muka-progress-accordeon__edit--wide {
7347
- display: none;
7348
- }
7349
-
7350
- .muka-progress-accordeon__edit--narrow {
7351
- display: inline-flex;
7352
- }
7075
+ .muka-pull-to-refresh__indicator {
7076
+ position: absolute;
7077
+ top: 0;
7078
+ left: 0;
7079
+ right: 0;
7080
+ display: flex;
7081
+ align-items: flex-end;
7082
+ justify-content: center;
7083
+ padding-bottom: var(--spacing-2);
7084
+ color: var(--color-text-subtle-default);
7085
+ overflow: hidden;
7086
+ pointer-events: none;
7087
+ z-index: 1;
7088
+ }
7353
7089
 
7354
- /* Action buttons stretch to fill the row */
7355
- .muka-progress-accordeon__actions {
7356
- justify-content: stretch;
7357
- }
7090
+ .muka-pull-to-refresh__chevron {
7091
+ display: inline-flex;
7092
+ align-items: center;
7093
+ justify-content: center;
7094
+ transition: transform 0.16s ease;
7095
+ }
7358
7096
 
7359
- .muka-progress-accordeon__action {
7360
- flex: 1 0 0;
7361
- min-width: 0;
7362
- }
7097
+ .muka-pull-to-refresh__scroller {
7098
+ flex: 1 1 auto;
7099
+ min-height: 0;
7100
+ width: 100%;
7101
+ overflow-x: clip;
7102
+ overflow-y: auto;
7103
+ -webkit-overflow-scrolling: touch;
7104
+ overscroll-behavior-y: contain;
7105
+ touch-action: pan-y;
7106
+ will-change: transform;
7363
7107
  }
7364
7108
 
7365
7109
 
@@ -7858,72 +7602,330 @@ body {
7858
7602
  drop-shadow(0 8px 8px var(--color-black-alpha-5));
7859
7603
  }
7860
7604
 
7861
- /* Concave corners: the tab's bottom flares out into the surface. */
7862
- .muka-progress-tracker__tab::before,
7863
- .muka-progress-tracker__tab::after {
7864
- content: '';
7865
- position: absolute;
7866
- bottom: 0;
7867
- width: var(--border-radius-xl);
7868
- height: var(--border-radius-xl);
7869
- pointer-events: none;
7605
+ /* Concave corners: the tab's bottom flares out into the surface. */
7606
+ .muka-progress-tracker__tab::before,
7607
+ .muka-progress-tracker__tab::after {
7608
+ content: '';
7609
+ position: absolute;
7610
+ bottom: 0;
7611
+ width: var(--border-radius-xl);
7612
+ height: var(--border-radius-xl);
7613
+ pointer-events: none;
7614
+ }
7615
+
7616
+ .muka-progress-tracker__tab::before {
7617
+ right: 100%;
7618
+ background: radial-gradient(
7619
+ circle at 0 0,
7620
+ transparent calc(var(--border-radius-xl) - 0.5px),
7621
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7622
+ );
7623
+ }
7624
+
7625
+ .muka-progress-tracker__tab::after {
7626
+ left: 100%;
7627
+ background: radial-gradient(
7628
+ circle at 100% 0,
7629
+ transparent calc(var(--border-radius-xl) - 0.5px),
7630
+ var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7631
+ );
7632
+ }
7633
+
7634
+ .muka-progress-tracker__tab--selected {
7635
+ --muka-progress-tracker-tab-surface: var(
7636
+ --muka-progress-tracker-tab-selected,
7637
+ var(--color-surface-level3)
7638
+ );
7639
+ }
7640
+
7641
+ button.muka-progress-tracker__tab {
7642
+ cursor: pointer;
7643
+ }
7644
+
7645
+ button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
7646
+ background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7647
+ }
7648
+
7649
+ button.muka-progress-tracker__tab:focus-visible {
7650
+ outline: 2px solid var(--color-border-focus);
7651
+ outline-offset: -2px;
7652
+ }
7653
+
7654
+ .muka-progress-tracker--tabs .muka-progress-tracker__label {
7655
+ font-family: var(--text-body-base-regular-fontFamily);
7656
+ font-weight: var(--text-body-base-regular-fontWeight);
7657
+ font-size: var(--text-body-base-regular-fontSize);
7658
+ line-height: var(--text-body-base-regular-lineHeight);
7659
+ }
7660
+
7661
+ .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7662
+ font-family: var(--text-body-base-bold-fontFamily);
7663
+ font-weight: var(--text-body-base-bold-fontWeight);
7664
+ }
7665
+
7666
+ .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7667
+ font-family: var(--text-label-md-semibold-fontFamily);
7668
+ font-weight: var(--text-label-md-semibold-fontWeight);
7669
+ font-size: var(--text-label-md-semibold-fontSize);
7670
+ line-height: var(--text-label-md-semibold-lineHeight);
7671
+ }
7672
+
7673
+
7674
+ /* ProgressAccordeon */
7675
+ /* ProgressAccordeon Component Styles — Using Muka Design Tokens */
7676
+
7677
+ /* ─── Root ──────────────────────────────────────────────── */
7678
+ .muka-progress-accordeon {
7679
+ container-type: inline-size;
7680
+ display: flex;
7681
+ flex-direction: column;
7682
+ align-items: stretch;
7683
+ width: 100%;
7684
+ /* Top padding provides the vertical rhythm between stacked steps */
7685
+ padding-top: var(--spacing-8);
7686
+ }
7687
+
7688
+ /* Per-state gap: content-bearing steps are tighter, header-only steps looser */
7689
+ .muka-progress-accordeon--current,
7690
+ .muka-progress-accordeon--current.muka-progress-accordeon--expanded,
7691
+ .muka-progress-accordeon--past.muka-progress-accordeon--expanded,
7692
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
7693
+ gap: var(--spacing-6);
7694
+ }
7695
+
7696
+ .muka-progress-accordeon--upcoming,
7697
+ .muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
7698
+ .muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
7699
+ .muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
7700
+ gap: var(--spacing-8);
7701
+ }
7702
+
7703
+ /* Collapsible steps group header + slot. The header↔content gap lives inside the
7704
+ collapsing slot (as padding-top) so it collapses with the content, so the
7705
+ body gap itself is 0. */
7706
+ .muka-progress-accordeon__body {
7707
+ display: flex;
7708
+ flex-direction: column;
7709
+ gap: 0;
7710
+ width: 100%;
7711
+ }
7712
+
7713
+ /* ─── Header ─────────────────────────────────────────────── */
7714
+ .muka-progress-accordeon__header {
7715
+ display: flex;
7716
+ flex-direction: column;
7717
+ gap: var(--spacing-3);
7718
+ width: 100%;
7719
+ }
7720
+
7721
+ .muka-progress-accordeon__header-row {
7722
+ display: flex;
7723
+ align-items: flex-start;
7724
+ gap: var(--spacing-3);
7725
+ width: 100%;
7726
+ min-height: 40px;
7727
+ }
7728
+
7729
+ .muka-progress-accordeon__heading-group {
7730
+ display: flex;
7731
+ flex: 1 0 0;
7732
+ min-width: 0;
7733
+ align-items: flex-start;
7734
+ gap: var(--spacing-4);
7735
+ }
7736
+
7737
+ /* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
7738
+ so a single line centres against the indicator + controls row. */
7739
+ .muka-progress-accordeon:has(.muka-progress-accordeon__controls)
7740
+ .muka-progress-accordeon__heading-group {
7741
+ padding-top: var(--spacing-1);
7742
+ }
7743
+
7744
+ .muka-progress-accordeon__controls {
7745
+ display: flex;
7746
+ flex-shrink: 0;
7747
+ align-items: center;
7748
+ gap: var(--spacing-3);
7749
+ }
7750
+
7751
+ /* ─── Step indicator (circle) ───────────────────────────── */
7752
+ .muka-progress-accordeon__indicator {
7753
+ width: 32px;
7754
+ height: 32px;
7755
+ flex-shrink: 0;
7756
+ border-radius: var(--border-radius-full);
7757
+ display: flex;
7758
+ align-items: center;
7759
+ justify-content: center;
7760
+ }
7761
+
7762
+ /* Past: dark accent-contrast circle with inverse checkmark */
7763
+ .muka-progress-accordeon__indicator--past {
7764
+ background-color: var(--alias-color-accent-contrast);
7765
+ color: var(--color-text-default-inverse);
7766
+ }
7767
+
7768
+ /* Current: accent circle with inverse bold number */
7769
+ .muka-progress-accordeon__indicator--current {
7770
+ background-color: var(--alias-color-accent-default);
7771
+ color: var(--color-text-default-inverse);
7772
+ }
7773
+
7774
+ /* Upcoming: sunken/muted circle with default-color number */
7775
+ .muka-progress-accordeon__indicator--upcoming {
7776
+ background-color: var(--color-surface-sunken);
7777
+ color: var(--color-text-default-default);
7778
+ }
7779
+
7780
+ .muka-progress-accordeon__check-icon {
7781
+ width: 20px;
7782
+ height: 20px;
7783
+ color: var(--color-text-default-inverse);
7784
+ }
7785
+
7786
+ .muka-progress-accordeon__number {
7787
+ font-family: var(--text-label-md-bold-fontFamily);
7788
+ font-weight: var(--text-label-md-bold-fontWeight);
7789
+ font-size: var(--text-label-md-bold-fontSize);
7790
+ line-height: var(--text-label-md-bold-lineHeight);
7791
+ text-align: center;
7792
+ user-select: none;
7793
+ }
7794
+
7795
+ /* Upcoming number is semibold (not bold) per Figma */
7796
+ .muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
7797
+ font-family: var(--text-label-md-semibold-fontFamily);
7798
+ font-weight: var(--text-label-md-semibold-fontWeight);
7799
+ }
7800
+
7801
+ /* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
7802
+ .muka-progress-accordeon__heading {
7803
+ flex: 1 0 0;
7804
+ min-width: 0;
7805
+ margin: 0;
7806
+ font-family: var(--text-heading-md-fontFamily);
7807
+ font-weight: var(--text-heading-md-fontWeight);
7808
+ font-size: var(--text-heading-md-fontSize);
7809
+ line-height: var(--text-heading-md-lineHeight);
7810
+ letter-spacing: var(--text-heading-md-letterSpacing);
7811
+ color: var(--color-text-default-default);
7812
+ }
7813
+
7814
+ /* ─── Description ────────────────────────────────────────── */
7815
+ /* Indented 48px (32px indicator + 16px gap) to align under the heading text */
7816
+ .muka-progress-accordeon__description {
7817
+ width: 100%;
7818
+ padding-left: 48px;
7819
+ font-family: var(--text-body-base-regular-fontFamily);
7820
+ font-weight: var(--text-body-base-regular-fontWeight);
7821
+ font-size: var(--text-body-base-regular-fontSize);
7822
+ line-height: var(--text-body-base-regular-lineHeight);
7823
+ color: var(--color-text-default-default);
7824
+ }
7825
+
7826
+ /* ─── Edit button ────────────────────────────────────────── */
7827
+ .muka-progress-accordeon__edit {
7828
+ flex-shrink: 0;
7870
7829
  }
7871
7830
 
7872
- .muka-progress-tracker__tab::before {
7873
- right: 100%;
7874
- background: radial-gradient(
7875
- circle at 0 0,
7876
- transparent calc(var(--border-radius-xl) - 0.5px),
7877
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7878
- );
7831
+ /* Wide container shows the labelled button; the icon-only one is hidden */
7832
+ .muka-progress-accordeon__edit--narrow {
7833
+ display: none;
7879
7834
  }
7880
7835
 
7881
- .muka-progress-tracker__tab::after {
7882
- left: 100%;
7883
- background: radial-gradient(
7884
- circle at 100% 0,
7885
- transparent calc(var(--border-radius-xl) - 0.5px),
7886
- var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
7887
- );
7836
+ /* ─── Content slot ───────────────────────────────────────── */
7837
+ .muka-progress-accordeon__slot {
7838
+ display: flex;
7839
+ flex-direction: column;
7840
+ align-items: stretch;
7841
+ width: 100%;
7888
7842
  }
7889
7843
 
7890
- .muka-progress-tracker__tab--selected {
7891
- --muka-progress-tracker-tab-surface: var(
7892
- --muka-progress-tracker-tab-selected,
7893
- var(--color-surface-level3)
7894
- );
7844
+ /* ─── Collapse/expand animation (any expandable step) ──────
7845
+ Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
7846
+ shrinks to its intrinsic height. Opacity fades with the same duration.
7847
+ Under prefers-reduced-motion, --motion-duration-view is 0ms. */
7848
+ .muka-progress-accordeon__panel-wrapper {
7849
+ display: grid;
7850
+ grid-template-rows: 1fr;
7851
+ opacity: 1;
7852
+ transition:
7853
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
7854
+ opacity var(--motion-duration-view) var(--motion-easing-enter);
7895
7855
  }
7896
7856
 
7897
- button.muka-progress-tracker__tab {
7898
- cursor: pointer;
7857
+ .muka-progress-accordeon__panel-wrapper--collapsed {
7858
+ grid-template-rows: 0fr;
7859
+ opacity: 0;
7860
+ transition:
7861
+ grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
7862
+ opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
7899
7863
  }
7900
7864
 
7901
- button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
7902
- background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
7865
+ /* The direct grid child clips and must have NO padding/border of its own —
7866
+ min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
7867
+ 0 height (padding on the item would leave a residual gap when collapsed). */
7868
+ .muka-progress-accordeon__panel-clip {
7869
+ overflow: hidden;
7870
+ min-height: 0;
7903
7871
  }
7904
7872
 
7905
- button.muka-progress-tracker__tab:focus-visible {
7906
- outline: 2px solid var(--color-border-focus);
7907
- outline-offset: -2px;
7873
+ /* Header↔content spacing + slot/actions gap live inside the clip so they
7874
+ collapse together with the panel. */
7875
+ .muka-progress-accordeon__panel {
7876
+ display: flex;
7877
+ flex-direction: column;
7878
+ align-items: stretch;
7879
+ gap: var(--spacing-6);
7880
+ padding-top: var(--spacing-4);
7881
+ width: 100%;
7908
7882
  }
7909
7883
 
7910
- .muka-progress-tracker--tabs .muka-progress-tracker__label {
7911
- font-family: var(--text-body-base-regular-fontFamily);
7912
- font-weight: var(--text-body-base-regular-fontWeight);
7913
- font-size: var(--text-body-base-regular-fontSize);
7914
- line-height: var(--text-body-base-regular-lineHeight);
7884
+ /* ─── Action buttons (current state) ─────────────────────── */
7885
+ .muka-progress-accordeon__actions {
7886
+ display: flex;
7887
+ justify-content: flex-end;
7888
+ gap: var(--spacing-4);
7889
+ width: 100%;
7915
7890
  }
7916
7891
 
7917
- .muka-progress-tracker__tab--selected .muka-progress-tracker__label {
7918
- font-family: var(--text-body-base-bold-fontFamily);
7919
- font-weight: var(--text-body-base-bold-fontWeight);
7892
+ .muka-progress-accordeon__action {
7893
+ min-width: 160px;
7920
7894
  }
7921
7895
 
7922
- .muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
7923
- font-family: var(--text-label-md-semibold-fontFamily);
7924
- font-weight: var(--text-label-md-semibold-fontWeight);
7925
- font-size: var(--text-label-md-semibold-fontSize);
7926
- line-height: var(--text-label-md-semibold-lineHeight);
7896
+ /* ─── Divider ────────────────────────────────────────────── */
7897
+ .muka-progress-accordeon__divider {
7898
+ width: 100%;
7899
+ }
7900
+
7901
+ /* ─── Responsive (narrow container) ──────────────────────── */
7902
+ @container (max-width: 480px) {
7903
+ /* Heading steps down to heading/sm. The 24px line-height is shorter than the
7904
+ 32px step indicator, so nudge the text down to keep a single line centred. */
7905
+ .muka-progress-accordeon__heading {
7906
+ font-size: var(--text-heading-sm-fontSize);
7907
+ line-height: var(--text-heading-sm-lineHeight);
7908
+ padding-top: var(--spacing-1);
7909
+ }
7910
+
7911
+ /* Edit button swaps to the icon-only variant */
7912
+ .muka-progress-accordeon__edit--wide {
7913
+ display: none;
7914
+ }
7915
+
7916
+ .muka-progress-accordeon__edit--narrow {
7917
+ display: inline-flex;
7918
+ }
7919
+
7920
+ /* Action buttons stretch to fill the row */
7921
+ .muka-progress-accordeon__actions {
7922
+ justify-content: stretch;
7923
+ }
7924
+
7925
+ .muka-progress-accordeon__action {
7926
+ flex: 1 0 0;
7927
+ min-width: 0;
7928
+ }
7927
7929
  }
7928
7930
 
7929
7931
 
@@ -9040,66 +9042,6 @@ button.muka-progress-tracker__tab:focus-visible {
9040
9042
  }
9041
9043
 
9042
9044
 
9043
- /* Page */
9044
- /* Page Component Styles */
9045
-
9046
- /*
9047
- * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
9048
- * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
9049
- * only appears in an app running edge to edge (viewport-fit=cover).
9050
- *
9051
- * `--muka-page-background` is the page colour. SiteHeader reads it, so a
9052
- * header and its status-bar scrim match the page without configuration.
9053
- */
9054
- .muka-page {
9055
- --muka-page-background: var(--color-surface-level3);
9056
- display: flex;
9057
- flex-direction: column;
9058
- min-height: 100vh;
9059
- min-height: 100dvh;
9060
- background-color: var(--muka-page-background);
9061
- }
9062
-
9063
- .muka-page--surface-2 {
9064
- --muka-page-background: var(--color-surface-level2);
9065
- }
9066
-
9067
- /* Overscroll (rubber band) shows the document background: keep it the page's. */
9068
- :root:has(.muka-page--surface-2) body {
9069
- background-color: var(--color-surface-level2);
9070
- }
9071
-
9072
- .muka-page__main {
9073
- flex: 1 0 auto;
9074
- display: flex;
9075
- flex-direction: column;
9076
- /* Landscape: clear the notch. */
9077
- padding-left: env(safe-area-inset-left, 0px);
9078
- padding-right: env(safe-area-inset-right, 0px);
9079
- }
9080
-
9081
- .muka-page__footer {
9082
- flex-shrink: 0;
9083
- padding-left: env(safe-area-inset-left, 0px);
9084
- padding-right: env(safe-area-inset-right, 0px);
9085
- padding-bottom: env(safe-area-inset-bottom, 0px);
9086
- }
9087
-
9088
- /* A footer with its own colour: the colour runs under the home indicator. */
9089
- .muka-page__footer--surface-2 {
9090
- background-color: var(--color-surface-level2);
9091
- }
9092
-
9093
- .muka-page__footer--surface-3 {
9094
- background-color: var(--color-surface-level3);
9095
- }
9096
-
9097
- /* Without a footer, the content is last and clears the home indicator. */
9098
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9099
- padding-bottom: env(safe-area-inset-bottom, 0px);
9100
- }
9101
-
9102
-
9103
9045
  /* NumberInput */
9104
9046
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9105
9047
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -10210,44 +10152,104 @@ li.muka-listitem {
10210
10152
  }
10211
10153
 
10212
10154
 
10213
- /* Label */
10214
- /* Label Component Styles - Using Muka Design Tokens */
10215
-
10216
- .muka-label {
10217
- display: inline-flex;
10218
- align-items: center;
10219
- color: var(--color-text-default-default);
10220
- cursor: pointer;
10155
+ /* Label */
10156
+ /* Label Component Styles - Using Muka Design Tokens */
10157
+
10158
+ .muka-label {
10159
+ display: inline-flex;
10160
+ align-items: center;
10161
+ color: var(--color-text-default-default);
10162
+ cursor: pointer;
10163
+ }
10164
+
10165
+ .muka-label--sm {
10166
+ font-family: var(--text-label-sm-semibold-fontFamily);
10167
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10168
+ font-size: var(--text-label-sm-semibold-fontSize);
10169
+ line-height: var(--text-label-sm-semibold-lineHeight);
10170
+ }
10171
+
10172
+ .muka-label--md {
10173
+ font-family: var(--text-label-md-semibold-fontFamily);
10174
+ font-weight: var(--text-label-md-semibold-fontWeight);
10175
+ font-size: var(--text-label-md-semibold-fontSize);
10176
+ line-height: var(--text-label-md-semibold-lineHeight);
10177
+ }
10178
+
10179
+ .muka-label--lg {
10180
+ font-family: var(--text-label-lg-semibold-fontFamily);
10181
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10182
+ font-size: var(--text-label-lg-semibold-fontSize);
10183
+ line-height: var(--text-label-lg-semibold-lineHeight);
10184
+ }
10185
+
10186
+ .muka-label--disabled {
10187
+ color: var(--color-text-subtle-default);
10188
+ cursor: not-allowed;
10189
+ }
10190
+
10191
+ .muka-label__required {
10192
+ color: var(--color-state-error-default);
10193
+ }
10194
+
10195
+
10196
+ /* Page */
10197
+ /* Page Component Styles */
10198
+
10199
+ /*
10200
+ * Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
10201
+ * env(safe-area-inset-*) is 0 outside notched devices, so the padding below
10202
+ * only appears in an app running edge to edge (viewport-fit=cover).
10203
+ *
10204
+ * `--muka-page-background` is the page colour. SiteHeader reads it, so a
10205
+ * header and its status-bar scrim match the page without configuration.
10206
+ */
10207
+ .muka-page {
10208
+ --muka-page-background: var(--color-surface-level3);
10209
+ display: flex;
10210
+ flex-direction: column;
10211
+ min-height: 100vh;
10212
+ min-height: 100dvh;
10213
+ background-color: var(--muka-page-background);
10214
+ }
10215
+
10216
+ .muka-page--surface-2 {
10217
+ --muka-page-background: var(--color-surface-level2);
10218
+ }
10219
+
10220
+ /* Overscroll (rubber band) shows the document background: keep it the page's. */
10221
+ :root:has(.muka-page--surface-2) body {
10222
+ background-color: var(--color-surface-level2);
10221
10223
  }
10222
10224
 
10223
- .muka-label--sm {
10224
- font-family: var(--text-label-sm-semibold-fontFamily);
10225
- font-weight: var(--text-label-sm-semibold-fontWeight);
10226
- font-size: var(--text-label-sm-semibold-fontSize);
10227
- line-height: var(--text-label-sm-semibold-lineHeight);
10225
+ .muka-page__main {
10226
+ flex: 1 0 auto;
10227
+ display: flex;
10228
+ flex-direction: column;
10229
+ /* Landscape: clear the notch. */
10230
+ padding-left: env(safe-area-inset-left, 0px);
10231
+ padding-right: env(safe-area-inset-right, 0px);
10228
10232
  }
10229
10233
 
10230
- .muka-label--md {
10231
- font-family: var(--text-label-md-semibold-fontFamily);
10232
- font-weight: var(--text-label-md-semibold-fontWeight);
10233
- font-size: var(--text-label-md-semibold-fontSize);
10234
- line-height: var(--text-label-md-semibold-lineHeight);
10234
+ .muka-page__footer {
10235
+ flex-shrink: 0;
10236
+ padding-left: env(safe-area-inset-left, 0px);
10237
+ padding-right: env(safe-area-inset-right, 0px);
10238
+ padding-bottom: env(safe-area-inset-bottom, 0px);
10235
10239
  }
10236
10240
 
10237
- .muka-label--lg {
10238
- font-family: var(--text-label-lg-semibold-fontFamily);
10239
- font-weight: var(--text-label-lg-semibold-fontWeight);
10240
- font-size: var(--text-label-lg-semibold-fontSize);
10241
- line-height: var(--text-label-lg-semibold-lineHeight);
10241
+ /* A footer with its own colour: the colour runs under the home indicator. */
10242
+ .muka-page__footer--surface-2 {
10243
+ background-color: var(--color-surface-level2);
10242
10244
  }
10243
10245
 
10244
- .muka-label--disabled {
10245
- color: var(--color-text-subtle-default);
10246
- cursor: not-allowed;
10246
+ .muka-page__footer--surface-3 {
10247
+ background-color: var(--color-surface-level3);
10247
10248
  }
10248
10249
 
10249
- .muka-label__required {
10250
- color: var(--color-state-error-default);
10250
+ /* Without a footer, the content is last and clears the home indicator. */
10251
+ .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
10252
+ padding-bottom: env(safe-area-inset-bottom, 0px);
10251
10253
  }
10252
10254
 
10253
10255
 
@@ -15044,256 +15046,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
15044
15046
  }
15045
15047
 
15046
15048
  .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15047
- cursor: pointer;
15048
- }
15049
-
15050
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15051
- outline: 2px solid var(--color-action-default);
15052
- outline-offset: 2px;
15053
- border-radius: var(--radius-sm);
15054
- }
15055
-
15056
- .muka-chat-attachment-chip__icon {
15057
- display: inline-flex;
15058
- align-items: center;
15059
- justify-content: center;
15060
- flex-shrink: 0;
15061
- color: var(--color-text-subtle-default);
15062
- }
15063
-
15064
- .muka-chat-attachment-chip__text {
15065
- display: flex;
15066
- flex-direction: column;
15067
- min-width: 0;
15068
- flex: 1 1 auto;
15069
- }
15070
-
15071
- .muka-chat-attachment-chip__name {
15072
- color: var(--color-text-default-default);
15073
- font-family: var(--text-body-sm-regular-fontFamily);
15074
- font-weight: var(--text-body-sm-regular-fontWeight);
15075
- font-size: var(--text-body-sm-regular-fontSize);
15076
- line-height: var(--text-body-sm-regular-lineHeight);
15077
- white-space: nowrap;
15078
- overflow: hidden;
15079
- text-overflow: ellipsis;
15080
- }
15081
-
15082
- .muka-chat-attachment-chip__meta {
15083
- color: var(--color-text-subtle-default);
15084
- font-family: var(--text-body-sm-regular-fontFamily);
15085
- font-weight: var(--text-body-sm-regular-fontWeight);
15086
- font-size: var(--text-body-sm-regular-fontSize);
15087
- line-height: var(--text-body-sm-regular-lineHeight);
15088
- white-space: nowrap;
15089
- overflow: hidden;
15090
- text-overflow: ellipsis;
15091
- }
15092
-
15093
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15094
- color: var(--color-state-error-default, var(--color-text-default-default));
15095
- }
15096
-
15097
- /* ─── Remove button ────────────────────────────────────── */
15098
-
15099
- .muka-chat-attachment-chip__remove {
15100
- display: inline-flex;
15101
- align-items: center;
15102
- justify-content: center;
15103
- width: 20px;
15104
- height: 20px;
15105
- border: none;
15106
- background: none;
15107
- padding: 0;
15108
- border-radius: var(--radius-sm);
15109
- cursor: pointer;
15110
- color: var(--color-text-subtle-default);
15111
- flex-shrink: 0;
15112
- -webkit-tap-highlight-color: transparent;
15113
- }
15114
-
15115
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15116
- color: var(--color-text-default-default);
15117
- background-color: var(--color-surface-level2);
15118
- }
15119
-
15120
- .muka-chat-attachment-chip__remove:focus-visible {
15121
- outline: 2px solid var(--color-action-default);
15122
- outline-offset: 2px;
15123
- }
15124
-
15125
- .muka-chat-attachment-chip__remove:disabled {
15126
- cursor: not-allowed;
15127
- opacity: 0.5;
15128
- }
15129
-
15130
- /* ─── Progress bar ─────────────────────────────────────── */
15131
-
15132
- .muka-chat-attachment-chip__progress {
15133
- position: absolute;
15134
- left: 0;
15135
- right: 0;
15136
- bottom: 0;
15137
- height: 2px;
15138
- background-color: var(--color-surface-level2);
15139
- overflow: hidden;
15140
- }
15141
-
15142
- .muka-chat-attachment-chip__progress-fill {
15143
- display: block;
15144
- height: 100%;
15145
- background-color: var(--color-action-default);
15146
- transition: width 0.16s ease;
15147
- }
15148
-
15149
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15150
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15151
- }
15152
-
15153
-
15154
- /* Card */
15155
- /* Card Component Styles - Using Muka Design Tokens */
15156
-
15157
- .muka-card {
15158
- background-color: var(--card-color-default-background);
15159
- color: var(--card-color-default-foreground);
15160
- border: var(--border-width-regular) solid var(--card-color-default-border);
15161
- box-shadow: var(--card-shadow-default);
15162
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15163
- overflow: hidden;
15164
- }
15165
-
15166
- /* Padding variants */
15167
- .muka-card--padding-none {
15168
- padding: 0;
15169
- }
15170
-
15171
- .muka-card--padding-sm {
15172
- padding: var(--card-padding-sm);
15173
- }
15174
-
15175
- .muka-card--padding-md {
15176
- padding: var(--card-padding-md);
15177
- }
15178
-
15179
- .muka-card--padding-lg {
15180
- padding: var(--card-padding-lg);
15181
- }
15182
-
15183
- /* Radius variants */
15184
- .muka-card--radius-sm {
15185
- border-radius: var(--card-radius-sm);
15186
- }
15187
-
15188
- .muka-card--radius-md {
15189
- border-radius: var(--card-radius-md);
15190
- }
15191
-
15192
- .muka-card--radius-lg {
15193
- border-radius: var(--card-radius-lg);
15194
- }
15195
-
15196
- /* Interactive variant */
15197
- .muka-card--interactive {
15198
- cursor: pointer;
15199
- user-select: none;
15200
- }
15201
-
15202
- .muka-card--interactive:hover {
15203
- background-color: var(--card-color-hover-background);
15204
- border-color: var(--card-color-hover-border);
15205
- box-shadow: var(--card-shadow-hover);
15206
- }
15207
-
15208
- .muka-card--interactive:active,
15209
- .muka-card--interactive.muka-card--pressed {
15210
- background-color: var(--card-color-pressed-background);
15211
- border-color: var(--card-color-pressed-border);
15212
- box-shadow: var(--card-shadow-pressed);
15213
- }
15214
-
15215
- .muka-card--interactive:focus-visible {
15216
- outline: 2px solid var(--color-border-focus);
15217
- outline-offset: 2px;
15218
- }
15219
-
15220
- /* Selected variant */
15221
- .muka-card--selected {
15222
- background-color: var(--card-color-selected-background);
15223
- border-color: var(--card-color-selected-border);
15224
- border-width: var(--border-width-bold);
15225
- box-shadow: var(--card-shadow-selected);
15226
- }
15227
-
15228
- /* Tone: sticky note (MUK-105) */
15229
- .muka-card--tone-note {
15230
- background-color: var(--card-color-note-background);
15231
- color: var(--card-color-note-foreground);
15232
- border-color: var(--card-color-note-border);
15233
- box-shadow: var(--card-shadow-note);
15234
- }
15235
-
15236
- .muka-card--tone-note.muka-card--interactive:hover,
15237
- .muka-card--tone-note.muka-card--interactive:active,
15238
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15239
- background-color: var(--card-color-note-background);
15240
- border-color: var(--card-color-note-border);
15241
- }
15242
-
15243
- .muka-card--tilt-left {
15244
- transform: rotate(-0.75deg);
15245
- }
15246
-
15247
- .muka-card--tilt-right {
15248
- transform: rotate(0.6deg);
15049
+ cursor: pointer;
15249
15050
  }
15250
15051
 
15251
- @media (prefers-reduced-motion: no-preference) {
15252
- .muka-card--tilt-left,
15253
- .muka-card--tilt-right {
15254
- transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15255
- }
15052
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15053
+ outline: 2px solid var(--color-action-default);
15054
+ outline-offset: 2px;
15055
+ border-radius: var(--radius-sm);
15256
15056
  }
15257
15057
 
15258
- .muka-card--interactive.muka-card--tilt-left:hover,
15259
- .muka-card--interactive.muka-card--tilt-right:hover {
15260
- transform: none;
15058
+ .muka-chat-attachment-chip__icon {
15059
+ display: inline-flex;
15060
+ align-items: center;
15061
+ justify-content: center;
15062
+ flex-shrink: 0;
15063
+ color: var(--color-text-subtle-default);
15261
15064
  }
15262
15065
 
15263
- /* Optional header (title + description) */
15264
- .muka-card__header {
15265
- margin-bottom: var(--spacing-4);
15066
+ .muka-chat-attachment-chip__text {
15067
+ display: flex;
15068
+ flex-direction: column;
15069
+ min-width: 0;
15070
+ flex: 1 1 auto;
15266
15071
  }
15267
15072
 
15268
- .muka-card__title {
15269
- margin: 0;
15073
+ .muka-chat-attachment-chip__name {
15270
15074
  color: var(--color-text-default-default);
15271
- font-family: var(--text-heading-xs-fontFamily);
15272
- font-weight: var(--text-heading-xs-fontWeight);
15273
- font-size: var(--text-heading-xs-fontSize);
15274
- line-height: var(--text-heading-xs-lineHeight);
15275
- letter-spacing: var(--text-heading-xs-letterSpacing);
15075
+ font-family: var(--text-body-sm-regular-fontFamily);
15076
+ font-weight: var(--text-body-sm-regular-fontWeight);
15077
+ font-size: var(--text-body-sm-regular-fontSize);
15078
+ line-height: var(--text-body-sm-regular-lineHeight);
15079
+ white-space: nowrap;
15080
+ overflow: hidden;
15081
+ text-overflow: ellipsis;
15276
15082
  }
15277
15083
 
15278
- .muka-card__description {
15279
- margin: var(--spacing-1) 0 0;
15084
+ .muka-chat-attachment-chip__meta {
15280
15085
  color: var(--color-text-subtle-default);
15281
15086
  font-family: var(--text-body-sm-regular-fontFamily);
15282
15087
  font-weight: var(--text-body-sm-regular-fontWeight);
15283
15088
  font-size: var(--text-body-sm-regular-fontSize);
15284
15089
  line-height: var(--text-body-sm-regular-lineHeight);
15090
+ white-space: nowrap;
15091
+ overflow: hidden;
15092
+ text-overflow: ellipsis;
15285
15093
  }
15286
15094
 
15287
- /* Hide divider on last list item inside card */
15288
- .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
15289
- display: none;
15095
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15096
+ color: var(--color-state-error-default, var(--color-text-default-default));
15290
15097
  }
15291
15098
 
15292
- /* Disabled state */
15293
- .muka-card--disabled {
15294
- opacity: 0.5;
15099
+ /* ─── Remove button ────────────────────────────────────── */
15100
+
15101
+ .muka-chat-attachment-chip__remove {
15102
+ display: inline-flex;
15103
+ align-items: center;
15104
+ justify-content: center;
15105
+ width: 20px;
15106
+ height: 20px;
15107
+ border: none;
15108
+ background: none;
15109
+ padding: 0;
15110
+ border-radius: var(--radius-sm);
15111
+ cursor: pointer;
15112
+ color: var(--color-text-subtle-default);
15113
+ flex-shrink: 0;
15114
+ -webkit-tap-highlight-color: transparent;
15115
+ }
15116
+
15117
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15118
+ color: var(--color-text-default-default);
15119
+ background-color: var(--color-surface-level2);
15120
+ }
15121
+
15122
+ .muka-chat-attachment-chip__remove:focus-visible {
15123
+ outline: 2px solid var(--color-action-default);
15124
+ outline-offset: 2px;
15125
+ }
15126
+
15127
+ .muka-chat-attachment-chip__remove:disabled {
15295
15128
  cursor: not-allowed;
15296
- pointer-events: none;
15129
+ opacity: 0.5;
15130
+ }
15131
+
15132
+ /* ─── Progress bar ─────────────────────────────────────── */
15133
+
15134
+ .muka-chat-attachment-chip__progress {
15135
+ position: absolute;
15136
+ left: 0;
15137
+ right: 0;
15138
+ bottom: 0;
15139
+ height: 2px;
15140
+ background-color: var(--color-surface-level2);
15141
+ overflow: hidden;
15142
+ }
15143
+
15144
+ .muka-chat-attachment-chip__progress-fill {
15145
+ display: block;
15146
+ height: 100%;
15147
+ background-color: var(--color-action-default);
15148
+ transition: width 0.16s ease;
15149
+ }
15150
+
15151
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15152
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15297
15153
  }
15298
15154
 
15299
15155
 
@@ -17628,3 +17484,149 @@ button.muka-chat-photo-grid__tile:focus-visible {
17628
17484
  border-bottom: none;
17629
17485
  }
17630
17486
 
17487
+
17488
+ /* Card */
17489
+ /* Card Component Styles - Using Muka Design Tokens */
17490
+
17491
+ .muka-card {
17492
+ background-color: var(--card-color-default-background);
17493
+ color: var(--card-color-default-foreground);
17494
+ border: var(--border-width-regular) solid var(--card-color-default-border);
17495
+ box-shadow: var(--card-shadow-default);
17496
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17497
+ overflow: hidden;
17498
+ }
17499
+
17500
+ /* Padding variants */
17501
+ .muka-card--padding-none {
17502
+ padding: 0;
17503
+ }
17504
+
17505
+ .muka-card--padding-sm {
17506
+ padding: var(--card-padding-sm);
17507
+ }
17508
+
17509
+ .muka-card--padding-md {
17510
+ padding: var(--card-padding-md);
17511
+ }
17512
+
17513
+ .muka-card--padding-lg {
17514
+ padding: var(--card-padding-lg);
17515
+ }
17516
+
17517
+ /* Radius variants */
17518
+ .muka-card--radius-sm {
17519
+ border-radius: var(--card-radius-sm);
17520
+ }
17521
+
17522
+ .muka-card--radius-md {
17523
+ border-radius: var(--card-radius-md);
17524
+ }
17525
+
17526
+ .muka-card--radius-lg {
17527
+ border-radius: var(--card-radius-lg);
17528
+ }
17529
+
17530
+ /* Interactive variant */
17531
+ .muka-card--interactive {
17532
+ cursor: pointer;
17533
+ user-select: none;
17534
+ }
17535
+
17536
+ .muka-card--interactive:hover {
17537
+ background-color: var(--card-color-hover-background);
17538
+ border-color: var(--card-color-hover-border);
17539
+ box-shadow: var(--card-shadow-hover);
17540
+ }
17541
+
17542
+ .muka-card--interactive:active,
17543
+ .muka-card--interactive.muka-card--pressed {
17544
+ background-color: var(--card-color-pressed-background);
17545
+ border-color: var(--card-color-pressed-border);
17546
+ box-shadow: var(--card-shadow-pressed);
17547
+ }
17548
+
17549
+ .muka-card--interactive:focus-visible {
17550
+ outline: 2px solid var(--color-border-focus);
17551
+ outline-offset: 2px;
17552
+ }
17553
+
17554
+ /* Selected variant */
17555
+ .muka-card--selected {
17556
+ background-color: var(--card-color-selected-background);
17557
+ border-color: var(--card-color-selected-border);
17558
+ border-width: var(--border-width-bold);
17559
+ box-shadow: var(--card-shadow-selected);
17560
+ }
17561
+
17562
+ /* Tone: sticky note (MUK-105) */
17563
+ .muka-card--tone-note {
17564
+ background-color: var(--card-color-note-background);
17565
+ color: var(--card-color-note-foreground);
17566
+ border-color: var(--card-color-note-border);
17567
+ box-shadow: var(--card-shadow-note);
17568
+ }
17569
+
17570
+ .muka-card--tone-note.muka-card--interactive:hover,
17571
+ .muka-card--tone-note.muka-card--interactive:active,
17572
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
17573
+ background-color: var(--card-color-note-background);
17574
+ border-color: var(--card-color-note-border);
17575
+ }
17576
+
17577
+ .muka-card--tilt-left {
17578
+ transform: rotate(-0.75deg);
17579
+ }
17580
+
17581
+ .muka-card--tilt-right {
17582
+ transform: rotate(0.6deg);
17583
+ }
17584
+
17585
+ @media (prefers-reduced-motion: no-preference) {
17586
+ .muka-card--tilt-left,
17587
+ .muka-card--tilt-right {
17588
+ transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
17589
+ }
17590
+ }
17591
+
17592
+ .muka-card--interactive.muka-card--tilt-left:hover,
17593
+ .muka-card--interactive.muka-card--tilt-right:hover {
17594
+ transform: none;
17595
+ }
17596
+
17597
+ /* Optional header (title + description) */
17598
+ .muka-card__header {
17599
+ margin-bottom: var(--spacing-4);
17600
+ }
17601
+
17602
+ .muka-card__title {
17603
+ margin: 0;
17604
+ color: var(--color-text-default-default);
17605
+ font-family: var(--text-heading-xs-fontFamily);
17606
+ font-weight: var(--text-heading-xs-fontWeight);
17607
+ font-size: var(--text-heading-xs-fontSize);
17608
+ line-height: var(--text-heading-xs-lineHeight);
17609
+ letter-spacing: var(--text-heading-xs-letterSpacing);
17610
+ }
17611
+
17612
+ .muka-card__description {
17613
+ margin: var(--spacing-1) 0 0;
17614
+ color: var(--color-text-subtle-default);
17615
+ font-family: var(--text-body-sm-regular-fontFamily);
17616
+ font-weight: var(--text-body-sm-regular-fontWeight);
17617
+ font-size: var(--text-body-sm-regular-fontSize);
17618
+ line-height: var(--text-body-sm-regular-lineHeight);
17619
+ }
17620
+
17621
+ /* Hide divider on last list item inside card */
17622
+ .muka-card > .muka-listitem:last-child > .muka-listitem__divider {
17623
+ display: none;
17624
+ }
17625
+
17626
+ /* Disabled state */
17627
+ .muka-card--disabled {
17628
+ opacity: 0.5;
17629
+ cursor: not-allowed;
17630
+ pointer-events: none;
17631
+ }
17632
+