@revikornmann/muka-ui 0.64.2 → 0.64.3

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.
@@ -2826,6 +2826,49 @@ body {
2826
2826
  }
2827
2827
  }
2828
2828
 
2829
+ /* ─── The same motion without a view transition ──────────
2830
+ When React commits a navigation outside a view transition, the browser
2831
+ animates nothing; viewNavigation.ts then puts a copy of the leaving View
2832
+ (.muka-view-ghost) over the page and marks the new View
2833
+ [data-muka-view-entering]. Pop only on small and medium screens: a push
2834
+ would slide over nothing. */
2835
+ .muka-view-ghost {
2836
+ position: fixed;
2837
+ margin: 0;
2838
+ z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
2839
+ pointer-events: none;
2840
+ }
2841
+
2842
+ @media (max-width: 1023px) {
2843
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2844
+ animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2845
+ }
2846
+
2847
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
2848
+ animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2849
+ }
2850
+ }
2851
+
2852
+ @media (min-width: 1024px) {
2853
+ :root[data-muka-nav] .muka-view-ghost {
2854
+ animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
2855
+ }
2856
+
2857
+ :root[data-muka-nav] .muka-view[data-muka-view-entering] {
2858
+ animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
2859
+ }
2860
+
2861
+ :root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
2862
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2863
+ --muka-view-shift: var(--spacing-4);
2864
+ }
2865
+
2866
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
2867
+ :root[data-muka-nav='push'] .muka-view-ghost {
2868
+ --muka-view-shift: calc(-1 * var(--spacing-4));
2869
+ }
2870
+ }
2871
+
2829
2872
  @keyframes muka-view-shift-in {
2830
2873
  from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
2831
2874
  to { opacity: 1; transform: translateX(0); }
@@ -5635,198 +5678,6 @@ body {
5635
5678
  }
5636
5679
 
5637
5680
 
5638
- /* SmsOtpField */
5639
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
5640
-
5641
- /* Wrapper */
5642
- .muka-sms-otp-field {
5643
- display: inline-flex;
5644
- flex-direction: column;
5645
- gap: var(--spacing-2);
5646
- }
5647
-
5648
- /* Label */
5649
- .muka-sms-otp-field__label {
5650
- color: var(--color-text-default-default);
5651
- cursor: pointer;
5652
- }
5653
-
5654
- .muka-sms-otp-field__label--sm {
5655
- font-family: var(--text-label-sm-semibold-fontFamily);
5656
- font-weight: var(--text-label-sm-semibold-fontWeight);
5657
- font-size: var(--text-label-sm-semibold-fontSize);
5658
- line-height: var(--text-label-sm-semibold-lineHeight);
5659
- }
5660
-
5661
- .muka-sms-otp-field__label--md {
5662
- font-family: var(--text-label-md-semibold-fontFamily);
5663
- font-weight: var(--text-label-md-semibold-fontWeight);
5664
- font-size: var(--text-label-md-semibold-fontSize);
5665
- line-height: var(--text-label-md-semibold-lineHeight);
5666
- }
5667
-
5668
- .muka-sms-otp-field__label--lg {
5669
- font-family: var(--text-label-lg-semibold-fontFamily);
5670
- font-weight: var(--text-label-lg-semibold-fontWeight);
5671
- font-size: var(--text-label-lg-semibold-fontSize);
5672
- line-height: var(--text-label-lg-semibold-lineHeight);
5673
- }
5674
-
5675
- .muka-sms-otp-field__required {
5676
- color: var(--color-state-error-default);
5677
- }
5678
-
5679
- /* Hidden input for browser autofill */
5680
- .muka-sms-otp-field__hidden-input {
5681
- position: absolute;
5682
- width: 1px;
5683
- height: 1px;
5684
- padding: 0;
5685
- margin: -1px;
5686
- overflow: hidden;
5687
- clip: rect(0, 0, 0, 0);
5688
- white-space: nowrap;
5689
- border: 0;
5690
- opacity: 0;
5691
- pointer-events: none;
5692
- }
5693
-
5694
- /* Digits container */
5695
- .muka-sms-otp-field__digits {
5696
- display: flex;
5697
- align-items: center;
5698
- gap: var(--spacing-2);
5699
- }
5700
-
5701
- /* Separator */
5702
- .muka-sms-otp-field__separator {
5703
- display: inline-flex;
5704
- align-items: center;
5705
- justify-content: center;
5706
- color: var(--color-text-subtle-default);
5707
- font-size: 1.25rem;
5708
- padding: 0 var(--spacing-1);
5709
- user-select: none;
5710
- }
5711
-
5712
- /* Individual digit box */
5713
- .muka-sms-otp-field__digit {
5714
- display: flex;
5715
- align-items: center;
5716
- justify-content: center;
5717
- text-align: center;
5718
- background-color: var(--input-field-color-default-background);
5719
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5720
- color: var(--input-field-color-default-foreground);
5721
- transition: border-color 0.2s ease, background-color 0.2s ease;
5722
- box-sizing: border-box;
5723
- caret-color: var(--input-field-color-focus-border);
5724
- -moz-appearance: textfield;
5725
- appearance: textfield;
5726
- }
5727
-
5728
- /* Remove spinner buttons */
5729
- .muka-sms-otp-field__digit::-webkit-inner-spin-button,
5730
- .muka-sms-otp-field__digit::-webkit-outer-spin-button {
5731
- -webkit-appearance: none;
5732
- margin: 0;
5733
- }
5734
-
5735
- /* Size variants */
5736
- .muka-sms-otp-field__digit--sm {
5737
- width: 36px;
5738
- height: var(--input-field-height-sm);
5739
- border-radius: var(--input-field-radius-sm);
5740
- font-family: var(--text-input-sm-fontFamily);
5741
- font-weight: var(--text-input-sm-fontWeight);
5742
- font-size: var(--text-input-sm-fontSize);
5743
- line-height: var(--text-input-sm-lineHeight);
5744
- }
5745
-
5746
- .muka-sms-otp-field__digit--md {
5747
- width: 44px;
5748
- height: var(--input-field-height-default);
5749
- border-radius: var(--input-field-radius-md);
5750
- font-family: var(--text-input-md-fontFamily);
5751
- font-weight: var(--text-input-md-fontWeight);
5752
- font-size: var(--text-input-md-fontSize);
5753
- line-height: var(--text-input-md-lineHeight);
5754
- }
5755
-
5756
- .muka-sms-otp-field__digit--lg {
5757
- width: 52px;
5758
- height: var(--input-field-height-lg);
5759
- border-radius: var(--input-field-radius-lg);
5760
- font-family: var(--text-input-lg-fontFamily);
5761
- font-weight: var(--text-input-lg-fontWeight);
5762
- font-size: var(--text-input-lg-fontSize);
5763
- line-height: var(--text-input-lg-lineHeight);
5764
- }
5765
-
5766
- /* Inset shadow (matches Input component) */
5767
- .muka-sms-otp-field__digit::after {
5768
- content: '';
5769
- position: absolute;
5770
- inset: 0;
5771
- border-radius: inherit;
5772
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
5773
- pointer-events: none;
5774
- }
5775
-
5776
- /* Focus state */
5777
- .muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
5778
- border-width: var(--border-width-bold);
5779
- border-color: var(--input-field-color-focus-border);
5780
- background-color: var(--input-field-color-focus-background);
5781
- outline: none;
5782
- }
5783
-
5784
- /* Also handle native :focus for keyboard navigation */
5785
- .muka-sms-otp-field__digit:focus {
5786
- outline: none;
5787
- }
5788
-
5789
- /* Error state */
5790
- .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
5791
- border-width: var(--border-width-bold);
5792
- border-color: var(--input-field-color-error-border);
5793
- background-color: var(--input-field-color-error-background);
5794
- }
5795
-
5796
- /* Disabled state */
5797
- .muka-sms-otp-field__digit--disabled {
5798
- background-color: var(--input-field-color-disabled-background);
5799
- border-color: var(--input-field-color-disabled-border);
5800
- color: var(--input-field-color-disabled-foreground);
5801
- cursor: not-allowed;
5802
- }
5803
-
5804
- /* Filled state — slightly bolder text */
5805
- .muka-sms-otp-field__digit--filled {
5806
- color: var(--input-field-color-default-foreground);
5807
- }
5808
-
5809
- /* Helper text */
5810
- .muka-sms-otp-field__helper {
5811
- font-family: var(--text-label-sm-regular-fontFamily);
5812
- font-weight: var(--text-label-sm-regular-fontWeight);
5813
- font-size: var(--text-label-sm-regular-fontSize);
5814
- line-height: var(--text-label-sm-regular-lineHeight);
5815
- color: var(--color-text-subtle-default);
5816
- margin: 0;
5817
- }
5818
-
5819
- /* Error message */
5820
- .muka-sms-otp-field__error {
5821
- font-family: var(--text-label-sm-regular-fontFamily);
5822
- font-weight: var(--text-label-sm-regular-fontWeight);
5823
- font-size: var(--text-label-sm-regular-fontSize);
5824
- line-height: var(--text-label-sm-regular-lineHeight);
5825
- color: var(--color-state-error-default);
5826
- margin: 0;
5827
- }
5828
-
5829
-
5830
5681
  /* Skeleton */
5831
5682
  /* Skeleton Component Styles */
5832
5683
 
@@ -6047,30 +5898,222 @@ body {
6047
5898
  }
6048
5899
 
6049
5900
 
6050
- /* Sheet */
6051
- /* Sheet Component Styles */
6052
-
6053
- /* ─── Backdrop ────────────────────────────────────────── */
5901
+ /* SmsOtpField */
5902
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
6054
5903
 
6055
- .muka-sheet__overlay {
6056
- position: fixed;
6057
- inset: 0;
6058
- background-color: var(--color-surface-backdrop);
6059
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6060
- backdrop-filter: blur(var(--effect-blur-backdrop));
6061
- z-index: 50;
5904
+ /* Wrapper */
5905
+ .muka-sms-otp-field {
5906
+ display: inline-flex;
5907
+ flex-direction: column;
5908
+ gap: var(--spacing-2);
6062
5909
  }
6063
5910
 
6064
- /* ─── Surface ─────────────────────────────────────────── */
5911
+ /* Label */
5912
+ .muka-sms-otp-field__label {
5913
+ color: var(--color-text-default-default);
5914
+ cursor: pointer;
5915
+ }
6065
5916
 
6066
- .muka-sheet {
6067
- position: fixed;
6068
- left: 0;
6069
- right: 0;
6070
- bottom: 0;
6071
- z-index: 51;
5917
+ .muka-sms-otp-field__label--sm {
5918
+ font-family: var(--text-label-sm-semibold-fontFamily);
5919
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5920
+ font-size: var(--text-label-sm-semibold-fontSize);
5921
+ line-height: var(--text-label-sm-semibold-lineHeight);
5922
+ }
6072
5923
 
6073
- display: flex;
5924
+ .muka-sms-otp-field__label--md {
5925
+ font-family: var(--text-label-md-semibold-fontFamily);
5926
+ font-weight: var(--text-label-md-semibold-fontWeight);
5927
+ font-size: var(--text-label-md-semibold-fontSize);
5928
+ line-height: var(--text-label-md-semibold-lineHeight);
5929
+ }
5930
+
5931
+ .muka-sms-otp-field__label--lg {
5932
+ font-family: var(--text-label-lg-semibold-fontFamily);
5933
+ font-weight: var(--text-label-lg-semibold-fontWeight);
5934
+ font-size: var(--text-label-lg-semibold-fontSize);
5935
+ line-height: var(--text-label-lg-semibold-lineHeight);
5936
+ }
5937
+
5938
+ .muka-sms-otp-field__required {
5939
+ color: var(--color-state-error-default);
5940
+ }
5941
+
5942
+ /* Hidden input for browser autofill */
5943
+ .muka-sms-otp-field__hidden-input {
5944
+ position: absolute;
5945
+ width: 1px;
5946
+ height: 1px;
5947
+ padding: 0;
5948
+ margin: -1px;
5949
+ overflow: hidden;
5950
+ clip: rect(0, 0, 0, 0);
5951
+ white-space: nowrap;
5952
+ border: 0;
5953
+ opacity: 0;
5954
+ pointer-events: none;
5955
+ }
5956
+
5957
+ /* Digits container */
5958
+ .muka-sms-otp-field__digits {
5959
+ display: flex;
5960
+ align-items: center;
5961
+ gap: var(--spacing-2);
5962
+ }
5963
+
5964
+ /* Separator */
5965
+ .muka-sms-otp-field__separator {
5966
+ display: inline-flex;
5967
+ align-items: center;
5968
+ justify-content: center;
5969
+ color: var(--color-text-subtle-default);
5970
+ font-size: 1.25rem;
5971
+ padding: 0 var(--spacing-1);
5972
+ user-select: none;
5973
+ }
5974
+
5975
+ /* Individual digit box */
5976
+ .muka-sms-otp-field__digit {
5977
+ display: flex;
5978
+ align-items: center;
5979
+ justify-content: center;
5980
+ text-align: center;
5981
+ background-color: var(--input-field-color-default-background);
5982
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5983
+ color: var(--input-field-color-default-foreground);
5984
+ transition: border-color 0.2s ease, background-color 0.2s ease;
5985
+ box-sizing: border-box;
5986
+ caret-color: var(--input-field-color-focus-border);
5987
+ -moz-appearance: textfield;
5988
+ appearance: textfield;
5989
+ }
5990
+
5991
+ /* Remove spinner buttons */
5992
+ .muka-sms-otp-field__digit::-webkit-inner-spin-button,
5993
+ .muka-sms-otp-field__digit::-webkit-outer-spin-button {
5994
+ -webkit-appearance: none;
5995
+ margin: 0;
5996
+ }
5997
+
5998
+ /* Size variants */
5999
+ .muka-sms-otp-field__digit--sm {
6000
+ width: 36px;
6001
+ height: var(--input-field-height-sm);
6002
+ border-radius: var(--input-field-radius-sm);
6003
+ font-family: var(--text-input-sm-fontFamily);
6004
+ font-weight: var(--text-input-sm-fontWeight);
6005
+ font-size: var(--text-input-sm-fontSize);
6006
+ line-height: var(--text-input-sm-lineHeight);
6007
+ }
6008
+
6009
+ .muka-sms-otp-field__digit--md {
6010
+ width: 44px;
6011
+ height: var(--input-field-height-default);
6012
+ border-radius: var(--input-field-radius-md);
6013
+ font-family: var(--text-input-md-fontFamily);
6014
+ font-weight: var(--text-input-md-fontWeight);
6015
+ font-size: var(--text-input-md-fontSize);
6016
+ line-height: var(--text-input-md-lineHeight);
6017
+ }
6018
+
6019
+ .muka-sms-otp-field__digit--lg {
6020
+ width: 52px;
6021
+ height: var(--input-field-height-lg);
6022
+ border-radius: var(--input-field-radius-lg);
6023
+ font-family: var(--text-input-lg-fontFamily);
6024
+ font-weight: var(--text-input-lg-fontWeight);
6025
+ font-size: var(--text-input-lg-fontSize);
6026
+ line-height: var(--text-input-lg-lineHeight);
6027
+ }
6028
+
6029
+ /* Inset shadow (matches Input component) */
6030
+ .muka-sms-otp-field__digit::after {
6031
+ content: '';
6032
+ position: absolute;
6033
+ inset: 0;
6034
+ border-radius: inherit;
6035
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
6036
+ pointer-events: none;
6037
+ }
6038
+
6039
+ /* Focus state */
6040
+ .muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
6041
+ border-width: var(--border-width-bold);
6042
+ border-color: var(--input-field-color-focus-border);
6043
+ background-color: var(--input-field-color-focus-background);
6044
+ outline: none;
6045
+ }
6046
+
6047
+ /* Also handle native :focus for keyboard navigation */
6048
+ .muka-sms-otp-field__digit:focus {
6049
+ outline: none;
6050
+ }
6051
+
6052
+ /* Error state */
6053
+ .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
6054
+ border-width: var(--border-width-bold);
6055
+ border-color: var(--input-field-color-error-border);
6056
+ background-color: var(--input-field-color-error-background);
6057
+ }
6058
+
6059
+ /* Disabled state */
6060
+ .muka-sms-otp-field__digit--disabled {
6061
+ background-color: var(--input-field-color-disabled-background);
6062
+ border-color: var(--input-field-color-disabled-border);
6063
+ color: var(--input-field-color-disabled-foreground);
6064
+ cursor: not-allowed;
6065
+ }
6066
+
6067
+ /* Filled state — slightly bolder text */
6068
+ .muka-sms-otp-field__digit--filled {
6069
+ color: var(--input-field-color-default-foreground);
6070
+ }
6071
+
6072
+ /* Helper text */
6073
+ .muka-sms-otp-field__helper {
6074
+ font-family: var(--text-label-sm-regular-fontFamily);
6075
+ font-weight: var(--text-label-sm-regular-fontWeight);
6076
+ font-size: var(--text-label-sm-regular-fontSize);
6077
+ line-height: var(--text-label-sm-regular-lineHeight);
6078
+ color: var(--color-text-subtle-default);
6079
+ margin: 0;
6080
+ }
6081
+
6082
+ /* Error message */
6083
+ .muka-sms-otp-field__error {
6084
+ font-family: var(--text-label-sm-regular-fontFamily);
6085
+ font-weight: var(--text-label-sm-regular-fontWeight);
6086
+ font-size: var(--text-label-sm-regular-fontSize);
6087
+ line-height: var(--text-label-sm-regular-lineHeight);
6088
+ color: var(--color-state-error-default);
6089
+ margin: 0;
6090
+ }
6091
+
6092
+
6093
+ /* Sheet */
6094
+ /* Sheet Component Styles */
6095
+
6096
+ /* ─── Backdrop ────────────────────────────────────────── */
6097
+
6098
+ .muka-sheet__overlay {
6099
+ position: fixed;
6100
+ inset: 0;
6101
+ background-color: var(--color-surface-backdrop);
6102
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6103
+ backdrop-filter: blur(var(--effect-blur-backdrop));
6104
+ z-index: 50;
6105
+ }
6106
+
6107
+ /* ─── Surface ─────────────────────────────────────────── */
6108
+
6109
+ .muka-sheet {
6110
+ position: fixed;
6111
+ left: 0;
6112
+ right: 0;
6113
+ bottom: 0;
6114
+ z-index: 51;
6115
+
6116
+ display: flex;
6074
6117
  flex-direction: column;
6075
6118
 
6076
6119
  max-height: 96dvh;
@@ -7096,146 +7139,145 @@ body {
7096
7139
  }
7097
7140
 
7098
7141
 
7099
- /* Radio */
7100
- /* Radio Component Styles - Using Muka Design Tokens */
7142
+ /* RadioTile */
7143
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7101
7144
 
7102
- /* Wrapper - clickable label container */
7103
- .muka-radio {
7104
- display: inline-flex;
7145
+ /* Base tile styles - horizontal */
7146
+ .muka-radio-tile {
7147
+ display: flex;
7105
7148
  align-items: center;
7106
7149
  gap: var(--spacing-4);
7150
+ padding: var(--spacing-4);
7151
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7152
+ border-radius: var(--input-field-radius-lg);
7153
+ background-color: var(--color-surface-level3);
7107
7154
  cursor: pointer;
7108
- user-select: none;
7155
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7156
+ overflow: hidden;
7157
+ box-sizing: border-box;
7109
7158
  }
7110
7159
 
7111
- .muka-radio--disabled {
7160
+ .muka-radio-tile--disabled {
7112
7161
  cursor: not-allowed;
7113
7162
  opacity: 0.6;
7114
7163
  }
7115
7164
 
7116
- /* Control container */
7117
- .muka-radio__control {
7118
- position: relative;
7119
- display: inline-flex;
7165
+ /* Selected state */
7166
+ .muka-radio-tile[data-checked] {
7167
+ border-width: var(--border-width-bold);
7168
+ border-color: var(--color-action-default);
7169
+ }
7170
+
7171
+ /* Vertical layout */
7172
+ .muka-radio-tile--vertical {
7173
+ flex-direction: column;
7120
7174
  align-items: center;
7121
- justify-content: center;
7175
+ gap: var(--spacing-2);
7176
+ position: relative;
7177
+ width: 160px;
7178
+ }
7179
+
7180
+ /* Radio container */
7181
+ .muka-radio-tile__radio {
7122
7182
  flex-shrink: 0;
7123
7183
  }
7124
7184
 
7125
- /* Hidden native input */
7126
- .muka-radio__input {
7185
+ /* Corner-positioned radio for vertical */
7186
+ .muka-radio-tile__radio--corner {
7127
7187
  position: absolute;
7128
- width: 1px;
7129
- height: 1px;
7130
- padding: 0;
7131
- margin: -1px;
7132
- overflow: hidden;
7133
- clip: rect(0, 0, 0, 0);
7134
- white-space: nowrap;
7135
- border: 0;
7188
+ top: var(--spacing-4);
7189
+ left: var(--spacing-4);
7136
7190
  }
7137
7191
 
7138
- /* Visual indicator (circle) */
7139
- .muka-radio__indicator {
7140
- display: flex;
7141
- align-items: center;
7142
- justify-content: center;
7143
- width: var(--radio-size-default);
7144
- height: var(--radio-size-default);
7145
- border-radius: var(--border-radius-full);
7146
- background-color: var(--radio-color-default-background);
7147
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7148
- transition: all 0.15s ease;
7149
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7150
- }
7151
-
7152
- /* Size variants */
7153
- .muka-radio--sm .muka-radio__indicator {
7154
- width: var(--radio-size-sm);
7155
- height: var(--radio-size-sm);
7156
- }
7157
-
7158
- .muka-radio--lg .muka-radio__indicator {
7159
- width: var(--radio-size-lg);
7160
- height: var(--radio-size-lg);
7192
+ /* Adjust corner position when selected (border is thicker) */
7193
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7194
+ top: calc(var(--spacing-4) - 1px);
7195
+ left: calc(var(--spacing-4) - 1px);
7161
7196
  }
7162
7197
 
7163
- /* Inner dot (shown when checked) */
7164
- .muka-radio__dot {
7165
- width: var(--radio-dot-size-default);
7166
- height: var(--radio-dot-size-default);
7167
- border-radius: var(--border-radius-full);
7168
- background-color: var(--radio-color-default-dot);
7169
- transform: scale(0);
7170
- transition: transform 0.15s ease;
7198
+ /* Icon */
7199
+ .muka-radio-tile__icon {
7200
+ display: flex;
7201
+ align-items: center;
7202
+ justify-content: center;
7203
+ flex-shrink: 0;
7204
+ width: var(--icon-size-default);
7205
+ height: var(--icon-size-default);
7206
+ color: var(--color-text-default-default);
7171
7207
  }
7172
7208
 
7173
- .muka-radio--sm .muka-radio__dot {
7174
- width: var(--radio-dot-size-sm);
7175
- height: var(--radio-dot-size-sm);
7209
+ .muka-radio-tile__icon svg {
7210
+ width: 100%;
7211
+ height: 100%;
7176
7212
  }
7177
7213
 
7178
- .muka-radio--lg .muka-radio__dot {
7179
- width: var(--radio-dot-size-lg);
7180
- height: var(--radio-dot-size-lg);
7214
+ /* Image */
7215
+ .muka-radio-tile__image {
7216
+ flex-shrink: 0;
7217
+ overflow: hidden;
7218
+ border-radius: var(--border-radius-sm);
7181
7219
  }
7182
7220
 
7183
- /* Hover state - removed per design */
7184
-
7185
- /* Focus state */
7186
- .muka-radio__input:focus-visible + .muka-radio__indicator {
7187
- outline: 2px solid var(--color-border-focus);
7188
- outline-offset: 2px;
7221
+ .muka-radio-tile__image img {
7222
+ display: block;
7223
+ width: 100%;
7224
+ height: 100%;
7225
+ object-fit: cover;
7189
7226
  }
7190
7227
 
7191
- /* Checked state */
7192
- .muka-radio__input:checked + .muka-radio__indicator {
7193
- background-color: var(--radio-color-checked-background);
7194
- border-width: var(--border-width-bold);
7195
- border-color: var(--radio-color-checked-border);
7196
- box-shadow: none;
7228
+ /* Horizontal image sizing */
7229
+ .muka-radio-tile__image--horizontal {
7230
+ width: 40px;
7231
+ height: 40px;
7197
7232
  }
7198
7233
 
7199
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7200
- background-color: var(--radio-color-checked-dot);
7201
- transform: scale(1);
7234
+ /* Vertical image sizing */
7235
+ .muka-radio-tile--vertical .muka-radio-tile__image {
7236
+ width: 100%;
7237
+ aspect-ratio: 4/3;
7202
7238
  }
7203
7239
 
7204
- /* Disabled state */
7205
- .muka-radio--disabled .muka-radio__indicator {
7206
- background-color: var(--radio-color-disabled-background);
7207
- border-color: var(--radio-color-disabled-border);
7208
- box-shadow: none;
7240
+ /* Content container */
7241
+ .muka-radio-tile__content {
7242
+ display: flex;
7243
+ flex-direction: column;
7244
+ flex: 1;
7245
+ min-width: 0;
7246
+ gap: var(--spacing-1);
7209
7247
  }
7210
7248
 
7211
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7212
- background-color: var(--radio-color-disabled-dot);
7249
+ /* Label */
7250
+ .muka-radio-tile__label {
7251
+ font-family: var(--text-body-lg-regular-fontFamily);
7252
+ font-weight: var(--text-body-lg-regular-fontWeight);
7253
+ font-size: var(--text-body-lg-regular-fontSize);
7254
+ line-height: var(--text-body-lg-regular-lineHeight);
7255
+ color: var(--color-text-default-default);
7213
7256
  }
7214
7257
 
7215
- /* Label text */
7216
- .muka-radio__label {
7217
- font-family: var(--text-label-lg-regular-fontFamily);
7218
- font-weight: var(--text-label-lg-regular-fontWeight);
7219
- font-size: var(--text-label-lg-regular-fontSize);
7220
- line-height: var(--text-label-lg-regular-lineHeight);
7221
- color: var(--color-text-default-default);
7258
+ .muka-radio-tile__label--bold {
7259
+ font-family: var(--text-label-lg-semibold-fontFamily);
7260
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7261
+ font-size: var(--text-label-lg-semibold-fontSize);
7262
+ line-height: var(--text-label-lg-semibold-lineHeight);
7222
7263
  }
7223
7264
 
7224
- .muka-radio--sm .muka-radio__label {
7225
- font-family: var(--text-label-md-regular-fontFamily);
7226
- font-weight: var(--text-label-md-regular-fontWeight);
7227
- font-size: var(--text-label-md-regular-fontSize);
7228
- line-height: var(--text-label-md-regular-lineHeight);
7265
+ .muka-radio-tile__label--center {
7266
+ text-align: center;
7229
7267
  }
7230
7268
 
7231
- .muka-radio--lg .muka-radio__label {
7232
- font-family: var(--text-label-xl-regular-fontFamily);
7233
- font-weight: var(--text-label-xl-regular-fontWeight);
7234
- font-size: var(--text-label-xl-regular-fontSize);
7235
- line-height: var(--text-label-xl-regular-lineHeight);
7269
+ /* Caption */
7270
+ .muka-radio-tile__caption {
7271
+ font-family: var(--text-body-base-regular-fontFamily);
7272
+ font-weight: var(--text-body-base-regular-fontWeight);
7273
+ font-size: var(--text-body-base-regular-fontSize);
7274
+ line-height: var(--text-body-base-regular-lineHeight);
7275
+ color: var(--color-text-subtle-default);
7236
7276
  }
7237
7277
 
7238
- .muka-radio--disabled .muka-radio__label {
7278
+ /* Disabled states */
7279
+ .muka-radio-tile--disabled .muka-radio-tile__label,
7280
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
7239
7281
  color: var(--color-text-subtle-default);
7240
7282
  }
7241
7283
 
@@ -7851,145 +7893,146 @@ button.muka-progress-tracker__tab:focus-visible {
7851
7893
  }
7852
7894
 
7853
7895
 
7854
- /* RadioTile */
7855
- /* RadioTile Component Styles - Using Muka Design Tokens */
7896
+ /* Radio */
7897
+ /* Radio Component Styles - Using Muka Design Tokens */
7856
7898
 
7857
- /* Base tile styles - horizontal */
7858
- .muka-radio-tile {
7859
- display: flex;
7899
+ /* Wrapper - clickable label container */
7900
+ .muka-radio {
7901
+ display: inline-flex;
7860
7902
  align-items: center;
7861
7903
  gap: var(--spacing-4);
7862
- padding: var(--spacing-4);
7863
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7864
- border-radius: var(--input-field-radius-lg);
7865
- background-color: var(--color-surface-level3);
7866
7904
  cursor: pointer;
7867
- transition: border-color 0.15s ease, border-width 0.15s ease;
7868
- overflow: hidden;
7869
- box-sizing: border-box;
7905
+ user-select: none;
7870
7906
  }
7871
7907
 
7872
- .muka-radio-tile--disabled {
7908
+ .muka-radio--disabled {
7873
7909
  cursor: not-allowed;
7874
7910
  opacity: 0.6;
7875
7911
  }
7876
7912
 
7877
- /* Selected state */
7878
- .muka-radio-tile[data-checked] {
7879
- border-width: var(--border-width-bold);
7880
- border-color: var(--color-action-default);
7881
- }
7882
-
7883
- /* Vertical layout */
7884
- .muka-radio-tile--vertical {
7885
- flex-direction: column;
7886
- align-items: center;
7887
- gap: var(--spacing-2);
7913
+ /* Control container */
7914
+ .muka-radio__control {
7888
7915
  position: relative;
7889
- width: 160px;
7890
- }
7891
-
7892
- /* Radio container */
7893
- .muka-radio-tile__radio {
7916
+ display: inline-flex;
7917
+ align-items: center;
7918
+ justify-content: center;
7894
7919
  flex-shrink: 0;
7895
7920
  }
7896
7921
 
7897
- /* Corner-positioned radio for vertical */
7898
- .muka-radio-tile__radio--corner {
7922
+ /* Hidden native input */
7923
+ .muka-radio__input {
7899
7924
  position: absolute;
7900
- top: var(--spacing-4);
7901
- left: var(--spacing-4);
7902
- }
7903
-
7904
- /* Adjust corner position when selected (border is thicker) */
7905
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7906
- top: calc(var(--spacing-4) - 1px);
7907
- left: calc(var(--spacing-4) - 1px);
7925
+ width: 1px;
7926
+ height: 1px;
7927
+ padding: 0;
7928
+ margin: -1px;
7929
+ overflow: hidden;
7930
+ clip: rect(0, 0, 0, 0);
7931
+ white-space: nowrap;
7932
+ border: 0;
7908
7933
  }
7909
7934
 
7910
- /* Icon */
7911
- .muka-radio-tile__icon {
7935
+ /* Visual indicator (circle) */
7936
+ .muka-radio__indicator {
7912
7937
  display: flex;
7913
7938
  align-items: center;
7914
7939
  justify-content: center;
7915
- flex-shrink: 0;
7916
- width: var(--icon-size-default);
7917
- height: var(--icon-size-default);
7918
- color: var(--color-text-default-default);
7940
+ width: var(--radio-size-default);
7941
+ height: var(--radio-size-default);
7942
+ border-radius: var(--border-radius-full);
7943
+ background-color: var(--radio-color-default-background);
7944
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7945
+ transition: all 0.15s ease;
7946
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7919
7947
  }
7920
7948
 
7921
- .muka-radio-tile__icon svg {
7922
- width: 100%;
7923
- height: 100%;
7949
+ /* Size variants */
7950
+ .muka-radio--sm .muka-radio__indicator {
7951
+ width: var(--radio-size-sm);
7952
+ height: var(--radio-size-sm);
7924
7953
  }
7925
7954
 
7926
- /* Image */
7927
- .muka-radio-tile__image {
7928
- flex-shrink: 0;
7929
- overflow: hidden;
7930
- border-radius: var(--border-radius-sm);
7955
+ .muka-radio--lg .muka-radio__indicator {
7956
+ width: var(--radio-size-lg);
7957
+ height: var(--radio-size-lg);
7931
7958
  }
7932
7959
 
7933
- .muka-radio-tile__image img {
7934
- display: block;
7935
- width: 100%;
7936
- height: 100%;
7937
- object-fit: cover;
7960
+ /* Inner dot (shown when checked) */
7961
+ .muka-radio__dot {
7962
+ width: var(--radio-dot-size-default);
7963
+ height: var(--radio-dot-size-default);
7964
+ border-radius: var(--border-radius-full);
7965
+ background-color: var(--radio-color-default-dot);
7966
+ transform: scale(0);
7967
+ transition: transform 0.15s ease;
7938
7968
  }
7939
7969
 
7940
- /* Horizontal image sizing */
7941
- .muka-radio-tile__image--horizontal {
7942
- width: 40px;
7943
- height: 40px;
7970
+ .muka-radio--sm .muka-radio__dot {
7971
+ width: var(--radio-dot-size-sm);
7972
+ height: var(--radio-dot-size-sm);
7944
7973
  }
7945
7974
 
7946
- /* Vertical image sizing */
7947
- .muka-radio-tile--vertical .muka-radio-tile__image {
7948
- width: 100%;
7949
- aspect-ratio: 4/3;
7975
+ .muka-radio--lg .muka-radio__dot {
7976
+ width: var(--radio-dot-size-lg);
7977
+ height: var(--radio-dot-size-lg);
7950
7978
  }
7951
7979
 
7952
- /* Content container */
7953
- .muka-radio-tile__content {
7954
- display: flex;
7955
- flex-direction: column;
7956
- flex: 1;
7957
- min-width: 0;
7958
- gap: var(--spacing-1);
7980
+ /* Hover state - removed per design */
7981
+
7982
+ /* Focus state */
7983
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7984
+ outline: 2px solid var(--color-border-focus);
7985
+ outline-offset: 2px;
7959
7986
  }
7960
7987
 
7961
- /* Label */
7962
- .muka-radio-tile__label {
7963
- font-family: var(--text-body-lg-regular-fontFamily);
7964
- font-weight: var(--text-body-lg-regular-fontWeight);
7965
- font-size: var(--text-body-lg-regular-fontSize);
7966
- line-height: var(--text-body-lg-regular-lineHeight);
7967
- color: var(--color-text-default-default);
7988
+ /* Checked state */
7989
+ .muka-radio__input:checked + .muka-radio__indicator {
7990
+ background-color: var(--radio-color-checked-background);
7991
+ border-width: var(--border-width-bold);
7992
+ border-color: var(--radio-color-checked-border);
7993
+ box-shadow: none;
7968
7994
  }
7969
7995
 
7970
- .muka-radio-tile__label--bold {
7971
- font-family: var(--text-label-lg-semibold-fontFamily);
7972
- font-weight: var(--text-label-lg-semibold-fontWeight);
7973
- font-size: var(--text-label-lg-semibold-fontSize);
7974
- line-height: var(--text-label-lg-semibold-lineHeight);
7996
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7997
+ background-color: var(--radio-color-checked-dot);
7998
+ transform: scale(1);
7975
7999
  }
7976
8000
 
7977
- .muka-radio-tile__label--center {
7978
- text-align: center;
8001
+ /* Disabled state */
8002
+ .muka-radio--disabled .muka-radio__indicator {
8003
+ background-color: var(--radio-color-disabled-background);
8004
+ border-color: var(--radio-color-disabled-border);
8005
+ box-shadow: none;
7979
8006
  }
7980
8007
 
7981
- /* Caption */
7982
- .muka-radio-tile__caption {
7983
- font-family: var(--text-body-base-regular-fontFamily);
7984
- font-weight: var(--text-body-base-regular-fontWeight);
7985
- font-size: var(--text-body-base-regular-fontSize);
7986
- line-height: var(--text-body-base-regular-lineHeight);
7987
- color: var(--color-text-subtle-default);
8008
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
8009
+ background-color: var(--radio-color-disabled-dot);
7988
8010
  }
7989
8011
 
7990
- /* Disabled states */
7991
- .muka-radio-tile--disabled .muka-radio-tile__label,
7992
- .muka-radio-tile--disabled .muka-radio-tile__icon {
8012
+ /* Label text */
8013
+ .muka-radio__label {
8014
+ font-family: var(--text-label-lg-regular-fontFamily);
8015
+ font-weight: var(--text-label-lg-regular-fontWeight);
8016
+ font-size: var(--text-label-lg-regular-fontSize);
8017
+ line-height: var(--text-label-lg-regular-lineHeight);
8018
+ color: var(--color-text-default-default);
8019
+ }
8020
+
8021
+ .muka-radio--sm .muka-radio__label {
8022
+ font-family: var(--text-label-md-regular-fontFamily);
8023
+ font-weight: var(--text-label-md-regular-fontWeight);
8024
+ font-size: var(--text-label-md-regular-fontSize);
8025
+ line-height: var(--text-label-md-regular-lineHeight);
8026
+ }
8027
+
8028
+ .muka-radio--lg .muka-radio__label {
8029
+ font-family: var(--text-label-xl-regular-fontFamily);
8030
+ font-weight: var(--text-label-xl-regular-fontWeight);
8031
+ font-size: var(--text-label-xl-regular-fontSize);
8032
+ line-height: var(--text-label-xl-regular-lineHeight);
8033
+ }
8034
+
8035
+ .muka-radio--disabled .muka-radio__label {
7993
8036
  color: var(--color-text-subtle-default);
7994
8037
  }
7995
8038
 
@@ -8538,37 +8581,6 @@ button.muka-progress-tracker__tab:focus-visible {
8538
8581
  }
8539
8582
 
8540
8583
 
8541
- /* Popover */
8542
- /* Popover Component Styles */
8543
-
8544
- .muka-popover__content {
8545
- background-color: var(--color-surface-level3);
8546
- border: var(--border-width-regular) solid var(--color-border-default);
8547
- border-radius: var(--radius-md);
8548
- padding: var(--spacing-4);
8549
- box-shadow: var(--shadow-level3);
8550
- max-width: 20rem;
8551
- z-index: 50;
8552
- animation: muka-popover-fade-in 150ms ease;
8553
- }
8554
-
8555
- @keyframes muka-popover-fade-in {
8556
- from {
8557
- opacity: 0;
8558
- transform: scale(0.96);
8559
- }
8560
- to {
8561
- opacity: 1;
8562
- transform: scale(1);
8563
- }
8564
- }
8565
-
8566
- /* Arrow */
8567
- .muka-popover__arrow {
8568
- fill: var(--color-surface-level3);
8569
- }
8570
-
8571
-
8572
8584
  /* PriceTag */
8573
8585
  /* PriceTag Component Styles - Using Muka Design Tokens */
8574
8586
 
@@ -8666,6 +8678,37 @@ button.muka-progress-tracker__tab:focus-visible {
8666
8678
  }
8667
8679
 
8668
8680
 
8681
+ /* Popover */
8682
+ /* Popover Component Styles */
8683
+
8684
+ .muka-popover__content {
8685
+ background-color: var(--color-surface-level3);
8686
+ border: var(--border-width-regular) solid var(--color-border-default);
8687
+ border-radius: var(--radius-md);
8688
+ padding: var(--spacing-4);
8689
+ box-shadow: var(--shadow-level3);
8690
+ max-width: 20rem;
8691
+ z-index: 50;
8692
+ animation: muka-popover-fade-in 150ms ease;
8693
+ }
8694
+
8695
+ @keyframes muka-popover-fade-in {
8696
+ from {
8697
+ opacity: 0;
8698
+ transform: scale(0.96);
8699
+ }
8700
+ to {
8701
+ opacity: 1;
8702
+ transform: scale(1);
8703
+ }
8704
+ }
8705
+
8706
+ /* Arrow */
8707
+ .muka-popover__arrow {
8708
+ fill: var(--color-surface-level3);
8709
+ }
8710
+
8711
+
8669
8712
  /* PlanningGantt */
8670
8713
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8671
8714
 
@@ -9063,6 +9106,103 @@ button.muka-progress-tracker__tab:focus-visible {
9063
9106
  }
9064
9107
 
9065
9108
 
9109
+ /* PieChart */
9110
+ /* PieChart Component Styles - Using Muka Design Tokens */
9111
+
9112
+ .muka-piechart {
9113
+ display: inline-flex;
9114
+ align-items: center;
9115
+ gap: var(--spacing-4);
9116
+ }
9117
+
9118
+ /* Legend layout */
9119
+ .muka-piechart--legend-right {
9120
+ flex-direction: row;
9121
+ }
9122
+
9123
+ .muka-piechart--legend-bottom {
9124
+ flex-direction: column;
9125
+ }
9126
+
9127
+ /* ========================================
9128
+ CHART
9129
+ ======================================== */
9130
+
9131
+ .muka-piechart__chart {
9132
+ position: relative;
9133
+ flex-shrink: 0;
9134
+ }
9135
+
9136
+ .muka-piechart__chart--sm {
9137
+ width: var(--piechart-size-diameter-sm);
9138
+ height: var(--piechart-size-diameter-sm);
9139
+ }
9140
+
9141
+ .muka-piechart__chart--md {
9142
+ width: var(--piechart-size-diameter-md);
9143
+ height: var(--piechart-size-diameter-md);
9144
+ }
9145
+
9146
+ .muka-piechart__chart--lg {
9147
+ width: var(--piechart-size-diameter-lg);
9148
+ height: var(--piechart-size-diameter-lg);
9149
+ }
9150
+
9151
+ .muka-piechart__svg {
9152
+ display: block;
9153
+ width: 100%;
9154
+ height: 100%;
9155
+ /* Start slices at 12 o'clock instead of 3 o'clock */
9156
+ transform: rotate(-90deg);
9157
+ }
9158
+
9159
+ .muka-piechart__track {
9160
+ fill: none;
9161
+ stroke: var(--piechart-color-track);
9162
+ }
9163
+
9164
+ .muka-piechart__segment {
9165
+ fill: none;
9166
+ }
9167
+
9168
+ /* ========================================
9169
+ LEGEND
9170
+ ======================================== */
9171
+
9172
+ .muka-piechart__legend {
9173
+ list-style: none;
9174
+ margin: 0;
9175
+ padding: 0;
9176
+ display: flex;
9177
+ flex-direction: column;
9178
+ gap: var(--spacing-1);
9179
+ }
9180
+
9181
+ .muka-piechart__legend-item {
9182
+ display: flex;
9183
+ align-items: center;
9184
+ gap: var(--spacing-2);
9185
+ font-family: var(--text-body-sm-regular-fontFamily);
9186
+ font-weight: var(--text-body-sm-regular-fontWeight);
9187
+ font-size: var(--text-body-sm-regular-fontSize);
9188
+ line-height: var(--text-body-sm-regular-lineHeight);
9189
+ color: var(--color-text-default-default);
9190
+ }
9191
+
9192
+ .muka-piechart__swatch {
9193
+ flex-shrink: 0;
9194
+ width: var(--spacing-3);
9195
+ height: var(--spacing-3);
9196
+ border-radius: var(--border-radius-sm);
9197
+ }
9198
+
9199
+ .muka-piechart__legend-value {
9200
+ margin-left: auto;
9201
+ padding-left: var(--spacing-2);
9202
+ color: var(--color-text-subtle-default);
9203
+ }
9204
+
9205
+
9066
9206
  /* PhotoUploader */
9067
9207
  /* PhotoUploader Component Styles - Using Muka Design Tokens */
9068
9208
 
@@ -9230,113 +9370,16 @@ button.muka-progress-tracker__tab:focus-visible {
9230
9370
  }
9231
9371
 
9232
9372
 
9233
- /* PieChart */
9234
- /* PieChart Component Styles - Using Muka Design Tokens */
9373
+ /* Pagination */
9374
+ /* Pagination Component Styles */
9235
9375
 
9236
- .muka-piechart {
9237
- display: inline-flex;
9376
+ .muka-pagination__list {
9377
+ display: flex;
9238
9378
  align-items: center;
9239
- gap: var(--spacing-4);
9240
- }
9241
-
9242
- /* Legend layout */
9243
- .muka-piechart--legend-right {
9244
- flex-direction: row;
9245
- }
9246
-
9247
- .muka-piechart--legend-bottom {
9248
- flex-direction: column;
9249
- }
9250
-
9251
- /* ========================================
9252
- CHART
9253
- ======================================== */
9254
-
9255
- .muka-piechart__chart {
9256
- position: relative;
9257
- flex-shrink: 0;
9258
- }
9259
-
9260
- .muka-piechart__chart--sm {
9261
- width: var(--piechart-size-diameter-sm);
9262
- height: var(--piechart-size-diameter-sm);
9263
- }
9264
-
9265
- .muka-piechart__chart--md {
9266
- width: var(--piechart-size-diameter-md);
9267
- height: var(--piechart-size-diameter-md);
9268
- }
9269
-
9270
- .muka-piechart__chart--lg {
9271
- width: var(--piechart-size-diameter-lg);
9272
- height: var(--piechart-size-diameter-lg);
9273
- }
9274
-
9275
- .muka-piechart__svg {
9276
- display: block;
9277
- width: 100%;
9278
- height: 100%;
9279
- /* Start slices at 12 o'clock instead of 3 o'clock */
9280
- transform: rotate(-90deg);
9281
- }
9282
-
9283
- .muka-piechart__track {
9284
- fill: none;
9285
- stroke: var(--piechart-color-track);
9286
- }
9287
-
9288
- .muka-piechart__segment {
9289
- fill: none;
9290
- }
9291
-
9292
- /* ========================================
9293
- LEGEND
9294
- ======================================== */
9295
-
9296
- .muka-piechart__legend {
9297
- list-style: none;
9298
- margin: 0;
9299
- padding: 0;
9300
- display: flex;
9301
- flex-direction: column;
9302
- gap: var(--spacing-1);
9303
- }
9304
-
9305
- .muka-piechart__legend-item {
9306
- display: flex;
9307
- align-items: center;
9308
- gap: var(--spacing-2);
9309
- font-family: var(--text-body-sm-regular-fontFamily);
9310
- font-weight: var(--text-body-sm-regular-fontWeight);
9311
- font-size: var(--text-body-sm-regular-fontSize);
9312
- line-height: var(--text-body-sm-regular-lineHeight);
9313
- color: var(--color-text-default-default);
9314
- }
9315
-
9316
- .muka-piechart__swatch {
9317
- flex-shrink: 0;
9318
- width: var(--spacing-3);
9319
- height: var(--spacing-3);
9320
- border-radius: var(--border-radius-sm);
9321
- }
9322
-
9323
- .muka-piechart__legend-value {
9324
- margin-left: auto;
9325
- padding-left: var(--spacing-2);
9326
- color: var(--color-text-subtle-default);
9327
- }
9328
-
9329
-
9330
- /* Pagination */
9331
- /* Pagination Component Styles */
9332
-
9333
- .muka-pagination__list {
9334
- display: flex;
9335
- align-items: center;
9336
- gap: var(--spacing-1);
9337
- list-style: none;
9338
- margin: 0;
9339
- padding: 0;
9379
+ gap: var(--spacing-1);
9380
+ list-style: none;
9381
+ margin: 0;
9382
+ padding: 0;
9340
9383
  }
9341
9384
 
9342
9385
  /* Base button */
@@ -9509,34 +9552,6 @@ button.muka-progress-tracker__tab:focus-visible {
9509
9552
  }
9510
9553
 
9511
9554
 
9512
- /* NavigationTransition */
9513
- /* NavigationTransition Component Styles */
9514
-
9515
- /* ─── Wrapper ────────────────────────────────────────── */
9516
-
9517
- .muka-nav-transition {
9518
- position: relative;
9519
- height: 100vh;
9520
- overflow: hidden;
9521
- }
9522
-
9523
- /* Disable interaction during animation */
9524
- .muka-nav-transition--active {
9525
- pointer-events: none;
9526
- }
9527
-
9528
- /* ─── View slots ─────────────────────────────────────── */
9529
-
9530
- .muka-nav-transition--active .muka-nav-transition__view {
9531
- position: absolute;
9532
- inset: 0;
9533
- }
9534
-
9535
- /* Z-index layering */
9536
- .muka-nav-transition__view--bottom { z-index: 1; }
9537
- .muka-nav-transition__view--top { z-index: 2; }
9538
-
9539
-
9540
9555
  /* NumberInput */
9541
9556
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9542
9557
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9567,6 +9582,34 @@ button.muka-progress-tracker__tab:focus-visible {
9567
9582
  }
9568
9583
 
9569
9584
 
9585
+ /* NavigationTransition */
9586
+ /* NavigationTransition Component Styles */
9587
+
9588
+ /* ─── Wrapper ────────────────────────────────────────── */
9589
+
9590
+ .muka-nav-transition {
9591
+ position: relative;
9592
+ height: 100vh;
9593
+ overflow: hidden;
9594
+ }
9595
+
9596
+ /* Disable interaction during animation */
9597
+ .muka-nav-transition--active {
9598
+ pointer-events: none;
9599
+ }
9600
+
9601
+ /* ─── View slots ─────────────────────────────────────── */
9602
+
9603
+ .muka-nav-transition--active .muka-nav-transition__view {
9604
+ position: absolute;
9605
+ inset: 0;
9606
+ }
9607
+
9608
+ /* Z-index layering */
9609
+ .muka-nav-transition__view--bottom { z-index: 1; }
9610
+ .muka-nav-transition__view--top { z-index: 2; }
9611
+
9612
+
9570
9613
  /* Menu */
9571
9614
  /* Menu Component Styles */
9572
9615
 
@@ -10837,257 +10880,79 @@ li.muka-listitem {
10837
10880
  }
10838
10881
 
10839
10882
 
10840
- /* InputCounter */
10841
- /* InputCounter — numeric field + joined decrement/increment buttons.
10842
- Label, helper and error text reuse Input.css (../Input/Input.css).
10843
- Field and button group share one radius per size:
10844
- sm/md → input.field.radius.md, lg → input.field.radius.lg. */
10845
-
10846
- .muka-inputcounter {
10847
- --muka-inputcounter-radius: var(--input-field-radius-md);
10848
- --muka-inputcounter-height: var(--input-field-height-default);
10849
- --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
10850
- --muka-inputcounter-min: var(--size-3xl);
10883
+ /* Input */
10884
+ /* Input Component Styles - Using Muka Design Tokens */
10851
10885
 
10886
+ /* Wrapper — label, field, helper spacing per Figma */
10887
+ .muka-input {
10852
10888
  display: inline-flex;
10853
10889
  flex-direction: column;
10854
10890
  gap: var(--spacing-2);
10855
10891
  }
10856
10892
 
10857
- .muka-inputcounter--sm {
10858
- --muka-inputcounter-height: var(--input-field-height-sm);
10859
- --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
10860
- --muka-inputcounter-min: var(--size-2xl);
10861
- }
10862
-
10863
- .muka-inputcounter--lg {
10864
- --muka-inputcounter-radius: var(--input-field-radius-lg);
10865
- --muka-inputcounter-height: var(--input-field-height-lg);
10893
+ .muka-input--full-width {
10894
+ width: 100%;
10866
10895
  }
10867
10896
 
10868
- /* Label row — label, info tooltip trigger, optional hint */
10869
- .muka-inputcounter__label-row {
10870
- display: flex;
10871
- align-items: center;
10872
- gap: var(--spacing-2);
10873
- min-height: var(--size-xl);
10897
+ /* Label */
10898
+ .muka-input__label {
10899
+ color: var(--color-text-default-default);
10900
+ cursor: pointer;
10874
10901
  }
10875
10902
 
10876
- .muka-inputcounter__info {
10877
- display: inline-flex;
10878
- align-items: center;
10879
- justify-content: center;
10880
- padding: 0;
10881
- border: none;
10882
- border-radius: 50%;
10883
- background: transparent;
10884
- cursor: pointer;
10903
+ .muka-input__label--sm {
10904
+ font-family: var(--text-label-sm-semibold-fontFamily);
10905
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10906
+ font-size: var(--text-label-sm-semibold-fontSize);
10907
+ line-height: var(--text-label-sm-semibold-lineHeight);
10885
10908
  }
10886
10909
 
10887
- .muka-inputcounter__info .muka-icon {
10888
- color: var(--color-action-default);
10910
+ .muka-input__label--md {
10911
+ font-family: var(--text-label-md-semibold-fontFamily);
10912
+ font-weight: var(--text-label-md-semibold-fontWeight);
10913
+ font-size: var(--text-label-md-semibold-fontSize);
10914
+ line-height: var(--text-label-md-semibold-lineHeight);
10889
10915
  }
10890
10916
 
10891
- .muka-inputcounter__info:focus-visible {
10892
- outline: 2px solid var(--color-border-focus);
10893
- outline-offset: 2px;
10917
+ .muka-input__label--lg {
10918
+ font-family: var(--text-label-lg-semibold-fontFamily);
10919
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10920
+ font-size: var(--text-label-lg-semibold-fontSize);
10921
+ line-height: var(--text-label-lg-semibold-lineHeight);
10894
10922
  }
10895
10923
 
10896
- .muka-inputcounter__optional {
10897
- font-family: var(--text-label-sm-regular-fontFamily);
10898
- font-weight: var(--text-label-sm-regular-fontWeight);
10899
- font-size: var(--text-label-sm-regular-fontSize);
10900
- line-height: var(--text-label-sm-regular-lineHeight);
10901
- color: var(--color-text-subtle-default);
10924
+ .muka-input__required {
10925
+ color: var(--color-state-error-default);
10902
10926
  }
10903
10927
 
10904
- /* Field + button group */
10905
- .muka-inputcounter__row {
10906
- display: flex;
10907
- align-items: center;
10908
- gap: var(--spacing-3);
10928
+ .muka-input__label--sm + .muka-input__field--disabled,
10929
+ .muka-input__label--md + .muka-input__field--disabled,
10930
+ .muka-input__label--lg + .muka-input__field--disabled {
10931
+ cursor: not-allowed;
10909
10932
  }
10910
10933
 
10911
- /* Field — grows with the value (in ch), never narrower than the Figma width.
10912
- Padding sits on the native input so the 2px focus/error border doesn't
10913
- need compensating: content is centred in a fixed box. */
10914
- .muka-inputcounter__field {
10915
- position: relative;
10934
+ /* Field container — default/hover: 1px border. Radius per Figma (812-10825): input field tokens. */
10935
+ .muka-input__field {
10916
10936
  display: flex;
10917
10937
  align-items: center;
10918
- box-sizing: border-box;
10919
- height: var(--muka-inputcounter-height);
10920
- width: calc(
10921
- max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
10922
- 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
10923
- );
10938
+ gap: var(--spacing-2);
10924
10939
  background-color: var(--input-field-color-default-background);
10925
10940
  border: var(--border-width-regular) solid var(--input-field-color-default-border);
10926
- border-radius: var(--muka-inputcounter-radius);
10941
+ border-radius: var(--input-field-radius-md);
10942
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
10927
10943
  transition: border-color 0.2s ease, background-color 0.2s ease;
10944
+ cursor: text;
10945
+ position: relative;
10946
+ box-sizing: border-box;
10928
10947
  }
10929
10948
 
10930
- .muka-inputcounter__field::after {
10949
+ /* Subtle inset shadow — single line so it doesn’t read as a second border */
10950
+ .muka-input__field::after {
10931
10951
  content: '';
10932
10952
  position: absolute;
10933
10953
  inset: 0;
10934
10954
  border-radius: inherit;
10935
- box-shadow: var(--shadow-sunken);
10936
- pointer-events: none;
10937
- }
10938
-
10939
- .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
10940
- border-width: var(--border-width-bold);
10941
- border-color: var(--input-field-color-focus-border);
10942
- background-color: var(--input-field-color-focus-background);
10943
- }
10944
-
10945
- .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
10946
- border-width: var(--border-width-bold);
10947
- border-color: var(--input-field-color-error-border);
10948
- background-color: var(--input-field-color-error-background);
10949
- }
10950
-
10951
- .muka-inputcounter__field--disabled {
10952
- background-color: var(--input-field-color-disabled-background);
10953
- border-color: var(--input-field-color-disabled-border);
10954
- }
10955
-
10956
- .muka-inputcounter__field--disabled::after {
10957
- display: none;
10958
- }
10959
-
10960
- .muka-inputcounter__native {
10961
- width: 100%;
10962
- min-width: 0;
10963
- height: 100%;
10964
- box-sizing: border-box;
10965
- padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
10966
- border: none;
10967
- outline: none;
10968
- background: transparent;
10969
- text-align: center;
10970
- font-variant-numeric: tabular-nums;
10971
- color: var(--input-field-color-default-foreground);
10972
- font-family: var(--text-input-md-fontFamily);
10973
- font-weight: var(--text-input-md-fontWeight);
10974
- font-size: var(--text-input-md-fontSize);
10975
- line-height: var(--text-input-md-lineHeight);
10976
- }
10977
-
10978
- .muka-inputcounter--sm .muka-inputcounter__native {
10979
- font-family: var(--text-input-sm-fontFamily);
10980
- font-weight: var(--text-input-sm-fontWeight);
10981
- font-size: var(--text-input-sm-fontSize);
10982
- line-height: var(--text-input-sm-lineHeight);
10983
- }
10984
-
10985
- .muka-inputcounter__field--disabled .muka-inputcounter__native {
10986
- color: var(--input-field-color-disabled-foreground);
10987
- cursor: not-allowed;
10988
- }
10989
-
10990
- /* Button group — secondary icon-only Buttons joined by a divider.
10991
- Only the outer corners are rounded. */
10992
- .muka-inputcounter__group {
10993
- display: inline-flex;
10994
- align-items: stretch;
10995
- }
10996
-
10997
- .muka-inputcounter__group .muka-button {
10998
- border-radius: 0;
10999
- }
11000
-
11001
- .muka-inputcounter__group .muka-button:first-child {
11002
- border-start-start-radius: var(--muka-inputcounter-radius);
11003
- border-end-start-radius: var(--muka-inputcounter-radius);
11004
- }
11005
-
11006
- .muka-inputcounter__group .muka-button:last-child {
11007
- border-start-end-radius: var(--muka-inputcounter-radius);
11008
- border-end-end-radius: var(--muka-inputcounter-radius);
11009
- }
11010
-
11011
- .muka-inputcounter__divider {
11012
- flex: none;
11013
- width: var(--border-width-regular);
11014
- background-color: var(--color-border-default);
11015
- }
11016
-
11017
-
11018
- /* Input */
11019
- /* Input Component Styles - Using Muka Design Tokens */
11020
-
11021
- /* Wrapper — label, field, helper spacing per Figma */
11022
- .muka-input {
11023
- display: inline-flex;
11024
- flex-direction: column;
11025
- gap: var(--spacing-2);
11026
- }
11027
-
11028
- .muka-input--full-width {
11029
- width: 100%;
11030
- }
11031
-
11032
- /* Label */
11033
- .muka-input__label {
11034
- color: var(--color-text-default-default);
11035
- cursor: pointer;
11036
- }
11037
-
11038
- .muka-input__label--sm {
11039
- font-family: var(--text-label-sm-semibold-fontFamily);
11040
- font-weight: var(--text-label-sm-semibold-fontWeight);
11041
- font-size: var(--text-label-sm-semibold-fontSize);
11042
- line-height: var(--text-label-sm-semibold-lineHeight);
11043
- }
11044
-
11045
- .muka-input__label--md {
11046
- font-family: var(--text-label-md-semibold-fontFamily);
11047
- font-weight: var(--text-label-md-semibold-fontWeight);
11048
- font-size: var(--text-label-md-semibold-fontSize);
11049
- line-height: var(--text-label-md-semibold-lineHeight);
11050
- }
11051
-
11052
- .muka-input__label--lg {
11053
- font-family: var(--text-label-lg-semibold-fontFamily);
11054
- font-weight: var(--text-label-lg-semibold-fontWeight);
11055
- font-size: var(--text-label-lg-semibold-fontSize);
11056
- line-height: var(--text-label-lg-semibold-lineHeight);
11057
- }
11058
-
11059
- .muka-input__required {
11060
- color: var(--color-state-error-default);
11061
- }
11062
-
11063
- .muka-input__label--sm + .muka-input__field--disabled,
11064
- .muka-input__label--md + .muka-input__field--disabled,
11065
- .muka-input__label--lg + .muka-input__field--disabled {
11066
- cursor: not-allowed;
11067
- }
11068
-
11069
- /* Field container — default/hover: 1px border. Radius per Figma (812-10825): input field tokens. */
11070
- .muka-input__field {
11071
- display: flex;
11072
- align-items: center;
11073
- gap: var(--spacing-2);
11074
- background-color: var(--input-field-color-default-background);
11075
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
11076
- border-radius: var(--input-field-radius-md);
11077
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
11078
- transition: border-color 0.2s ease, background-color 0.2s ease;
11079
- cursor: text;
11080
- position: relative;
11081
- box-sizing: border-box;
11082
- }
11083
-
11084
- /* Subtle inset shadow — single line so it doesn’t read as a second border */
11085
- .muka-input__field::after {
11086
- content: '';
11087
- position: absolute;
11088
- inset: 0;
11089
- border-radius: inherit;
11090
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
10955
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
11091
10956
  pointer-events: none;
11092
10957
  }
11093
10958
 
@@ -11350,86 +11215,264 @@ li.muka-listitem {
11350
11215
  }
11351
11216
 
11352
11217
 
11353
- /* Form */
11354
- .muka-form {
11355
- display: flex;
11356
- flex-direction: column;
11357
- width: 100%;
11358
- }
11218
+ /* InputCounter */
11219
+ /* InputCounter — numeric field + joined decrement/increment buttons.
11220
+ Label, helper and error text reuse Input.css (../Input/Input.css).
11221
+ Field and button group share one radius per size:
11222
+ sm/md → input.field.radius.md, lg → input.field.radius.lg. */
11359
11223
 
11360
- .muka-form--gap-sm {
11361
- gap: var(--size-sm);
11362
- }
11224
+ .muka-inputcounter {
11225
+ --muka-inputcounter-radius: var(--input-field-radius-md);
11226
+ --muka-inputcounter-height: var(--input-field-height-default);
11227
+ --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
11228
+ --muka-inputcounter-min: var(--size-3xl);
11363
11229
 
11364
- .muka-form--gap-md {
11365
- gap: var(--size-md);
11230
+ display: inline-flex;
11231
+ flex-direction: column;
11232
+ gap: var(--spacing-2);
11366
11233
  }
11367
11234
 
11368
- .muka-form--gap-lg {
11369
- gap: var(--size-lg);
11235
+ .muka-inputcounter--sm {
11236
+ --muka-inputcounter-height: var(--input-field-height-sm);
11237
+ --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
11238
+ --muka-inputcounter-min: var(--size-2xl);
11370
11239
  }
11371
11240
 
11241
+ .muka-inputcounter--lg {
11242
+ --muka-inputcounter-radius: var(--input-field-radius-lg);
11243
+ --muka-inputcounter-height: var(--input-field-height-lg);
11244
+ }
11372
11245
 
11373
- /* FileUpload */
11374
- /* FileUpload Component Styles */
11375
-
11376
- .muka-fileupload-wrapper {
11246
+ /* Label row — label, info tooltip trigger, optional hint */
11247
+ .muka-inputcounter__label-row {
11377
11248
  display: flex;
11378
- flex-direction: column;
11379
- gap: var(--spacing-3);
11380
- width: 100%;
11249
+ align-items: center;
11250
+ gap: var(--spacing-2);
11251
+ min-height: var(--size-xl);
11381
11252
  }
11382
11253
 
11383
- /* Dropzone */
11384
- .muka-fileupload {
11385
- display: flex;
11386
- flex-direction: column;
11254
+ .muka-inputcounter__info {
11255
+ display: inline-flex;
11387
11256
  align-items: center;
11388
11257
  justify-content: center;
11389
- gap: var(--fileupload-dropzone-gap);
11390
- padding: var(--fileupload-dropzone-padding-md);
11391
- background-color: var(--fileupload-dropzone-color-default-background);
11392
- border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11393
- border-radius: var(--fileupload-dropzone-radius);
11258
+ padding: 0;
11259
+ border: none;
11260
+ border-radius: 50%;
11261
+ background: transparent;
11394
11262
  cursor: pointer;
11395
- transition: background-color 0.2s ease, border-color 0.2s ease;
11396
- text-align: center;
11397
- min-height: 120px;
11398
- }
11399
-
11400
- .muka-fileupload:focus-visible {
11401
- outline: 2px solid var(--color-border-focus);
11402
- outline-offset: 2px;
11403
11263
  }
11404
11264
 
11405
- /* Size variants */
11406
- .muka-fileupload--sm {
11407
- padding: var(--fileupload-dropzone-padding-sm);
11408
- min-height: 80px;
11265
+ .muka-inputcounter__info .muka-icon {
11266
+ color: var(--color-action-default);
11409
11267
  }
11410
11268
 
11411
- .muka-fileupload--lg {
11412
- padding: var(--fileupload-dropzone-padding-lg);
11413
- min-height: 160px;
11269
+ .muka-inputcounter__info:focus-visible {
11270
+ outline: 2px solid var(--color-border-focus);
11271
+ outline-offset: 2px;
11414
11272
  }
11415
11273
 
11416
- /* Button variant */
11417
- .muka-fileupload--button {
11418
- flex-direction: row;
11419
- min-height: auto;
11420
- padding: var(--spacing-2) var(--spacing-3);
11421
- border-style: solid;
11422
- border-width: var(--border-width-regular);
11423
- border-radius: var(--border-radius-md);
11274
+ .muka-inputcounter__optional {
11275
+ font-family: var(--text-label-sm-regular-fontFamily);
11276
+ font-weight: var(--text-label-sm-regular-fontWeight);
11277
+ font-size: var(--text-label-sm-regular-fontSize);
11278
+ line-height: var(--text-label-sm-regular-lineHeight);
11279
+ color: var(--color-text-subtle-default);
11424
11280
  }
11425
11281
 
11426
- /* Hover state */
11427
- .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11428
- background-color: var(--fileupload-dropzone-color-hover-background);
11429
- border-color: var(--fileupload-dropzone-color-hover-border);
11282
+ /* Field + button group */
11283
+ .muka-inputcounter__row {
11284
+ display: flex;
11285
+ align-items: center;
11286
+ gap: var(--spacing-3);
11430
11287
  }
11431
11288
 
11432
- /* Active/drag state */
11289
+ /* Field — grows with the value (in ch), never narrower than the Figma width.
11290
+ Padding sits on the native input so the 2px focus/error border doesn't
11291
+ need compensating: content is centred in a fixed box. */
11292
+ .muka-inputcounter__field {
11293
+ position: relative;
11294
+ display: flex;
11295
+ align-items: center;
11296
+ box-sizing: border-box;
11297
+ height: var(--muka-inputcounter-height);
11298
+ width: calc(
11299
+ max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
11300
+ 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
11301
+ );
11302
+ background-color: var(--input-field-color-default-background);
11303
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
11304
+ border-radius: var(--muka-inputcounter-radius);
11305
+ transition: border-color 0.2s ease, background-color 0.2s ease;
11306
+ }
11307
+
11308
+ .muka-inputcounter__field::after {
11309
+ content: '';
11310
+ position: absolute;
11311
+ inset: 0;
11312
+ border-radius: inherit;
11313
+ box-shadow: var(--shadow-sunken);
11314
+ pointer-events: none;
11315
+ }
11316
+
11317
+ .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
11318
+ border-width: var(--border-width-bold);
11319
+ border-color: var(--input-field-color-focus-border);
11320
+ background-color: var(--input-field-color-focus-background);
11321
+ }
11322
+
11323
+ .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
11324
+ border-width: var(--border-width-bold);
11325
+ border-color: var(--input-field-color-error-border);
11326
+ background-color: var(--input-field-color-error-background);
11327
+ }
11328
+
11329
+ .muka-inputcounter__field--disabled {
11330
+ background-color: var(--input-field-color-disabled-background);
11331
+ border-color: var(--input-field-color-disabled-border);
11332
+ }
11333
+
11334
+ .muka-inputcounter__field--disabled::after {
11335
+ display: none;
11336
+ }
11337
+
11338
+ .muka-inputcounter__native {
11339
+ width: 100%;
11340
+ min-width: 0;
11341
+ height: 100%;
11342
+ box-sizing: border-box;
11343
+ padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
11344
+ border: none;
11345
+ outline: none;
11346
+ background: transparent;
11347
+ text-align: center;
11348
+ font-variant-numeric: tabular-nums;
11349
+ color: var(--input-field-color-default-foreground);
11350
+ font-family: var(--text-input-md-fontFamily);
11351
+ font-weight: var(--text-input-md-fontWeight);
11352
+ font-size: var(--text-input-md-fontSize);
11353
+ line-height: var(--text-input-md-lineHeight);
11354
+ }
11355
+
11356
+ .muka-inputcounter--sm .muka-inputcounter__native {
11357
+ font-family: var(--text-input-sm-fontFamily);
11358
+ font-weight: var(--text-input-sm-fontWeight);
11359
+ font-size: var(--text-input-sm-fontSize);
11360
+ line-height: var(--text-input-sm-lineHeight);
11361
+ }
11362
+
11363
+ .muka-inputcounter__field--disabled .muka-inputcounter__native {
11364
+ color: var(--input-field-color-disabled-foreground);
11365
+ cursor: not-allowed;
11366
+ }
11367
+
11368
+ /* Button group — secondary icon-only Buttons joined by a divider.
11369
+ Only the outer corners are rounded. */
11370
+ .muka-inputcounter__group {
11371
+ display: inline-flex;
11372
+ align-items: stretch;
11373
+ }
11374
+
11375
+ .muka-inputcounter__group .muka-button {
11376
+ border-radius: 0;
11377
+ }
11378
+
11379
+ .muka-inputcounter__group .muka-button:first-child {
11380
+ border-start-start-radius: var(--muka-inputcounter-radius);
11381
+ border-end-start-radius: var(--muka-inputcounter-radius);
11382
+ }
11383
+
11384
+ .muka-inputcounter__group .muka-button:last-child {
11385
+ border-start-end-radius: var(--muka-inputcounter-radius);
11386
+ border-end-end-radius: var(--muka-inputcounter-radius);
11387
+ }
11388
+
11389
+ .muka-inputcounter__divider {
11390
+ flex: none;
11391
+ width: var(--border-width-regular);
11392
+ background-color: var(--color-border-default);
11393
+ }
11394
+
11395
+
11396
+ /* Form */
11397
+ .muka-form {
11398
+ display: flex;
11399
+ flex-direction: column;
11400
+ width: 100%;
11401
+ }
11402
+
11403
+ .muka-form--gap-sm {
11404
+ gap: var(--size-sm);
11405
+ }
11406
+
11407
+ .muka-form--gap-md {
11408
+ gap: var(--size-md);
11409
+ }
11410
+
11411
+ .muka-form--gap-lg {
11412
+ gap: var(--size-lg);
11413
+ }
11414
+
11415
+
11416
+ /* FileUpload */
11417
+ /* FileUpload Component Styles */
11418
+
11419
+ .muka-fileupload-wrapper {
11420
+ display: flex;
11421
+ flex-direction: column;
11422
+ gap: var(--spacing-3);
11423
+ width: 100%;
11424
+ }
11425
+
11426
+ /* Dropzone */
11427
+ .muka-fileupload {
11428
+ display: flex;
11429
+ flex-direction: column;
11430
+ align-items: center;
11431
+ justify-content: center;
11432
+ gap: var(--fileupload-dropzone-gap);
11433
+ padding: var(--fileupload-dropzone-padding-md);
11434
+ background-color: var(--fileupload-dropzone-color-default-background);
11435
+ border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11436
+ border-radius: var(--fileupload-dropzone-radius);
11437
+ cursor: pointer;
11438
+ transition: background-color 0.2s ease, border-color 0.2s ease;
11439
+ text-align: center;
11440
+ min-height: 120px;
11441
+ }
11442
+
11443
+ .muka-fileupload:focus-visible {
11444
+ outline: 2px solid var(--color-border-focus);
11445
+ outline-offset: 2px;
11446
+ }
11447
+
11448
+ /* Size variants */
11449
+ .muka-fileupload--sm {
11450
+ padding: var(--fileupload-dropzone-padding-sm);
11451
+ min-height: 80px;
11452
+ }
11453
+
11454
+ .muka-fileupload--lg {
11455
+ padding: var(--fileupload-dropzone-padding-lg);
11456
+ min-height: 160px;
11457
+ }
11458
+
11459
+ /* Button variant */
11460
+ .muka-fileupload--button {
11461
+ flex-direction: row;
11462
+ min-height: auto;
11463
+ padding: var(--spacing-2) var(--spacing-3);
11464
+ border-style: solid;
11465
+ border-width: var(--border-width-regular);
11466
+ border-radius: var(--border-radius-md);
11467
+ }
11468
+
11469
+ /* Hover state */
11470
+ .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11471
+ background-color: var(--fileupload-dropzone-color-hover-background);
11472
+ border-color: var(--fileupload-dropzone-color-hover-border);
11473
+ }
11474
+
11475
+ /* Active/drag state */
11433
11476
  .muka-fileupload--active:not(.muka-fileupload--disabled) {
11434
11477
  background-color: var(--fileupload-dropzone-color-active-background);
11435
11478
  border-color: var(--fileupload-dropzone-color-active-border);
@@ -12164,41 +12207,229 @@ li.muka-listitem {
12164
12207
  }
12165
12208
 
12166
12209
 
12167
- /* DocumentViewer */
12168
- /* DocumentViewer Component Styles - Using Muka Design Tokens */
12210
+ /* Drawer */
12211
+ /* Drawer Component Styles */
12169
12212
 
12170
- .muka-documentviewer {
12213
+ /* Size tokens (local to Drawer) */
12214
+ .muka-drawer {
12215
+ --drawer-width-sm: 18rem;
12216
+ --drawer-width-md: 26rem;
12217
+ --drawer-width-lg: 36rem;
12218
+ }
12219
+
12220
+ /* Reset native dialog */
12221
+ .muka-drawer {
12222
+ border: none;
12223
+ padding: 0;
12224
+ max-width: none;
12225
+ max-height: none;
12226
+ background: transparent;
12227
+ overflow: visible;
12228
+ }
12229
+
12230
+ /* Backdrop */
12231
+ .muka-drawer::backdrop {
12232
+ background-color: var(--color-surface-backdrop);
12233
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
12234
+ backdrop-filter: blur(var(--effect-blur-backdrop));
12235
+ opacity: 0;
12236
+ transition: opacity 200ms ease;
12237
+ }
12238
+
12239
+ .muka-drawer--slide-in::backdrop {
12240
+ opacity: 1;
12241
+ }
12242
+
12243
+ /* Surface */
12244
+ .muka-drawer__surface {
12171
12245
  display: flex;
12172
12246
  flex-direction: column;
12173
- background-color: var(--documentviewer-container-background);
12174
- border-radius: var(--documentviewer-container-borderRadius);
12247
+ background-color: var(--color-surface-level3);
12248
+ box-shadow: var(--shadow-level5);
12249
+ height: 100%;
12175
12250
  overflow: hidden;
12176
- position: relative;
12251
+ position: fixed;
12252
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
12177
12253
  }
12178
12254
 
12179
- .muka-documentviewer--fullscreen {
12180
- position: fixed;
12255
+ /* Side positioning + initial transforms */
12256
+ .muka-drawer--right .muka-drawer__surface {
12181
12257
  top: 0;
12182
- left: 0;
12183
12258
  right: 0;
12184
12259
  bottom: 0;
12185
- width: 100vw;
12186
- height: 100vh;
12187
- z-index: 9999;
12188
- border-radius: 0;
12189
- }
12190
-
12191
- /* Toolbar */
12192
- .muka-documentviewer__toolbar {
12193
- display: flex;
12194
- align-items: center;
12195
- justify-content: space-between;
12196
- height: var(--documentviewer-toolbar-height);
12197
- padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
12198
- background-color: var(--documentviewer-toolbar-background);
12199
- border-bottom: 1px solid var(--documentviewer-toolbar-border);
12200
- gap: var(--documentviewer-toolbar-gap);
12201
- flex-shrink: 0;
12260
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
12261
+ transform: translateX(100%);
12262
+ }
12263
+
12264
+ .muka-drawer--left .muka-drawer__surface {
12265
+ top: 0;
12266
+ left: 0;
12267
+ bottom: 0;
12268
+ border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
12269
+ transform: translateX(-100%);
12270
+ }
12271
+
12272
+ .muka-drawer--bottom .muka-drawer__surface {
12273
+ left: 0;
12274
+ right: 0;
12275
+ bottom: 0;
12276
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
12277
+ transform: translateY(100%);
12278
+ }
12279
+
12280
+ .muka-drawer--top .muka-drawer__surface {
12281
+ left: 0;
12282
+ right: 0;
12283
+ top: 0;
12284
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
12285
+ transform: translateY(-100%);
12286
+ }
12287
+
12288
+ /* Slide-in state */
12289
+ .muka-drawer--slide-in .muka-drawer__surface {
12290
+ transform: translate(0, 0);
12291
+ }
12292
+
12293
+ /* Width sizes (left/right) */
12294
+ .muka-drawer--right .muka-drawer__surface,
12295
+ .muka-drawer--left .muka-drawer__surface {
12296
+ width: var(--drawer-width-md);
12297
+ }
12298
+
12299
+ .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
12300
+ .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
12301
+ width: var(--drawer-width-sm);
12302
+ }
12303
+
12304
+ .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
12305
+ .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
12306
+ width: var(--drawer-width-lg);
12307
+ }
12308
+
12309
+ .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
12310
+ .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
12311
+ width: 100%;
12312
+ }
12313
+
12314
+ /* Height sizes (top/bottom) */
12315
+ .muka-drawer--top .muka-drawer__surface,
12316
+ .muka-drawer--bottom .muka-drawer__surface {
12317
+ height: auto;
12318
+ max-height: 80vh;
12319
+ }
12320
+
12321
+ .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
12322
+ .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
12323
+ max-height: 100vh;
12324
+ }
12325
+
12326
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
12327
+ .muka-drawer .muka-topbar {
12328
+ position: relative;
12329
+ z-index: 1;
12330
+ flex-shrink: 0;
12331
+ }
12332
+
12333
+ /* Body */
12334
+ .muka-drawer__body {
12335
+ flex: 1;
12336
+ overflow-y: auto;
12337
+ padding: var(--drawer-padding-x);
12338
+ }
12339
+
12340
+ /* Roomier body on desktop; the header and footer keep their padding */
12341
+ @media (min-width: 1024px) {
12342
+ .muka-drawer__body {
12343
+ padding: var(--drawer-padding-x-desktop);
12344
+ }
12345
+ }
12346
+
12347
+ /* Footer */
12348
+ .muka-drawer__footer {
12349
+ padding: var(--spacing-4);
12350
+ border-top: var(--border-width-regular) solid var(--color-border-default);
12351
+ flex-shrink: 0;
12352
+ }
12353
+
12354
+ /* ─── Safe areas (notch, status bar, home indicator) ────
12355
+ env(safe-area-inset-*) is 0 outside notched devices, so these only change
12356
+ an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
12357
+
12358
+ /* Top edge. Side, top and full-height drawers reach the status bar: their
12359
+ TopBar pads for it; without a header the surface does. A bottom drawer
12360
+ stops short of it, so its TopBar must not. */
12361
+ .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
12362
+ .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
12363
+ .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
12364
+ padding-top: env(safe-area-inset-top, 0px);
12365
+ }
12366
+
12367
+ .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
12368
+ padding-top: 0;
12369
+ }
12370
+
12371
+ /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
12372
+ pads for it, or the surface when there is no footer. */
12373
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
12374
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
12375
+ }
12376
+
12377
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
12378
+ padding-bottom: env(safe-area-inset-bottom, 0px);
12379
+ }
12380
+
12381
+ /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
12382
+ already insets its own content. */
12383
+ @media (max-width: 1023px) {
12384
+ .muka-drawer--left .muka-drawer__body,
12385
+ .muka-drawer--top .muka-drawer__body,
12386
+ .muka-drawer--bottom .muka-drawer__body {
12387
+ padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
12388
+ }
12389
+
12390
+ .muka-drawer--right .muka-drawer__body,
12391
+ .muka-drawer--top .muka-drawer__body,
12392
+ .muka-drawer--bottom .muka-drawer__body {
12393
+ padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
12394
+ }
12395
+ }
12396
+
12397
+
12398
+ /* DocumentViewer */
12399
+ /* DocumentViewer Component Styles - Using Muka Design Tokens */
12400
+
12401
+ .muka-documentviewer {
12402
+ display: flex;
12403
+ flex-direction: column;
12404
+ background-color: var(--documentviewer-container-background);
12405
+ border-radius: var(--documentviewer-container-borderRadius);
12406
+ overflow: hidden;
12407
+ position: relative;
12408
+ }
12409
+
12410
+ .muka-documentviewer--fullscreen {
12411
+ position: fixed;
12412
+ top: 0;
12413
+ left: 0;
12414
+ right: 0;
12415
+ bottom: 0;
12416
+ width: 100vw;
12417
+ height: 100vh;
12418
+ z-index: 9999;
12419
+ border-radius: 0;
12420
+ }
12421
+
12422
+ /* Toolbar */
12423
+ .muka-documentviewer__toolbar {
12424
+ display: flex;
12425
+ align-items: center;
12426
+ justify-content: space-between;
12427
+ height: var(--documentviewer-toolbar-height);
12428
+ padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
12429
+ background-color: var(--documentviewer-toolbar-background);
12430
+ border-bottom: 1px solid var(--documentviewer-toolbar-border);
12431
+ gap: var(--documentviewer-toolbar-gap);
12432
+ flex-shrink: 0;
12202
12433
  }
12203
12434
 
12204
12435
  .muka-documentviewer__toolbar-section {
@@ -13706,250 +13937,62 @@ li.muka-listitem {
13706
13937
  }
13707
13938
 
13708
13939
 
13709
- /* Drawer */
13710
- /* Drawer Component Styles */
13711
-
13712
- /* Size tokens (local to Drawer) */
13713
- .muka-drawer {
13714
- --drawer-width-sm: 18rem;
13715
- --drawer-width-md: 26rem;
13716
- --drawer-width-lg: 36rem;
13940
+ /* ChipSelectGroup */
13941
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13942
+ .muka-chip-select-group {
13943
+ display: flex;
13944
+ flex-wrap: wrap;
13945
+ gap: var(--spacing-2);
13717
13946
  }
13718
13947
 
13719
- /* Reset native dialog */
13720
- .muka-drawer {
13721
- border: none;
13722
- padding: 0;
13723
- max-width: none;
13724
- max-height: none;
13725
- background: transparent;
13726
- overflow: visible;
13727
- }
13728
13948
 
13729
- /* Backdrop */
13730
- .muka-drawer::backdrop {
13731
- background-color: var(--color-surface-backdrop);
13732
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
13733
- backdrop-filter: blur(var(--effect-blur-backdrop));
13734
- opacity: 0;
13735
- transition: opacity 200ms ease;
13949
+ /* Chip */
13950
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13951
+
13952
+ /*
13953
+ * Internal custom properties (not public API):
13954
+ * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13955
+ * --_chip-tr-* trailing button colours per variant
13956
+ */
13957
+ .muka-chip {
13958
+ display: inline-flex;
13959
+ align-items: center;
13960
+ gap: var(--_chip-gap);
13961
+ padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13962
+ border-radius: var(--border-radius-full);
13963
+ white-space: nowrap;
13964
+ user-select: none;
13965
+ border: var(--border-width-regular) solid transparent;
13966
+ box-sizing: border-box;
13967
+ flex-shrink: 0;
13736
13968
  }
13737
13969
 
13738
- .muka-drawer--slide-in::backdrop {
13739
- opacity: 1;
13970
+ /*
13971
+ * Sizes: height, gap, type, and label-edge padding. The side that carries an
13972
+ * adornment gets its own padding: leading icon → chip.padding.leading, and the
13973
+ * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13974
+ * trailing button → chip.padding.trailing, which wins (declared later).
13975
+ */
13976
+ .muka-chip--sm {
13977
+ height: var(--chip-size-height-sm);
13978
+ --_chip-gap: var(--chip-gap-sm);
13979
+ --_chip-pad-start: var(--chip-padding-label-sm);
13980
+ --_chip-pad-end: var(--chip-padding-label-sm);
13981
+ font-family: var(--text-label-sm-regular-fontFamily);
13982
+ font-weight: var(--text-label-sm-regular-fontWeight);
13983
+ font-size: var(--text-label-sm-regular-fontSize);
13984
+ line-height: var(--text-label-sm-regular-lineHeight);
13740
13985
  }
13741
13986
 
13742
- /* Surface */
13743
- .muka-drawer__surface {
13744
- display: flex;
13745
- flex-direction: column;
13746
- background-color: var(--color-surface-level3);
13747
- box-shadow: var(--shadow-level5);
13748
- height: 100%;
13749
- overflow: hidden;
13750
- position: fixed;
13751
- transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
13752
- }
13753
-
13754
- /* Side positioning + initial transforms */
13755
- .muka-drawer--right .muka-drawer__surface {
13756
- top: 0;
13757
- right: 0;
13758
- bottom: 0;
13759
- border-radius: var(--radius-lg) 0 0 var(--radius-lg);
13760
- transform: translateX(100%);
13761
- }
13762
-
13763
- .muka-drawer--left .muka-drawer__surface {
13764
- top: 0;
13765
- left: 0;
13766
- bottom: 0;
13767
- border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
13768
- transform: translateX(-100%);
13769
- }
13770
-
13771
- .muka-drawer--bottom .muka-drawer__surface {
13772
- left: 0;
13773
- right: 0;
13774
- bottom: 0;
13775
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
13776
- transform: translateY(100%);
13777
- }
13778
-
13779
- .muka-drawer--top .muka-drawer__surface {
13780
- left: 0;
13781
- right: 0;
13782
- top: 0;
13783
- border-radius: 0 0 var(--radius-lg) var(--radius-lg);
13784
- transform: translateY(-100%);
13785
- }
13786
-
13787
- /* Slide-in state */
13788
- .muka-drawer--slide-in .muka-drawer__surface {
13789
- transform: translate(0, 0);
13790
- }
13791
-
13792
- /* Width sizes (left/right) */
13793
- .muka-drawer--right .muka-drawer__surface,
13794
- .muka-drawer--left .muka-drawer__surface {
13795
- width: var(--drawer-width-md);
13796
- }
13797
-
13798
- .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
13799
- .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
13800
- width: var(--drawer-width-sm);
13801
- }
13802
-
13803
- .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
13804
- .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
13805
- width: var(--drawer-width-lg);
13806
- }
13807
-
13808
- .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
13809
- .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
13810
- width: 100%;
13811
- }
13812
-
13813
- /* Height sizes (top/bottom) */
13814
- .muka-drawer--top .muka-drawer__surface,
13815
- .muka-drawer--bottom .muka-drawer__surface {
13816
- height: auto;
13817
- max-height: 80vh;
13818
- }
13819
-
13820
- .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
13821
- .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
13822
- max-height: 100vh;
13823
- }
13824
-
13825
- /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
13826
- .muka-drawer .muka-topbar {
13827
- position: relative;
13828
- z-index: 1;
13829
- flex-shrink: 0;
13830
- }
13831
-
13832
- /* Body */
13833
- .muka-drawer__body {
13834
- flex: 1;
13835
- overflow-y: auto;
13836
- padding: var(--drawer-padding-x);
13837
- }
13838
-
13839
- /* Roomier body on desktop; the header and footer keep their padding */
13840
- @media (min-width: 1024px) {
13841
- .muka-drawer__body {
13842
- padding: var(--drawer-padding-x-desktop);
13843
- }
13844
- }
13845
-
13846
- /* Footer */
13847
- .muka-drawer__footer {
13848
- padding: var(--spacing-4);
13849
- border-top: var(--border-width-regular) solid var(--color-border-default);
13850
- flex-shrink: 0;
13851
- }
13852
-
13853
- /* ─── Safe areas (notch, status bar, home indicator) ────
13854
- env(safe-area-inset-*) is 0 outside notched devices, so these only change
13855
- an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
13856
-
13857
- /* Top edge. Side, top and full-height drawers reach the status bar: their
13858
- TopBar pads for it; without a header the surface does. A bottom drawer
13859
- stops short of it, so its TopBar must not. */
13860
- .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
13861
- .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
13862
- .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
13863
- padding-top: env(safe-area-inset-top, 0px);
13864
- }
13865
-
13866
- .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
13867
- padding-top: 0;
13868
- }
13869
-
13870
- /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
13871
- pads for it, or the surface when there is no footer. */
13872
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
13873
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
13874
- }
13875
-
13876
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
13877
- padding-bottom: env(safe-area-inset-bottom, 0px);
13878
- }
13879
-
13880
- /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
13881
- already insets its own content. */
13882
- @media (max-width: 1023px) {
13883
- .muka-drawer--left .muka-drawer__body,
13884
- .muka-drawer--top .muka-drawer__body,
13885
- .muka-drawer--bottom .muka-drawer__body {
13886
- padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
13887
- }
13888
-
13889
- .muka-drawer--right .muka-drawer__body,
13890
- .muka-drawer--top .muka-drawer__body,
13891
- .muka-drawer--bottom .muka-drawer__body {
13892
- padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
13893
- }
13894
- }
13895
-
13896
-
13897
- /* ChipSelectGroup */
13898
- /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13899
- .muka-chip-select-group {
13900
- display: flex;
13901
- flex-wrap: wrap;
13902
- gap: var(--spacing-2);
13903
- }
13904
-
13905
-
13906
- /* Chip */
13907
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13908
-
13909
- /*
13910
- * Internal custom properties (not public API):
13911
- * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13912
- * --_chip-tr-* trailing button colours per variant
13913
- */
13914
- .muka-chip {
13915
- display: inline-flex;
13916
- align-items: center;
13917
- gap: var(--_chip-gap);
13918
- padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13919
- border-radius: var(--border-radius-full);
13920
- white-space: nowrap;
13921
- user-select: none;
13922
- border: var(--border-width-regular) solid transparent;
13923
- box-sizing: border-box;
13924
- flex-shrink: 0;
13925
- }
13926
-
13927
- /*
13928
- * Sizes: height, gap, type, and label-edge padding. The side that carries an
13929
- * adornment gets its own padding: leading icon → chip.padding.leading, and the
13930
- * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13931
- * trailing button → chip.padding.trailing, which wins (declared later).
13932
- */
13933
- .muka-chip--sm {
13934
- height: var(--chip-size-height-sm);
13935
- --_chip-gap: var(--chip-gap-sm);
13936
- --_chip-pad-start: var(--chip-padding-label-sm);
13937
- --_chip-pad-end: var(--chip-padding-label-sm);
13938
- font-family: var(--text-label-sm-regular-fontFamily);
13939
- font-weight: var(--text-label-sm-regular-fontWeight);
13940
- font-size: var(--text-label-sm-regular-fontSize);
13941
- line-height: var(--text-label-sm-regular-lineHeight);
13942
- }
13943
-
13944
- .muka-chip--md {
13945
- height: var(--chip-size-height-md);
13946
- --_chip-gap: var(--chip-gap-md);
13947
- --_chip-pad-start: var(--chip-padding-label-md);
13948
- --_chip-pad-end: var(--chip-padding-label-md);
13949
- font-family: var(--text-label-md-regular-fontFamily);
13950
- font-weight: var(--text-label-md-regular-fontWeight);
13951
- font-size: var(--text-label-md-regular-fontSize);
13952
- line-height: var(--text-label-md-regular-lineHeight);
13987
+ .muka-chip--md {
13988
+ height: var(--chip-size-height-md);
13989
+ --_chip-gap: var(--chip-gap-md);
13990
+ --_chip-pad-start: var(--chip-padding-label-md);
13991
+ --_chip-pad-end: var(--chip-padding-label-md);
13992
+ font-family: var(--text-label-md-regular-fontFamily);
13993
+ font-weight: var(--text-label-md-regular-fontWeight);
13994
+ font-size: var(--text-label-md-regular-fontSize);
13995
+ line-height: var(--text-label-md-regular-lineHeight);
13953
13996
  }
13954
13997
 
13955
13998
  .muka-chip--lg {
@@ -14429,41 +14472,208 @@ button.muka-chip__trailing[aria-expanded='true'],
14429
14472
  }
14430
14473
 
14431
14474
 
14432
- /* ChatQuestionSeries */
14433
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14434
- .muka-chat-series__dots {
14475
+ /* Checkbox */
14476
+ /* Checkbox Component Styles - Using Muka Design Tokens */
14477
+
14478
+ /* Wrapper - clickable label container */
14479
+ .muka-checkbox {
14435
14480
  display: inline-flex;
14436
14481
  align-items: center;
14437
- gap: var(--spacing-1);
14438
- }
14439
-
14440
- .muka-chat-series__dot {
14441
- width: var(--spacing-1);
14442
- height: var(--spacing-1);
14443
- border-radius: var(--border-radius-full);
14444
- background-color: var(--color-border-default);
14482
+ gap: var(--spacing-4);
14483
+ cursor: pointer;
14484
+ user-select: none;
14445
14485
  }
14446
14486
 
14447
- .muka-chat-series__dot--done {
14448
- background-color: var(--color-text-subtle-default);
14487
+ .muka-checkbox--disabled {
14488
+ cursor: not-allowed;
14489
+ opacity: 0.6;
14449
14490
  }
14450
14491
 
14451
- .muka-chat-series__dot--current {
14452
- width: var(--spacing-2);
14453
- height: var(--spacing-2);
14454
- background-color: var(--color-text-default-default);
14492
+ /* Control container */
14493
+ .muka-checkbox__control {
14494
+ position: relative;
14495
+ display: inline-flex;
14496
+ align-items: center;
14497
+ justify-content: center;
14498
+ flex-shrink: 0;
14455
14499
  }
14456
14500
 
14457
- .muka-chat-series__summary {
14458
- display: flex;
14459
- flex-direction: column;
14460
- gap: var(--spacing-2);
14501
+ /* Hidden native input */
14502
+ .muka-checkbox__input {
14503
+ position: absolute;
14504
+ width: 1px;
14505
+ height: 1px;
14506
+ padding: 0;
14507
+ margin: -1px;
14508
+ overflow: hidden;
14509
+ clip: rect(0, 0, 0, 0);
14510
+ white-space: nowrap;
14511
+ border: 0;
14461
14512
  }
14462
14513
 
14463
- .muka-chat-series__summary-row {
14514
+ /* Visual indicator (square) */
14515
+ .muka-checkbox__indicator {
14464
14516
  display: flex;
14465
- flex-direction: column;
14466
- }
14517
+ align-items: center;
14518
+ justify-content: center;
14519
+ width: var(--checkbox-size-default);
14520
+ height: var(--checkbox-size-default);
14521
+ border-radius: var(--checkbox-radius);
14522
+ background-color: var(--checkbox-color-default-background);
14523
+ border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14524
+ transition: all 0.15s ease;
14525
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14526
+ }
14527
+
14528
+ /* Size variants */
14529
+ .muka-checkbox--sm .muka-checkbox__indicator {
14530
+ width: var(--checkbox-size-sm);
14531
+ height: var(--checkbox-size-sm);
14532
+ }
14533
+
14534
+ .muka-checkbox--lg .muka-checkbox__indicator {
14535
+ width: var(--checkbox-size-lg);
14536
+ height: var(--checkbox-size-lg);
14537
+ }
14538
+
14539
+ /* Icon inside checkbox */
14540
+ .muka-checkbox__icon {
14541
+ width: var(--checkbox-icon-size-default);
14542
+ height: var(--checkbox-icon-size-default);
14543
+ color: var(--checkbox-color-default-icon);
14544
+ opacity: 0;
14545
+ transform: scale(0.8);
14546
+ transition: opacity 0.15s ease, transform 0.15s ease;
14547
+ }
14548
+
14549
+ .muka-checkbox--sm .muka-checkbox__icon {
14550
+ width: var(--checkbox-icon-size-sm);
14551
+ height: var(--checkbox-icon-size-sm);
14552
+ }
14553
+
14554
+ .muka-checkbox--lg .muka-checkbox__icon {
14555
+ width: var(--checkbox-icon-size-lg);
14556
+ height: var(--checkbox-icon-size-lg);
14557
+ }
14558
+
14559
+ /* Hide indeterminate icon by default */
14560
+ .muka-checkbox__icon--indeterminate {
14561
+ position: absolute;
14562
+ }
14563
+
14564
+ /* Hover state - removed per design */
14565
+
14566
+ /* Focus state */
14567
+ .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14568
+ outline: 2px solid var(--color-border-focus);
14569
+ outline-offset: 2px;
14570
+ }
14571
+
14572
+ /* Checked state */
14573
+ .muka-checkbox__input:checked + .muka-checkbox__indicator {
14574
+ background-color: var(--checkbox-color-checked-background);
14575
+ border-color: var(--checkbox-color-checked-border);
14576
+ box-shadow: none;
14577
+ }
14578
+
14579
+ .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14580
+ color: var(--checkbox-color-checked-icon);
14581
+ opacity: 1;
14582
+ transform: scale(1);
14583
+ }
14584
+
14585
+ /* Indeterminate state */
14586
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14587
+ background-color: var(--checkbox-color-checked-background);
14588
+ border-color: var(--checkbox-color-checked-border);
14589
+ box-shadow: none;
14590
+ }
14591
+
14592
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14593
+ opacity: 0;
14594
+ }
14595
+
14596
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14597
+ color: var(--checkbox-color-checked-icon);
14598
+ opacity: 1;
14599
+ transform: scale(1);
14600
+ }
14601
+
14602
+ /* Disabled state */
14603
+ .muka-checkbox--disabled .muka-checkbox__indicator {
14604
+ background-color: var(--checkbox-color-disabled-background);
14605
+ border-color: var(--checkbox-color-disabled-border);
14606
+ box-shadow: none;
14607
+ }
14608
+
14609
+ .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14610
+ .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14611
+ color: var(--checkbox-color-disabled-icon);
14612
+ }
14613
+
14614
+ /* Label text */
14615
+ .muka-checkbox__label {
14616
+ font-family: var(--text-label-lg-regular-fontFamily);
14617
+ font-weight: var(--text-label-lg-regular-fontWeight);
14618
+ font-size: var(--text-label-lg-regular-fontSize);
14619
+ line-height: var(--text-label-lg-regular-lineHeight);
14620
+ color: var(--color-text-default-default);
14621
+ }
14622
+
14623
+ .muka-checkbox--sm .muka-checkbox__label {
14624
+ font-family: var(--text-label-md-regular-fontFamily);
14625
+ font-weight: var(--text-label-md-regular-fontWeight);
14626
+ font-size: var(--text-label-md-regular-fontSize);
14627
+ line-height: var(--text-label-md-regular-lineHeight);
14628
+ }
14629
+
14630
+ .muka-checkbox--lg .muka-checkbox__label {
14631
+ font-family: var(--text-label-xl-regular-fontFamily);
14632
+ font-weight: var(--text-label-xl-regular-fontWeight);
14633
+ font-size: var(--text-label-xl-regular-fontSize);
14634
+ line-height: var(--text-label-xl-regular-lineHeight);
14635
+ }
14636
+
14637
+ .muka-checkbox--disabled .muka-checkbox__label {
14638
+ color: var(--color-text-subtle-default);
14639
+ }
14640
+
14641
+
14642
+ /* ChatQuestionSeries */
14643
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14644
+ .muka-chat-series__dots {
14645
+ display: inline-flex;
14646
+ align-items: center;
14647
+ gap: var(--spacing-1);
14648
+ }
14649
+
14650
+ .muka-chat-series__dot {
14651
+ width: var(--spacing-1);
14652
+ height: var(--spacing-1);
14653
+ border-radius: var(--border-radius-full);
14654
+ background-color: var(--color-border-default);
14655
+ }
14656
+
14657
+ .muka-chat-series__dot--done {
14658
+ background-color: var(--color-text-subtle-default);
14659
+ }
14660
+
14661
+ .muka-chat-series__dot--current {
14662
+ width: var(--spacing-2);
14663
+ height: var(--spacing-2);
14664
+ background-color: var(--color-text-default-default);
14665
+ }
14666
+
14667
+ .muka-chat-series__summary {
14668
+ display: flex;
14669
+ flex-direction: column;
14670
+ gap: var(--spacing-2);
14671
+ }
14672
+
14673
+ .muka-chat-series__summary-row {
14674
+ display: flex;
14675
+ flex-direction: column;
14676
+ }
14467
14677
 
14468
14678
  .muka-chat-series__summary-question {
14469
14679
  color: var(--color-text-subtle-default);
@@ -14569,272 +14779,105 @@ button.muka-chip__trailing[aria-expanded='true'],
14569
14779
 
14570
14780
  .muka-chat-photo-grid__tile {
14571
14781
  position: relative;
14572
- display: block;
14573
- overflow: hidden;
14574
- min-width: 0;
14575
- padding: 0;
14576
- margin: 0;
14577
- border: none;
14578
- background-color: var(--chatphotogrid-color-placeholder);
14579
- aspect-ratio: 1 / 1;
14580
- }
14581
-
14582
- button.muka-chat-photo-grid__tile {
14583
- cursor: pointer;
14584
- appearance: none;
14585
- }
14586
-
14587
- button.muka-chat-photo-grid__tile:focus-visible {
14588
- outline: var(--border-width-bold) solid var(--color-border-focus);
14589
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14590
- outline-offset: calc(-1 * var(--border-width-bold));
14591
- }
14592
-
14593
- .muka-chat-photo-grid__image {
14594
- display: block;
14595
- width: 100%;
14596
- height: 100%;
14597
- object-fit: cover;
14598
- }
14599
-
14600
- /* ─── Overflow tile ────────────────────────────────────── */
14601
-
14602
- .muka-chat-photo-grid__overflow {
14603
- position: absolute;
14604
- inset: 0;
14605
- display: flex;
14606
- align-items: center;
14607
- justify-content: center;
14608
- background-color: var(--chatphotogrid-color-overflow-background);
14609
- color: var(--chatphotogrid-color-overflow-foreground);
14610
- font-family: var(--text-body-2xl-regular-fontFamily);
14611
- font-weight: var(--text-body-2xl-regular-fontWeight);
14612
- font-size: var(--text-body-2xl-regular-fontSize);
14613
- line-height: var(--text-body-2xl-regular-lineHeight);
14614
- }
14615
-
14616
- /* ─── Layouts ──────────────────────────────────────────── */
14617
-
14618
- .muka-chat-photo-grid--1 {
14619
- grid-template-columns: 1fr;
14620
- }
14621
-
14622
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14623
- aspect-ratio: 4 / 3;
14624
- }
14625
-
14626
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14627
- aspect-ratio: 3 / 4;
14628
- }
14629
-
14630
- .muka-chat-photo-grid--2 {
14631
- grid-template-columns: repeat(2, 1fr);
14632
- }
14633
-
14634
- .muka-chat-photo-grid--3 {
14635
- grid-template-columns: repeat(3, 1fr);
14636
- }
14637
-
14638
- .muka-chat-photo-grid--4 {
14639
- grid-template-columns: repeat(2, 1fr);
14640
- }
14641
-
14642
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14643
- .muka-chat-photo-grid--5 {
14644
- grid-template-columns: repeat(6, 1fr);
14645
- }
14646
-
14647
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14648
- grid-column: span 3;
14649
- }
14650
-
14651
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14652
- grid-column: span 2;
14653
- }
14654
-
14655
- .muka-chat-photo-grid--6,
14656
- .muka-chat-photo-grid--overflow {
14657
- grid-template-columns: repeat(3, 1fr);
14658
- }
14659
-
14660
- /* ─── Print ────────────────────────────────────────────── */
14661
-
14662
- @media print {
14663
- .muka-chat-photo-grid {
14664
- break-inside: avoid;
14665
- }
14666
-
14667
- .muka-chat-photo-grid__image {
14668
- print-color-adjust: exact;
14669
- -webkit-print-color-adjust: exact;
14670
- }
14671
- }
14672
-
14673
-
14674
- /* Checkbox */
14675
- /* Checkbox Component Styles - Using Muka Design Tokens */
14676
-
14677
- /* Wrapper - clickable label container */
14678
- .muka-checkbox {
14679
- display: inline-flex;
14680
- align-items: center;
14681
- gap: var(--spacing-4);
14682
- cursor: pointer;
14683
- user-select: none;
14684
- }
14685
-
14686
- .muka-checkbox--disabled {
14687
- cursor: not-allowed;
14688
- opacity: 0.6;
14689
- }
14690
-
14691
- /* Control container */
14692
- .muka-checkbox__control {
14693
- position: relative;
14694
- display: inline-flex;
14695
- align-items: center;
14696
- justify-content: center;
14697
- flex-shrink: 0;
14698
- }
14699
-
14700
- /* Hidden native input */
14701
- .muka-checkbox__input {
14702
- position: absolute;
14703
- width: 1px;
14704
- height: 1px;
14705
- padding: 0;
14706
- margin: -1px;
14707
- overflow: hidden;
14708
- clip: rect(0, 0, 0, 0);
14709
- white-space: nowrap;
14710
- border: 0;
14711
- }
14712
-
14713
- /* Visual indicator (square) */
14714
- .muka-checkbox__indicator {
14715
- display: flex;
14716
- align-items: center;
14717
- justify-content: center;
14718
- width: var(--checkbox-size-default);
14719
- height: var(--checkbox-size-default);
14720
- border-radius: var(--checkbox-radius);
14721
- background-color: var(--checkbox-color-default-background);
14722
- border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14723
- transition: all 0.15s ease;
14724
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14725
- }
14726
-
14727
- /* Size variants */
14728
- .muka-checkbox--sm .muka-checkbox__indicator {
14729
- width: var(--checkbox-size-sm);
14730
- height: var(--checkbox-size-sm);
14782
+ display: block;
14783
+ overflow: hidden;
14784
+ min-width: 0;
14785
+ padding: 0;
14786
+ margin: 0;
14787
+ border: none;
14788
+ background-color: var(--chatphotogrid-color-placeholder);
14789
+ aspect-ratio: 1 / 1;
14731
14790
  }
14732
14791
 
14733
- .muka-checkbox--lg .muka-checkbox__indicator {
14734
- width: var(--checkbox-size-lg);
14735
- height: var(--checkbox-size-lg);
14792
+ button.muka-chat-photo-grid__tile {
14793
+ cursor: pointer;
14794
+ appearance: none;
14736
14795
  }
14737
14796
 
14738
- /* Icon inside checkbox */
14739
- .muka-checkbox__icon {
14740
- width: var(--checkbox-icon-size-default);
14741
- height: var(--checkbox-icon-size-default);
14742
- color: var(--checkbox-color-default-icon);
14743
- opacity: 0;
14744
- transform: scale(0.8);
14745
- transition: opacity 0.15s ease, transform 0.15s ease;
14797
+ button.muka-chat-photo-grid__tile:focus-visible {
14798
+ outline: var(--border-width-bold) solid var(--color-border-focus);
14799
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14800
+ outline-offset: calc(-1 * var(--border-width-bold));
14746
14801
  }
14747
14802
 
14748
- .muka-checkbox--sm .muka-checkbox__icon {
14749
- width: var(--checkbox-icon-size-sm);
14750
- height: var(--checkbox-icon-size-sm);
14803
+ .muka-chat-photo-grid__image {
14804
+ display: block;
14805
+ width: 100%;
14806
+ height: 100%;
14807
+ object-fit: cover;
14751
14808
  }
14752
14809
 
14753
- .muka-checkbox--lg .muka-checkbox__icon {
14754
- width: var(--checkbox-icon-size-lg);
14755
- height: var(--checkbox-icon-size-lg);
14756
- }
14810
+ /* ─── Overflow tile ────────────────────────────────────── */
14757
14811
 
14758
- /* Hide indeterminate icon by default */
14759
- .muka-checkbox__icon--indeterminate {
14812
+ .muka-chat-photo-grid__overflow {
14760
14813
  position: absolute;
14814
+ inset: 0;
14815
+ display: flex;
14816
+ align-items: center;
14817
+ justify-content: center;
14818
+ background-color: var(--chatphotogrid-color-overflow-background);
14819
+ color: var(--chatphotogrid-color-overflow-foreground);
14820
+ font-family: var(--text-body-2xl-regular-fontFamily);
14821
+ font-weight: var(--text-body-2xl-regular-fontWeight);
14822
+ font-size: var(--text-body-2xl-regular-fontSize);
14823
+ line-height: var(--text-body-2xl-regular-lineHeight);
14761
14824
  }
14762
14825
 
14763
- /* Hover state - removed per design */
14826
+ /* ─── Layouts ──────────────────────────────────────────── */
14764
14827
 
14765
- /* Focus state */
14766
- .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14767
- outline: 2px solid var(--color-border-focus);
14768
- outline-offset: 2px;
14828
+ .muka-chat-photo-grid--1 {
14829
+ grid-template-columns: 1fr;
14769
14830
  }
14770
14831
 
14771
- /* Checked state */
14772
- .muka-checkbox__input:checked + .muka-checkbox__indicator {
14773
- background-color: var(--checkbox-color-checked-background);
14774
- border-color: var(--checkbox-color-checked-border);
14775
- box-shadow: none;
14832
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14833
+ aspect-ratio: 4 / 3;
14776
14834
  }
14777
14835
 
14778
- .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14779
- color: var(--checkbox-color-checked-icon);
14780
- opacity: 1;
14781
- transform: scale(1);
14836
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14837
+ aspect-ratio: 3 / 4;
14782
14838
  }
14783
14839
 
14784
- /* Indeterminate state */
14785
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14786
- background-color: var(--checkbox-color-checked-background);
14787
- border-color: var(--checkbox-color-checked-border);
14788
- box-shadow: none;
14840
+ .muka-chat-photo-grid--2 {
14841
+ grid-template-columns: repeat(2, 1fr);
14789
14842
  }
14790
14843
 
14791
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14792
- opacity: 0;
14844
+ .muka-chat-photo-grid--3 {
14845
+ grid-template-columns: repeat(3, 1fr);
14793
14846
  }
14794
14847
 
14795
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14796
- color: var(--checkbox-color-checked-icon);
14797
- opacity: 1;
14798
- transform: scale(1);
14848
+ .muka-chat-photo-grid--4 {
14849
+ grid-template-columns: repeat(2, 1fr);
14799
14850
  }
14800
14851
 
14801
- /* Disabled state */
14802
- .muka-checkbox--disabled .muka-checkbox__indicator {
14803
- background-color: var(--checkbox-color-disabled-background);
14804
- border-color: var(--checkbox-color-disabled-border);
14805
- box-shadow: none;
14852
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14853
+ .muka-chat-photo-grid--5 {
14854
+ grid-template-columns: repeat(6, 1fr);
14806
14855
  }
14807
14856
 
14808
- .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14809
- .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14810
- color: var(--checkbox-color-disabled-icon);
14857
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14858
+ grid-column: span 3;
14811
14859
  }
14812
14860
 
14813
- /* Label text */
14814
- .muka-checkbox__label {
14815
- font-family: var(--text-label-lg-regular-fontFamily);
14816
- font-weight: var(--text-label-lg-regular-fontWeight);
14817
- font-size: var(--text-label-lg-regular-fontSize);
14818
- line-height: var(--text-label-lg-regular-lineHeight);
14819
- color: var(--color-text-default-default);
14861
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14862
+ grid-column: span 2;
14820
14863
  }
14821
14864
 
14822
- .muka-checkbox--sm .muka-checkbox__label {
14823
- font-family: var(--text-label-md-regular-fontFamily);
14824
- font-weight: var(--text-label-md-regular-fontWeight);
14825
- font-size: var(--text-label-md-regular-fontSize);
14826
- line-height: var(--text-label-md-regular-lineHeight);
14865
+ .muka-chat-photo-grid--6,
14866
+ .muka-chat-photo-grid--overflow {
14867
+ grid-template-columns: repeat(3, 1fr);
14827
14868
  }
14828
14869
 
14829
- .muka-checkbox--lg .muka-checkbox__label {
14830
- font-family: var(--text-label-xl-regular-fontFamily);
14831
- font-weight: var(--text-label-xl-regular-fontWeight);
14832
- font-size: var(--text-label-xl-regular-fontSize);
14833
- line-height: var(--text-label-xl-regular-lineHeight);
14834
- }
14870
+ /* ─── Print ────────────────────────────────────────────── */
14835
14871
 
14836
- .muka-checkbox--disabled .muka-checkbox__label {
14837
- color: var(--color-text-subtle-default);
14872
+ @media print {
14873
+ .muka-chat-photo-grid {
14874
+ break-inside: avoid;
14875
+ }
14876
+
14877
+ .muka-chat-photo-grid__image {
14878
+ print-color-adjust: exact;
14879
+ -webkit-print-color-adjust: exact;
14880
+ }
14838
14881
  }
14839
14882
 
14840
14883
 
@@ -15299,6 +15342,58 @@ button.muka-chat-photo-grid__tile:focus-visible {
15299
15342
  }
15300
15343
 
15301
15344
 
15345
+ /* ChatEvent */
15346
+ /* ChatEvent: a line in a chat that isn't a message from a person */
15347
+
15348
+ .muka-chat-event {
15349
+ display: flex;
15350
+ flex-direction: column;
15351
+ align-items: center;
15352
+ gap: var(--spacing-2);
15353
+ width: 100%;
15354
+ padding: 0 var(--spacing-4);
15355
+ box-sizing: border-box;
15356
+ text-align: center;
15357
+ }
15358
+
15359
+ .muka-chat-event__text {
15360
+ margin: 0;
15361
+ max-width: var(--chatbubble-max-width);
15362
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15363
+ and this is body text. Size and centring set it apart from messages. */
15364
+ color: var(--color-text-default-default);
15365
+ font-family: var(--text-body-sm-regular-fontFamily);
15366
+ font-weight: var(--text-body-sm-regular-fontWeight);
15367
+ font-size: var(--text-body-sm-regular-fontSize);
15368
+ line-height: var(--text-body-sm-regular-lineHeight);
15369
+ }
15370
+
15371
+ .muka-chat-event__timestamp {
15372
+ white-space: nowrap;
15373
+ }
15374
+
15375
+ .muka-chat-event__media {
15376
+ display: flex;
15377
+ flex-wrap: wrap;
15378
+ justify-content: center;
15379
+ gap: var(--spacing-2);
15380
+ }
15381
+
15382
+ /* Day divider: a small pill */
15383
+ .muka-chat-event__pill {
15384
+ display: inline-flex;
15385
+ align-items: center;
15386
+ padding: var(--spacing-1) var(--spacing-3);
15387
+ border-radius: var(--radius-full);
15388
+ background-color: var(--color-surface-level2);
15389
+ color: var(--color-text-default-default);
15390
+ font-family: var(--text-label-sm-regular-fontFamily);
15391
+ font-weight: var(--text-label-sm-regular-fontWeight);
15392
+ font-size: var(--text-label-sm-regular-fontSize);
15393
+ line-height: var(--text-label-sm-leading);
15394
+ }
15395
+
15396
+
15302
15397
  /* ChatComposer */
15303
15398
  /* ChatComposer Component Styles */
15304
15399
 
@@ -15649,56 +15744,160 @@ button.muka-chat-photo-grid__tile:focus-visible {
15649
15744
  min-width: 0;
15650
15745
  }
15651
15746
 
15652
-
15653
- /* ChatEvent */
15654
- /* ChatEvent: a line in a chat that isn't a message from a person */
15655
-
15656
- .muka-chat-event {
15747
+
15748
+ /* ChatAttachmentChip */
15749
+ /* ChatAttachmentChip Component Styles */
15750
+
15751
+ .muka-chat-attachment-chip {
15752
+ position: relative;
15753
+ display: inline-flex;
15754
+ align-items: center;
15755
+ gap: var(--spacing-1);
15756
+ max-width: 240px;
15757
+ padding: var(--spacing-2) var(--spacing-3);
15758
+ background-color: var(--color-surface-level1);
15759
+ border: var(--border-width-regular) solid var(--color-border-default);
15760
+ border-radius: var(--radius-md);
15761
+ overflow: hidden;
15762
+ }
15763
+
15764
+ .muka-chat-attachment-chip--uploading {
15765
+ padding-bottom: calc(var(--spacing-2) + 2px);
15766
+ }
15767
+
15768
+ .muka-chat-attachment-chip--error {
15769
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15770
+ }
15771
+
15772
+ .muka-chat-attachment-chip--disabled {
15773
+ opacity: 0.5;
15774
+ pointer-events: none;
15775
+ }
15776
+
15777
+ /* ─── Body (icon + text) ───────────────────────────────── */
15778
+
15779
+ .muka-chat-attachment-chip__body {
15780
+ display: inline-flex;
15781
+ align-items: center;
15782
+ gap: var(--spacing-2);
15783
+ min-width: 0;
15784
+ flex: 1 1 auto;
15785
+ background: none;
15786
+ border: none;
15787
+ padding: 0;
15788
+ margin: 0;
15789
+ text-align: left;
15790
+ color: inherit;
15791
+ font: inherit;
15792
+ cursor: default;
15793
+ -webkit-tap-highlight-color: transparent;
15794
+ }
15795
+
15796
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15797
+ cursor: pointer;
15798
+ }
15799
+
15800
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15801
+ outline: 2px solid var(--color-action-default);
15802
+ outline-offset: 2px;
15803
+ border-radius: var(--radius-sm);
15804
+ }
15805
+
15806
+ .muka-chat-attachment-chip__icon {
15807
+ display: inline-flex;
15808
+ align-items: center;
15809
+ justify-content: center;
15810
+ flex-shrink: 0;
15811
+ color: var(--color-text-subtle-default);
15812
+ }
15813
+
15814
+ .muka-chat-attachment-chip__text {
15657
15815
  display: flex;
15658
15816
  flex-direction: column;
15659
- align-items: center;
15660
- gap: var(--spacing-2);
15661
- width: 100%;
15662
- padding: 0 var(--spacing-4);
15663
- box-sizing: border-box;
15664
- text-align: center;
15817
+ min-width: 0;
15818
+ flex: 1 1 auto;
15665
15819
  }
15666
15820
 
15667
- .muka-chat-event__text {
15668
- margin: 0;
15669
- max-width: var(--chatbubble-max-width);
15670
- /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15671
- and this is body text. Size and centring set it apart from messages. */
15821
+ .muka-chat-attachment-chip__name {
15672
15822
  color: var(--color-text-default-default);
15673
15823
  font-family: var(--text-body-sm-regular-fontFamily);
15674
15824
  font-weight: var(--text-body-sm-regular-fontWeight);
15675
15825
  font-size: var(--text-body-sm-regular-fontSize);
15676
15826
  line-height: var(--text-body-sm-regular-lineHeight);
15827
+ white-space: nowrap;
15828
+ overflow: hidden;
15829
+ text-overflow: ellipsis;
15677
15830
  }
15678
15831
 
15679
- .muka-chat-event__timestamp {
15832
+ .muka-chat-attachment-chip__meta {
15833
+ color: var(--color-text-subtle-default);
15834
+ font-family: var(--text-body-sm-regular-fontFamily);
15835
+ font-weight: var(--text-body-sm-regular-fontWeight);
15836
+ font-size: var(--text-body-sm-regular-fontSize);
15837
+ line-height: var(--text-body-sm-regular-lineHeight);
15680
15838
  white-space: nowrap;
15839
+ overflow: hidden;
15840
+ text-overflow: ellipsis;
15681
15841
  }
15682
15842
 
15683
- .muka-chat-event__media {
15684
- display: flex;
15685
- flex-wrap: wrap;
15686
- justify-content: center;
15687
- gap: var(--spacing-2);
15843
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15844
+ color: var(--color-state-error-default, var(--color-text-default-default));
15688
15845
  }
15689
15846
 
15690
- /* Day divider: a small pill */
15691
- .muka-chat-event__pill {
15847
+ /* ─── Remove button ────────────────────────────────────── */
15848
+
15849
+ .muka-chat-attachment-chip__remove {
15692
15850
  display: inline-flex;
15693
15851
  align-items: center;
15694
- padding: var(--spacing-1) var(--spacing-3);
15695
- border-radius: var(--radius-full);
15696
- background-color: var(--color-surface-level2);
15852
+ justify-content: center;
15853
+ width: 20px;
15854
+ height: 20px;
15855
+ border: none;
15856
+ background: none;
15857
+ padding: 0;
15858
+ border-radius: var(--radius-sm);
15859
+ cursor: pointer;
15860
+ color: var(--color-text-subtle-default);
15861
+ flex-shrink: 0;
15862
+ -webkit-tap-highlight-color: transparent;
15863
+ }
15864
+
15865
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15697
15866
  color: var(--color-text-default-default);
15698
- font-family: var(--text-label-sm-regular-fontFamily);
15699
- font-weight: var(--text-label-sm-regular-fontWeight);
15700
- font-size: var(--text-label-sm-regular-fontSize);
15701
- line-height: var(--text-label-sm-leading);
15867
+ background-color: var(--color-surface-level2);
15868
+ }
15869
+
15870
+ .muka-chat-attachment-chip__remove:focus-visible {
15871
+ outline: 2px solid var(--color-action-default);
15872
+ outline-offset: 2px;
15873
+ }
15874
+
15875
+ .muka-chat-attachment-chip__remove:disabled {
15876
+ cursor: not-allowed;
15877
+ opacity: 0.5;
15878
+ }
15879
+
15880
+ /* ─── Progress bar ─────────────────────────────────────── */
15881
+
15882
+ .muka-chat-attachment-chip__progress {
15883
+ position: absolute;
15884
+ left: 0;
15885
+ right: 0;
15886
+ bottom: 0;
15887
+ height: 2px;
15888
+ background-color: var(--color-surface-level2);
15889
+ overflow: hidden;
15890
+ }
15891
+
15892
+ .muka-chat-attachment-chip__progress-fill {
15893
+ display: block;
15894
+ height: 100%;
15895
+ background-color: var(--color-action-default);
15896
+ transition: width 0.16s ease;
15897
+ }
15898
+
15899
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15900
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15702
15901
  }
15703
15902
 
15704
15903
 
@@ -17925,162 +18124,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17925
18124
  }
17926
18125
 
17927
18126
 
17928
- /* ChatAttachmentChip */
17929
- /* ChatAttachmentChip Component Styles */
17930
-
17931
- .muka-chat-attachment-chip {
17932
- position: relative;
17933
- display: inline-flex;
17934
- align-items: center;
17935
- gap: var(--spacing-1);
17936
- max-width: 240px;
17937
- padding: var(--spacing-2) var(--spacing-3);
17938
- background-color: var(--color-surface-level1);
17939
- border: var(--border-width-regular) solid var(--color-border-default);
17940
- border-radius: var(--radius-md);
17941
- overflow: hidden;
17942
- }
17943
-
17944
- .muka-chat-attachment-chip--uploading {
17945
- padding-bottom: calc(var(--spacing-2) + 2px);
17946
- }
17947
-
17948
- .muka-chat-attachment-chip--error {
17949
- border-color: var(--color-state-error-default, var(--color-text-default-default));
17950
- }
17951
-
17952
- .muka-chat-attachment-chip--disabled {
17953
- opacity: 0.5;
17954
- pointer-events: none;
17955
- }
17956
-
17957
- /* ─── Body (icon + text) ───────────────────────────────── */
17958
-
17959
- .muka-chat-attachment-chip__body {
17960
- display: inline-flex;
17961
- align-items: center;
17962
- gap: var(--spacing-2);
17963
- min-width: 0;
17964
- flex: 1 1 auto;
17965
- background: none;
17966
- border: none;
17967
- padding: 0;
17968
- margin: 0;
17969
- text-align: left;
17970
- color: inherit;
17971
- font: inherit;
17972
- cursor: default;
17973
- -webkit-tap-highlight-color: transparent;
17974
- }
17975
-
17976
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
17977
- cursor: pointer;
17978
- }
17979
-
17980
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
17981
- outline: 2px solid var(--color-action-default);
17982
- outline-offset: 2px;
17983
- border-radius: var(--radius-sm);
17984
- }
17985
-
17986
- .muka-chat-attachment-chip__icon {
17987
- display: inline-flex;
17988
- align-items: center;
17989
- justify-content: center;
17990
- flex-shrink: 0;
17991
- color: var(--color-text-subtle-default);
17992
- }
17993
-
17994
- .muka-chat-attachment-chip__text {
17995
- display: flex;
17996
- flex-direction: column;
17997
- min-width: 0;
17998
- flex: 1 1 auto;
17999
- }
18000
-
18001
- .muka-chat-attachment-chip__name {
18002
- color: var(--color-text-default-default);
18003
- font-family: var(--text-body-sm-regular-fontFamily);
18004
- font-weight: var(--text-body-sm-regular-fontWeight);
18005
- font-size: var(--text-body-sm-regular-fontSize);
18006
- line-height: var(--text-body-sm-regular-lineHeight);
18007
- white-space: nowrap;
18008
- overflow: hidden;
18009
- text-overflow: ellipsis;
18010
- }
18011
-
18012
- .muka-chat-attachment-chip__meta {
18013
- color: var(--color-text-subtle-default);
18014
- font-family: var(--text-body-sm-regular-fontFamily);
18015
- font-weight: var(--text-body-sm-regular-fontWeight);
18016
- font-size: var(--text-body-sm-regular-fontSize);
18017
- line-height: var(--text-body-sm-regular-lineHeight);
18018
- white-space: nowrap;
18019
- overflow: hidden;
18020
- text-overflow: ellipsis;
18021
- }
18022
-
18023
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
18024
- color: var(--color-state-error-default, var(--color-text-default-default));
18025
- }
18026
-
18027
- /* ─── Remove button ────────────────────────────────────── */
18028
-
18029
- .muka-chat-attachment-chip__remove {
18030
- display: inline-flex;
18031
- align-items: center;
18032
- justify-content: center;
18033
- width: 20px;
18034
- height: 20px;
18035
- border: none;
18036
- background: none;
18037
- padding: 0;
18038
- border-radius: var(--radius-sm);
18039
- cursor: pointer;
18040
- color: var(--color-text-subtle-default);
18041
- flex-shrink: 0;
18042
- -webkit-tap-highlight-color: transparent;
18043
- }
18044
-
18045
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
18046
- color: var(--color-text-default-default);
18047
- background-color: var(--color-surface-level2);
18048
- }
18049
-
18050
- .muka-chat-attachment-chip__remove:focus-visible {
18051
- outline: 2px solid var(--color-action-default);
18052
- outline-offset: 2px;
18053
- }
18054
-
18055
- .muka-chat-attachment-chip__remove:disabled {
18056
- cursor: not-allowed;
18057
- opacity: 0.5;
18058
- }
18059
-
18060
- /* ─── Progress bar ─────────────────────────────────────── */
18061
-
18062
- .muka-chat-attachment-chip__progress {
18063
- position: absolute;
18064
- left: 0;
18065
- right: 0;
18066
- bottom: 0;
18067
- height: 2px;
18068
- background-color: var(--color-surface-level2);
18069
- overflow: hidden;
18070
- }
18071
-
18072
- .muka-chat-attachment-chip__progress-fill {
18073
- display: block;
18074
- height: 100%;
18075
- background-color: var(--color-action-default);
18076
- transition: width 0.16s ease;
18077
- }
18078
-
18079
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
18080
- background-color: var(--color-state-error-default, var(--color-text-default-default));
18081
- }
18082
-
18083
-
18084
18127
  /* ActionSheet */
18085
18128
  /* ActionSheet Component Styles */
18086
18129