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