@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,536 +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-form-element-spacing-vertical: .75rem;
19
- --cirth-form-element-spacing-horizontal: 1rem;
20
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
21
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
22
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
23
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
24
- --cirth-nav-element-spacing-vertical: 1rem;
25
- --cirth-nav-element-spacing-horizontal: .5rem;
26
- --cirth-nav-link-spacing-vertical: .5rem;
27
- --cirth-nav-link-spacing-horizontal: .5rem;
28
- --cirth-nav-breadcrumb-divider: ">";
29
- --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");
30
- --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");
31
- --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");
32
- --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");
33
- --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");
34
- --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");
35
- --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");
36
- --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");
37
- }
38
-
39
- @media (width >= 576px) {
40
- .cirth {
41
- --cirth-font-size: 106.25%;
42
- }
43
- }
44
-
45
- @media (width >= 768px) {
46
- .cirth {
47
- --cirth-font-size: 112.5%;
48
- }
49
- }
50
-
51
- @media (width >= 1024px) {
52
- .cirth {
53
- --cirth-font-size: 118.75%;
54
- }
55
- }
56
-
57
- @media (width >= 1280px) {
58
- .cirth {
59
- --cirth-font-size: 125%;
60
- }
61
- }
62
-
63
- @media (width >= 1536px) {
64
- .cirth {
65
- --cirth-font-size: 131.25%;
66
- }
67
- }
68
-
69
- .cirth a {
70
- --cirth-text-decoration: underline;
71
- }
72
-
73
- .cirth small {
74
- --cirth-font-size: .875em;
75
- }
76
-
77
- .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
78
- --cirth-font-weight: 700;
79
- }
80
-
81
- .cirth h1 {
82
- --cirth-font-size: 2rem;
83
- --cirth-line-height: 1.125;
84
- --cirth-typography-spacing-top: 3rem;
85
- }
86
-
87
- .cirth h2 {
88
- --cirth-font-size: 1.75rem;
89
- --cirth-line-height: 1.15;
90
- --cirth-typography-spacing-top: 2.625rem;
91
- }
92
-
93
- .cirth h3 {
94
- --cirth-font-size: 1.5rem;
95
- --cirth-line-height: 1.175;
96
- --cirth-typography-spacing-top: 2.25rem;
97
- }
98
-
99
- .cirth h4 {
100
- --cirth-font-size: 1.25rem;
101
- --cirth-line-height: 1.2;
102
- --cirth-typography-spacing-top: 1.874rem;
103
- }
104
-
105
- .cirth h5 {
106
- --cirth-font-size: 1.125rem;
107
- --cirth-line-height: 1.225;
108
- --cirth-typography-spacing-top: 1.6875rem;
109
- }
110
-
111
- .cirth h6 {
112
- --cirth-font-size: 1rem;
113
- --cirth-line-height: 1.25;
114
- --cirth-typography-spacing-top: 1.5rem;
115
- }
116
-
117
- .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
118
- --cirth-font-weight: 600;
119
- --cirth-border-width: .1875rem;
120
- }
121
-
122
- .cirth pre, .cirth code, .cirth kbd, .cirth samp {
123
- --cirth-font-family: var(--cirth-font-family-monospace);
124
- }
125
-
126
- .cirth kbd {
127
- --cirth-font-weight: bolder;
128
- }
129
-
130
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
131
- --cirth-outline-width: .0625rem;
132
- }
133
-
134
- .cirth :where(select, textarea) {
135
- --cirth-outline-width: .0625rem;
136
- }
137
-
138
- .cirth [type="search"] {
139
- --cirth-border-radius: 5rem;
140
- }
141
-
142
- .cirth [type="checkbox"] {
143
- --cirth-border-width: .125rem;
144
- }
145
-
146
- .cirth [type="radio"] {
147
- --cirth-border-width: .125rem;
148
- }
149
-
150
- .cirth [type="checkbox"][role="switch"] {
151
- --cirth-border-width: .1875rem;
152
- }
153
-
154
- .cirth [role="search"] {
155
- --cirth-border-radius: 5rem;
156
- }
157
-
158
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
159
- --cirth-form-element-spacing-horizontal: 2rem;
160
- }
161
-
162
- .cirth [role="search"] [type="submit"] {
163
- --cirth-form-element-spacing-horizontal: 2rem;
164
- }
165
-
166
- .cirth [role="search"] [type="button"] {
167
- --cirth-form-element-spacing-horizontal: 2rem;
168
- }
169
-
170
- .cirth [role="group"] [type="submit"] {
171
- --cirth-form-element-spacing-horizontal: 2rem;
172
- }
173
-
174
- .cirth [role="group"] [type="button"] {
175
- --cirth-form-element-spacing-horizontal: 2rem;
176
- }
177
-
178
- .cirth details summary[role="button"]:after {
179
- filter: brightness(0) invert();
180
- }
181
-
182
- .cirth [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
183
- filter: brightness(0) invert();
184
- }
185
-
186
- .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
187
- --lightningcss-light: initial;
188
- --lightningcss-dark: ;
189
- color-scheme: light;
190
- --cirth-background-color: #fff;
191
- --cirth-color: #373c44;
192
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
193
- --cirth-muted-color: #646b79;
194
- --cirth-muted-border-color: #e7eaf0;
195
- --cirth-primary: #0172ad;
196
- --cirth-primary-background: #0172ad;
197
- --cirth-primary-border: var(--cirth-primary-background);
198
- --cirth-primary-underline: rgba(1, 114, 173, .5);
199
- --cirth-primary-hover: #015887;
200
- --cirth-primary-hover-background: #02659a;
201
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
202
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
203
- --cirth-primary-focus: rgba(2, 154, 232, .5);
204
- --cirth-primary-inverse: #fff;
205
- --cirth-secondary: #5d6b89;
206
- --cirth-secondary-background: #525f7a;
207
- --cirth-secondary-border: var(--cirth-secondary-background);
208
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
209
- --cirth-secondary-hover: #48536b;
210
- --cirth-secondary-hover-background: #48536b;
211
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
212
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
213
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
214
- --cirth-secondary-inverse: #fff;
215
- --cirth-contrast: #181c25;
216
- --cirth-contrast-background: #181c25;
217
- --cirth-contrast-border: var(--cirth-contrast-background);
218
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
219
- --cirth-contrast-hover: #000;
220
- --cirth-contrast-hover-background: #000;
221
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
222
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
223
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
224
- --cirth-contrast-inverse: #fff;
225
- --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);
226
- --cirth-h1-color: #2d3138;
227
- --cirth-h2-color: #373c44;
228
- --cirth-h3-color: #424751;
229
- --cirth-h4-color: #4d535e;
230
- --cirth-h5-color: #5c6370;
231
- --cirth-h6-color: #646b79;
232
- --cirth-mark-background-color: #fde7c0;
233
- --cirth-mark-color: #0f1114;
234
- --cirth-ins-color: #1d6a54;
235
- --cirth-del-color: #883935;
236
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
237
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
238
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
239
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
240
- --cirth-table-border-color: var(--cirth-muted-border-color);
241
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
242
- --cirth-code-background-color: #f3f5f7;
243
- --cirth-code-color: #646b79;
244
- --cirth-code-kbd-background-color: var(--cirth-color);
245
- --cirth-code-kbd-color: var(--cirth-background-color);
246
- --cirth-form-element-background-color: #fbfcfc;
247
- --cirth-form-element-selected-background-color: #dfe3eb;
248
- --cirth-form-element-border-color: #cfd5e2;
249
- --cirth-form-element-color: #23262c;
250
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
251
- --cirth-form-element-active-background-color: #fff;
252
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
253
- --cirth-form-element-focus-color: var(--cirth-primary-border);
254
- --cirth-form-element-disabled-opacity: .5;
255
- --cirth-form-element-invalid-border-color: #b86a6b;
256
- --cirth-form-element-invalid-active-border-color: #c84f48;
257
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
258
- --cirth-form-element-valid-border-color: #4c9b8a;
259
- --cirth-form-element-valid-active-border-color: #279977;
260
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
261
- --cirth-switch-background-color: #bfc7d9;
262
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
263
- --cirth-switch-color: #fff;
264
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
265
- --cirth-range-border-color: #dfe3eb;
266
- --cirth-range-active-border-color: #bfc7d9;
267
- --cirth-range-thumb-border-color: var(--cirth-background-color);
268
- --cirth-range-thumb-color: var(--cirth-secondary-background);
269
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
270
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
271
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
272
- --cirth-accordion-close-summary-color: var(--cirth-color);
273
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
274
- --cirth-card-background-color: var(--cirth-background-color);
275
- --cirth-card-border-color: var(--cirth-muted-border-color);
276
- --cirth-card-box-shadow: var(--cirth-box-shadow);
277
- --cirth-card-sectioning-background-color: #fbfcfc;
278
- --cirth-loading-spinner-opacity: .5;
279
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
280
- --cirth-progress-background-color: #dfe3eb;
281
- --cirth-progress-color: var(--cirth-primary-background);
282
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
283
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
284
- --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");
285
- --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");
286
- }
287
-
288
- .cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
289
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
290
- }
291
-
292
- .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
293
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
294
- }
295
-
296
- .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
297
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
298
- }
299
-
300
- @media only screen and (prefers-color-scheme: dark) {
301
- .cirth:not([data-theme]) {
302
- --lightningcss-light: ;
303
- --lightningcss-dark: initial;
304
- color-scheme: dark;
305
- --cirth-background-color: #13171f;
306
- --cirth-color: #c2c7d0;
307
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
308
- --cirth-muted-color: #7b8495;
309
- --cirth-muted-border-color: #202632;
310
- --cirth-primary: #01aaff;
311
- --cirth-primary-background: #0172ad;
312
- --cirth-primary-border: var(--cirth-primary-background);
313
- --cirth-primary-underline: rgba(1, 170, 255, .5);
314
- --cirth-primary-hover: #79c0ff;
315
- --cirth-primary-hover-background: #017fc0;
316
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
317
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
318
- --cirth-primary-focus: rgba(1, 170, 255, .376);
319
- --cirth-primary-inverse: #fff;
320
- --cirth-secondary: #969eaf;
321
- --cirth-secondary-background: #525f7a;
322
- --cirth-secondary-border: var(--cirth-secondary-background);
323
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
324
- --cirth-secondary-hover: #b3b9c5;
325
- --cirth-secondary-hover-background: #5d6b89;
326
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
327
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
328
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
329
- --cirth-secondary-inverse: #fff;
330
- --cirth-contrast: #dfe3eb;
331
- --cirth-contrast-background: #eff1f4;
332
- --cirth-contrast-border: var(--cirth-contrast-background);
333
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
334
- --cirth-contrast-hover: #fff;
335
- --cirth-contrast-hover-background: #fff;
336
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
337
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
338
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
339
- --cirth-contrast-inverse: #000;
340
- --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);
341
- --cirth-h1-color: #f0f1f3;
342
- --cirth-h2-color: #e0e3e7;
343
- --cirth-h3-color: #c2c7d0;
344
- --cirth-h4-color: #b3b9c5;
345
- --cirth-h5-color: #a4acba;
346
- --cirth-h6-color: #8891a4;
347
- --cirth-mark-background-color: #014063;
348
- --cirth-mark-color: #fff;
349
- --cirth-ins-color: #62af9a;
350
- --cirth-del-color: #ce7e7b;
351
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
352
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
353
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
354
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
355
- --cirth-table-border-color: var(--cirth-muted-border-color);
356
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
357
- --cirth-code-background-color: #1a1f28;
358
- --cirth-code-color: #8891a4;
359
- --cirth-code-kbd-background-color: var(--cirth-color);
360
- --cirth-code-kbd-color: var(--cirth-background-color);
361
- --cirth-form-element-background-color: #1c212c;
362
- --cirth-form-element-selected-background-color: #2a3140;
363
- --cirth-form-element-border-color: #2a3140;
364
- --cirth-form-element-color: #e0e3e7;
365
- --cirth-form-element-placeholder-color: #8891a4;
366
- --cirth-form-element-active-background-color: #1a1f28;
367
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
368
- --cirth-form-element-focus-color: var(--cirth-primary-border);
369
- --cirth-form-element-disabled-opacity: .5;
370
- --cirth-form-element-invalid-border-color: #964a50;
371
- --cirth-form-element-invalid-active-border-color: #b7403b;
372
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
373
- --cirth-form-element-valid-border-color: #2a7b6f;
374
- --cirth-form-element-valid-active-border-color: #16896a;
375
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
376
- --cirth-switch-background-color: #333c4e;
377
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
378
- --cirth-switch-color: #fff;
379
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
380
- --cirth-range-border-color: #202632;
381
- --cirth-range-active-border-color: #2a3140;
382
- --cirth-range-thumb-border-color: var(--cirth-background-color);
383
- --cirth-range-thumb-color: var(--cirth-secondary-background);
384
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
385
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
386
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
387
- --cirth-accordion-close-summary-color: var(--cirth-color);
388
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
389
- --cirth-card-background-color: #181c25;
390
- --cirth-card-border-color: var(--cirth-card-background-color);
391
- --cirth-card-box-shadow: var(--cirth-box-shadow);
392
- --cirth-card-sectioning-background-color: #1a1f28;
393
- --cirth-loading-spinner-opacity: .5;
394
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
395
- --cirth-progress-background-color: #202632;
396
- --cirth-progress-color: var(--cirth-primary-background);
397
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
398
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
399
- --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");
400
- --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");
401
- }
402
-
403
- .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
404
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
405
- }
406
- }
407
-
408
- .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
409
- --lightningcss-light: ;
410
- --lightningcss-dark: initial;
411
- color-scheme: dark;
412
- --cirth-background-color: #13171f;
413
- --cirth-color: #c2c7d0;
414
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
415
- --cirth-muted-color: #7b8495;
416
- --cirth-muted-border-color: #202632;
417
- --cirth-primary: #01aaff;
418
- --cirth-primary-background: #0172ad;
419
- --cirth-primary-border: var(--cirth-primary-background);
420
- --cirth-primary-underline: rgba(1, 170, 255, .5);
421
- --cirth-primary-hover: #79c0ff;
422
- --cirth-primary-hover-background: #017fc0;
423
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
424
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
425
- --cirth-primary-focus: rgba(1, 170, 255, .376);
426
- --cirth-primary-inverse: #fff;
427
- --cirth-secondary: #969eaf;
428
- --cirth-secondary-background: #525f7a;
429
- --cirth-secondary-border: var(--cirth-secondary-background);
430
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
431
- --cirth-secondary-hover: #b3b9c5;
432
- --cirth-secondary-hover-background: #5d6b89;
433
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
434
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
435
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
436
- --cirth-secondary-inverse: #fff;
437
- --cirth-contrast: #dfe3eb;
438
- --cirth-contrast-background: #eff1f4;
439
- --cirth-contrast-border: var(--cirth-contrast-background);
440
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
441
- --cirth-contrast-hover: #fff;
442
- --cirth-contrast-hover-background: #fff;
443
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
444
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
445
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
446
- --cirth-contrast-inverse: #000;
447
- --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);
448
- --cirth-h1-color: #f0f1f3;
449
- --cirth-h2-color: #e0e3e7;
450
- --cirth-h3-color: #c2c7d0;
451
- --cirth-h4-color: #b3b9c5;
452
- --cirth-h5-color: #a4acba;
453
- --cirth-h6-color: #8891a4;
454
- --cirth-mark-background-color: #014063;
455
- --cirth-mark-color: #fff;
456
- --cirth-ins-color: #62af9a;
457
- --cirth-del-color: #ce7e7b;
458
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
459
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
460
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
461
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
462
- --cirth-table-border-color: var(--cirth-muted-border-color);
463
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
464
- --cirth-code-background-color: #1a1f28;
465
- --cirth-code-color: #8891a4;
466
- --cirth-code-kbd-background-color: var(--cirth-color);
467
- --cirth-code-kbd-color: var(--cirth-background-color);
468
- --cirth-form-element-background-color: #1c212c;
469
- --cirth-form-element-selected-background-color: #2a3140;
470
- --cirth-form-element-border-color: #2a3140;
471
- --cirth-form-element-color: #e0e3e7;
472
- --cirth-form-element-placeholder-color: #8891a4;
473
- --cirth-form-element-active-background-color: #1a1f28;
474
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
475
- --cirth-form-element-focus-color: var(--cirth-primary-border);
476
- --cirth-form-element-disabled-opacity: .5;
477
- --cirth-form-element-invalid-border-color: #964a50;
478
- --cirth-form-element-invalid-active-border-color: #b7403b;
479
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
480
- --cirth-form-element-valid-border-color: #2a7b6f;
481
- --cirth-form-element-valid-active-border-color: #16896a;
482
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
483
- --cirth-switch-background-color: #333c4e;
484
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
485
- --cirth-switch-color: #fff;
486
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
487
- --cirth-range-border-color: #202632;
488
- --cirth-range-active-border-color: #2a3140;
489
- --cirth-range-thumb-border-color: var(--cirth-background-color);
490
- --cirth-range-thumb-color: var(--cirth-secondary-background);
491
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
492
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
493
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
494
- --cirth-accordion-close-summary-color: var(--cirth-color);
495
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
496
- --cirth-card-background-color: #181c25;
497
- --cirth-card-border-color: var(--cirth-card-background-color);
498
- --cirth-card-box-shadow: var(--cirth-box-shadow);
499
- --cirth-card-sectioning-background-color: #1a1f28;
500
- --cirth-loading-spinner-opacity: .5;
501
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
502
- --cirth-progress-background-color: #202632;
503
- --cirth-progress-color: var(--cirth-primary-background);
504
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
505
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
506
- --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");
507
- --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");
508
- }
509
-
510
- .cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
511
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
512
- }
513
-
514
- .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
515
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
516
- }
517
-
518
- .cirth progress {
519
- accent-color: var(--cirth-primary);
520
- }
521
-
522
- .cirth [type="checkbox"] {
523
- accent-color: var(--cirth-primary);
524
- }
525
-
526
- .cirth [type="radio"] {
527
- accent-color: var(--cirth-primary);
528
- }
529
-
530
- .cirth [type="range"] {
531
- accent-color: var(--cirth-primary);
532
- }
533
-
534
1
  .cirth, .cirth *, .cirth :before, .cirth :after {
535
2
  box-sizing: border-box;
536
3
  background-repeat: no-repeat;
@@ -572,7 +39,7 @@
572
39
  margin-right: auto;
573
40
  }
574
41
 
575
- @media (width >= 576px) {
42
+ @media (min-width: 576px) {
576
43
  .cirth > header, .cirth > main, .cirth > footer {
577
44
  max-width: 510px;
578
45
  padding-left: 0;
@@ -580,25 +47,25 @@
580
47
  }
581
48
  }
582
49
 
583
- @media (width >= 768px) {
50
+ @media (min-width: 768px) {
584
51
  .cirth > header, .cirth > main, .cirth > footer {
585
52
  max-width: 700px;
586
53
  }
587
54
  }
588
55
 
589
- @media (width >= 1024px) {
56
+ @media (min-width: 1024px) {
590
57
  .cirth > header, .cirth > main, .cirth > footer {
591
58
  max-width: 950px;
592
59
  }
593
60
  }
594
61
 
595
- @media (width >= 1280px) {
62
+ @media (min-width: 1280px) {
596
63
  .cirth > header, .cirth > main, .cirth > footer {
597
64
  max-width: 1200px;
598
65
  }
599
66
  }
600
67
 
601
- @media (width >= 1536px) {
68
+ @media (min-width: 1536px) {
602
69
  .cirth > header, .cirth > main, .cirth > footer {
603
70
  max-width: 1450px;
604
71
  }
@@ -635,6 +102,10 @@
635
102
  font-weight: var(--cirth-font-weight);
636
103
  }
637
104
 
105
+ .cirth p {
106
+ text-wrap: pretty;
107
+ }
108
+
638
109
  .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
639
110
  margin-top: 0;
640
111
  margin-bottom: var(--cirth-typography-spacing-vertical);
@@ -642,7 +113,9 @@
642
113
  font-weight: var(--cirth-font-weight);
643
114
  font-size: var(--cirth-font-size);
644
115
  line-height: var(--cirth-line-height);
645
- font-family: var(--cirth-font-family);
116
+ font-family: var(--cirth-font-family-display);
117
+ letter-spacing: var(--cirth-letter-spacing, normal);
118
+ text-wrap: balance;
646
119
  }
647
120
 
648
121
  .cirth h1 {
@@ -685,7 +158,7 @@
685
158
  .cirth hgroup > :not(:first-child):last-child {
686
159
  --cirth-color: var(--cirth-muted-color);
687
160
  --cirth-font-weight: unset;
688
- font-size: 1rem;
161
+ font-size: var(--cirth-font-size-md);
689
162
  }
690
163
 
691
164
  .cirth :where(ol, ul) li {
@@ -702,18 +175,18 @@
702
175
  }
703
176
 
704
177
  .cirth mark {
178
+ padding: 0 var(--cirth-space-1);
705
179
  background-color: var(--cirth-mark-background-color);
706
180
  color: var(--cirth-mark-color);
707
181
  vertical-align: baseline;
708
- padding: .125rem .25rem;
709
182
  }
710
183
 
711
184
  .cirth blockquote {
712
185
  margin: var(--cirth-typography-spacing-vertical) 0;
713
186
  padding: var(--cirth-spacing);
714
187
  border-right: none;
715
- border-left: .25rem solid var(--cirth-blockquote-border-color);
716
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
188
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
189
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
717
190
  border-inline-end: none;
718
191
  display: block;
719
192
  }
@@ -724,8 +197,8 @@
724
197
  }
725
198
 
726
199
  .cirth abbr[title] {
200
+ border-bottom: var(--cirth-border-width-1) dotted;
727
201
  cursor: help;
728
- border-bottom: 1px dotted;
729
202
  text-decoration: none;
730
203
  }
731
204
 
@@ -742,7 +215,7 @@
742
215
  background-color: var(--cirth-text-selection-color);
743
216
  }
744
217
 
745
- .cirth [role="link"] {
218
+ .cirth :where(a:not([role="button"])), .cirth [role="link"] {
746
219
  --cirth-color: var(--cirth-primary);
747
220
  --cirth-background-color: transparent;
748
221
  --cirth-underline: var(--cirth-primary-underline);
@@ -757,39 +230,15 @@
757
230
  outline: none;
758
231
  }
759
232
 
760
- .cirth :where(a:not([role="button"])) {
761
- --cirth-color: var(--cirth-primary);
762
- --cirth-background-color: transparent;
763
- --cirth-underline: var(--cirth-primary-underline);
764
- background-color: var(--cirth-background-color);
765
- color: var(--cirth-color);
766
- -webkit-text-decoration: var(--cirth-text-decoration);
767
- text-decoration: var(--cirth-text-decoration);
768
- -webkit-text-decoration-color: var(--cirth-underline);
769
- text-decoration-color: var(--cirth-underline);
770
- text-underline-offset: .125em;
771
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
772
- outline: none;
773
- }
774
-
775
- .cirth :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
233
+ .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) {
776
234
  --cirth-color: var(--cirth-primary-hover);
777
235
  --cirth-underline: var(--cirth-primary-hover-underline);
778
236
  --cirth-text-decoration: underline;
779
237
  }
780
238
 
781
- .cirth [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
782
- --cirth-color: var(--cirth-primary-hover);
783
- --cirth-underline: var(--cirth-primary-hover-underline);
784
- --cirth-text-decoration: underline;
785
- }
786
-
787
- .cirth :where(a:not([role="button"])):focus-visible {
788
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
789
- }
790
-
791
- .cirth [role="link"]:focus-visible {
239
+ .cirth :where(a:not([role="button"])):focus-visible, .cirth [role="link"]:focus-visible {
792
240
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
241
+ outline: var(--cirth-outline-width) solid transparent;
793
242
  }
794
243
 
795
244
  .cirth a[role="button"] {
@@ -798,86 +247,20 @@
798
247
 
799
248
  .cirth button {
800
249
  text-transform: none;
801
- -webkit-appearance: button;
802
250
  margin: 0;
803
251
  font-family: inherit;
804
252
  overflow: visible;
805
253
  }
806
254
 
807
- .cirth button, .cirth [role="button"] {
808
- --cirth-background-color: var(--cirth-primary-background);
809
- --cirth-border-color: var(--cirth-primary-border);
810
- --cirth-color: var(--cirth-primary-inverse);
811
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
812
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
813
- border: var(--cirth-border-width) solid var(--cirth-border-color);
814
- border-radius: var(--cirth-border-radius);
815
- background-color: var(--cirth-background-color);
816
- box-shadow: var(--cirth-box-shadow);
817
- color: var(--cirth-color);
818
- font-weight: var(--cirth-font-weight);
819
- font-size: 1rem;
820
- line-height: var(--cirth-line-height);
821
- text-align: center;
822
- cursor: pointer;
823
- -webkit-user-select: none;
824
- user-select: none;
825
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
826
- outline: none;
827
- text-decoration: none;
828
- }
829
-
830
- .cirth [type="submit"] {
831
- --cirth-background-color: var(--cirth-primary-background);
832
- --cirth-border-color: var(--cirth-primary-border);
833
- --cirth-color: var(--cirth-primary-inverse);
834
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
835
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
836
- border: var(--cirth-border-width) solid var(--cirth-border-color);
837
- border-radius: var(--cirth-border-radius);
838
- background-color: var(--cirth-background-color);
839
- box-shadow: var(--cirth-box-shadow);
840
- color: var(--cirth-color);
841
- font-weight: var(--cirth-font-weight);
842
- font-size: 1rem;
843
- line-height: var(--cirth-line-height);
844
- text-align: center;
845
- cursor: pointer;
846
- -webkit-user-select: none;
847
- user-select: none;
848
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
849
- outline: none;
850
- text-decoration: none;
851
- }
852
-
853
- .cirth [type="reset"] {
854
- --cirth-background-color: var(--cirth-primary-background);
855
- --cirth-border-color: var(--cirth-primary-border);
856
- --cirth-color: var(--cirth-primary-inverse);
857
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
858
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
859
- border: var(--cirth-border-width) solid var(--cirth-border-color);
860
- border-radius: var(--cirth-border-radius);
861
- background-color: var(--cirth-background-color);
862
- box-shadow: var(--cirth-box-shadow);
863
- color: var(--cirth-color);
864
- font-weight: var(--cirth-font-weight);
865
- font-size: 1rem;
866
- line-height: var(--cirth-line-height);
867
- text-align: center;
868
- cursor: pointer;
869
- -webkit-user-select: none;
870
- user-select: none;
871
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
872
- outline: none;
873
- text-decoration: none;
255
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
256
+ -webkit-appearance: button;
874
257
  }
875
258
 
876
- .cirth [type="button"] {
259
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
877
260
  --cirth-background-color: var(--cirth-primary-background);
878
261
  --cirth-border-color: var(--cirth-primary-border);
879
262
  --cirth-color: var(--cirth-primary-inverse);
880
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
263
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
881
264
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
882
265
  border: var(--cirth-border-width) solid var(--cirth-border-color);
883
266
  border-radius: var(--cirth-border-radius);
@@ -885,7 +268,7 @@
885
268
  box-shadow: var(--cirth-box-shadow);
886
269
  color: var(--cirth-color);
887
270
  font-weight: var(--cirth-font-weight);
888
- font-size: 1rem;
271
+ font-size: var(--cirth-font-size-md);
889
272
  line-height: var(--cirth-line-height);
890
273
  text-align: center;
891
274
  cursor: pointer;
@@ -900,7 +283,7 @@
900
283
  --cirth-background-color: var(--cirth-primary-background);
901
284
  --cirth-border-color: var(--cirth-primary-border);
902
285
  --cirth-color: var(--cirth-primary-inverse);
903
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
286
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
904
287
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
905
288
  border: var(--cirth-border-width) solid var(--cirth-border-color);
906
289
  border-radius: var(--cirth-border-radius);
@@ -908,7 +291,7 @@
908
291
  box-shadow: var(--cirth-box-shadow);
909
292
  color: var(--cirth-color);
910
293
  font-weight: var(--cirth-font-weight);
911
- font-size: 1rem;
294
+ font-size: var(--cirth-font-size-md);
912
295
  line-height: var(--cirth-line-height);
913
296
  text-align: center;
914
297
  cursor: pointer;
@@ -919,128 +302,54 @@
919
302
  text-decoration: none;
920
303
  }
921
304
 
922
- .cirth button[aria-current]:not([aria-current="false"]), .cirth [role="button"][aria-current]:not([aria-current="false"]) {
305
+ .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) {
923
306
  --cirth-background-color: var(--cirth-primary-hover-background);
924
307
  --cirth-border-color: var(--cirth-primary-hover-border);
925
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
926
- --cirth-color: var(--cirth-primary-inverse);
927
- }
928
-
929
- .cirth button:is(:hover, :active, :focus) {
930
- --cirth-background-color: var(--cirth-primary-hover-background);
931
- --cirth-border-color: var(--cirth-primary-hover-border);
932
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
933
- --cirth-color: var(--cirth-primary-inverse);
934
- }
935
-
936
- .cirth [type="submit"][aria-current]:not([aria-current="false"]) {
937
- --cirth-background-color: var(--cirth-primary-hover-background);
938
- --cirth-border-color: var(--cirth-primary-hover-border);
939
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
940
- --cirth-color: var(--cirth-primary-inverse);
941
- }
942
-
943
- .cirth [type="submit"]:is(:hover, :active, :focus) {
944
- --cirth-background-color: var(--cirth-primary-hover-background);
945
- --cirth-border-color: var(--cirth-primary-hover-border);
946
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
947
- --cirth-color: var(--cirth-primary-inverse);
948
- }
949
-
950
- .cirth [type="reset"][aria-current]:not([aria-current="false"]) {
951
- --cirth-background-color: var(--cirth-primary-hover-background);
952
- --cirth-border-color: var(--cirth-primary-hover-border);
953
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
954
- --cirth-color: var(--cirth-primary-inverse);
955
- }
956
-
957
- .cirth [type="reset"]:is(:hover, :active, :focus) {
958
- --cirth-background-color: var(--cirth-primary-hover-background);
959
- --cirth-border-color: var(--cirth-primary-hover-border);
960
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
961
- --cirth-color: var(--cirth-primary-inverse);
962
- }
963
-
964
- .cirth [type="button"][aria-current]:not([aria-current="false"]) {
965
- --cirth-background-color: var(--cirth-primary-hover-background);
966
- --cirth-border-color: var(--cirth-primary-hover-border);
967
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
968
- --cirth-color: var(--cirth-primary-inverse);
969
- }
970
-
971
- .cirth [type="button"]:is(:hover, :active, :focus) {
972
- --cirth-background-color: var(--cirth-primary-hover-background);
973
- --cirth-border-color: var(--cirth-primary-hover-border);
974
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
308
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
975
309
  --cirth-color: var(--cirth-primary-inverse);
976
310
  }
977
311
 
978
312
  .cirth [type="file"]::file-selector-button:is() {
979
313
  --cirth-background-color: var(--cirth-primary-hover-background);
980
314
  --cirth-border-color: var(--cirth-primary-hover-border);
981
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
315
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
982
316
  --cirth-color: var(--cirth-primary-inverse);
983
317
  }
984
318
 
985
319
  .cirth [type="file"]::file-selector-button:is(:hover, :active, :focus) {
986
320
  --cirth-background-color: var(--cirth-primary-hover-background);
987
321
  --cirth-border-color: var(--cirth-primary-hover-border);
988
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
989
- --cirth-color: var(--cirth-primary-inverse);
990
- }
991
-
992
- .cirth [role="button"]:is(:hover, :active, :focus) {
993
- --cirth-background-color: var(--cirth-primary-hover-background);
994
- --cirth-border-color: var(--cirth-primary-hover-border);
995
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
322
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
996
323
  --cirth-color: var(--cirth-primary-inverse);
997
324
  }
998
325
 
999
- .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 {
1000
- --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);
1001
- }
1002
-
1003
- .cirth [type="submit"]:focus {
1004
- --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);
1005
- }
1006
-
1007
- .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus {
1008
- --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);
1009
- }
1010
-
1011
- .cirth [type="reset"]:focus {
1012
- --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);
1013
- }
1014
-
1015
- .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus {
1016
- --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);
1017
- }
1018
-
1019
- .cirth [type="button"]:focus {
1020
- --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);
1021
- }
1022
-
1023
- .cirth [type="button"][aria-current]:not([aria-current="false"]):focus {
1024
- --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);
326
+ .cirth button:active, .cirth [type="submit"]:active, .cirth [type="reset"]:active, .cirth [type="button"]:active, .cirth [role="button"]:active {
327
+ transform: translateY(.0625rem);
1025
328
  }
1026
329
 
1027
- .cirth [type="file"]::file-selector-button:focus {
1028
- --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);
330
+ .cirth [type="file"]::file-selector-button:active {
331
+ transform: translateY(.0625rem);
1029
332
  }
1030
333
 
1031
- .cirth [type="file"]::file-selector-button:is():focus {
1032
- --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);
334
+ .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 {
335
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
336
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
337
+ outline: var(--cirth-outline-width) solid transparent;
1033
338
  }
1034
339
 
1035
- .cirth [type="submit"] {
1036
- margin-bottom: var(--cirth-spacing);
340
+ .cirth [type="file"]::file-selector-button:focus-visible {
341
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
342
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
343
+ outline: var(--cirth-outline-width) solid transparent;
1037
344
  }
1038
345
 
1039
- .cirth [type="reset"] {
1040
- margin-bottom: var(--cirth-spacing);
346
+ .cirth [type="file"]::file-selector-button:is():focus-visible {
347
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
348
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
349
+ outline: var(--cirth-outline-width) solid transparent;
1041
350
  }
1042
351
 
1043
- .cirth [type="button"] {
352
+ .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
1044
353
  margin-bottom: var(--cirth-spacing);
1045
354
  }
1046
355
 
@@ -1070,21 +379,18 @@
1070
379
  --cirth-color: var(--cirth-secondary-inverse);
1071
380
  }
1072
381
 
1073
- .cirth [type="reset"]:focus {
1074
- --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);
382
+ .cirth [type="reset"]:focus-visible {
383
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
384
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1075
385
  }
1076
386
 
1077
- .cirth [type="file"]::file-selector-button:focus {
1078
- --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);
387
+ .cirth [type="file"]::file-selector-button:focus-visible {
388
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
389
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1079
390
  }
1080
391
 
1081
- .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1082
- opacity: .5;
1083
- pointer-events: none;
1084
- }
1085
-
1086
- .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1087
- opacity: .5;
392
+ .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"]) {
393
+ opacity: var(--cirth-opacity-disabled);
1088
394
  pointer-events: none;
1089
395
  }
1090
396
 
@@ -1101,6 +407,7 @@
1101
407
  background-color: var(--cirth-background-color);
1102
408
  color: var(--cirth-color);
1103
409
  font-weight: var(--cirth-font-weight);
410
+ font-variant-numeric: tabular-nums;
1104
411
  text-align: left;
1105
412
  text-align: start;
1106
413
  }
@@ -1141,11 +448,7 @@
1141
448
  fill: currentColor;
1142
449
  }
1143
450
 
1144
- .cirth svg:not(:root) {
1145
- overflow: hidden;
1146
- }
1147
-
1148
- .cirth svg:not(:host) {
451
+ .cirth svg:not(:root), .cirth svg:not(:host) {
1149
452
  overflow: hidden;
1150
453
  }
1151
454
 
@@ -1173,7 +476,7 @@
1173
476
  }
1174
477
 
1175
478
  .cirth code, .cirth kbd, .cirth samp {
1176
- padding: .375rem;
479
+ padding: var(--cirth-space-1) var(--cirth-space-2);
1177
480
  display: inline-block;
1178
481
  }
1179
482
 
@@ -1211,12 +514,12 @@
1211
514
  height: 0;
1212
515
  margin: var(--cirth-typography-spacing-vertical) 0;
1213
516
  border: 0;
1214
- border-top: 1px solid var(--cirth-muted-border-color);
517
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1215
518
  color: inherit;
1216
519
  }
1217
520
 
1218
521
  .cirth [hidden], .cirth template {
1219
- display: none !important;
522
+ display: none;
1220
523
  }
1221
524
 
1222
525
  .cirth canvas {
@@ -1224,7 +527,7 @@
1224
527
  }
1225
528
 
1226
529
  .cirth input, .cirth optgroup, .cirth select, .cirth textarea {
1227
- font-size: 1rem;
530
+ font-size: var(--cirth-font-size-md);
1228
531
  line-height: var(--cirth-line-height);
1229
532
  letter-spacing: inherit;
1230
533
  margin: 0;
@@ -1250,11 +553,7 @@
1250
553
  overflow: auto;
1251
554
  }
1252
555
 
1253
- .cirth [type="checkbox"] {
1254
- padding: 0;
1255
- }
1256
-
1257
- .cirth [type="radio"] {
556
+ .cirth [type="checkbox"], .cirth [type="radio"] {
1258
557
  padding: 0;
1259
558
  }
1260
559
 
@@ -1297,18 +596,13 @@
1297
596
  display: none;
1298
597
  }
1299
598
 
1300
- .cirth [type="file"] {
1301
- border-width: 0;
1302
- padding: 0;
1303
- }
1304
-
1305
- .cirth [type="range"] {
599
+ .cirth [type="file"], .cirth [type="range"] {
1306
600
  border-width: 0;
1307
601
  padding: 0;
1308
602
  }
1309
603
 
1310
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1311
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
604
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
605
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1312
606
  }
1313
607
 
1314
608
  .cirth fieldset {
@@ -1320,7 +614,7 @@
1320
614
  }
1321
615
 
1322
616
  .cirth label, .cirth fieldset legend {
1323
- margin-bottom: calc(var(--cirth-spacing) * .375);
617
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1324
618
  color: var(--cirth-color);
1325
619
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
1326
620
  display: block;
@@ -1330,24 +624,11 @@
1330
624
  margin-bottom: calc(var(--cirth-spacing) * .5);
1331
625
  }
1332
626
 
1333
- .cirth select, .cirth textarea {
1334
- width: 100%;
1335
- }
1336
-
1337
- .cirth input:not(:is([type="checkbox"], [type="radio"])) {
1338
- width: 100%;
1339
- }
1340
-
1341
- .cirth button[type="submit"] {
627
+ .cirth input:not([type="checkbox"], [type="radio"]), .cirth button[type="submit"], .cirth select, .cirth textarea {
1342
628
  width: 100%;
1343
629
  }
1344
630
 
1345
- .cirth select, .cirth textarea {
1346
- appearance: none;
1347
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1348
- }
1349
-
1350
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
631
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth select, .cirth textarea {
1351
632
  appearance: none;
1352
633
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1353
634
  }
@@ -1367,41 +648,21 @@
1367
648
  outline: none;
1368
649
  }
1369
650
 
1370
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
1371
- --cirth-background-color: var(--cirth-form-element-active-background-color);
1372
- }
1373
-
1374
- .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
651
+ .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) {
1375
652
  --cirth-background-color: var(--cirth-form-element-active-background-color);
1376
653
  }
1377
654
 
1378
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly])):is(:active, :focus) {
655
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
1379
656
  --cirth-border-color: var(--cirth-form-element-active-border-color);
1380
657
  }
1381
658
 
1382
- .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
1383
- --cirth-border-color: var(--cirth-form-element-active-border-color);
1384
- }
1385
-
1386
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1387
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1388
- }
1389
-
1390
- .cirth :where(select, textarea):not([readonly]):focus {
1391
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1392
- }
1393
-
1394
- .cirth select[disabled], .cirth textarea[disabled], .cirth label[aria-disabled="true"] {
1395
- opacity: var(--cirth-form-element-disabled-opacity);
1396
- pointer-events: none;
1397
- }
1398
-
1399
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"]))[disabled] {
1400
- opacity: var(--cirth-form-element-disabled-opacity);
1401
- pointer-events: none;
659
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
660
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
661
+ var(--cirth-form-element-focus-color);
662
+ outline: var(--cirth-outline-width) solid transparent;
1402
663
  }
1403
664
 
1404
- .cirth :where(fieldset[disabled]) :is(input:not(:is([type="submit"], [type="button"], [type="reset"])), select, textarea) {
665
+ .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) {
1405
666
  opacity: var(--cirth-form-element-disabled-opacity);
1406
667
  pointer-events: none;
1407
668
  }
@@ -1410,21 +671,21 @@
1410
671
  opacity: 1;
1411
672
  }
1412
673
 
1413
- .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] {
674
+ .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] {
675
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1414
676
  padding-left: var(--cirth-form-element-spacing-horizontal);
1415
- background-position: right .75rem center;
677
+ background-position: center right var(--cirth-space-3);
678
+ background-size: var(--cirth-size-4) auto;
1416
679
  background-repeat: no-repeat;
1417
- background-size: 1rem;
1418
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1419
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1420
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
680
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
681
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1421
682
  }
1422
683
 
1423
- .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) {
684
+ .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) {
1424
685
  background-image: var(--cirth-icon-valid);
1425
686
  }
1426
687
 
1427
- .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) {
688
+ .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) {
1428
689
  background-image: var(--cirth-icon-invalid);
1429
690
  }
1430
691
 
@@ -1433,11 +694,12 @@
1433
694
  }
1434
695
 
1435
696
  .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1436
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
697
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1437
698
  }
1438
699
 
1439
- .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1440
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
700
+ .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
701
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
702
+ var(--cirth-form-element-valid-focus-color);
1441
703
  }
1442
704
 
1443
705
  .cirth :where(input, select, textarea)[aria-invalid="true"] {
@@ -1445,23 +707,19 @@
1445
707
  }
1446
708
 
1447
709
  .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1448
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
710
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1449
711
  }
1450
712
 
1451
- .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1452
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
713
+ .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
714
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
715
+ var(--cirth-form-element-invalid-focus-color);
1453
716
  }
1454
717
 
1455
- [dir="rtl"] .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1456
- background-position: .75rem;
1457
- }
1458
-
1459
- .cirth select:invalid {
1460
- color: var(--cirth-form-element-placeholder-color);
1461
- opacity: 1;
718
+ [dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
719
+ background-position: center left var(--cirth-space-3);
1462
720
  }
1463
721
 
1464
- .cirth input::placeholder {
722
+ .cirth input::placeholder, .cirth textarea::placeholder, .cirth select:invalid {
1465
723
  color: var(--cirth-form-element-placeholder-color);
1466
724
  opacity: 1;
1467
725
  }
@@ -1471,38 +729,29 @@
1471
729
  opacity: 1;
1472
730
  }
1473
731
 
1474
- .cirth textarea::placeholder {
1475
- color: var(--cirth-form-element-placeholder-color);
1476
- opacity: 1;
1477
- }
1478
-
1479
732
  .cirth textarea::-webkit-input-placeholder {
1480
733
  color: var(--cirth-form-element-placeholder-color);
1481
734
  opacity: 1;
1482
735
  }
1483
736
 
1484
- .cirth select, .cirth textarea {
1485
- margin-bottom: var(--cirth-spacing);
1486
- }
1487
-
1488
- .cirth input:not(:is([type="checkbox"], [type="radio"])) {
737
+ .cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
1489
738
  margin-bottom: var(--cirth-spacing);
1490
739
  }
1491
740
 
1492
741
  .cirth select::-ms-expand {
1493
- background-color: rgba(0, 0, 0, 0);
742
+ background-color: #0000;
1494
743
  border: 0;
1495
744
  }
1496
745
 
1497
- .cirth select:not(:is([multiple], [size])) {
1498
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
746
+ .cirth select:not([multiple], [size]) {
747
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1499
748
  padding-left: var(--cirth-form-element-spacing-horizontal);
1500
749
  background-image: var(--cirth-icon-chevron);
1501
- background-position: right .75rem center;
750
+ background-position: center right var(--cirth-space-3);
751
+ background-size: var(--cirth-size-4) auto;
1502
752
  background-repeat: no-repeat;
1503
- background-size: 1rem;
1504
753
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1505
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
754
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1506
755
  }
1507
756
 
1508
757
  .cirth select[multiple] option:checked {
@@ -1510,8 +759,8 @@
1510
759
  color: var(--cirth-form-element-color);
1511
760
  }
1512
761
 
1513
- [dir="rtl"] .cirth select:not(:is([multiple], [size])) {
1514
- background-position: .75rem;
762
+ [dir="rtl"] .cirth select:not([multiple], [size]) {
763
+ background-position: center left var(--cirth-space-3);
1515
764
  }
1516
765
 
1517
766
  .cirth textarea {
@@ -1520,9 +769,11 @@
1520
769
  }
1521
770
 
1522
771
  .cirth textarea[aria-invalid] {
1523
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1524
- background-position: right .75rem top !important;
1525
- background-size: 1rem var(--cirth-icon-height) !important;
772
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
773
+ var(--cirth-form-element-spacing-vertical) * 2 +
774
+ var(--cirth-border-width) * 2);
775
+ background-position: top right var(--cirth-space-3);
776
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
1526
777
  }
1527
778
 
1528
779
  .cirth :where(input, select, textarea, fieldset) + small {
@@ -1550,25 +801,14 @@
1550
801
  width: fit-content;
1551
802
  }
1552
803
 
1553
- .cirth [type="checkbox"] {
1554
- appearance: none;
1555
- margin-top: -.125em;
1556
- border-width: var(--cirth-border-width);
1557
- vertical-align: middle;
1558
- cursor: pointer;
1559
- width: 1.25em;
1560
- height: 1.25em;
1561
- margin-inline-end: .5em;
1562
- }
1563
-
1564
- .cirth [type="radio"] {
804
+ .cirth [type="checkbox"], .cirth [type="radio"] {
1565
805
  appearance: none;
1566
806
  margin-top: -.125em;
1567
807
  border-width: var(--cirth-border-width);
1568
808
  vertical-align: middle;
1569
809
  cursor: pointer;
1570
- width: 1.25em;
1571
- height: 1.25em;
810
+ width: 1.5em;
811
+ height: 1.5em;
1572
812
  margin-inline-end: .5em;
1573
813
  }
1574
814
 
@@ -1580,77 +820,22 @@
1580
820
  display: none;
1581
821
  }
1582
822
 
1583
- .cirth [type="checkbox"]:checked {
1584
- --cirth-background-color: var(--cirth-primary-background);
1585
- --cirth-border-color: var(--cirth-primary-border);
1586
- background-image: var(--cirth-icon-checkbox);
1587
- background-position: center;
1588
- background-repeat: no-repeat;
1589
- background-size: .75em;
1590
- }
1591
-
1592
- .cirth [type="checkbox"]:checked:active {
1593
- --cirth-background-color: var(--cirth-primary-background);
1594
- --cirth-border-color: var(--cirth-primary-border);
1595
- background-image: var(--cirth-icon-checkbox);
1596
- background-position: center;
1597
- background-repeat: no-repeat;
1598
- background-size: .75em;
1599
- }
1600
-
1601
- .cirth [type="checkbox"]:checked:focus {
1602
- --cirth-background-color: var(--cirth-primary-background);
1603
- --cirth-border-color: var(--cirth-primary-border);
1604
- background-image: var(--cirth-icon-checkbox);
1605
- background-position: center;
1606
- background-repeat: no-repeat;
1607
- background-size: .75em;
1608
- }
1609
-
1610
- .cirth [type="radio"]:checked {
823
+ .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 {
1611
824
  --cirth-background-color: var(--cirth-primary-background);
1612
825
  --cirth-border-color: var(--cirth-primary-border);
1613
826
  background-image: var(--cirth-icon-checkbox);
1614
827
  background-position: center;
1615
828
  background-repeat: no-repeat;
1616
- background-size: .75em;
829
+ background-size: .9em;
1617
830
  }
1618
831
 
1619
- .cirth [type="radio"]:checked:active {
1620
- --cirth-background-color: var(--cirth-primary-background);
1621
- --cirth-border-color: var(--cirth-primary-border);
1622
- background-image: var(--cirth-icon-checkbox);
1623
- background-position: center;
1624
- background-repeat: no-repeat;
1625
- background-size: .75em;
1626
- }
1627
-
1628
- .cirth [type="radio"]:checked:focus {
1629
- --cirth-background-color: var(--cirth-primary-background);
1630
- --cirth-border-color: var(--cirth-primary-border);
1631
- background-image: var(--cirth-icon-checkbox);
1632
- background-position: center;
1633
- background-repeat: no-repeat;
1634
- background-size: .75em;
1635
- }
1636
-
1637
- .cirth [type="checkbox"] ~ label {
1638
- cursor: pointer;
1639
- margin-bottom: 0;
1640
- display: inline-block;
1641
- }
1642
-
1643
- .cirth [type="radio"] ~ label {
832
+ .cirth [type="checkbox"] ~ label, .cirth [type="radio"] ~ label {
1644
833
  cursor: pointer;
1645
834
  margin-bottom: 0;
1646
835
  display: inline-block;
1647
836
  }
1648
837
 
1649
- .cirth [type="checkbox"] ~ label:not(:last-of-type) {
1650
- margin-inline-end: 1em;
1651
- }
1652
-
1653
- .cirth [type="radio"] ~ label:not(:last-of-type) {
838
+ .cirth [type="checkbox"] ~ label:not(:last-of-type), .cirth [type="radio"] ~ label:not(:last-of-type) {
1654
839
  margin-inline-end: 1em;
1655
840
  }
1656
841
 
@@ -1660,29 +845,17 @@
1660
845
  background-image: var(--cirth-icon-minus);
1661
846
  background-position: center;
1662
847
  background-repeat: no-repeat;
1663
- background-size: .75em;
848
+ background-size: .9em;
1664
849
  }
1665
850
 
1666
851
  .cirth [type="radio"] {
1667
852
  border-radius: 50%;
1668
853
  }
1669
854
 
1670
- .cirth [type="radio"]:checked {
1671
- --cirth-background-color: var(--cirth-primary-inverse);
1672
- background-image: none;
1673
- border-width: .35em;
1674
- }
1675
-
1676
- .cirth [type="radio"]:checked:active {
1677
- --cirth-background-color: var(--cirth-primary-inverse);
1678
- background-image: none;
1679
- border-width: .35em;
1680
- }
1681
-
1682
- .cirth [type="radio"]:checked:focus {
855
+ .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
1683
856
  --cirth-background-color: var(--cirth-primary-inverse);
1684
857
  background-image: none;
1685
- border-width: .35em;
858
+ border-width: .42em;
1686
859
  }
1687
860
 
1688
861
  .cirth [type="checkbox"][role="switch"] {
@@ -1690,10 +863,10 @@
1690
863
  --cirth-color: var(--cirth-switch-color);
1691
864
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1692
865
  background-color: var(--cirth-background-color);
1693
- border-radius: 1.25em;
1694
- width: 2.25em;
1695
- height: 1.25em;
1696
- line-height: 1.25em;
866
+ border-radius: 1.5em;
867
+ width: 2.7em;
868
+ height: 1.5em;
869
+ line-height: 1.5em;
1697
870
  }
1698
871
 
1699
872
  .cirth [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -1706,8 +879,8 @@
1706
879
  height: 100%;
1707
880
  box-shadow: var(--cirth-switch-thumb-box-shadow);
1708
881
  content: "";
882
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
1709
883
  border-radius: 50%;
1710
- transition: margin .1s ease-in-out;
1711
884
  display: block;
1712
885
  }
1713
886
 
@@ -1723,130 +896,26 @@
1723
896
  }
1724
897
 
1725
898
  .cirth [type="checkbox"][role="switch"]:checked:before {
1726
- margin-inline-start: 1em;
899
+ margin-inline-start: 1.2em;
1727
900
  }
1728
901
 
1729
902
  .cirth [type="checkbox"][role="switch"][disabled] {
1730
903
  --cirth-background-color: var(--cirth-border-color);
1731
904
  }
1732
905
 
1733
- .cirth [type="checkbox"][aria-invalid="false"]:checked {
1734
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1735
- }
1736
-
1737
- .cirth [type="checkbox"][aria-invalid="false"]:checked:active {
1738
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1739
- }
1740
-
1741
- .cirth [type="checkbox"][aria-invalid="false"]:checked:focus {
1742
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1743
- }
1744
-
1745
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1746
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1747
- }
1748
-
1749
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1750
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1751
- }
1752
-
1753
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
906
+ .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 {
1754
907
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
1755
908
  }
1756
909
 
1757
- .cirth [type="checkbox"]:checked[aria-invalid="true"] {
1758
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1759
- }
1760
-
1761
- .cirth [type="checkbox"]:checked:active[aria-invalid="true"] {
910
+ .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"] {
1762
911
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1763
912
  }
1764
913
 
1765
- .cirth [type="checkbox"]:checked:focus[aria-invalid="true"] {
1766
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1767
- }
1768
-
1769
- .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1770
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1771
- }
1772
-
1773
- .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1774
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1775
- }
1776
-
1777
- .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1778
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1779
- }
1780
-
1781
- .cirth [type="checkbox"][aria-invalid="false"]:checked {
1782
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1783
- }
1784
-
1785
- .cirth [type="checkbox"][aria-invalid="false"]:checked:active {
1786
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1787
- }
1788
-
1789
- .cirth [type="checkbox"][aria-invalid="false"]:checked:focus {
1790
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1791
- }
1792
-
1793
- .cirth [type="radio"][aria-invalid="false"]:checked {
1794
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1795
- }
1796
-
1797
- .cirth [type="radio"][aria-invalid="false"]:checked:active {
1798
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1799
- }
1800
-
1801
- .cirth [type="radio"][aria-invalid="false"]:checked:focus {
1802
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1803
- }
1804
-
1805
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1806
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1807
- }
1808
-
1809
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1810
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1811
- }
1812
-
1813
- .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
914
+ .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 {
1814
915
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
1815
916
  }
1816
917
 
1817
- .cirth [type="checkbox"]:checked[aria-invalid="true"] {
1818
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1819
- }
1820
-
1821
- .cirth [type="checkbox"]:checked:active[aria-invalid="true"] {
1822
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1823
- }
1824
-
1825
- .cirth [type="checkbox"]:checked:focus[aria-invalid="true"] {
1826
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1827
- }
1828
-
1829
- .cirth [type="radio"]:checked[aria-invalid="true"] {
1830
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1831
- }
1832
-
1833
- .cirth [type="radio"]:checked:active[aria-invalid="true"] {
1834
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1835
- }
1836
-
1837
- .cirth [type="radio"]:checked:focus[aria-invalid="true"] {
1838
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1839
- }
1840
-
1841
- .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1842
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1843
- }
1844
-
1845
- .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1846
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1847
- }
1848
-
1849
- .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
918
+ .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"] {
1850
919
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1851
920
  }
1852
921
 
@@ -1868,9 +937,9 @@
1868
937
  border: 0;
1869
938
  }
1870
939
 
1871
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1872
- --cirth-icon-position: .75rem;
1873
- --cirth-icon-width: 1rem;
940
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
941
+ --cirth-icon-position: var(--cirth-space-3);
942
+ --cirth-icon-width: var(--cirth-size-4);
1874
943
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
1875
944
  background-image: var(--cirth-icon-date);
1876
945
  background-position: center right var(--cirth-icon-position);
@@ -1878,7 +947,7 @@
1878
947
  background-repeat: no-repeat;
1879
948
  }
1880
949
 
1881
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
950
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
1882
951
  background-image: var(--cirth-icon-time);
1883
952
  }
1884
953
 
@@ -1918,29 +987,9 @@
1918
987
  }
1919
988
 
1920
989
  @-moz-document url-prefix() {
1921
- .cirth [type="date"] {
1922
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
1923
- background-image: none !important;
1924
- }
1925
-
1926
- .cirth [type="datetime-local"] {
1927
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
1928
- background-image: none !important;
1929
- }
1930
-
1931
- .cirth [type="month"] {
1932
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
1933
- background-image: none !important;
1934
- }
1935
-
1936
- .cirth [type="time"] {
1937
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
1938
- background-image: none !important;
1939
- }
1940
-
1941
- .cirth [type="week"] {
1942
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
1943
- background-image: none !important;
990
+ .cirth [type="date"], .cirth [type="datetime-local"], .cirth [type="month"], .cirth [type="time"], .cirth [type="week"] {
991
+ padding-right: var(--cirth-form-element-spacing-horizontal);
992
+ background-image: none;
1944
993
  }
1945
994
  }
1946
995
 
@@ -1969,7 +1018,8 @@
1969
1018
  }
1970
1019
 
1971
1020
  .cirth [type="file"]:focus::file-selector-button {
1972
- --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);
1021
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1022
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1973
1023
  }
1974
1024
 
1975
1025
  .cirth [type="range"] {
@@ -2005,7 +1055,7 @@
2005
1055
 
2006
1056
  .cirth [type="range"]::-webkit-slider-thumb {
2007
1057
  -webkit-appearance: none;
2008
- border: 2px solid var(--cirth-range-thumb-border-color);
1058
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2009
1059
  background-color: var(--cirth-range-thumb-color);
2010
1060
  cursor: pointer;
2011
1061
  width: 1.25rem;
@@ -2017,7 +1067,7 @@
2017
1067
 
2018
1068
  .cirth [type="range"]::-moz-range-thumb {
2019
1069
  -webkit-appearance: none;
2020
- border: 2px solid var(--cirth-range-thumb-border-color);
1070
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2021
1071
  background-color: var(--cirth-range-thumb-color);
2022
1072
  cursor: pointer;
2023
1073
  width: 1.25rem;
@@ -2029,7 +1079,7 @@
2029
1079
 
2030
1080
  .cirth [type="range"]::-ms-thumb {
2031
1081
  -webkit-appearance: none;
2032
- border: 2px solid var(--cirth-range-thumb-border-color);
1082
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2033
1083
  background-color: var(--cirth-range-thumb-color);
2034
1084
  cursor: pointer;
2035
1085
  width: 1.25rem;
@@ -2039,12 +1089,7 @@
2039
1089
  margin-top: -.4375rem;
2040
1090
  }
2041
1091
 
2042
- .cirth [type="range"]:active {
2043
- --cirth-range-border-color: var(--cirth-range-active-border-color);
2044
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2045
- }
2046
-
2047
- .cirth [type="range"]:focus-within {
1092
+ .cirth [type="range"]:active, .cirth [type="range"]:focus-within {
2048
1093
  --cirth-range-border-color: var(--cirth-range-active-border-color);
2049
1094
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2050
1095
  }
@@ -2061,33 +1106,33 @@
2061
1106
  transform: scale(1.25);
2062
1107
  }
2063
1108
 
2064
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1109
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
2065
1110
  background-image: var(--cirth-icon-search);
2066
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1111
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
2067
1112
  background-repeat: no-repeat;
2068
1113
  background-size: 1rem;
2069
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1114
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2070
1115
  }
2071
1116
 
2072
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2073
- background-position: 1.125rem, right .75rem center;
2074
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1117
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1118
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1119
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2075
1120
  }
2076
1121
 
2077
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1122
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
2078
1123
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
2079
1124
  }
2080
1125
 
2081
- .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1126
+ .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
2082
1127
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
2083
1128
  }
2084
1129
 
2085
- [dir="rtl"] .cirth :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2086
- background-position: right 1.125rem center;
1130
+ [dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1131
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
2087
1132
  }
2088
1133
 
2089
- [dir="rtl"] .cirth :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2090
- background-position: right 1.125rem center, .75rem;
1134
+ [dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1135
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
2091
1136
  }
2092
1137
 
2093
1138
  .cirth details {
@@ -2096,9 +1141,9 @@
2096
1141
  }
2097
1142
 
2098
1143
  .cirth details summary {
1144
+ line-height: var(--cirth-size-4);
2099
1145
  cursor: pointer;
2100
1146
  transition: color var(--cirth-transition);
2101
- line-height: 1rem;
2102
1147
  list-style-type: none;
2103
1148
  }
2104
1149
 
@@ -2119,16 +1164,16 @@
2119
1164
  }
2120
1165
 
2121
1166
  .cirth details summary:after {
2122
- width: 1rem;
2123
- height: 1rem;
1167
+ width: var(--cirth-size-4);
1168
+ height: var(--cirth-size-4);
2124
1169
  float: right;
2125
1170
  background-image: var(--cirth-icon-chevron);
1171
+ background-position: 100%;
1172
+ background-size: var(--cirth-size-4) auto;
2126
1173
  content: "";
2127
1174
  transition: transform var(--cirth-transition);
2128
- background-position: 100%;
2129
1175
  background-repeat: no-repeat;
2130
- background-size: 1rem;
2131
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1176
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2132
1177
  display: block;
2133
1178
  transform: rotate(-90deg);
2134
1179
  }
@@ -2143,7 +1188,7 @@
2143
1188
 
2144
1189
  .cirth details summary:focus-visible:not([role]) {
2145
1190
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2146
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1191
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2147
1192
  color: var(--cirth-primary);
2148
1193
  }
2149
1194
 
@@ -2153,7 +1198,7 @@
2153
1198
  }
2154
1199
 
2155
1200
  .cirth details summary[role="button"]:after {
2156
- height: calc(1rem * var(--cirth-line-height, 1.5));
1201
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2157
1202
  }
2158
1203
 
2159
1204
  .cirth details[open] > summary {
@@ -2188,7 +1233,7 @@
2188
1233
  .cirth article > header, .cirth article > footer {
2189
1234
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
2190
1235
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
2191
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1236
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
2192
1237
  background-color: var(--cirth-card-sectioning-background-color);
2193
1238
  }
2194
1239
 
@@ -2212,257 +1257,143 @@
2212
1257
  width: 100%;
2213
1258
  margin-bottom: var(--cirth-spacing);
2214
1259
  border-radius: var(--cirth-border-radius);
2215
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1260
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
2216
1261
  vertical-align: middle;
2217
1262
  transition: box-shadow var(--cirth-transition);
2218
1263
  display: inline-flex;
2219
1264
  position: relative;
2220
1265
  }
2221
1266
 
2222
- .cirth [role="search"] > *, .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] select {
2223
- flex: auto;
2224
- margin-bottom: 0;
2225
- position: relative;
2226
- }
2227
-
2228
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
1267
+ .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 {
2229
1268
  flex: auto;
2230
1269
  margin-bottom: 0;
2231
1270
  position: relative;
2232
1271
  }
2233
1272
 
2234
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
2235
- flex: auto;
2236
- margin-bottom: 0;
2237
- position: relative;
2238
- }
2239
-
2240
- .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) {
2241
- border-top-left-radius: 0;
2242
- border-bottom-left-radius: 0;
2243
- margin-left: 0;
2244
- }
2245
-
2246
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2247
- border-top-left-radius: 0;
2248
- border-bottom-left-radius: 0;
2249
- margin-left: 0;
2250
- }
2251
-
2252
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1273
+ .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) {
2253
1274
  border-top-left-radius: 0;
2254
1275
  border-bottom-left-radius: 0;
2255
1276
  margin-left: 0;
2256
1277
  }
2257
1278
 
2258
- .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) {
2259
- border-top-right-radius: 0;
2260
- border-bottom-right-radius: 0;
2261
- }
2262
-
2263
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2264
- border-top-right-radius: 0;
2265
- border-bottom-right-radius: 0;
2266
- }
2267
-
2268
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1279
+ .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) {
2269
1280
  border-top-right-radius: 0;
2270
1281
  border-bottom-right-radius: 0;
2271
1282
  }
2272
1283
 
2273
- .cirth [role="search"] > :focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] select:focus {
2274
- z-index: 2;
2275
- }
2276
-
2277
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2278
- z-index: 2;
2279
- }
2280
-
2281
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1284
+ .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 {
2282
1285
  z-index: 2;
2283
1286
  }
2284
1287
 
2285
- .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) {
2286
- margin-left: calc(var(--cirth-border-width) * -1);
2287
- }
2288
-
2289
- .cirth [role="search"] [type="submit"]:not(:first-child) {
2290
- margin-left: calc(var(--cirth-border-width) * -1);
2291
- }
2292
-
2293
- .cirth [role="search"] [type="reset"]:not(:first-child) {
2294
- margin-left: calc(var(--cirth-border-width) * -1);
2295
- }
2296
-
2297
- .cirth [role="search"] [type="button"]:not(:first-child) {
2298
- margin-left: calc(var(--cirth-border-width) * -1);
2299
- }
2300
-
2301
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2302
- margin-left: calc(var(--cirth-border-width) * -1);
2303
- }
2304
-
2305
- .cirth [role="group"] [type="submit"]:not(:first-child) {
2306
- margin-left: calc(var(--cirth-border-width) * -1);
2307
- }
2308
-
2309
- .cirth [role="group"] [type="reset"]:not(:first-child) {
2310
- margin-left: calc(var(--cirth-border-width) * -1);
2311
- }
2312
-
2313
- .cirth [role="group"] [type="button"]:not(:first-child) {
2314
- margin-left: calc(var(--cirth-border-width) * -1);
2315
- }
2316
-
2317
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2318
- margin-left: calc(var(--cirth-border-width) * -1);
2319
- }
2320
-
2321
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
2322
- width: auto;
2323
- }
2324
-
2325
- .cirth [role="search"] [type="submit"] {
2326
- width: auto;
2327
- }
2328
-
2329
- .cirth [role="search"] [type="reset"] {
2330
- width: auto;
2331
- }
2332
-
2333
- .cirth [role="search"] [type="button"] {
2334
- width: auto;
2335
- }
2336
-
2337
- .cirth [role="group"] [type="submit"] {
2338
- width: auto;
2339
- }
2340
-
2341
- .cirth [role="group"] [type="reset"] {
2342
- width: auto;
2343
- }
2344
-
2345
- .cirth [role="group"] [type="button"] {
2346
- width: auto;
2347
- }
2348
-
2349
- @supports selector(:has(*)) {
2350
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2351
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2352
- }
2353
-
2354
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2355
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2356
- }
2357
-
2358
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2359
- border-color: rgba(0, 0, 0, 0);
2360
- }
2361
-
2362
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2363
- border-color: rgba(0, 0, 0, 0);
2364
- }
2365
-
2366
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2367
- border-color: rgba(0, 0, 0, 0);
2368
- }
2369
-
2370
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2371
- border-color: rgba(0, 0, 0, 0);
2372
- }
2373
-
2374
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2375
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2376
- }
1288
+ .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) {
1289
+ margin-left: calc(var(--cirth-border-width) * -1);
1290
+ }
2377
1291
 
2378
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2379
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2380
- }
1292
+ .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"] {
1293
+ width: auto;
1294
+ }
2381
1295
 
2382
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2383
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2384
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1296
+ @supports selector(:has(*)) {
1297
+ :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)) {
1298
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2385
1299
  }
2386
1300
 
2387
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2388
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2389
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1301
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1302
+ border-color: #0000;
2390
1303
  }
2391
1304
 
2392
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2393
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2394
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1305
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1306
+ border-color: #0000;
2395
1307
  }
2396
1308
 
2397
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2398
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2399
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1309
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1310
+ border-color: #0000;
2400
1311
  }
2401
1312
 
2402
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2403
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2404
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1313
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1314
+ border-color: #0000;
2405
1315
  }
2406
1316
 
2407
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2408
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2409
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1317
+ :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)) {
1318
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2410
1319
  }
2411
1320
 
2412
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2413
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2414
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1321
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1322
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1323
+ var(--cirth-primary-border);
1324
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1325
+ var(--cirth-primary-hover-border);
2415
1326
  }
2416
1327
 
2417
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2418
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2419
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1328
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1329
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1330
+ var(--cirth-primary-border);
1331
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1332
+ var(--cirth-primary-hover-border);
2420
1333
  }
2421
1334
 
2422
- .cirth [role="search"] button:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [role="button"]:focus {
2423
- box-shadow: none;
1335
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1336
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1337
+ var(--cirth-primary-border);
1338
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1339
+ var(--cirth-primary-hover-border);
2424
1340
  }
2425
1341
 
2426
- .cirth [role="search"] [type="submit"]:focus {
2427
- box-shadow: none;
1342
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1343
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1344
+ var(--cirth-primary-border);
1345
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1346
+ var(--cirth-primary-hover-border);
2428
1347
  }
2429
1348
 
2430
- .cirth [role="search"] [type="reset"]:focus {
2431
- box-shadow: none;
1349
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1350
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1351
+ var(--cirth-primary-border);
1352
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1353
+ var(--cirth-primary-hover-border);
2432
1354
  }
2433
1355
 
2434
- .cirth [role="search"] [type="button"]:focus {
2435
- box-shadow: none;
1356
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1357
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1358
+ var(--cirth-primary-border);
1359
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1360
+ var(--cirth-primary-hover-border);
2436
1361
  }
2437
1362
 
2438
- .cirth [role="group"] [type="submit"]:focus {
2439
- box-shadow: none;
1363
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1364
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1365
+ var(--cirth-primary-border);
1366
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1367
+ var(--cirth-primary-hover-border);
2440
1368
  }
2441
1369
 
2442
- .cirth [role="group"] [type="reset"]:focus {
2443
- box-shadow: none;
1370
+ .cirth [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1371
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1372
+ var(--cirth-primary-border);
1373
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1374
+ var(--cirth-primary-hover-border);
2444
1375
  }
2445
1376
 
2446
- .cirth [role="group"] [type="button"]:focus {
1377
+ .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 {
2447
1378
  box-shadow: none;
2448
1379
  }
2449
1380
  }
2450
1381
 
2451
1382
  .cirth [role="search"] > :first-child {
2452
- border-top-left-radius: 5rem;
2453
- border-bottom-left-radius: 5rem;
1383
+ border-top-left-radius: var(--cirth-radius-pill);
1384
+ border-bottom-left-radius: var(--cirth-radius-pill);
2454
1385
  }
2455
1386
 
2456
1387
  .cirth [role="search"] > :last-child {
2457
- border-top-right-radius: 5rem;
2458
- border-bottom-right-radius: 5rem;
1388
+ border-top-right-radius: var(--cirth-radius-pill);
1389
+ border-bottom-right-radius: var(--cirth-radius-pill);
2459
1390
  }
2460
1391
 
2461
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1392
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form) {
2462
1393
  white-space: nowrap;
2463
1394
  }
2464
1395
 
2465
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1396
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
2466
1397
  background-image: var(--cirth-icon-loading);
2467
1398
  content: "";
2468
1399
  vertical-align: -.125em;
@@ -2473,27 +1404,15 @@
2473
1404
  display: inline-block;
2474
1405
  }
2475
1406
 
2476
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1407
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
2477
1408
  margin-inline-end: calc(var(--cirth-spacing) * .5);
2478
1409
  }
2479
1410
 
2480
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1411
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):empty {
2481
1412
  text-align: center;
2482
1413
  }
2483
1414
 
2484
- .cirth button[aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
2485
- pointer-events: none;
2486
- }
2487
-
2488
- .cirth [type="submit"][aria-busy="true"] {
2489
- pointer-events: none;
2490
- }
2491
-
2492
- .cirth [type="button"][aria-busy="true"] {
2493
- pointer-events: none;
2494
- }
2495
-
2496
- .cirth [type="reset"][aria-busy="true"] {
1415
+ .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"] {
2497
1416
  pointer-events: none;
2498
1417
  }
2499
1418
 
@@ -2502,7 +1421,7 @@
2502
1421
  }
2503
1422
 
2504
1423
  .cirth dialog {
2505
- z-index: 999;
1424
+ z-index: var(--cirth-z-index-modal);
2506
1425
  width: inherit;
2507
1426
  min-width: 100%;
2508
1427
  height: inherit;
@@ -2527,13 +1446,13 @@
2527
1446
  overflow: auto;
2528
1447
  }
2529
1448
 
2530
- @media (width >= 576px) {
1449
+ @media (min-width: 576px) {
2531
1450
  .cirth dialog > article {
2532
1451
  max-width: 510px;
2533
1452
  }
2534
1453
  }
2535
1454
 
2536
- @media (width >= 768px) {
1455
+ @media (min-width: 768px) {
2537
1456
  .cirth dialog > article {
2538
1457
  max-width: 700px;
2539
1458
  }
@@ -2563,17 +1482,17 @@
2563
1482
  }
2564
1483
 
2565
1484
  .cirth dialog > article :is(a, button)[rel="prev"] {
2566
- width: 1rem;
2567
- height: 1rem;
1485
+ width: var(--cirth-size-4);
1486
+ height: var(--cirth-size-4);
2568
1487
  margin-top: calc(var(--cirth-spacing) * -1);
2569
1488
  margin-bottom: var(--cirth-spacing);
2570
1489
  background-image: var(--cirth-icon-close);
1490
+ background-position: center;
1491
+ background-size: auto var(--cirth-size-4);
2571
1492
  opacity: .5;
2572
1493
  transition: opacity var(--cirth-transition);
2573
- background-color: rgba(0, 0, 0, 0);
2574
- background-position: center;
1494
+ background-color: #0000;
2575
1495
  background-repeat: no-repeat;
2576
- background-size: auto 1rem;
2577
1496
  border: none;
2578
1497
  margin-left: auto;
2579
1498
  display: block;
@@ -2633,23 +1552,7 @@
2633
1552
  text-decoration: none;
2634
1553
  }
2635
1554
 
2636
- .cirth nav li button, .cirth nav li [role="button"], .cirth nav li select {
2637
- height: auto;
2638
- margin-right: inherit;
2639
- margin-bottom: 0;
2640
- margin-left: inherit;
2641
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2642
- }
2643
-
2644
- .cirth nav li [type="button"] {
2645
- height: auto;
2646
- margin-right: inherit;
2647
- margin-bottom: 0;
2648
- margin-left: inherit;
2649
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2650
- }
2651
-
2652
- .cirth nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
1555
+ .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 {
2653
1556
  height: auto;
2654
1557
  margin-right: inherit;
2655
1558
  margin-bottom: 0;
@@ -2686,7 +1589,7 @@
2686
1589
  .cirth nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2687
1590
  color: inherit;
2688
1591
  pointer-events: none;
2689
- background-color: rgba(0, 0, 0, 0);
1592
+ background-color: #0000;
2690
1593
  text-decoration: none;
2691
1594
  }
2692
1595
 
@@ -2714,12 +1617,12 @@
2714
1617
  vertical-align: baseline;
2715
1618
  appearance: none;
2716
1619
  width: 100%;
2717
- height: .5rem;
1620
+ height: var(--cirth-size-2);
2718
1621
  margin-bottom: calc(var(--cirth-spacing) * .5);
1622
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
2719
1623
  border-radius: var(--cirth-border-radius);
2720
1624
  background-color: var(--cirth-progress-background-color);
2721
1625
  color: var(--cirth-progress-color);
2722
- border: 0;
2723
1626
  display: inline-block;
2724
1627
  overflow: hidden;
2725
1628
  }
@@ -2745,11 +1648,11 @@
2745
1648
  }
2746
1649
 
2747
1650
  .cirth progress:indeterminate[value]::-webkit-progress-value {
2748
- background-color: rgba(0, 0, 0, 0);
1651
+ background-color: #0000;
2749
1652
  }
2750
1653
 
2751
1654
  .cirth progress:indeterminate::-moz-progress-bar {
2752
- background-color: rgba(0, 0, 0, 0);
1655
+ background-color: #0000;
2753
1656
  }
2754
1657
 
2755
1658
  [dir="rtl"] .cirth progress:indeterminate {
@@ -2771,26 +1674,26 @@
2771
1674
  position: relative;
2772
1675
  }
2773
1676
 
2774
- .cirth [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1677
+ .cirth [data-tooltip]:not(a, button, input, [role="button"]) {
1678
+ border-bottom: var(--cirth-border-width-1) dotted;
2775
1679
  cursor: help;
2776
- border-bottom: 1px dotted;
2777
1680
  text-decoration: none;
2778
1681
  }
2779
1682
 
2780
1683
  .cirth [data-tooltip][data-placement="top"]:before, .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:before, .cirth [data-tooltip]:after {
2781
- z-index: 99;
1684
+ z-index: var(--cirth-z-index-tooltip);
1685
+ padding: var(--cirth-space-1) var(--cirth-space-2);
2782
1686
  border-radius: var(--cirth-border-radius);
2783
1687
  background: var(--cirth-tooltip-background-color);
2784
1688
  content: attr(data-tooltip);
2785
1689
  color: var(--cirth-tooltip-color);
2786
1690
  font-style: normal;
2787
1691
  font-weight: var(--cirth-font-weight);
1692
+ font-size: var(--cirth-font-size-sm);
2788
1693
  text-overflow: ellipsis;
2789
1694
  white-space: nowrap;
2790
1695
  opacity: 0;
2791
1696
  pointer-events: none;
2792
- padding: .25rem .5rem;
2793
- font-size: .875rem;
2794
1697
  text-decoration: none;
2795
1698
  display: block;
2796
1699
  position: absolute;
@@ -2803,10 +1706,10 @@
2803
1706
  .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:after {
2804
1707
  content: "";
2805
1708
  color: var(--cirth-tooltip-background-color);
2806
- background-color: rgba(0, 0, 0, 0);
1709
+ background-color: #0000;
2807
1710
  border-top: .3rem solid;
2808
- border-left: .3rem solid rgba(0, 0, 0, 0);
2809
- border-right: .3rem solid rgba(0, 0, 0, 0);
1711
+ border-left: .3rem solid #0000;
1712
+ border-right: .3rem solid #0000;
2810
1713
  border-radius: 0;
2811
1714
  padding: 0;
2812
1715
  transform: translate(-50%);
@@ -2819,7 +1722,7 @@
2819
1722
  }
2820
1723
 
2821
1724
  .cirth [data-tooltip][data-placement="bottom"]:after {
2822
- border: .3rem solid rgba(0, 0, 0, 0);
1725
+ border: .3rem solid #0000;
2823
1726
  border-bottom-color: currentColor;
2824
1727
  transform: translate(-50%, -.3rem);
2825
1728
  }
@@ -2830,7 +1733,7 @@
2830
1733
  }
2831
1734
 
2832
1735
  .cirth [data-tooltip][data-placement="left"]:after {
2833
- border: .3rem solid rgba(0, 0, 0, 0);
1736
+ border: .3rem solid #0000;
2834
1737
  border-left-color: currentColor;
2835
1738
  transform: translate(.3rem, -50%);
2836
1739
  }
@@ -2841,7 +1744,7 @@
2841
1744
  }
2842
1745
 
2843
1746
  .cirth [data-tooltip][data-placement="right"]:after {
2844
- border: .3rem solid rgba(0, 0, 0, 0);
1747
+ border: .3rem solid #0000;
2845
1748
  border-right-color: currentColor;
2846
1749
  transform: translate(-.3rem, -50%);
2847
1750
  }
@@ -2853,9 +1756,9 @@
2853
1756
  @media (hover: hover) and (pointer: fine) {
2854
1757
  .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
2855
1758
  --cirth-tooltip-slide-to: translate(-50%, -.25rem);
1759
+ animation-duration: var(--cirth-duration-normal);
2856
1760
  opacity: 0;
2857
1761
  animation-name: tooltip-slide;
2858
- animation-duration: .2s;
2859
1762
  animation-fill-mode: forwards;
2860
1763
  transform: translate(-50%, .75rem);
2861
1764
  }
@@ -2948,12 +1851,596 @@
2948
1851
 
2949
1852
  @media (prefers-reduced-motion: reduce) {
2950
1853
  .cirth :not([aria-busy="true"]), .cirth :not([aria-busy="true"]):before, .cirth :not([aria-busy="true"]):after {
2951
- background-attachment: initial !important;
2952
- scroll-behavior: auto !important;
2953
- transition-duration: 0s !important;
2954
- transition-delay: 0s !important;
2955
- animation-duration: 1ms !important;
2956
- animation-iteration-count: 1 !important;
2957
- animation-delay: -1ms !important;
1854
+ background-attachment: initial;
1855
+ scroll-behavior: auto;
1856
+ transition-delay: var(--cirth-duration-instant);
1857
+ transition-duration: var(--cirth-duration-instant);
1858
+ animation-duration: 1ms;
1859
+ animation-iteration-count: 1;
1860
+ animation-delay: -1ms;
1861
+ }
1862
+ }
1863
+
1864
+ .cirth {
1865
+ --cirth-color-black: #000;
1866
+ --cirth-color-white: #fff;
1867
+ --cirth-color-transparent: transparent;
1868
+ --cirth-color-current: currentColor;
1869
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1870
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1871
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
1872
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
1873
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
1874
+ monospace, var(--cirth-font-family-emoji);
1875
+ --cirth-font-family-display: var(--cirth-font-family-serif);
1876
+ --cirth-font-size-xs: .75rem;
1877
+ --cirth-font-size-sm: .875rem;
1878
+ --cirth-font-size-md: 1rem;
1879
+ --cirth-font-size-lg: 1.125rem;
1880
+ --cirth-font-size-xl: 1.25rem;
1881
+ --cirth-font-size-2xl: 1.425rem;
1882
+ --cirth-font-size-3xl: 1.6rem;
1883
+ --cirth-font-size-4xl: 1.8rem;
1884
+ --cirth-font-size-5xl: 2rem;
1885
+ --cirth-font-size-6xl: 2.3rem;
1886
+ --cirth-font-weight-light: 300;
1887
+ --cirth-font-weight-regular: 400;
1888
+ --cirth-font-weight-medium: 500;
1889
+ --cirth-font-weight-semibold: 600;
1890
+ --cirth-font-weight-bold: 700;
1891
+ --cirth-letter-spacing-tight: -.02em;
1892
+ --cirth-letter-spacing-snug: -.01em;
1893
+ --cirth-line-height-none: 1;
1894
+ --cirth-line-height-tight: 1.125;
1895
+ --cirth-line-height-snug: 1.25;
1896
+ --cirth-line-height-normal: 1.5;
1897
+ --cirth-line-height-relaxed: 1.625;
1898
+ --cirth-line-height-loose: 2;
1899
+ --cirth-space-0: 0;
1900
+ --cirth-space-1: .25rem;
1901
+ --cirth-space-2: .5rem;
1902
+ --cirth-space-3: .75rem;
1903
+ --cirth-space-4: 1rem;
1904
+ --cirth-space-5: 1.25rem;
1905
+ --cirth-space-6: 1.5rem;
1906
+ --cirth-space-8: 2rem;
1907
+ --cirth-space-10: 2.5rem;
1908
+ --cirth-space-12: 3rem;
1909
+ --cirth-space-16: 4rem;
1910
+ --cirth-space-20: 5rem;
1911
+ --cirth-space-24: 6rem;
1912
+ --cirth-size-0: 0;
1913
+ --cirth-size-1: .25rem;
1914
+ --cirth-size-2: .5rem;
1915
+ --cirth-size-3: .75rem;
1916
+ --cirth-size-4: 1rem;
1917
+ --cirth-size-5: 1.25rem;
1918
+ --cirth-size-6: 1.5rem;
1919
+ --cirth-size-8: 2rem;
1920
+ --cirth-size-10: 2.5rem;
1921
+ --cirth-size-12: 3rem;
1922
+ --cirth-size-16: 4rem;
1923
+ --cirth-size-20: 5rem;
1924
+ --cirth-size-24: 6rem;
1925
+ --cirth-radius-none: 0;
1926
+ --cirth-radius-xs: .125rem;
1927
+ --cirth-radius-sm: .25rem;
1928
+ --cirth-radius-md: .375rem;
1929
+ --cirth-radius-lg: .5rem;
1930
+ --cirth-radius-xl: .75rem;
1931
+ --cirth-radius-2xl: 1rem;
1932
+ --cirth-radius-pill: 9999px;
1933
+ --cirth-border-width-0: 0;
1934
+ --cirth-border-width-1: .0625rem;
1935
+ --cirth-border-width-2: .125rem;
1936
+ --cirth-border-width-4: .25rem;
1937
+ --cirth-outline-width-1: .0625rem;
1938
+ --cirth-outline-width-2: .125rem;
1939
+ --cirth-outline-width-4: .25rem;
1940
+ --cirth-duration-instant: 0s;
1941
+ --cirth-duration-fast: .1s;
1942
+ --cirth-duration-normal: .2s;
1943
+ --cirth-duration-slow: .3s;
1944
+ --cirth-duration-slower: .5s;
1945
+ --cirth-ease-linear: linear;
1946
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
1947
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
1948
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
1949
+ --cirth-opacity-disabled: .5;
1950
+ --cirth-opacity-muted: .72;
1951
+ --cirth-opacity-overlay: .75;
1952
+ --cirth-z-index-dropdown: 1000;
1953
+ --cirth-z-index-sticky: 1020;
1954
+ --cirth-z-index-fixed: 1030;
1955
+ --cirth-z-index-modal-backdrop: 1040;
1956
+ --cirth-z-index-modal: 1050;
1957
+ --cirth-z-index-tooltip: 1070;
1958
+ --cirth-font-family: var(--cirth-font-family-sans);
1959
+ --cirth-line-height: var(--cirth-line-height-normal);
1960
+ --cirth-font-weight: var(--cirth-font-weight-regular);
1961
+ --cirth-font-size: 100%;
1962
+ --cirth-text-underline-offset: .15em;
1963
+ --cirth-border-radius: var(--cirth-radius-lg);
1964
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
1965
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
1966
+ var(--cirth-radius-sm));
1967
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
1968
+ var(--cirth-radius-sm));
1969
+ --cirth-border-width: var(--cirth-border-width-1);
1970
+ --cirth-outline-width: var(--cirth-outline-width-2);
1971
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
1972
+ --cirth-spacing: var(--cirth-space-4);
1973
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
1974
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
1975
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
1976
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
1977
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
1978
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
1979
+ --cirth-group-box-shadow: 0 0 0 #0000;
1980
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
1981
+ var(--cirth-primary-focus);
1982
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
1983
+ var(--cirth-form-element-border-color);
1984
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
1985
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
1986
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
1987
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
1988
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
1989
+ --cirth-nav-breadcrumb-divider: ">";
1990
+ --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");
1991
+ --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");
1992
+ --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");
1993
+ --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");
1994
+ --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");
1995
+ --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");
1996
+ --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");
1997
+ --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");
1998
+ }
1999
+
2000
+ .cirth a {
2001
+ --cirth-text-decoration: underline;
2002
+ }
2003
+
2004
+ .cirth small {
2005
+ --cirth-font-size: .875em;
2006
+ }
2007
+
2008
+ .cirth h1, .cirth h2, .cirth h3 {
2009
+ --cirth-font-weight: var(--cirth-font-weight-bold);
2010
+ }
2011
+
2012
+ .cirth h4, .cirth h5, .cirth h6 {
2013
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2014
+ }
2015
+
2016
+ .cirth h1 {
2017
+ --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2018
+ --cirth-line-height: var(--cirth-line-height-tight);
2019
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2020
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2021
+ }
2022
+
2023
+ .cirth h2 {
2024
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2025
+ --cirth-line-height: 1.15;
2026
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2027
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2028
+ }
2029
+
2030
+ .cirth h3 {
2031
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2032
+ --cirth-line-height: 1.2;
2033
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2034
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2035
+ }
2036
+
2037
+ .cirth h4 {
2038
+ --cirth-font-size: var(--cirth-font-size-xl);
2039
+ --cirth-line-height: var(--cirth-line-height-snug);
2040
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2041
+ }
2042
+
2043
+ .cirth h5 {
2044
+ --cirth-font-size: var(--cirth-font-size-lg);
2045
+ --cirth-line-height: var(--cirth-line-height-snug);
2046
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2047
+ }
2048
+
2049
+ .cirth h6 {
2050
+ --cirth-font-size: var(--cirth-font-size-md);
2051
+ --cirth-line-height: var(--cirth-line-height-snug);
2052
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2053
+ }
2054
+
2055
+ .cirth article {
2056
+ --cirth-border-radius: var(--cirth-card-border-radius);
2057
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2058
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2059
+ }
2060
+
2061
+ .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
2062
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2063
+ --cirth-border-width: .1875rem;
2064
+ }
2065
+
2066
+ .cirth pre, .cirth code, .cirth kbd, .cirth samp {
2067
+ --cirth-font-family: var(--cirth-font-family-mono);
2068
+ }
2069
+
2070
+ .cirth code, .cirth kbd, .cirth samp {
2071
+ --cirth-border-radius: var(--cirth-code-border-radius);
2072
+ }
2073
+
2074
+ .cirth kbd {
2075
+ --cirth-font-weight: bolder;
2076
+ }
2077
+
2078
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
2079
+ --cirth-outline-width: var(--cirth-outline-width-1);
2080
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2081
+ }
2082
+
2083
+ .cirth [type="search"] {
2084
+ --cirth-border-radius: var(--cirth-radius-pill);
2085
+ }
2086
+
2087
+ .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
2088
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2089
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2090
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2091
+ }
2092
+
2093
+ .cirth [type="file"] {
2094
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2095
+ }
2096
+
2097
+ .cirth [type="checkbox"], .cirth [type="radio"] {
2098
+ --cirth-border-width: var(--cirth-border-width-2);
2099
+ }
2100
+
2101
+ .cirth [type="checkbox"] {
2102
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2103
+ }
2104
+
2105
+ .cirth [type="checkbox"][role="switch"] {
2106
+ --cirth-border-width: .1875rem;
2107
+ }
2108
+
2109
+ .cirth [role="search"] {
2110
+ --cirth-border-radius: var(--cirth-radius-pill);
2111
+ }
2112
+
2113
+ .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"] {
2114
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2115
+ }
2116
+
2117
+ .cirth details summary[role="button"]:after, .cirth [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2118
+ filter: brightness(0) invert();
2119
+ }
2120
+
2121
+ .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
2122
+ --lightningcss-light: initial;
2123
+ --lightningcss-dark: ;
2124
+ color-scheme: light;
2125
+ --cirth-background-color: oklch(100% 0 0);
2126
+ --cirth-color: oklch(35.3% .021 264);
2127
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2128
+ --cirth-muted-color: oklch(52.7% .032 264);
2129
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2130
+ --cirth-primary: oklch(52.7% .097 69.35);
2131
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2132
+ --cirth-primary-border: var(--cirth-primary-background);
2133
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2134
+ --cirth-primary-hover: oklch(44% .081 69.35);
2135
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2136
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2137
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2138
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2139
+ --cirth-primary-inverse: oklch(100% 0 0);
2140
+ --cirth-secondary: oklch(52.7% .032 264);
2141
+ --cirth-secondary-background: oklch(48.3% .03 264);
2142
+ --cirth-secondary-border: var(--cirth-secondary-background);
2143
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2144
+ --cirth-secondary-hover: oklch(44% .028 264);
2145
+ --cirth-secondary-hover-background: oklch(44% .028 264);
2146
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2147
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2148
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2149
+ --cirth-secondary-inverse: oklch(100% 0 0);
2150
+ --cirth-contrast: oklch(22.3% .006 264);
2151
+ --cirth-contrast-background: oklch(22.3% .006 264);
2152
+ --cirth-contrast-border: var(--cirth-contrast-background);
2153
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2154
+ --cirth-contrast-hover: oklch(0% 0 0);
2155
+ --cirth-contrast-hover-background: oklch(0% 0 0);
2156
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2157
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2158
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2159
+ --cirth-contrast-inverse: oklch(100% 0 0);
2160
+ --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);
2161
+ --cirth-h1-color: oklch(31% .016 264);
2162
+ --cirth-h2-color: oklch(35.3% .021 264);
2163
+ --cirth-h3-color: oklch(39.7% .025 264);
2164
+ --cirth-h4-color: oklch(44% .028 264);
2165
+ --cirth-h5-color: oklch(48.3% .03 264);
2166
+ --cirth-h6-color: oklch(52.7% .032 264);
2167
+ --cirth-mark-background-color: oklch(93% .05 78);
2168
+ --cirth-mark-color: oklch(18% 0 264);
2169
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2170
+ --cirth-del-color: oklch(35.3% .122 29.73);
2171
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2172
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2173
+ --cirth-button-box-shadow: 0 0 0 #0000;
2174
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2175
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2176
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2177
+ --cirth-code-background-color: oklch(97% 0 288);
2178
+ --cirth-code-color: oklch(52.7% .032 264);
2179
+ --cirth-code-kbd-background-color: var(--cirth-color);
2180
+ --cirth-code-kbd-color: var(--cirth-background-color);
2181
+ --cirth-form-element-background-color: oklch(99% 0 336);
2182
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2183
+ --cirth-form-element-border-color: oklch(65.7% .03 264);
2184
+ --cirth-form-element-color: oklch(26.7% .011 264);
2185
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2186
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
2187
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2188
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2189
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2190
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2191
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2192
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2193
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2194
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2195
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2196
+ --cirth-switch-background-color: oklch(61.3% .032 264);
2197
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2198
+ --cirth-switch-color: oklch(100% 0 0);
2199
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2200
+ --cirth-range-border-color: oklch(91.7% .006 264);
2201
+ --cirth-range-active-border-color: oklch(83% .016 264);
2202
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2203
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2204
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2205
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2206
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2207
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2208
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2209
+ --cirth-card-background-color: var(--cirth-background-color);
2210
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2211
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2212
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
2213
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2214
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2215
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2216
+ --cirth-progress-border-color: oklch(65.7% .03 264);
2217
+ --cirth-progress-color: var(--cirth-primary-background);
2218
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2219
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2220
+ --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");
2221
+ --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");
2222
+ }
2223
+
2224
+ .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"]) {
2225
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2226
+ }
2227
+
2228
+ @media only screen and (prefers-color-scheme: dark) {
2229
+ .cirth:not([data-theme]) {
2230
+ --lightningcss-light: ;
2231
+ --lightningcss-dark: initial;
2232
+ color-scheme: dark;
2233
+ --cirth-background-color: oklch(20.15% .003 264);
2234
+ --cirth-color: oklch(83% .016 264);
2235
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2236
+ --cirth-muted-color: oklch(61.3% .032 264);
2237
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2238
+ --cirth-primary: oklch(70% .129 69.35);
2239
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2240
+ --cirth-primary-border: var(--cirth-primary-background);
2241
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2242
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2243
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2244
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2245
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2246
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2247
+ --cirth-primary-inverse: oklch(100% 0 0);
2248
+ --cirth-secondary: oklch(70% .028 264);
2249
+ --cirth-secondary-background: oklch(48.3% .03 264);
2250
+ --cirth-secondary-border: var(--cirth-secondary-background);
2251
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2252
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2253
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2254
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2255
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2256
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2257
+ --cirth-secondary-inverse: oklch(100% 0 0);
2258
+ --cirth-contrast: oklch(91.7% .006 264);
2259
+ --cirth-contrast-background: oklch(96% 0 264);
2260
+ --cirth-contrast-border: var(--cirth-contrast-background);
2261
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2262
+ --cirth-contrast-hover: oklch(100% 0 0);
2263
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2264
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2265
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2266
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2267
+ --cirth-contrast-inverse: oklch(0% 0 0);
2268
+ --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);
2269
+ --cirth-h1-color: oklch(96% 0 264);
2270
+ --cirth-h2-color: oklch(91.7% .006 264);
2271
+ --cirth-h3-color: oklch(83% .016 264);
2272
+ --cirth-h4-color: oklch(78.7% .021 264);
2273
+ --cirth-h5-color: oklch(74.3% .025 264);
2274
+ --cirth-h6-color: oklch(65.7% .03 264);
2275
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2276
+ --cirth-mark-color: oklch(100% 0 0);
2277
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2278
+ --cirth-del-color: oklch(78.7% .106 29.73);
2279
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2280
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2281
+ --cirth-button-box-shadow: 0 0 0 #0000;
2282
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2283
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2284
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2285
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2286
+ --cirth-code-color: oklch(65.7% .03 264);
2287
+ --cirth-code-kbd-background-color: var(--cirth-color);
2288
+ --cirth-code-kbd-color: var(--cirth-background-color);
2289
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2290
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2291
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2292
+ --cirth-form-element-color: oklch(91.7% .006 264);
2293
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2294
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2295
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2296
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2297
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2298
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2299
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2300
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2301
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2302
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2303
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2304
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2305
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2306
+ --cirth-switch-color: oklch(100% 0 0);
2307
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2308
+ --cirth-range-border-color: oklch(26.7% .011 264);
2309
+ --cirth-range-active-border-color: oklch(31% .016 264);
2310
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2311
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2312
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2313
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2314
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2315
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2316
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2317
+ --cirth-card-background-color: oklch(22.3% .006 264);
2318
+ --cirth-card-border-color: var(--cirth-card-background-color);
2319
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2320
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2321
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2322
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2323
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2324
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2325
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2326
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2327
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2328
+ --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");
2329
+ --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");
2330
+ }
2331
+
2332
+ .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2333
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2958
2334
  }
2959
2335
  }
2336
+
2337
+ .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
2338
+ --lightningcss-light: ;
2339
+ --lightningcss-dark: initial;
2340
+ color-scheme: dark;
2341
+ --cirth-background-color: oklch(20.15% .003 264);
2342
+ --cirth-color: oklch(83% .016 264);
2343
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2344
+ --cirth-muted-color: oklch(61.3% .032 264);
2345
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2346
+ --cirth-primary: oklch(70% .129 69.35);
2347
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2348
+ --cirth-primary-border: var(--cirth-primary-background);
2349
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2350
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2351
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2352
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2353
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2354
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2355
+ --cirth-primary-inverse: oklch(100% 0 0);
2356
+ --cirth-secondary: oklch(70% .028 264);
2357
+ --cirth-secondary-background: oklch(48.3% .03 264);
2358
+ --cirth-secondary-border: var(--cirth-secondary-background);
2359
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2360
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2361
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2362
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2363
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2364
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2365
+ --cirth-secondary-inverse: oklch(100% 0 0);
2366
+ --cirth-contrast: oklch(91.7% .006 264);
2367
+ --cirth-contrast-background: oklch(96% 0 264);
2368
+ --cirth-contrast-border: var(--cirth-contrast-background);
2369
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2370
+ --cirth-contrast-hover: oklch(100% 0 0);
2371
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2372
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2373
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2374
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2375
+ --cirth-contrast-inverse: oklch(0% 0 0);
2376
+ --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);
2377
+ --cirth-h1-color: oklch(96% 0 264);
2378
+ --cirth-h2-color: oklch(91.7% .006 264);
2379
+ --cirth-h3-color: oklch(83% .016 264);
2380
+ --cirth-h4-color: oklch(78.7% .021 264);
2381
+ --cirth-h5-color: oklch(74.3% .025 264);
2382
+ --cirth-h6-color: oklch(65.7% .03 264);
2383
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2384
+ --cirth-mark-color: oklch(100% 0 0);
2385
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2386
+ --cirth-del-color: oklch(78.7% .106 29.73);
2387
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2388
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2389
+ --cirth-button-box-shadow: 0 0 0 #0000;
2390
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2391
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2392
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2393
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2394
+ --cirth-code-color: oklch(65.7% .03 264);
2395
+ --cirth-code-kbd-background-color: var(--cirth-color);
2396
+ --cirth-code-kbd-color: var(--cirth-background-color);
2397
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2398
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2399
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2400
+ --cirth-form-element-color: oklch(91.7% .006 264);
2401
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2402
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2403
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2404
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2405
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2406
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2407
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2408
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2409
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2410
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2411
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2412
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2413
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2414
+ --cirth-switch-color: oklch(100% 0 0);
2415
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2416
+ --cirth-range-border-color: oklch(26.7% .011 264);
2417
+ --cirth-range-active-border-color: oklch(31% .016 264);
2418
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2419
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2420
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2421
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2422
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2423
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2424
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2425
+ --cirth-card-background-color: oklch(22.3% .006 264);
2426
+ --cirth-card-border-color: var(--cirth-card-background-color);
2427
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2428
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2429
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2430
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2431
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2432
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2433
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2434
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2435
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2436
+ --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");
2437
+ --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");
2438
+ }
2439
+
2440
+ .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"]) {
2441
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2442
+ }
2443
+
2444
+ .cirth progress, .cirth [type="checkbox"], .cirth [type="radio"], .cirth [type="range"] {
2445
+ accent-color: var(--cirth-primary);
2446
+ }