@revikornmann/muka-ui 0.45.0 → 0.45.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.
@@ -2644,6 +2644,98 @@ body {
2644
2644
  }
2645
2645
 
2646
2646
 
2647
+ /* Typography */
2648
+ .muka-typography-catalog {
2649
+ display: flex;
2650
+ flex-direction: column;
2651
+ gap: 2.5rem;
2652
+ max-width: 52rem;
2653
+ color: var(--color-text-default-default);
2654
+ }
2655
+
2656
+ .muka-typography-catalog__intro {
2657
+ display: flex;
2658
+ flex-direction: column;
2659
+ gap: 0.75rem;
2660
+ }
2661
+
2662
+ .muka-typography-catalog__heading {
2663
+ margin: 0;
2664
+ font-family: var(--text-heading-md-fontFamily);
2665
+ font-weight: var(--text-heading-md-fontWeight);
2666
+ font-size: var(--text-heading-md-fontSize);
2667
+ line-height: var(--text-heading-md-lineHeight);
2668
+ }
2669
+
2670
+ .muka-typography-catalog__lede {
2671
+ margin: 0;
2672
+ font-family: var(--text-body-base-regular-fontFamily);
2673
+ font-weight: var(--text-body-base-regular-fontWeight);
2674
+ font-size: var(--text-body-base-regular-fontSize);
2675
+ line-height: var(--text-body-base-regular-lineHeight);
2676
+ color: var(--color-text-subtle-default);
2677
+ }
2678
+
2679
+ .muka-typography-catalog__lede code {
2680
+ font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2681
+ font-size: 0.875em;
2682
+ }
2683
+
2684
+ .muka-typography-section {
2685
+ display: flex;
2686
+ flex-direction: column;
2687
+ gap: 1rem;
2688
+ }
2689
+
2690
+ .muka-typography-section__header {
2691
+ display: flex;
2692
+ flex-direction: column;
2693
+ gap: 0.35rem;
2694
+ padding-bottom: 0.75rem;
2695
+ border-bottom: 1px solid var(--color-border-default);
2696
+ }
2697
+
2698
+ .muka-typography-section__title {
2699
+ margin: 0;
2700
+ font-family: var(--text-heading-sm-fontFamily);
2701
+ font-weight: var(--text-heading-sm-fontWeight);
2702
+ font-size: var(--text-heading-sm-fontSize);
2703
+ line-height: var(--text-heading-sm-lineHeight);
2704
+ }
2705
+
2706
+ .muka-typography-section__description {
2707
+ margin: 0;
2708
+ font-family: var(--text-body-sm-regular-fontFamily);
2709
+ font-weight: var(--text-body-sm-regular-fontWeight);
2710
+ font-size: var(--text-body-sm-regular-fontSize);
2711
+ line-height: var(--text-body-sm-regular-lineHeight);
2712
+ color: var(--color-text-subtle-default);
2713
+ }
2714
+
2715
+ .muka-typography-section__list {
2716
+ display: flex;
2717
+ flex-direction: column;
2718
+ gap: 1rem;
2719
+ }
2720
+
2721
+ .muka-typography-specimen {
2722
+ display: flex;
2723
+ flex-direction: column;
2724
+ gap: 0.35rem;
2725
+ }
2726
+
2727
+ .muka-typography-specimen__token {
2728
+ font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2729
+ font-size: 0.75rem;
2730
+ line-height: 1;
2731
+ color: var(--color-text-subtle-default);
2732
+ }
2733
+
2734
+ .muka-typography-specimen__sample {
2735
+ margin: 0;
2736
+ }
2737
+
2738
+
2647
2739
  /* TypingIndicator */
2648
2740
  /* TypingIndicator Component Styles */
2649
2741
 
@@ -2866,98 +2958,6 @@ body {
2866
2958
  }
2867
2959
 
2868
2960
 
2869
- /* Typography */
2870
- .muka-typography-catalog {
2871
- display: flex;
2872
- flex-direction: column;
2873
- gap: 2.5rem;
2874
- max-width: 52rem;
2875
- color: var(--color-text-default-default);
2876
- }
2877
-
2878
- .muka-typography-catalog__intro {
2879
- display: flex;
2880
- flex-direction: column;
2881
- gap: 0.75rem;
2882
- }
2883
-
2884
- .muka-typography-catalog__heading {
2885
- margin: 0;
2886
- font-family: var(--text-heading-md-fontFamily);
2887
- font-weight: var(--text-heading-md-fontWeight);
2888
- font-size: var(--text-heading-md-fontSize);
2889
- line-height: var(--text-heading-md-lineHeight);
2890
- }
2891
-
2892
- .muka-typography-catalog__lede {
2893
- margin: 0;
2894
- font-family: var(--text-body-base-regular-fontFamily);
2895
- font-weight: var(--text-body-base-regular-fontWeight);
2896
- font-size: var(--text-body-base-regular-fontSize);
2897
- line-height: var(--text-body-base-regular-lineHeight);
2898
- color: var(--color-text-subtle-default);
2899
- }
2900
-
2901
- .muka-typography-catalog__lede code {
2902
- font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2903
- font-size: 0.875em;
2904
- }
2905
-
2906
- .muka-typography-section {
2907
- display: flex;
2908
- flex-direction: column;
2909
- gap: 1rem;
2910
- }
2911
-
2912
- .muka-typography-section__header {
2913
- display: flex;
2914
- flex-direction: column;
2915
- gap: 0.35rem;
2916
- padding-bottom: 0.75rem;
2917
- border-bottom: 1px solid var(--color-border-default);
2918
- }
2919
-
2920
- .muka-typography-section__title {
2921
- margin: 0;
2922
- font-family: var(--text-heading-sm-fontFamily);
2923
- font-weight: var(--text-heading-sm-fontWeight);
2924
- font-size: var(--text-heading-sm-fontSize);
2925
- line-height: var(--text-heading-sm-lineHeight);
2926
- }
2927
-
2928
- .muka-typography-section__description {
2929
- margin: 0;
2930
- font-family: var(--text-body-sm-regular-fontFamily);
2931
- font-weight: var(--text-body-sm-regular-fontWeight);
2932
- font-size: var(--text-body-sm-regular-fontSize);
2933
- line-height: var(--text-body-sm-regular-lineHeight);
2934
- color: var(--color-text-subtle-default);
2935
- }
2936
-
2937
- .muka-typography-section__list {
2938
- display: flex;
2939
- flex-direction: column;
2940
- gap: 1rem;
2941
- }
2942
-
2943
- .muka-typography-specimen {
2944
- display: flex;
2945
- flex-direction: column;
2946
- gap: 0.35rem;
2947
- }
2948
-
2949
- .muka-typography-specimen__token {
2950
- font-family: var(--alias-font-mono-family, ui-monospace, monospace);
2951
- font-size: 0.75rem;
2952
- line-height: 1;
2953
- color: var(--color-text-subtle-default);
2954
- }
2955
-
2956
- .muka-typography-specimen__sample {
2957
- margin: 0;
2958
- }
2959
-
2960
-
2961
2961
  /* Tooltip */
2962
2962
  /* Tooltip Component Styles */
2963
2963
 
@@ -2994,59 +2994,222 @@ body {
2994
2994
  }
2995
2995
 
2996
2996
 
2997
- /* Toast */
2998
- /* Toast Component Styles - Using Muka Design Tokens */
2997
+ /* Toggle */
2998
+ /* Toggle Component Styles - Using Muka Design Tokens */
2999
2999
 
3000
- .muka-toast {
3000
+ /* Wrapper container */
3001
+ .muka-toggle {
3001
3002
  display: flex;
3002
- align-items: flex-start;
3003
- gap: var(--toast-gap);
3004
- padding: var(--toast-padding-y) var(--toast-padding-x);
3005
- border-radius: var(--toast-radius);
3006
- box-shadow: var(--toast-shadow);
3007
- min-width: var(--toast-width-min);
3008
- max-width: var(--toast-width-max);
3009
- pointer-events: auto;
3010
- animation: muka-toast-slide-in 0.2s ease-out;
3003
+ align-items: center;
3004
+ gap: var(--spacing-2);
3005
+ position: relative;
3006
+ padding: var(--spacing-4) 0;
3011
3007
  }
3012
3008
 
3013
- /* Entry animation */
3014
- @keyframes muka-toast-slide-in {
3015
- from {
3016
- opacity: 0;
3017
- transform: translateY(8px);
3018
- }
3019
- to {
3020
- opacity: 1;
3021
- transform: translateY(0);
3022
- }
3009
+ .muka-toggle--with-caption {
3010
+ padding: var(--spacing-5) 0;
3023
3011
  }
3024
3012
 
3025
- /* Position variants (for standalone use - typically managed by ToastProvider) */
3026
- .muka-toast--top-right,
3027
- .muka-toast--top-left,
3028
- .muka-toast--top-center,
3029
- .muka-toast--bottom-right,
3030
- .muka-toast--bottom-left,
3031
- .muka-toast--bottom-center {
3032
- position: fixed;
3033
- z-index: 9999;
3013
+ .muka-toggle--disabled {
3014
+ opacity: 0.6;
3034
3015
  }
3035
3016
 
3036
- .muka-toast--top-right {
3037
- top: var(--spacing-4);
3038
- right: var(--spacing-4);
3017
+ /* Icon */
3018
+ .muka-toggle__icon {
3019
+ display: flex;
3020
+ align-items: center;
3021
+ justify-content: center;
3022
+ flex-shrink: 0;
3023
+ width: var(--icon-size-default);
3024
+ height: var(--icon-size-default);
3025
+ color: var(--color-text-default-default);
3039
3026
  }
3040
3027
 
3041
- .muka-toast--top-left {
3042
- top: var(--spacing-4);
3043
- left: var(--spacing-4);
3028
+ .muka-toggle__icon svg {
3029
+ width: 100%;
3030
+ height: 100%;
3044
3031
  }
3045
3032
 
3046
- .muka-toast--top-center {
3047
- top: var(--spacing-4);
3048
- left: 50%;
3049
- transform: translateX(-50%);
3033
+ /* Content area (label + caption) */
3034
+ .muka-toggle__content {
3035
+ display: flex;
3036
+ flex-direction: column;
3037
+ flex: 1;
3038
+ min-width: 0;
3039
+ gap: var(--spacing-1);
3040
+ }
3041
+
3042
+ /* Label */
3043
+ .muka-toggle__label {
3044
+ font-family: var(--text-label-lg-regular-fontFamily);
3045
+ font-weight: var(--text-label-lg-regular-fontWeight);
3046
+ font-size: var(--text-label-lg-regular-fontSize);
3047
+ line-height: var(--text-label-lg-regular-lineHeight);
3048
+ color: var(--color-text-default-default);
3049
+ cursor: pointer;
3050
+ }
3051
+
3052
+ .muka-toggle--with-caption .muka-toggle__label {
3053
+ font-family: var(--text-label-lg-semibold-fontFamily);
3054
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3055
+ font-size: var(--text-label-lg-semibold-fontSize);
3056
+ line-height: var(--text-label-lg-semibold-lineHeight);
3057
+ }
3058
+
3059
+ .muka-toggle--disabled .muka-toggle__label {
3060
+ color: var(--color-text-subtle-default);
3061
+ cursor: not-allowed;
3062
+ }
3063
+
3064
+ /* Caption */
3065
+ .muka-toggle__caption {
3066
+ font-family: var(--text-body-base-regular-fontFamily);
3067
+ font-weight: var(--text-body-base-regular-fontWeight);
3068
+ font-size: var(--text-body-base-regular-fontSize);
3069
+ line-height: var(--text-body-base-regular-lineHeight);
3070
+ color: var(--color-text-subtle-default);
3071
+ }
3072
+
3073
+ /* Switch container */
3074
+ .muka-toggle__switch {
3075
+ position: relative;
3076
+ display: inline-flex;
3077
+ flex-shrink: 0;
3078
+ cursor: pointer;
3079
+ }
3080
+
3081
+ .muka-toggle--disabled .muka-toggle__switch {
3082
+ cursor: not-allowed;
3083
+ }
3084
+
3085
+ /* Hidden native input */
3086
+ .muka-toggle__input {
3087
+ position: absolute;
3088
+ width: 1px;
3089
+ height: 1px;
3090
+ padding: 0;
3091
+ margin: -1px;
3092
+ overflow: hidden;
3093
+ clip: rect(0, 0, 0, 0);
3094
+ white-space: nowrap;
3095
+ border: 0;
3096
+ }
3097
+
3098
+ /* Track (background pill) */
3099
+ .muka-toggle__track {
3100
+ display: flex;
3101
+ align-items: center;
3102
+ width: var(--toggle-track-width);
3103
+ height: var(--toggle-track-height);
3104
+ border-radius: var(--toggle-track-radius);
3105
+ background-color: var(--toggle-track-color-off);
3106
+ transition: background-color 0.2s ease;
3107
+ box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3108
+ position: relative;
3109
+ }
3110
+
3111
+ /* Knob (sliding circle) */
3112
+ .muka-toggle__knob {
3113
+ position: absolute;
3114
+ width: var(--toggle-knob-size);
3115
+ height: var(--toggle-knob-size);
3116
+ border-radius: var(--border-radius-full);
3117
+ background-color: var(--toggle-knob-color-default);
3118
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3119
+ left: var(--toggle-knob-offset);
3120
+ transition: left 0.2s ease, transform 0.2s ease;
3121
+ }
3122
+
3123
+ /* Focus state */
3124
+ .muka-toggle__input:focus-visible + .muka-toggle__track {
3125
+ outline: 2px solid var(--color-border-focus);
3126
+ outline-offset: 2px;
3127
+ }
3128
+
3129
+ /* Checked (on) state */
3130
+ .muka-toggle__input:checked + .muka-toggle__track {
3131
+ background-color: var(--toggle-track-color-on);
3132
+ }
3133
+
3134
+ .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3135
+ left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3136
+ }
3137
+
3138
+ /* Disabled state */
3139
+ .muka-toggle--disabled .muka-toggle__track {
3140
+ background-color: var(--toggle-track-color-disabled);
3141
+ box-shadow: none;
3142
+ }
3143
+
3144
+ .muka-toggle--disabled .muka-toggle__knob {
3145
+ background-color: var(--toggle-knob-color-disabled);
3146
+ box-shadow: none;
3147
+ }
3148
+
3149
+ /* Divider */
3150
+ .muka-toggle__divider {
3151
+ position: absolute;
3152
+ bottom: 0;
3153
+ left: 0;
3154
+ right: 0;
3155
+ height: 1px;
3156
+ background-color: var(--color-border-muted);
3157
+ }
3158
+
3159
+
3160
+ /* Toast */
3161
+ /* Toast Component Styles - Using Muka Design Tokens */
3162
+
3163
+ .muka-toast {
3164
+ display: flex;
3165
+ align-items: flex-start;
3166
+ gap: var(--toast-gap);
3167
+ padding: var(--toast-padding-y) var(--toast-padding-x);
3168
+ border-radius: var(--toast-radius);
3169
+ box-shadow: var(--toast-shadow);
3170
+ min-width: var(--toast-width-min);
3171
+ max-width: var(--toast-width-max);
3172
+ pointer-events: auto;
3173
+ animation: muka-toast-slide-in 0.2s ease-out;
3174
+ }
3175
+
3176
+ /* Entry animation */
3177
+ @keyframes muka-toast-slide-in {
3178
+ from {
3179
+ opacity: 0;
3180
+ transform: translateY(8px);
3181
+ }
3182
+ to {
3183
+ opacity: 1;
3184
+ transform: translateY(0);
3185
+ }
3186
+ }
3187
+
3188
+ /* Position variants (for standalone use - typically managed by ToastProvider) */
3189
+ .muka-toast--top-right,
3190
+ .muka-toast--top-left,
3191
+ .muka-toast--top-center,
3192
+ .muka-toast--bottom-right,
3193
+ .muka-toast--bottom-left,
3194
+ .muka-toast--bottom-center {
3195
+ position: fixed;
3196
+ z-index: 9999;
3197
+ }
3198
+
3199
+ .muka-toast--top-right {
3200
+ top: var(--spacing-4);
3201
+ right: var(--spacing-4);
3202
+ }
3203
+
3204
+ .muka-toast--top-left {
3205
+ top: var(--spacing-4);
3206
+ left: var(--spacing-4);
3207
+ }
3208
+
3209
+ .muka-toast--top-center {
3210
+ top: var(--spacing-4);
3211
+ left: 50%;
3212
+ transform: translateX(-50%);
3050
3213
  }
3051
3214
 
3052
3215
  .muka-toast--bottom-right {
@@ -3184,1148 +3347,985 @@ body {
3184
3347
  }
3185
3348
 
3186
3349
 
3187
- /* Toggle */
3188
- /* Toggle Component Styles - Using Muka Design Tokens */
3350
+ /* Thumbnail */
3351
+ /* Thumbnail Component Styles - Using Muka Design Tokens */
3189
3352
 
3190
- /* Wrapper container */
3191
- .muka-toggle {
3192
- display: flex;
3193
- align-items: center;
3194
- gap: var(--spacing-2);
3353
+ .muka-thumbnail {
3195
3354
  position: relative;
3196
- padding: var(--spacing-4) 0;
3197
- }
3198
-
3199
- .muka-toggle--with-caption {
3200
- padding: var(--spacing-5) 0;
3355
+ flex-shrink: 0;
3201
3356
  }
3202
3357
 
3203
- .muka-toggle--disabled {
3204
- opacity: 0.6;
3358
+ /* The frame carries the border, background and shape clip. Keeping it separate
3359
+ from the root lets the remove (×) button sit outside the clip (needed for the
3360
+ circular/ellipse shape, whose corners would otherwise clip the button). */
3361
+ .muka-thumbnail__frame {
3362
+ position: absolute;
3363
+ inset: 0;
3364
+ overflow: hidden;
3365
+ border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
3366
+ border-radius: var(--border-radius-lg);
3367
+ background-color: var(--color-surface-level1);
3205
3368
  }
3206
3369
 
3207
- /* Icon */
3208
- .muka-toggle__icon {
3209
- display: flex;
3210
- align-items: center;
3211
- justify-content: center;
3212
- flex-shrink: 0;
3213
- width: var(--icon-size-default);
3214
- height: var(--icon-size-default);
3215
- color: var(--color-text-default-default);
3370
+ /* ─── Shapes ──────────────────────────────────────────── */
3371
+ .muka-thumbnail--4-3 {
3372
+ width: 160px;
3373
+ height: 120px;
3216
3374
  }
3217
3375
 
3218
- .muka-toggle__icon svg {
3219
- width: 100%;
3220
- height: 100%;
3376
+ .muka-thumbnail--1-1 {
3377
+ width: 120px;
3378
+ height: 120px;
3221
3379
  }
3222
3380
 
3223
- /* Content area (label + caption) */
3224
- .muka-toggle__content {
3225
- display: flex;
3226
- flex-direction: column;
3227
- flex: 1;
3228
- min-width: 0;
3229
- gap: var(--spacing-1);
3381
+ .muka-thumbnail--ellipse {
3382
+ width: 120px;
3383
+ height: 120px;
3230
3384
  }
3231
3385
 
3232
- /* Label */
3233
- .muka-toggle__label {
3234
- font-family: var(--text-label-lg-regular-fontFamily);
3235
- font-weight: var(--text-label-lg-regular-fontWeight);
3236
- font-size: var(--text-label-lg-regular-fontSize);
3237
- line-height: var(--text-label-lg-regular-lineHeight);
3238
- color: var(--color-text-default-default);
3239
- cursor: pointer;
3386
+ /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
3387
+ .muka-thumbnail--fluid {
3388
+ width: 100%;
3389
+ height: auto;
3390
+ aspect-ratio: 1 / 1;
3240
3391
  }
3241
3392
 
3242
- .muka-toggle--with-caption .muka-toggle__label {
3243
- font-family: var(--text-label-lg-semibold-fontFamily);
3244
- font-weight: var(--text-label-lg-semibold-fontWeight);
3245
- font-size: var(--text-label-lg-semibold-fontSize);
3246
- line-height: var(--text-label-lg-semibold-lineHeight);
3393
+ .muka-thumbnail--fluid.muka-thumbnail--4-3 {
3394
+ aspect-ratio: 4 / 3;
3247
3395
  }
3248
3396
 
3249
- .muka-toggle--disabled .muka-toggle__label {
3250
- color: var(--color-text-subtle-default);
3251
- cursor: not-allowed;
3397
+ .muka-thumbnail--ellipse .muka-thumbnail__frame {
3398
+ border-radius: var(--border-radius-full);
3252
3399
  }
3253
3400
 
3254
- /* Caption */
3255
- .muka-toggle__caption {
3256
- font-family: var(--text-body-base-regular-fontFamily);
3257
- font-weight: var(--text-body-base-regular-fontWeight);
3258
- font-size: var(--text-body-base-regular-fontSize);
3259
- line-height: var(--text-body-base-regular-lineHeight);
3260
- color: var(--color-text-subtle-default);
3401
+ /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
3402
+ interactive hover zoom has a clean origin. */
3403
+ .muka-thumbnail__image {
3404
+ position: absolute;
3405
+ inset: 0;
3406
+ width: 100%;
3407
+ height: 100%;
3408
+ object-fit: cover;
3409
+ display: block;
3410
+ transform-origin: center;
3411
+ /* Micro-interaction: hover zoom eases out over the "micro" duration. */
3412
+ transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
3261
3413
  }
3262
3414
 
3263
- /* Switch container */
3264
- .muka-toggle__switch {
3265
- position: relative;
3266
- display: inline-flex;
3267
- flex-shrink: 0;
3415
+ /* ─── Interactive (click-to-enlarge) ──────────────────── */
3416
+ .muka-thumbnail__trigger {
3417
+ position: absolute;
3418
+ inset: 0;
3419
+ padding: 0;
3420
+ border: 0;
3421
+ background: none;
3268
3422
  cursor: pointer;
3423
+ overflow: hidden;
3269
3424
  }
3270
3425
 
3271
- .muka-toggle--disabled .muka-toggle__switch {
3272
- cursor: not-allowed;
3426
+ .muka-thumbnail__trigger:focus-visible {
3427
+ outline: 2px solid var(--color-border-focus);
3428
+ outline-offset: -2px;
3273
3429
  }
3274
3430
 
3275
- /* Hidden native input */
3276
- .muka-toggle__input {
3277
- position: absolute;
3278
- width: 1px;
3279
- height: 1px;
3280
- padding: 0;
3281
- margin: -1px;
3282
- overflow: hidden;
3283
- clip: rect(0, 0, 0, 0);
3284
- white-space: nowrap;
3285
- border: 0;
3431
+ /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
3432
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3433
+ transform: scale(1.05);
3286
3434
  }
3287
3435
 
3288
- /* Track (background pill) */
3289
- .muka-toggle__track {
3436
+ /* ─── Loading overlay + progress donut ────────────────── */
3437
+ .muka-thumbnail__overlay {
3438
+ position: absolute;
3439
+ inset: 0;
3290
3440
  display: flex;
3291
3441
  align-items: center;
3292
- width: var(--toggle-track-width);
3293
- height: var(--toggle-track-height);
3294
- border-radius: var(--toggle-track-radius);
3295
- background-color: var(--toggle-track-color-off);
3296
- transition: background-color 0.2s ease;
3297
- box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3298
- position: relative;
3299
- }
3300
-
3301
- /* Knob (sliding circle) */
3302
- .muka-toggle__knob {
3303
- position: absolute;
3304
- width: var(--toggle-knob-size);
3305
- height: var(--toggle-knob-size);
3306
- border-radius: var(--border-radius-full);
3307
- background-color: var(--toggle-knob-color-default);
3308
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3309
- left: var(--toggle-knob-offset);
3310
- transition: left 0.2s ease, transform 0.2s ease;
3442
+ justify-content: center;
3443
+ background-color: var(--dialog-color-backdrop);
3311
3444
  }
3312
3445
 
3313
- /* Focus state */
3314
- .muka-toggle__input:focus-visible + .muka-toggle__track {
3315
- outline: 2px solid var(--color-border-focus);
3316
- outline-offset: 2px;
3446
+ .muka-thumbnail__progress {
3447
+ width: 40px;
3448
+ height: 40px;
3317
3449
  }
3318
3450
 
3319
- /* Checked (on) state */
3320
- .muka-toggle__input:checked + .muka-toggle__track {
3321
- background-color: var(--toggle-track-color-on);
3451
+ /* ─── Error / corrupt state ───────────────────────────── */
3452
+ .muka-thumbnail--error .muka-thumbnail__frame {
3453
+ background-color: var(--alias-color-state-error-muted);
3454
+ border-color: var(--alias-color-state-error-default);
3322
3455
  }
3323
3456
 
3324
- .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3325
- left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3457
+ .muka-thumbnail__error {
3458
+ position: absolute;
3459
+ inset: 0;
3460
+ display: flex;
3461
+ flex-direction: column;
3462
+ align-items: center;
3463
+ justify-content: center;
3464
+ gap: var(--spacing-2);
3465
+ padding: var(--spacing-3);
3466
+ text-align: center;
3326
3467
  }
3327
3468
 
3328
- /* Disabled state */
3329
- .muka-toggle--disabled .muka-toggle__track {
3330
- background-color: var(--toggle-track-color-disabled);
3331
- box-shadow: none;
3469
+ .muka-thumbnail__error-icon {
3470
+ color: var(--alert-color-error-accent);
3332
3471
  }
3333
3472
 
3334
- .muka-toggle--disabled .muka-toggle__knob {
3335
- background-color: var(--toggle-knob-color-disabled);
3336
- box-shadow: none;
3473
+ .muka-thumbnail__caption {
3474
+ max-width: 100%;
3475
+ overflow: hidden;
3476
+ text-overflow: ellipsis;
3477
+ white-space: nowrap;
3478
+ color: var(--alert-color-error-accent);
3479
+ font-family: var(--text-body-sm-regular-fontFamily);
3480
+ font-size: var(--text-body-sm-regular-fontSize);
3481
+ font-weight: var(--text-body-sm-regular-fontWeight);
3482
+ line-height: var(--text-body-sm-regular-lineHeight);
3337
3483
  }
3338
3484
 
3339
- /* Divider */
3340
- .muka-toggle__divider {
3485
+ /* ─── Remove (×) button ───────────────────────────────── */
3486
+ .muka-thumbnail__remove {
3341
3487
  position: absolute;
3342
- bottom: 0;
3343
- left: 0;
3344
- right: 0;
3345
- height: 1px;
3346
- background-color: var(--color-border-muted);
3488
+ top: var(--spacing-2);
3489
+ right: var(--spacing-2);
3490
+ display: flex;
3491
+ align-items: center;
3492
+ justify-content: center;
3493
+ width: var(--size-2xl);
3494
+ height: var(--size-2xl);
3495
+ padding: 0;
3496
+ color: var(--button-color-tertiary-foreground-default);
3497
+ background-color: var(--button-color-tertiary-background-default);
3498
+ border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
3499
+ border-radius: var(--border-radius-lg);
3500
+ cursor: pointer;
3501
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
3502
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
3347
3503
  }
3348
3504
 
3349
-
3350
- /* Tile */
3351
- /* Tile Component Styles - Using Muka Design Tokens */
3352
-
3353
- /* ─── Base ────────────────────────────────────────────── */
3354
-
3355
- .muka-tile {
3356
- display: flex;
3357
- color: var(--color-text-default-default);
3505
+ .muka-thumbnail__remove:hover {
3506
+ color: var(--button-color-tertiary-foreground-hover);
3507
+ background-color: var(--button-color-tertiary-background-hover);
3508
+ border-color: var(--button-color-tertiary-border-hover);
3358
3509
  }
3359
3510
 
3360
- .muka-tile--interactive {
3361
- cursor: pointer;
3362
- user-select: none;
3511
+ .muka-thumbnail__remove:active {
3512
+ color: var(--button-color-tertiary-foreground-pressed);
3513
+ background-color: var(--button-color-tertiary-background-pressed);
3514
+ border-color: var(--button-color-tertiary-border-pressed);
3363
3515
  }
3364
3516
 
3365
- .muka-tile--interactive:focus-visible {
3517
+ .muka-thumbnail__remove:focus-visible {
3366
3518
  outline: 2px solid var(--color-border-focus);
3367
3519
  outline-offset: 2px;
3368
- border-radius: var(--border-radius-lg);
3369
3520
  }
3370
3521
 
3371
- /* ─── Image position variants ─────────────────────────── */
3522
+ /* ─── Reduced motion ──────────────────────────────────── */
3523
+ @media (prefers-reduced-motion: reduce) {
3524
+ .muka-thumbnail__image,
3525
+ .muka-thumbnail__remove {
3526
+ transition: none;
3527
+ }
3372
3528
 
3373
- .muka-tile--image-top {
3374
- flex-direction: column;
3529
+ .muka-thumbnail--interactive:hover .muka-thumbnail__image {
3530
+ transform: none;
3531
+ }
3375
3532
  }
3376
3533
 
3377
- .muka-tile--image-left {
3378
- flex-direction: row;
3534
+
3535
+ /* Textarea */
3536
+ /* Textarea Component Styles - Using Muka Design Tokens */
3537
+
3538
+ .muka-textarea {
3539
+ display: inline-flex;
3540
+ flex-direction: column;
3541
+ gap: var(--spacing-2);
3379
3542
  }
3380
3543
 
3381
- .muka-tile--image-right {
3382
- flex-direction: row;
3544
+ /* Label */
3545
+ .muka-textarea__label {
3546
+ color: var(--color-text-default-default);
3547
+ cursor: pointer;
3383
3548
  }
3384
3549
 
3385
- /* ─── Gap by size (top) ───────────────────────────────── */
3550
+ .muka-textarea__label--sm {
3551
+ font-family: var(--text-label-sm-semibold-fontFamily);
3552
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3553
+ font-size: var(--text-label-sm-semibold-fontSize);
3554
+ line-height: var(--text-label-sm-semibold-lineHeight);
3555
+ }
3386
3556
 
3387
- .muka-tile--image-top.muka-tile--lg {
3388
- gap: var(--spacing-6);
3557
+ .muka-textarea__label--md {
3558
+ font-family: var(--text-label-md-semibold-fontFamily);
3559
+ font-weight: var(--text-label-md-semibold-fontWeight);
3560
+ font-size: var(--text-label-md-semibold-fontSize);
3561
+ line-height: var(--text-label-md-semibold-lineHeight);
3389
3562
  }
3390
3563
 
3391
- .muka-tile--image-top.muka-tile--md {
3392
- gap: var(--spacing-6);
3393
- width: 320px;
3564
+ .muka-textarea__label--lg {
3565
+ font-family: var(--text-label-lg-semibold-fontFamily);
3566
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3567
+ font-size: var(--text-label-lg-semibold-fontSize);
3568
+ line-height: var(--text-label-lg-semibold-lineHeight);
3394
3569
  }
3395
3570
 
3396
- .muka-tile--image-top.muka-tile--sm {
3397
- gap: var(--spacing-4);
3398
- min-width: 120px;
3571
+ .muka-textarea__required {
3572
+ color: var(--color-state-error-default);
3399
3573
  }
3400
3574
 
3401
- /* ─── Gap by size (left/right) ────────────────────────── */
3575
+ /* Field container */
3576
+ .muka-textarea__field {
3577
+ display: flex;
3578
+ background-color: var(--input-field-color-default-background);
3579
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3580
+ border-radius: var(--input-field-radius-md);
3581
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3582
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3583
+ box-sizing: border-box;
3584
+ }
3402
3585
 
3403
- .muka-tile--image-left.muka-tile--lg,
3404
- .muka-tile--image-right.muka-tile--lg {
3405
- gap: var(--spacing-6);
3406
- align-items: center;
3586
+ .muka-textarea__field--sm {
3587
+ min-height: var(--input-textarea-height-sm);
3588
+ border-radius: var(--input-field-radius-sm);
3407
3589
  }
3408
3590
 
3409
- .muka-tile--image-left.muka-tile--md,
3410
- .muka-tile--image-right.muka-tile--md {
3411
- gap: var(--spacing-6);
3412
- align-items: center;
3591
+ .muka-textarea__field--md {
3592
+ min-height: var(--input-textarea-height-default);
3593
+ border-radius: var(--input-field-radius-md);
3413
3594
  }
3414
3595
 
3415
- .muka-tile--image-left.muka-tile--sm,
3416
- .muka-tile--image-right.muka-tile--sm {
3417
- gap: var(--spacing-4);
3418
- align-items: flex-start;
3596
+ .muka-textarea__field--lg {
3597
+ min-height: var(--input-textarea-height-lg);
3598
+ border-radius: var(--input-field-radius-lg);
3419
3599
  }
3420
3600
 
3421
- /* ─── Photos container ────────────────────────────────── */
3422
-
3423
- .muka-tile__photos {
3424
- position: relative;
3425
- flex-shrink: 0;
3426
- overflow: hidden;
3427
- display: flex;
3428
- flex-direction: column;
3429
- isolation: isolate;
3601
+ /* Focus state */
3602
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3603
+ border-width: var(--border-width-bold);
3604
+ border-color: var(--input-field-color-focus-border);
3605
+ background-color: var(--input-field-color-focus-background);
3606
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3430
3607
  }
3431
3608
 
3432
- /* Photos border radius by size */
3433
- .muka-tile--lg .muka-tile__photos,
3434
- .muka-tile--md .muka-tile__photos {
3435
- border-radius: var(--border-radius-lg);
3609
+ /* Error state */
3610
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3611
+ border-width: var(--border-width-bold);
3612
+ border-color: var(--input-field-color-error-border);
3613
+ background-color: var(--input-field-color-error-background);
3614
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3436
3615
  }
3437
3616
 
3438
- .muka-tile--sm .muka-tile__photos {
3439
- border-radius: var(--border-radius-md);
3617
+ /* Disabled state */
3618
+ .muka-textarea__field--disabled {
3619
+ background-color: var(--input-field-color-disabled-background);
3620
+ border-color: var(--input-field-color-disabled-border);
3621
+ cursor: not-allowed;
3440
3622
  }
3441
3623
 
3442
- /* Photos sizing: top layout */
3443
- .muka-tile--image-top .muka-tile__photos {
3624
+ /* Native textarea */
3625
+ .muka-textarea__native {
3626
+ flex: 1;
3627
+ border: none;
3628
+ outline: none;
3629
+ background: transparent;
3630
+ color: var(--input-field-color-default-foreground);
3631
+ font-family: var(--text-input-md-fontFamily);
3632
+ font-weight: var(--text-input-md-fontWeight);
3633
+ font-size: var(--text-input-md-fontSize);
3634
+ line-height: var(--text-input-md-lineHeight);
3635
+ padding: 0;
3444
3636
  width: 100%;
3637
+ min-width: 0;
3445
3638
  }
3446
3639
 
3447
- /* Photos sizing: left/right large */
3448
- .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
3449
- .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
3450
- width: 520px;
3640
+ .muka-textarea__field--sm .muka-textarea__native {
3641
+ font-family: var(--text-input-sm-fontFamily);
3642
+ font-weight: var(--text-input-sm-fontWeight);
3643
+ font-size: var(--text-input-sm-fontSize);
3644
+ line-height: var(--text-input-sm-lineHeight);
3451
3645
  }
3452
3646
 
3453
- /* Photos sizing: left/right medium */
3454
- .muka-tile--image-left.muka-tile--md .muka-tile__photos,
3455
- .muka-tile--image-right.muka-tile--md .muka-tile__photos {
3456
- width: 320px;
3647
+ .muka-textarea__field--lg .muka-textarea__native {
3648
+ font-family: var(--text-input-lg-fontFamily);
3649
+ font-weight: var(--text-input-lg-fontWeight);
3650
+ font-size: var(--text-input-lg-fontSize);
3651
+ line-height: var(--text-input-lg-lineHeight);
3457
3652
  }
3458
3653
 
3459
- /* Photos sizing: left/right small (single 80x80 thumbnail) */
3460
- .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
3461
- .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
3462
- width: 80px;
3463
- align-self: stretch;
3654
+ .muka-textarea__native::placeholder {
3655
+ color: var(--color-text-subtle-default);
3464
3656
  }
3465
3657
 
3466
- /* ─── Main photo ──────────────────────────────────────── */
3467
-
3468
- .muka-tile__photo-main {
3469
- position: relative;
3470
- width: 100%;
3471
- overflow: hidden;
3472
- flex-shrink: 0;
3658
+ .muka-textarea__field--disabled .muka-textarea__native {
3659
+ color: var(--input-field-color-disabled-foreground);
3660
+ cursor: not-allowed;
3473
3661
  }
3474
3662
 
3475
- /* 16:9 aspect for lg and md */
3476
- .muka-tile--lg .muka-tile__photo-main,
3477
- .muka-tile--md .muka-tile__photo-main {
3478
- aspect-ratio: 1280 / 720;
3663
+ /* Footer (helper/error + count) */
3664
+ .muka-textarea__footer {
3665
+ display: flex;
3666
+ justify-content: space-between;
3667
+ align-items: flex-start;
3668
+ gap: var(--spacing-2);
3479
3669
  }
3480
3670
 
3481
- /* 1:1 aspect for top + sm */
3482
- .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
3483
- aspect-ratio: 1 / 1;
3671
+ .muka-textarea__helper {
3672
+ font-family: var(--text-label-sm-regular-fontFamily);
3673
+ font-weight: var(--text-label-sm-regular-fontWeight);
3674
+ font-size: var(--text-label-sm-regular-fontSize);
3675
+ line-height: var(--text-label-sm-regular-lineHeight);
3676
+ color: var(--color-text-subtle-default);
3677
+ margin: 0;
3484
3678
  }
3485
3679
 
3486
- /* Fixed size for left/right + sm */
3487
- .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
3488
- .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
3489
- width: 80px;
3490
- height: 80px;
3491
- aspect-ratio: auto;
3680
+ .muka-textarea__error {
3681
+ font-family: var(--text-label-sm-regular-fontFamily);
3682
+ font-weight: var(--text-label-sm-regular-fontWeight);
3683
+ font-size: var(--text-label-sm-regular-fontSize);
3684
+ line-height: var(--text-label-sm-regular-lineHeight);
3685
+ color: var(--color-state-error-default);
3686
+ margin: 0;
3492
3687
  }
3493
3688
 
3494
- .muka-tile__photo-main img {
3495
- width: 100%;
3496
- height: 100%;
3497
- object-fit: cover;
3498
- display: block;
3689
+ .muka-textarea__count {
3690
+ font-family: var(--text-label-sm-regular-fontFamily);
3691
+ font-weight: var(--text-label-sm-regular-fontWeight);
3692
+ font-size: var(--text-label-sm-regular-fontSize);
3693
+ line-height: var(--text-label-sm-regular-lineHeight);
3694
+ color: var(--color-text-subtle-default);
3695
+ margin-left: auto;
3499
3696
  }
3500
3697
 
3501
- /* ─── Favourite overlay ───────────────────────────────── */
3502
3698
 
3503
- .muka-tile__favourite {
3504
- position: absolute;
3505
- z-index: 3;
3506
- }
3699
+ /* TextLink */
3700
+ /* TextLink Component Styles - Using Muka Design Tokens */
3507
3701
 
3508
- .muka-tile--lg .muka-tile__favourite,
3509
- .muka-tile--md .muka-tile__favourite {
3510
- top: var(--spacing-4);
3511
- right: var(--spacing-4);
3702
+ .muka-text-link {
3703
+ display: inline;
3704
+ cursor: pointer;
3705
+ text-decoration: underline;
3706
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3707
+ text-underline-offset: 0.2em;
3708
+ text-decoration-thickness: from-font;
3709
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
3710
+ border-radius: var(--border-radius-sm);
3711
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3512
3712
  }
3513
3713
 
3514
- .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
3515
- top: var(--spacing-1);
3516
- right: var(--spacing-1);
3714
+ /* ─── Sizes ───────────────────────────────────────────────
3715
+ Mirrors the body text scale so a link matches the copy it sits in. */
3716
+ .muka-text-link--sm {
3717
+ font-family: var(--text-body-sm-regular-fontFamily);
3718
+ font-weight: var(--text-body-sm-regular-fontWeight);
3719
+ font-size: var(--text-body-sm-regular-fontSize);
3720
+ line-height: var(--text-body-sm-regular-lineHeight);
3517
3721
  }
3518
3722
 
3519
- /* ─── Thumbnails ──────────────────────────────────────── */
3520
-
3521
- .muka-tile__thumbnails {
3522
- display: flex;
3523
- gap: 2px;
3524
- overflow: hidden;
3525
- flex-shrink: 0;
3526
- height: 80px;
3723
+ .muka-text-link--base {
3724
+ font-family: var(--text-body-base-regular-fontFamily);
3725
+ font-weight: var(--text-body-base-regular-fontWeight);
3726
+ font-size: var(--text-body-base-regular-fontSize);
3727
+ line-height: var(--text-body-base-regular-lineHeight);
3527
3728
  }
3528
3729
 
3529
- .muka-tile__thumbnail {
3530
- width: 80px;
3531
- height: 80px;
3532
- flex-shrink: 0;
3533
- overflow: hidden;
3730
+ .muka-text-link--lg {
3731
+ font-family: var(--text-body-lg-regular-fontFamily);
3732
+ font-weight: var(--text-body-lg-regular-fontWeight);
3733
+ font-size: var(--text-body-lg-regular-fontSize);
3734
+ line-height: var(--text-body-lg-regular-lineHeight);
3534
3735
  }
3535
3736
 
3536
- .muka-tile__thumbnail img {
3537
- width: 100%;
3538
- height: 100%;
3539
- object-fit: cover;
3540
- display: block;
3737
+ /* ─── Variant: default (accent) ───────────────────────────
3738
+ Visited repeats the default colour on purpose: the design treats visited and
3739
+ default the same, and pinning it stops the browser's purple from showing. */
3740
+ .muka-text-link--default,
3741
+ .muka-text-link--default:visited {
3742
+ color: var(--color-text-action-default);
3541
3743
  }
3542
3744
 
3543
- /* Gap between main photo and thumbnails */
3544
- .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
3545
- margin-top: 2px;
3745
+ .muka-text-link--default:hover,
3746
+ .muka-text-link--default:focus-visible {
3747
+ color: var(--color-text-action-hover);
3546
3748
  }
3547
3749
 
3548
- /* ─── Content section ─────────────────────────────────── */
3549
-
3550
- .muka-tile__content {
3551
- display: flex;
3552
- flex-direction: column;
3553
- flex: 1;
3554
- min-width: 0;
3750
+ .muka-text-link--default:active {
3751
+ color: var(--color-text-action-pressed);
3555
3752
  }
3556
3753
 
3557
- /* Top layout: content has horizontal padding */
3558
- .muka-tile--image-top.muka-tile--lg .muka-tile__content {
3559
- padding: 0 var(--spacing-3);
3560
- gap: var(--spacing-1);
3754
+ /* ─── Variant: subtle (neutral) ───────────────────────────
3755
+ Hover, focus and pressed all darken to the default text colour. */
3756
+ .muka-text-link--subtle,
3757
+ .muka-text-link--subtle:visited {
3758
+ color: var(--color-text-subtle-default);
3561
3759
  }
3562
3760
 
3563
- .muka-tile--image-top.muka-tile--md .muka-tile__content {
3564
- padding: 0 var(--spacing-3);
3565
- gap: var(--spacing-2);
3761
+ .muka-text-link--subtle:hover,
3762
+ .muka-text-link--subtle:focus-visible,
3763
+ .muka-text-link--subtle:active {
3764
+ color: var(--color-text-default-default);
3566
3765
  }
3567
3766
 
3568
- .muka-tile--image-top.muka-tile--sm .muka-tile__content {
3569
- gap: var(--spacing-2);
3767
+ /* ─── Focus ───────────────────────────────────────────────
3768
+ Same ring as every other focusable Muka component. */
3769
+ .muka-text-link:focus-visible {
3770
+ outline: 2px solid var(--color-border-focus);
3771
+ outline-offset: 2px;
3570
3772
  }
3571
3773
 
3572
- /* Left/right layout: content grows to fill space */
3573
- .muka-tile--image-left .muka-tile__content,
3574
- .muka-tile--image-right .muka-tile__content {
3575
- gap: var(--spacing-3);
3774
+ @media (prefers-reduced-motion: reduce) {
3775
+ .muka-text-link {
3776
+ transition: none;
3777
+ }
3576
3778
  }
3577
3779
 
3578
- .muka-tile--image-left.muka-tile--lg .muka-tile__content,
3579
- .muka-tile--image-right.muka-tile--lg .muka-tile__content {
3580
- padding: 0 var(--spacing-3);
3581
- }
3582
3780
 
3583
- .muka-tile--image-left.muka-tile--md .muka-tile__content,
3584
- .muka-tile--image-right.muka-tile--md .muka-tile__content {
3585
- padding: var(--spacing-2) var(--spacing-3);
3586
- }
3781
+ /* Tabs */
3782
+ /* Tabs Component Styles - Clean underline style tabs matching Figma */
3587
3783
 
3588
- .muka-tile--image-left.muka-tile--sm .muka-tile__content,
3589
- .muka-tile--image-right.muka-tile--sm .muka-tile__content {
3590
- gap: var(--spacing-2);
3784
+ .muka-tabs {
3785
+ display: flex;
3786
+ flex-direction: column;
3591
3787
  }
3592
3788
 
3593
- /* ─── Header (heading row + price) ────────────────────── */
3594
-
3595
- .muka-tile__header {
3596
- display: flex;
3597
- align-items: flex-start;
3598
- gap: var(--spacing-4);
3789
+ /* Alignment Variants */
3790
+ .muka-tabs--align-left .muka-tabs__list {
3791
+ justify-content: flex-start;
3792
+ }
3793
+ .muka-tabs--align-center .muka-tabs__list {
3794
+ justify-content: center;
3795
+ }
3796
+ .muka-tabs--align-fill .muka-tabs__list {
3797
+ justify-content: space-between;
3798
+ }
3799
+ .muka-tabs--align-fill .muka-tabs__trigger {
3800
+ flex: 1;
3599
3801
  }
3600
3802
 
3601
- /* Small horizontal: row with text and action */
3602
- .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
3603
- gap: var(--spacing-2);
3803
+ /* Tab List — strip container */
3804
+ .muka-tabs__list {
3805
+ display: flex;
3604
3806
  align-items: center;
3605
- padding-top: var(--spacing-1);
3807
+ position: relative;
3808
+ z-index: 2;
3809
+ border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3606
3810
  }
3607
3811
 
3608
- /* ─── Text group ──────────────────────────────────────── */
3609
-
3610
- .muka-tile__text {
3611
- display: flex;
3612
- flex-direction: column;
3613
- flex: 1;
3614
- min-width: 0;
3615
- gap: var(--spacing-2);
3812
+ /* Padding: inset the tabs; the divider (border) still spans the full width */
3813
+ .muka-tabs--padding-default .muka-tabs__list {
3814
+ padding-inline: var(--tabs-list-padding-x);
3616
3815
  }
3617
3816
 
3618
- /* ─── Heading typography ──────────────────────────────── */
3817
+ /* Tab Trigger — clean underline style */
3818
+ .muka-tabs__trigger {
3819
+ display: inline-flex;
3820
+ align-items: center;
3821
+ justify-content: center;
3822
+ gap: var(--spacing-1);
3823
+ background: transparent;
3824
+ border: none;
3825
+ cursor: pointer;
3826
+ user-select: none;
3827
+ transition: background-color 0.2s ease, color 0.2s ease;
3828
+ outline: none;
3829
+ white-space: nowrap;
3830
+ position: relative;
3831
+ z-index: 2;
3832
+ color: var(--tabs-trigger-color-default-foreground);
3619
3833
 
3620
- .muka-tile__heading {
3621
- margin: 0;
3834
+ /* Default MD size values */
3835
+ min-height: var(--tabs-trigger-min-height-md);
3836
+ padding: var(--spacing-3);
3837
+ font-family: var(--text-label-md-regular-fontFamily);
3838
+ font-weight: var(--text-label-md-regular-fontWeight);
3839
+ font-size: var(--text-label-md-regular-fontSize);
3840
+ line-height: var(--text-label-md-regular-lineHeight);
3622
3841
  }
3623
3842
 
3624
- .muka-tile--lg .muka-tile__heading {
3625
- font-family: var(--text-label-2xl-semibold-fontFamily);
3626
- font-weight: var(--text-label-2xl-semibold-fontWeight);
3627
- font-size: var(--text-label-2xl-semibold-fontSize);
3628
- line-height: var(--text-label-2xl-semibold-lineHeight);
3629
- color: var(--color-text-default-default);
3843
+ /* Size Variants */
3844
+ .muka-tabs--size-sm .muka-tabs__trigger {
3845
+ min-height: var(--tabs-trigger-min-height-sm);
3846
+ padding: 0 var(--spacing-2);
3847
+ font-family: var(--text-label-sm-regular-fontFamily);
3848
+ font-weight: var(--text-label-sm-regular-fontWeight);
3849
+ font-size: var(--text-label-sm-regular-fontSize);
3850
+ line-height: var(--text-label-sm-regular-lineHeight);
3630
3851
  }
3631
3852
 
3632
- .muka-tile--md .muka-tile__heading {
3633
- font-family: var(--text-label-xl-semibold-fontFamily);
3634
- font-weight: var(--text-label-xl-semibold-fontWeight);
3635
- font-size: var(--text-label-xl-semibold-fontSize);
3636
- line-height: var(--text-label-xl-semibold-lineHeight);
3637
- color: var(--color-text-default-default);
3853
+ .muka-tabs--size-lg .muka-tabs__trigger {
3854
+ min-height: var(--tabs-trigger-min-height-lg);
3855
+ padding: var(--spacing-4);
3856
+ font-family: var(--text-label-lg-regular-fontFamily);
3857
+ font-weight: var(--text-label-lg-regular-fontWeight);
3858
+ font-size: var(--text-label-lg-regular-fontSize);
3859
+ line-height: var(--text-label-lg-regular-lineHeight);
3638
3860
  }
3639
3861
 
3640
- .muka-tile--sm .muka-tile__heading {
3641
- font-family: var(--text-label-lg-bold-fontFamily);
3642
- font-weight: var(--text-label-lg-bold-fontWeight);
3643
- font-size: var(--text-label-lg-bold-fontSize);
3644
- line-height: var(--text-label-lg-bold-lineHeight);
3645
- color: var(--color-text-default-default);
3862
+ /* Hover state */
3863
+ .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
3864
+ color: var(--tabs-trigger-color-hover-foreground);
3646
3865
  }
3647
3866
 
3648
- /* ─── Subheading typography ───────────────────────────── */
3867
+ /* Current tab */
3868
+ .muka-tabs__trigger--current {
3869
+ color: var(--tabs-trigger-color-current-foreground);
3870
+ }
3649
3871
 
3650
- .muka-tile__subheading {
3651
- margin: 0;
3652
- color: var(--color-text-subtle-default);
3872
+ /* Active bottom border (underline) */
3873
+ .muka-tabs__trigger--current::after {
3874
+ content: '';
3875
+ position: absolute;
3876
+ bottom: -1px; /* Overlap the 1px border */
3877
+ left: 0;
3878
+ right: 0;
3879
+ height: var(--tabs-indicator-height-md);
3880
+ background-color: var(--tabs-indicator-color);
3881
+ border-bottom-left-radius: 1px;
3882
+ border-bottom-right-radius: 1px;
3883
+ border-top-left-radius: 3px;
3884
+ border-top-right-radius: 3px;
3885
+ z-index: 3;
3653
3886
  }
3654
3887
 
3655
- .muka-tile--lg .muka-tile__subheading {
3656
- font-family: var(--text-subheading-md-fontFamily);
3657
- font-weight: var(--text-subheading-md-fontWeight);
3658
- font-size: var(--text-subheading-md-fontSize);
3659
- line-height: var(--text-subheading-md-lineHeight);
3888
+ .muka-tabs--size-sm .muka-tabs__trigger--current::after {
3889
+ height: var(--tabs-indicator-height-sm);
3890
+ }
3891
+ .muka-tabs--size-lg .muka-tabs__trigger--current::after {
3892
+ height: var(--tabs-indicator-height-lg);
3660
3893
  }
3661
3894
 
3662
- .muka-tile--md .muka-tile__subheading,
3663
- .muka-tile--sm .muka-tile__subheading {
3664
- font-family: var(--text-subheading-sm-fontFamily);
3665
- font-weight: var(--text-subheading-sm-fontWeight);
3666
- font-size: var(--text-subheading-sm-fontSize);
3667
- line-height: var(--text-subheading-sm-lineHeight);
3895
+ .muka-tabs__trigger--disabled {
3896
+ color: var(--tabs-trigger-color-disabled-foreground);
3897
+ cursor: not-allowed;
3668
3898
  }
3669
3899
 
3670
- /* ─── Description typography ──────────────────────────── */
3900
+ .muka-tabs__trigger:focus-visible {
3901
+ outline: 2px solid var(--color-border-focus);
3902
+ outline-offset: -2px;
3903
+ }
3671
3904
 
3672
- .muka-tile__description {
3673
- margin: 0;
3674
- color: var(--color-text-default-default);
3905
+ /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
3906
+ item sits 12px from the text */
3907
+ .muka-tabs__label {
3908
+ padding: 0 var(--spacing-2);
3675
3909
  }
3676
3910
 
3677
- .muka-tile--lg .muka-tile__description {
3678
- font-family: var(--text-body-lg-regular-fontFamily);
3679
- font-weight: var(--text-body-lg-regular-fontWeight);
3680
- font-size: var(--text-body-lg-regular-fontSize);
3681
- line-height: var(--text-body-lg-regular-lineHeight);
3911
+ /* Leading item: icon, avatar, avatar group or data pie chart */
3912
+ .muka-tabs__leading {
3913
+ display: flex;
3914
+ align-items: center;
3915
+ justify-content: center;
3916
+ flex-shrink: 0;
3917
+ }
3918
+ .muka-tabs__trigger .muka-icon {
3919
+ color: inherit;
3682
3920
  }
3921
+ /* Icon sizes only: avatars and pie charts are sized through their size prop */
3922
+ .muka-tabs--size-sm .muka-tabs__leading > svg,
3923
+ .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
3924
+ .muka-tabs--size-md .muka-tabs__leading > svg,
3925
+ .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
3926
+ .muka-tabs--size-lg .muka-tabs__leading > svg,
3927
+ .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
3683
3928
 
3684
- .muka-tile--md .muka-tile__description,
3685
- .muka-tile--sm .muka-tile__description {
3929
+ /* Responsive Scroll behavior on small screens */
3930
+ @media (max-width: 768px) {
3931
+ .muka-tabs__list {
3932
+ /* Make scrollable */
3933
+ overflow-x: auto;
3934
+ overflow-y: hidden;
3935
+ /* Force left alignment on mobile to prevent clipping when scrolling */
3936
+ justify-content: flex-start !important;
3937
+ max-width: 100vw;
3938
+ -webkit-overflow-scrolling: touch;
3939
+ /* Hide scrollbar for cleaner look */
3940
+ scrollbar-width: none;
3941
+ }
3942
+ .muka-tabs__list::-webkit-scrollbar {
3943
+ display: none;
3944
+ }
3945
+ /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
3946
+ .muka-tabs--align-fill .muka-tabs__trigger {
3947
+ flex: 0 0 auto;
3948
+ }
3949
+ }
3950
+
3951
+ /* Tab Panel — content area */
3952
+ .muka-tabs__panel {
3953
+ background-color: var(--tabs-panel-background);
3954
+ /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
3955
+ border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
3956
+ padding: var(--spacing-4);
3957
+ position: relative;
3958
+ z-index: 1;
3686
3959
  font-family: var(--text-body-base-regular-fontFamily);
3687
3960
  font-weight: var(--text-body-base-regular-fontWeight);
3688
3961
  font-size: var(--text-body-base-regular-fontSize);
3689
3962
  line-height: var(--text-body-base-regular-lineHeight);
3690
3963
  }
3691
3964
 
3692
- /* Description overflow for medium */
3693
- .muka-tile--md .muka-tile__description {
3694
- overflow: hidden;
3695
- text-overflow: ellipsis;
3965
+ .muka-tabs__panel:focus-visible {
3966
+ outline: 2px solid var(--color-border-focus);
3967
+ outline-offset: 2px;
3696
3968
  }
3697
3969
 
3698
- /* ─── Price slot ──────────────────────────────────────── */
3699
3970
 
3700
- .muka-tile__price {
3701
- flex-shrink: 0;
3702
- }
3971
+ /* Tile */
3972
+ /* Tile Component Styles - Using Muka Design Tokens */
3703
3973
 
3704
- /* ─── Action slot ─────────────────────────────────────── */
3974
+ /* ─── Base ────────────────────────────────────────────── */
3705
3975
 
3706
- .muka-tile__action {
3707
- flex-shrink: 0;
3976
+ .muka-tile {
3977
+ display: flex;
3978
+ color: var(--color-text-default-default);
3708
3979
  }
3709
3980
 
3981
+ .muka-tile--interactive {
3982
+ cursor: pointer;
3983
+ user-select: none;
3984
+ }
3710
3985
 
3711
- /* Textarea */
3712
- /* Textarea Component Styles - Using Muka Design Tokens */
3986
+ .muka-tile--interactive:focus-visible {
3987
+ outline: 2px solid var(--color-border-focus);
3988
+ outline-offset: 2px;
3989
+ border-radius: var(--border-radius-lg);
3990
+ }
3713
3991
 
3714
- .muka-textarea {
3715
- display: inline-flex;
3992
+ /* ─── Image position variants ─────────────────────────── */
3993
+
3994
+ .muka-tile--image-top {
3716
3995
  flex-direction: column;
3717
- gap: var(--spacing-2);
3718
3996
  }
3719
3997
 
3720
- /* Label */
3721
- .muka-textarea__label {
3722
- color: var(--color-text-default-default);
3723
- cursor: pointer;
3998
+ .muka-tile--image-left {
3999
+ flex-direction: row;
3724
4000
  }
3725
4001
 
3726
- .muka-textarea__label--sm {
3727
- font-family: var(--text-label-sm-semibold-fontFamily);
3728
- font-weight: var(--text-label-sm-semibold-fontWeight);
3729
- font-size: var(--text-label-sm-semibold-fontSize);
3730
- line-height: var(--text-label-sm-semibold-lineHeight);
4002
+ .muka-tile--image-right {
4003
+ flex-direction: row;
3731
4004
  }
3732
4005
 
3733
- .muka-textarea__label--md {
3734
- font-family: var(--text-label-md-semibold-fontFamily);
3735
- font-weight: var(--text-label-md-semibold-fontWeight);
3736
- font-size: var(--text-label-md-semibold-fontSize);
3737
- line-height: var(--text-label-md-semibold-lineHeight);
3738
- }
4006
+ /* ─── Gap by size (top) ───────────────────────────────── */
3739
4007
 
3740
- .muka-textarea__label--lg {
3741
- font-family: var(--text-label-lg-semibold-fontFamily);
3742
- font-weight: var(--text-label-lg-semibold-fontWeight);
3743
- font-size: var(--text-label-lg-semibold-fontSize);
3744
- line-height: var(--text-label-lg-semibold-lineHeight);
4008
+ .muka-tile--image-top.muka-tile--lg {
4009
+ gap: var(--spacing-6);
3745
4010
  }
3746
4011
 
3747
- .muka-textarea__required {
3748
- color: var(--color-state-error-default);
4012
+ .muka-tile--image-top.muka-tile--md {
4013
+ gap: var(--spacing-6);
4014
+ width: 320px;
3749
4015
  }
3750
4016
 
3751
- /* Field container */
3752
- .muka-textarea__field {
3753
- display: flex;
3754
- background-color: var(--input-field-color-default-background);
3755
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
3756
- border-radius: var(--input-field-radius-md);
3757
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
3758
- transition: border-color 0.2s ease, background-color 0.2s ease;
3759
- box-sizing: border-box;
4017
+ .muka-tile--image-top.muka-tile--sm {
4018
+ gap: var(--spacing-4);
4019
+ min-width: 120px;
3760
4020
  }
3761
4021
 
3762
- .muka-textarea__field--sm {
3763
- min-height: var(--input-textarea-height-sm);
3764
- border-radius: var(--input-field-radius-sm);
4022
+ /* ─── Gap by size (left/right) ────────────────────────── */
4023
+
4024
+ .muka-tile--image-left.muka-tile--lg,
4025
+ .muka-tile--image-right.muka-tile--lg {
4026
+ gap: var(--spacing-6);
4027
+ align-items: center;
3765
4028
  }
3766
4029
 
3767
- .muka-textarea__field--md {
3768
- min-height: var(--input-textarea-height-default);
3769
- border-radius: var(--input-field-radius-md);
4030
+ .muka-tile--image-left.muka-tile--md,
4031
+ .muka-tile--image-right.muka-tile--md {
4032
+ gap: var(--spacing-6);
4033
+ align-items: center;
3770
4034
  }
3771
4035
 
3772
- .muka-textarea__field--lg {
3773
- min-height: var(--input-textarea-height-lg);
3774
- border-radius: var(--input-field-radius-lg);
4036
+ .muka-tile--image-left.muka-tile--sm,
4037
+ .muka-tile--image-right.muka-tile--sm {
4038
+ gap: var(--spacing-4);
4039
+ align-items: flex-start;
3775
4040
  }
3776
4041
 
3777
- /* Focus state */
3778
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3779
- border-width: var(--border-width-bold);
3780
- border-color: var(--input-field-color-focus-border);
3781
- background-color: var(--input-field-color-focus-background);
3782
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4042
+ /* ─── Photos container ────────────────────────────────── */
4043
+
4044
+ .muka-tile__photos {
4045
+ position: relative;
4046
+ flex-shrink: 0;
4047
+ overflow: hidden;
4048
+ display: flex;
4049
+ flex-direction: column;
4050
+ isolation: isolate;
3783
4051
  }
3784
4052
 
3785
- /* Error state */
3786
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3787
- border-width: var(--border-width-bold);
3788
- border-color: var(--input-field-color-error-border);
3789
- background-color: var(--input-field-color-error-background);
3790
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4053
+ /* Photos border radius by size */
4054
+ .muka-tile--lg .muka-tile__photos,
4055
+ .muka-tile--md .muka-tile__photos {
4056
+ border-radius: var(--border-radius-lg);
3791
4057
  }
3792
4058
 
3793
- /* Disabled state */
3794
- .muka-textarea__field--disabled {
3795
- background-color: var(--input-field-color-disabled-background);
3796
- border-color: var(--input-field-color-disabled-border);
3797
- cursor: not-allowed;
4059
+ .muka-tile--sm .muka-tile__photos {
4060
+ border-radius: var(--border-radius-md);
3798
4061
  }
3799
4062
 
3800
- /* Native textarea */
3801
- .muka-textarea__native {
3802
- flex: 1;
3803
- border: none;
3804
- outline: none;
3805
- background: transparent;
3806
- color: var(--input-field-color-default-foreground);
3807
- font-family: var(--text-input-md-fontFamily);
3808
- font-weight: var(--text-input-md-fontWeight);
3809
- font-size: var(--text-input-md-fontSize);
3810
- line-height: var(--text-input-md-lineHeight);
3811
- padding: 0;
4063
+ /* Photos sizing: top layout */
4064
+ .muka-tile--image-top .muka-tile__photos {
3812
4065
  width: 100%;
3813
- min-width: 0;
3814
4066
  }
3815
4067
 
3816
- .muka-textarea__field--sm .muka-textarea__native {
3817
- font-family: var(--text-input-sm-fontFamily);
3818
- font-weight: var(--text-input-sm-fontWeight);
3819
- font-size: var(--text-input-sm-fontSize);
3820
- line-height: var(--text-input-sm-lineHeight);
4068
+ /* Photos sizing: left/right large */
4069
+ .muka-tile--image-left.muka-tile--lg .muka-tile__photos,
4070
+ .muka-tile--image-right.muka-tile--lg .muka-tile__photos {
4071
+ width: 520px;
3821
4072
  }
3822
4073
 
3823
- .muka-textarea__field--lg .muka-textarea__native {
3824
- font-family: var(--text-input-lg-fontFamily);
3825
- font-weight: var(--text-input-lg-fontWeight);
3826
- font-size: var(--text-input-lg-fontSize);
3827
- line-height: var(--text-input-lg-lineHeight);
4074
+ /* Photos sizing: left/right medium */
4075
+ .muka-tile--image-left.muka-tile--md .muka-tile__photos,
4076
+ .muka-tile--image-right.muka-tile--md .muka-tile__photos {
4077
+ width: 320px;
3828
4078
  }
3829
4079
 
3830
- .muka-textarea__native::placeholder {
3831
- color: var(--color-text-subtle-default);
4080
+ /* Photos sizing: left/right small (single 80x80 thumbnail) */
4081
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photos,
4082
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photos {
4083
+ width: 80px;
4084
+ align-self: stretch;
3832
4085
  }
3833
4086
 
3834
- .muka-textarea__field--disabled .muka-textarea__native {
3835
- color: var(--input-field-color-disabled-foreground);
3836
- cursor: not-allowed;
3837
- }
4087
+ /* ─── Main photo ──────────────────────────────────────── */
3838
4088
 
3839
- /* Footer (helper/error + count) */
3840
- .muka-textarea__footer {
3841
- display: flex;
3842
- justify-content: space-between;
3843
- align-items: flex-start;
3844
- gap: var(--spacing-2);
4089
+ .muka-tile__photo-main {
4090
+ position: relative;
4091
+ width: 100%;
4092
+ overflow: hidden;
4093
+ flex-shrink: 0;
3845
4094
  }
3846
4095
 
3847
- .muka-textarea__helper {
3848
- font-family: var(--text-label-sm-regular-fontFamily);
3849
- font-weight: var(--text-label-sm-regular-fontWeight);
3850
- font-size: var(--text-label-sm-regular-fontSize);
3851
- line-height: var(--text-label-sm-regular-lineHeight);
3852
- color: var(--color-text-subtle-default);
3853
- margin: 0;
4096
+ /* 16:9 aspect for lg and md */
4097
+ .muka-tile--lg .muka-tile__photo-main,
4098
+ .muka-tile--md .muka-tile__photo-main {
4099
+ aspect-ratio: 1280 / 720;
3854
4100
  }
3855
4101
 
3856
- .muka-textarea__error {
3857
- font-family: var(--text-label-sm-regular-fontFamily);
3858
- font-weight: var(--text-label-sm-regular-fontWeight);
3859
- font-size: var(--text-label-sm-regular-fontSize);
3860
- line-height: var(--text-label-sm-regular-lineHeight);
3861
- color: var(--color-state-error-default);
3862
- margin: 0;
4102
+ /* 1:1 aspect for top + sm */
4103
+ .muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
4104
+ aspect-ratio: 1 / 1;
3863
4105
  }
3864
4106
 
3865
- .muka-textarea__count {
3866
- font-family: var(--text-label-sm-regular-fontFamily);
3867
- font-weight: var(--text-label-sm-regular-fontWeight);
3868
- font-size: var(--text-label-sm-regular-fontSize);
3869
- line-height: var(--text-label-sm-regular-lineHeight);
3870
- color: var(--color-text-subtle-default);
3871
- margin-left: auto;
4107
+ /* Fixed size for left/right + sm */
4108
+ .muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
4109
+ .muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
4110
+ width: 80px;
4111
+ height: 80px;
4112
+ aspect-ratio: auto;
3872
4113
  }
3873
4114
 
4115
+ .muka-tile__photo-main img {
4116
+ width: 100%;
4117
+ height: 100%;
4118
+ object-fit: cover;
4119
+ display: block;
4120
+ }
3874
4121
 
3875
- /* TextLink */
3876
- /* TextLink Component Styles - Using Muka Design Tokens */
4122
+ /* ─── Favourite overlay ───────────────────────────────── */
3877
4123
 
3878
- .muka-text-link {
3879
- display: inline;
3880
- cursor: pointer;
3881
- text-decoration: underline;
3882
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3883
- text-underline-offset: 0.2em;
3884
- text-decoration-thickness: from-font;
3885
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3886
- border-radius: var(--border-radius-sm);
3887
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4124
+ .muka-tile__favourite {
4125
+ position: absolute;
4126
+ z-index: 3;
3888
4127
  }
3889
4128
 
3890
- /* ─── Sizes ───────────────────────────────────────────────
3891
- Mirrors the body text scale so a link matches the copy it sits in. */
3892
- .muka-text-link--sm {
3893
- font-family: var(--text-body-sm-regular-fontFamily);
3894
- font-weight: var(--text-body-sm-regular-fontWeight);
3895
- font-size: var(--text-body-sm-regular-fontSize);
3896
- line-height: var(--text-body-sm-regular-lineHeight);
4129
+ .muka-tile--lg .muka-tile__favourite,
4130
+ .muka-tile--md .muka-tile__favourite {
4131
+ top: var(--spacing-4);
4132
+ right: var(--spacing-4);
3897
4133
  }
3898
4134
 
3899
- .muka-text-link--base {
3900
- font-family: var(--text-body-base-regular-fontFamily);
3901
- font-weight: var(--text-body-base-regular-fontWeight);
3902
- font-size: var(--text-body-base-regular-fontSize);
3903
- line-height: var(--text-body-base-regular-lineHeight);
4135
+ .muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
4136
+ top: var(--spacing-1);
4137
+ right: var(--spacing-1);
3904
4138
  }
3905
4139
 
3906
- .muka-text-link--lg {
3907
- font-family: var(--text-body-lg-regular-fontFamily);
3908
- font-weight: var(--text-body-lg-regular-fontWeight);
3909
- font-size: var(--text-body-lg-regular-fontSize);
3910
- line-height: var(--text-body-lg-regular-lineHeight);
4140
+ /* ─── Thumbnails ──────────────────────────────────────── */
4141
+
4142
+ .muka-tile__thumbnails {
4143
+ display: flex;
4144
+ gap: 2px;
4145
+ overflow: hidden;
4146
+ flex-shrink: 0;
4147
+ height: 80px;
3911
4148
  }
3912
4149
 
3913
- /* ─── Variant: default (accent) ───────────────────────────
3914
- Visited repeats the default colour on purpose: the design treats visited and
3915
- default the same, and pinning it stops the browser's purple from showing. */
3916
- .muka-text-link--default,
3917
- .muka-text-link--default:visited {
3918
- color: var(--color-text-action-default);
4150
+ .muka-tile__thumbnail {
4151
+ width: 80px;
4152
+ height: 80px;
4153
+ flex-shrink: 0;
4154
+ overflow: hidden;
3919
4155
  }
3920
4156
 
3921
- .muka-text-link--default:hover,
3922
- .muka-text-link--default:focus-visible {
3923
- color: var(--color-text-action-hover);
4157
+ .muka-tile__thumbnail img {
4158
+ width: 100%;
4159
+ height: 100%;
4160
+ object-fit: cover;
4161
+ display: block;
3924
4162
  }
3925
4163
 
3926
- .muka-text-link--default:active {
3927
- color: var(--color-text-action-pressed);
4164
+ /* Gap between main photo and thumbnails */
4165
+ .muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
4166
+ margin-top: 2px;
3928
4167
  }
3929
4168
 
3930
- /* ─── Variant: subtle (neutral) ───────────────────────────
3931
- Hover, focus and pressed all darken to the default text colour. */
3932
- .muka-text-link--subtle,
3933
- .muka-text-link--subtle:visited {
3934
- color: var(--color-text-subtle-default);
3935
- }
3936
-
3937
- .muka-text-link--subtle:hover,
3938
- .muka-text-link--subtle:focus-visible,
3939
- .muka-text-link--subtle:active {
3940
- color: var(--color-text-default-default);
3941
- }
3942
-
3943
- /* ─── Focus ───────────────────────────────────────────────
3944
- Same ring as every other focusable Muka component. */
3945
- .muka-text-link:focus-visible {
3946
- outline: 2px solid var(--color-border-focus);
3947
- outline-offset: 2px;
3948
- }
3949
-
3950
- @media (prefers-reduced-motion: reduce) {
3951
- .muka-text-link {
3952
- transition: none;
3953
- }
3954
- }
3955
-
3956
-
3957
- /* Tabs */
3958
- /* Tabs Component Styles - Clean underline style tabs matching Figma */
4169
+ /* ─── Content section ─────────────────────────────────── */
3959
4170
 
3960
- .muka-tabs {
4171
+ .muka-tile__content {
3961
4172
  display: flex;
3962
4173
  flex-direction: column;
3963
- }
3964
-
3965
- /* Alignment Variants */
3966
- .muka-tabs--align-left .muka-tabs__list {
3967
- justify-content: flex-start;
3968
- }
3969
- .muka-tabs--align-center .muka-tabs__list {
3970
- justify-content: center;
3971
- }
3972
- .muka-tabs--align-fill .muka-tabs__list {
3973
- justify-content: space-between;
3974
- }
3975
- .muka-tabs--align-fill .muka-tabs__trigger {
3976
4174
  flex: 1;
4175
+ min-width: 0;
3977
4176
  }
3978
4177
 
3979
- /* Tab List — strip container */
3980
- .muka-tabs__list {
3981
- display: flex;
3982
- align-items: center;
3983
- position: relative;
3984
- z-index: 2;
3985
- border-bottom: 1px solid var(--tabs-trigger-color-default-border);
3986
- }
3987
-
3988
- /* Padding: inset the tabs; the divider (border) still spans the full width */
3989
- .muka-tabs--padding-default .muka-tabs__list {
3990
- padding-inline: var(--tabs-list-padding-x);
3991
- }
3992
-
3993
- /* Tab Trigger — clean underline style */
3994
- .muka-tabs__trigger {
3995
- display: inline-flex;
3996
- align-items: center;
3997
- justify-content: center;
4178
+ /* Top layout: content has horizontal padding */
4179
+ .muka-tile--image-top.muka-tile--lg .muka-tile__content {
4180
+ padding: 0 var(--spacing-3);
3998
4181
  gap: var(--spacing-1);
3999
- background: transparent;
4000
- border: none;
4001
- cursor: pointer;
4002
- user-select: none;
4003
- transition: background-color 0.2s ease, color 0.2s ease;
4004
- outline: none;
4005
- white-space: nowrap;
4006
- position: relative;
4007
- z-index: 2;
4008
- color: var(--tabs-trigger-color-default-foreground);
4009
-
4010
- /* Default MD size values */
4011
- min-height: var(--tabs-trigger-min-height-md);
4012
- padding: var(--spacing-3);
4013
- font-family: var(--text-label-md-regular-fontFamily);
4014
- font-weight: var(--text-label-md-regular-fontWeight);
4015
- font-size: var(--text-label-md-regular-fontSize);
4016
- line-height: var(--text-label-md-regular-lineHeight);
4017
- }
4018
-
4019
- /* Size Variants */
4020
- .muka-tabs--size-sm .muka-tabs__trigger {
4021
- min-height: var(--tabs-trigger-min-height-sm);
4022
- padding: 0 var(--spacing-2);
4023
- font-family: var(--text-label-sm-regular-fontFamily);
4024
- font-weight: var(--text-label-sm-regular-fontWeight);
4025
- font-size: var(--text-label-sm-regular-fontSize);
4026
- line-height: var(--text-label-sm-regular-lineHeight);
4027
4182
  }
4028
4183
 
4029
- .muka-tabs--size-lg .muka-tabs__trigger {
4030
- min-height: var(--tabs-trigger-min-height-lg);
4031
- padding: var(--spacing-4);
4032
- font-family: var(--text-label-lg-regular-fontFamily);
4033
- font-weight: var(--text-label-lg-regular-fontWeight);
4034
- font-size: var(--text-label-lg-regular-fontSize);
4035
- line-height: var(--text-label-lg-regular-lineHeight);
4036
- }
4037
-
4038
- /* Hover state */
4039
- .muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
4040
- color: var(--tabs-trigger-color-hover-foreground);
4184
+ .muka-tile--image-top.muka-tile--md .muka-tile__content {
4185
+ padding: 0 var(--spacing-3);
4186
+ gap: var(--spacing-2);
4041
4187
  }
4042
4188
 
4043
- /* Current tab */
4044
- .muka-tabs__trigger--current {
4045
- color: var(--tabs-trigger-color-current-foreground);
4189
+ .muka-tile--image-top.muka-tile--sm .muka-tile__content {
4190
+ gap: var(--spacing-2);
4046
4191
  }
4047
4192
 
4048
- /* Active bottom border (underline) */
4049
- .muka-tabs__trigger--current::after {
4050
- content: '';
4051
- position: absolute;
4052
- bottom: -1px; /* Overlap the 1px border */
4053
- left: 0;
4054
- right: 0;
4055
- height: var(--tabs-indicator-height-md);
4056
- background-color: var(--tabs-indicator-color);
4057
- border-bottom-left-radius: 1px;
4058
- border-bottom-right-radius: 1px;
4059
- border-top-left-radius: 3px;
4060
- border-top-right-radius: 3px;
4061
- z-index: 3;
4193
+ /* Left/right layout: content grows to fill space */
4194
+ .muka-tile--image-left .muka-tile__content,
4195
+ .muka-tile--image-right .muka-tile__content {
4196
+ gap: var(--spacing-3);
4062
4197
  }
4063
4198
 
4064
- .muka-tabs--size-sm .muka-tabs__trigger--current::after {
4065
- height: var(--tabs-indicator-height-sm);
4066
- }
4067
- .muka-tabs--size-lg .muka-tabs__trigger--current::after {
4068
- height: var(--tabs-indicator-height-lg);
4199
+ .muka-tile--image-left.muka-tile--lg .muka-tile__content,
4200
+ .muka-tile--image-right.muka-tile--lg .muka-tile__content {
4201
+ padding: 0 var(--spacing-3);
4069
4202
  }
4070
4203
 
4071
- .muka-tabs__trigger--disabled {
4072
- color: var(--tabs-trigger-color-disabled-foreground);
4073
- cursor: not-allowed;
4204
+ .muka-tile--image-left.muka-tile--md .muka-tile__content,
4205
+ .muka-tile--image-right.muka-tile--md .muka-tile__content {
4206
+ padding: var(--spacing-2) var(--spacing-3);
4074
4207
  }
4075
4208
 
4076
- .muka-tabs__trigger:focus-visible {
4077
- outline: 2px solid var(--color-border-focus);
4078
- outline-offset: -2px;
4209
+ .muka-tile--image-left.muka-tile--sm .muka-tile__content,
4210
+ .muka-tile--image-right.muka-tile--sm .muka-tile__content {
4211
+ gap: var(--spacing-2);
4079
4212
  }
4080
4213
 
4081
- /* Label: Figma pads the label 8px either side, so with the 4px gap a leading
4082
- item sits 12px from the text */
4083
- .muka-tabs__label {
4084
- padding: 0 var(--spacing-2);
4085
- }
4214
+ /* ─── Header (heading row + price) ────────────────────── */
4086
4215
 
4087
- /* Leading item: icon, avatar, avatar group or data pie chart */
4088
- .muka-tabs__leading {
4216
+ .muka-tile__header {
4089
4217
  display: flex;
4090
- align-items: center;
4091
- justify-content: center;
4092
- flex-shrink: 0;
4093
- }
4094
- .muka-tabs__trigger .muka-icon {
4095
- color: inherit;
4096
- }
4097
- /* Icon sizes only: avatars and pie charts are sized through their size prop */
4098
- .muka-tabs--size-sm .muka-tabs__leading > svg,
4099
- .muka-tabs--size-sm .muka-tabs__leading > .muka-icon svg { width: 16px; height: 16px; }
4100
- .muka-tabs--size-md .muka-tabs__leading > svg,
4101
- .muka-tabs--size-md .muka-tabs__leading > .muka-icon svg { width: 20px; height: 20px; }
4102
- .muka-tabs--size-lg .muka-tabs__leading > svg,
4103
- .muka-tabs--size-lg .muka-tabs__leading > .muka-icon svg { width: 24px; height: 24px; }
4104
-
4105
- /* Responsive Scroll behavior on small screens */
4106
- @media (max-width: 768px) {
4107
- .muka-tabs__list {
4108
- /* Make scrollable */
4109
- overflow-x: auto;
4110
- overflow-y: hidden;
4111
- /* Force left alignment on mobile to prevent clipping when scrolling */
4112
- justify-content: flex-start !important;
4113
- max-width: 100vw;
4114
- -webkit-overflow-scrolling: touch;
4115
- /* Hide scrollbar for cleaner look */
4116
- scrollbar-width: none;
4117
- }
4118
- .muka-tabs__list::-webkit-scrollbar {
4119
- display: none;
4120
- }
4121
- /* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
4122
- .muka-tabs--align-fill .muka-tabs__trigger {
4123
- flex: 0 0 auto;
4124
- }
4125
- }
4126
-
4127
- /* Tab Panel — content area */
4128
- .muka-tabs__panel {
4129
- background-color: var(--tabs-panel-background);
4130
- /* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
4131
- border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
4132
- padding: var(--spacing-4);
4133
- position: relative;
4134
- z-index: 1;
4135
- font-family: var(--text-body-base-regular-fontFamily);
4136
- font-weight: var(--text-body-base-regular-fontWeight);
4137
- font-size: var(--text-body-base-regular-fontSize);
4138
- line-height: var(--text-body-base-regular-lineHeight);
4139
- }
4140
-
4141
- .muka-tabs__panel:focus-visible {
4142
- outline: 2px solid var(--color-border-focus);
4143
- outline-offset: 2px;
4144
- }
4145
-
4146
-
4147
- /* Thumbnail */
4148
- /* Thumbnail Component Styles - Using Muka Design Tokens */
4149
-
4150
- .muka-thumbnail {
4151
- position: relative;
4152
- flex-shrink: 0;
4153
- }
4154
-
4155
- /* The frame carries the border, background and shape clip. Keeping it separate
4156
- from the root lets the remove (×) button sit outside the clip (needed for the
4157
- circular/ellipse shape, whose corners would otherwise clip the button). */
4158
- .muka-thumbnail__frame {
4159
- position: absolute;
4160
- inset: 0;
4161
- overflow: hidden;
4162
- border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
4163
- border-radius: var(--border-radius-lg);
4164
- background-color: var(--color-surface-level1);
4218
+ align-items: flex-start;
4219
+ gap: var(--spacing-4);
4165
4220
  }
4166
4221
 
4167
- /* ─── Shapes ──────────────────────────────────────────── */
4168
- .muka-thumbnail--4-3 {
4169
- width: 160px;
4170
- height: 120px;
4222
+ /* Small horizontal: row with text and action */
4223
+ .muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
4224
+ gap: var(--spacing-2);
4225
+ align-items: center;
4226
+ padding-top: var(--spacing-1);
4171
4227
  }
4172
4228
 
4173
- .muka-thumbnail--1-1 {
4174
- width: 120px;
4175
- height: 120px;
4176
- }
4229
+ /* ─── Text group ──────────────────────────────────────── */
4177
4230
 
4178
- .muka-thumbnail--ellipse {
4179
- width: 120px;
4180
- height: 120px;
4231
+ .muka-tile__text {
4232
+ display: flex;
4233
+ flex-direction: column;
4234
+ flex: 1;
4235
+ min-width: 0;
4236
+ gap: var(--spacing-2);
4181
4237
  }
4182
4238
 
4183
- /* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
4184
- .muka-thumbnail--fluid {
4185
- width: 100%;
4186
- height: auto;
4187
- aspect-ratio: 1 / 1;
4188
- }
4239
+ /* ─── Heading typography ──────────────────────────────── */
4189
4240
 
4190
- .muka-thumbnail--fluid.muka-thumbnail--4-3 {
4191
- aspect-ratio: 4 / 3;
4241
+ .muka-tile__heading {
4242
+ margin: 0;
4192
4243
  }
4193
4244
 
4194
- .muka-thumbnail--ellipse .muka-thumbnail__frame {
4195
- border-radius: var(--border-radius-full);
4245
+ .muka-tile--lg .muka-tile__heading {
4246
+ font-family: var(--text-label-2xl-semibold-fontFamily);
4247
+ font-weight: var(--text-label-2xl-semibold-fontWeight);
4248
+ font-size: var(--text-label-2xl-semibold-fontSize);
4249
+ line-height: var(--text-label-2xl-semibold-lineHeight);
4250
+ color: var(--color-text-default-default);
4196
4251
  }
4197
4252
 
4198
- /* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
4199
- interactive hover zoom has a clean origin. */
4200
- .muka-thumbnail__image {
4201
- position: absolute;
4202
- inset: 0;
4203
- width: 100%;
4204
- height: 100%;
4205
- object-fit: cover;
4206
- display: block;
4207
- transform-origin: center;
4208
- /* Micro-interaction: hover zoom eases out over the "micro" duration. */
4209
- transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
4253
+ .muka-tile--md .muka-tile__heading {
4254
+ font-family: var(--text-label-xl-semibold-fontFamily);
4255
+ font-weight: var(--text-label-xl-semibold-fontWeight);
4256
+ font-size: var(--text-label-xl-semibold-fontSize);
4257
+ line-height: var(--text-label-xl-semibold-lineHeight);
4258
+ color: var(--color-text-default-default);
4210
4259
  }
4211
4260
 
4212
- /* ─── Interactive (click-to-enlarge) ──────────────────── */
4213
- .muka-thumbnail__trigger {
4214
- position: absolute;
4215
- inset: 0;
4216
- padding: 0;
4217
- border: 0;
4218
- background: none;
4219
- cursor: pointer;
4220
- overflow: hidden;
4261
+ .muka-tile--sm .muka-tile__heading {
4262
+ font-family: var(--text-label-lg-bold-fontFamily);
4263
+ font-weight: var(--text-label-lg-bold-fontWeight);
4264
+ font-size: var(--text-label-lg-bold-fontSize);
4265
+ line-height: var(--text-label-lg-bold-lineHeight);
4266
+ color: var(--color-text-default-default);
4221
4267
  }
4222
4268
 
4223
- .muka-thumbnail__trigger:focus-visible {
4224
- outline: 2px solid var(--color-border-focus);
4225
- outline-offset: -2px;
4226
- }
4269
+ /* ─── Subheading typography ───────────────────────────── */
4227
4270
 
4228
- /* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
4229
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4230
- transform: scale(1.05);
4271
+ .muka-tile__subheading {
4272
+ margin: 0;
4273
+ color: var(--color-text-subtle-default);
4231
4274
  }
4232
4275
 
4233
- /* ─── Loading overlay + progress donut ────────────────── */
4234
- .muka-thumbnail__overlay {
4235
- position: absolute;
4236
- inset: 0;
4237
- display: flex;
4238
- align-items: center;
4239
- justify-content: center;
4240
- background-color: var(--dialog-color-backdrop);
4276
+ .muka-tile--lg .muka-tile__subheading {
4277
+ font-family: var(--text-subheading-md-fontFamily);
4278
+ font-weight: var(--text-subheading-md-fontWeight);
4279
+ font-size: var(--text-subheading-md-fontSize);
4280
+ line-height: var(--text-subheading-md-lineHeight);
4241
4281
  }
4242
4282
 
4243
- .muka-thumbnail__progress {
4244
- width: 40px;
4245
- height: 40px;
4283
+ .muka-tile--md .muka-tile__subheading,
4284
+ .muka-tile--sm .muka-tile__subheading {
4285
+ font-family: var(--text-subheading-sm-fontFamily);
4286
+ font-weight: var(--text-subheading-sm-fontWeight);
4287
+ font-size: var(--text-subheading-sm-fontSize);
4288
+ line-height: var(--text-subheading-sm-lineHeight);
4246
4289
  }
4247
4290
 
4248
- /* ─── Error / corrupt state ───────────────────────────── */
4249
- .muka-thumbnail--error .muka-thumbnail__frame {
4250
- background-color: var(--alias-color-state-error-muted);
4251
- border-color: var(--alias-color-state-error-default);
4291
+ /* ─── Description typography ──────────────────────────── */
4292
+
4293
+ .muka-tile__description {
4294
+ margin: 0;
4295
+ color: var(--color-text-default-default);
4252
4296
  }
4253
4297
 
4254
- .muka-thumbnail__error {
4255
- position: absolute;
4256
- inset: 0;
4257
- display: flex;
4258
- flex-direction: column;
4259
- align-items: center;
4260
- justify-content: center;
4261
- gap: var(--spacing-2);
4262
- padding: var(--spacing-3);
4263
- text-align: center;
4298
+ .muka-tile--lg .muka-tile__description {
4299
+ font-family: var(--text-body-lg-regular-fontFamily);
4300
+ font-weight: var(--text-body-lg-regular-fontWeight);
4301
+ font-size: var(--text-body-lg-regular-fontSize);
4302
+ line-height: var(--text-body-lg-regular-lineHeight);
4264
4303
  }
4265
4304
 
4266
- .muka-thumbnail__error-icon {
4267
- color: var(--alert-color-error-accent);
4305
+ .muka-tile--md .muka-tile__description,
4306
+ .muka-tile--sm .muka-tile__description {
4307
+ font-family: var(--text-body-base-regular-fontFamily);
4308
+ font-weight: var(--text-body-base-regular-fontWeight);
4309
+ font-size: var(--text-body-base-regular-fontSize);
4310
+ line-height: var(--text-body-base-regular-lineHeight);
4268
4311
  }
4269
4312
 
4270
- .muka-thumbnail__caption {
4271
- max-width: 100%;
4313
+ /* Description overflow for medium */
4314
+ .muka-tile--md .muka-tile__description {
4272
4315
  overflow: hidden;
4273
4316
  text-overflow: ellipsis;
4274
- white-space: nowrap;
4275
- color: var(--alert-color-error-accent);
4276
- font-family: var(--text-body-sm-regular-fontFamily);
4277
- font-size: var(--text-body-sm-regular-fontSize);
4278
- font-weight: var(--text-body-sm-regular-fontWeight);
4279
- line-height: var(--text-body-sm-regular-lineHeight);
4280
- }
4281
-
4282
- /* ─── Remove (×) button ───────────────────────────────── */
4283
- .muka-thumbnail__remove {
4284
- position: absolute;
4285
- top: var(--spacing-2);
4286
- right: var(--spacing-2);
4287
- display: flex;
4288
- align-items: center;
4289
- justify-content: center;
4290
- width: var(--size-2xl);
4291
- height: var(--size-2xl);
4292
- padding: 0;
4293
- color: var(--button-color-tertiary-foreground-default);
4294
- background-color: var(--button-color-tertiary-background-default);
4295
- border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
4296
- border-radius: var(--border-radius-lg);
4297
- cursor: pointer;
4298
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
4299
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
4300
- }
4301
-
4302
- .muka-thumbnail__remove:hover {
4303
- color: var(--button-color-tertiary-foreground-hover);
4304
- background-color: var(--button-color-tertiary-background-hover);
4305
- border-color: var(--button-color-tertiary-border-hover);
4306
4317
  }
4307
4318
 
4308
- .muka-thumbnail__remove:active {
4309
- color: var(--button-color-tertiary-foreground-pressed);
4310
- background-color: var(--button-color-tertiary-background-pressed);
4311
- border-color: var(--button-color-tertiary-border-pressed);
4312
- }
4319
+ /* ─── Price slot ──────────────────────────────────────── */
4313
4320
 
4314
- .muka-thumbnail__remove:focus-visible {
4315
- outline: 2px solid var(--color-border-focus);
4316
- outline-offset: 2px;
4321
+ .muka-tile__price {
4322
+ flex-shrink: 0;
4317
4323
  }
4318
4324
 
4319
- /* ─── Reduced motion ──────────────────────────────────── */
4320
- @media (prefers-reduced-motion: reduce) {
4321
- .muka-thumbnail__image,
4322
- .muka-thumbnail__remove {
4323
- transition: none;
4324
- }
4325
+ /* ─── Action slot ─────────────────────────────────────── */
4325
4326
 
4326
- .muka-thumbnail--interactive:hover .muka-thumbnail__image {
4327
- transform: none;
4328
- }
4327
+ .muka-tile__action {
4328
+ flex-shrink: 0;
4329
4329
  }
4330
4330
 
4331
4331
 
@@ -4841,6 +4841,84 @@ body {
4841
4841
  }
4842
4842
 
4843
4843
 
4844
+ /* Spinner */
4845
+ /* Spinner Component Styles */
4846
+
4847
+ .muka-spinner {
4848
+ display: inline-flex;
4849
+ align-items: center;
4850
+ justify-content: center;
4851
+ color: var(--color-text-default-default);
4852
+ line-height: 0;
4853
+ }
4854
+
4855
+ .muka-spinner--subtle {
4856
+ color: var(--color-text-subtle-default);
4857
+ }
4858
+
4859
+ .muka-spinner--inverse {
4860
+ color: var(--color-text-default-inverse);
4861
+ }
4862
+
4863
+ .muka-spinner__circle {
4864
+ display: inline-block;
4865
+ border-radius: 50%;
4866
+ border-style: solid;
4867
+ border-color: currentColor;
4868
+ border-right-color: transparent;
4869
+ animation: muka-spinner-rotate 0.7s linear infinite;
4870
+ box-sizing: border-box;
4871
+ }
4872
+
4873
+ /* ─── Sizes ───────────────────────────────────────────── */
4874
+
4875
+ .muka-spinner--sm .muka-spinner__circle {
4876
+ width: 16px;
4877
+ height: 16px;
4878
+ border-width: 2px;
4879
+ }
4880
+
4881
+ .muka-spinner--md .muka-spinner__circle {
4882
+ width: 20px;
4883
+ height: 20px;
4884
+ border-width: 2px;
4885
+ }
4886
+
4887
+ .muka-spinner--lg .muka-spinner__circle {
4888
+ width: 24px;
4889
+ height: 24px;
4890
+ border-width: 3px;
4891
+ }
4892
+
4893
+ /* ─── Visually-hidden label ───────────────────────────── */
4894
+
4895
+ .muka-spinner__sr-label {
4896
+ position: absolute;
4897
+ width: 1px;
4898
+ height: 1px;
4899
+ padding: 0;
4900
+ margin: -1px;
4901
+ overflow: hidden;
4902
+ clip: rect(0, 0, 0, 0);
4903
+ white-space: nowrap;
4904
+ border: 0;
4905
+ }
4906
+
4907
+ /* ─── Reduced motion ──────────────────────────────────── */
4908
+
4909
+ @keyframes muka-spinner-rotate {
4910
+ to {
4911
+ transform: rotate(360deg);
4912
+ }
4913
+ }
4914
+
4915
+ @media (prefers-reduced-motion: reduce) {
4916
+ .muka-spinner__circle {
4917
+ animation-duration: 2.5s;
4918
+ }
4919
+ }
4920
+
4921
+
4844
4922
  /* SpecList */
4845
4923
  /* SpecList Component Styles */
4846
4924
 
@@ -16857,81 +16935,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
16857
16935
  border-bottom: none;
16858
16936
  }
16859
16937
 
16860
-
16861
- /* Spinner */
16862
- /* Spinner Component Styles */
16863
-
16864
- .muka-spinner {
16865
- display: inline-flex;
16866
- align-items: center;
16867
- justify-content: center;
16868
- color: var(--color-text-default-default);
16869
- line-height: 0;
16870
- }
16871
-
16872
- .muka-spinner--subtle {
16873
- color: var(--color-text-subtle-default);
16874
- }
16875
-
16876
- .muka-spinner--inverse {
16877
- color: var(--color-text-default-inverse);
16878
- }
16879
-
16880
- .muka-spinner__circle {
16881
- display: inline-block;
16882
- border-radius: 50%;
16883
- border-style: solid;
16884
- border-color: currentColor;
16885
- border-right-color: transparent;
16886
- animation: muka-spinner-rotate 0.7s linear infinite;
16887
- box-sizing: border-box;
16888
- }
16889
-
16890
- /* ─── Sizes ───────────────────────────────────────────── */
16891
-
16892
- .muka-spinner--sm .muka-spinner__circle {
16893
- width: 16px;
16894
- height: 16px;
16895
- border-width: 2px;
16896
- }
16897
-
16898
- .muka-spinner--md .muka-spinner__circle {
16899
- width: 20px;
16900
- height: 20px;
16901
- border-width: 2px;
16902
- }
16903
-
16904
- .muka-spinner--lg .muka-spinner__circle {
16905
- width: 24px;
16906
- height: 24px;
16907
- border-width: 3px;
16908
- }
16909
-
16910
- /* ─── Visually-hidden label ───────────────────────────── */
16911
-
16912
- .muka-spinner__sr-label {
16913
- position: absolute;
16914
- width: 1px;
16915
- height: 1px;
16916
- padding: 0;
16917
- margin: -1px;
16918
- overflow: hidden;
16919
- clip: rect(0, 0, 0, 0);
16920
- white-space: nowrap;
16921
- border: 0;
16922
- }
16923
-
16924
- /* ─── Reduced motion ──────────────────────────────────── */
16925
-
16926
- @keyframes muka-spinner-rotate {
16927
- to {
16928
- transform: rotate(360deg);
16929
- }
16930
- }
16931
-
16932
- @media (prefers-reduced-motion: reduce) {
16933
- .muka-spinner__circle {
16934
- animation-duration: 2.5s;
16935
- }
16936
- }
16937
-