@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.
@@ -2761,6 +2761,49 @@ body {
2761
2761
  }
2762
2762
  }
2763
2763
 
2764
+ /* ─── The same motion without a view transition ──────────
2765
+ When React commits a navigation outside a view transition, the browser
2766
+ animates nothing; viewNavigation.ts then puts a copy of the leaving View
2767
+ (.muka-view-ghost) over the page and marks the new View
2768
+ [data-muka-view-entering]. Pop only on small and medium screens: a push
2769
+ would slide over nothing. */
2770
+ .muka-view-ghost {
2771
+ position: fixed;
2772
+ margin: 0;
2773
+ z-index: 40; /* above the app shell (11), below popovers and sheets (50) */
2774
+ pointer-events: none;
2775
+ }
2776
+
2777
+ @media (max-width: 1023px) {
2778
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2779
+ animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
2780
+ }
2781
+
2782
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering] {
2783
+ animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
2784
+ }
2785
+ }
2786
+
2787
+ @media (min-width: 1024px) {
2788
+ :root[data-muka-nav] .muka-view-ghost {
2789
+ animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
2790
+ }
2791
+
2792
+ :root[data-muka-nav] .muka-view[data-muka-view-entering] {
2793
+ animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
2794
+ }
2795
+
2796
+ :root[data-muka-nav='push'] .muka-view[data-muka-view-entering],
2797
+ :root[data-muka-nav='pop'] .muka-view-ghost {
2798
+ --muka-view-shift: var(--spacing-4);
2799
+ }
2800
+
2801
+ :root[data-muka-nav='pop'] .muka-view[data-muka-view-entering],
2802
+ :root[data-muka-nav='push'] .muka-view-ghost {
2803
+ --muka-view-shift: calc(-1 * var(--spacing-4));
2804
+ }
2805
+ }
2806
+
2764
2807
  @keyframes muka-view-shift-in {
2765
2808
  from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
2766
2809
  to { opacity: 1; transform: translateX(0); }
@@ -5570,198 +5613,6 @@ body {
5570
5613
  }
5571
5614
 
5572
5615
 
5573
- /* SmsOtpField */
5574
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
5575
-
5576
- /* Wrapper */
5577
- .muka-sms-otp-field {
5578
- display: inline-flex;
5579
- flex-direction: column;
5580
- gap: var(--spacing-2);
5581
- }
5582
-
5583
- /* Label */
5584
- .muka-sms-otp-field__label {
5585
- color: var(--color-text-default-default);
5586
- cursor: pointer;
5587
- }
5588
-
5589
- .muka-sms-otp-field__label--sm {
5590
- font-family: var(--text-label-sm-semibold-fontFamily);
5591
- font-weight: var(--text-label-sm-semibold-fontWeight);
5592
- font-size: var(--text-label-sm-semibold-fontSize);
5593
- line-height: var(--text-label-sm-semibold-lineHeight);
5594
- }
5595
-
5596
- .muka-sms-otp-field__label--md {
5597
- font-family: var(--text-label-md-semibold-fontFamily);
5598
- font-weight: var(--text-label-md-semibold-fontWeight);
5599
- font-size: var(--text-label-md-semibold-fontSize);
5600
- line-height: var(--text-label-md-semibold-lineHeight);
5601
- }
5602
-
5603
- .muka-sms-otp-field__label--lg {
5604
- font-family: var(--text-label-lg-semibold-fontFamily);
5605
- font-weight: var(--text-label-lg-semibold-fontWeight);
5606
- font-size: var(--text-label-lg-semibold-fontSize);
5607
- line-height: var(--text-label-lg-semibold-lineHeight);
5608
- }
5609
-
5610
- .muka-sms-otp-field__required {
5611
- color: var(--color-state-error-default);
5612
- }
5613
-
5614
- /* Hidden input for browser autofill */
5615
- .muka-sms-otp-field__hidden-input {
5616
- position: absolute;
5617
- width: 1px;
5618
- height: 1px;
5619
- padding: 0;
5620
- margin: -1px;
5621
- overflow: hidden;
5622
- clip: rect(0, 0, 0, 0);
5623
- white-space: nowrap;
5624
- border: 0;
5625
- opacity: 0;
5626
- pointer-events: none;
5627
- }
5628
-
5629
- /* Digits container */
5630
- .muka-sms-otp-field__digits {
5631
- display: flex;
5632
- align-items: center;
5633
- gap: var(--spacing-2);
5634
- }
5635
-
5636
- /* Separator */
5637
- .muka-sms-otp-field__separator {
5638
- display: inline-flex;
5639
- align-items: center;
5640
- justify-content: center;
5641
- color: var(--color-text-subtle-default);
5642
- font-size: 1.25rem;
5643
- padding: 0 var(--spacing-1);
5644
- user-select: none;
5645
- }
5646
-
5647
- /* Individual digit box */
5648
- .muka-sms-otp-field__digit {
5649
- display: flex;
5650
- align-items: center;
5651
- justify-content: center;
5652
- text-align: center;
5653
- background-color: var(--input-field-color-default-background);
5654
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5655
- color: var(--input-field-color-default-foreground);
5656
- transition: border-color 0.2s ease, background-color 0.2s ease;
5657
- box-sizing: border-box;
5658
- caret-color: var(--input-field-color-focus-border);
5659
- -moz-appearance: textfield;
5660
- appearance: textfield;
5661
- }
5662
-
5663
- /* Remove spinner buttons */
5664
- .muka-sms-otp-field__digit::-webkit-inner-spin-button,
5665
- .muka-sms-otp-field__digit::-webkit-outer-spin-button {
5666
- -webkit-appearance: none;
5667
- margin: 0;
5668
- }
5669
-
5670
- /* Size variants */
5671
- .muka-sms-otp-field__digit--sm {
5672
- width: 36px;
5673
- height: var(--input-field-height-sm);
5674
- border-radius: var(--input-field-radius-sm);
5675
- font-family: var(--text-input-sm-fontFamily);
5676
- font-weight: var(--text-input-sm-fontWeight);
5677
- font-size: var(--text-input-sm-fontSize);
5678
- line-height: var(--text-input-sm-lineHeight);
5679
- }
5680
-
5681
- .muka-sms-otp-field__digit--md {
5682
- width: 44px;
5683
- height: var(--input-field-height-default);
5684
- border-radius: var(--input-field-radius-md);
5685
- font-family: var(--text-input-md-fontFamily);
5686
- font-weight: var(--text-input-md-fontWeight);
5687
- font-size: var(--text-input-md-fontSize);
5688
- line-height: var(--text-input-md-lineHeight);
5689
- }
5690
-
5691
- .muka-sms-otp-field__digit--lg {
5692
- width: 52px;
5693
- height: var(--input-field-height-lg);
5694
- border-radius: var(--input-field-radius-lg);
5695
- font-family: var(--text-input-lg-fontFamily);
5696
- font-weight: var(--text-input-lg-fontWeight);
5697
- font-size: var(--text-input-lg-fontSize);
5698
- line-height: var(--text-input-lg-lineHeight);
5699
- }
5700
-
5701
- /* Inset shadow (matches Input component) */
5702
- .muka-sms-otp-field__digit::after {
5703
- content: '';
5704
- position: absolute;
5705
- inset: 0;
5706
- border-radius: inherit;
5707
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
5708
- pointer-events: none;
5709
- }
5710
-
5711
- /* Focus state */
5712
- .muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
5713
- border-width: var(--border-width-bold);
5714
- border-color: var(--input-field-color-focus-border);
5715
- background-color: var(--input-field-color-focus-background);
5716
- outline: none;
5717
- }
5718
-
5719
- /* Also handle native :focus for keyboard navigation */
5720
- .muka-sms-otp-field__digit:focus {
5721
- outline: none;
5722
- }
5723
-
5724
- /* Error state */
5725
- .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
5726
- border-width: var(--border-width-bold);
5727
- border-color: var(--input-field-color-error-border);
5728
- background-color: var(--input-field-color-error-background);
5729
- }
5730
-
5731
- /* Disabled state */
5732
- .muka-sms-otp-field__digit--disabled {
5733
- background-color: var(--input-field-color-disabled-background);
5734
- border-color: var(--input-field-color-disabled-border);
5735
- color: var(--input-field-color-disabled-foreground);
5736
- cursor: not-allowed;
5737
- }
5738
-
5739
- /* Filled state — slightly bolder text */
5740
- .muka-sms-otp-field__digit--filled {
5741
- color: var(--input-field-color-default-foreground);
5742
- }
5743
-
5744
- /* Helper text */
5745
- .muka-sms-otp-field__helper {
5746
- font-family: var(--text-label-sm-regular-fontFamily);
5747
- font-weight: var(--text-label-sm-regular-fontWeight);
5748
- font-size: var(--text-label-sm-regular-fontSize);
5749
- line-height: var(--text-label-sm-regular-lineHeight);
5750
- color: var(--color-text-subtle-default);
5751
- margin: 0;
5752
- }
5753
-
5754
- /* Error message */
5755
- .muka-sms-otp-field__error {
5756
- font-family: var(--text-label-sm-regular-fontFamily);
5757
- font-weight: var(--text-label-sm-regular-fontWeight);
5758
- font-size: var(--text-label-sm-regular-fontSize);
5759
- line-height: var(--text-label-sm-regular-lineHeight);
5760
- color: var(--color-state-error-default);
5761
- margin: 0;
5762
- }
5763
-
5764
-
5765
5616
  /* Skeleton */
5766
5617
  /* Skeleton Component Styles */
5767
5618
 
@@ -5982,30 +5833,222 @@ body {
5982
5833
  }
5983
5834
 
5984
5835
 
5985
- /* Sheet */
5986
- /* Sheet Component Styles */
5987
-
5988
- /* ─── Backdrop ────────────────────────────────────────── */
5836
+ /* SmsOtpField */
5837
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
5989
5838
 
5990
- .muka-sheet__overlay {
5991
- position: fixed;
5992
- inset: 0;
5993
- background-color: var(--color-surface-backdrop);
5994
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5995
- backdrop-filter: blur(var(--effect-blur-backdrop));
5996
- z-index: 50;
5839
+ /* Wrapper */
5840
+ .muka-sms-otp-field {
5841
+ display: inline-flex;
5842
+ flex-direction: column;
5843
+ gap: var(--spacing-2);
5997
5844
  }
5998
5845
 
5999
- /* ─── Surface ─────────────────────────────────────────── */
5846
+ /* Label */
5847
+ .muka-sms-otp-field__label {
5848
+ color: var(--color-text-default-default);
5849
+ cursor: pointer;
5850
+ }
6000
5851
 
6001
- .muka-sheet {
6002
- position: fixed;
6003
- left: 0;
6004
- right: 0;
6005
- bottom: 0;
6006
- z-index: 51;
5852
+ .muka-sms-otp-field__label--sm {
5853
+ font-family: var(--text-label-sm-semibold-fontFamily);
5854
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5855
+ font-size: var(--text-label-sm-semibold-fontSize);
5856
+ line-height: var(--text-label-sm-semibold-lineHeight);
5857
+ }
6007
5858
 
6008
- display: flex;
5859
+ .muka-sms-otp-field__label--md {
5860
+ font-family: var(--text-label-md-semibold-fontFamily);
5861
+ font-weight: var(--text-label-md-semibold-fontWeight);
5862
+ font-size: var(--text-label-md-semibold-fontSize);
5863
+ line-height: var(--text-label-md-semibold-lineHeight);
5864
+ }
5865
+
5866
+ .muka-sms-otp-field__label--lg {
5867
+ font-family: var(--text-label-lg-semibold-fontFamily);
5868
+ font-weight: var(--text-label-lg-semibold-fontWeight);
5869
+ font-size: var(--text-label-lg-semibold-fontSize);
5870
+ line-height: var(--text-label-lg-semibold-lineHeight);
5871
+ }
5872
+
5873
+ .muka-sms-otp-field__required {
5874
+ color: var(--color-state-error-default);
5875
+ }
5876
+
5877
+ /* Hidden input for browser autofill */
5878
+ .muka-sms-otp-field__hidden-input {
5879
+ position: absolute;
5880
+ width: 1px;
5881
+ height: 1px;
5882
+ padding: 0;
5883
+ margin: -1px;
5884
+ overflow: hidden;
5885
+ clip: rect(0, 0, 0, 0);
5886
+ white-space: nowrap;
5887
+ border: 0;
5888
+ opacity: 0;
5889
+ pointer-events: none;
5890
+ }
5891
+
5892
+ /* Digits container */
5893
+ .muka-sms-otp-field__digits {
5894
+ display: flex;
5895
+ align-items: center;
5896
+ gap: var(--spacing-2);
5897
+ }
5898
+
5899
+ /* Separator */
5900
+ .muka-sms-otp-field__separator {
5901
+ display: inline-flex;
5902
+ align-items: center;
5903
+ justify-content: center;
5904
+ color: var(--color-text-subtle-default);
5905
+ font-size: 1.25rem;
5906
+ padding: 0 var(--spacing-1);
5907
+ user-select: none;
5908
+ }
5909
+
5910
+ /* Individual digit box */
5911
+ .muka-sms-otp-field__digit {
5912
+ display: flex;
5913
+ align-items: center;
5914
+ justify-content: center;
5915
+ text-align: center;
5916
+ background-color: var(--input-field-color-default-background);
5917
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
5918
+ color: var(--input-field-color-default-foreground);
5919
+ transition: border-color 0.2s ease, background-color 0.2s ease;
5920
+ box-sizing: border-box;
5921
+ caret-color: var(--input-field-color-focus-border);
5922
+ -moz-appearance: textfield;
5923
+ appearance: textfield;
5924
+ }
5925
+
5926
+ /* Remove spinner buttons */
5927
+ .muka-sms-otp-field__digit::-webkit-inner-spin-button,
5928
+ .muka-sms-otp-field__digit::-webkit-outer-spin-button {
5929
+ -webkit-appearance: none;
5930
+ margin: 0;
5931
+ }
5932
+
5933
+ /* Size variants */
5934
+ .muka-sms-otp-field__digit--sm {
5935
+ width: 36px;
5936
+ height: var(--input-field-height-sm);
5937
+ border-radius: var(--input-field-radius-sm);
5938
+ font-family: var(--text-input-sm-fontFamily);
5939
+ font-weight: var(--text-input-sm-fontWeight);
5940
+ font-size: var(--text-input-sm-fontSize);
5941
+ line-height: var(--text-input-sm-lineHeight);
5942
+ }
5943
+
5944
+ .muka-sms-otp-field__digit--md {
5945
+ width: 44px;
5946
+ height: var(--input-field-height-default);
5947
+ border-radius: var(--input-field-radius-md);
5948
+ font-family: var(--text-input-md-fontFamily);
5949
+ font-weight: var(--text-input-md-fontWeight);
5950
+ font-size: var(--text-input-md-fontSize);
5951
+ line-height: var(--text-input-md-lineHeight);
5952
+ }
5953
+
5954
+ .muka-sms-otp-field__digit--lg {
5955
+ width: 52px;
5956
+ height: var(--input-field-height-lg);
5957
+ border-radius: var(--input-field-radius-lg);
5958
+ font-family: var(--text-input-lg-fontFamily);
5959
+ font-weight: var(--text-input-lg-fontWeight);
5960
+ font-size: var(--text-input-lg-fontSize);
5961
+ line-height: var(--text-input-lg-lineHeight);
5962
+ }
5963
+
5964
+ /* Inset shadow (matches Input component) */
5965
+ .muka-sms-otp-field__digit::after {
5966
+ content: '';
5967
+ position: absolute;
5968
+ inset: 0;
5969
+ border-radius: inherit;
5970
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
5971
+ pointer-events: none;
5972
+ }
5973
+
5974
+ /* Focus state */
5975
+ .muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
5976
+ border-width: var(--border-width-bold);
5977
+ border-color: var(--input-field-color-focus-border);
5978
+ background-color: var(--input-field-color-focus-background);
5979
+ outline: none;
5980
+ }
5981
+
5982
+ /* Also handle native :focus for keyboard navigation */
5983
+ .muka-sms-otp-field__digit:focus {
5984
+ outline: none;
5985
+ }
5986
+
5987
+ /* Error state */
5988
+ .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
5989
+ border-width: var(--border-width-bold);
5990
+ border-color: var(--input-field-color-error-border);
5991
+ background-color: var(--input-field-color-error-background);
5992
+ }
5993
+
5994
+ /* Disabled state */
5995
+ .muka-sms-otp-field__digit--disabled {
5996
+ background-color: var(--input-field-color-disabled-background);
5997
+ border-color: var(--input-field-color-disabled-border);
5998
+ color: var(--input-field-color-disabled-foreground);
5999
+ cursor: not-allowed;
6000
+ }
6001
+
6002
+ /* Filled state — slightly bolder text */
6003
+ .muka-sms-otp-field__digit--filled {
6004
+ color: var(--input-field-color-default-foreground);
6005
+ }
6006
+
6007
+ /* Helper text */
6008
+ .muka-sms-otp-field__helper {
6009
+ font-family: var(--text-label-sm-regular-fontFamily);
6010
+ font-weight: var(--text-label-sm-regular-fontWeight);
6011
+ font-size: var(--text-label-sm-regular-fontSize);
6012
+ line-height: var(--text-label-sm-regular-lineHeight);
6013
+ color: var(--color-text-subtle-default);
6014
+ margin: 0;
6015
+ }
6016
+
6017
+ /* Error message */
6018
+ .muka-sms-otp-field__error {
6019
+ font-family: var(--text-label-sm-regular-fontFamily);
6020
+ font-weight: var(--text-label-sm-regular-fontWeight);
6021
+ font-size: var(--text-label-sm-regular-fontSize);
6022
+ line-height: var(--text-label-sm-regular-lineHeight);
6023
+ color: var(--color-state-error-default);
6024
+ margin: 0;
6025
+ }
6026
+
6027
+
6028
+ /* Sheet */
6029
+ /* Sheet Component Styles */
6030
+
6031
+ /* ─── Backdrop ────────────────────────────────────────── */
6032
+
6033
+ .muka-sheet__overlay {
6034
+ position: fixed;
6035
+ inset: 0;
6036
+ background-color: var(--color-surface-backdrop);
6037
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
6038
+ backdrop-filter: blur(var(--effect-blur-backdrop));
6039
+ z-index: 50;
6040
+ }
6041
+
6042
+ /* ─── Surface ─────────────────────────────────────────── */
6043
+
6044
+ .muka-sheet {
6045
+ position: fixed;
6046
+ left: 0;
6047
+ right: 0;
6048
+ bottom: 0;
6049
+ z-index: 51;
6050
+
6051
+ display: flex;
6009
6052
  flex-direction: column;
6010
6053
 
6011
6054
  max-height: 96dvh;
@@ -7031,146 +7074,145 @@ body {
7031
7074
  }
7032
7075
 
7033
7076
 
7034
- /* Radio */
7035
- /* Radio Component Styles - Using Muka Design Tokens */
7077
+ /* RadioTile */
7078
+ /* RadioTile Component Styles - Using Muka Design Tokens */
7036
7079
 
7037
- /* Wrapper - clickable label container */
7038
- .muka-radio {
7039
- display: inline-flex;
7080
+ /* Base tile styles - horizontal */
7081
+ .muka-radio-tile {
7082
+ display: flex;
7040
7083
  align-items: center;
7041
7084
  gap: var(--spacing-4);
7085
+ padding: var(--spacing-4);
7086
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
7087
+ border-radius: var(--input-field-radius-lg);
7088
+ background-color: var(--color-surface-level3);
7042
7089
  cursor: pointer;
7043
- user-select: none;
7090
+ transition: border-color 0.15s ease, border-width 0.15s ease;
7091
+ overflow: hidden;
7092
+ box-sizing: border-box;
7044
7093
  }
7045
7094
 
7046
- .muka-radio--disabled {
7095
+ .muka-radio-tile--disabled {
7047
7096
  cursor: not-allowed;
7048
7097
  opacity: 0.6;
7049
7098
  }
7050
7099
 
7051
- /* Control container */
7052
- .muka-radio__control {
7053
- position: relative;
7054
- display: inline-flex;
7100
+ /* Selected state */
7101
+ .muka-radio-tile[data-checked] {
7102
+ border-width: var(--border-width-bold);
7103
+ border-color: var(--color-action-default);
7104
+ }
7105
+
7106
+ /* Vertical layout */
7107
+ .muka-radio-tile--vertical {
7108
+ flex-direction: column;
7055
7109
  align-items: center;
7056
- justify-content: center;
7110
+ gap: var(--spacing-2);
7111
+ position: relative;
7112
+ width: 160px;
7113
+ }
7114
+
7115
+ /* Radio container */
7116
+ .muka-radio-tile__radio {
7057
7117
  flex-shrink: 0;
7058
7118
  }
7059
7119
 
7060
- /* Hidden native input */
7061
- .muka-radio__input {
7120
+ /* Corner-positioned radio for vertical */
7121
+ .muka-radio-tile__radio--corner {
7062
7122
  position: absolute;
7063
- width: 1px;
7064
- height: 1px;
7065
- padding: 0;
7066
- margin: -1px;
7067
- overflow: hidden;
7068
- clip: rect(0, 0, 0, 0);
7069
- white-space: nowrap;
7070
- border: 0;
7123
+ top: var(--spacing-4);
7124
+ left: var(--spacing-4);
7071
7125
  }
7072
7126
 
7073
- /* Visual indicator (circle) */
7074
- .muka-radio__indicator {
7075
- display: flex;
7076
- align-items: center;
7077
- justify-content: center;
7078
- width: var(--radio-size-default);
7079
- height: var(--radio-size-default);
7080
- border-radius: var(--border-radius-full);
7081
- background-color: var(--radio-color-default-background);
7082
- border: var(--border-width-regular) solid var(--radio-color-default-border);
7083
- transition: all 0.15s ease;
7084
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7085
- }
7086
-
7087
- /* Size variants */
7088
- .muka-radio--sm .muka-radio__indicator {
7089
- width: var(--radio-size-sm);
7090
- height: var(--radio-size-sm);
7091
- }
7092
-
7093
- .muka-radio--lg .muka-radio__indicator {
7094
- width: var(--radio-size-lg);
7095
- height: var(--radio-size-lg);
7127
+ /* Adjust corner position when selected (border is thicker) */
7128
+ .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7129
+ top: calc(var(--spacing-4) - 1px);
7130
+ left: calc(var(--spacing-4) - 1px);
7096
7131
  }
7097
7132
 
7098
- /* Inner dot (shown when checked) */
7099
- .muka-radio__dot {
7100
- width: var(--radio-dot-size-default);
7101
- height: var(--radio-dot-size-default);
7102
- border-radius: var(--border-radius-full);
7103
- background-color: var(--radio-color-default-dot);
7104
- transform: scale(0);
7105
- transition: transform 0.15s ease;
7133
+ /* Icon */
7134
+ .muka-radio-tile__icon {
7135
+ display: flex;
7136
+ align-items: center;
7137
+ justify-content: center;
7138
+ flex-shrink: 0;
7139
+ width: var(--icon-size-default);
7140
+ height: var(--icon-size-default);
7141
+ color: var(--color-text-default-default);
7106
7142
  }
7107
7143
 
7108
- .muka-radio--sm .muka-radio__dot {
7109
- width: var(--radio-dot-size-sm);
7110
- height: var(--radio-dot-size-sm);
7144
+ .muka-radio-tile__icon svg {
7145
+ width: 100%;
7146
+ height: 100%;
7111
7147
  }
7112
7148
 
7113
- .muka-radio--lg .muka-radio__dot {
7114
- width: var(--radio-dot-size-lg);
7115
- height: var(--radio-dot-size-lg);
7149
+ /* Image */
7150
+ .muka-radio-tile__image {
7151
+ flex-shrink: 0;
7152
+ overflow: hidden;
7153
+ border-radius: var(--border-radius-sm);
7116
7154
  }
7117
7155
 
7118
- /* Hover state - removed per design */
7119
-
7120
- /* Focus state */
7121
- .muka-radio__input:focus-visible + .muka-radio__indicator {
7122
- outline: 2px solid var(--color-border-focus);
7123
- outline-offset: 2px;
7156
+ .muka-radio-tile__image img {
7157
+ display: block;
7158
+ width: 100%;
7159
+ height: 100%;
7160
+ object-fit: cover;
7124
7161
  }
7125
7162
 
7126
- /* Checked state */
7127
- .muka-radio__input:checked + .muka-radio__indicator {
7128
- background-color: var(--radio-color-checked-background);
7129
- border-width: var(--border-width-bold);
7130
- border-color: var(--radio-color-checked-border);
7131
- box-shadow: none;
7163
+ /* Horizontal image sizing */
7164
+ .muka-radio-tile__image--horizontal {
7165
+ width: 40px;
7166
+ height: 40px;
7132
7167
  }
7133
7168
 
7134
- .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7135
- background-color: var(--radio-color-checked-dot);
7136
- transform: scale(1);
7169
+ /* Vertical image sizing */
7170
+ .muka-radio-tile--vertical .muka-radio-tile__image {
7171
+ width: 100%;
7172
+ aspect-ratio: 4/3;
7137
7173
  }
7138
7174
 
7139
- /* Disabled state */
7140
- .muka-radio--disabled .muka-radio__indicator {
7141
- background-color: var(--radio-color-disabled-background);
7142
- border-color: var(--radio-color-disabled-border);
7143
- box-shadow: none;
7175
+ /* Content container */
7176
+ .muka-radio-tile__content {
7177
+ display: flex;
7178
+ flex-direction: column;
7179
+ flex: 1;
7180
+ min-width: 0;
7181
+ gap: var(--spacing-1);
7144
7182
  }
7145
7183
 
7146
- .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7147
- background-color: var(--radio-color-disabled-dot);
7184
+ /* Label */
7185
+ .muka-radio-tile__label {
7186
+ font-family: var(--text-body-lg-regular-fontFamily);
7187
+ font-weight: var(--text-body-lg-regular-fontWeight);
7188
+ font-size: var(--text-body-lg-regular-fontSize);
7189
+ line-height: var(--text-body-lg-regular-lineHeight);
7190
+ color: var(--color-text-default-default);
7148
7191
  }
7149
7192
 
7150
- /* Label text */
7151
- .muka-radio__label {
7152
- font-family: var(--text-label-lg-regular-fontFamily);
7153
- font-weight: var(--text-label-lg-regular-fontWeight);
7154
- font-size: var(--text-label-lg-regular-fontSize);
7155
- line-height: var(--text-label-lg-regular-lineHeight);
7156
- color: var(--color-text-default-default);
7193
+ .muka-radio-tile__label--bold {
7194
+ font-family: var(--text-label-lg-semibold-fontFamily);
7195
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7196
+ font-size: var(--text-label-lg-semibold-fontSize);
7197
+ line-height: var(--text-label-lg-semibold-lineHeight);
7157
7198
  }
7158
7199
 
7159
- .muka-radio--sm .muka-radio__label {
7160
- font-family: var(--text-label-md-regular-fontFamily);
7161
- font-weight: var(--text-label-md-regular-fontWeight);
7162
- font-size: var(--text-label-md-regular-fontSize);
7163
- line-height: var(--text-label-md-regular-lineHeight);
7200
+ .muka-radio-tile__label--center {
7201
+ text-align: center;
7164
7202
  }
7165
7203
 
7166
- .muka-radio--lg .muka-radio__label {
7167
- font-family: var(--text-label-xl-regular-fontFamily);
7168
- font-weight: var(--text-label-xl-regular-fontWeight);
7169
- font-size: var(--text-label-xl-regular-fontSize);
7170
- line-height: var(--text-label-xl-regular-lineHeight);
7204
+ /* Caption */
7205
+ .muka-radio-tile__caption {
7206
+ font-family: var(--text-body-base-regular-fontFamily);
7207
+ font-weight: var(--text-body-base-regular-fontWeight);
7208
+ font-size: var(--text-body-base-regular-fontSize);
7209
+ line-height: var(--text-body-base-regular-lineHeight);
7210
+ color: var(--color-text-subtle-default);
7171
7211
  }
7172
7212
 
7173
- .muka-radio--disabled .muka-radio__label {
7213
+ /* Disabled states */
7214
+ .muka-radio-tile--disabled .muka-radio-tile__label,
7215
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
7174
7216
  color: var(--color-text-subtle-default);
7175
7217
  }
7176
7218
 
@@ -7786,145 +7828,146 @@ button.muka-progress-tracker__tab:focus-visible {
7786
7828
  }
7787
7829
 
7788
7830
 
7789
- /* RadioTile */
7790
- /* RadioTile Component Styles - Using Muka Design Tokens */
7831
+ /* Radio */
7832
+ /* Radio Component Styles - Using Muka Design Tokens */
7791
7833
 
7792
- /* Base tile styles - horizontal */
7793
- .muka-radio-tile {
7794
- display: flex;
7834
+ /* Wrapper - clickable label container */
7835
+ .muka-radio {
7836
+ display: inline-flex;
7795
7837
  align-items: center;
7796
7838
  gap: var(--spacing-4);
7797
- padding: var(--spacing-4);
7798
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
7799
- border-radius: var(--input-field-radius-lg);
7800
- background-color: var(--color-surface-level3);
7801
7839
  cursor: pointer;
7802
- transition: border-color 0.15s ease, border-width 0.15s ease;
7803
- overflow: hidden;
7804
- box-sizing: border-box;
7840
+ user-select: none;
7805
7841
  }
7806
7842
 
7807
- .muka-radio-tile--disabled {
7843
+ .muka-radio--disabled {
7808
7844
  cursor: not-allowed;
7809
7845
  opacity: 0.6;
7810
7846
  }
7811
7847
 
7812
- /* Selected state */
7813
- .muka-radio-tile[data-checked] {
7814
- border-width: var(--border-width-bold);
7815
- border-color: var(--color-action-default);
7816
- }
7817
-
7818
- /* Vertical layout */
7819
- .muka-radio-tile--vertical {
7820
- flex-direction: column;
7821
- align-items: center;
7822
- gap: var(--spacing-2);
7848
+ /* Control container */
7849
+ .muka-radio__control {
7823
7850
  position: relative;
7824
- width: 160px;
7825
- }
7826
-
7827
- /* Radio container */
7828
- .muka-radio-tile__radio {
7851
+ display: inline-flex;
7852
+ align-items: center;
7853
+ justify-content: center;
7829
7854
  flex-shrink: 0;
7830
7855
  }
7831
7856
 
7832
- /* Corner-positioned radio for vertical */
7833
- .muka-radio-tile__radio--corner {
7857
+ /* Hidden native input */
7858
+ .muka-radio__input {
7834
7859
  position: absolute;
7835
- top: var(--spacing-4);
7836
- left: var(--spacing-4);
7837
- }
7838
-
7839
- /* Adjust corner position when selected (border is thicker) */
7840
- .muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
7841
- top: calc(var(--spacing-4) - 1px);
7842
- left: calc(var(--spacing-4) - 1px);
7860
+ width: 1px;
7861
+ height: 1px;
7862
+ padding: 0;
7863
+ margin: -1px;
7864
+ overflow: hidden;
7865
+ clip: rect(0, 0, 0, 0);
7866
+ white-space: nowrap;
7867
+ border: 0;
7843
7868
  }
7844
7869
 
7845
- /* Icon */
7846
- .muka-radio-tile__icon {
7870
+ /* Visual indicator (circle) */
7871
+ .muka-radio__indicator {
7847
7872
  display: flex;
7848
7873
  align-items: center;
7849
7874
  justify-content: center;
7850
- flex-shrink: 0;
7851
- width: var(--icon-size-default);
7852
- height: var(--icon-size-default);
7853
- color: var(--color-text-default-default);
7875
+ width: var(--radio-size-default);
7876
+ height: var(--radio-size-default);
7877
+ border-radius: var(--border-radius-full);
7878
+ background-color: var(--radio-color-default-background);
7879
+ border: var(--border-width-regular) solid var(--radio-color-default-border);
7880
+ transition: all 0.15s ease;
7881
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
7854
7882
  }
7855
7883
 
7856
- .muka-radio-tile__icon svg {
7857
- width: 100%;
7858
- height: 100%;
7884
+ /* Size variants */
7885
+ .muka-radio--sm .muka-radio__indicator {
7886
+ width: var(--radio-size-sm);
7887
+ height: var(--radio-size-sm);
7859
7888
  }
7860
7889
 
7861
- /* Image */
7862
- .muka-radio-tile__image {
7863
- flex-shrink: 0;
7864
- overflow: hidden;
7865
- border-radius: var(--border-radius-sm);
7890
+ .muka-radio--lg .muka-radio__indicator {
7891
+ width: var(--radio-size-lg);
7892
+ height: var(--radio-size-lg);
7866
7893
  }
7867
7894
 
7868
- .muka-radio-tile__image img {
7869
- display: block;
7870
- width: 100%;
7871
- height: 100%;
7872
- object-fit: cover;
7895
+ /* Inner dot (shown when checked) */
7896
+ .muka-radio__dot {
7897
+ width: var(--radio-dot-size-default);
7898
+ height: var(--radio-dot-size-default);
7899
+ border-radius: var(--border-radius-full);
7900
+ background-color: var(--radio-color-default-dot);
7901
+ transform: scale(0);
7902
+ transition: transform 0.15s ease;
7873
7903
  }
7874
7904
 
7875
- /* Horizontal image sizing */
7876
- .muka-radio-tile__image--horizontal {
7877
- width: 40px;
7878
- height: 40px;
7905
+ .muka-radio--sm .muka-radio__dot {
7906
+ width: var(--radio-dot-size-sm);
7907
+ height: var(--radio-dot-size-sm);
7879
7908
  }
7880
7909
 
7881
- /* Vertical image sizing */
7882
- .muka-radio-tile--vertical .muka-radio-tile__image {
7883
- width: 100%;
7884
- aspect-ratio: 4/3;
7910
+ .muka-radio--lg .muka-radio__dot {
7911
+ width: var(--radio-dot-size-lg);
7912
+ height: var(--radio-dot-size-lg);
7885
7913
  }
7886
7914
 
7887
- /* Content container */
7888
- .muka-radio-tile__content {
7889
- display: flex;
7890
- flex-direction: column;
7891
- flex: 1;
7892
- min-width: 0;
7893
- gap: var(--spacing-1);
7915
+ /* Hover state - removed per design */
7916
+
7917
+ /* Focus state */
7918
+ .muka-radio__input:focus-visible + .muka-radio__indicator {
7919
+ outline: 2px solid var(--color-border-focus);
7920
+ outline-offset: 2px;
7894
7921
  }
7895
7922
 
7896
- /* Label */
7897
- .muka-radio-tile__label {
7898
- font-family: var(--text-body-lg-regular-fontFamily);
7899
- font-weight: var(--text-body-lg-regular-fontWeight);
7900
- font-size: var(--text-body-lg-regular-fontSize);
7901
- line-height: var(--text-body-lg-regular-lineHeight);
7902
- color: var(--color-text-default-default);
7923
+ /* Checked state */
7924
+ .muka-radio__input:checked + .muka-radio__indicator {
7925
+ background-color: var(--radio-color-checked-background);
7926
+ border-width: var(--border-width-bold);
7927
+ border-color: var(--radio-color-checked-border);
7928
+ box-shadow: none;
7903
7929
  }
7904
7930
 
7905
- .muka-radio-tile__label--bold {
7906
- font-family: var(--text-label-lg-semibold-fontFamily);
7907
- font-weight: var(--text-label-lg-semibold-fontWeight);
7908
- font-size: var(--text-label-lg-semibold-fontSize);
7909
- line-height: var(--text-label-lg-semibold-lineHeight);
7931
+ .muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
7932
+ background-color: var(--radio-color-checked-dot);
7933
+ transform: scale(1);
7910
7934
  }
7911
7935
 
7912
- .muka-radio-tile__label--center {
7913
- text-align: center;
7936
+ /* Disabled state */
7937
+ .muka-radio--disabled .muka-radio__indicator {
7938
+ background-color: var(--radio-color-disabled-background);
7939
+ border-color: var(--radio-color-disabled-border);
7940
+ box-shadow: none;
7914
7941
  }
7915
7942
 
7916
- /* Caption */
7917
- .muka-radio-tile__caption {
7918
- font-family: var(--text-body-base-regular-fontFamily);
7919
- font-weight: var(--text-body-base-regular-fontWeight);
7920
- font-size: var(--text-body-base-regular-fontSize);
7921
- line-height: var(--text-body-base-regular-lineHeight);
7922
- color: var(--color-text-subtle-default);
7943
+ .muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
7944
+ background-color: var(--radio-color-disabled-dot);
7923
7945
  }
7924
7946
 
7925
- /* Disabled states */
7926
- .muka-radio-tile--disabled .muka-radio-tile__label,
7927
- .muka-radio-tile--disabled .muka-radio-tile__icon {
7947
+ /* Label text */
7948
+ .muka-radio__label {
7949
+ font-family: var(--text-label-lg-regular-fontFamily);
7950
+ font-weight: var(--text-label-lg-regular-fontWeight);
7951
+ font-size: var(--text-label-lg-regular-fontSize);
7952
+ line-height: var(--text-label-lg-regular-lineHeight);
7953
+ color: var(--color-text-default-default);
7954
+ }
7955
+
7956
+ .muka-radio--sm .muka-radio__label {
7957
+ font-family: var(--text-label-md-regular-fontFamily);
7958
+ font-weight: var(--text-label-md-regular-fontWeight);
7959
+ font-size: var(--text-label-md-regular-fontSize);
7960
+ line-height: var(--text-label-md-regular-lineHeight);
7961
+ }
7962
+
7963
+ .muka-radio--lg .muka-radio__label {
7964
+ font-family: var(--text-label-xl-regular-fontFamily);
7965
+ font-weight: var(--text-label-xl-regular-fontWeight);
7966
+ font-size: var(--text-label-xl-regular-fontSize);
7967
+ line-height: var(--text-label-xl-regular-lineHeight);
7968
+ }
7969
+
7970
+ .muka-radio--disabled .muka-radio__label {
7928
7971
  color: var(--color-text-subtle-default);
7929
7972
  }
7930
7973
 
@@ -8473,37 +8516,6 @@ button.muka-progress-tracker__tab:focus-visible {
8473
8516
  }
8474
8517
 
8475
8518
 
8476
- /* Popover */
8477
- /* Popover Component Styles */
8478
-
8479
- .muka-popover__content {
8480
- background-color: var(--color-surface-level3);
8481
- border: var(--border-width-regular) solid var(--color-border-default);
8482
- border-radius: var(--radius-md);
8483
- padding: var(--spacing-4);
8484
- box-shadow: var(--shadow-level3);
8485
- max-width: 20rem;
8486
- z-index: 50;
8487
- animation: muka-popover-fade-in 150ms ease;
8488
- }
8489
-
8490
- @keyframes muka-popover-fade-in {
8491
- from {
8492
- opacity: 0;
8493
- transform: scale(0.96);
8494
- }
8495
- to {
8496
- opacity: 1;
8497
- transform: scale(1);
8498
- }
8499
- }
8500
-
8501
- /* Arrow */
8502
- .muka-popover__arrow {
8503
- fill: var(--color-surface-level3);
8504
- }
8505
-
8506
-
8507
8519
  /* PriceTag */
8508
8520
  /* PriceTag Component Styles - Using Muka Design Tokens */
8509
8521
 
@@ -8601,6 +8613,37 @@ button.muka-progress-tracker__tab:focus-visible {
8601
8613
  }
8602
8614
 
8603
8615
 
8616
+ /* Popover */
8617
+ /* Popover Component Styles */
8618
+
8619
+ .muka-popover__content {
8620
+ background-color: var(--color-surface-level3);
8621
+ border: var(--border-width-regular) solid var(--color-border-default);
8622
+ border-radius: var(--radius-md);
8623
+ padding: var(--spacing-4);
8624
+ box-shadow: var(--shadow-level3);
8625
+ max-width: 20rem;
8626
+ z-index: 50;
8627
+ animation: muka-popover-fade-in 150ms ease;
8628
+ }
8629
+
8630
+ @keyframes muka-popover-fade-in {
8631
+ from {
8632
+ opacity: 0;
8633
+ transform: scale(0.96);
8634
+ }
8635
+ to {
8636
+ opacity: 1;
8637
+ transform: scale(1);
8638
+ }
8639
+ }
8640
+
8641
+ /* Arrow */
8642
+ .muka-popover__arrow {
8643
+ fill: var(--color-surface-level3);
8644
+ }
8645
+
8646
+
8604
8647
  /* PlanningGantt */
8605
8648
  /* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
8606
8649
 
@@ -8998,6 +9041,103 @@ button.muka-progress-tracker__tab:focus-visible {
8998
9041
  }
8999
9042
 
9000
9043
 
9044
+ /* PieChart */
9045
+ /* PieChart Component Styles - Using Muka Design Tokens */
9046
+
9047
+ .muka-piechart {
9048
+ display: inline-flex;
9049
+ align-items: center;
9050
+ gap: var(--spacing-4);
9051
+ }
9052
+
9053
+ /* Legend layout */
9054
+ .muka-piechart--legend-right {
9055
+ flex-direction: row;
9056
+ }
9057
+
9058
+ .muka-piechart--legend-bottom {
9059
+ flex-direction: column;
9060
+ }
9061
+
9062
+ /* ========================================
9063
+ CHART
9064
+ ======================================== */
9065
+
9066
+ .muka-piechart__chart {
9067
+ position: relative;
9068
+ flex-shrink: 0;
9069
+ }
9070
+
9071
+ .muka-piechart__chart--sm {
9072
+ width: var(--piechart-size-diameter-sm);
9073
+ height: var(--piechart-size-diameter-sm);
9074
+ }
9075
+
9076
+ .muka-piechart__chart--md {
9077
+ width: var(--piechart-size-diameter-md);
9078
+ height: var(--piechart-size-diameter-md);
9079
+ }
9080
+
9081
+ .muka-piechart__chart--lg {
9082
+ width: var(--piechart-size-diameter-lg);
9083
+ height: var(--piechart-size-diameter-lg);
9084
+ }
9085
+
9086
+ .muka-piechart__svg {
9087
+ display: block;
9088
+ width: 100%;
9089
+ height: 100%;
9090
+ /* Start slices at 12 o'clock instead of 3 o'clock */
9091
+ transform: rotate(-90deg);
9092
+ }
9093
+
9094
+ .muka-piechart__track {
9095
+ fill: none;
9096
+ stroke: var(--piechart-color-track);
9097
+ }
9098
+
9099
+ .muka-piechart__segment {
9100
+ fill: none;
9101
+ }
9102
+
9103
+ /* ========================================
9104
+ LEGEND
9105
+ ======================================== */
9106
+
9107
+ .muka-piechart__legend {
9108
+ list-style: none;
9109
+ margin: 0;
9110
+ padding: 0;
9111
+ display: flex;
9112
+ flex-direction: column;
9113
+ gap: var(--spacing-1);
9114
+ }
9115
+
9116
+ .muka-piechart__legend-item {
9117
+ display: flex;
9118
+ align-items: center;
9119
+ gap: var(--spacing-2);
9120
+ font-family: var(--text-body-sm-regular-fontFamily);
9121
+ font-weight: var(--text-body-sm-regular-fontWeight);
9122
+ font-size: var(--text-body-sm-regular-fontSize);
9123
+ line-height: var(--text-body-sm-regular-lineHeight);
9124
+ color: var(--color-text-default-default);
9125
+ }
9126
+
9127
+ .muka-piechart__swatch {
9128
+ flex-shrink: 0;
9129
+ width: var(--spacing-3);
9130
+ height: var(--spacing-3);
9131
+ border-radius: var(--border-radius-sm);
9132
+ }
9133
+
9134
+ .muka-piechart__legend-value {
9135
+ margin-left: auto;
9136
+ padding-left: var(--spacing-2);
9137
+ color: var(--color-text-subtle-default);
9138
+ }
9139
+
9140
+
9001
9141
  /* PhotoUploader */
9002
9142
  /* PhotoUploader Component Styles - Using Muka Design Tokens */
9003
9143
 
@@ -9165,113 +9305,16 @@ button.muka-progress-tracker__tab:focus-visible {
9165
9305
  }
9166
9306
 
9167
9307
 
9168
- /* PieChart */
9169
- /* PieChart Component Styles - Using Muka Design Tokens */
9308
+ /* Pagination */
9309
+ /* Pagination Component Styles */
9170
9310
 
9171
- .muka-piechart {
9172
- display: inline-flex;
9311
+ .muka-pagination__list {
9312
+ display: flex;
9173
9313
  align-items: center;
9174
- gap: var(--spacing-4);
9175
- }
9176
-
9177
- /* Legend layout */
9178
- .muka-piechart--legend-right {
9179
- flex-direction: row;
9180
- }
9181
-
9182
- .muka-piechart--legend-bottom {
9183
- flex-direction: column;
9184
- }
9185
-
9186
- /* ========================================
9187
- CHART
9188
- ======================================== */
9189
-
9190
- .muka-piechart__chart {
9191
- position: relative;
9192
- flex-shrink: 0;
9193
- }
9194
-
9195
- .muka-piechart__chart--sm {
9196
- width: var(--piechart-size-diameter-sm);
9197
- height: var(--piechart-size-diameter-sm);
9198
- }
9199
-
9200
- .muka-piechart__chart--md {
9201
- width: var(--piechart-size-diameter-md);
9202
- height: var(--piechart-size-diameter-md);
9203
- }
9204
-
9205
- .muka-piechart__chart--lg {
9206
- width: var(--piechart-size-diameter-lg);
9207
- height: var(--piechart-size-diameter-lg);
9208
- }
9209
-
9210
- .muka-piechart__svg {
9211
- display: block;
9212
- width: 100%;
9213
- height: 100%;
9214
- /* Start slices at 12 o'clock instead of 3 o'clock */
9215
- transform: rotate(-90deg);
9216
- }
9217
-
9218
- .muka-piechart__track {
9219
- fill: none;
9220
- stroke: var(--piechart-color-track);
9221
- }
9222
-
9223
- .muka-piechart__segment {
9224
- fill: none;
9225
- }
9226
-
9227
- /* ========================================
9228
- LEGEND
9229
- ======================================== */
9230
-
9231
- .muka-piechart__legend {
9232
- list-style: none;
9233
- margin: 0;
9234
- padding: 0;
9235
- display: flex;
9236
- flex-direction: column;
9237
- gap: var(--spacing-1);
9238
- }
9239
-
9240
- .muka-piechart__legend-item {
9241
- display: flex;
9242
- align-items: center;
9243
- gap: var(--spacing-2);
9244
- font-family: var(--text-body-sm-regular-fontFamily);
9245
- font-weight: var(--text-body-sm-regular-fontWeight);
9246
- font-size: var(--text-body-sm-regular-fontSize);
9247
- line-height: var(--text-body-sm-regular-lineHeight);
9248
- color: var(--color-text-default-default);
9249
- }
9250
-
9251
- .muka-piechart__swatch {
9252
- flex-shrink: 0;
9253
- width: var(--spacing-3);
9254
- height: var(--spacing-3);
9255
- border-radius: var(--border-radius-sm);
9256
- }
9257
-
9258
- .muka-piechart__legend-value {
9259
- margin-left: auto;
9260
- padding-left: var(--spacing-2);
9261
- color: var(--color-text-subtle-default);
9262
- }
9263
-
9264
-
9265
- /* Pagination */
9266
- /* Pagination Component Styles */
9267
-
9268
- .muka-pagination__list {
9269
- display: flex;
9270
- align-items: center;
9271
- gap: var(--spacing-1);
9272
- list-style: none;
9273
- margin: 0;
9274
- padding: 0;
9314
+ gap: var(--spacing-1);
9315
+ list-style: none;
9316
+ margin: 0;
9317
+ padding: 0;
9275
9318
  }
9276
9319
 
9277
9320
  /* Base button */
@@ -9444,34 +9487,6 @@ button.muka-progress-tracker__tab:focus-visible {
9444
9487
  }
9445
9488
 
9446
9489
 
9447
- /* NavigationTransition */
9448
- /* NavigationTransition Component Styles */
9449
-
9450
- /* ─── Wrapper ────────────────────────────────────────── */
9451
-
9452
- .muka-nav-transition {
9453
- position: relative;
9454
- height: 100vh;
9455
- overflow: hidden;
9456
- }
9457
-
9458
- /* Disable interaction during animation */
9459
- .muka-nav-transition--active {
9460
- pointer-events: none;
9461
- }
9462
-
9463
- /* ─── View slots ─────────────────────────────────────── */
9464
-
9465
- .muka-nav-transition--active .muka-nav-transition__view {
9466
- position: absolute;
9467
- inset: 0;
9468
- }
9469
-
9470
- /* Z-index layering */
9471
- .muka-nav-transition__view--bottom { z-index: 1; }
9472
- .muka-nav-transition__view--top { z-index: 2; }
9473
-
9474
-
9475
9490
  /* NumberInput */
9476
9491
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
9477
9492
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9502,6 +9517,34 @@ button.muka-progress-tracker__tab:focus-visible {
9502
9517
  }
9503
9518
 
9504
9519
 
9520
+ /* NavigationTransition */
9521
+ /* NavigationTransition Component Styles */
9522
+
9523
+ /* ─── Wrapper ────────────────────────────────────────── */
9524
+
9525
+ .muka-nav-transition {
9526
+ position: relative;
9527
+ height: 100vh;
9528
+ overflow: hidden;
9529
+ }
9530
+
9531
+ /* Disable interaction during animation */
9532
+ .muka-nav-transition--active {
9533
+ pointer-events: none;
9534
+ }
9535
+
9536
+ /* ─── View slots ─────────────────────────────────────── */
9537
+
9538
+ .muka-nav-transition--active .muka-nav-transition__view {
9539
+ position: absolute;
9540
+ inset: 0;
9541
+ }
9542
+
9543
+ /* Z-index layering */
9544
+ .muka-nav-transition__view--bottom { z-index: 1; }
9545
+ .muka-nav-transition__view--top { z-index: 2; }
9546
+
9547
+
9505
9548
  /* Menu */
9506
9549
  /* Menu Component Styles */
9507
9550
 
@@ -10772,257 +10815,79 @@ li.muka-listitem {
10772
10815
  }
10773
10816
 
10774
10817
 
10775
- /* InputCounter */
10776
- /* InputCounter — numeric field + joined decrement/increment buttons.
10777
- Label, helper and error text reuse Input.css (../Input/Input.css).
10778
- Field and button group share one radius per size:
10779
- sm/md → input.field.radius.md, lg → input.field.radius.lg. */
10780
-
10781
- .muka-inputcounter {
10782
- --muka-inputcounter-radius: var(--input-field-radius-md);
10783
- --muka-inputcounter-height: var(--input-field-height-default);
10784
- --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
10785
- --muka-inputcounter-min: var(--size-3xl);
10818
+ /* Input */
10819
+ /* Input Component Styles - Using Muka Design Tokens */
10786
10820
 
10821
+ /* Wrapper — label, field, helper spacing per Figma */
10822
+ .muka-input {
10787
10823
  display: inline-flex;
10788
10824
  flex-direction: column;
10789
10825
  gap: var(--spacing-2);
10790
10826
  }
10791
10827
 
10792
- .muka-inputcounter--sm {
10793
- --muka-inputcounter-height: var(--input-field-height-sm);
10794
- --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
10795
- --muka-inputcounter-min: var(--size-2xl);
10796
- }
10797
-
10798
- .muka-inputcounter--lg {
10799
- --muka-inputcounter-radius: var(--input-field-radius-lg);
10800
- --muka-inputcounter-height: var(--input-field-height-lg);
10828
+ .muka-input--full-width {
10829
+ width: 100%;
10801
10830
  }
10802
10831
 
10803
- /* Label row — label, info tooltip trigger, optional hint */
10804
- .muka-inputcounter__label-row {
10805
- display: flex;
10806
- align-items: center;
10807
- gap: var(--spacing-2);
10808
- min-height: var(--size-xl);
10832
+ /* Label */
10833
+ .muka-input__label {
10834
+ color: var(--color-text-default-default);
10835
+ cursor: pointer;
10809
10836
  }
10810
10837
 
10811
- .muka-inputcounter__info {
10812
- display: inline-flex;
10813
- align-items: center;
10814
- justify-content: center;
10815
- padding: 0;
10816
- border: none;
10817
- border-radius: 50%;
10818
- background: transparent;
10819
- cursor: pointer;
10838
+ .muka-input__label--sm {
10839
+ font-family: var(--text-label-sm-semibold-fontFamily);
10840
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10841
+ font-size: var(--text-label-sm-semibold-fontSize);
10842
+ line-height: var(--text-label-sm-semibold-lineHeight);
10820
10843
  }
10821
10844
 
10822
- .muka-inputcounter__info .muka-icon {
10823
- color: var(--color-action-default);
10845
+ .muka-input__label--md {
10846
+ font-family: var(--text-label-md-semibold-fontFamily);
10847
+ font-weight: var(--text-label-md-semibold-fontWeight);
10848
+ font-size: var(--text-label-md-semibold-fontSize);
10849
+ line-height: var(--text-label-md-semibold-lineHeight);
10824
10850
  }
10825
10851
 
10826
- .muka-inputcounter__info:focus-visible {
10827
- outline: 2px solid var(--color-border-focus);
10828
- outline-offset: 2px;
10852
+ .muka-input__label--lg {
10853
+ font-family: var(--text-label-lg-semibold-fontFamily);
10854
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10855
+ font-size: var(--text-label-lg-semibold-fontSize);
10856
+ line-height: var(--text-label-lg-semibold-lineHeight);
10829
10857
  }
10830
10858
 
10831
- .muka-inputcounter__optional {
10832
- font-family: var(--text-label-sm-regular-fontFamily);
10833
- font-weight: var(--text-label-sm-regular-fontWeight);
10834
- font-size: var(--text-label-sm-regular-fontSize);
10835
- line-height: var(--text-label-sm-regular-lineHeight);
10836
- color: var(--color-text-subtle-default);
10859
+ .muka-input__required {
10860
+ color: var(--color-state-error-default);
10837
10861
  }
10838
10862
 
10839
- /* Field + button group */
10840
- .muka-inputcounter__row {
10841
- display: flex;
10842
- align-items: center;
10843
- gap: var(--spacing-3);
10863
+ .muka-input__label--sm + .muka-input__field--disabled,
10864
+ .muka-input__label--md + .muka-input__field--disabled,
10865
+ .muka-input__label--lg + .muka-input__field--disabled {
10866
+ cursor: not-allowed;
10844
10867
  }
10845
10868
 
10846
- /* Field — grows with the value (in ch), never narrower than the Figma width.
10847
- Padding sits on the native input so the 2px focus/error border doesn't
10848
- need compensating: content is centred in a fixed box. */
10849
- .muka-inputcounter__field {
10850
- position: relative;
10869
+ /* Field container — default/hover: 1px border. Radius per Figma (812-10825): input field tokens. */
10870
+ .muka-input__field {
10851
10871
  display: flex;
10852
10872
  align-items: center;
10853
- box-sizing: border-box;
10854
- height: var(--muka-inputcounter-height);
10855
- width: calc(
10856
- max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
10857
- 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
10858
- );
10873
+ gap: var(--spacing-2);
10859
10874
  background-color: var(--input-field-color-default-background);
10860
10875
  border: var(--border-width-regular) solid var(--input-field-color-default-border);
10861
- border-radius: var(--muka-inputcounter-radius);
10876
+ border-radius: var(--input-field-radius-md);
10877
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
10862
10878
  transition: border-color 0.2s ease, background-color 0.2s ease;
10879
+ cursor: text;
10880
+ position: relative;
10881
+ box-sizing: border-box;
10863
10882
  }
10864
10883
 
10865
- .muka-inputcounter__field::after {
10884
+ /* Subtle inset shadow — single line so it doesn’t read as a second border */
10885
+ .muka-input__field::after {
10866
10886
  content: '';
10867
10887
  position: absolute;
10868
10888
  inset: 0;
10869
10889
  border-radius: inherit;
10870
- box-shadow: var(--shadow-sunken);
10871
- pointer-events: none;
10872
- }
10873
-
10874
- .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
10875
- border-width: var(--border-width-bold);
10876
- border-color: var(--input-field-color-focus-border);
10877
- background-color: var(--input-field-color-focus-background);
10878
- }
10879
-
10880
- .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
10881
- border-width: var(--border-width-bold);
10882
- border-color: var(--input-field-color-error-border);
10883
- background-color: var(--input-field-color-error-background);
10884
- }
10885
-
10886
- .muka-inputcounter__field--disabled {
10887
- background-color: var(--input-field-color-disabled-background);
10888
- border-color: var(--input-field-color-disabled-border);
10889
- }
10890
-
10891
- .muka-inputcounter__field--disabled::after {
10892
- display: none;
10893
- }
10894
-
10895
- .muka-inputcounter__native {
10896
- width: 100%;
10897
- min-width: 0;
10898
- height: 100%;
10899
- box-sizing: border-box;
10900
- padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
10901
- border: none;
10902
- outline: none;
10903
- background: transparent;
10904
- text-align: center;
10905
- font-variant-numeric: tabular-nums;
10906
- color: var(--input-field-color-default-foreground);
10907
- font-family: var(--text-input-md-fontFamily);
10908
- font-weight: var(--text-input-md-fontWeight);
10909
- font-size: var(--text-input-md-fontSize);
10910
- line-height: var(--text-input-md-lineHeight);
10911
- }
10912
-
10913
- .muka-inputcounter--sm .muka-inputcounter__native {
10914
- font-family: var(--text-input-sm-fontFamily);
10915
- font-weight: var(--text-input-sm-fontWeight);
10916
- font-size: var(--text-input-sm-fontSize);
10917
- line-height: var(--text-input-sm-lineHeight);
10918
- }
10919
-
10920
- .muka-inputcounter__field--disabled .muka-inputcounter__native {
10921
- color: var(--input-field-color-disabled-foreground);
10922
- cursor: not-allowed;
10923
- }
10924
-
10925
- /* Button group — secondary icon-only Buttons joined by a divider.
10926
- Only the outer corners are rounded. */
10927
- .muka-inputcounter__group {
10928
- display: inline-flex;
10929
- align-items: stretch;
10930
- }
10931
-
10932
- .muka-inputcounter__group .muka-button {
10933
- border-radius: 0;
10934
- }
10935
-
10936
- .muka-inputcounter__group .muka-button:first-child {
10937
- border-start-start-radius: var(--muka-inputcounter-radius);
10938
- border-end-start-radius: var(--muka-inputcounter-radius);
10939
- }
10940
-
10941
- .muka-inputcounter__group .muka-button:last-child {
10942
- border-start-end-radius: var(--muka-inputcounter-radius);
10943
- border-end-end-radius: var(--muka-inputcounter-radius);
10944
- }
10945
-
10946
- .muka-inputcounter__divider {
10947
- flex: none;
10948
- width: var(--border-width-regular);
10949
- background-color: var(--color-border-default);
10950
- }
10951
-
10952
-
10953
- /* Input */
10954
- /* Input Component Styles - Using Muka Design Tokens */
10955
-
10956
- /* Wrapper — label, field, helper spacing per Figma */
10957
- .muka-input {
10958
- display: inline-flex;
10959
- flex-direction: column;
10960
- gap: var(--spacing-2);
10961
- }
10962
-
10963
- .muka-input--full-width {
10964
- width: 100%;
10965
- }
10966
-
10967
- /* Label */
10968
- .muka-input__label {
10969
- color: var(--color-text-default-default);
10970
- cursor: pointer;
10971
- }
10972
-
10973
- .muka-input__label--sm {
10974
- font-family: var(--text-label-sm-semibold-fontFamily);
10975
- font-weight: var(--text-label-sm-semibold-fontWeight);
10976
- font-size: var(--text-label-sm-semibold-fontSize);
10977
- line-height: var(--text-label-sm-semibold-lineHeight);
10978
- }
10979
-
10980
- .muka-input__label--md {
10981
- font-family: var(--text-label-md-semibold-fontFamily);
10982
- font-weight: var(--text-label-md-semibold-fontWeight);
10983
- font-size: var(--text-label-md-semibold-fontSize);
10984
- line-height: var(--text-label-md-semibold-lineHeight);
10985
- }
10986
-
10987
- .muka-input__label--lg {
10988
- font-family: var(--text-label-lg-semibold-fontFamily);
10989
- font-weight: var(--text-label-lg-semibold-fontWeight);
10990
- font-size: var(--text-label-lg-semibold-fontSize);
10991
- line-height: var(--text-label-lg-semibold-lineHeight);
10992
- }
10993
-
10994
- .muka-input__required {
10995
- color: var(--color-state-error-default);
10996
- }
10997
-
10998
- .muka-input__label--sm + .muka-input__field--disabled,
10999
- .muka-input__label--md + .muka-input__field--disabled,
11000
- .muka-input__label--lg + .muka-input__field--disabled {
11001
- cursor: not-allowed;
11002
- }
11003
-
11004
- /* Field container — default/hover: 1px border. Radius per Figma (812-10825): input field tokens. */
11005
- .muka-input__field {
11006
- display: flex;
11007
- align-items: center;
11008
- gap: var(--spacing-2);
11009
- background-color: var(--input-field-color-default-background);
11010
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
11011
- border-radius: var(--input-field-radius-md);
11012
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
11013
- transition: border-color 0.2s ease, background-color 0.2s ease;
11014
- cursor: text;
11015
- position: relative;
11016
- box-sizing: border-box;
11017
- }
11018
-
11019
- /* Subtle inset shadow — single line so it doesn’t read as a second border */
11020
- .muka-input__field::after {
11021
- content: '';
11022
- position: absolute;
11023
- inset: 0;
11024
- border-radius: inherit;
11025
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
10890
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
11026
10891
  pointer-events: none;
11027
10892
  }
11028
10893
 
@@ -11285,86 +11150,264 @@ li.muka-listitem {
11285
11150
  }
11286
11151
 
11287
11152
 
11288
- /* Form */
11289
- .muka-form {
11290
- display: flex;
11291
- flex-direction: column;
11292
- width: 100%;
11293
- }
11153
+ /* InputCounter */
11154
+ /* InputCounter — numeric field + joined decrement/increment buttons.
11155
+ Label, helper and error text reuse Input.css (../Input/Input.css).
11156
+ Field and button group share one radius per size:
11157
+ sm/md → input.field.radius.md, lg → input.field.radius.lg. */
11294
11158
 
11295
- .muka-form--gap-sm {
11296
- gap: var(--size-sm);
11297
- }
11159
+ .muka-inputcounter {
11160
+ --muka-inputcounter-radius: var(--input-field-radius-md);
11161
+ --muka-inputcounter-height: var(--input-field-height-default);
11162
+ --muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
11163
+ --muka-inputcounter-min: var(--size-3xl);
11298
11164
 
11299
- .muka-form--gap-md {
11300
- gap: var(--size-md);
11165
+ display: inline-flex;
11166
+ flex-direction: column;
11167
+ gap: var(--spacing-2);
11301
11168
  }
11302
11169
 
11303
- .muka-form--gap-lg {
11304
- gap: var(--size-lg);
11170
+ .muka-inputcounter--sm {
11171
+ --muka-inputcounter-height: var(--input-field-height-sm);
11172
+ --muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
11173
+ --muka-inputcounter-min: var(--size-2xl);
11305
11174
  }
11306
11175
 
11176
+ .muka-inputcounter--lg {
11177
+ --muka-inputcounter-radius: var(--input-field-radius-lg);
11178
+ --muka-inputcounter-height: var(--input-field-height-lg);
11179
+ }
11307
11180
 
11308
- /* FileUpload */
11309
- /* FileUpload Component Styles */
11310
-
11311
- .muka-fileupload-wrapper {
11181
+ /* Label row — label, info tooltip trigger, optional hint */
11182
+ .muka-inputcounter__label-row {
11312
11183
  display: flex;
11313
- flex-direction: column;
11314
- gap: var(--spacing-3);
11315
- width: 100%;
11184
+ align-items: center;
11185
+ gap: var(--spacing-2);
11186
+ min-height: var(--size-xl);
11316
11187
  }
11317
11188
 
11318
- /* Dropzone */
11319
- .muka-fileupload {
11320
- display: flex;
11321
- flex-direction: column;
11189
+ .muka-inputcounter__info {
11190
+ display: inline-flex;
11322
11191
  align-items: center;
11323
11192
  justify-content: center;
11324
- gap: var(--fileupload-dropzone-gap);
11325
- padding: var(--fileupload-dropzone-padding-md);
11326
- background-color: var(--fileupload-dropzone-color-default-background);
11327
- border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11328
- border-radius: var(--fileupload-dropzone-radius);
11193
+ padding: 0;
11194
+ border: none;
11195
+ border-radius: 50%;
11196
+ background: transparent;
11329
11197
  cursor: pointer;
11330
- transition: background-color 0.2s ease, border-color 0.2s ease;
11331
- text-align: center;
11332
- min-height: 120px;
11333
- }
11334
-
11335
- .muka-fileupload:focus-visible {
11336
- outline: 2px solid var(--color-border-focus);
11337
- outline-offset: 2px;
11338
11198
  }
11339
11199
 
11340
- /* Size variants */
11341
- .muka-fileupload--sm {
11342
- padding: var(--fileupload-dropzone-padding-sm);
11343
- min-height: 80px;
11200
+ .muka-inputcounter__info .muka-icon {
11201
+ color: var(--color-action-default);
11344
11202
  }
11345
11203
 
11346
- .muka-fileupload--lg {
11347
- padding: var(--fileupload-dropzone-padding-lg);
11348
- min-height: 160px;
11204
+ .muka-inputcounter__info:focus-visible {
11205
+ outline: 2px solid var(--color-border-focus);
11206
+ outline-offset: 2px;
11349
11207
  }
11350
11208
 
11351
- /* Button variant */
11352
- .muka-fileupload--button {
11353
- flex-direction: row;
11354
- min-height: auto;
11355
- padding: var(--spacing-2) var(--spacing-3);
11356
- border-style: solid;
11357
- border-width: var(--border-width-regular);
11358
- border-radius: var(--border-radius-md);
11209
+ .muka-inputcounter__optional {
11210
+ font-family: var(--text-label-sm-regular-fontFamily);
11211
+ font-weight: var(--text-label-sm-regular-fontWeight);
11212
+ font-size: var(--text-label-sm-regular-fontSize);
11213
+ line-height: var(--text-label-sm-regular-lineHeight);
11214
+ color: var(--color-text-subtle-default);
11359
11215
  }
11360
11216
 
11361
- /* Hover state */
11362
- .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11363
- background-color: var(--fileupload-dropzone-color-hover-background);
11364
- border-color: var(--fileupload-dropzone-color-hover-border);
11217
+ /* Field + button group */
11218
+ .muka-inputcounter__row {
11219
+ display: flex;
11220
+ align-items: center;
11221
+ gap: var(--spacing-3);
11365
11222
  }
11366
11223
 
11367
- /* Active/drag state */
11224
+ /* Field — grows with the value (in ch), never narrower than the Figma width.
11225
+ Padding sits on the native input so the 2px focus/error border doesn't
11226
+ need compensating: content is centred in a fixed box. */
11227
+ .muka-inputcounter__field {
11228
+ position: relative;
11229
+ display: flex;
11230
+ align-items: center;
11231
+ box-sizing: border-box;
11232
+ height: var(--muka-inputcounter-height);
11233
+ width: calc(
11234
+ max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
11235
+ 2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
11236
+ );
11237
+ background-color: var(--input-field-color-default-background);
11238
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
11239
+ border-radius: var(--muka-inputcounter-radius);
11240
+ transition: border-color 0.2s ease, background-color 0.2s ease;
11241
+ }
11242
+
11243
+ .muka-inputcounter__field::after {
11244
+ content: '';
11245
+ position: absolute;
11246
+ inset: 0;
11247
+ border-radius: inherit;
11248
+ box-shadow: var(--shadow-sunken);
11249
+ pointer-events: none;
11250
+ }
11251
+
11252
+ .muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
11253
+ border-width: var(--border-width-bold);
11254
+ border-color: var(--input-field-color-focus-border);
11255
+ background-color: var(--input-field-color-focus-background);
11256
+ }
11257
+
11258
+ .muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
11259
+ border-width: var(--border-width-bold);
11260
+ border-color: var(--input-field-color-error-border);
11261
+ background-color: var(--input-field-color-error-background);
11262
+ }
11263
+
11264
+ .muka-inputcounter__field--disabled {
11265
+ background-color: var(--input-field-color-disabled-background);
11266
+ border-color: var(--input-field-color-disabled-border);
11267
+ }
11268
+
11269
+ .muka-inputcounter__field--disabled::after {
11270
+ display: none;
11271
+ }
11272
+
11273
+ .muka-inputcounter__native {
11274
+ width: 100%;
11275
+ min-width: 0;
11276
+ height: 100%;
11277
+ box-sizing: border-box;
11278
+ padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
11279
+ border: none;
11280
+ outline: none;
11281
+ background: transparent;
11282
+ text-align: center;
11283
+ font-variant-numeric: tabular-nums;
11284
+ color: var(--input-field-color-default-foreground);
11285
+ font-family: var(--text-input-md-fontFamily);
11286
+ font-weight: var(--text-input-md-fontWeight);
11287
+ font-size: var(--text-input-md-fontSize);
11288
+ line-height: var(--text-input-md-lineHeight);
11289
+ }
11290
+
11291
+ .muka-inputcounter--sm .muka-inputcounter__native {
11292
+ font-family: var(--text-input-sm-fontFamily);
11293
+ font-weight: var(--text-input-sm-fontWeight);
11294
+ font-size: var(--text-input-sm-fontSize);
11295
+ line-height: var(--text-input-sm-lineHeight);
11296
+ }
11297
+
11298
+ .muka-inputcounter__field--disabled .muka-inputcounter__native {
11299
+ color: var(--input-field-color-disabled-foreground);
11300
+ cursor: not-allowed;
11301
+ }
11302
+
11303
+ /* Button group — secondary icon-only Buttons joined by a divider.
11304
+ Only the outer corners are rounded. */
11305
+ .muka-inputcounter__group {
11306
+ display: inline-flex;
11307
+ align-items: stretch;
11308
+ }
11309
+
11310
+ .muka-inputcounter__group .muka-button {
11311
+ border-radius: 0;
11312
+ }
11313
+
11314
+ .muka-inputcounter__group .muka-button:first-child {
11315
+ border-start-start-radius: var(--muka-inputcounter-radius);
11316
+ border-end-start-radius: var(--muka-inputcounter-radius);
11317
+ }
11318
+
11319
+ .muka-inputcounter__group .muka-button:last-child {
11320
+ border-start-end-radius: var(--muka-inputcounter-radius);
11321
+ border-end-end-radius: var(--muka-inputcounter-radius);
11322
+ }
11323
+
11324
+ .muka-inputcounter__divider {
11325
+ flex: none;
11326
+ width: var(--border-width-regular);
11327
+ background-color: var(--color-border-default);
11328
+ }
11329
+
11330
+
11331
+ /* Form */
11332
+ .muka-form {
11333
+ display: flex;
11334
+ flex-direction: column;
11335
+ width: 100%;
11336
+ }
11337
+
11338
+ .muka-form--gap-sm {
11339
+ gap: var(--size-sm);
11340
+ }
11341
+
11342
+ .muka-form--gap-md {
11343
+ gap: var(--size-md);
11344
+ }
11345
+
11346
+ .muka-form--gap-lg {
11347
+ gap: var(--size-lg);
11348
+ }
11349
+
11350
+
11351
+ /* FileUpload */
11352
+ /* FileUpload Component Styles */
11353
+
11354
+ .muka-fileupload-wrapper {
11355
+ display: flex;
11356
+ flex-direction: column;
11357
+ gap: var(--spacing-3);
11358
+ width: 100%;
11359
+ }
11360
+
11361
+ /* Dropzone */
11362
+ .muka-fileupload {
11363
+ display: flex;
11364
+ flex-direction: column;
11365
+ align-items: center;
11366
+ justify-content: center;
11367
+ gap: var(--fileupload-dropzone-gap);
11368
+ padding: var(--fileupload-dropzone-padding-md);
11369
+ background-color: var(--fileupload-dropzone-color-default-background);
11370
+ border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
11371
+ border-radius: var(--fileupload-dropzone-radius);
11372
+ cursor: pointer;
11373
+ transition: background-color 0.2s ease, border-color 0.2s ease;
11374
+ text-align: center;
11375
+ min-height: 120px;
11376
+ }
11377
+
11378
+ .muka-fileupload:focus-visible {
11379
+ outline: 2px solid var(--color-border-focus);
11380
+ outline-offset: 2px;
11381
+ }
11382
+
11383
+ /* Size variants */
11384
+ .muka-fileupload--sm {
11385
+ padding: var(--fileupload-dropzone-padding-sm);
11386
+ min-height: 80px;
11387
+ }
11388
+
11389
+ .muka-fileupload--lg {
11390
+ padding: var(--fileupload-dropzone-padding-lg);
11391
+ min-height: 160px;
11392
+ }
11393
+
11394
+ /* Button variant */
11395
+ .muka-fileupload--button {
11396
+ flex-direction: row;
11397
+ min-height: auto;
11398
+ padding: var(--spacing-2) var(--spacing-3);
11399
+ border-style: solid;
11400
+ border-width: var(--border-width-regular);
11401
+ border-radius: var(--border-radius-md);
11402
+ }
11403
+
11404
+ /* Hover state */
11405
+ .muka-fileupload:hover:not(.muka-fileupload--disabled) {
11406
+ background-color: var(--fileupload-dropzone-color-hover-background);
11407
+ border-color: var(--fileupload-dropzone-color-hover-border);
11408
+ }
11409
+
11410
+ /* Active/drag state */
11368
11411
  .muka-fileupload--active:not(.muka-fileupload--disabled) {
11369
11412
  background-color: var(--fileupload-dropzone-color-active-background);
11370
11413
  border-color: var(--fileupload-dropzone-color-active-border);
@@ -12099,41 +12142,229 @@ li.muka-listitem {
12099
12142
  }
12100
12143
 
12101
12144
 
12102
- /* DocumentViewer */
12103
- /* DocumentViewer Component Styles - Using Muka Design Tokens */
12145
+ /* Drawer */
12146
+ /* Drawer Component Styles */
12104
12147
 
12105
- .muka-documentviewer {
12148
+ /* Size tokens (local to Drawer) */
12149
+ .muka-drawer {
12150
+ --drawer-width-sm: 18rem;
12151
+ --drawer-width-md: 26rem;
12152
+ --drawer-width-lg: 36rem;
12153
+ }
12154
+
12155
+ /* Reset native dialog */
12156
+ .muka-drawer {
12157
+ border: none;
12158
+ padding: 0;
12159
+ max-width: none;
12160
+ max-height: none;
12161
+ background: transparent;
12162
+ overflow: visible;
12163
+ }
12164
+
12165
+ /* Backdrop */
12166
+ .muka-drawer::backdrop {
12167
+ background-color: var(--color-surface-backdrop);
12168
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
12169
+ backdrop-filter: blur(var(--effect-blur-backdrop));
12170
+ opacity: 0;
12171
+ transition: opacity 200ms ease;
12172
+ }
12173
+
12174
+ .muka-drawer--slide-in::backdrop {
12175
+ opacity: 1;
12176
+ }
12177
+
12178
+ /* Surface */
12179
+ .muka-drawer__surface {
12106
12180
  display: flex;
12107
12181
  flex-direction: column;
12108
- background-color: var(--documentviewer-container-background);
12109
- border-radius: var(--documentviewer-container-borderRadius);
12182
+ background-color: var(--color-surface-level3);
12183
+ box-shadow: var(--shadow-level5);
12184
+ height: 100%;
12110
12185
  overflow: hidden;
12111
- position: relative;
12186
+ position: fixed;
12187
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
12112
12188
  }
12113
12189
 
12114
- .muka-documentviewer--fullscreen {
12115
- position: fixed;
12190
+ /* Side positioning + initial transforms */
12191
+ .muka-drawer--right .muka-drawer__surface {
12116
12192
  top: 0;
12117
- left: 0;
12118
12193
  right: 0;
12119
12194
  bottom: 0;
12120
- width: 100vw;
12121
- height: 100vh;
12122
- z-index: 9999;
12123
- border-radius: 0;
12124
- }
12125
-
12126
- /* Toolbar */
12127
- .muka-documentviewer__toolbar {
12128
- display: flex;
12129
- align-items: center;
12130
- justify-content: space-between;
12131
- height: var(--documentviewer-toolbar-height);
12132
- padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
12133
- background-color: var(--documentviewer-toolbar-background);
12134
- border-bottom: 1px solid var(--documentviewer-toolbar-border);
12135
- gap: var(--documentviewer-toolbar-gap);
12136
- flex-shrink: 0;
12195
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
12196
+ transform: translateX(100%);
12197
+ }
12198
+
12199
+ .muka-drawer--left .muka-drawer__surface {
12200
+ top: 0;
12201
+ left: 0;
12202
+ bottom: 0;
12203
+ border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
12204
+ transform: translateX(-100%);
12205
+ }
12206
+
12207
+ .muka-drawer--bottom .muka-drawer__surface {
12208
+ left: 0;
12209
+ right: 0;
12210
+ bottom: 0;
12211
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
12212
+ transform: translateY(100%);
12213
+ }
12214
+
12215
+ .muka-drawer--top .muka-drawer__surface {
12216
+ left: 0;
12217
+ right: 0;
12218
+ top: 0;
12219
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
12220
+ transform: translateY(-100%);
12221
+ }
12222
+
12223
+ /* Slide-in state */
12224
+ .muka-drawer--slide-in .muka-drawer__surface {
12225
+ transform: translate(0, 0);
12226
+ }
12227
+
12228
+ /* Width sizes (left/right) */
12229
+ .muka-drawer--right .muka-drawer__surface,
12230
+ .muka-drawer--left .muka-drawer__surface {
12231
+ width: var(--drawer-width-md);
12232
+ }
12233
+
12234
+ .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
12235
+ .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
12236
+ width: var(--drawer-width-sm);
12237
+ }
12238
+
12239
+ .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
12240
+ .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
12241
+ width: var(--drawer-width-lg);
12242
+ }
12243
+
12244
+ .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
12245
+ .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
12246
+ width: 100%;
12247
+ }
12248
+
12249
+ /* Height sizes (top/bottom) */
12250
+ .muka-drawer--top .muka-drawer__surface,
12251
+ .muka-drawer--bottom .muka-drawer__surface {
12252
+ height: auto;
12253
+ max-height: 80vh;
12254
+ }
12255
+
12256
+ .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
12257
+ .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
12258
+ max-height: 100vh;
12259
+ }
12260
+
12261
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
12262
+ .muka-drawer .muka-topbar {
12263
+ position: relative;
12264
+ z-index: 1;
12265
+ flex-shrink: 0;
12266
+ }
12267
+
12268
+ /* Body */
12269
+ .muka-drawer__body {
12270
+ flex: 1;
12271
+ overflow-y: auto;
12272
+ padding: var(--drawer-padding-x);
12273
+ }
12274
+
12275
+ /* Roomier body on desktop; the header and footer keep their padding */
12276
+ @media (min-width: 1024px) {
12277
+ .muka-drawer__body {
12278
+ padding: var(--drawer-padding-x-desktop);
12279
+ }
12280
+ }
12281
+
12282
+ /* Footer */
12283
+ .muka-drawer__footer {
12284
+ padding: var(--spacing-4);
12285
+ border-top: var(--border-width-regular) solid var(--color-border-default);
12286
+ flex-shrink: 0;
12287
+ }
12288
+
12289
+ /* ─── Safe areas (notch, status bar, home indicator) ────
12290
+ env(safe-area-inset-*) is 0 outside notched devices, so these only change
12291
+ an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
12292
+
12293
+ /* Top edge. Side, top and full-height drawers reach the status bar: their
12294
+ TopBar pads for it; without a header the surface does. A bottom drawer
12295
+ stops short of it, so its TopBar must not. */
12296
+ .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
12297
+ .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
12298
+ .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
12299
+ padding-top: env(safe-area-inset-top, 0px);
12300
+ }
12301
+
12302
+ .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
12303
+ padding-top: 0;
12304
+ }
12305
+
12306
+ /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
12307
+ pads for it, or the surface when there is no footer. */
12308
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
12309
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
12310
+ }
12311
+
12312
+ .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
12313
+ padding-bottom: env(safe-area-inset-bottom, 0px);
12314
+ }
12315
+
12316
+ /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
12317
+ already insets its own content. */
12318
+ @media (max-width: 1023px) {
12319
+ .muka-drawer--left .muka-drawer__body,
12320
+ .muka-drawer--top .muka-drawer__body,
12321
+ .muka-drawer--bottom .muka-drawer__body {
12322
+ padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
12323
+ }
12324
+
12325
+ .muka-drawer--right .muka-drawer__body,
12326
+ .muka-drawer--top .muka-drawer__body,
12327
+ .muka-drawer--bottom .muka-drawer__body {
12328
+ padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
12329
+ }
12330
+ }
12331
+
12332
+
12333
+ /* DocumentViewer */
12334
+ /* DocumentViewer Component Styles - Using Muka Design Tokens */
12335
+
12336
+ .muka-documentviewer {
12337
+ display: flex;
12338
+ flex-direction: column;
12339
+ background-color: var(--documentviewer-container-background);
12340
+ border-radius: var(--documentviewer-container-borderRadius);
12341
+ overflow: hidden;
12342
+ position: relative;
12343
+ }
12344
+
12345
+ .muka-documentviewer--fullscreen {
12346
+ position: fixed;
12347
+ top: 0;
12348
+ left: 0;
12349
+ right: 0;
12350
+ bottom: 0;
12351
+ width: 100vw;
12352
+ height: 100vh;
12353
+ z-index: 9999;
12354
+ border-radius: 0;
12355
+ }
12356
+
12357
+ /* Toolbar */
12358
+ .muka-documentviewer__toolbar {
12359
+ display: flex;
12360
+ align-items: center;
12361
+ justify-content: space-between;
12362
+ height: var(--documentviewer-toolbar-height);
12363
+ padding: var(--documentviewer-toolbar-padding-y) var(--documentviewer-toolbar-padding-x);
12364
+ background-color: var(--documentviewer-toolbar-background);
12365
+ border-bottom: 1px solid var(--documentviewer-toolbar-border);
12366
+ gap: var(--documentviewer-toolbar-gap);
12367
+ flex-shrink: 0;
12137
12368
  }
12138
12369
 
12139
12370
  .muka-documentviewer__toolbar-section {
@@ -13641,250 +13872,62 @@ li.muka-listitem {
13641
13872
  }
13642
13873
 
13643
13874
 
13644
- /* Drawer */
13645
- /* Drawer Component Styles */
13646
-
13647
- /* Size tokens (local to Drawer) */
13648
- .muka-drawer {
13649
- --drawer-width-sm: 18rem;
13650
- --drawer-width-md: 26rem;
13651
- --drawer-width-lg: 36rem;
13875
+ /* ChipSelectGroup */
13876
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13877
+ .muka-chip-select-group {
13878
+ display: flex;
13879
+ flex-wrap: wrap;
13880
+ gap: var(--spacing-2);
13652
13881
  }
13653
13882
 
13654
- /* Reset native dialog */
13655
- .muka-drawer {
13656
- border: none;
13657
- padding: 0;
13658
- max-width: none;
13659
- max-height: none;
13660
- background: transparent;
13661
- overflow: visible;
13662
- }
13663
13883
 
13664
- /* Backdrop */
13665
- .muka-drawer::backdrop {
13666
- background-color: var(--color-surface-backdrop);
13667
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
13668
- backdrop-filter: blur(var(--effect-blur-backdrop));
13669
- opacity: 0;
13670
- transition: opacity 200ms ease;
13884
+ /* Chip */
13885
+ /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13886
+
13887
+ /*
13888
+ * Internal custom properties (not public API):
13889
+ * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13890
+ * --_chip-tr-* trailing button colours per variant
13891
+ */
13892
+ .muka-chip {
13893
+ display: inline-flex;
13894
+ align-items: center;
13895
+ gap: var(--_chip-gap);
13896
+ padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13897
+ border-radius: var(--border-radius-full);
13898
+ white-space: nowrap;
13899
+ user-select: none;
13900
+ border: var(--border-width-regular) solid transparent;
13901
+ box-sizing: border-box;
13902
+ flex-shrink: 0;
13671
13903
  }
13672
13904
 
13673
- .muka-drawer--slide-in::backdrop {
13674
- opacity: 1;
13905
+ /*
13906
+ * Sizes: height, gap, type, and label-edge padding. The side that carries an
13907
+ * adornment gets its own padding: leading icon → chip.padding.leading, and the
13908
+ * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13909
+ * trailing button → chip.padding.trailing, which wins (declared later).
13910
+ */
13911
+ .muka-chip--sm {
13912
+ height: var(--chip-size-height-sm);
13913
+ --_chip-gap: var(--chip-gap-sm);
13914
+ --_chip-pad-start: var(--chip-padding-label-sm);
13915
+ --_chip-pad-end: var(--chip-padding-label-sm);
13916
+ font-family: var(--text-label-sm-regular-fontFamily);
13917
+ font-weight: var(--text-label-sm-regular-fontWeight);
13918
+ font-size: var(--text-label-sm-regular-fontSize);
13919
+ line-height: var(--text-label-sm-regular-lineHeight);
13675
13920
  }
13676
13921
 
13677
- /* Surface */
13678
- .muka-drawer__surface {
13679
- display: flex;
13680
- flex-direction: column;
13681
- background-color: var(--color-surface-level3);
13682
- box-shadow: var(--shadow-level5);
13683
- height: 100%;
13684
- overflow: hidden;
13685
- position: fixed;
13686
- transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
13687
- }
13688
-
13689
- /* Side positioning + initial transforms */
13690
- .muka-drawer--right .muka-drawer__surface {
13691
- top: 0;
13692
- right: 0;
13693
- bottom: 0;
13694
- border-radius: var(--radius-lg) 0 0 var(--radius-lg);
13695
- transform: translateX(100%);
13696
- }
13697
-
13698
- .muka-drawer--left .muka-drawer__surface {
13699
- top: 0;
13700
- left: 0;
13701
- bottom: 0;
13702
- border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
13703
- transform: translateX(-100%);
13704
- }
13705
-
13706
- .muka-drawer--bottom .muka-drawer__surface {
13707
- left: 0;
13708
- right: 0;
13709
- bottom: 0;
13710
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
13711
- transform: translateY(100%);
13712
- }
13713
-
13714
- .muka-drawer--top .muka-drawer__surface {
13715
- left: 0;
13716
- right: 0;
13717
- top: 0;
13718
- border-radius: 0 0 var(--radius-lg) var(--radius-lg);
13719
- transform: translateY(-100%);
13720
- }
13721
-
13722
- /* Slide-in state */
13723
- .muka-drawer--slide-in .muka-drawer__surface {
13724
- transform: translate(0, 0);
13725
- }
13726
-
13727
- /* Width sizes (left/right) */
13728
- .muka-drawer--right .muka-drawer__surface,
13729
- .muka-drawer--left .muka-drawer__surface {
13730
- width: var(--drawer-width-md);
13731
- }
13732
-
13733
- .muka-drawer--sm.muka-drawer--right .muka-drawer__surface,
13734
- .muka-drawer--sm.muka-drawer--left .muka-drawer__surface {
13735
- width: var(--drawer-width-sm);
13736
- }
13737
-
13738
- .muka-drawer--lg.muka-drawer--right .muka-drawer__surface,
13739
- .muka-drawer--lg.muka-drawer--left .muka-drawer__surface {
13740
- width: var(--drawer-width-lg);
13741
- }
13742
-
13743
- .muka-drawer--full.muka-drawer--right .muka-drawer__surface,
13744
- .muka-drawer--full.muka-drawer--left .muka-drawer__surface {
13745
- width: 100%;
13746
- }
13747
-
13748
- /* Height sizes (top/bottom) */
13749
- .muka-drawer--top .muka-drawer__surface,
13750
- .muka-drawer--bottom .muka-drawer__surface {
13751
- height: auto;
13752
- max-height: 80vh;
13753
- }
13754
-
13755
- .muka-drawer--full.muka-drawer--top .muka-drawer__surface,
13756
- .muka-drawer--full.muka-drawer--bottom .muka-drawer__surface {
13757
- max-height: 100vh;
13758
- }
13759
-
13760
- /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
13761
- .muka-drawer .muka-topbar {
13762
- position: relative;
13763
- z-index: 1;
13764
- flex-shrink: 0;
13765
- }
13766
-
13767
- /* Body */
13768
- .muka-drawer__body {
13769
- flex: 1;
13770
- overflow-y: auto;
13771
- padding: var(--drawer-padding-x);
13772
- }
13773
-
13774
- /* Roomier body on desktop; the header and footer keep their padding */
13775
- @media (min-width: 1024px) {
13776
- .muka-drawer__body {
13777
- padding: var(--drawer-padding-x-desktop);
13778
- }
13779
- }
13780
-
13781
- /* Footer */
13782
- .muka-drawer__footer {
13783
- padding: var(--spacing-4);
13784
- border-top: var(--border-width-regular) solid var(--color-border-default);
13785
- flex-shrink: 0;
13786
- }
13787
-
13788
- /* ─── Safe areas (notch, status bar, home indicator) ────
13789
- env(safe-area-inset-*) is 0 outside notched devices, so these only change
13790
- an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
13791
-
13792
- /* Top edge. Side, top and full-height drawers reach the status bar: their
13793
- TopBar pads for it; without a header the surface does. A bottom drawer
13794
- stops short of it, so its TopBar must not. */
13795
- .muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
13796
- .muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
13797
- .muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
13798
- padding-top: env(safe-area-inset-top, 0px);
13799
- }
13800
-
13801
- .muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
13802
- padding-top: 0;
13803
- }
13804
-
13805
- /* Bottom edge. Side and bottom drawers reach the home indicator: the footer
13806
- pads for it, or the surface when there is no footer. */
13807
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
13808
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
13809
- }
13810
-
13811
- .muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
13812
- padding-bottom: env(safe-area-inset-bottom, 0px);
13813
- }
13814
-
13815
- /* Sides (landscape notch): the edge the drawer is attached to. The TopBar
13816
- already insets its own content. */
13817
- @media (max-width: 1023px) {
13818
- .muka-drawer--left .muka-drawer__body,
13819
- .muka-drawer--top .muka-drawer__body,
13820
- .muka-drawer--bottom .muka-drawer__body {
13821
- padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
13822
- }
13823
-
13824
- .muka-drawer--right .muka-drawer__body,
13825
- .muka-drawer--top .muka-drawer__body,
13826
- .muka-drawer--bottom .muka-drawer__body {
13827
- padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
13828
- }
13829
- }
13830
-
13831
-
13832
- /* ChipSelectGroup */
13833
- /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
13834
- .muka-chip-select-group {
13835
- display: flex;
13836
- flex-wrap: wrap;
13837
- gap: var(--spacing-2);
13838
- }
13839
-
13840
-
13841
- /* Chip */
13842
- /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
13843
-
13844
- /*
13845
- * Internal custom properties (not public API):
13846
- * --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
13847
- * --_chip-tr-* trailing button colours per variant
13848
- */
13849
- .muka-chip {
13850
- display: inline-flex;
13851
- align-items: center;
13852
- gap: var(--_chip-gap);
13853
- padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
13854
- border-radius: var(--border-radius-full);
13855
- white-space: nowrap;
13856
- user-select: none;
13857
- border: var(--border-width-regular) solid transparent;
13858
- box-sizing: border-box;
13859
- flex-shrink: 0;
13860
- }
13861
-
13862
- /*
13863
- * Sizes: height, gap, type, and label-edge padding. The side that carries an
13864
- * adornment gets its own padding: leading icon → chip.padding.leading, and the
13865
- * right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
13866
- * trailing button → chip.padding.trailing, which wins (declared later).
13867
- */
13868
- .muka-chip--sm {
13869
- height: var(--chip-size-height-sm);
13870
- --_chip-gap: var(--chip-gap-sm);
13871
- --_chip-pad-start: var(--chip-padding-label-sm);
13872
- --_chip-pad-end: var(--chip-padding-label-sm);
13873
- font-family: var(--text-label-sm-regular-fontFamily);
13874
- font-weight: var(--text-label-sm-regular-fontWeight);
13875
- font-size: var(--text-label-sm-regular-fontSize);
13876
- line-height: var(--text-label-sm-regular-lineHeight);
13877
- }
13878
-
13879
- .muka-chip--md {
13880
- height: var(--chip-size-height-md);
13881
- --_chip-gap: var(--chip-gap-md);
13882
- --_chip-pad-start: var(--chip-padding-label-md);
13883
- --_chip-pad-end: var(--chip-padding-label-md);
13884
- font-family: var(--text-label-md-regular-fontFamily);
13885
- font-weight: var(--text-label-md-regular-fontWeight);
13886
- font-size: var(--text-label-md-regular-fontSize);
13887
- line-height: var(--text-label-md-regular-lineHeight);
13922
+ .muka-chip--md {
13923
+ height: var(--chip-size-height-md);
13924
+ --_chip-gap: var(--chip-gap-md);
13925
+ --_chip-pad-start: var(--chip-padding-label-md);
13926
+ --_chip-pad-end: var(--chip-padding-label-md);
13927
+ font-family: var(--text-label-md-regular-fontFamily);
13928
+ font-weight: var(--text-label-md-regular-fontWeight);
13929
+ font-size: var(--text-label-md-regular-fontSize);
13930
+ line-height: var(--text-label-md-regular-lineHeight);
13888
13931
  }
13889
13932
 
13890
13933
  .muka-chip--lg {
@@ -14364,41 +14407,208 @@ button.muka-chip__trailing[aria-expanded='true'],
14364
14407
  }
14365
14408
 
14366
14409
 
14367
- /* ChatQuestionSeries */
14368
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14369
- .muka-chat-series__dots {
14410
+ /* Checkbox */
14411
+ /* Checkbox Component Styles - Using Muka Design Tokens */
14412
+
14413
+ /* Wrapper - clickable label container */
14414
+ .muka-checkbox {
14370
14415
  display: inline-flex;
14371
14416
  align-items: center;
14372
- gap: var(--spacing-1);
14373
- }
14374
-
14375
- .muka-chat-series__dot {
14376
- width: var(--spacing-1);
14377
- height: var(--spacing-1);
14378
- border-radius: var(--border-radius-full);
14379
- background-color: var(--color-border-default);
14417
+ gap: var(--spacing-4);
14418
+ cursor: pointer;
14419
+ user-select: none;
14380
14420
  }
14381
14421
 
14382
- .muka-chat-series__dot--done {
14383
- background-color: var(--color-text-subtle-default);
14422
+ .muka-checkbox--disabled {
14423
+ cursor: not-allowed;
14424
+ opacity: 0.6;
14384
14425
  }
14385
14426
 
14386
- .muka-chat-series__dot--current {
14387
- width: var(--spacing-2);
14388
- height: var(--spacing-2);
14389
- background-color: var(--color-text-default-default);
14427
+ /* Control container */
14428
+ .muka-checkbox__control {
14429
+ position: relative;
14430
+ display: inline-flex;
14431
+ align-items: center;
14432
+ justify-content: center;
14433
+ flex-shrink: 0;
14390
14434
  }
14391
14435
 
14392
- .muka-chat-series__summary {
14393
- display: flex;
14394
- flex-direction: column;
14395
- gap: var(--spacing-2);
14436
+ /* Hidden native input */
14437
+ .muka-checkbox__input {
14438
+ position: absolute;
14439
+ width: 1px;
14440
+ height: 1px;
14441
+ padding: 0;
14442
+ margin: -1px;
14443
+ overflow: hidden;
14444
+ clip: rect(0, 0, 0, 0);
14445
+ white-space: nowrap;
14446
+ border: 0;
14396
14447
  }
14397
14448
 
14398
- .muka-chat-series__summary-row {
14449
+ /* Visual indicator (square) */
14450
+ .muka-checkbox__indicator {
14399
14451
  display: flex;
14400
- flex-direction: column;
14401
- }
14452
+ align-items: center;
14453
+ justify-content: center;
14454
+ width: var(--checkbox-size-default);
14455
+ height: var(--checkbox-size-default);
14456
+ border-radius: var(--checkbox-radius);
14457
+ background-color: var(--checkbox-color-default-background);
14458
+ border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14459
+ transition: all 0.15s ease;
14460
+ box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14461
+ }
14462
+
14463
+ /* Size variants */
14464
+ .muka-checkbox--sm .muka-checkbox__indicator {
14465
+ width: var(--checkbox-size-sm);
14466
+ height: var(--checkbox-size-sm);
14467
+ }
14468
+
14469
+ .muka-checkbox--lg .muka-checkbox__indicator {
14470
+ width: var(--checkbox-size-lg);
14471
+ height: var(--checkbox-size-lg);
14472
+ }
14473
+
14474
+ /* Icon inside checkbox */
14475
+ .muka-checkbox__icon {
14476
+ width: var(--checkbox-icon-size-default);
14477
+ height: var(--checkbox-icon-size-default);
14478
+ color: var(--checkbox-color-default-icon);
14479
+ opacity: 0;
14480
+ transform: scale(0.8);
14481
+ transition: opacity 0.15s ease, transform 0.15s ease;
14482
+ }
14483
+
14484
+ .muka-checkbox--sm .muka-checkbox__icon {
14485
+ width: var(--checkbox-icon-size-sm);
14486
+ height: var(--checkbox-icon-size-sm);
14487
+ }
14488
+
14489
+ .muka-checkbox--lg .muka-checkbox__icon {
14490
+ width: var(--checkbox-icon-size-lg);
14491
+ height: var(--checkbox-icon-size-lg);
14492
+ }
14493
+
14494
+ /* Hide indeterminate icon by default */
14495
+ .muka-checkbox__icon--indeterminate {
14496
+ position: absolute;
14497
+ }
14498
+
14499
+ /* Hover state - removed per design */
14500
+
14501
+ /* Focus state */
14502
+ .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14503
+ outline: 2px solid var(--color-border-focus);
14504
+ outline-offset: 2px;
14505
+ }
14506
+
14507
+ /* Checked state */
14508
+ .muka-checkbox__input:checked + .muka-checkbox__indicator {
14509
+ background-color: var(--checkbox-color-checked-background);
14510
+ border-color: var(--checkbox-color-checked-border);
14511
+ box-shadow: none;
14512
+ }
14513
+
14514
+ .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14515
+ color: var(--checkbox-color-checked-icon);
14516
+ opacity: 1;
14517
+ transform: scale(1);
14518
+ }
14519
+
14520
+ /* Indeterminate state */
14521
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14522
+ background-color: var(--checkbox-color-checked-background);
14523
+ border-color: var(--checkbox-color-checked-border);
14524
+ box-shadow: none;
14525
+ }
14526
+
14527
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14528
+ opacity: 0;
14529
+ }
14530
+
14531
+ .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14532
+ color: var(--checkbox-color-checked-icon);
14533
+ opacity: 1;
14534
+ transform: scale(1);
14535
+ }
14536
+
14537
+ /* Disabled state */
14538
+ .muka-checkbox--disabled .muka-checkbox__indicator {
14539
+ background-color: var(--checkbox-color-disabled-background);
14540
+ border-color: var(--checkbox-color-disabled-border);
14541
+ box-shadow: none;
14542
+ }
14543
+
14544
+ .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14545
+ .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14546
+ color: var(--checkbox-color-disabled-icon);
14547
+ }
14548
+
14549
+ /* Label text */
14550
+ .muka-checkbox__label {
14551
+ font-family: var(--text-label-lg-regular-fontFamily);
14552
+ font-weight: var(--text-label-lg-regular-fontWeight);
14553
+ font-size: var(--text-label-lg-regular-fontSize);
14554
+ line-height: var(--text-label-lg-regular-lineHeight);
14555
+ color: var(--color-text-default-default);
14556
+ }
14557
+
14558
+ .muka-checkbox--sm .muka-checkbox__label {
14559
+ font-family: var(--text-label-md-regular-fontFamily);
14560
+ font-weight: var(--text-label-md-regular-fontWeight);
14561
+ font-size: var(--text-label-md-regular-fontSize);
14562
+ line-height: var(--text-label-md-regular-lineHeight);
14563
+ }
14564
+
14565
+ .muka-checkbox--lg .muka-checkbox__label {
14566
+ font-family: var(--text-label-xl-regular-fontFamily);
14567
+ font-weight: var(--text-label-xl-regular-fontWeight);
14568
+ font-size: var(--text-label-xl-regular-fontSize);
14569
+ line-height: var(--text-label-xl-regular-lineHeight);
14570
+ }
14571
+
14572
+ .muka-checkbox--disabled .muka-checkbox__label {
14573
+ color: var(--color-text-subtle-default);
14574
+ }
14575
+
14576
+
14577
+ /* ChatQuestionSeries */
14578
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14579
+ .muka-chat-series__dots {
14580
+ display: inline-flex;
14581
+ align-items: center;
14582
+ gap: var(--spacing-1);
14583
+ }
14584
+
14585
+ .muka-chat-series__dot {
14586
+ width: var(--spacing-1);
14587
+ height: var(--spacing-1);
14588
+ border-radius: var(--border-radius-full);
14589
+ background-color: var(--color-border-default);
14590
+ }
14591
+
14592
+ .muka-chat-series__dot--done {
14593
+ background-color: var(--color-text-subtle-default);
14594
+ }
14595
+
14596
+ .muka-chat-series__dot--current {
14597
+ width: var(--spacing-2);
14598
+ height: var(--spacing-2);
14599
+ background-color: var(--color-text-default-default);
14600
+ }
14601
+
14602
+ .muka-chat-series__summary {
14603
+ display: flex;
14604
+ flex-direction: column;
14605
+ gap: var(--spacing-2);
14606
+ }
14607
+
14608
+ .muka-chat-series__summary-row {
14609
+ display: flex;
14610
+ flex-direction: column;
14611
+ }
14402
14612
 
14403
14613
  .muka-chat-series__summary-question {
14404
14614
  color: var(--color-text-subtle-default);
@@ -14504,272 +14714,105 @@ button.muka-chip__trailing[aria-expanded='true'],
14504
14714
 
14505
14715
  .muka-chat-photo-grid__tile {
14506
14716
  position: relative;
14507
- display: block;
14508
- overflow: hidden;
14509
- min-width: 0;
14510
- padding: 0;
14511
- margin: 0;
14512
- border: none;
14513
- background-color: var(--chatphotogrid-color-placeholder);
14514
- aspect-ratio: 1 / 1;
14515
- }
14516
-
14517
- button.muka-chat-photo-grid__tile {
14518
- cursor: pointer;
14519
- appearance: none;
14520
- }
14521
-
14522
- button.muka-chat-photo-grid__tile:focus-visible {
14523
- outline: var(--border-width-bold) solid var(--color-border-focus);
14524
- /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14525
- outline-offset: calc(-1 * var(--border-width-bold));
14526
- }
14527
-
14528
- .muka-chat-photo-grid__image {
14529
- display: block;
14530
- width: 100%;
14531
- height: 100%;
14532
- object-fit: cover;
14533
- }
14534
-
14535
- /* ─── Overflow tile ────────────────────────────────────── */
14536
-
14537
- .muka-chat-photo-grid__overflow {
14538
- position: absolute;
14539
- inset: 0;
14540
- display: flex;
14541
- align-items: center;
14542
- justify-content: center;
14543
- background-color: var(--chatphotogrid-color-overflow-background);
14544
- color: var(--chatphotogrid-color-overflow-foreground);
14545
- font-family: var(--text-body-2xl-regular-fontFamily);
14546
- font-weight: var(--text-body-2xl-regular-fontWeight);
14547
- font-size: var(--text-body-2xl-regular-fontSize);
14548
- line-height: var(--text-body-2xl-regular-lineHeight);
14549
- }
14550
-
14551
- /* ─── Layouts ──────────────────────────────────────────── */
14552
-
14553
- .muka-chat-photo-grid--1 {
14554
- grid-template-columns: 1fr;
14555
- }
14556
-
14557
- .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14558
- aspect-ratio: 4 / 3;
14559
- }
14560
-
14561
- .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14562
- aspect-ratio: 3 / 4;
14563
- }
14564
-
14565
- .muka-chat-photo-grid--2 {
14566
- grid-template-columns: repeat(2, 1fr);
14567
- }
14568
-
14569
- .muka-chat-photo-grid--3 {
14570
- grid-template-columns: repeat(3, 1fr);
14571
- }
14572
-
14573
- .muka-chat-photo-grid--4 {
14574
- grid-template-columns: repeat(2, 1fr);
14575
- }
14576
-
14577
- /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14578
- .muka-chat-photo-grid--5 {
14579
- grid-template-columns: repeat(6, 1fr);
14580
- }
14581
-
14582
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14583
- grid-column: span 3;
14584
- }
14585
-
14586
- .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14587
- grid-column: span 2;
14588
- }
14589
-
14590
- .muka-chat-photo-grid--6,
14591
- .muka-chat-photo-grid--overflow {
14592
- grid-template-columns: repeat(3, 1fr);
14593
- }
14594
-
14595
- /* ─── Print ────────────────────────────────────────────── */
14596
-
14597
- @media print {
14598
- .muka-chat-photo-grid {
14599
- break-inside: avoid;
14600
- }
14601
-
14602
- .muka-chat-photo-grid__image {
14603
- print-color-adjust: exact;
14604
- -webkit-print-color-adjust: exact;
14605
- }
14606
- }
14607
-
14608
-
14609
- /* Checkbox */
14610
- /* Checkbox Component Styles - Using Muka Design Tokens */
14611
-
14612
- /* Wrapper - clickable label container */
14613
- .muka-checkbox {
14614
- display: inline-flex;
14615
- align-items: center;
14616
- gap: var(--spacing-4);
14617
- cursor: pointer;
14618
- user-select: none;
14619
- }
14620
-
14621
- .muka-checkbox--disabled {
14622
- cursor: not-allowed;
14623
- opacity: 0.6;
14624
- }
14625
-
14626
- /* Control container */
14627
- .muka-checkbox__control {
14628
- position: relative;
14629
- display: inline-flex;
14630
- align-items: center;
14631
- justify-content: center;
14632
- flex-shrink: 0;
14633
- }
14634
-
14635
- /* Hidden native input */
14636
- .muka-checkbox__input {
14637
- position: absolute;
14638
- width: 1px;
14639
- height: 1px;
14640
- padding: 0;
14641
- margin: -1px;
14642
- overflow: hidden;
14643
- clip: rect(0, 0, 0, 0);
14644
- white-space: nowrap;
14645
- border: 0;
14646
- }
14647
-
14648
- /* Visual indicator (square) */
14649
- .muka-checkbox__indicator {
14650
- display: flex;
14651
- align-items: center;
14652
- justify-content: center;
14653
- width: var(--checkbox-size-default);
14654
- height: var(--checkbox-size-default);
14655
- border-radius: var(--checkbox-radius);
14656
- background-color: var(--checkbox-color-default-background);
14657
- border: var(--border-width-regular) solid var(--checkbox-color-default-border);
14658
- transition: all 0.15s ease;
14659
- box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
14660
- }
14661
-
14662
- /* Size variants */
14663
- .muka-checkbox--sm .muka-checkbox__indicator {
14664
- width: var(--checkbox-size-sm);
14665
- height: var(--checkbox-size-sm);
14717
+ display: block;
14718
+ overflow: hidden;
14719
+ min-width: 0;
14720
+ padding: 0;
14721
+ margin: 0;
14722
+ border: none;
14723
+ background-color: var(--chatphotogrid-color-placeholder);
14724
+ aspect-ratio: 1 / 1;
14666
14725
  }
14667
14726
 
14668
- .muka-checkbox--lg .muka-checkbox__indicator {
14669
- width: var(--checkbox-size-lg);
14670
- height: var(--checkbox-size-lg);
14727
+ button.muka-chat-photo-grid__tile {
14728
+ cursor: pointer;
14729
+ appearance: none;
14671
14730
  }
14672
14731
 
14673
- /* Icon inside checkbox */
14674
- .muka-checkbox__icon {
14675
- width: var(--checkbox-icon-size-default);
14676
- height: var(--checkbox-icon-size-default);
14677
- color: var(--checkbox-color-default-icon);
14678
- opacity: 0;
14679
- transform: scale(0.8);
14680
- transition: opacity 0.15s ease, transform 0.15s ease;
14732
+ button.muka-chat-photo-grid__tile:focus-visible {
14733
+ outline: var(--border-width-bold) solid var(--color-border-focus);
14734
+ /* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
14735
+ outline-offset: calc(-1 * var(--border-width-bold));
14681
14736
  }
14682
14737
 
14683
- .muka-checkbox--sm .muka-checkbox__icon {
14684
- width: var(--checkbox-icon-size-sm);
14685
- height: var(--checkbox-icon-size-sm);
14738
+ .muka-chat-photo-grid__image {
14739
+ display: block;
14740
+ width: 100%;
14741
+ height: 100%;
14742
+ object-fit: cover;
14686
14743
  }
14687
14744
 
14688
- .muka-checkbox--lg .muka-checkbox__icon {
14689
- width: var(--checkbox-icon-size-lg);
14690
- height: var(--checkbox-icon-size-lg);
14691
- }
14745
+ /* ─── Overflow tile ────────────────────────────────────── */
14692
14746
 
14693
- /* Hide indeterminate icon by default */
14694
- .muka-checkbox__icon--indeterminate {
14747
+ .muka-chat-photo-grid__overflow {
14695
14748
  position: absolute;
14749
+ inset: 0;
14750
+ display: flex;
14751
+ align-items: center;
14752
+ justify-content: center;
14753
+ background-color: var(--chatphotogrid-color-overflow-background);
14754
+ color: var(--chatphotogrid-color-overflow-foreground);
14755
+ font-family: var(--text-body-2xl-regular-fontFamily);
14756
+ font-weight: var(--text-body-2xl-regular-fontWeight);
14757
+ font-size: var(--text-body-2xl-regular-fontSize);
14758
+ line-height: var(--text-body-2xl-regular-lineHeight);
14696
14759
  }
14697
14760
 
14698
- /* Hover state - removed per design */
14761
+ /* ─── Layouts ──────────────────────────────────────────── */
14699
14762
 
14700
- /* Focus state */
14701
- .muka-checkbox__input:focus-visible + .muka-checkbox__indicator {
14702
- outline: 2px solid var(--color-border-focus);
14703
- outline-offset: 2px;
14763
+ .muka-chat-photo-grid--1 {
14764
+ grid-template-columns: 1fr;
14704
14765
  }
14705
14766
 
14706
- /* Checked state */
14707
- .muka-checkbox__input:checked + .muka-checkbox__indicator {
14708
- background-color: var(--checkbox-color-checked-background);
14709
- border-color: var(--checkbox-color-checked-border);
14710
- box-shadow: none;
14767
+ .muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
14768
+ aspect-ratio: 4 / 3;
14711
14769
  }
14712
14770
 
14713
- .muka-checkbox__input:checked + .muka-checkbox__indicator .muka-checkbox__icon--check {
14714
- color: var(--checkbox-color-checked-icon);
14715
- opacity: 1;
14716
- transform: scale(1);
14771
+ .muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
14772
+ aspect-ratio: 3 / 4;
14717
14773
  }
14718
14774
 
14719
- /* Indeterminate state */
14720
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator {
14721
- background-color: var(--checkbox-color-checked-background);
14722
- border-color: var(--checkbox-color-checked-border);
14723
- box-shadow: none;
14775
+ .muka-chat-photo-grid--2 {
14776
+ grid-template-columns: repeat(2, 1fr);
14724
14777
  }
14725
14778
 
14726
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--check {
14727
- opacity: 0;
14779
+ .muka-chat-photo-grid--3 {
14780
+ grid-template-columns: repeat(3, 1fr);
14728
14781
  }
14729
14782
 
14730
- .muka-checkbox__input:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14731
- color: var(--checkbox-color-checked-icon);
14732
- opacity: 1;
14733
- transform: scale(1);
14783
+ .muka-chat-photo-grid--4 {
14784
+ grid-template-columns: repeat(2, 1fr);
14734
14785
  }
14735
14786
 
14736
- /* Disabled state */
14737
- .muka-checkbox--disabled .muka-checkbox__indicator {
14738
- background-color: var(--checkbox-color-disabled-background);
14739
- border-color: var(--checkbox-color-disabled-border);
14740
- box-shadow: none;
14787
+ /* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
14788
+ .muka-chat-photo-grid--5 {
14789
+ grid-template-columns: repeat(6, 1fr);
14741
14790
  }
14742
14791
 
14743
- .muka-checkbox__input:disabled:checked + .muka-checkbox__indicator .muka-checkbox__icon--check,
14744
- .muka-checkbox__input:disabled:indeterminate + .muka-checkbox__indicator .muka-checkbox__icon--indeterminate {
14745
- color: var(--checkbox-color-disabled-icon);
14792
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
14793
+ grid-column: span 3;
14746
14794
  }
14747
14795
 
14748
- /* Label text */
14749
- .muka-checkbox__label {
14750
- font-family: var(--text-label-lg-regular-fontFamily);
14751
- font-weight: var(--text-label-lg-regular-fontWeight);
14752
- font-size: var(--text-label-lg-regular-fontSize);
14753
- line-height: var(--text-label-lg-regular-lineHeight);
14754
- color: var(--color-text-default-default);
14796
+ .muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
14797
+ grid-column: span 2;
14755
14798
  }
14756
14799
 
14757
- .muka-checkbox--sm .muka-checkbox__label {
14758
- font-family: var(--text-label-md-regular-fontFamily);
14759
- font-weight: var(--text-label-md-regular-fontWeight);
14760
- font-size: var(--text-label-md-regular-fontSize);
14761
- line-height: var(--text-label-md-regular-lineHeight);
14800
+ .muka-chat-photo-grid--6,
14801
+ .muka-chat-photo-grid--overflow {
14802
+ grid-template-columns: repeat(3, 1fr);
14762
14803
  }
14763
14804
 
14764
- .muka-checkbox--lg .muka-checkbox__label {
14765
- font-family: var(--text-label-xl-regular-fontFamily);
14766
- font-weight: var(--text-label-xl-regular-fontWeight);
14767
- font-size: var(--text-label-xl-regular-fontSize);
14768
- line-height: var(--text-label-xl-regular-lineHeight);
14769
- }
14805
+ /* ─── Print ────────────────────────────────────────────── */
14770
14806
 
14771
- .muka-checkbox--disabled .muka-checkbox__label {
14772
- color: var(--color-text-subtle-default);
14807
+ @media print {
14808
+ .muka-chat-photo-grid {
14809
+ break-inside: avoid;
14810
+ }
14811
+
14812
+ .muka-chat-photo-grid__image {
14813
+ print-color-adjust: exact;
14814
+ -webkit-print-color-adjust: exact;
14815
+ }
14773
14816
  }
14774
14817
 
14775
14818
 
@@ -15234,6 +15277,58 @@ button.muka-chat-photo-grid__tile:focus-visible {
15234
15277
  }
15235
15278
 
15236
15279
 
15280
+ /* ChatEvent */
15281
+ /* ChatEvent: a line in a chat that isn't a message from a person */
15282
+
15283
+ .muka-chat-event {
15284
+ display: flex;
15285
+ flex-direction: column;
15286
+ align-items: center;
15287
+ gap: var(--spacing-2);
15288
+ width: 100%;
15289
+ padding: 0 var(--spacing-4);
15290
+ box-sizing: border-box;
15291
+ text-align: center;
15292
+ }
15293
+
15294
+ .muka-chat-event__text {
15295
+ margin: 0;
15296
+ max-width: var(--chatbubble-max-width);
15297
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15298
+ and this is body text. Size and centring set it apart from messages. */
15299
+ color: var(--color-text-default-default);
15300
+ font-family: var(--text-body-sm-regular-fontFamily);
15301
+ font-weight: var(--text-body-sm-regular-fontWeight);
15302
+ font-size: var(--text-body-sm-regular-fontSize);
15303
+ line-height: var(--text-body-sm-regular-lineHeight);
15304
+ }
15305
+
15306
+ .muka-chat-event__timestamp {
15307
+ white-space: nowrap;
15308
+ }
15309
+
15310
+ .muka-chat-event__media {
15311
+ display: flex;
15312
+ flex-wrap: wrap;
15313
+ justify-content: center;
15314
+ gap: var(--spacing-2);
15315
+ }
15316
+
15317
+ /* Day divider: a small pill */
15318
+ .muka-chat-event__pill {
15319
+ display: inline-flex;
15320
+ align-items: center;
15321
+ padding: var(--spacing-1) var(--spacing-3);
15322
+ border-radius: var(--radius-full);
15323
+ background-color: var(--color-surface-level2);
15324
+ color: var(--color-text-default-default);
15325
+ font-family: var(--text-label-sm-regular-fontFamily);
15326
+ font-weight: var(--text-label-sm-regular-fontWeight);
15327
+ font-size: var(--text-label-sm-regular-fontSize);
15328
+ line-height: var(--text-label-sm-leading);
15329
+ }
15330
+
15331
+
15237
15332
  /* ChatComposer */
15238
15333
  /* ChatComposer Component Styles */
15239
15334
 
@@ -15584,56 +15679,160 @@ button.muka-chat-photo-grid__tile:focus-visible {
15584
15679
  min-width: 0;
15585
15680
  }
15586
15681
 
15587
-
15588
- /* ChatEvent */
15589
- /* ChatEvent: a line in a chat that isn't a message from a person */
15590
-
15591
- .muka-chat-event {
15682
+
15683
+ /* ChatAttachmentChip */
15684
+ /* ChatAttachmentChip Component Styles */
15685
+
15686
+ .muka-chat-attachment-chip {
15687
+ position: relative;
15688
+ display: inline-flex;
15689
+ align-items: center;
15690
+ gap: var(--spacing-1);
15691
+ max-width: 240px;
15692
+ padding: var(--spacing-2) var(--spacing-3);
15693
+ background-color: var(--color-surface-level1);
15694
+ border: var(--border-width-regular) solid var(--color-border-default);
15695
+ border-radius: var(--radius-md);
15696
+ overflow: hidden;
15697
+ }
15698
+
15699
+ .muka-chat-attachment-chip--uploading {
15700
+ padding-bottom: calc(var(--spacing-2) + 2px);
15701
+ }
15702
+
15703
+ .muka-chat-attachment-chip--error {
15704
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
15705
+ }
15706
+
15707
+ .muka-chat-attachment-chip--disabled {
15708
+ opacity: 0.5;
15709
+ pointer-events: none;
15710
+ }
15711
+
15712
+ /* ─── Body (icon + text) ───────────────────────────────── */
15713
+
15714
+ .muka-chat-attachment-chip__body {
15715
+ display: inline-flex;
15716
+ align-items: center;
15717
+ gap: var(--spacing-2);
15718
+ min-width: 0;
15719
+ flex: 1 1 auto;
15720
+ background: none;
15721
+ border: none;
15722
+ padding: 0;
15723
+ margin: 0;
15724
+ text-align: left;
15725
+ color: inherit;
15726
+ font: inherit;
15727
+ cursor: default;
15728
+ -webkit-tap-highlight-color: transparent;
15729
+ }
15730
+
15731
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15732
+ cursor: pointer;
15733
+ }
15734
+
15735
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15736
+ outline: 2px solid var(--color-action-default);
15737
+ outline-offset: 2px;
15738
+ border-radius: var(--radius-sm);
15739
+ }
15740
+
15741
+ .muka-chat-attachment-chip__icon {
15742
+ display: inline-flex;
15743
+ align-items: center;
15744
+ justify-content: center;
15745
+ flex-shrink: 0;
15746
+ color: var(--color-text-subtle-default);
15747
+ }
15748
+
15749
+ .muka-chat-attachment-chip__text {
15592
15750
  display: flex;
15593
15751
  flex-direction: column;
15594
- align-items: center;
15595
- gap: var(--spacing-2);
15596
- width: 100%;
15597
- padding: 0 var(--spacing-4);
15598
- box-sizing: border-box;
15599
- text-align: center;
15752
+ min-width: 0;
15753
+ flex: 1 1 auto;
15600
15754
  }
15601
15755
 
15602
- .muka-chat-event__text {
15603
- margin: 0;
15604
- max-width: var(--chatbubble-max-width);
15605
- /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
15606
- and this is body text. Size and centring set it apart from messages. */
15756
+ .muka-chat-attachment-chip__name {
15607
15757
  color: var(--color-text-default-default);
15608
15758
  font-family: var(--text-body-sm-regular-fontFamily);
15609
15759
  font-weight: var(--text-body-sm-regular-fontWeight);
15610
15760
  font-size: var(--text-body-sm-regular-fontSize);
15611
15761
  line-height: var(--text-body-sm-regular-lineHeight);
15762
+ white-space: nowrap;
15763
+ overflow: hidden;
15764
+ text-overflow: ellipsis;
15612
15765
  }
15613
15766
 
15614
- .muka-chat-event__timestamp {
15767
+ .muka-chat-attachment-chip__meta {
15768
+ color: var(--color-text-subtle-default);
15769
+ font-family: var(--text-body-sm-regular-fontFamily);
15770
+ font-weight: var(--text-body-sm-regular-fontWeight);
15771
+ font-size: var(--text-body-sm-regular-fontSize);
15772
+ line-height: var(--text-body-sm-regular-lineHeight);
15615
15773
  white-space: nowrap;
15774
+ overflow: hidden;
15775
+ text-overflow: ellipsis;
15616
15776
  }
15617
15777
 
15618
- .muka-chat-event__media {
15619
- display: flex;
15620
- flex-wrap: wrap;
15621
- justify-content: center;
15622
- gap: var(--spacing-2);
15778
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15779
+ color: var(--color-state-error-default, var(--color-text-default-default));
15623
15780
  }
15624
15781
 
15625
- /* Day divider: a small pill */
15626
- .muka-chat-event__pill {
15782
+ /* ─── Remove button ────────────────────────────────────── */
15783
+
15784
+ .muka-chat-attachment-chip__remove {
15627
15785
  display: inline-flex;
15628
15786
  align-items: center;
15629
- padding: var(--spacing-1) var(--spacing-3);
15630
- border-radius: var(--radius-full);
15631
- background-color: var(--color-surface-level2);
15787
+ justify-content: center;
15788
+ width: 20px;
15789
+ height: 20px;
15790
+ border: none;
15791
+ background: none;
15792
+ padding: 0;
15793
+ border-radius: var(--radius-sm);
15794
+ cursor: pointer;
15795
+ color: var(--color-text-subtle-default);
15796
+ flex-shrink: 0;
15797
+ -webkit-tap-highlight-color: transparent;
15798
+ }
15799
+
15800
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15632
15801
  color: var(--color-text-default-default);
15633
- font-family: var(--text-label-sm-regular-fontFamily);
15634
- font-weight: var(--text-label-sm-regular-fontWeight);
15635
- font-size: var(--text-label-sm-regular-fontSize);
15636
- line-height: var(--text-label-sm-leading);
15802
+ background-color: var(--color-surface-level2);
15803
+ }
15804
+
15805
+ .muka-chat-attachment-chip__remove:focus-visible {
15806
+ outline: 2px solid var(--color-action-default);
15807
+ outline-offset: 2px;
15808
+ }
15809
+
15810
+ .muka-chat-attachment-chip__remove:disabled {
15811
+ cursor: not-allowed;
15812
+ opacity: 0.5;
15813
+ }
15814
+
15815
+ /* ─── Progress bar ─────────────────────────────────────── */
15816
+
15817
+ .muka-chat-attachment-chip__progress {
15818
+ position: absolute;
15819
+ left: 0;
15820
+ right: 0;
15821
+ bottom: 0;
15822
+ height: 2px;
15823
+ background-color: var(--color-surface-level2);
15824
+ overflow: hidden;
15825
+ }
15826
+
15827
+ .muka-chat-attachment-chip__progress-fill {
15828
+ display: block;
15829
+ height: 100%;
15830
+ background-color: var(--color-action-default);
15831
+ transition: width 0.16s ease;
15832
+ }
15833
+
15834
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15835
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
15637
15836
  }
15638
15837
 
15639
15838
 
@@ -17860,162 +18059,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
17860
18059
  }
17861
18060
 
17862
18061
 
17863
- /* ChatAttachmentChip */
17864
- /* ChatAttachmentChip Component Styles */
17865
-
17866
- .muka-chat-attachment-chip {
17867
- position: relative;
17868
- display: inline-flex;
17869
- align-items: center;
17870
- gap: var(--spacing-1);
17871
- max-width: 240px;
17872
- padding: var(--spacing-2) var(--spacing-3);
17873
- background-color: var(--color-surface-level1);
17874
- border: var(--border-width-regular) solid var(--color-border-default);
17875
- border-radius: var(--radius-md);
17876
- overflow: hidden;
17877
- }
17878
-
17879
- .muka-chat-attachment-chip--uploading {
17880
- padding-bottom: calc(var(--spacing-2) + 2px);
17881
- }
17882
-
17883
- .muka-chat-attachment-chip--error {
17884
- border-color: var(--color-state-error-default, var(--color-text-default-default));
17885
- }
17886
-
17887
- .muka-chat-attachment-chip--disabled {
17888
- opacity: 0.5;
17889
- pointer-events: none;
17890
- }
17891
-
17892
- /* ─── Body (icon + text) ───────────────────────────────── */
17893
-
17894
- .muka-chat-attachment-chip__body {
17895
- display: inline-flex;
17896
- align-items: center;
17897
- gap: var(--spacing-2);
17898
- min-width: 0;
17899
- flex: 1 1 auto;
17900
- background: none;
17901
- border: none;
17902
- padding: 0;
17903
- margin: 0;
17904
- text-align: left;
17905
- color: inherit;
17906
- font: inherit;
17907
- cursor: default;
17908
- -webkit-tap-highlight-color: transparent;
17909
- }
17910
-
17911
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
17912
- cursor: pointer;
17913
- }
17914
-
17915
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
17916
- outline: 2px solid var(--color-action-default);
17917
- outline-offset: 2px;
17918
- border-radius: var(--radius-sm);
17919
- }
17920
-
17921
- .muka-chat-attachment-chip__icon {
17922
- display: inline-flex;
17923
- align-items: center;
17924
- justify-content: center;
17925
- flex-shrink: 0;
17926
- color: var(--color-text-subtle-default);
17927
- }
17928
-
17929
- .muka-chat-attachment-chip__text {
17930
- display: flex;
17931
- flex-direction: column;
17932
- min-width: 0;
17933
- flex: 1 1 auto;
17934
- }
17935
-
17936
- .muka-chat-attachment-chip__name {
17937
- color: var(--color-text-default-default);
17938
- font-family: var(--text-body-sm-regular-fontFamily);
17939
- font-weight: var(--text-body-sm-regular-fontWeight);
17940
- font-size: var(--text-body-sm-regular-fontSize);
17941
- line-height: var(--text-body-sm-regular-lineHeight);
17942
- white-space: nowrap;
17943
- overflow: hidden;
17944
- text-overflow: ellipsis;
17945
- }
17946
-
17947
- .muka-chat-attachment-chip__meta {
17948
- color: var(--color-text-subtle-default);
17949
- font-family: var(--text-body-sm-regular-fontFamily);
17950
- font-weight: var(--text-body-sm-regular-fontWeight);
17951
- font-size: var(--text-body-sm-regular-fontSize);
17952
- line-height: var(--text-body-sm-regular-lineHeight);
17953
- white-space: nowrap;
17954
- overflow: hidden;
17955
- text-overflow: ellipsis;
17956
- }
17957
-
17958
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
17959
- color: var(--color-state-error-default, var(--color-text-default-default));
17960
- }
17961
-
17962
- /* ─── Remove button ────────────────────────────────────── */
17963
-
17964
- .muka-chat-attachment-chip__remove {
17965
- display: inline-flex;
17966
- align-items: center;
17967
- justify-content: center;
17968
- width: 20px;
17969
- height: 20px;
17970
- border: none;
17971
- background: none;
17972
- padding: 0;
17973
- border-radius: var(--radius-sm);
17974
- cursor: pointer;
17975
- color: var(--color-text-subtle-default);
17976
- flex-shrink: 0;
17977
- -webkit-tap-highlight-color: transparent;
17978
- }
17979
-
17980
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
17981
- color: var(--color-text-default-default);
17982
- background-color: var(--color-surface-level2);
17983
- }
17984
-
17985
- .muka-chat-attachment-chip__remove:focus-visible {
17986
- outline: 2px solid var(--color-action-default);
17987
- outline-offset: 2px;
17988
- }
17989
-
17990
- .muka-chat-attachment-chip__remove:disabled {
17991
- cursor: not-allowed;
17992
- opacity: 0.5;
17993
- }
17994
-
17995
- /* ─── Progress bar ─────────────────────────────────────── */
17996
-
17997
- .muka-chat-attachment-chip__progress {
17998
- position: absolute;
17999
- left: 0;
18000
- right: 0;
18001
- bottom: 0;
18002
- height: 2px;
18003
- background-color: var(--color-surface-level2);
18004
- overflow: hidden;
18005
- }
18006
-
18007
- .muka-chat-attachment-chip__progress-fill {
18008
- display: block;
18009
- height: 100%;
18010
- background-color: var(--color-action-default);
18011
- transition: width 0.16s ease;
18012
- }
18013
-
18014
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
18015
- background-color: var(--color-state-error-default, var(--color-text-default-default));
18016
- }
18017
-
18018
-
18019
18062
  /* ActionSheet */
18020
18063
  /* ActionSheet Component Styles */
18021
18064