@cirthcss/cirth 0.2.0 → 0.4.0

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.
Files changed (166) hide show
  1. package/README.md +153 -49
  2. package/dist/cirth.classless.css +857 -1653
  3. package/dist/cirth.classless.min.css +1 -1
  4. package/dist/cirth.classless.scoped.css +855 -1368
  5. package/dist/cirth.classless.scoped.min.css +1 -1
  6. package/dist/cirth.css +959 -1890
  7. package/dist/cirth.min.css +1 -1
  8. package/dist/cirth.scoped.css +954 -1608
  9. package/dist/cirth.scoped.min.css +1 -1
  10. package/dist/presets/cobalt.css +50 -0
  11. package/dist/presets/cobalt.min.css +1 -0
  12. package/dist/presets/coral.css +56 -0
  13. package/dist/presets/coral.min.css +1 -0
  14. package/package.json +28 -5
  15. package/dist/cirth.amber.css +0 -3747
  16. package/dist/cirth.amber.min.css +0 -1
  17. package/dist/cirth.blue.css +0 -3747
  18. package/dist/cirth.blue.min.css +0 -1
  19. package/dist/cirth.classless.amber.css +0 -3245
  20. package/dist/cirth.classless.amber.min.css +0 -1
  21. package/dist/cirth.classless.blue.css +0 -3245
  22. package/dist/cirth.classless.blue.min.css +0 -1
  23. package/dist/cirth.classless.cyan.css +0 -3245
  24. package/dist/cirth.classless.cyan.min.css +0 -1
  25. package/dist/cirth.classless.fuchsia.css +0 -3245
  26. package/dist/cirth.classless.fuchsia.min.css +0 -1
  27. package/dist/cirth.classless.green.css +0 -3245
  28. package/dist/cirth.classless.green.min.css +0 -1
  29. package/dist/cirth.classless.grey.css +0 -3245
  30. package/dist/cirth.classless.grey.min.css +0 -1
  31. package/dist/cirth.classless.indigo.css +0 -3245
  32. package/dist/cirth.classless.indigo.min.css +0 -1
  33. package/dist/cirth.classless.jade.css +0 -3245
  34. package/dist/cirth.classless.jade.min.css +0 -1
  35. package/dist/cirth.classless.lime.css +0 -3245
  36. package/dist/cirth.classless.lime.min.css +0 -1
  37. package/dist/cirth.classless.orange.css +0 -3245
  38. package/dist/cirth.classless.orange.min.css +0 -1
  39. package/dist/cirth.classless.pink.css +0 -3245
  40. package/dist/cirth.classless.pink.min.css +0 -1
  41. package/dist/cirth.classless.pumpkin.css +0 -3245
  42. package/dist/cirth.classless.pumpkin.min.css +0 -1
  43. package/dist/cirth.classless.purple.css +0 -3245
  44. package/dist/cirth.classless.purple.min.css +0 -1
  45. package/dist/cirth.classless.red.css +0 -3245
  46. package/dist/cirth.classless.red.min.css +0 -1
  47. package/dist/cirth.classless.sand.css +0 -3245
  48. package/dist/cirth.classless.sand.min.css +0 -1
  49. package/dist/cirth.classless.scoped.amber.css +0 -2959
  50. package/dist/cirth.classless.scoped.amber.min.css +0 -1
  51. package/dist/cirth.classless.scoped.blue.css +0 -2959
  52. package/dist/cirth.classless.scoped.blue.min.css +0 -1
  53. package/dist/cirth.classless.scoped.cyan.css +0 -2959
  54. package/dist/cirth.classless.scoped.cyan.min.css +0 -1
  55. package/dist/cirth.classless.scoped.fuchsia.css +0 -2959
  56. package/dist/cirth.classless.scoped.fuchsia.min.css +0 -1
  57. package/dist/cirth.classless.scoped.green.css +0 -2959
  58. package/dist/cirth.classless.scoped.green.min.css +0 -1
  59. package/dist/cirth.classless.scoped.grey.css +0 -2959
  60. package/dist/cirth.classless.scoped.grey.min.css +0 -1
  61. package/dist/cirth.classless.scoped.indigo.css +0 -2959
  62. package/dist/cirth.classless.scoped.indigo.min.css +0 -1
  63. package/dist/cirth.classless.scoped.jade.css +0 -2959
  64. package/dist/cirth.classless.scoped.jade.min.css +0 -1
  65. package/dist/cirth.classless.scoped.lime.css +0 -2959
  66. package/dist/cirth.classless.scoped.lime.min.css +0 -1
  67. package/dist/cirth.classless.scoped.orange.css +0 -2959
  68. package/dist/cirth.classless.scoped.orange.min.css +0 -1
  69. package/dist/cirth.classless.scoped.pink.css +0 -2959
  70. package/dist/cirth.classless.scoped.pink.min.css +0 -1
  71. package/dist/cirth.classless.scoped.pumpkin.css +0 -2959
  72. package/dist/cirth.classless.scoped.pumpkin.min.css +0 -1
  73. package/dist/cirth.classless.scoped.purple.css +0 -2959
  74. package/dist/cirth.classless.scoped.purple.min.css +0 -1
  75. package/dist/cirth.classless.scoped.red.css +0 -2959
  76. package/dist/cirth.classless.scoped.red.min.css +0 -1
  77. package/dist/cirth.classless.scoped.sand.css +0 -2959
  78. package/dist/cirth.classless.scoped.sand.min.css +0 -1
  79. package/dist/cirth.classless.scoped.slate.css +0 -2959
  80. package/dist/cirth.classless.scoped.slate.min.css +0 -1
  81. package/dist/cirth.classless.scoped.violet.css +0 -2959
  82. package/dist/cirth.classless.scoped.violet.min.css +0 -1
  83. package/dist/cirth.classless.scoped.yellow.css +0 -2959
  84. package/dist/cirth.classless.scoped.yellow.min.css +0 -1
  85. package/dist/cirth.classless.scoped.zinc.css +0 -2959
  86. package/dist/cirth.classless.scoped.zinc.min.css +0 -1
  87. package/dist/cirth.classless.slate.css +0 -3245
  88. package/dist/cirth.classless.slate.min.css +0 -1
  89. package/dist/cirth.classless.violet.css +0 -3245
  90. package/dist/cirth.classless.violet.min.css +0 -1
  91. package/dist/cirth.classless.yellow.css +0 -3245
  92. package/dist/cirth.classless.yellow.min.css +0 -1
  93. package/dist/cirth.classless.zinc.css +0 -3245
  94. package/dist/cirth.classless.zinc.min.css +0 -1
  95. package/dist/cirth.cyan.css +0 -3747
  96. package/dist/cirth.cyan.min.css +0 -1
  97. package/dist/cirth.fuchsia.css +0 -3747
  98. package/dist/cirth.fuchsia.min.css +0 -1
  99. package/dist/cirth.green.css +0 -3747
  100. package/dist/cirth.green.min.css +0 -1
  101. package/dist/cirth.grey.css +0 -3747
  102. package/dist/cirth.grey.min.css +0 -1
  103. package/dist/cirth.indigo.css +0 -3747
  104. package/dist/cirth.indigo.min.css +0 -1
  105. package/dist/cirth.jade.css +0 -3747
  106. package/dist/cirth.jade.min.css +0 -1
  107. package/dist/cirth.lime.css +0 -3747
  108. package/dist/cirth.lime.min.css +0 -1
  109. package/dist/cirth.orange.css +0 -3747
  110. package/dist/cirth.orange.min.css +0 -1
  111. package/dist/cirth.pink.css +0 -3747
  112. package/dist/cirth.pink.min.css +0 -1
  113. package/dist/cirth.pumpkin.css +0 -3747
  114. package/dist/cirth.pumpkin.min.css +0 -1
  115. package/dist/cirth.purple.css +0 -3747
  116. package/dist/cirth.purple.min.css +0 -1
  117. package/dist/cirth.red.css +0 -3747
  118. package/dist/cirth.red.min.css +0 -1
  119. package/dist/cirth.sand.css +0 -3747
  120. package/dist/cirth.sand.min.css +0 -1
  121. package/dist/cirth.scoped.amber.css +0 -3467
  122. package/dist/cirth.scoped.amber.min.css +0 -1
  123. package/dist/cirth.scoped.blue.css +0 -3467
  124. package/dist/cirth.scoped.blue.min.css +0 -1
  125. package/dist/cirth.scoped.cyan.css +0 -3467
  126. package/dist/cirth.scoped.cyan.min.css +0 -1
  127. package/dist/cirth.scoped.fuchsia.css +0 -3467
  128. package/dist/cirth.scoped.fuchsia.min.css +0 -1
  129. package/dist/cirth.scoped.green.css +0 -3467
  130. package/dist/cirth.scoped.green.min.css +0 -1
  131. package/dist/cirth.scoped.grey.css +0 -3467
  132. package/dist/cirth.scoped.grey.min.css +0 -1
  133. package/dist/cirth.scoped.indigo.css +0 -3467
  134. package/dist/cirth.scoped.indigo.min.css +0 -1
  135. package/dist/cirth.scoped.jade.css +0 -3467
  136. package/dist/cirth.scoped.jade.min.css +0 -1
  137. package/dist/cirth.scoped.lime.css +0 -3467
  138. package/dist/cirth.scoped.lime.min.css +0 -1
  139. package/dist/cirth.scoped.orange.css +0 -3467
  140. package/dist/cirth.scoped.orange.min.css +0 -1
  141. package/dist/cirth.scoped.pink.css +0 -3467
  142. package/dist/cirth.scoped.pink.min.css +0 -1
  143. package/dist/cirth.scoped.pumpkin.css +0 -3467
  144. package/dist/cirth.scoped.pumpkin.min.css +0 -1
  145. package/dist/cirth.scoped.purple.css +0 -3467
  146. package/dist/cirth.scoped.purple.min.css +0 -1
  147. package/dist/cirth.scoped.red.css +0 -3467
  148. package/dist/cirth.scoped.red.min.css +0 -1
  149. package/dist/cirth.scoped.sand.css +0 -3467
  150. package/dist/cirth.scoped.sand.min.css +0 -1
  151. package/dist/cirth.scoped.slate.css +0 -3467
  152. package/dist/cirth.scoped.slate.min.css +0 -1
  153. package/dist/cirth.scoped.violet.css +0 -3467
  154. package/dist/cirth.scoped.violet.min.css +0 -1
  155. package/dist/cirth.scoped.yellow.css +0 -3467
  156. package/dist/cirth.scoped.yellow.min.css +0 -1
  157. package/dist/cirth.scoped.zinc.css +0 -3467
  158. package/dist/cirth.scoped.zinc.min.css +0 -1
  159. package/dist/cirth.slate.css +0 -3747
  160. package/dist/cirth.slate.min.css +0 -1
  161. package/dist/cirth.violet.css +0 -3747
  162. package/dist/cirth.violet.min.css +0 -1
  163. package/dist/cirth.yellow.css +0 -3747
  164. package/dist/cirth.yellow.min.css +0 -1
  165. package/dist/cirth.zinc.css +0 -3747
  166. package/dist/cirth.zinc.min.css +0 -1
@@ -1,597 +1,3 @@
1
- .cirth {
2
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
4
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
5
- --cirth-font-family: var(--cirth-font-family-sans-serif);
6
- --cirth-line-height: 1.5;
7
- --cirth-font-weight: 400;
8
- --cirth-font-size: 100%;
9
- --cirth-text-underline-offset: .1rem;
10
- --cirth-border-radius: .25rem;
11
- --cirth-border-width: .0625rem;
12
- --cirth-outline-width: .125rem;
13
- --cirth-transition: .2s ease-in-out;
14
- --cirth-spacing: 1rem;
15
- --cirth-typography-spacing-vertical: 1rem;
16
- --cirth-block-spacing-vertical: var(--cirth-spacing);
17
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
18
- --cirth-grid-column-gap: var(--cirth-spacing);
19
- --cirth-grid-row-gap: var(--cirth-spacing);
20
- --cirth-form-element-spacing-vertical: .75rem;
21
- --cirth-form-element-spacing-horizontal: 1rem;
22
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
23
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
24
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
25
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
26
- --cirth-nav-element-spacing-vertical: 1rem;
27
- --cirth-nav-element-spacing-horizontal: .5rem;
28
- --cirth-nav-link-spacing-vertical: .5rem;
29
- --cirth-nav-link-spacing-horizontal: .5rem;
30
- --cirth-nav-breadcrumb-divider: ">";
31
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
32
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
33
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
34
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
35
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
36
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
37
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
38
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
39
- }
40
-
41
- @media (width >= 576px) {
42
- .cirth {
43
- --cirth-font-size: 106.25%;
44
- }
45
- }
46
-
47
- @media (width >= 768px) {
48
- .cirth {
49
- --cirth-font-size: 112.5%;
50
- }
51
- }
52
-
53
- @media (width >= 1024px) {
54
- .cirth {
55
- --cirth-font-size: 118.75%;
56
- }
57
- }
58
-
59
- @media (width >= 1280px) {
60
- .cirth {
61
- --cirth-font-size: 125%;
62
- }
63
- }
64
-
65
- @media (width >= 1536px) {
66
- .cirth {
67
- --cirth-font-size: 131.25%;
68
- }
69
- }
70
-
71
- .cirth a, .cirth a.secondary, .cirth a.contrast {
72
- --cirth-text-decoration: underline;
73
- }
74
-
75
- .cirth small {
76
- --cirth-font-size: .875em;
77
- }
78
-
79
- .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
80
- --cirth-font-weight: 700;
81
- }
82
-
83
- .cirth h1 {
84
- --cirth-font-size: 2rem;
85
- --cirth-line-height: 1.125;
86
- --cirth-typography-spacing-top: 3rem;
87
- }
88
-
89
- .cirth h2 {
90
- --cirth-font-size: 1.75rem;
91
- --cirth-line-height: 1.15;
92
- --cirth-typography-spacing-top: 2.625rem;
93
- }
94
-
95
- .cirth h3 {
96
- --cirth-font-size: 1.5rem;
97
- --cirth-line-height: 1.175;
98
- --cirth-typography-spacing-top: 2.25rem;
99
- }
100
-
101
- .cirth h4 {
102
- --cirth-font-size: 1.25rem;
103
- --cirth-line-height: 1.2;
104
- --cirth-typography-spacing-top: 1.874rem;
105
- }
106
-
107
- .cirth h5 {
108
- --cirth-font-size: 1.125rem;
109
- --cirth-line-height: 1.225;
110
- --cirth-typography-spacing-top: 1.6875rem;
111
- }
112
-
113
- .cirth h6 {
114
- --cirth-font-size: 1rem;
115
- --cirth-line-height: 1.25;
116
- --cirth-typography-spacing-top: 1.5rem;
117
- }
118
-
119
- .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
120
- --cirth-font-weight: 600;
121
- --cirth-border-width: .1875rem;
122
- }
123
-
124
- .cirth pre, .cirth code, .cirth kbd, .cirth samp {
125
- --cirth-font-family: var(--cirth-font-family-monospace);
126
- }
127
-
128
- .cirth kbd {
129
- --cirth-font-weight: bolder;
130
- }
131
-
132
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
133
- --cirth-outline-width: .0625rem;
134
- }
135
-
136
- .cirth :where(select, textarea) {
137
- --cirth-outline-width: .0625rem;
138
- }
139
-
140
- .cirth [type="search"] {
141
- --cirth-border-radius: 5rem;
142
- }
143
-
144
- .cirth [type="checkbox"] {
145
- --cirth-border-width: .125rem;
146
- }
147
-
148
- .cirth [type="radio"] {
149
- --cirth-border-width: .125rem;
150
- }
151
-
152
- .cirth [type="checkbox"][role="switch"] {
153
- --cirth-border-width: .1875rem;
154
- }
155
-
156
- .cirth details.dropdown summary:not([role="button"]) {
157
- --cirth-outline-width: .0625rem;
158
- }
159
-
160
- .cirth nav details.dropdown summary:focus-visible {
161
- --cirth-outline-width: .125rem;
162
- }
163
-
164
- .cirth [role="search"] {
165
- --cirth-border-radius: 5rem;
166
- }
167
-
168
- .cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
169
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
170
- }
171
-
172
- .cirth [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
173
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
174
- }
175
-
176
- .cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
177
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
178
- }
179
-
180
- .cirth [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
181
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
182
- }
183
-
184
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
185
- --cirth-form-element-spacing-horizontal: 2rem;
186
- }
187
-
188
- .cirth [role="search"] [type="submit"] {
189
- --cirth-form-element-spacing-horizontal: 2rem;
190
- }
191
-
192
- .cirth [role="search"] [type="button"] {
193
- --cirth-form-element-spacing-horizontal: 2rem;
194
- }
195
-
196
- .cirth [role="group"] [type="submit"] {
197
- --cirth-form-element-spacing-horizontal: 2rem;
198
- }
199
-
200
- .cirth [role="group"] [type="button"] {
201
- --cirth-form-element-spacing-horizontal: 2rem;
202
- }
203
-
204
- .cirth details summary[role="button"]:not(.outline):after {
205
- filter: brightness(0) invert();
206
- }
207
-
208
- .cirth [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
209
- filter: brightness(0) invert();
210
- }
211
-
212
- .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
213
- --lightningcss-light: initial;
214
- --lightningcss-dark: ;
215
- color-scheme: light;
216
- --cirth-background-color: #fff;
217
- --cirth-color: #373c44;
218
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
219
- --cirth-muted-color: #646b79;
220
- --cirth-muted-border-color: #e7eaf0;
221
- --cirth-primary: #0172ad;
222
- --cirth-primary-background: #0172ad;
223
- --cirth-primary-border: var(--cirth-primary-background);
224
- --cirth-primary-underline: rgba(1, 114, 173, .5);
225
- --cirth-primary-hover: #015887;
226
- --cirth-primary-hover-background: #02659a;
227
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
228
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
229
- --cirth-primary-focus: rgba(2, 154, 232, .5);
230
- --cirth-primary-inverse: #fff;
231
- --cirth-secondary: #5d6b89;
232
- --cirth-secondary-background: #525f7a;
233
- --cirth-secondary-border: var(--cirth-secondary-background);
234
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
235
- --cirth-secondary-hover: #48536b;
236
- --cirth-secondary-hover-background: #48536b;
237
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
238
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
239
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
240
- --cirth-secondary-inverse: #fff;
241
- --cirth-contrast: #181c25;
242
- --cirth-contrast-background: #181c25;
243
- --cirth-contrast-border: var(--cirth-contrast-background);
244
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
245
- --cirth-contrast-hover: #000;
246
- --cirth-contrast-hover-background: #000;
247
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
248
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
249
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
250
- --cirth-contrast-inverse: #fff;
251
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(129, 145, 181, .016), .0335rem .067rem .402rem rgba(129, 145, 181, .024), .0625rem .125rem .75rem rgba(129, 145, 181, .03), .1125rem .225rem 1.35rem rgba(129, 145, 181, .035), .2085rem .417rem 2.502rem rgba(129, 145, 181, .043), .5rem 1rem 6rem rgba(129, 145, 181, .06), 0 0 0 .0625rem rgba(129, 145, 181, .016);
252
- --cirth-h1-color: #2d3138;
253
- --cirth-h2-color: #373c44;
254
- --cirth-h3-color: #424751;
255
- --cirth-h4-color: #4d535e;
256
- --cirth-h5-color: #5c6370;
257
- --cirth-h6-color: #646b79;
258
- --cirth-mark-background-color: #fde7c0;
259
- --cirth-mark-color: #0f1114;
260
- --cirth-ins-color: #1d6a54;
261
- --cirth-del-color: #883935;
262
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
263
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
264
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
265
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
266
- --cirth-table-border-color: var(--cirth-muted-border-color);
267
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
268
- --cirth-code-background-color: #f3f5f7;
269
- --cirth-code-color: #646b79;
270
- --cirth-code-kbd-background-color: var(--cirth-color);
271
- --cirth-code-kbd-color: var(--cirth-background-color);
272
- --cirth-form-element-background-color: #fbfcfc;
273
- --cirth-form-element-selected-background-color: #dfe3eb;
274
- --cirth-form-element-border-color: #cfd5e2;
275
- --cirth-form-element-color: #23262c;
276
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
277
- --cirth-form-element-active-background-color: #fff;
278
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
279
- --cirth-form-element-focus-color: var(--cirth-primary-border);
280
- --cirth-form-element-disabled-opacity: .5;
281
- --cirth-form-element-invalid-border-color: #b86a6b;
282
- --cirth-form-element-invalid-active-border-color: #c84f48;
283
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
284
- --cirth-form-element-valid-border-color: #4c9b8a;
285
- --cirth-form-element-valid-active-border-color: #279977;
286
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
287
- --cirth-switch-background-color: #bfc7d9;
288
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
289
- --cirth-switch-color: #fff;
290
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
291
- --cirth-range-border-color: #dfe3eb;
292
- --cirth-range-active-border-color: #bfc7d9;
293
- --cirth-range-thumb-border-color: var(--cirth-background-color);
294
- --cirth-range-thumb-color: var(--cirth-secondary-background);
295
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
296
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
297
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
298
- --cirth-accordion-close-summary-color: var(--cirth-color);
299
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
300
- --cirth-card-background-color: var(--cirth-background-color);
301
- --cirth-card-border-color: var(--cirth-muted-border-color);
302
- --cirth-card-box-shadow: var(--cirth-box-shadow);
303
- --cirth-card-sectioning-background-color: #fbfcfc;
304
- --cirth-dropdown-background-color: #fff;
305
- --cirth-dropdown-border-color: #eff1f4;
306
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
307
- --cirth-dropdown-color: var(--cirth-color);
308
- --cirth-dropdown-hover-background-color: #eff1f4;
309
- --cirth-loading-spinner-opacity: .5;
310
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
311
- --cirth-progress-background-color: #dfe3eb;
312
- --cirth-progress-color: var(--cirth-primary-background);
313
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
314
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
315
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
316
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
317
- }
318
-
319
- .cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
320
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
321
- }
322
-
323
- .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
324
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
325
- }
326
-
327
- .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
328
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
329
- }
330
-
331
- @media only screen and (prefers-color-scheme: dark) {
332
- .cirth:not([data-theme]) {
333
- --lightningcss-light: ;
334
- --lightningcss-dark: initial;
335
- color-scheme: dark;
336
- --cirth-background-color: #13171f;
337
- --cirth-color: #c2c7d0;
338
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
339
- --cirth-muted-color: #7b8495;
340
- --cirth-muted-border-color: #202632;
341
- --cirth-primary: #01aaff;
342
- --cirth-primary-background: #0172ad;
343
- --cirth-primary-border: var(--cirth-primary-background);
344
- --cirth-primary-underline: rgba(1, 170, 255, .5);
345
- --cirth-primary-hover: #79c0ff;
346
- --cirth-primary-hover-background: #017fc0;
347
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
348
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
349
- --cirth-primary-focus: rgba(1, 170, 255, .376);
350
- --cirth-primary-inverse: #fff;
351
- --cirth-secondary: #969eaf;
352
- --cirth-secondary-background: #525f7a;
353
- --cirth-secondary-border: var(--cirth-secondary-background);
354
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
355
- --cirth-secondary-hover: #b3b9c5;
356
- --cirth-secondary-hover-background: #5d6b89;
357
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
358
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
359
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
360
- --cirth-secondary-inverse: #fff;
361
- --cirth-contrast: #dfe3eb;
362
- --cirth-contrast-background: #eff1f4;
363
- --cirth-contrast-border: var(--cirth-contrast-background);
364
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
365
- --cirth-contrast-hover: #fff;
366
- --cirth-contrast-hover-background: #fff;
367
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
368
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
369
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
370
- --cirth-contrast-inverse: #000;
371
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
372
- --cirth-h1-color: #f0f1f3;
373
- --cirth-h2-color: #e0e3e7;
374
- --cirth-h3-color: #c2c7d0;
375
- --cirth-h4-color: #b3b9c5;
376
- --cirth-h5-color: #a4acba;
377
- --cirth-h6-color: #8891a4;
378
- --cirth-mark-background-color: #014063;
379
- --cirth-mark-color: #fff;
380
- --cirth-ins-color: #62af9a;
381
- --cirth-del-color: #ce7e7b;
382
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
383
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
384
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
385
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
386
- --cirth-table-border-color: var(--cirth-muted-border-color);
387
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
388
- --cirth-code-background-color: #1a1f28;
389
- --cirth-code-color: #8891a4;
390
- --cirth-code-kbd-background-color: var(--cirth-color);
391
- --cirth-code-kbd-color: var(--cirth-background-color);
392
- --cirth-form-element-background-color: #1c212c;
393
- --cirth-form-element-selected-background-color: #2a3140;
394
- --cirth-form-element-border-color: #2a3140;
395
- --cirth-form-element-color: #e0e3e7;
396
- --cirth-form-element-placeholder-color: #8891a4;
397
- --cirth-form-element-active-background-color: #1a1f28;
398
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
399
- --cirth-form-element-focus-color: var(--cirth-primary-border);
400
- --cirth-form-element-disabled-opacity: .5;
401
- --cirth-form-element-invalid-border-color: #964a50;
402
- --cirth-form-element-invalid-active-border-color: #b7403b;
403
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
404
- --cirth-form-element-valid-border-color: #2a7b6f;
405
- --cirth-form-element-valid-active-border-color: #16896a;
406
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
407
- --cirth-switch-background-color: #333c4e;
408
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
409
- --cirth-switch-color: #fff;
410
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
411
- --cirth-range-border-color: #202632;
412
- --cirth-range-active-border-color: #2a3140;
413
- --cirth-range-thumb-border-color: var(--cirth-background-color);
414
- --cirth-range-thumb-color: var(--cirth-secondary-background);
415
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
416
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
417
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
418
- --cirth-accordion-close-summary-color: var(--cirth-color);
419
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
420
- --cirth-card-background-color: #181c25;
421
- --cirth-card-border-color: var(--cirth-card-background-color);
422
- --cirth-card-box-shadow: var(--cirth-box-shadow);
423
- --cirth-card-sectioning-background-color: #1a1f28;
424
- --cirth-dropdown-background-color: #181c25;
425
- --cirth-dropdown-border-color: #202632;
426
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
427
- --cirth-dropdown-color: var(--cirth-color);
428
- --cirth-dropdown-hover-background-color: #202632;
429
- --cirth-loading-spinner-opacity: .5;
430
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
431
- --cirth-progress-background-color: #202632;
432
- --cirth-progress-color: var(--cirth-primary-background);
433
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
434
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
435
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
436
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
437
- }
438
-
439
- .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
440
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
441
- }
442
-
443
- .cirth:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
444
- filter: brightness(0);
445
- }
446
-
447
- .cirth:not([data-theme]) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
448
- filter: brightness(0);
449
- }
450
- }
451
-
452
- .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
453
- --lightningcss-light: ;
454
- --lightningcss-dark: initial;
455
- color-scheme: dark;
456
- --cirth-background-color: #13171f;
457
- --cirth-color: #c2c7d0;
458
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
459
- --cirth-muted-color: #7b8495;
460
- --cirth-muted-border-color: #202632;
461
- --cirth-primary: #01aaff;
462
- --cirth-primary-background: #0172ad;
463
- --cirth-primary-border: var(--cirth-primary-background);
464
- --cirth-primary-underline: rgba(1, 170, 255, .5);
465
- --cirth-primary-hover: #79c0ff;
466
- --cirth-primary-hover-background: #017fc0;
467
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
468
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
469
- --cirth-primary-focus: rgba(1, 170, 255, .376);
470
- --cirth-primary-inverse: #fff;
471
- --cirth-secondary: #969eaf;
472
- --cirth-secondary-background: #525f7a;
473
- --cirth-secondary-border: var(--cirth-secondary-background);
474
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
475
- --cirth-secondary-hover: #b3b9c5;
476
- --cirth-secondary-hover-background: #5d6b89;
477
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
478
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
479
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
480
- --cirth-secondary-inverse: #fff;
481
- --cirth-contrast: #dfe3eb;
482
- --cirth-contrast-background: #eff1f4;
483
- --cirth-contrast-border: var(--cirth-contrast-background);
484
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
485
- --cirth-contrast-hover: #fff;
486
- --cirth-contrast-hover-background: #fff;
487
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
488
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
489
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
490
- --cirth-contrast-inverse: #000;
491
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
492
- --cirth-h1-color: #f0f1f3;
493
- --cirth-h2-color: #e0e3e7;
494
- --cirth-h3-color: #c2c7d0;
495
- --cirth-h4-color: #b3b9c5;
496
- --cirth-h5-color: #a4acba;
497
- --cirth-h6-color: #8891a4;
498
- --cirth-mark-background-color: #014063;
499
- --cirth-mark-color: #fff;
500
- --cirth-ins-color: #62af9a;
501
- --cirth-del-color: #ce7e7b;
502
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
503
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
504
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
505
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
506
- --cirth-table-border-color: var(--cirth-muted-border-color);
507
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
508
- --cirth-code-background-color: #1a1f28;
509
- --cirth-code-color: #8891a4;
510
- --cirth-code-kbd-background-color: var(--cirth-color);
511
- --cirth-code-kbd-color: var(--cirth-background-color);
512
- --cirth-form-element-background-color: #1c212c;
513
- --cirth-form-element-selected-background-color: #2a3140;
514
- --cirth-form-element-border-color: #2a3140;
515
- --cirth-form-element-color: #e0e3e7;
516
- --cirth-form-element-placeholder-color: #8891a4;
517
- --cirth-form-element-active-background-color: #1a1f28;
518
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
519
- --cirth-form-element-focus-color: var(--cirth-primary-border);
520
- --cirth-form-element-disabled-opacity: .5;
521
- --cirth-form-element-invalid-border-color: #964a50;
522
- --cirth-form-element-invalid-active-border-color: #b7403b;
523
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
524
- --cirth-form-element-valid-border-color: #2a7b6f;
525
- --cirth-form-element-valid-active-border-color: #16896a;
526
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
527
- --cirth-switch-background-color: #333c4e;
528
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
529
- --cirth-switch-color: #fff;
530
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
531
- --cirth-range-border-color: #202632;
532
- --cirth-range-active-border-color: #2a3140;
533
- --cirth-range-thumb-border-color: var(--cirth-background-color);
534
- --cirth-range-thumb-color: var(--cirth-secondary-background);
535
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
536
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
537
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
538
- --cirth-accordion-close-summary-color: var(--cirth-color);
539
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
540
- --cirth-card-background-color: #181c25;
541
- --cirth-card-border-color: var(--cirth-card-background-color);
542
- --cirth-card-box-shadow: var(--cirth-box-shadow);
543
- --cirth-card-sectioning-background-color: #1a1f28;
544
- --cirth-dropdown-background-color: #181c25;
545
- --cirth-dropdown-border-color: #202632;
546
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
547
- --cirth-dropdown-color: var(--cirth-color);
548
- --cirth-dropdown-hover-background-color: #202632;
549
- --cirth-loading-spinner-opacity: .5;
550
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
551
- --cirth-progress-background-color: #202632;
552
- --cirth-progress-color: var(--cirth-primary-background);
553
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
554
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
555
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
556
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
557
- }
558
-
559
- .cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
560
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
561
- }
562
-
563
- .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
564
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
565
- }
566
-
567
- .cirth[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
568
- filter: brightness(0);
569
- }
570
-
571
- .cirth[data-theme="dark"] [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
572
- filter: brightness(0);
573
- }
574
-
575
- .cirth [data-theme="dark"] [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
576
- filter: brightness(0);
577
- }
578
-
579
- .cirth progress {
580
- accent-color: var(--cirth-primary);
581
- }
582
-
583
- .cirth [type="checkbox"] {
584
- accent-color: var(--cirth-primary);
585
- }
586
-
587
- .cirth [type="radio"] {
588
- accent-color: var(--cirth-primary);
589
- }
590
-
591
- .cirth [type="range"] {
592
- accent-color: var(--cirth-primary);
593
- }
594
-
595
1
  .cirth, .cirth *, .cirth :before, .cirth :after {
596
2
  box-sizing: border-box;
597
3
  background-repeat: no-repeat;
@@ -642,7 +48,7 @@
642
48
  margin-right: auto;
643
49
  }
644
50
 
645
- @media (width >= 576px) {
51
+ @media (min-width: 576px) {
646
52
  .container {
647
53
  max-width: 510px;
648
54
  padding-left: 0;
@@ -650,25 +56,25 @@
650
56
  }
651
57
  }
652
58
 
653
- @media (width >= 768px) {
59
+ @media (min-width: 768px) {
654
60
  .container {
655
61
  max-width: 700px;
656
62
  }
657
63
  }
658
64
 
659
- @media (width >= 1024px) {
65
+ @media (min-width: 1024px) {
660
66
  .container {
661
67
  max-width: 950px;
662
68
  }
663
69
  }
664
70
 
665
- @media (width >= 1280px) {
71
+ @media (min-width: 1280px) {
666
72
  .container {
667
73
  max-width: 1200px;
668
74
  }
669
75
  }
670
76
 
671
- @media (width >= 1536px) {
77
+ @media (min-width: 1536px) {
672
78
  .container {
673
79
  max-width: 1450px;
674
80
  }
@@ -681,7 +87,7 @@
681
87
  display: grid;
682
88
  }
683
89
 
684
- @media (width >= 768px) {
90
+ @media (min-width: 768px) {
685
91
  .grid {
686
92
  grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
687
93
  }
@@ -722,6 +128,10 @@
722
128
  font-weight: var(--cirth-font-weight);
723
129
  }
724
130
 
131
+ .cirth p {
132
+ text-wrap: pretty;
133
+ }
134
+
725
135
  .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
726
136
  margin-top: 0;
727
137
  margin-bottom: var(--cirth-typography-spacing-vertical);
@@ -729,7 +139,9 @@
729
139
  font-weight: var(--cirth-font-weight);
730
140
  font-size: var(--cirth-font-size);
731
141
  line-height: var(--cirth-line-height);
732
- font-family: var(--cirth-font-family);
142
+ font-family: var(--cirth-font-family-display);
143
+ letter-spacing: var(--cirth-letter-spacing, normal);
144
+ text-wrap: balance;
733
145
  }
734
146
 
735
147
  .cirth h1 {
@@ -772,7 +184,7 @@
772
184
  .cirth hgroup > :not(:first-child):last-child {
773
185
  --cirth-color: var(--cirth-muted-color);
774
186
  --cirth-font-weight: unset;
775
- font-size: 1rem;
187
+ font-size: var(--cirth-font-size-md);
776
188
  }
777
189
 
778
190
  .cirth :where(ol, ul) li {
@@ -789,18 +201,18 @@
789
201
  }
790
202
 
791
203
  .cirth mark {
204
+ padding: 0 var(--cirth-space-1);
792
205
  background-color: var(--cirth-mark-background-color);
793
206
  color: var(--cirth-mark-color);
794
207
  vertical-align: baseline;
795
- padding: .125rem .25rem;
796
208
  }
797
209
 
798
210
  .cirth blockquote {
799
211
  margin: var(--cirth-typography-spacing-vertical) 0;
800
212
  padding: var(--cirth-spacing);
801
213
  border-right: none;
802
- border-left: .25rem solid var(--cirth-blockquote-border-color);
803
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
214
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
215
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
804
216
  border-inline-end: none;
805
217
  display: block;
806
218
  }
@@ -811,8 +223,8 @@
811
223
  }
812
224
 
813
225
  .cirth abbr[title] {
226
+ border-bottom: var(--cirth-border-width-1) dotted;
814
227
  cursor: help;
815
- border-bottom: 1px dotted;
816
228
  text-decoration: none;
817
229
  }
818
230
 
@@ -829,22 +241,7 @@
829
241
  background-color: var(--cirth-text-selection-color);
830
242
  }
831
243
 
832
- .cirth [role="link"] {
833
- --cirth-color: var(--cirth-primary);
834
- --cirth-background-color: transparent;
835
- --cirth-underline: var(--cirth-primary-underline);
836
- background-color: var(--cirth-background-color);
837
- color: var(--cirth-color);
838
- -webkit-text-decoration: var(--cirth-text-decoration);
839
- text-decoration: var(--cirth-text-decoration);
840
- -webkit-text-decoration-color: var(--cirth-underline);
841
- text-decoration-color: var(--cirth-underline);
842
- text-underline-offset: .125em;
843
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
844
- outline: none;
845
- }
846
-
847
- .cirth :where(a:not([role="button"])) {
244
+ .cirth :where(a:not([role="button"])), .cirth [role="link"] {
848
245
  --cirth-color: var(--cirth-primary);
849
246
  --cirth-background-color: transparent;
850
247
  --cirth-underline: var(--cirth-primary-underline);
@@ -859,152 +256,57 @@
859
256
  outline: none;
860
257
  }
861
258
 
862
- .cirth :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
863
- --cirth-color: var(--cirth-primary-hover);
864
- --cirth-underline: var(--cirth-primary-hover-underline);
865
- --cirth-text-decoration: underline;
866
- }
867
-
868
- .cirth [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
259
+ .cirth :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
869
260
  --cirth-color: var(--cirth-primary-hover);
870
261
  --cirth-underline: var(--cirth-primary-hover-underline);
871
262
  --cirth-text-decoration: underline;
872
263
  }
873
264
 
874
- .cirth :where(a:not([role="button"])):focus-visible {
265
+ .cirth :where(a:not([role="button"])):focus-visible, .cirth [role="link"]:focus-visible {
875
266
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
267
+ outline: var(--cirth-outline-width) solid transparent;
876
268
  }
877
269
 
878
- .cirth [role="link"]:focus-visible {
879
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
880
- }
881
-
882
- .cirth [role="link"].secondary {
883
- --cirth-color: var(--cirth-secondary);
884
- --cirth-underline: var(--cirth-secondary-underline);
885
- }
886
-
887
- .cirth :where(a:not([role="button"])).secondary {
270
+ .cirth :where(a:not([role="button"])).secondary, .cirth [role="link"].secondary {
888
271
  --cirth-color: var(--cirth-secondary);
889
272
  --cirth-underline: var(--cirth-secondary-underline);
890
273
  }
891
274
 
892
- .cirth :where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
275
+ .cirth :where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
893
276
  --cirth-color: var(--cirth-secondary-hover);
894
277
  --cirth-underline: var(--cirth-secondary-hover-underline);
895
278
  }
896
279
 
897
- .cirth [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
898
- --cirth-color: var(--cirth-secondary-hover);
899
- --cirth-underline: var(--cirth-secondary-hover-underline);
900
- }
901
-
902
- .cirth [role="link"].contrast {
903
- --cirth-color: var(--cirth-contrast);
904
- --cirth-underline: var(--cirth-contrast-underline);
905
- }
906
-
907
- .cirth :where(a:not([role="button"])).contrast {
908
- --cirth-color: var(--cirth-contrast);
909
- --cirth-underline: var(--cirth-contrast-underline);
910
- }
911
-
912
- .cirth :where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
913
- --cirth-color: var(--cirth-contrast-hover);
914
- --cirth-underline: var(--cirth-contrast-hover-underline);
915
- }
916
-
917
- .cirth [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
918
- --cirth-color: var(--cirth-contrast-hover);
919
- --cirth-underline: var(--cirth-contrast-hover-underline);
920
- }
921
-
922
- .cirth a[role="button"] {
923
- display: inline-block;
924
- }
925
-
926
- .cirth button {
927
- text-transform: none;
928
- -webkit-appearance: button;
929
- margin: 0;
930
- font-family: inherit;
931
- overflow: visible;
932
- }
933
-
934
- .cirth button, .cirth [role="button"] {
935
- --cirth-background-color: var(--cirth-primary-background);
936
- --cirth-border-color: var(--cirth-primary-border);
937
- --cirth-color: var(--cirth-primary-inverse);
938
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
939
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
940
- border: var(--cirth-border-width) solid var(--cirth-border-color);
941
- border-radius: var(--cirth-border-radius);
942
- background-color: var(--cirth-background-color);
943
- box-shadow: var(--cirth-box-shadow);
944
- color: var(--cirth-color);
945
- font-weight: var(--cirth-font-weight);
946
- font-size: 1rem;
947
- line-height: var(--cirth-line-height);
948
- text-align: center;
949
- cursor: pointer;
950
- -webkit-user-select: none;
951
- user-select: none;
952
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
953
- outline: none;
954
- text-decoration: none;
955
- }
956
-
957
- .cirth [type="submit"] {
958
- --cirth-background-color: var(--cirth-primary-background);
959
- --cirth-border-color: var(--cirth-primary-border);
960
- --cirth-color: var(--cirth-primary-inverse);
961
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
962
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
963
- border: var(--cirth-border-width) solid var(--cirth-border-color);
964
- border-radius: var(--cirth-border-radius);
965
- background-color: var(--cirth-background-color);
966
- box-shadow: var(--cirth-box-shadow);
967
- color: var(--cirth-color);
968
- font-weight: var(--cirth-font-weight);
969
- font-size: 1rem;
970
- line-height: var(--cirth-line-height);
971
- text-align: center;
972
- cursor: pointer;
973
- -webkit-user-select: none;
974
- user-select: none;
975
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
976
- outline: none;
977
- text-decoration: none;
280
+ .cirth :where(a:not([role="button"])).contrast, .cirth [role="link"].contrast {
281
+ --cirth-color: var(--cirth-contrast);
282
+ --cirth-underline: var(--cirth-contrast-underline);
978
283
  }
979
284
 
980
- .cirth [type="reset"] {
981
- --cirth-background-color: var(--cirth-primary-background);
982
- --cirth-border-color: var(--cirth-primary-border);
983
- --cirth-color: var(--cirth-primary-inverse);
984
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
985
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
986
- border: var(--cirth-border-width) solid var(--cirth-border-color);
987
- border-radius: var(--cirth-border-radius);
988
- background-color: var(--cirth-background-color);
989
- box-shadow: var(--cirth-box-shadow);
990
- color: var(--cirth-color);
991
- font-weight: var(--cirth-font-weight);
992
- font-size: 1rem;
993
- line-height: var(--cirth-line-height);
994
- text-align: center;
995
- cursor: pointer;
996
- -webkit-user-select: none;
997
- user-select: none;
998
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
999
- outline: none;
1000
- text-decoration: none;
285
+ .cirth :where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
286
+ --cirth-color: var(--cirth-contrast-hover);
287
+ --cirth-underline: var(--cirth-contrast-hover-underline);
288
+ }
289
+
290
+ .cirth a[role="button"] {
291
+ display: inline-block;
292
+ }
293
+
294
+ .cirth button {
295
+ text-transform: none;
296
+ margin: 0;
297
+ font-family: inherit;
298
+ overflow: visible;
299
+ }
300
+
301
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
302
+ -webkit-appearance: button;
1001
303
  }
1002
304
 
1003
- .cirth [type="button"] {
305
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
1004
306
  --cirth-background-color: var(--cirth-primary-background);
1005
307
  --cirth-border-color: var(--cirth-primary-border);
1006
308
  --cirth-color: var(--cirth-primary-inverse);
1007
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
309
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1008
310
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1009
311
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1010
312
  border-radius: var(--cirth-border-radius);
@@ -1012,7 +314,7 @@
1012
314
  box-shadow: var(--cirth-box-shadow);
1013
315
  color: var(--cirth-color);
1014
316
  font-weight: var(--cirth-font-weight);
1015
- font-size: 1rem;
317
+ font-size: var(--cirth-font-size-md);
1016
318
  line-height: var(--cirth-line-height);
1017
319
  text-align: center;
1018
320
  cursor: pointer;
@@ -1027,7 +329,7 @@
1027
329
  --cirth-background-color: var(--cirth-primary-background);
1028
330
  --cirth-border-color: var(--cirth-primary-border);
1029
331
  --cirth-color: var(--cirth-primary-inverse);
1030
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
332
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1031
333
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1032
334
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1033
335
  border-radius: var(--cirth-border-radius);
@@ -1035,7 +337,7 @@
1035
337
  box-shadow: var(--cirth-box-shadow);
1036
338
  color: var(--cirth-color);
1037
339
  font-weight: var(--cirth-font-weight);
1038
- font-size: 1rem;
340
+ font-size: var(--cirth-font-size-md);
1039
341
  line-height: var(--cirth-line-height);
1040
342
  text-align: center;
1041
343
  cursor: pointer;
@@ -1046,139 +348,58 @@
1046
348
  text-decoration: none;
1047
349
  }
1048
350
 
1049
- .cirth button[aria-current]:not([aria-current="false"]), .cirth [role="button"][aria-current]:not([aria-current="false"]) {
1050
- --cirth-background-color: var(--cirth-primary-hover-background);
1051
- --cirth-border-color: var(--cirth-primary-hover-border);
1052
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1053
- --cirth-color: var(--cirth-primary-inverse);
1054
- }
1055
-
1056
- .cirth button:is(:hover, :active, :focus) {
1057
- --cirth-background-color: var(--cirth-primary-hover-background);
1058
- --cirth-border-color: var(--cirth-primary-hover-border);
1059
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1060
- --cirth-color: var(--cirth-primary-inverse);
1061
- }
1062
-
1063
- .cirth [type="submit"][aria-current]:not([aria-current="false"]) {
351
+ .cirth button[aria-current]:not([aria-current="false"]), .cirth button:is(:hover, :active, :focus), .cirth [type="submit"][aria-current]:not([aria-current="false"]), .cirth [type="submit"]:is(:hover, :active, :focus), .cirth [type="reset"][aria-current]:not([aria-current="false"]), .cirth [type="reset"]:is(:hover, :active, :focus), .cirth [type="button"][aria-current]:not([aria-current="false"]), .cirth [type="button"]:is(:hover, :active, :focus), .cirth [role="button"][aria-current]:not([aria-current="false"]), .cirth [role="button"]:is(:hover, :active, :focus) {
1064
352
  --cirth-background-color: var(--cirth-primary-hover-background);
1065
353
  --cirth-border-color: var(--cirth-primary-hover-border);
1066
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1067
- --cirth-color: var(--cirth-primary-inverse);
1068
- }
1069
-
1070
- .cirth [type="submit"]:is(:hover, :active, :focus) {
1071
- --cirth-background-color: var(--cirth-primary-hover-background);
1072
- --cirth-border-color: var(--cirth-primary-hover-border);
1073
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1074
- --cirth-color: var(--cirth-primary-inverse);
1075
- }
1076
-
1077
- .cirth [type="reset"][aria-current]:not([aria-current="false"]) {
1078
- --cirth-background-color: var(--cirth-primary-hover-background);
1079
- --cirth-border-color: var(--cirth-primary-hover-border);
1080
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1081
- --cirth-color: var(--cirth-primary-inverse);
1082
- }
1083
-
1084
- .cirth [type="reset"]:is(:hover, :active, :focus) {
1085
- --cirth-background-color: var(--cirth-primary-hover-background);
1086
- --cirth-border-color: var(--cirth-primary-hover-border);
1087
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1088
- --cirth-color: var(--cirth-primary-inverse);
1089
- }
1090
-
1091
- .cirth [type="button"][aria-current]:not([aria-current="false"]) {
1092
- --cirth-background-color: var(--cirth-primary-hover-background);
1093
- --cirth-border-color: var(--cirth-primary-hover-border);
1094
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1095
- --cirth-color: var(--cirth-primary-inverse);
1096
- }
1097
-
1098
- .cirth [type="button"]:is(:hover, :active, :focus) {
1099
- --cirth-background-color: var(--cirth-primary-hover-background);
1100
- --cirth-border-color: var(--cirth-primary-hover-border);
1101
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
354
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1102
355
  --cirth-color: var(--cirth-primary-inverse);
1103
356
  }
1104
357
 
1105
358
  .cirth [type="file"]::file-selector-button:is() {
1106
359
  --cirth-background-color: var(--cirth-primary-hover-background);
1107
360
  --cirth-border-color: var(--cirth-primary-hover-border);
1108
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
361
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1109
362
  --cirth-color: var(--cirth-primary-inverse);
1110
363
  }
1111
364
 
1112
365
  .cirth [type="file"]::file-selector-button:is(:hover, :active, :focus) {
1113
366
  --cirth-background-color: var(--cirth-primary-hover-background);
1114
367
  --cirth-border-color: var(--cirth-primary-hover-border);
1115
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1116
- --cirth-color: var(--cirth-primary-inverse);
1117
- }
1118
-
1119
- .cirth [role="button"]:is(:hover, :active, :focus) {
1120
- --cirth-background-color: var(--cirth-primary-hover-background);
1121
- --cirth-border-color: var(--cirth-primary-hover-border);
1122
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
368
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1123
369
  --cirth-color: var(--cirth-primary-inverse);
1124
370
  }
1125
371
 
1126
- .cirth button:focus, .cirth button[aria-current]:not([aria-current="false"]):focus, .cirth [role="button"]:focus, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus {
1127
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1128
- }
1129
-
1130
- .cirth [type="submit"]:focus {
1131
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
372
+ .cirth button:active, .cirth [type="submit"]:active, .cirth [type="reset"]:active, .cirth [type="button"]:active, .cirth [role="button"]:active {
373
+ transform: translateY(.0625rem);
1132
374
  }
1133
375
 
1134
- .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus {
1135
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
376
+ .cirth [type="file"]::file-selector-button:active {
377
+ transform: translateY(.0625rem);
1136
378
  }
1137
379
 
1138
- .cirth [type="reset"]:focus {
1139
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
380
+ .cirth button:focus-visible, .cirth button[aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="submit"]:focus-visible, .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="reset"]:focus-visible, .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="button"]:focus-visible, .cirth [type="button"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [role="button"]:focus-visible, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
381
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
382
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
383
+ outline: var(--cirth-outline-width) solid transparent;
1140
384
  }
1141
385
 
1142
- .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus {
1143
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
386
+ .cirth [type="file"]::file-selector-button:focus-visible {
387
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
388
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
389
+ outline: var(--cirth-outline-width) solid transparent;
1144
390
  }
1145
391
 
1146
- .cirth [type="button"]:focus {
1147
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
392
+ .cirth [type="file"]::file-selector-button:is():focus-visible {
393
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
394
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
395
+ outline: var(--cirth-outline-width) solid transparent;
1148
396
  }
1149
397
 
1150
- .cirth [type="button"][aria-current]:not([aria-current="false"]):focus {
1151
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1152
- }
1153
-
1154
- .cirth [type="file"]::file-selector-button:focus {
1155
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1156
- }
1157
-
1158
- .cirth [type="file"]::file-selector-button:is():focus {
1159
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1160
- }
1161
-
1162
- .cirth [type="submit"] {
1163
- margin-bottom: var(--cirth-spacing);
1164
- }
1165
-
1166
- .cirth [type="reset"] {
1167
- margin-bottom: var(--cirth-spacing);
1168
- }
1169
-
1170
- .cirth [type="button"] {
398
+ .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
1171
399
  margin-bottom: var(--cirth-spacing);
1172
400
  }
1173
401
 
1174
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary {
1175
- --cirth-background-color: var(--cirth-secondary-background);
1176
- --cirth-border-color: var(--cirth-secondary-border);
1177
- --cirth-color: var(--cirth-secondary-inverse);
1178
- cursor: pointer;
1179
- }
1180
-
1181
- .cirth [type="reset"] {
402
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary, .cirth [type="reset"] {
1182
403
  --cirth-background-color: var(--cirth-secondary-background);
1183
404
  --cirth-border-color: var(--cirth-secondary-border);
1184
405
  --cirth-color: var(--cirth-secondary-inverse);
@@ -1192,13 +413,7 @@
1192
413
  cursor: pointer;
1193
414
  }
1194
415
 
1195
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1196
- --cirth-background-color: var(--cirth-secondary-hover-background);
1197
- --cirth-border-color: var(--cirth-secondary-hover-border);
1198
- --cirth-color: var(--cirth-secondary-inverse);
1199
- }
1200
-
1201
- .cirth [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
416
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1202
417
  --cirth-background-color: var(--cirth-secondary-hover-background);
1203
418
  --cirth-border-color: var(--cirth-secondary-hover-border);
1204
419
  --cirth-color: var(--cirth-secondary-inverse);
@@ -1210,28 +425,19 @@
1210
425
  --cirth-color: var(--cirth-secondary-inverse);
1211
426
  }
1212
427
 
1213
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus {
1214
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1215
- }
1216
-
1217
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus {
1218
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1219
- }
1220
-
1221
- .cirth [type="reset"]:focus {
1222
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1223
- }
1224
-
1225
- .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus {
1226
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
428
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus-visible, .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="reset"]:focus-visible, .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus-visible {
429
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
430
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1227
431
  }
1228
432
 
1229
- .cirth [type="file"]::file-selector-button:focus {
1230
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
433
+ .cirth [type="file"]::file-selector-button:focus-visible {
434
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
435
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1231
436
  }
1232
437
 
1233
- .cirth [type="file"]::file-selector-button:is():focus {
1234
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
438
+ .cirth [type="file"]::file-selector-button:is():focus-visible {
439
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
440
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1235
441
  }
1236
442
 
1237
443
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
@@ -1246,54 +452,29 @@
1246
452
  --cirth-color: var(--cirth-contrast-inverse);
1247
453
  }
1248
454
 
1249
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus {
1250
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1251
- }
1252
-
1253
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus {
1254
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1255
- }
1256
-
1257
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline {
1258
- --cirth-background-color: transparent;
1259
- --cirth-color: var(--cirth-primary);
1260
- --cirth-border-color: var(--cirth-primary);
455
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus-visible, .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus-visible {
456
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
457
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1261
458
  }
1262
459
 
1263
- [type="reset"].outline {
460
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
1264
461
  --cirth-background-color: transparent;
1265
462
  --cirth-color: var(--cirth-primary);
1266
463
  --cirth-border-color: var(--cirth-primary);
1267
464
  }
1268
465
 
1269
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1270
- --cirth-background-color: transparent;
1271
- --cirth-color: var(--cirth-primary-hover);
1272
- --cirth-border-color: var(--cirth-primary-hover);
1273
- }
1274
-
1275
- [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
466
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1276
467
  --cirth-background-color: transparent;
1277
468
  --cirth-color: var(--cirth-primary-hover);
1278
469
  --cirth-border-color: var(--cirth-primary-hover);
1279
470
  }
1280
471
 
1281
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary {
1282
- --cirth-color: var(--cirth-secondary);
1283
- --cirth-border-color: var(--cirth-secondary);
1284
- }
1285
-
1286
- [type="reset"].outline {
472
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline {
1287
473
  --cirth-color: var(--cirth-secondary);
1288
474
  --cirth-border-color: var(--cirth-secondary);
1289
475
  }
1290
476
 
1291
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1292
- --cirth-color: var(--cirth-secondary-hover);
1293
- --cirth-border-color: var(--cirth-secondary-hover);
1294
- }
1295
-
1296
- [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
477
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1297
478
  --cirth-color: var(--cirth-secondary-hover);
1298
479
  --cirth-border-color: var(--cirth-secondary-hover);
1299
480
  }
@@ -1308,13 +489,8 @@
1308
489
  --cirth-border-color: var(--cirth-contrast-hover);
1309
490
  }
1310
491
 
1311
- .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1312
- opacity: .5;
1313
- pointer-events: none;
1314
- }
1315
-
1316
- .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1317
- opacity: .5;
492
+ .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
493
+ opacity: var(--cirth-opacity-disabled);
1318
494
  pointer-events: none;
1319
495
  }
1320
496
 
@@ -1331,6 +507,7 @@
1331
507
  background-color: var(--cirth-background-color);
1332
508
  color: var(--cirth-color);
1333
509
  font-weight: var(--cirth-font-weight);
510
+ font-variant-numeric: tabular-nums;
1334
511
  text-align: left;
1335
512
  text-align: start;
1336
513
  }
@@ -1371,11 +548,7 @@
1371
548
  fill: currentColor;
1372
549
  }
1373
550
 
1374
- .cirth svg:not(:root) {
1375
- overflow: hidden;
1376
- }
1377
-
1378
- .cirth svg:not(:host) {
551
+ .cirth svg:not(:root), .cirth svg:not(:host) {
1379
552
  overflow: hidden;
1380
553
  }
1381
554
 
@@ -1403,7 +576,7 @@
1403
576
  }
1404
577
 
1405
578
  .cirth code, .cirth kbd, .cirth samp {
1406
- padding: .375rem;
579
+ padding: var(--cirth-space-1) var(--cirth-space-2);
1407
580
  display: inline-block;
1408
581
  }
1409
582
 
@@ -1441,12 +614,12 @@
1441
614
  height: 0;
1442
615
  margin: var(--cirth-typography-spacing-vertical) 0;
1443
616
  border: 0;
1444
- border-top: 1px solid var(--cirth-muted-border-color);
617
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1445
618
  color: inherit;
1446
619
  }
1447
620
 
1448
621
  .cirth [hidden], .cirth template {
1449
- display: none !important;
622
+ display: none;
1450
623
  }
1451
624
 
1452
625
  .cirth canvas {
@@ -1454,7 +627,7 @@
1454
627
  }
1455
628
 
1456
629
  .cirth input, .cirth optgroup, .cirth select, .cirth textarea {
1457
- font-size: 1rem;
630
+ font-size: var(--cirth-font-size-md);
1458
631
  line-height: var(--cirth-line-height);
1459
632
  letter-spacing: inherit;
1460
633
  margin: 0;
@@ -1480,11 +653,7 @@
1480
653
  overflow: auto;
1481
654
  }
1482
655
 
1483
- .cirth [type="checkbox"] {
1484
- padding: 0;
1485
- }
1486
-
1487
- .cirth [type="radio"] {
656
+ .cirth [type="checkbox"], .cirth [type="radio"] {
1488
657
  padding: 0;
1489
658
  }
1490
659
 
@@ -1527,18 +696,13 @@
1527
696
  display: none;
1528
697
  }
1529
698
 
1530
- .cirth [type="file"] {
1531
- border-width: 0;
1532
- padding: 0;
1533
- }
1534
-
1535
- .cirth [type="range"] {
699
+ .cirth [type="file"], .cirth [type="range"] {
1536
700
  border-width: 0;
1537
701
  padding: 0;
1538
702
  }
1539
703
 
1540
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1541
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
704
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
705
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1542
706
  }
1543
707
 
1544
708
  .cirth fieldset {
@@ -1550,7 +714,7 @@
1550
714
  }
1551
715
 
1552
716
  .cirth label, .cirth fieldset legend {
1553
- margin-bottom: calc(var(--cirth-spacing) * .375);
717
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1554
718
  color: var(--cirth-color);
1555
719
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
1556
720
  display: block;
@@ -1560,24 +724,11 @@
1560
724
  margin-bottom: calc(var(--cirth-spacing) * .5);
1561
725
  }
1562
726
 
1563
- .cirth select, .cirth textarea {
1564
- width: 100%;
1565
- }
1566
-
1567
- .cirth input:not(:is([type="checkbox"], [type="radio"])) {
1568
- width: 100%;
1569
- }
1570
-
1571
- .cirth button[type="submit"] {
727
+ .cirth input:not([type="checkbox"], [type="radio"]), .cirth button[type="submit"], .cirth select, .cirth textarea {
1572
728
  width: 100%;
1573
729
  }
1574
730
 
1575
- .cirth select, .cirth textarea {
1576
- appearance: none;
1577
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1578
- }
1579
-
1580
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
731
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth select, .cirth textarea {
1581
732
  appearance: none;
1582
733
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1583
734
  }
@@ -1597,41 +748,21 @@
1597
748
  outline: none;
1598
749
  }
1599
750
 
1600
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
751
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
1601
752
  --cirth-background-color: var(--cirth-form-element-active-background-color);
1602
753
  }
1603
754
 
1604
- .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
1605
- --cirth-background-color: var(--cirth-form-element-active-background-color);
1606
- }
1607
-
1608
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly])):is(:active, :focus) {
1609
- --cirth-border-color: var(--cirth-form-element-active-border-color);
1610
- }
1611
-
1612
- .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
755
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
1613
756
  --cirth-border-color: var(--cirth-form-element-active-border-color);
1614
757
  }
1615
758
 
1616
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1617
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1618
- }
1619
-
1620
- .cirth :where(select, textarea):not([readonly]):focus {
1621
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1622
- }
1623
-
1624
- .cirth select[disabled], .cirth textarea[disabled], .cirth label[aria-disabled="true"] {
1625
- opacity: var(--cirth-form-element-disabled-opacity);
1626
- pointer-events: none;
1627
- }
1628
-
1629
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"]))[disabled] {
1630
- opacity: var(--cirth-form-element-disabled-opacity);
1631
- pointer-events: none;
759
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
760
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
761
+ var(--cirth-form-element-focus-color);
762
+ outline: var(--cirth-outline-width) solid transparent;
1632
763
  }
1633
764
 
1634
- .cirth :where(fieldset[disabled]) :is(input:not(:is([type="submit"], [type="button"], [type="reset"])), select, textarea) {
765
+ .cirth input:not([type="submit"], [type="button"], [type="reset"])[disabled], .cirth select[disabled], .cirth textarea[disabled], .cirth label[aria-disabled="true"], .cirth :where(fieldset[disabled]) :is(input:not([type="submit"], [type="button"], [type="reset"]), select, textarea) {
1635
766
  opacity: var(--cirth-form-element-disabled-opacity);
1636
767
  pointer-events: none;
1637
768
  }
@@ -1640,21 +771,21 @@
1640
771
  opacity: 1;
1641
772
  }
1642
773
 
1643
- .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid] {
774
+ .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
775
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1644
776
  padding-left: var(--cirth-form-element-spacing-horizontal);
1645
- background-position: right .75rem center;
777
+ background-position: center right var(--cirth-space-3);
778
+ background-size: var(--cirth-size-4) auto;
1646
779
  background-repeat: no-repeat;
1647
- background-size: 1rem;
1648
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1649
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1650
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
780
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
781
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1651
782
  }
1652
783
 
1653
- .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid="false"]:not(select) {
784
+ .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
1654
785
  background-image: var(--cirth-icon-valid);
1655
786
  }
1656
787
 
1657
- .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid="true"]:not(select) {
788
+ .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="true"]:not(select) {
1658
789
  background-image: var(--cirth-icon-invalid);
1659
790
  }
1660
791
 
@@ -1663,11 +794,12 @@
1663
794
  }
1664
795
 
1665
796
  .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1666
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
797
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1667
798
  }
1668
799
 
1669
- .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1670
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
800
+ .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
801
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
802
+ var(--cirth-form-element-valid-focus-color);
1671
803
  }
1672
804
 
1673
805
  .cirth :where(input, select, textarea)[aria-invalid="true"] {
@@ -1675,23 +807,19 @@
1675
807
  }
1676
808
 
1677
809
  .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1678
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
1679
- }
1680
-
1681
- .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1682
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
810
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1683
811
  }
1684
812
 
1685
- [dir="rtl"] .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1686
- background-position: .75rem;
813
+ .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
814
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
815
+ var(--cirth-form-element-invalid-focus-color);
1687
816
  }
1688
817
 
1689
- .cirth select:invalid {
1690
- color: var(--cirth-form-element-placeholder-color);
1691
- opacity: 1;
818
+ [dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
819
+ background-position: center left var(--cirth-space-3);
1692
820
  }
1693
821
 
1694
- .cirth input::placeholder {
822
+ .cirth input::placeholder, .cirth textarea::placeholder, .cirth select:invalid {
1695
823
  color: var(--cirth-form-element-placeholder-color);
1696
824
  opacity: 1;
1697
825
  }
@@ -1701,38 +829,29 @@
1701
829
  opacity: 1;
1702
830
  }
1703
831
 
1704
- .cirth textarea::placeholder {
1705
- color: var(--cirth-form-element-placeholder-color);
1706
- opacity: 1;
1707
- }
1708
-
1709
832
  .cirth textarea::-webkit-input-placeholder {
1710
833
  color: var(--cirth-form-element-placeholder-color);
1711
834
  opacity: 1;
1712
835
  }
1713
836
 
1714
- .cirth select, .cirth textarea {
1715
- margin-bottom: var(--cirth-spacing);
1716
- }
1717
-
1718
- .cirth input:not(:is([type="checkbox"], [type="radio"])) {
837
+ .cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
1719
838
  margin-bottom: var(--cirth-spacing);
1720
839
  }
1721
840
 
1722
841
  .cirth select::-ms-expand {
1723
- background-color: rgba(0, 0, 0, 0);
842
+ background-color: #0000;
1724
843
  border: 0;
1725
844
  }
1726
845
 
1727
- .cirth select:not(:is([multiple], [size])) {
1728
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
846
+ .cirth select:not([multiple], [size]) {
847
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1729
848
  padding-left: var(--cirth-form-element-spacing-horizontal);
1730
849
  background-image: var(--cirth-icon-chevron);
1731
- background-position: right .75rem center;
850
+ background-position: center right var(--cirth-space-3);
851
+ background-size: var(--cirth-size-4) auto;
1732
852
  background-repeat: no-repeat;
1733
- background-size: 1rem;
1734
853
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1735
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
854
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1736
855
  }
1737
856
 
1738
857
  .cirth select[multiple] option:checked {
@@ -1740,8 +859,8 @@
1740
859
  color: var(--cirth-form-element-color);
1741
860
  }
1742
861
 
1743
- [dir="rtl"] .cirth select:not(:is([multiple], [size])) {
1744
- background-position: .75rem;
862
+ [dir="rtl"] .cirth select:not([multiple], [size]) {
863
+ background-position: center left var(--cirth-space-3);
1745
864
  }
1746
865
 
1747
866
  .cirth textarea {
@@ -1750,9 +869,11 @@
1750
869
  }
1751
870
 
1752
871
  .cirth textarea[aria-invalid] {
1753
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1754
- background-position: right .75rem top !important;
1755
- background-size: 1rem var(--cirth-icon-height) !important;
872
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
873
+ var(--cirth-form-element-spacing-vertical) * 2 +
874
+ var(--cirth-border-width) * 2);
875
+ background-position: top right var(--cirth-space-3);
876
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
1756
877
  }
1757
878
 
1758
879
  .cirth :where(input, select, textarea, fieldset, .grid) + small {
@@ -1780,25 +901,14 @@
1780
901
  width: fit-content;
1781
902
  }
1782
903
 
1783
- .cirth [type="checkbox"] {
1784
- appearance: none;
1785
- margin-top: -.125em;
1786
- border-width: var(--cirth-border-width);
1787
- vertical-align: middle;
1788
- cursor: pointer;
1789
- width: 1.25em;
1790
- height: 1.25em;
1791
- margin-inline-end: .5em;
1792
- }
1793
-
1794
- .cirth [type="radio"] {
904
+ .cirth [type="checkbox"], .cirth [type="radio"] {
1795
905
  appearance: none;
1796
906
  margin-top: -.125em;
1797
907
  border-width: var(--cirth-border-width);
1798
908
  vertical-align: middle;
1799
909
  cursor: pointer;
1800
- width: 1.25em;
1801
- height: 1.25em;
910
+ width: 1.5em;
911
+ height: 1.5em;
1802
912
  margin-inline-end: .5em;
1803
913
  }
1804
914
 
@@ -1810,77 +920,22 @@
1810
920
  display: none;
1811
921
  }
1812
922
 
1813
- .cirth [type="checkbox"]:checked {
1814
- --cirth-background-color: var(--cirth-primary-background);
1815
- --cirth-border-color: var(--cirth-primary-border);
1816
- background-image: var(--cirth-icon-checkbox);
1817
- background-position: center;
1818
- background-repeat: no-repeat;
1819
- background-size: .75em;
1820
- }
1821
-
1822
- .cirth [type="checkbox"]:checked:active {
1823
- --cirth-background-color: var(--cirth-primary-background);
1824
- --cirth-border-color: var(--cirth-primary-border);
1825
- background-image: var(--cirth-icon-checkbox);
1826
- background-position: center;
1827
- background-repeat: no-repeat;
1828
- background-size: .75em;
1829
- }
1830
-
1831
- .cirth [type="checkbox"]:checked:focus {
1832
- --cirth-background-color: var(--cirth-primary-background);
1833
- --cirth-border-color: var(--cirth-primary-border);
1834
- background-image: var(--cirth-icon-checkbox);
1835
- background-position: center;
1836
- background-repeat: no-repeat;
1837
- background-size: .75em;
1838
- }
1839
-
1840
- .cirth [type="radio"]:checked {
1841
- --cirth-background-color: var(--cirth-primary-background);
1842
- --cirth-border-color: var(--cirth-primary-border);
1843
- background-image: var(--cirth-icon-checkbox);
1844
- background-position: center;
1845
- background-repeat: no-repeat;
1846
- background-size: .75em;
1847
- }
1848
-
1849
- .cirth [type="radio"]:checked:active {
1850
- --cirth-background-color: var(--cirth-primary-background);
1851
- --cirth-border-color: var(--cirth-primary-border);
1852
- background-image: var(--cirth-icon-checkbox);
1853
- background-position: center;
1854
- background-repeat: no-repeat;
1855
- background-size: .75em;
1856
- }
1857
-
1858
- .cirth [type="radio"]:checked:focus {
923
+ .cirth [type="checkbox"]:checked, .cirth [type="checkbox"]:checked:active, .cirth [type="checkbox"]:checked:focus, .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
1859
924
  --cirth-background-color: var(--cirth-primary-background);
1860
925
  --cirth-border-color: var(--cirth-primary-border);
1861
926
  background-image: var(--cirth-icon-checkbox);
1862
927
  background-position: center;
1863
928
  background-repeat: no-repeat;
1864
- background-size: .75em;
1865
- }
1866
-
1867
- .cirth [type="checkbox"] ~ label {
1868
- cursor: pointer;
1869
- margin-bottom: 0;
1870
- display: inline-block;
929
+ background-size: .9em;
1871
930
  }
1872
931
 
1873
- .cirth [type="radio"] ~ label {
932
+ .cirth [type="checkbox"] ~ label, .cirth [type="radio"] ~ label {
1874
933
  cursor: pointer;
1875
934
  margin-bottom: 0;
1876
935
  display: inline-block;
1877
936
  }
1878
937
 
1879
- .cirth [type="checkbox"] ~ label:not(:last-of-type) {
1880
- margin-inline-end: 1em;
1881
- }
1882
-
1883
- .cirth [type="radio"] ~ label:not(:last-of-type) {
938
+ .cirth [type="checkbox"] ~ label:not(:last-of-type), .cirth [type="radio"] ~ label:not(:last-of-type) {
1884
939
  margin-inline-end: 1em;
1885
940
  }
1886
941
 
@@ -1890,29 +945,17 @@
1890
945
  background-image: var(--cirth-icon-minus);
1891
946
  background-position: center;
1892
947
  background-repeat: no-repeat;
1893
- background-size: .75em;
948
+ background-size: .9em;
1894
949
  }
1895
950
 
1896
951
  .cirth [type="radio"] {
1897
952
  border-radius: 50%;
1898
953
  }
1899
954
 
1900
- .cirth [type="radio"]:checked {
1901
- --cirth-background-color: var(--cirth-primary-inverse);
1902
- background-image: none;
1903
- border-width: .35em;
1904
- }
1905
-
1906
- .cirth [type="radio"]:checked:active {
1907
- --cirth-background-color: var(--cirth-primary-inverse);
1908
- background-image: none;
1909
- border-width: .35em;
1910
- }
1911
-
1912
- .cirth [type="radio"]:checked:focus {
955
+ .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
1913
956
  --cirth-background-color: var(--cirth-primary-inverse);
1914
957
  background-image: none;
1915
- border-width: .35em;
958
+ border-width: .42em;
1916
959
  }
1917
960
 
1918
961
  .cirth [type="checkbox"][role="switch"] {
@@ -1920,10 +963,10 @@
1920
963
  --cirth-color: var(--cirth-switch-color);
1921
964
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1922
965
  background-color: var(--cirth-background-color);
1923
- border-radius: 1.25em;
1924
- width: 2.25em;
1925
- height: 1.25em;
1926
- line-height: 1.25em;
966
+ border-radius: 1.5em;
967
+ width: 2.7em;
968
+ height: 1.5em;
969
+ line-height: 1.5em;
1927
970
  }
1928
971
 
1929
972
  .cirth [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -1936,8 +979,8 @@
1936
979
  height: 100%;
1937
980
  box-shadow: var(--cirth-switch-thumb-box-shadow);
1938
981
  content: "";
982
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
1939
983
  border-radius: 50%;
1940
- transition: margin .1s ease-in-out;
1941
984
  display: block;
1942
985
  }
1943
986
 
@@ -1953,130 +996,26 @@
1953
996
  }
1954
997
 
1955
998
  .cirth [type="checkbox"][role="switch"]:checked:before {
1956
- margin-inline-start: 1em;
999
+ margin-inline-start: 1.2em;
1957
1000
  }
1958
1001
 
1959
1002
  .cirth [type="checkbox"][role="switch"][disabled] {
1960
1003
  --cirth-background-color: var(--cirth-border-color);
1961
1004
  }
1962
1005
 
1963
- .cirth [type="checkbox"][aria-invalid="false"]:checked {
1964
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1965
- }
1966
-
1967
- .cirth [type="checkbox"][aria-invalid="false"]:checked:active {
1968
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1969
- }
1970
-
1971
- .cirth [type="checkbox"][aria-invalid="false"]:checked:focus {
1972
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1973
- }
1974
-
1975
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1976
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1977
- }
1978
-
1979
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1980
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1981
- }
1982
-
1983
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1006
+ .cirth [type="checkbox"][aria-invalid="false"]:checked, .cirth [type="checkbox"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][aria-invalid="false"]:checked:focus, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1984
1007
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
1985
1008
  }
1986
1009
 
1987
- .cirth [type="checkbox"]:checked[aria-invalid="true"] {
1988
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1989
- }
1990
-
1991
- .cirth [type="checkbox"]:checked:active[aria-invalid="true"] {
1992
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1993
- }
1994
-
1995
- .cirth [type="checkbox"]:checked:focus[aria-invalid="true"] {
1010
+ .cirth [type="checkbox"]:checked[aria-invalid="true"], .cirth [type="checkbox"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"]:checked:focus[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1996
1011
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1997
1012
  }
1998
1013
 
1999
- .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2000
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2001
- }
2002
-
2003
- .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2004
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2005
- }
2006
-
2007
- .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2008
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2009
- }
2010
-
2011
- .cirth [type="checkbox"][aria-invalid="false"]:checked {
2012
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2013
- }
2014
-
2015
- .cirth [type="checkbox"][aria-invalid="false"]:checked:active {
2016
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2017
- }
2018
-
2019
- .cirth [type="checkbox"][aria-invalid="false"]:checked:focus {
2020
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2021
- }
2022
-
2023
- .cirth [type="radio"][aria-invalid="false"]:checked {
2024
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2025
- }
2026
-
2027
- .cirth [type="radio"][aria-invalid="false"]:checked:active {
2028
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2029
- }
2030
-
2031
- .cirth [type="radio"][aria-invalid="false"]:checked:focus {
2032
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2033
- }
2034
-
2035
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2036
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2037
- }
2038
-
2039
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2040
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2041
- }
2042
-
2043
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1014
+ .cirth [type="checkbox"][aria-invalid="false"]:checked, .cirth [type="checkbox"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][aria-invalid="false"]:checked:focus, .cirth [type="radio"][aria-invalid="false"]:checked, .cirth [type="radio"][aria-invalid="false"]:checked:active, .cirth [type="radio"][aria-invalid="false"]:checked:focus, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2044
1015
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
2045
1016
  }
2046
1017
 
2047
- .cirth [type="checkbox"]:checked[aria-invalid="true"] {
2048
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2049
- }
2050
-
2051
- .cirth [type="checkbox"]:checked:active[aria-invalid="true"] {
2052
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2053
- }
2054
-
2055
- .cirth [type="checkbox"]:checked:focus[aria-invalid="true"] {
2056
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2057
- }
2058
-
2059
- .cirth [type="radio"]:checked[aria-invalid="true"] {
2060
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2061
- }
2062
-
2063
- .cirth [type="radio"]:checked:active[aria-invalid="true"] {
2064
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2065
- }
2066
-
2067
- .cirth [type="radio"]:checked:focus[aria-invalid="true"] {
2068
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2069
- }
2070
-
2071
- .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2072
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2073
- }
2074
-
2075
- .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2076
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2077
- }
2078
-
2079
- .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1018
+ .cirth [type="checkbox"]:checked[aria-invalid="true"], .cirth [type="checkbox"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"]:checked:focus[aria-invalid="true"], .cirth [type="radio"]:checked[aria-invalid="true"], .cirth [type="radio"]:checked:active[aria-invalid="true"], .cirth [type="radio"]:checked:focus[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2080
1019
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2081
1020
  }
2082
1021
 
@@ -2098,9 +1037,9 @@
2098
1037
  border: 0;
2099
1038
  }
2100
1039
 
2101
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2102
- --cirth-icon-position: .75rem;
2103
- --cirth-icon-width: 1rem;
1040
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1041
+ --cirth-icon-position: var(--cirth-space-3);
1042
+ --cirth-icon-width: var(--cirth-size-4);
2104
1043
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2105
1044
  background-image: var(--cirth-icon-date);
2106
1045
  background-position: center right var(--cirth-icon-position);
@@ -2108,7 +1047,7 @@
2108
1047
  background-repeat: no-repeat;
2109
1048
  }
2110
1049
 
2111
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
1050
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
2112
1051
  background-image: var(--cirth-icon-time);
2113
1052
  }
2114
1053
 
@@ -2148,29 +1087,9 @@
2148
1087
  }
2149
1088
 
2150
1089
  @-moz-document url-prefix() {
2151
- .cirth [type="date"] {
2152
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2153
- background-image: none !important;
2154
- }
2155
-
2156
- .cirth [type="datetime-local"] {
2157
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2158
- background-image: none !important;
2159
- }
2160
-
2161
- .cirth [type="month"] {
2162
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2163
- background-image: none !important;
2164
- }
2165
-
2166
- .cirth [type="time"] {
2167
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2168
- background-image: none !important;
2169
- }
2170
-
2171
- .cirth [type="week"] {
2172
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2173
- background-image: none !important;
1090
+ .cirth [type="date"], .cirth [type="datetime-local"], .cirth [type="month"], .cirth [type="time"], .cirth [type="week"] {
1091
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1092
+ background-image: none;
2174
1093
  }
2175
1094
  }
2176
1095
 
@@ -2199,7 +1118,8 @@
2199
1118
  }
2200
1119
 
2201
1120
  .cirth [type="file"]:focus::file-selector-button {
2202
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1121
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1122
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
2203
1123
  }
2204
1124
 
2205
1125
  .cirth [type="range"] {
@@ -2235,7 +1155,7 @@
2235
1155
 
2236
1156
  .cirth [type="range"]::-webkit-slider-thumb {
2237
1157
  -webkit-appearance: none;
2238
- border: 2px solid var(--cirth-range-thumb-border-color);
1158
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2239
1159
  background-color: var(--cirth-range-thumb-color);
2240
1160
  cursor: pointer;
2241
1161
  width: 1.25rem;
@@ -2247,7 +1167,7 @@
2247
1167
 
2248
1168
  .cirth [type="range"]::-moz-range-thumb {
2249
1169
  -webkit-appearance: none;
2250
- border: 2px solid var(--cirth-range-thumb-border-color);
1170
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2251
1171
  background-color: var(--cirth-range-thumb-color);
2252
1172
  cursor: pointer;
2253
1173
  width: 1.25rem;
@@ -2259,7 +1179,7 @@
2259
1179
 
2260
1180
  .cirth [type="range"]::-ms-thumb {
2261
1181
  -webkit-appearance: none;
2262
- border: 2px solid var(--cirth-range-thumb-border-color);
1182
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2263
1183
  background-color: var(--cirth-range-thumb-color);
2264
1184
  cursor: pointer;
2265
1185
  width: 1.25rem;
@@ -2269,12 +1189,7 @@
2269
1189
  margin-top: -.4375rem;
2270
1190
  }
2271
1191
 
2272
- .cirth [type="range"]:active {
2273
- --cirth-range-border-color: var(--cirth-range-active-border-color);
2274
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2275
- }
2276
-
2277
- .cirth [type="range"]:focus-within {
1192
+ .cirth [type="range"]:active, .cirth [type="range"]:focus-within {
2278
1193
  --cirth-range-border-color: var(--cirth-range-active-border-color);
2279
1194
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2280
1195
  }
@@ -2291,33 +1206,33 @@
2291
1206
  transform: scale(1.25);
2292
1207
  }
2293
1208
 
2294
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1209
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
2295
1210
  background-image: var(--cirth-icon-search);
2296
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1211
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
2297
1212
  background-repeat: no-repeat;
2298
1213
  background-size: 1rem;
2299
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1214
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2300
1215
  }
2301
1216
 
2302
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2303
- background-position: 1.125rem, right .75rem center;
2304
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1217
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1218
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1219
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2305
1220
  }
2306
1221
 
2307
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1222
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
2308
1223
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
2309
1224
  }
2310
1225
 
2311
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1226
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
2312
1227
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
2313
1228
  }
2314
1229
 
2315
- [dir="rtl"] .cirth :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2316
- background-position: right 1.125rem center;
1230
+ [dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1231
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
2317
1232
  }
2318
1233
 
2319
- [dir="rtl"] .cirth :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2320
- background-position: right 1.125rem center, .75rem;
1234
+ [dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1235
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
2321
1236
  }
2322
1237
 
2323
1238
  .cirth details {
@@ -2326,9 +1241,9 @@
2326
1241
  }
2327
1242
 
2328
1243
  .cirth details summary {
1244
+ line-height: var(--cirth-size-4);
2329
1245
  cursor: pointer;
2330
1246
  transition: color var(--cirth-transition);
2331
- line-height: 1rem;
2332
1247
  list-style-type: none;
2333
1248
  }
2334
1249
 
@@ -2349,16 +1264,16 @@
2349
1264
  }
2350
1265
 
2351
1266
  .cirth details summary:after {
2352
- width: 1rem;
2353
- height: 1rem;
1267
+ width: var(--cirth-size-4);
1268
+ height: var(--cirth-size-4);
2354
1269
  float: right;
2355
1270
  background-image: var(--cirth-icon-chevron);
1271
+ background-position: 100%;
1272
+ background-size: var(--cirth-size-4) auto;
2356
1273
  content: "";
2357
1274
  transition: transform var(--cirth-transition);
2358
- background-position: 100%;
2359
1275
  background-repeat: no-repeat;
2360
- background-size: 1rem;
2361
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1276
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2362
1277
  display: block;
2363
1278
  transform: rotate(-90deg);
2364
1279
  }
@@ -2373,7 +1288,7 @@
2373
1288
 
2374
1289
  .cirth details summary:focus-visible:not([role]) {
2375
1290
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2376
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1291
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2377
1292
  color: var(--cirth-primary);
2378
1293
  }
2379
1294
 
@@ -2383,7 +1298,7 @@
2383
1298
  }
2384
1299
 
2385
1300
  .cirth details summary[role="button"]:after {
2386
- height: calc(1rem * var(--cirth-line-height, 1.5));
1301
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2387
1302
  }
2388
1303
 
2389
1304
  .cirth details[open] > summary {
@@ -2418,7 +1333,7 @@
2418
1333
  .cirth article > header, .cirth article > footer {
2419
1334
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
2420
1335
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
2421
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1336
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
2422
1337
  background-color: var(--cirth-card-sectioning-background-color);
2423
1338
  }
2424
1339
 
@@ -2444,15 +1359,15 @@
2444
1359
  }
2445
1360
 
2446
1361
  .cirth details.dropdown > summary:after, .cirth details.dropdown > button:after, .cirth details.dropdown > a:after {
2447
- width: 1rem;
2448
- height: calc(1rem * var(--cirth-line-height, 1.5));
1362
+ width: var(--cirth-size-4);
1363
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2449
1364
  float: right;
2450
1365
  background-image: var(--cirth-icon-chevron);
2451
- content: "";
2452
1366
  background-position: 100%;
1367
+ background-size: var(--cirth-size-4) auto;
1368
+ content: "";
2453
1369
  background-repeat: no-repeat;
2454
- background-size: 1rem;
2455
- margin-inline-start: .25rem;
1370
+ margin-inline-start: var(--cirth-space-1);
2456
1371
  display: block;
2457
1372
  transform: rotate(0) translateX(.2rem);
2458
1373
  }
@@ -2462,7 +1377,7 @@
2462
1377
  }
2463
1378
 
2464
1379
  .cirth details.dropdown > summary:not([role]) {
2465
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1380
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2466
1381
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
2467
1382
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
2468
1383
  border-radius: var(--cirth-border-radius);
@@ -2485,7 +1400,7 @@
2485
1400
  }
2486
1401
 
2487
1402
  .cirth details.dropdown > summary:not([role]):focus-visible {
2488
- outline: none;
1403
+ outline: var(--cirth-outline-width) solid transparent;
2489
1404
  }
2490
1405
 
2491
1406
  .cirth details.dropdown > summary:not([role])[aria-invalid="false"] {
@@ -2510,7 +1425,7 @@
2510
1425
  }
2511
1426
 
2512
1427
  .cirth nav details.dropdown > summary:not([role]) {
2513
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1428
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
2514
1429
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2515
1430
  }
2516
1431
 
@@ -2519,7 +1434,7 @@
2519
1434
  }
2520
1435
 
2521
1436
  .cirth details.dropdown > summary + ul {
2522
- z-index: 99;
1437
+ z-index: var(--cirth-z-index-dropdown);
2523
1438
  width: 100%;
2524
1439
  min-width: fit-content;
2525
1440
  margin: 0;
@@ -2531,7 +1446,7 @@
2531
1446
  color: var(--cirth-dropdown-color);
2532
1447
  white-space: nowrap;
2533
1448
  opacity: 0;
2534
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 1s;
1449
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) 1s;
2535
1450
  flex-direction: column;
2536
1451
  padding: 0;
2537
1452
  display: flex;
@@ -2570,11 +1485,7 @@
2570
1485
  overflow: hidden;
2571
1486
  }
2572
1487
 
2573
- .cirth details.dropdown > summary + ul li a:hover, .cirth details.dropdown > summary + ul li a:focus, .cirth details.dropdown > summary + ul li a:active, .cirth details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2574
- background-color: var(--cirth-dropdown-hover-background-color);
2575
- }
2576
-
2577
- .cirth details.dropdown > summary + ul li a:focus-visible {
1488
+ .cirth details.dropdown > summary + ul li a:hover, .cirth details.dropdown > summary + ul li a:focus, .cirth details.dropdown > summary + ul li a:active, .cirth details.dropdown > summary + ul li a:focus-visible, .cirth details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2578
1489
  background-color: var(--cirth-dropdown-hover-background-color);
2579
1490
  }
2580
1491
 
@@ -2592,7 +1503,7 @@
2592
1503
 
2593
1504
  .cirth details.dropdown[open] > summary + ul {
2594
1505
  opacity: 1;
2595
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 0s;
1506
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) var(--cirth-duration-instant);
2596
1507
  transform: scaleY(1);
2597
1508
  }
2598
1509
 
@@ -2616,257 +1527,143 @@
2616
1527
  width: 100%;
2617
1528
  margin-bottom: var(--cirth-spacing);
2618
1529
  border-radius: var(--cirth-border-radius);
2619
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1530
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
2620
1531
  vertical-align: middle;
2621
1532
  transition: box-shadow var(--cirth-transition);
2622
1533
  display: inline-flex;
2623
1534
  position: relative;
2624
1535
  }
2625
1536
 
2626
- .cirth [role="search"] > *, .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] select {
2627
- flex: auto;
2628
- margin-bottom: 0;
2629
- position: relative;
2630
- }
2631
-
2632
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
2633
- flex: auto;
2634
- margin-bottom: 0;
2635
- position: relative;
2636
- }
2637
-
2638
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
1537
+ .cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]), .cirth [role="group"] select {
2639
1538
  flex: auto;
2640
1539
  margin-bottom: 0;
2641
1540
  position: relative;
2642
1541
  }
2643
1542
 
2644
- .cirth [role="search"] > :not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] > :not(:first-child), .cirth [role="group"] select:not(:first-child) {
2645
- border-top-left-radius: 0;
2646
- border-bottom-left-radius: 0;
2647
- margin-left: 0;
2648
- }
2649
-
2650
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2651
- border-top-left-radius: 0;
2652
- border-bottom-left-radius: 0;
2653
- margin-left: 0;
2654
- }
2655
-
2656
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1543
+ .cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] > :not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
2657
1544
  border-top-left-radius: 0;
2658
1545
  border-bottom-left-radius: 0;
2659
1546
  margin-left: 0;
2660
1547
  }
2661
1548
 
2662
- .cirth [role="search"] > :not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"] > :not(:last-child), .cirth [role="group"] select:not(:last-child) {
2663
- border-top-right-radius: 0;
2664
- border-bottom-right-radius: 0;
2665
- }
2666
-
2667
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2668
- border-top-right-radius: 0;
2669
- border-bottom-right-radius: 0;
2670
- }
2671
-
2672
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1549
+ .cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"] > :not(:last-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="group"] select:not(:last-child) {
2673
1550
  border-top-right-radius: 0;
2674
1551
  border-bottom-right-radius: 0;
2675
1552
  }
2676
1553
 
2677
- .cirth [role="search"] > :focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] select:focus {
2678
- z-index: 2;
2679
- }
2680
-
2681
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2682
- z-index: 2;
2683
- }
2684
-
2685
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1554
+ .cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="group"] select:focus {
2686
1555
  z-index: 2;
2687
1556
  }
2688
1557
 
2689
- .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] select:not(:first-child) {
2690
- margin-left: calc(var(--cirth-border-width) * -1);
2691
- }
2692
-
2693
- .cirth [role="search"] [type="submit"]:not(:first-child) {
2694
- margin-left: calc(var(--cirth-border-width) * -1);
2695
- }
2696
-
2697
- .cirth [role="search"] [type="reset"]:not(:first-child) {
2698
- margin-left: calc(var(--cirth-border-width) * -1);
2699
- }
2700
-
2701
- .cirth [role="search"] [type="button"]:not(:first-child) {
2702
- margin-left: calc(var(--cirth-border-width) * -1);
2703
- }
2704
-
2705
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2706
- margin-left: calc(var(--cirth-border-width) * -1);
2707
- }
2708
-
2709
- .cirth [role="group"] [type="submit"]:not(:first-child) {
1558
+ .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [type="submit"]:not(:first-child), .cirth [role="group"] [type="reset"]:not(:first-child), .cirth [role="group"] [type="button"]:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
2710
1559
  margin-left: calc(var(--cirth-border-width) * -1);
2711
1560
  }
2712
1561
 
2713
- .cirth [role="group"] [type="reset"]:not(:first-child) {
2714
- margin-left: calc(var(--cirth-border-width) * -1);
2715
- }
2716
-
2717
- .cirth [role="group"] [type="button"]:not(:first-child) {
2718
- margin-left: calc(var(--cirth-border-width) * -1);
2719
- }
2720
-
2721
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2722
- margin-left: calc(var(--cirth-border-width) * -1);
2723
- }
2724
-
2725
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
2726
- width: auto;
2727
- }
2728
-
2729
- .cirth [role="search"] [type="submit"] {
2730
- width: auto;
2731
- }
2732
-
2733
- .cirth [role="search"] [type="reset"] {
2734
- width: auto;
2735
- }
2736
-
2737
- .cirth [role="search"] [type="button"] {
2738
- width: auto;
2739
- }
2740
-
2741
- .cirth [role="group"] [type="submit"] {
2742
- width: auto;
2743
- }
2744
-
2745
- .cirth [role="group"] [type="reset"] {
2746
- width: auto;
2747
- }
2748
-
2749
- .cirth [role="group"] [type="button"] {
1562
+ .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="reset"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
2750
1563
  width: auto;
2751
1564
  }
2752
1565
 
2753
1566
  @supports selector(:has(*)) {
2754
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2755
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2756
- }
2757
-
2758
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1567
+ :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
2759
1568
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2760
1569
  }
2761
1570
 
2762
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2763
- border-color: rgba(0, 0, 0, 0);
1571
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1572
+ border-color: #0000;
2764
1573
  }
2765
1574
 
2766
1575
  .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2767
- border-color: rgba(0, 0, 0, 0);
1576
+ border-color: #0000;
2768
1577
  }
2769
1578
 
2770
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2771
- border-color: rgba(0, 0, 0, 0);
1579
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1580
+ border-color: #0000;
2772
1581
  }
2773
1582
 
2774
1583
  .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2775
- border-color: rgba(0, 0, 0, 0);
2776
- }
2777
-
2778
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2779
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1584
+ border-color: #0000;
2780
1585
  }
2781
1586
 
2782
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1587
+ :is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
2783
1588
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2784
1589
  }
2785
1590
 
2786
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2787
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2788
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2789
- }
2790
-
2791
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2792
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2793
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2794
- }
2795
-
2796
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2797
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2798
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2799
- }
2800
-
2801
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2802
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2803
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2804
- }
2805
-
2806
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2807
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2808
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2809
- }
2810
-
2811
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2812
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2813
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2814
- }
2815
-
2816
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2817
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2818
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1591
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1592
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1593
+ var(--cirth-primary-border);
1594
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1595
+ var(--cirth-primary-hover-border);
2819
1596
  }
2820
1597
 
2821
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2822
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2823
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1598
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1599
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1600
+ var(--cirth-primary-border);
1601
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1602
+ var(--cirth-primary-hover-border);
2824
1603
  }
2825
1604
 
2826
- .cirth [role="search"] button:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [role="button"]:focus {
2827
- box-shadow: none;
1605
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1606
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1607
+ var(--cirth-primary-border);
1608
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1609
+ var(--cirth-primary-hover-border);
2828
1610
  }
2829
1611
 
2830
- .cirth [role="search"] [type="submit"]:focus {
2831
- box-shadow: none;
1612
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1613
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1614
+ var(--cirth-primary-border);
1615
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1616
+ var(--cirth-primary-hover-border);
2832
1617
  }
2833
1618
 
2834
- .cirth [role="search"] [type="reset"]:focus {
2835
- box-shadow: none;
1619
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1620
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1621
+ var(--cirth-primary-border);
1622
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1623
+ var(--cirth-primary-hover-border);
2836
1624
  }
2837
1625
 
2838
- .cirth [role="search"] [type="button"]:focus {
2839
- box-shadow: none;
1626
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1627
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1628
+ var(--cirth-primary-border);
1629
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1630
+ var(--cirth-primary-hover-border);
2840
1631
  }
2841
1632
 
2842
- .cirth [role="group"] [type="submit"]:focus {
2843
- box-shadow: none;
1633
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1634
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1635
+ var(--cirth-primary-border);
1636
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1637
+ var(--cirth-primary-hover-border);
2844
1638
  }
2845
1639
 
2846
- .cirth [role="group"] [type="reset"]:focus {
2847
- box-shadow: none;
1640
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1641
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1642
+ var(--cirth-primary-border);
1643
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1644
+ var(--cirth-primary-hover-border);
2848
1645
  }
2849
1646
 
2850
- .cirth [role="group"] [type="button"]:focus {
1647
+ .cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [type="submit"]:focus, .cirth [role="group"] [type="reset"]:focus, .cirth [role="group"] [type="button"]:focus, .cirth [role="group"] [role="button"]:focus {
2851
1648
  box-shadow: none;
2852
1649
  }
2853
1650
  }
2854
1651
 
2855
1652
  .cirth [role="search"] > :first-child {
2856
- border-top-left-radius: 5rem;
2857
- border-bottom-left-radius: 5rem;
1653
+ border-top-left-radius: var(--cirth-radius-pill);
1654
+ border-bottom-left-radius: var(--cirth-radius-pill);
2858
1655
  }
2859
1656
 
2860
1657
  .cirth [role="search"] > :last-child {
2861
- border-top-right-radius: 5rem;
2862
- border-bottom-right-radius: 5rem;
1658
+ border-top-right-radius: var(--cirth-radius-pill);
1659
+ border-bottom-right-radius: var(--cirth-radius-pill);
2863
1660
  }
2864
1661
 
2865
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1662
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form) {
2866
1663
  white-space: nowrap;
2867
1664
  }
2868
1665
 
2869
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1666
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
2870
1667
  background-image: var(--cirth-icon-loading);
2871
1668
  content: "";
2872
1669
  vertical-align: -.125em;
@@ -2877,27 +1674,15 @@
2877
1674
  display: inline-block;
2878
1675
  }
2879
1676
 
2880
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1677
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
2881
1678
  margin-inline-end: calc(var(--cirth-spacing) * .5);
2882
1679
  }
2883
1680
 
2884
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1681
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):empty {
2885
1682
  text-align: center;
2886
1683
  }
2887
1684
 
2888
- .cirth button[aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
2889
- pointer-events: none;
2890
- }
2891
-
2892
- .cirth [type="submit"][aria-busy="true"] {
2893
- pointer-events: none;
2894
- }
2895
-
2896
- .cirth [type="button"][aria-busy="true"] {
2897
- pointer-events: none;
2898
- }
2899
-
2900
- .cirth [type="reset"][aria-busy="true"] {
1685
+ .cirth button[aria-busy="true"], .cirth [type="submit"][aria-busy="true"], .cirth [type="button"][aria-busy="true"], .cirth [type="reset"][aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
2901
1686
  pointer-events: none;
2902
1687
  }
2903
1688
 
@@ -2906,7 +1691,7 @@
2906
1691
  }
2907
1692
 
2908
1693
  .cirth dialog {
2909
- z-index: 999;
1694
+ z-index: var(--cirth-z-index-modal);
2910
1695
  width: inherit;
2911
1696
  min-width: 100%;
2912
1697
  height: inherit;
@@ -2931,13 +1716,13 @@
2931
1716
  overflow: auto;
2932
1717
  }
2933
1718
 
2934
- @media (width >= 576px) {
1719
+ @media (min-width: 576px) {
2935
1720
  .cirth dialog > article {
2936
1721
  max-width: 510px;
2937
1722
  }
2938
1723
  }
2939
1724
 
2940
- @media (width >= 768px) {
1725
+ @media (min-width: 768px) {
2941
1726
  .cirth dialog > article {
2942
1727
  max-width: 700px;
2943
1728
  }
@@ -2947,14 +1732,7 @@
2947
1732
  margin-bottom: 0;
2948
1733
  }
2949
1734
 
2950
- .cirth dialog > article > header .close {
2951
- margin: 0;
2952
- margin-left: var(--cirth-spacing);
2953
- float: right;
2954
- padding: 0;
2955
- }
2956
-
2957
- .cirth dialog > article > header :is(a, button)[rel="prev"] {
1735
+ .cirth dialog > article > header .close, .cirth dialog > article > header :is(a, button)[rel="prev"] {
2958
1736
  margin: 0;
2959
1737
  margin-left: var(--cirth-spacing);
2960
1738
  float: right;
@@ -2973,45 +1751,24 @@
2973
1751
  margin-left: calc(var(--cirth-spacing) * .5);
2974
1752
  }
2975
1753
 
2976
- .cirth dialog > article .close {
2977
- width: 1rem;
2978
- height: 1rem;
1754
+ .cirth dialog > article .close, .cirth dialog > article :is(a, button)[rel="prev"] {
1755
+ width: var(--cirth-size-4);
1756
+ height: var(--cirth-size-4);
2979
1757
  margin-top: calc(var(--cirth-spacing) * -1);
2980
1758
  margin-bottom: var(--cirth-spacing);
2981
1759
  background-image: var(--cirth-icon-close);
2982
- opacity: .5;
2983
- transition: opacity var(--cirth-transition);
2984
- background-color: rgba(0, 0, 0, 0);
2985
1760
  background-position: center;
2986
- background-repeat: no-repeat;
2987
- background-size: auto 1rem;
2988
- border: none;
2989
- margin-left: auto;
2990
- display: block;
2991
- }
2992
-
2993
- .cirth dialog > article :is(a, button)[rel="prev"] {
2994
- width: 1rem;
2995
- height: 1rem;
2996
- margin-top: calc(var(--cirth-spacing) * -1);
2997
- margin-bottom: var(--cirth-spacing);
2998
- background-image: var(--cirth-icon-close);
1761
+ background-size: auto var(--cirth-size-4);
2999
1762
  opacity: .5;
3000
1763
  transition: opacity var(--cirth-transition);
3001
- background-color: rgba(0, 0, 0, 0);
3002
- background-position: center;
1764
+ background-color: #0000;
3003
1765
  background-repeat: no-repeat;
3004
- background-size: auto 1rem;
3005
1766
  border: none;
3006
1767
  margin-left: auto;
3007
1768
  display: block;
3008
1769
  }
3009
1770
 
3010
- .cirth dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3011
- opacity: 1;
3012
- }
3013
-
3014
- .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1771
+ .cirth dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3015
1772
  opacity: 1;
3016
1773
  }
3017
1774
 
@@ -3031,60 +1788,32 @@
3031
1788
  touch-action: auto;
3032
1789
  }
3033
1790
 
3034
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
3035
- animation-duration: .2s;
3036
- animation-timing-function: ease-in-out;
3037
- animation-fill-mode: both;
3038
- }
3039
-
3040
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
3041
- animation-duration: .2s;
3042
- animation-timing-function: ease-in-out;
3043
- animation-fill-mode: both;
3044
- }
3045
-
3046
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
3047
- animation-duration: .2s;
3048
- animation-timing-function: ease-in-out;
3049
- animation-fill-mode: both;
3050
- }
3051
-
3052
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
3053
- animation-duration: .2s;
3054
- animation-timing-function: ease-in-out;
3055
- animation-fill-mode: both;
3056
- }
3057
-
3058
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
3059
- animation-name: modal-overlay;
3060
- animation-duration: .8s;
3061
- }
3062
-
3063
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
3064
- animation-name: modal-overlay;
3065
- animation-duration: .8s;
1791
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog, .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article, .cirth :where(.modal-is-opening, .modal-is-closing) dialog, .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
1792
+ animation-duration: var(--cirth-duration-normal);
1793
+ animation-timing-function: var(--cirth-ease-in-out);
1794
+ animation-fill-mode: both;
3066
1795
  }
3067
1796
 
3068
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
3069
- animation-name: modal;
3070
- animation-delay: .2s;
1797
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog, .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
1798
+ animation-duration: calc(var(--cirth-duration-normal) * 4);
1799
+ animation-name: modal-overlay;
3071
1800
  }
3072
1801
 
3073
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
1802
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article, .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
1803
+ animation-delay: var(--cirth-duration-normal);
3074
1804
  animation-name: modal;
3075
- animation-delay: .2s;
3076
1805
  }
3077
1806
 
3078
1807
  .cirth.modal-is-closing dialog, .cirth.modal-is-closing dialog > article, .cirth .modal-is-closing dialog, .cirth .modal-is-closing dialog > article {
1808
+ animation-delay: var(--cirth-duration-instant);
3079
1809
  animation-direction: reverse;
3080
- animation-delay: 0s;
3081
1810
  }
3082
1811
 
3083
1812
  @keyframes modal-overlay {
3084
1813
  from {
3085
1814
  -webkit-backdrop-filter: none;
3086
1815
  backdrop-filter: none;
3087
- background-color: rgba(0, 0, 0, 0);
1816
+ background-color: #0000;
3088
1817
  }
3089
1818
  }
3090
1819
 
@@ -3141,23 +1870,7 @@
3141
1870
  text-decoration: none;
3142
1871
  }
3143
1872
 
3144
- .cirth nav li button, .cirth nav li [role="button"], .cirth nav li select {
3145
- height: auto;
3146
- margin-right: inherit;
3147
- margin-bottom: 0;
3148
- margin-left: inherit;
3149
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3150
- }
3151
-
3152
- .cirth nav li [type="button"] {
3153
- height: auto;
3154
- margin-right: inherit;
3155
- margin-bottom: 0;
3156
- margin-left: inherit;
3157
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3158
- }
3159
-
3160
- .cirth nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
1873
+ .cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
3161
1874
  height: auto;
3162
1875
  margin-right: inherit;
3163
1876
  margin-bottom: 0;
@@ -3194,7 +1907,7 @@
3194
1907
  .cirth nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
3195
1908
  color: inherit;
3196
1909
  pointer-events: none;
3197
- background-color: rgba(0, 0, 0, 0);
1910
+ background-color: #0000;
3198
1911
  text-decoration: none;
3199
1912
  }
3200
1913
 
@@ -3222,12 +1935,12 @@
3222
1935
  vertical-align: baseline;
3223
1936
  appearance: none;
3224
1937
  width: 100%;
3225
- height: .5rem;
1938
+ height: var(--cirth-size-2);
3226
1939
  margin-bottom: calc(var(--cirth-spacing) * .5);
1940
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
3227
1941
  border-radius: var(--cirth-border-radius);
3228
1942
  background-color: var(--cirth-progress-background-color);
3229
1943
  color: var(--cirth-progress-color);
3230
- border: 0;
3231
1944
  display: inline-block;
3232
1945
  overflow: hidden;
3233
1946
  }
@@ -3253,11 +1966,11 @@
3253
1966
  }
3254
1967
 
3255
1968
  .cirth progress:indeterminate[value]::-webkit-progress-value {
3256
- background-color: rgba(0, 0, 0, 0);
1969
+ background-color: #0000;
3257
1970
  }
3258
1971
 
3259
1972
  .cirth progress:indeterminate::-moz-progress-bar {
3260
- background-color: rgba(0, 0, 0, 0);
1973
+ background-color: #0000;
3261
1974
  }
3262
1975
 
3263
1976
  [dir="rtl"] .cirth progress:indeterminate {
@@ -3279,26 +1992,26 @@
3279
1992
  position: relative;
3280
1993
  }
3281
1994
 
3282
- .cirth [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1995
+ .cirth [data-tooltip]:not(a, button, input, [role="button"]) {
1996
+ border-bottom: var(--cirth-border-width-1) dotted;
3283
1997
  cursor: help;
3284
- border-bottom: 1px dotted;
3285
1998
  text-decoration: none;
3286
1999
  }
3287
2000
 
3288
2001
  .cirth [data-tooltip][data-placement="top"]:before, .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:before, .cirth [data-tooltip]:after {
3289
- z-index: 99;
2002
+ z-index: var(--cirth-z-index-tooltip);
2003
+ padding: var(--cirth-space-1) var(--cirth-space-2);
3290
2004
  border-radius: var(--cirth-border-radius);
3291
2005
  background: var(--cirth-tooltip-background-color);
3292
2006
  content: attr(data-tooltip);
3293
2007
  color: var(--cirth-tooltip-color);
3294
2008
  font-style: normal;
3295
2009
  font-weight: var(--cirth-font-weight);
2010
+ font-size: var(--cirth-font-size-sm);
3296
2011
  text-overflow: ellipsis;
3297
2012
  white-space: nowrap;
3298
2013
  opacity: 0;
3299
2014
  pointer-events: none;
3300
- padding: .25rem .5rem;
3301
- font-size: .875rem;
3302
2015
  text-decoration: none;
3303
2016
  display: block;
3304
2017
  position: absolute;
@@ -3311,10 +2024,10 @@
3311
2024
  .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:after {
3312
2025
  content: "";
3313
2026
  color: var(--cirth-tooltip-background-color);
3314
- background-color: rgba(0, 0, 0, 0);
2027
+ background-color: #0000;
3315
2028
  border-top: .3rem solid;
3316
- border-left: .3rem solid rgba(0, 0, 0, 0);
3317
- border-right: .3rem solid rgba(0, 0, 0, 0);
2029
+ border-left: .3rem solid #0000;
2030
+ border-right: .3rem solid #0000;
3318
2031
  border-radius: 0;
3319
2032
  padding: 0;
3320
2033
  transform: translate(-50%);
@@ -3327,7 +2040,7 @@
3327
2040
  }
3328
2041
 
3329
2042
  .cirth [data-tooltip][data-placement="bottom"]:after {
3330
- border: .3rem solid rgba(0, 0, 0, 0);
2043
+ border: .3rem solid #0000;
3331
2044
  border-bottom-color: currentColor;
3332
2045
  transform: translate(-50%, -.3rem);
3333
2046
  }
@@ -3338,7 +2051,7 @@
3338
2051
  }
3339
2052
 
3340
2053
  .cirth [data-tooltip][data-placement="left"]:after {
3341
- border: .3rem solid rgba(0, 0, 0, 0);
2054
+ border: .3rem solid #0000;
3342
2055
  border-left-color: currentColor;
3343
2056
  transform: translate(.3rem, -50%);
3344
2057
  }
@@ -3349,7 +2062,7 @@
3349
2062
  }
3350
2063
 
3351
2064
  .cirth [data-tooltip][data-placement="right"]:after {
3352
- border: .3rem solid rgba(0, 0, 0, 0);
2065
+ border: .3rem solid #0000;
3353
2066
  border-right-color: currentColor;
3354
2067
  transform: translate(-.3rem, -50%);
3355
2068
  }
@@ -3361,9 +2074,9 @@
3361
2074
  @media (hover: hover) and (pointer: fine) {
3362
2075
  .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
3363
2076
  --cirth-tooltip-slide-to: translate(-50%, -.25rem);
2077
+ animation-duration: var(--cirth-duration-normal);
3364
2078
  opacity: 0;
3365
2079
  animation-name: tooltip-slide;
3366
- animation-duration: .2s;
3367
2080
  animation-fill-mode: forwards;
3368
2081
  transform: translate(-50%, .75rem);
3369
2082
  }
@@ -3456,12 +2169,645 @@
3456
2169
 
3457
2170
  @media (prefers-reduced-motion: reduce) {
3458
2171
  .cirth :not([aria-busy="true"]), .cirth :not([aria-busy="true"]):before, .cirth :not([aria-busy="true"]):after {
3459
- background-attachment: initial !important;
3460
- scroll-behavior: auto !important;
3461
- transition-duration: 0s !important;
3462
- transition-delay: 0s !important;
3463
- animation-duration: 1ms !important;
3464
- animation-iteration-count: 1 !important;
3465
- animation-delay: -1ms !important;
2172
+ background-attachment: initial;
2173
+ scroll-behavior: auto;
2174
+ transition-delay: var(--cirth-duration-instant);
2175
+ transition-duration: var(--cirth-duration-instant);
2176
+ animation-duration: 1ms;
2177
+ animation-iteration-count: 1;
2178
+ animation-delay: -1ms;
2179
+ }
2180
+ }
2181
+
2182
+ .cirth {
2183
+ --cirth-color-black: #000;
2184
+ --cirth-color-white: #fff;
2185
+ --cirth-color-transparent: transparent;
2186
+ --cirth-color-current: currentColor;
2187
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2188
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2189
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2190
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2191
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2192
+ monospace, var(--cirth-font-family-emoji);
2193
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2194
+ --cirth-font-size-xs: .75rem;
2195
+ --cirth-font-size-sm: .875rem;
2196
+ --cirth-font-size-md: 1rem;
2197
+ --cirth-font-size-lg: 1.125rem;
2198
+ --cirth-font-size-xl: 1.25rem;
2199
+ --cirth-font-size-2xl: 1.425rem;
2200
+ --cirth-font-size-3xl: 1.6rem;
2201
+ --cirth-font-size-4xl: 1.8rem;
2202
+ --cirth-font-size-5xl: 2rem;
2203
+ --cirth-font-size-6xl: 2.3rem;
2204
+ --cirth-font-weight-light: 300;
2205
+ --cirth-font-weight-regular: 400;
2206
+ --cirth-font-weight-medium: 500;
2207
+ --cirth-font-weight-semibold: 600;
2208
+ --cirth-font-weight-bold: 700;
2209
+ --cirth-letter-spacing-tight: -.02em;
2210
+ --cirth-letter-spacing-snug: -.01em;
2211
+ --cirth-line-height-none: 1;
2212
+ --cirth-line-height-tight: 1.125;
2213
+ --cirth-line-height-snug: 1.25;
2214
+ --cirth-line-height-normal: 1.5;
2215
+ --cirth-line-height-relaxed: 1.625;
2216
+ --cirth-line-height-loose: 2;
2217
+ --cirth-space-0: 0;
2218
+ --cirth-space-1: .25rem;
2219
+ --cirth-space-2: .5rem;
2220
+ --cirth-space-3: .75rem;
2221
+ --cirth-space-4: 1rem;
2222
+ --cirth-space-5: 1.25rem;
2223
+ --cirth-space-6: 1.5rem;
2224
+ --cirth-space-8: 2rem;
2225
+ --cirth-space-10: 2.5rem;
2226
+ --cirth-space-12: 3rem;
2227
+ --cirth-space-16: 4rem;
2228
+ --cirth-space-20: 5rem;
2229
+ --cirth-space-24: 6rem;
2230
+ --cirth-size-0: 0;
2231
+ --cirth-size-1: .25rem;
2232
+ --cirth-size-2: .5rem;
2233
+ --cirth-size-3: .75rem;
2234
+ --cirth-size-4: 1rem;
2235
+ --cirth-size-5: 1.25rem;
2236
+ --cirth-size-6: 1.5rem;
2237
+ --cirth-size-8: 2rem;
2238
+ --cirth-size-10: 2.5rem;
2239
+ --cirth-size-12: 3rem;
2240
+ --cirth-size-16: 4rem;
2241
+ --cirth-size-20: 5rem;
2242
+ --cirth-size-24: 6rem;
2243
+ --cirth-radius-none: 0;
2244
+ --cirth-radius-xs: .125rem;
2245
+ --cirth-radius-sm: .25rem;
2246
+ --cirth-radius-md: .375rem;
2247
+ --cirth-radius-lg: .5rem;
2248
+ --cirth-radius-xl: .75rem;
2249
+ --cirth-radius-2xl: 1rem;
2250
+ --cirth-radius-pill: 9999px;
2251
+ --cirth-border-width-0: 0;
2252
+ --cirth-border-width-1: .0625rem;
2253
+ --cirth-border-width-2: .125rem;
2254
+ --cirth-border-width-4: .25rem;
2255
+ --cirth-outline-width-1: .0625rem;
2256
+ --cirth-outline-width-2: .125rem;
2257
+ --cirth-outline-width-4: .25rem;
2258
+ --cirth-duration-instant: 0s;
2259
+ --cirth-duration-fast: .1s;
2260
+ --cirth-duration-normal: .2s;
2261
+ --cirth-duration-slow: .3s;
2262
+ --cirth-duration-slower: .5s;
2263
+ --cirth-ease-linear: linear;
2264
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2265
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2266
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2267
+ --cirth-opacity-disabled: .5;
2268
+ --cirth-opacity-muted: .72;
2269
+ --cirth-opacity-overlay: .75;
2270
+ --cirth-z-index-dropdown: 1000;
2271
+ --cirth-z-index-sticky: 1020;
2272
+ --cirth-z-index-fixed: 1030;
2273
+ --cirth-z-index-modal-backdrop: 1040;
2274
+ --cirth-z-index-modal: 1050;
2275
+ --cirth-z-index-tooltip: 1070;
2276
+ --cirth-font-family: var(--cirth-font-family-sans);
2277
+ --cirth-line-height: var(--cirth-line-height-normal);
2278
+ --cirth-font-weight: var(--cirth-font-weight-regular);
2279
+ --cirth-font-size: 100%;
2280
+ --cirth-text-underline-offset: .15em;
2281
+ --cirth-border-radius: var(--cirth-radius-lg);
2282
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
2283
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
2284
+ var(--cirth-radius-sm));
2285
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
2286
+ var(--cirth-radius-sm));
2287
+ --cirth-border-width: var(--cirth-border-width-1);
2288
+ --cirth-outline-width: var(--cirth-outline-width-2);
2289
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2290
+ --cirth-spacing: var(--cirth-space-4);
2291
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
2292
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
2293
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
2294
+ --cirth-grid-column-gap: var(--cirth-spacing);
2295
+ --cirth-grid-row-gap: var(--cirth-spacing);
2296
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2297
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2298
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
2299
+ --cirth-group-box-shadow: 0 0 0 #0000;
2300
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2301
+ var(--cirth-primary-focus);
2302
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2303
+ var(--cirth-form-element-border-color);
2304
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2305
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2306
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2307
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2308
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2309
+ --cirth-nav-breadcrumb-divider: ">";
2310
+ --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2311
+ --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
2312
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2313
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2314
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2315
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2316
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
2317
+ --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2318
+ }
2319
+
2320
+ .cirth a, .cirth a.secondary, .cirth a.contrast {
2321
+ --cirth-text-decoration: underline;
2322
+ }
2323
+
2324
+ .cirth small {
2325
+ --cirth-font-size: .875em;
2326
+ }
2327
+
2328
+ .cirth h1, .cirth h2, .cirth h3 {
2329
+ --cirth-font-weight: var(--cirth-font-weight-bold);
2330
+ }
2331
+
2332
+ .cirth h4, .cirth h5, .cirth h6 {
2333
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2334
+ }
2335
+
2336
+ .cirth h1 {
2337
+ --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2338
+ --cirth-line-height: var(--cirth-line-height-tight);
2339
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2340
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2341
+ }
2342
+
2343
+ .cirth h2 {
2344
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2345
+ --cirth-line-height: 1.15;
2346
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2347
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2348
+ }
2349
+
2350
+ .cirth h3 {
2351
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2352
+ --cirth-line-height: 1.2;
2353
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2354
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2355
+ }
2356
+
2357
+ .cirth h4 {
2358
+ --cirth-font-size: var(--cirth-font-size-xl);
2359
+ --cirth-line-height: var(--cirth-line-height-snug);
2360
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2361
+ }
2362
+
2363
+ .cirth h5 {
2364
+ --cirth-font-size: var(--cirth-font-size-lg);
2365
+ --cirth-line-height: var(--cirth-line-height-snug);
2366
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2367
+ }
2368
+
2369
+ .cirth h6 {
2370
+ --cirth-font-size: var(--cirth-font-size-md);
2371
+ --cirth-line-height: var(--cirth-line-height-snug);
2372
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2373
+ }
2374
+
2375
+ .cirth article {
2376
+ --cirth-border-radius: var(--cirth-card-border-radius);
2377
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2378
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2379
+ }
2380
+
2381
+ .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
2382
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2383
+ --cirth-border-width: .1875rem;
2384
+ }
2385
+
2386
+ .cirth pre, .cirth code, .cirth kbd, .cirth samp {
2387
+ --cirth-font-family: var(--cirth-font-family-mono);
2388
+ }
2389
+
2390
+ .cirth code, .cirth kbd, .cirth samp {
2391
+ --cirth-border-radius: var(--cirth-code-border-radius);
2392
+ }
2393
+
2394
+ .cirth kbd {
2395
+ --cirth-font-weight: bolder;
2396
+ }
2397
+
2398
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
2399
+ --cirth-outline-width: var(--cirth-outline-width-1);
2400
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2401
+ }
2402
+
2403
+ .cirth [type="search"] {
2404
+ --cirth-border-radius: var(--cirth-radius-pill);
2405
+ }
2406
+
2407
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
2408
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2409
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2410
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2411
+ }
2412
+
2413
+ .cirth [type="file"] {
2414
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2415
+ }
2416
+
2417
+ .cirth [type="checkbox"], .cirth [type="radio"] {
2418
+ --cirth-border-width: var(--cirth-border-width-2);
2419
+ }
2420
+
2421
+ .cirth [type="checkbox"] {
2422
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2423
+ }
2424
+
2425
+ .cirth [type="checkbox"][role="switch"] {
2426
+ --cirth-border-width: .1875rem;
2427
+ }
2428
+
2429
+ .cirth details.dropdown summary:not([role="button"]) {
2430
+ --cirth-outline-width: var(--cirth-outline-width-1);
2431
+ }
2432
+
2433
+ .cirth nav details.dropdown summary:focus-visible {
2434
+ --cirth-outline-width: var(--cirth-outline-width-2);
2435
+ }
2436
+
2437
+ .cirth [role="search"] {
2438
+ --cirth-border-radius: var(--cirth-radius-pill);
2439
+ }
2440
+
2441
+ :is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2442
+ --cirth-group-box-shadow-focus-with-button: 0
2443
+ 0
2444
+ 0
2445
+ var(--cirth-outline-width)
2446
+ var(--cirth-secondary-focus);
2447
+ }
2448
+
2449
+ :is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2450
+ --cirth-group-box-shadow-focus-with-button: 0
2451
+ 0
2452
+ 0
2453
+ var(--cirth-outline-width)
2454
+ var(--cirth-contrast-focus);
2455
+ }
2456
+
2457
+ .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
2458
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2459
+ }
2460
+
2461
+ .cirth details summary[role="button"]:not(.outline):after, .cirth [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2462
+ filter: brightness(0) invert();
2463
+ }
2464
+
2465
+ .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
2466
+ --lightningcss-light: initial;
2467
+ --lightningcss-dark: ;
2468
+ color-scheme: light;
2469
+ --cirth-background-color: oklch(100% 0 0);
2470
+ --cirth-color: oklch(35.3% .021 264);
2471
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2472
+ --cirth-muted-color: oklch(52.7% .032 264);
2473
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2474
+ --cirth-primary: oklch(52.7% .097 69.35);
2475
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2476
+ --cirth-primary-border: var(--cirth-primary-background);
2477
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2478
+ --cirth-primary-hover: oklch(44% .081 69.35);
2479
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2480
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2481
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2482
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2483
+ --cirth-primary-inverse: oklch(100% 0 0);
2484
+ --cirth-secondary: oklch(52.7% .032 264);
2485
+ --cirth-secondary-background: oklch(48.3% .03 264);
2486
+ --cirth-secondary-border: var(--cirth-secondary-background);
2487
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2488
+ --cirth-secondary-hover: oklch(44% .028 264);
2489
+ --cirth-secondary-hover-background: oklch(44% .028 264);
2490
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2491
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2492
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2493
+ --cirth-secondary-inverse: oklch(100% 0 0);
2494
+ --cirth-contrast: oklch(22.3% .006 264);
2495
+ --cirth-contrast-background: oklch(22.3% .006 264);
2496
+ --cirth-contrast-border: var(--cirth-contrast-background);
2497
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2498
+ --cirth-contrast-hover: oklch(0% 0 0);
2499
+ --cirth-contrast-hover-background: oklch(0% 0 0);
2500
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2501
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2502
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2503
+ --cirth-contrast-inverse: oklch(100% 0 0);
2504
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015);
2505
+ --cirth-h1-color: oklch(31% .016 264);
2506
+ --cirth-h2-color: oklch(35.3% .021 264);
2507
+ --cirth-h3-color: oklch(39.7% .025 264);
2508
+ --cirth-h4-color: oklch(44% .028 264);
2509
+ --cirth-h5-color: oklch(48.3% .03 264);
2510
+ --cirth-h6-color: oklch(52.7% .032 264);
2511
+ --cirth-mark-background-color: oklch(93% .05 78);
2512
+ --cirth-mark-color: oklch(18% 0 264);
2513
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2514
+ --cirth-del-color: oklch(35.3% .122 29.73);
2515
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2516
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2517
+ --cirth-button-box-shadow: 0 0 0 #0000;
2518
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2519
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2520
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2521
+ --cirth-code-background-color: oklch(97% 0 288);
2522
+ --cirth-code-color: oklch(52.7% .032 264);
2523
+ --cirth-code-kbd-background-color: var(--cirth-color);
2524
+ --cirth-code-kbd-color: var(--cirth-background-color);
2525
+ --cirth-form-element-background-color: oklch(99% 0 336);
2526
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2527
+ --cirth-form-element-border-color: oklch(65.7% .03 264);
2528
+ --cirth-form-element-color: oklch(26.7% .011 264);
2529
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2530
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
2531
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2532
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2533
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2534
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2535
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2536
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2537
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2538
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2539
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2540
+ --cirth-switch-background-color: oklch(61.3% .032 264);
2541
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2542
+ --cirth-switch-color: oklch(100% 0 0);
2543
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2544
+ --cirth-range-border-color: oklch(91.7% .006 264);
2545
+ --cirth-range-active-border-color: oklch(83% .016 264);
2546
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2547
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2548
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2549
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2550
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2551
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2552
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2553
+ --cirth-card-background-color: var(--cirth-background-color);
2554
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2555
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2556
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
2557
+ --cirth-dropdown-background-color: oklch(100% 0 0);
2558
+ --cirth-dropdown-border-color: oklch(96% 0 264);
2559
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2560
+ --cirth-dropdown-color: var(--cirth-color);
2561
+ --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2562
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2563
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2564
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2565
+ --cirth-progress-border-color: oklch(65.7% .03 264);
2566
+ --cirth-progress-color: var(--cirth-primary-background);
2567
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2568
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2569
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2570
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2571
+ }
2572
+
2573
+ .cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2574
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2575
+ }
2576
+
2577
+ @media only screen and (prefers-color-scheme: dark) {
2578
+ .cirth:not([data-theme]) {
2579
+ --lightningcss-light: ;
2580
+ --lightningcss-dark: initial;
2581
+ color-scheme: dark;
2582
+ --cirth-background-color: oklch(20.15% .003 264);
2583
+ --cirth-color: oklch(83% .016 264);
2584
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2585
+ --cirth-muted-color: oklch(61.3% .032 264);
2586
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2587
+ --cirth-primary: oklch(70% .129 69.35);
2588
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2589
+ --cirth-primary-border: var(--cirth-primary-background);
2590
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2591
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2592
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2593
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2594
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2595
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2596
+ --cirth-primary-inverse: oklch(100% 0 0);
2597
+ --cirth-secondary: oklch(70% .028 264);
2598
+ --cirth-secondary-background: oklch(48.3% .03 264);
2599
+ --cirth-secondary-border: var(--cirth-secondary-background);
2600
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2601
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2602
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2603
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2604
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2605
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2606
+ --cirth-secondary-inverse: oklch(100% 0 0);
2607
+ --cirth-contrast: oklch(91.7% .006 264);
2608
+ --cirth-contrast-background: oklch(96% 0 264);
2609
+ --cirth-contrast-border: var(--cirth-contrast-background);
2610
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2611
+ --cirth-contrast-hover: oklch(100% 0 0);
2612
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2613
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2614
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2615
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2616
+ --cirth-contrast-inverse: oklch(0% 0 0);
2617
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2618
+ --cirth-h1-color: oklch(96% 0 264);
2619
+ --cirth-h2-color: oklch(91.7% .006 264);
2620
+ --cirth-h3-color: oklch(83% .016 264);
2621
+ --cirth-h4-color: oklch(78.7% .021 264);
2622
+ --cirth-h5-color: oklch(74.3% .025 264);
2623
+ --cirth-h6-color: oklch(65.7% .03 264);
2624
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2625
+ --cirth-mark-color: oklch(100% 0 0);
2626
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2627
+ --cirth-del-color: oklch(78.7% .106 29.73);
2628
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2629
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2630
+ --cirth-button-box-shadow: 0 0 0 #0000;
2631
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2632
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2633
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2634
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2635
+ --cirth-code-color: oklch(65.7% .03 264);
2636
+ --cirth-code-kbd-background-color: var(--cirth-color);
2637
+ --cirth-code-kbd-color: var(--cirth-background-color);
2638
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2639
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2640
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2641
+ --cirth-form-element-color: oklch(91.7% .006 264);
2642
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2643
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2644
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2645
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2646
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2647
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2648
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2649
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2650
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2651
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2652
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2653
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2654
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2655
+ --cirth-switch-color: oklch(100% 0 0);
2656
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2657
+ --cirth-range-border-color: oklch(26.7% .011 264);
2658
+ --cirth-range-active-border-color: oklch(31% .016 264);
2659
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2660
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2661
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2662
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2663
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2664
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2665
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2666
+ --cirth-card-background-color: oklch(22.3% .006 264);
2667
+ --cirth-card-border-color: var(--cirth-card-background-color);
2668
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2669
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2670
+ --cirth-dropdown-background-color: oklch(22.3% .006 264);
2671
+ --cirth-dropdown-border-color: oklch(26.7% .011 264);
2672
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2673
+ --cirth-dropdown-color: var(--cirth-color);
2674
+ --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2675
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2676
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2677
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2678
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2679
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2680
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2681
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2682
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2683
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2684
+ }
2685
+
2686
+ .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2687
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2688
+ }
2689
+
2690
+ .cirth:not([data-theme]) details summary[role="button"].contrast:not(.outline):after, .cirth:not([data-theme]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2691
+ filter: brightness(0);
3466
2692
  }
3467
2693
  }
2694
+
2695
+ .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
2696
+ --lightningcss-light: ;
2697
+ --lightningcss-dark: initial;
2698
+ color-scheme: dark;
2699
+ --cirth-background-color: oklch(20.15% .003 264);
2700
+ --cirth-color: oklch(83% .016 264);
2701
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2702
+ --cirth-muted-color: oklch(61.3% .032 264);
2703
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2704
+ --cirth-primary: oklch(70% .129 69.35);
2705
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2706
+ --cirth-primary-border: var(--cirth-primary-background);
2707
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2708
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2709
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2710
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2711
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2712
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2713
+ --cirth-primary-inverse: oklch(100% 0 0);
2714
+ --cirth-secondary: oklch(70% .028 264);
2715
+ --cirth-secondary-background: oklch(48.3% .03 264);
2716
+ --cirth-secondary-border: var(--cirth-secondary-background);
2717
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2718
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2719
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2720
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2721
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2722
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2723
+ --cirth-secondary-inverse: oklch(100% 0 0);
2724
+ --cirth-contrast: oklch(91.7% .006 264);
2725
+ --cirth-contrast-background: oklch(96% 0 264);
2726
+ --cirth-contrast-border: var(--cirth-contrast-background);
2727
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2728
+ --cirth-contrast-hover: oklch(100% 0 0);
2729
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2730
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2731
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2732
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2733
+ --cirth-contrast-inverse: oklch(0% 0 0);
2734
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2735
+ --cirth-h1-color: oklch(96% 0 264);
2736
+ --cirth-h2-color: oklch(91.7% .006 264);
2737
+ --cirth-h3-color: oklch(83% .016 264);
2738
+ --cirth-h4-color: oklch(78.7% .021 264);
2739
+ --cirth-h5-color: oklch(74.3% .025 264);
2740
+ --cirth-h6-color: oklch(65.7% .03 264);
2741
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2742
+ --cirth-mark-color: oklch(100% 0 0);
2743
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2744
+ --cirth-del-color: oklch(78.7% .106 29.73);
2745
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2746
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2747
+ --cirth-button-box-shadow: 0 0 0 #0000;
2748
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2749
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2750
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2751
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2752
+ --cirth-code-color: oklch(65.7% .03 264);
2753
+ --cirth-code-kbd-background-color: var(--cirth-color);
2754
+ --cirth-code-kbd-color: var(--cirth-background-color);
2755
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2756
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2757
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2758
+ --cirth-form-element-color: oklch(91.7% .006 264);
2759
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2760
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2761
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2762
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2763
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2764
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2765
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2766
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2767
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2768
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2769
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2770
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2771
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2772
+ --cirth-switch-color: oklch(100% 0 0);
2773
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2774
+ --cirth-range-border-color: oklch(26.7% .011 264);
2775
+ --cirth-range-active-border-color: oklch(31% .016 264);
2776
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2777
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2778
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2779
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2780
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2781
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2782
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2783
+ --cirth-card-background-color: oklch(22.3% .006 264);
2784
+ --cirth-card-border-color: var(--cirth-card-background-color);
2785
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2786
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2787
+ --cirth-dropdown-background-color: oklch(22.3% .006 264);
2788
+ --cirth-dropdown-border-color: oklch(26.7% .011 264);
2789
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2790
+ --cirth-dropdown-color: var(--cirth-color);
2791
+ --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2792
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2793
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2794
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2795
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2796
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2797
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2798
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2799
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2800
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2801
+ }
2802
+
2803
+ .cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2804
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2805
+ }
2806
+
2807
+ .cirth[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth[data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, .cirth [data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2808
+ filter: brightness(0);
2809
+ }
2810
+
2811
+ .cirth progress, .cirth [type="checkbox"], .cirth [type="radio"], .cirth [type="range"] {
2812
+ accent-color: var(--cirth-primary);
2813
+ }