@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
package/dist/cirth.css CHANGED
@@ -1,875 +1,3 @@
1
- :root {
2
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
4
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
5
- --cirth-font-family: var(--cirth-font-family-sans-serif);
6
- --cirth-line-height: 1.5;
7
- --cirth-font-weight: 400;
8
- --cirth-font-size: 100%;
9
- --cirth-text-underline-offset: .1rem;
10
- --cirth-border-radius: .25rem;
11
- --cirth-border-width: .0625rem;
12
- --cirth-outline-width: .125rem;
13
- --cirth-transition: .2s ease-in-out;
14
- --cirth-spacing: 1rem;
15
- --cirth-typography-spacing-vertical: 1rem;
16
- --cirth-block-spacing-vertical: var(--cirth-spacing);
17
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
18
- --cirth-grid-column-gap: var(--cirth-spacing);
19
- --cirth-grid-row-gap: var(--cirth-spacing);
20
- --cirth-form-element-spacing-vertical: .75rem;
21
- --cirth-form-element-spacing-horizontal: 1rem;
22
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
23
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
24
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
25
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
26
- --cirth-nav-element-spacing-vertical: 1rem;
27
- --cirth-nav-element-spacing-horizontal: .5rem;
28
- --cirth-nav-link-spacing-vertical: .5rem;
29
- --cirth-nav-link-spacing-horizontal: .5rem;
30
- --cirth-nav-breadcrumb-divider: ">";
31
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
32
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
33
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
34
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
35
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
36
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
37
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
38
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
39
- }
40
-
41
- :host {
42
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
43
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
44
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
45
- --cirth-font-family: var(--cirth-font-family-sans-serif);
46
- --cirth-line-height: 1.5;
47
- --cirth-font-weight: 400;
48
- --cirth-font-size: 100%;
49
- --cirth-text-underline-offset: .1rem;
50
- --cirth-border-radius: .25rem;
51
- --cirth-border-width: .0625rem;
52
- --cirth-outline-width: .125rem;
53
- --cirth-transition: .2s ease-in-out;
54
- --cirth-spacing: 1rem;
55
- --cirth-typography-spacing-vertical: 1rem;
56
- --cirth-block-spacing-vertical: var(--cirth-spacing);
57
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
58
- --cirth-grid-column-gap: var(--cirth-spacing);
59
- --cirth-grid-row-gap: var(--cirth-spacing);
60
- --cirth-form-element-spacing-vertical: .75rem;
61
- --cirth-form-element-spacing-horizontal: 1rem;
62
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
63
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
64
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
65
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
66
- --cirth-nav-element-spacing-vertical: 1rem;
67
- --cirth-nav-element-spacing-horizontal: .5rem;
68
- --cirth-nav-link-spacing-vertical: .5rem;
69
- --cirth-nav-link-spacing-horizontal: .5rem;
70
- --cirth-nav-breadcrumb-divider: ">";
71
- --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");
72
- --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");
73
- --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");
74
- --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");
75
- --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");
76
- --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");
77
- --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");
78
- --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");
79
- }
80
-
81
- @media (width >= 576px) {
82
- :root {
83
- --cirth-font-size: 106.25%;
84
- }
85
-
86
- :host {
87
- --cirth-font-size: 106.25%;
88
- }
89
- }
90
-
91
- @media (width >= 768px) {
92
- :root {
93
- --cirth-font-size: 112.5%;
94
- }
95
-
96
- :host {
97
- --cirth-font-size: 112.5%;
98
- }
99
- }
100
-
101
- @media (width >= 1024px) {
102
- :root {
103
- --cirth-font-size: 118.75%;
104
- }
105
-
106
- :host {
107
- --cirth-font-size: 118.75%;
108
- }
109
- }
110
-
111
- @media (width >= 1280px) {
112
- :root {
113
- --cirth-font-size: 125%;
114
- }
115
-
116
- :host {
117
- --cirth-font-size: 125%;
118
- }
119
- }
120
-
121
- @media (width >= 1536px) {
122
- :root {
123
- --cirth-font-size: 131.25%;
124
- }
125
-
126
- :host {
127
- --cirth-font-size: 131.25%;
128
- }
129
- }
130
-
131
- a, a.secondary, a.contrast {
132
- --cirth-text-decoration: underline;
133
- }
134
-
135
- small {
136
- --cirth-font-size: .875em;
137
- }
138
-
139
- h1, h2, h3, h4, h5, h6 {
140
- --cirth-font-weight: 700;
141
- }
142
-
143
- h1 {
144
- --cirth-font-size: 2rem;
145
- --cirth-line-height: 1.125;
146
- --cirth-typography-spacing-top: 3rem;
147
- }
148
-
149
- h2 {
150
- --cirth-font-size: 1.75rem;
151
- --cirth-line-height: 1.15;
152
- --cirth-typography-spacing-top: 2.625rem;
153
- }
154
-
155
- h3 {
156
- --cirth-font-size: 1.5rem;
157
- --cirth-line-height: 1.175;
158
- --cirth-typography-spacing-top: 2.25rem;
159
- }
160
-
161
- h4 {
162
- --cirth-font-size: 1.25rem;
163
- --cirth-line-height: 1.2;
164
- --cirth-typography-spacing-top: 1.874rem;
165
- }
166
-
167
- h5 {
168
- --cirth-font-size: 1.125rem;
169
- --cirth-line-height: 1.225;
170
- --cirth-typography-spacing-top: 1.6875rem;
171
- }
172
-
173
- h6 {
174
- --cirth-font-size: 1rem;
175
- --cirth-line-height: 1.25;
176
- --cirth-typography-spacing-top: 1.5rem;
177
- }
178
-
179
- thead th, thead td, tfoot th, tfoot td {
180
- --cirth-font-weight: 600;
181
- --cirth-border-width: .1875rem;
182
- }
183
-
184
- pre, code, kbd, samp {
185
- --cirth-font-family: var(--cirth-font-family-monospace);
186
- }
187
-
188
- kbd {
189
- --cirth-font-weight: bolder;
190
- }
191
-
192
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
193
- --cirth-outline-width: .0625rem;
194
- }
195
-
196
- :where(select, textarea) {
197
- --cirth-outline-width: .0625rem;
198
- }
199
-
200
- [type="search"] {
201
- --cirth-border-radius: 5rem;
202
- }
203
-
204
- [type="checkbox"] {
205
- --cirth-border-width: .125rem;
206
- }
207
-
208
- [type="radio"] {
209
- --cirth-border-width: .125rem;
210
- }
211
-
212
- [type="checkbox"][role="switch"] {
213
- --cirth-border-width: .1875rem;
214
- }
215
-
216
- details.dropdown summary:not([role="button"]) {
217
- --cirth-outline-width: .0625rem;
218
- }
219
-
220
- nav details.dropdown summary:focus-visible {
221
- --cirth-outline-width: .125rem;
222
- }
223
-
224
- [role="search"] {
225
- --cirth-border-radius: 5rem;
226
- }
227
-
228
- [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
229
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
230
- }
231
-
232
- [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
233
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
234
- }
235
-
236
- [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
237
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
238
- }
239
-
240
- [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
241
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
242
- }
243
-
244
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
245
- --cirth-form-element-spacing-horizontal: 2rem;
246
- }
247
-
248
- [role="search"] [type="submit"] {
249
- --cirth-form-element-spacing-horizontal: 2rem;
250
- }
251
-
252
- [role="search"] [type="button"] {
253
- --cirth-form-element-spacing-horizontal: 2rem;
254
- }
255
-
256
- [role="group"] [type="submit"] {
257
- --cirth-form-element-spacing-horizontal: 2rem;
258
- }
259
-
260
- [role="group"] [type="button"] {
261
- --cirth-form-element-spacing-horizontal: 2rem;
262
- }
263
-
264
- details summary[role="button"]:not(.outline):after {
265
- filter: brightness(0) invert();
266
- }
267
-
268
- [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
269
- filter: brightness(0) invert();
270
- }
271
-
272
- [data-theme="light"], :root:not([data-theme="dark"]) {
273
- --lightningcss-light: initial;
274
- --lightningcss-dark: ;
275
- color-scheme: light;
276
- --cirth-background-color: #fff;
277
- --cirth-color: #373c44;
278
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
279
- --cirth-muted-color: #646b79;
280
- --cirth-muted-border-color: #e7eaf0;
281
- --cirth-primary: #0172ad;
282
- --cirth-primary-background: #0172ad;
283
- --cirth-primary-border: var(--cirth-primary-background);
284
- --cirth-primary-underline: rgba(1, 114, 173, .5);
285
- --cirth-primary-hover: #015887;
286
- --cirth-primary-hover-background: #02659a;
287
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
288
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
289
- --cirth-primary-focus: rgba(2, 154, 232, .5);
290
- --cirth-primary-inverse: #fff;
291
- --cirth-secondary: #5d6b89;
292
- --cirth-secondary-background: #525f7a;
293
- --cirth-secondary-border: var(--cirth-secondary-background);
294
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
295
- --cirth-secondary-hover: #48536b;
296
- --cirth-secondary-hover-background: #48536b;
297
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
298
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
299
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
300
- --cirth-secondary-inverse: #fff;
301
- --cirth-contrast: #181c25;
302
- --cirth-contrast-background: #181c25;
303
- --cirth-contrast-border: var(--cirth-contrast-background);
304
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
305
- --cirth-contrast-hover: #000;
306
- --cirth-contrast-hover-background: #000;
307
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
308
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
309
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
310
- --cirth-contrast-inverse: #fff;
311
- --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);
312
- --cirth-h1-color: #2d3138;
313
- --cirth-h2-color: #373c44;
314
- --cirth-h3-color: #424751;
315
- --cirth-h4-color: #4d535e;
316
- --cirth-h5-color: #5c6370;
317
- --cirth-h6-color: #646b79;
318
- --cirth-mark-background-color: #fde7c0;
319
- --cirth-mark-color: #0f1114;
320
- --cirth-ins-color: #1d6a54;
321
- --cirth-del-color: #883935;
322
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
323
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
324
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
325
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
326
- --cirth-table-border-color: var(--cirth-muted-border-color);
327
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
328
- --cirth-code-background-color: #f3f5f7;
329
- --cirth-code-color: #646b79;
330
- --cirth-code-kbd-background-color: var(--cirth-color);
331
- --cirth-code-kbd-color: var(--cirth-background-color);
332
- --cirth-form-element-background-color: #fbfcfc;
333
- --cirth-form-element-selected-background-color: #dfe3eb;
334
- --cirth-form-element-border-color: #cfd5e2;
335
- --cirth-form-element-color: #23262c;
336
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
337
- --cirth-form-element-active-background-color: #fff;
338
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
339
- --cirth-form-element-focus-color: var(--cirth-primary-border);
340
- --cirth-form-element-disabled-opacity: .5;
341
- --cirth-form-element-invalid-border-color: #b86a6b;
342
- --cirth-form-element-invalid-active-border-color: #c84f48;
343
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
344
- --cirth-form-element-valid-border-color: #4c9b8a;
345
- --cirth-form-element-valid-active-border-color: #279977;
346
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
347
- --cirth-switch-background-color: #bfc7d9;
348
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
349
- --cirth-switch-color: #fff;
350
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
351
- --cirth-range-border-color: #dfe3eb;
352
- --cirth-range-active-border-color: #bfc7d9;
353
- --cirth-range-thumb-border-color: var(--cirth-background-color);
354
- --cirth-range-thumb-color: var(--cirth-secondary-background);
355
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
356
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
357
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
358
- --cirth-accordion-close-summary-color: var(--cirth-color);
359
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
360
- --cirth-card-background-color: var(--cirth-background-color);
361
- --cirth-card-border-color: var(--cirth-muted-border-color);
362
- --cirth-card-box-shadow: var(--cirth-box-shadow);
363
- --cirth-card-sectioning-background-color: #fbfcfc;
364
- --cirth-dropdown-background-color: #fff;
365
- --cirth-dropdown-border-color: #eff1f4;
366
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
367
- --cirth-dropdown-color: var(--cirth-color);
368
- --cirth-dropdown-hover-background-color: #eff1f4;
369
- --cirth-loading-spinner-opacity: .5;
370
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
371
- --cirth-progress-background-color: #dfe3eb;
372
- --cirth-progress-color: var(--cirth-primary-background);
373
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
374
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
375
- --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");
376
- --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");
377
- }
378
-
379
- :host(:not([data-theme="dark"])) {
380
- --lightningcss-light: initial;
381
- --lightningcss-dark: ;
382
- color-scheme: light;
383
- --cirth-background-color: #fff;
384
- --cirth-color: #373c44;
385
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
386
- --cirth-muted-color: #646b79;
387
- --cirth-muted-border-color: #e7eaf0;
388
- --cirth-primary: #0172ad;
389
- --cirth-primary-background: #0172ad;
390
- --cirth-primary-border: var(--cirth-primary-background);
391
- --cirth-primary-underline: rgba(1, 114, 173, .5);
392
- --cirth-primary-hover: #015887;
393
- --cirth-primary-hover-background: #02659a;
394
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
395
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
396
- --cirth-primary-focus: rgba(2, 154, 232, .5);
397
- --cirth-primary-inverse: #fff;
398
- --cirth-secondary: #5d6b89;
399
- --cirth-secondary-background: #525f7a;
400
- --cirth-secondary-border: var(--cirth-secondary-background);
401
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
402
- --cirth-secondary-hover: #48536b;
403
- --cirth-secondary-hover-background: #48536b;
404
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
405
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
406
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
407
- --cirth-secondary-inverse: #fff;
408
- --cirth-contrast: #181c25;
409
- --cirth-contrast-background: #181c25;
410
- --cirth-contrast-border: var(--cirth-contrast-background);
411
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
412
- --cirth-contrast-hover: #000;
413
- --cirth-contrast-hover-background: #000;
414
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
415
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
416
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
417
- --cirth-contrast-inverse: #fff;
418
- --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);
419
- --cirth-h1-color: #2d3138;
420
- --cirth-h2-color: #373c44;
421
- --cirth-h3-color: #424751;
422
- --cirth-h4-color: #4d535e;
423
- --cirth-h5-color: #5c6370;
424
- --cirth-h6-color: #646b79;
425
- --cirth-mark-background-color: #fde7c0;
426
- --cirth-mark-color: #0f1114;
427
- --cirth-ins-color: #1d6a54;
428
- --cirth-del-color: #883935;
429
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
430
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
431
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
432
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
433
- --cirth-table-border-color: var(--cirth-muted-border-color);
434
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
435
- --cirth-code-background-color: #f3f5f7;
436
- --cirth-code-color: #646b79;
437
- --cirth-code-kbd-background-color: var(--cirth-color);
438
- --cirth-code-kbd-color: var(--cirth-background-color);
439
- --cirth-form-element-background-color: #fbfcfc;
440
- --cirth-form-element-selected-background-color: #dfe3eb;
441
- --cirth-form-element-border-color: #cfd5e2;
442
- --cirth-form-element-color: #23262c;
443
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
444
- --cirth-form-element-active-background-color: #fff;
445
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
446
- --cirth-form-element-focus-color: var(--cirth-primary-border);
447
- --cirth-form-element-disabled-opacity: .5;
448
- --cirth-form-element-invalid-border-color: #b86a6b;
449
- --cirth-form-element-invalid-active-border-color: #c84f48;
450
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
451
- --cirth-form-element-valid-border-color: #4c9b8a;
452
- --cirth-form-element-valid-active-border-color: #279977;
453
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
454
- --cirth-switch-background-color: #bfc7d9;
455
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
456
- --cirth-switch-color: #fff;
457
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
458
- --cirth-range-border-color: #dfe3eb;
459
- --cirth-range-active-border-color: #bfc7d9;
460
- --cirth-range-thumb-border-color: var(--cirth-background-color);
461
- --cirth-range-thumb-color: var(--cirth-secondary-background);
462
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
463
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
464
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
465
- --cirth-accordion-close-summary-color: var(--cirth-color);
466
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
467
- --cirth-card-background-color: var(--cirth-background-color);
468
- --cirth-card-border-color: var(--cirth-muted-border-color);
469
- --cirth-card-box-shadow: var(--cirth-box-shadow);
470
- --cirth-card-sectioning-background-color: #fbfcfc;
471
- --cirth-dropdown-background-color: #fff;
472
- --cirth-dropdown-border-color: #eff1f4;
473
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
474
- --cirth-dropdown-color: var(--cirth-color);
475
- --cirth-dropdown-hover-background-color: #eff1f4;
476
- --cirth-loading-spinner-opacity: .5;
477
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
478
- --cirth-progress-background-color: #dfe3eb;
479
- --cirth-progress-color: var(--cirth-primary-background);
480
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
481
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
482
- --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");
483
- --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");
484
- }
485
-
486
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
487
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
488
- }
489
-
490
- :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
491
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
492
- }
493
-
494
- :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
495
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
496
- }
497
-
498
- @media only screen and (prefers-color-scheme: dark) {
499
- :root:not([data-theme]) {
500
- --lightningcss-light: ;
501
- --lightningcss-dark: initial;
502
- color-scheme: dark;
503
- --cirth-background-color: #13171f;
504
- --cirth-color: #c2c7d0;
505
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
506
- --cirth-muted-color: #7b8495;
507
- --cirth-muted-border-color: #202632;
508
- --cirth-primary: #01aaff;
509
- --cirth-primary-background: #0172ad;
510
- --cirth-primary-border: var(--cirth-primary-background);
511
- --cirth-primary-underline: rgba(1, 170, 255, .5);
512
- --cirth-primary-hover: #79c0ff;
513
- --cirth-primary-hover-background: #017fc0;
514
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
515
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
516
- --cirth-primary-focus: rgba(1, 170, 255, .376);
517
- --cirth-primary-inverse: #fff;
518
- --cirth-secondary: #969eaf;
519
- --cirth-secondary-background: #525f7a;
520
- --cirth-secondary-border: var(--cirth-secondary-background);
521
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
522
- --cirth-secondary-hover: #b3b9c5;
523
- --cirth-secondary-hover-background: #5d6b89;
524
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
525
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
526
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
527
- --cirth-secondary-inverse: #fff;
528
- --cirth-contrast: #dfe3eb;
529
- --cirth-contrast-background: #eff1f4;
530
- --cirth-contrast-border: var(--cirth-contrast-background);
531
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
532
- --cirth-contrast-hover: #fff;
533
- --cirth-contrast-hover-background: #fff;
534
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
535
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
536
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
537
- --cirth-contrast-inverse: #000;
538
- --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);
539
- --cirth-h1-color: #f0f1f3;
540
- --cirth-h2-color: #e0e3e7;
541
- --cirth-h3-color: #c2c7d0;
542
- --cirth-h4-color: #b3b9c5;
543
- --cirth-h5-color: #a4acba;
544
- --cirth-h6-color: #8891a4;
545
- --cirth-mark-background-color: #014063;
546
- --cirth-mark-color: #fff;
547
- --cirth-ins-color: #62af9a;
548
- --cirth-del-color: #ce7e7b;
549
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
550
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
551
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
552
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
553
- --cirth-table-border-color: var(--cirth-muted-border-color);
554
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
555
- --cirth-code-background-color: #1a1f28;
556
- --cirth-code-color: #8891a4;
557
- --cirth-code-kbd-background-color: var(--cirth-color);
558
- --cirth-code-kbd-color: var(--cirth-background-color);
559
- --cirth-form-element-background-color: #1c212c;
560
- --cirth-form-element-selected-background-color: #2a3140;
561
- --cirth-form-element-border-color: #2a3140;
562
- --cirth-form-element-color: #e0e3e7;
563
- --cirth-form-element-placeholder-color: #8891a4;
564
- --cirth-form-element-active-background-color: #1a1f28;
565
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
566
- --cirth-form-element-focus-color: var(--cirth-primary-border);
567
- --cirth-form-element-disabled-opacity: .5;
568
- --cirth-form-element-invalid-border-color: #964a50;
569
- --cirth-form-element-invalid-active-border-color: #b7403b;
570
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
571
- --cirth-form-element-valid-border-color: #2a7b6f;
572
- --cirth-form-element-valid-active-border-color: #16896a;
573
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
574
- --cirth-switch-background-color: #333c4e;
575
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
576
- --cirth-switch-color: #fff;
577
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
578
- --cirth-range-border-color: #202632;
579
- --cirth-range-active-border-color: #2a3140;
580
- --cirth-range-thumb-border-color: var(--cirth-background-color);
581
- --cirth-range-thumb-color: var(--cirth-secondary-background);
582
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
583
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
584
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
585
- --cirth-accordion-close-summary-color: var(--cirth-color);
586
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
587
- --cirth-card-background-color: #181c25;
588
- --cirth-card-border-color: var(--cirth-card-background-color);
589
- --cirth-card-box-shadow: var(--cirth-box-shadow);
590
- --cirth-card-sectioning-background-color: #1a1f28;
591
- --cirth-dropdown-background-color: #181c25;
592
- --cirth-dropdown-border-color: #202632;
593
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
594
- --cirth-dropdown-color: var(--cirth-color);
595
- --cirth-dropdown-hover-background-color: #202632;
596
- --cirth-loading-spinner-opacity: .5;
597
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
598
- --cirth-progress-background-color: #202632;
599
- --cirth-progress-color: var(--cirth-primary-background);
600
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
601
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
602
- --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");
603
- --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");
604
- }
605
-
606
- :host(:not([data-theme])) {
607
- --lightningcss-light: ;
608
- --lightningcss-dark: initial;
609
- color-scheme: dark;
610
- --cirth-background-color: #13171f;
611
- --cirth-color: #c2c7d0;
612
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
613
- --cirth-muted-color: #7b8495;
614
- --cirth-muted-border-color: #202632;
615
- --cirth-primary: #01aaff;
616
- --cirth-primary-background: #0172ad;
617
- --cirth-primary-border: var(--cirth-primary-background);
618
- --cirth-primary-underline: rgba(1, 170, 255, .5);
619
- --cirth-primary-hover: #79c0ff;
620
- --cirth-primary-hover-background: #017fc0;
621
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
622
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
623
- --cirth-primary-focus: rgba(1, 170, 255, .376);
624
- --cirth-primary-inverse: #fff;
625
- --cirth-secondary: #969eaf;
626
- --cirth-secondary-background: #525f7a;
627
- --cirth-secondary-border: var(--cirth-secondary-background);
628
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
629
- --cirth-secondary-hover: #b3b9c5;
630
- --cirth-secondary-hover-background: #5d6b89;
631
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
632
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
633
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
634
- --cirth-secondary-inverse: #fff;
635
- --cirth-contrast: #dfe3eb;
636
- --cirth-contrast-background: #eff1f4;
637
- --cirth-contrast-border: var(--cirth-contrast-background);
638
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
639
- --cirth-contrast-hover: #fff;
640
- --cirth-contrast-hover-background: #fff;
641
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
642
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
643
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
644
- --cirth-contrast-inverse: #000;
645
- --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);
646
- --cirth-h1-color: #f0f1f3;
647
- --cirth-h2-color: #e0e3e7;
648
- --cirth-h3-color: #c2c7d0;
649
- --cirth-h4-color: #b3b9c5;
650
- --cirth-h5-color: #a4acba;
651
- --cirth-h6-color: #8891a4;
652
- --cirth-mark-background-color: #014063;
653
- --cirth-mark-color: #fff;
654
- --cirth-ins-color: #62af9a;
655
- --cirth-del-color: #ce7e7b;
656
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
657
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
658
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
659
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
660
- --cirth-table-border-color: var(--cirth-muted-border-color);
661
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
662
- --cirth-code-background-color: #1a1f28;
663
- --cirth-code-color: #8891a4;
664
- --cirth-code-kbd-background-color: var(--cirth-color);
665
- --cirth-code-kbd-color: var(--cirth-background-color);
666
- --cirth-form-element-background-color: #1c212c;
667
- --cirth-form-element-selected-background-color: #2a3140;
668
- --cirth-form-element-border-color: #2a3140;
669
- --cirth-form-element-color: #e0e3e7;
670
- --cirth-form-element-placeholder-color: #8891a4;
671
- --cirth-form-element-active-background-color: #1a1f28;
672
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
673
- --cirth-form-element-focus-color: var(--cirth-primary-border);
674
- --cirth-form-element-disabled-opacity: .5;
675
- --cirth-form-element-invalid-border-color: #964a50;
676
- --cirth-form-element-invalid-active-border-color: #b7403b;
677
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
678
- --cirth-form-element-valid-border-color: #2a7b6f;
679
- --cirth-form-element-valid-active-border-color: #16896a;
680
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
681
- --cirth-switch-background-color: #333c4e;
682
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
683
- --cirth-switch-color: #fff;
684
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
685
- --cirth-range-border-color: #202632;
686
- --cirth-range-active-border-color: #2a3140;
687
- --cirth-range-thumb-border-color: var(--cirth-background-color);
688
- --cirth-range-thumb-color: var(--cirth-secondary-background);
689
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
690
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
691
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
692
- --cirth-accordion-close-summary-color: var(--cirth-color);
693
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
694
- --cirth-card-background-color: #181c25;
695
- --cirth-card-border-color: var(--cirth-card-background-color);
696
- --cirth-card-box-shadow: var(--cirth-box-shadow);
697
- --cirth-card-sectioning-background-color: #1a1f28;
698
- --cirth-dropdown-background-color: #181c25;
699
- --cirth-dropdown-border-color: #202632;
700
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
701
- --cirth-dropdown-color: var(--cirth-color);
702
- --cirth-dropdown-hover-background-color: #202632;
703
- --cirth-loading-spinner-opacity: .5;
704
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
705
- --cirth-progress-background-color: #202632;
706
- --cirth-progress-color: var(--cirth-primary-background);
707
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
708
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
709
- --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");
710
- --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");
711
- }
712
-
713
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
714
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
715
- }
716
-
717
- :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
718
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
719
- }
720
-
721
- :root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
722
- filter: brightness(0);
723
- }
724
-
725
- :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after {
726
- filter: brightness(0);
727
- }
728
-
729
- :root:not([data-theme]) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
730
- filter: brightness(0);
731
- }
732
-
733
- :host(:not([data-theme])) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
734
- filter: brightness(0);
735
- }
736
- }
737
-
738
- [data-theme="dark"] {
739
- --lightningcss-light: ;
740
- --lightningcss-dark: initial;
741
- color-scheme: dark;
742
- --cirth-background-color: #13171f;
743
- --cirth-color: #c2c7d0;
744
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
745
- --cirth-muted-color: #7b8495;
746
- --cirth-muted-border-color: #202632;
747
- --cirth-primary: #01aaff;
748
- --cirth-primary-background: #0172ad;
749
- --cirth-primary-border: var(--cirth-primary-background);
750
- --cirth-primary-underline: rgba(1, 170, 255, .5);
751
- --cirth-primary-hover: #79c0ff;
752
- --cirth-primary-hover-background: #017fc0;
753
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
754
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
755
- --cirth-primary-focus: rgba(1, 170, 255, .376);
756
- --cirth-primary-inverse: #fff;
757
- --cirth-secondary: #969eaf;
758
- --cirth-secondary-background: #525f7a;
759
- --cirth-secondary-border: var(--cirth-secondary-background);
760
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
761
- --cirth-secondary-hover: #b3b9c5;
762
- --cirth-secondary-hover-background: #5d6b89;
763
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
764
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
765
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
766
- --cirth-secondary-inverse: #fff;
767
- --cirth-contrast: #dfe3eb;
768
- --cirth-contrast-background: #eff1f4;
769
- --cirth-contrast-border: var(--cirth-contrast-background);
770
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
771
- --cirth-contrast-hover: #fff;
772
- --cirth-contrast-hover-background: #fff;
773
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
774
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
775
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
776
- --cirth-contrast-inverse: #000;
777
- --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);
778
- --cirth-h1-color: #f0f1f3;
779
- --cirth-h2-color: #e0e3e7;
780
- --cirth-h3-color: #c2c7d0;
781
- --cirth-h4-color: #b3b9c5;
782
- --cirth-h5-color: #a4acba;
783
- --cirth-h6-color: #8891a4;
784
- --cirth-mark-background-color: #014063;
785
- --cirth-mark-color: #fff;
786
- --cirth-ins-color: #62af9a;
787
- --cirth-del-color: #ce7e7b;
788
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
789
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
790
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
791
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
792
- --cirth-table-border-color: var(--cirth-muted-border-color);
793
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
794
- --cirth-code-background-color: #1a1f28;
795
- --cirth-code-color: #8891a4;
796
- --cirth-code-kbd-background-color: var(--cirth-color);
797
- --cirth-code-kbd-color: var(--cirth-background-color);
798
- --cirth-form-element-background-color: #1c212c;
799
- --cirth-form-element-selected-background-color: #2a3140;
800
- --cirth-form-element-border-color: #2a3140;
801
- --cirth-form-element-color: #e0e3e7;
802
- --cirth-form-element-placeholder-color: #8891a4;
803
- --cirth-form-element-active-background-color: #1a1f28;
804
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
805
- --cirth-form-element-focus-color: var(--cirth-primary-border);
806
- --cirth-form-element-disabled-opacity: .5;
807
- --cirth-form-element-invalid-border-color: #964a50;
808
- --cirth-form-element-invalid-active-border-color: #b7403b;
809
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
810
- --cirth-form-element-valid-border-color: #2a7b6f;
811
- --cirth-form-element-valid-active-border-color: #16896a;
812
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
813
- --cirth-switch-background-color: #333c4e;
814
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
815
- --cirth-switch-color: #fff;
816
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
817
- --cirth-range-border-color: #202632;
818
- --cirth-range-active-border-color: #2a3140;
819
- --cirth-range-thumb-border-color: var(--cirth-background-color);
820
- --cirth-range-thumb-color: var(--cirth-secondary-background);
821
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
822
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
823
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
824
- --cirth-accordion-close-summary-color: var(--cirth-color);
825
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
826
- --cirth-card-background-color: #181c25;
827
- --cirth-card-border-color: var(--cirth-card-background-color);
828
- --cirth-card-box-shadow: var(--cirth-box-shadow);
829
- --cirth-card-sectioning-background-color: #1a1f28;
830
- --cirth-dropdown-background-color: #181c25;
831
- --cirth-dropdown-border-color: #202632;
832
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
833
- --cirth-dropdown-color: var(--cirth-color);
834
- --cirth-dropdown-hover-background-color: #202632;
835
- --cirth-loading-spinner-opacity: .5;
836
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
837
- --cirth-progress-background-color: #202632;
838
- --cirth-progress-color: var(--cirth-primary-background);
839
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
840
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
841
- --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");
842
- --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");
843
- }
844
-
845
- [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
846
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
847
- }
848
-
849
- [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
850
- filter: brightness(0);
851
- }
852
-
853
- [data-theme="dark"] [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
854
- filter: brightness(0);
855
- }
856
-
857
- progress {
858
- accent-color: var(--cirth-primary);
859
- }
860
-
861
- [type="checkbox"] {
862
- accent-color: var(--cirth-primary);
863
- }
864
-
865
- [type="radio"] {
866
- accent-color: var(--cirth-primary);
867
- }
868
-
869
- [type="range"] {
870
- accent-color: var(--cirth-primary);
871
- }
872
-
873
1
  *, :before, :after {
874
2
  box-sizing: border-box;
875
3
  background-repeat: no-repeat;
@@ -881,24 +9,7 @@ progress {
881
9
  vertical-align: inherit;
882
10
  }
883
11
 
884
- :where(:root) {
885
- -webkit-tap-highlight-color: transparent;
886
- -webkit-text-size-adjust: 100%;
887
- -moz-text-size-adjust: 100%;
888
- text-size-adjust: 100%;
889
- background-color: var(--cirth-background-color);
890
- color: var(--cirth-color);
891
- font-weight: var(--cirth-font-weight);
892
- font-size: var(--cirth-font-size);
893
- line-height: var(--cirth-line-height);
894
- font-family: var(--cirth-font-family);
895
- text-underline-offset: var(--cirth-text-underline-offset);
896
- text-rendering: optimizelegibility;
897
- overflow-wrap: break-word;
898
- tab-size: 4;
899
- }
900
-
901
- :where(:host) {
12
+ :where(:root), :where(:host) {
902
13
  -webkit-tap-highlight-color: transparent;
903
14
  -webkit-text-size-adjust: 100%;
904
15
  -moz-text-size-adjust: 100%;
@@ -940,7 +51,7 @@ section {
940
51
  margin-right: auto;
941
52
  }
942
53
 
943
- @media (width >= 576px) {
54
+ @media (min-width: 576px) {
944
55
  .container {
945
56
  max-width: 510px;
946
57
  padding-left: 0;
@@ -948,25 +59,25 @@ section {
948
59
  }
949
60
  }
950
61
 
951
- @media (width >= 768px) {
62
+ @media (min-width: 768px) {
952
63
  .container {
953
64
  max-width: 700px;
954
65
  }
955
66
  }
956
67
 
957
- @media (width >= 1024px) {
68
+ @media (min-width: 1024px) {
958
69
  .container {
959
70
  max-width: 950px;
960
71
  }
961
72
  }
962
73
 
963
- @media (width >= 1280px) {
74
+ @media (min-width: 1280px) {
964
75
  .container {
965
76
  max-width: 1200px;
966
77
  }
967
78
  }
968
79
 
969
- @media (width >= 1536px) {
80
+ @media (min-width: 1536px) {
970
81
  .container {
971
82
  max-width: 1450px;
972
83
  }
@@ -979,7 +90,7 @@ section {
979
90
  display: grid;
980
91
  }
981
92
 
982
- @media (width >= 768px) {
93
+ @media (min-width: 768px) {
983
94
  .grid {
984
95
  grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
985
96
  }
@@ -1020,6 +131,10 @@ address, blockquote, dl, ol, p, pre, table, ul {
1020
131
  font-weight: var(--cirth-font-weight);
1021
132
  }
1022
133
 
134
+ p {
135
+ text-wrap: pretty;
136
+ }
137
+
1023
138
  h1, h2, h3, h4, h5, h6 {
1024
139
  margin-top: 0;
1025
140
  margin-bottom: var(--cirth-typography-spacing-vertical);
@@ -1027,7 +142,9 @@ h1, h2, h3, h4, h5, h6 {
1027
142
  font-weight: var(--cirth-font-weight);
1028
143
  font-size: var(--cirth-font-size);
1029
144
  line-height: var(--cirth-line-height);
1030
- font-family: var(--cirth-font-family);
145
+ font-family: var(--cirth-font-family-display);
146
+ letter-spacing: var(--cirth-letter-spacing, normal);
147
+ text-wrap: balance;
1031
148
  }
1032
149
 
1033
150
  h1 {
@@ -1070,7 +187,7 @@ hgroup > * {
1070
187
  hgroup > :not(:first-child):last-child {
1071
188
  --cirth-color: var(--cirth-muted-color);
1072
189
  --cirth-font-weight: unset;
1073
- font-size: 1rem;
190
+ font-size: var(--cirth-font-size-md);
1074
191
  }
1075
192
 
1076
193
  :where(ol, ul) li {
@@ -1087,18 +204,18 @@ ul li {
1087
204
  }
1088
205
 
1089
206
  mark {
207
+ padding: 0 var(--cirth-space-1);
1090
208
  background-color: var(--cirth-mark-background-color);
1091
209
  color: var(--cirth-mark-color);
1092
210
  vertical-align: baseline;
1093
- padding: .125rem .25rem;
1094
211
  }
1095
212
 
1096
213
  blockquote {
1097
214
  margin: var(--cirth-typography-spacing-vertical) 0;
1098
215
  padding: var(--cirth-spacing);
1099
216
  border-right: none;
1100
- border-left: .25rem solid var(--cirth-blockquote-border-color);
1101
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
217
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
218
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
1102
219
  border-inline-end: none;
1103
220
  display: block;
1104
221
  }
@@ -1109,8 +226,8 @@ blockquote footer {
1109
226
  }
1110
227
 
1111
228
  abbr[title] {
229
+ border-bottom: var(--cirth-border-width-1) dotted;
1112
230
  cursor: help;
1113
- border-bottom: 1px dotted;
1114
231
  text-decoration: none;
1115
232
  }
1116
233
 
@@ -1127,22 +244,7 @@ del {
1127
244
  background-color: var(--cirth-text-selection-color);
1128
245
  }
1129
246
 
1130
- [role="link"] {
1131
- --cirth-color: var(--cirth-primary);
1132
- --cirth-background-color: transparent;
1133
- --cirth-underline: var(--cirth-primary-underline);
1134
- background-color: var(--cirth-background-color);
1135
- color: var(--cirth-color);
1136
- -webkit-text-decoration: var(--cirth-text-decoration);
1137
- text-decoration: var(--cirth-text-decoration);
1138
- -webkit-text-decoration-color: var(--cirth-underline);
1139
- text-decoration-color: var(--cirth-underline);
1140
- text-underline-offset: .125em;
1141
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
1142
- outline: none;
1143
- }
1144
-
1145
- :where(a:not([role="button"])) {
247
+ :where(a:not([role="button"])), [role="link"] {
1146
248
  --cirth-color: var(--cirth-primary);
1147
249
  --cirth-background-color: transparent;
1148
250
  --cirth-underline: var(--cirth-primary-underline);
@@ -1157,152 +259,57 @@ del {
1157
259
  outline: none;
1158
260
  }
1159
261
 
1160
- :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
262
+ :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1161
263
  --cirth-color: var(--cirth-primary-hover);
1162
264
  --cirth-underline: var(--cirth-primary-hover-underline);
1163
265
  --cirth-text-decoration: underline;
1164
266
  }
1165
267
 
1166
- [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1167
- --cirth-color: var(--cirth-primary-hover);
1168
- --cirth-underline: var(--cirth-primary-hover-underline);
1169
- --cirth-text-decoration: underline;
1170
- }
1171
-
1172
- :where(a:not([role="button"])):focus-visible {
1173
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1174
- }
1175
-
1176
- [role="link"]:focus-visible {
268
+ :where(a:not([role="button"])):focus-visible, [role="link"]:focus-visible {
1177
269
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
270
+ outline: var(--cirth-outline-width) solid transparent;
1178
271
  }
1179
272
 
1180
- [role="link"].secondary {
1181
- --cirth-color: var(--cirth-secondary);
1182
- --cirth-underline: var(--cirth-secondary-underline);
1183
- }
1184
-
1185
- :where(a:not([role="button"])).secondary {
273
+ :where(a:not([role="button"])).secondary, [role="link"].secondary {
1186
274
  --cirth-color: var(--cirth-secondary);
1187
275
  --cirth-underline: var(--cirth-secondary-underline);
1188
276
  }
1189
277
 
1190
- :where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
278
+ :where(a:not([role="button"])).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1191
279
  --cirth-color: var(--cirth-secondary-hover);
1192
280
  --cirth-underline: var(--cirth-secondary-hover-underline);
1193
281
  }
1194
282
 
1195
- [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1196
- --cirth-color: var(--cirth-secondary-hover);
1197
- --cirth-underline: var(--cirth-secondary-hover-underline);
1198
- }
1199
-
1200
- [role="link"].contrast {
1201
- --cirth-color: var(--cirth-contrast);
1202
- --cirth-underline: var(--cirth-contrast-underline);
1203
- }
1204
-
1205
- :where(a:not([role="button"])).contrast {
1206
- --cirth-color: var(--cirth-contrast);
1207
- --cirth-underline: var(--cirth-contrast-underline);
1208
- }
1209
-
1210
- :where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1211
- --cirth-color: var(--cirth-contrast-hover);
1212
- --cirth-underline: var(--cirth-contrast-hover-underline);
1213
- }
1214
-
1215
- [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1216
- --cirth-color: var(--cirth-contrast-hover);
1217
- --cirth-underline: var(--cirth-contrast-hover-underline);
1218
- }
1219
-
1220
- a[role="button"] {
1221
- display: inline-block;
1222
- }
1223
-
1224
- button {
1225
- text-transform: none;
1226
- -webkit-appearance: button;
1227
- margin: 0;
1228
- font-family: inherit;
1229
- overflow: visible;
1230
- }
1231
-
1232
- button, [role="button"] {
1233
- --cirth-background-color: var(--cirth-primary-background);
1234
- --cirth-border-color: var(--cirth-primary-border);
1235
- --cirth-color: var(--cirth-primary-inverse);
1236
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1237
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1238
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1239
- border-radius: var(--cirth-border-radius);
1240
- background-color: var(--cirth-background-color);
1241
- box-shadow: var(--cirth-box-shadow);
1242
- color: var(--cirth-color);
1243
- font-weight: var(--cirth-font-weight);
1244
- font-size: 1rem;
1245
- line-height: var(--cirth-line-height);
1246
- text-align: center;
1247
- cursor: pointer;
1248
- -webkit-user-select: none;
1249
- user-select: none;
1250
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1251
- outline: none;
1252
- text-decoration: none;
1253
- }
1254
-
1255
- [type="submit"] {
1256
- --cirth-background-color: var(--cirth-primary-background);
1257
- --cirth-border-color: var(--cirth-primary-border);
1258
- --cirth-color: var(--cirth-primary-inverse);
1259
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1260
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1261
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1262
- border-radius: var(--cirth-border-radius);
1263
- background-color: var(--cirth-background-color);
1264
- box-shadow: var(--cirth-box-shadow);
1265
- color: var(--cirth-color);
1266
- font-weight: var(--cirth-font-weight);
1267
- font-size: 1rem;
1268
- line-height: var(--cirth-line-height);
1269
- text-align: center;
1270
- cursor: pointer;
1271
- -webkit-user-select: none;
1272
- user-select: none;
1273
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1274
- outline: none;
1275
- text-decoration: none;
283
+ :where(a:not([role="button"])).contrast, [role="link"].contrast {
284
+ --cirth-color: var(--cirth-contrast);
285
+ --cirth-underline: var(--cirth-contrast-underline);
1276
286
  }
1277
287
 
1278
- [type="reset"] {
1279
- --cirth-background-color: var(--cirth-primary-background);
1280
- --cirth-border-color: var(--cirth-primary-border);
1281
- --cirth-color: var(--cirth-primary-inverse);
1282
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1283
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1284
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1285
- border-radius: var(--cirth-border-radius);
1286
- background-color: var(--cirth-background-color);
1287
- box-shadow: var(--cirth-box-shadow);
1288
- color: var(--cirth-color);
1289
- font-weight: var(--cirth-font-weight);
1290
- font-size: 1rem;
1291
- line-height: var(--cirth-line-height);
1292
- text-align: center;
1293
- cursor: pointer;
1294
- -webkit-user-select: none;
1295
- user-select: none;
1296
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1297
- outline: none;
1298
- text-decoration: none;
288
+ :where(a:not([role="button"])).contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
289
+ --cirth-color: var(--cirth-contrast-hover);
290
+ --cirth-underline: var(--cirth-contrast-hover-underline);
291
+ }
292
+
293
+ a[role="button"] {
294
+ display: inline-block;
295
+ }
296
+
297
+ button {
298
+ text-transform: none;
299
+ margin: 0;
300
+ font-family: inherit;
301
+ overflow: visible;
302
+ }
303
+
304
+ button, [type="submit"], [type="reset"], [type="button"] {
305
+ -webkit-appearance: button;
1299
306
  }
1300
307
 
1301
- [type="button"] {
308
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
1302
309
  --cirth-background-color: var(--cirth-primary-background);
1303
310
  --cirth-border-color: var(--cirth-primary-border);
1304
311
  --cirth-color: var(--cirth-primary-inverse);
1305
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
312
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1306
313
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1307
314
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1308
315
  border-radius: var(--cirth-border-radius);
@@ -1310,7 +317,7 @@ button, [role="button"] {
1310
317
  box-shadow: var(--cirth-box-shadow);
1311
318
  color: var(--cirth-color);
1312
319
  font-weight: var(--cirth-font-weight);
1313
- font-size: 1rem;
320
+ font-size: var(--cirth-font-size-md);
1314
321
  line-height: var(--cirth-line-height);
1315
322
  text-align: center;
1316
323
  cursor: pointer;
@@ -1325,7 +332,7 @@ button, [role="button"] {
1325
332
  --cirth-background-color: var(--cirth-primary-background);
1326
333
  --cirth-border-color: var(--cirth-primary-border);
1327
334
  --cirth-color: var(--cirth-primary-inverse);
1328
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
335
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1329
336
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1330
337
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1331
338
  border-radius: var(--cirth-border-radius);
@@ -1333,7 +340,7 @@ button, [role="button"] {
1333
340
  box-shadow: var(--cirth-box-shadow);
1334
341
  color: var(--cirth-color);
1335
342
  font-weight: var(--cirth-font-weight);
1336
- font-size: 1rem;
343
+ font-size: var(--cirth-font-size-md);
1337
344
  line-height: var(--cirth-line-height);
1338
345
  text-align: center;
1339
346
  cursor: pointer;
@@ -1344,139 +351,58 @@ button, [role="button"] {
1344
351
  text-decoration: none;
1345
352
  }
1346
353
 
1347
- button[aria-current]:not([aria-current="false"]), [role="button"][aria-current]:not([aria-current="false"]) {
1348
- --cirth-background-color: var(--cirth-primary-hover-background);
1349
- --cirth-border-color: var(--cirth-primary-hover-border);
1350
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1351
- --cirth-color: var(--cirth-primary-inverse);
1352
- }
1353
-
1354
- button:is(:hover, :active, :focus) {
1355
- --cirth-background-color: var(--cirth-primary-hover-background);
1356
- --cirth-border-color: var(--cirth-primary-hover-border);
1357
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1358
- --cirth-color: var(--cirth-primary-inverse);
1359
- }
1360
-
1361
- [type="submit"][aria-current]:not([aria-current="false"]) {
354
+ button[aria-current]:not([aria-current="false"]), button:is(:hover, :active, :focus), [type="submit"][aria-current]:not([aria-current="false"]), [type="submit"]:is(:hover, :active, :focus), [type="reset"][aria-current]:not([aria-current="false"]), [type="reset"]:is(:hover, :active, :focus), [type="button"][aria-current]:not([aria-current="false"]), [type="button"]:is(:hover, :active, :focus), [role="button"][aria-current]:not([aria-current="false"]), [role="button"]:is(:hover, :active, :focus) {
1362
355
  --cirth-background-color: var(--cirth-primary-hover-background);
1363
356
  --cirth-border-color: var(--cirth-primary-hover-border);
1364
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1365
- --cirth-color: var(--cirth-primary-inverse);
1366
- }
1367
-
1368
- [type="submit"]:is(:hover, :active, :focus) {
1369
- --cirth-background-color: var(--cirth-primary-hover-background);
1370
- --cirth-border-color: var(--cirth-primary-hover-border);
1371
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1372
- --cirth-color: var(--cirth-primary-inverse);
1373
- }
1374
-
1375
- [type="reset"][aria-current]:not([aria-current="false"]) {
1376
- --cirth-background-color: var(--cirth-primary-hover-background);
1377
- --cirth-border-color: var(--cirth-primary-hover-border);
1378
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1379
- --cirth-color: var(--cirth-primary-inverse);
1380
- }
1381
-
1382
- [type="reset"]:is(:hover, :active, :focus) {
1383
- --cirth-background-color: var(--cirth-primary-hover-background);
1384
- --cirth-border-color: var(--cirth-primary-hover-border);
1385
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1386
- --cirth-color: var(--cirth-primary-inverse);
1387
- }
1388
-
1389
- [type="button"][aria-current]:not([aria-current="false"]) {
1390
- --cirth-background-color: var(--cirth-primary-hover-background);
1391
- --cirth-border-color: var(--cirth-primary-hover-border);
1392
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1393
- --cirth-color: var(--cirth-primary-inverse);
1394
- }
1395
-
1396
- [type="button"]:is(:hover, :active, :focus) {
1397
- --cirth-background-color: var(--cirth-primary-hover-background);
1398
- --cirth-border-color: var(--cirth-primary-hover-border);
1399
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
357
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1400
358
  --cirth-color: var(--cirth-primary-inverse);
1401
359
  }
1402
360
 
1403
361
  [type="file"]::file-selector-button:is() {
1404
362
  --cirth-background-color: var(--cirth-primary-hover-background);
1405
363
  --cirth-border-color: var(--cirth-primary-hover-border);
1406
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
364
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1407
365
  --cirth-color: var(--cirth-primary-inverse);
1408
366
  }
1409
367
 
1410
368
  [type="file"]::file-selector-button:is(:hover, :active, :focus) {
1411
369
  --cirth-background-color: var(--cirth-primary-hover-background);
1412
370
  --cirth-border-color: var(--cirth-primary-hover-border);
1413
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1414
- --cirth-color: var(--cirth-primary-inverse);
1415
- }
1416
-
1417
- [role="button"]:is(:hover, :active, :focus) {
1418
- --cirth-background-color: var(--cirth-primary-hover-background);
1419
- --cirth-border-color: var(--cirth-primary-hover-border);
1420
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
371
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1421
372
  --cirth-color: var(--cirth-primary-inverse);
1422
373
  }
1423
374
 
1424
- button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="button"]:focus, [role="button"][aria-current]:not([aria-current="false"]):focus {
1425
- --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);
1426
- }
1427
-
1428
- [type="submit"]:focus {
1429
- --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);
375
+ button:active, [type="submit"]:active, [type="reset"]:active, [type="button"]:active, [role="button"]:active {
376
+ transform: translateY(.0625rem);
1430
377
  }
1431
378
 
1432
- [type="submit"][aria-current]:not([aria-current="false"]):focus {
1433
- --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);
379
+ [type="file"]::file-selector-button:active {
380
+ transform: translateY(.0625rem);
1434
381
  }
1435
382
 
1436
- [type="reset"]:focus {
1437
- --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);
383
+ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-visible, [type="submit"]:focus-visible, [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, [type="reset"]:focus-visible, [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, [type="button"]:focus-visible, [type="button"][aria-current]:not([aria-current="false"]):focus-visible, [role="button"]:focus-visible, [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
384
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
385
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
386
+ outline: var(--cirth-outline-width) solid transparent;
1438
387
  }
1439
388
 
1440
- [type="reset"][aria-current]:not([aria-current="false"]):focus {
1441
- --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);
389
+ [type="file"]::file-selector-button:focus-visible {
390
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
391
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
392
+ outline: var(--cirth-outline-width) solid transparent;
1442
393
  }
1443
394
 
1444
- [type="button"]:focus {
1445
- --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);
395
+ [type="file"]::file-selector-button:is():focus-visible {
396
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
397
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
398
+ outline: var(--cirth-outline-width) solid transparent;
1446
399
  }
1447
400
 
1448
- [type="button"][aria-current]:not([aria-current="false"]):focus {
1449
- --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);
1450
- }
1451
-
1452
- [type="file"]::file-selector-button:focus {
1453
- --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);
1454
- }
1455
-
1456
- [type="file"]::file-selector-button:is():focus {
1457
- --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);
1458
- }
1459
-
1460
- [type="submit"] {
1461
- margin-bottom: var(--cirth-spacing);
1462
- }
1463
-
1464
- [type="reset"] {
1465
- margin-bottom: var(--cirth-spacing);
1466
- }
1467
-
1468
- [type="button"] {
401
+ [type="submit"], [type="reset"], [type="button"] {
1469
402
  margin-bottom: var(--cirth-spacing);
1470
403
  }
1471
404
 
1472
- :is(button, [type="submit"], [type="button"], [role="button"]).secondary {
1473
- --cirth-background-color: var(--cirth-secondary-background);
1474
- --cirth-border-color: var(--cirth-secondary-border);
1475
- --cirth-color: var(--cirth-secondary-inverse);
1476
- cursor: pointer;
1477
- }
1478
-
1479
- [type="reset"] {
405
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary, [type="reset"] {
1480
406
  --cirth-background-color: var(--cirth-secondary-background);
1481
407
  --cirth-border-color: var(--cirth-secondary-border);
1482
408
  --cirth-color: var(--cirth-secondary-inverse);
@@ -1490,13 +416,7 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1490
416
  cursor: pointer;
1491
417
  }
1492
418
 
1493
- :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1494
- --cirth-background-color: var(--cirth-secondary-hover-background);
1495
- --cirth-border-color: var(--cirth-secondary-hover-border);
1496
- --cirth-color: var(--cirth-secondary-inverse);
1497
- }
1498
-
1499
- [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
419
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1500
420
  --cirth-background-color: var(--cirth-secondary-hover-background);
1501
421
  --cirth-border-color: var(--cirth-secondary-hover-border);
1502
422
  --cirth-color: var(--cirth-secondary-inverse);
@@ -1508,28 +428,19 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1508
428
  --cirth-color: var(--cirth-secondary-inverse);
1509
429
  }
1510
430
 
1511
- :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus {
1512
- --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);
1513
- }
1514
-
1515
- :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus {
1516
- --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);
1517
- }
1518
-
1519
- [type="reset"]:focus {
1520
- --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);
1521
- }
1522
-
1523
- [type="reset"][aria-current]:not([aria-current="false"]):focus {
1524
- --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);
431
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus-visible, :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus-visible, [type="reset"]:focus-visible, [type="reset"][aria-current]:not([aria-current="false"]):focus-visible {
432
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
433
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1525
434
  }
1526
435
 
1527
- [type="file"]::file-selector-button:focus {
1528
- --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);
436
+ [type="file"]::file-selector-button:focus-visible {
437
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
438
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1529
439
  }
1530
440
 
1531
- [type="file"]::file-selector-button:is():focus {
1532
- --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);
441
+ [type="file"]::file-selector-button:is():focus-visible {
442
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
443
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1533
444
  }
1534
445
 
1535
446
  :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
@@ -1544,54 +455,29 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1544
455
  --cirth-color: var(--cirth-contrast-inverse);
1545
456
  }
1546
457
 
1547
- :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus {
1548
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1549
- }
1550
-
1551
- :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus {
1552
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1553
- }
1554
-
1555
- :is(button, [type="submit"], [type="button"], [role="button"]).outline {
1556
- --cirth-background-color: transparent;
1557
- --cirth-color: var(--cirth-primary);
1558
- --cirth-border-color: var(--cirth-primary);
458
+ :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus-visible, :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus-visible {
459
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
460
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1559
461
  }
1560
462
 
1561
- [type="reset"].outline {
463
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
1562
464
  --cirth-background-color: transparent;
1563
465
  --cirth-color: var(--cirth-primary);
1564
466
  --cirth-border-color: var(--cirth-primary);
1565
467
  }
1566
468
 
1567
- :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1568
- --cirth-background-color: transparent;
1569
- --cirth-color: var(--cirth-primary-hover);
1570
- --cirth-border-color: var(--cirth-primary-hover);
1571
- }
1572
-
1573
- [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
469
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1574
470
  --cirth-background-color: transparent;
1575
471
  --cirth-color: var(--cirth-primary-hover);
1576
472
  --cirth-border-color: var(--cirth-primary-hover);
1577
473
  }
1578
474
 
1579
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary {
1580
- --cirth-color: var(--cirth-secondary);
1581
- --cirth-border-color: var(--cirth-secondary);
1582
- }
1583
-
1584
- [type="reset"].outline {
475
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline {
1585
476
  --cirth-color: var(--cirth-secondary);
1586
477
  --cirth-border-color: var(--cirth-secondary);
1587
478
  }
1588
479
 
1589
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1590
- --cirth-color: var(--cirth-secondary-hover);
1591
- --cirth-border-color: var(--cirth-secondary-hover);
1592
- }
1593
-
1594
- [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
480
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1595
481
  --cirth-color: var(--cirth-secondary-hover);
1596
482
  --cirth-border-color: var(--cirth-secondary-hover);
1597
483
  }
@@ -1606,13 +492,8 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1606
492
  --cirth-border-color: var(--cirth-contrast-hover);
1607
493
  }
1608
494
 
1609
- :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1610
- opacity: .5;
1611
- pointer-events: none;
1612
- }
1613
-
1614
- :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1615
- opacity: .5;
495
+ :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
496
+ opacity: var(--cirth-opacity-disabled);
1616
497
  pointer-events: none;
1617
498
  }
1618
499
 
@@ -1629,6 +510,7 @@ th, td {
1629
510
  background-color: var(--cirth-background-color);
1630
511
  color: var(--cirth-color);
1631
512
  font-weight: var(--cirth-font-weight);
513
+ font-variant-numeric: tabular-nums;
1632
514
  text-align: left;
1633
515
  text-align: start;
1634
516
  }
@@ -1669,11 +551,7 @@ img {
1669
551
  fill: currentColor;
1670
552
  }
1671
553
 
1672
- svg:not(:root) {
1673
- overflow: hidden;
1674
- }
1675
-
1676
- svg:not(:host) {
554
+ svg:not(:root), svg:not(:host) {
1677
555
  overflow: hidden;
1678
556
  }
1679
557
 
@@ -1701,7 +579,7 @@ pre, code, kbd, samp {
1701
579
  }
1702
580
 
1703
581
  code, kbd, samp {
1704
- padding: .375rem;
582
+ padding: var(--cirth-space-1) var(--cirth-space-2);
1705
583
  display: inline-block;
1706
584
  }
1707
585
 
@@ -1739,12 +617,12 @@ hr {
1739
617
  height: 0;
1740
618
  margin: var(--cirth-typography-spacing-vertical) 0;
1741
619
  border: 0;
1742
- border-top: 1px solid var(--cirth-muted-border-color);
620
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1743
621
  color: inherit;
1744
622
  }
1745
623
 
1746
624
  [hidden], template {
1747
- display: none !important;
625
+ display: none;
1748
626
  }
1749
627
 
1750
628
  canvas {
@@ -1752,7 +630,7 @@ canvas {
1752
630
  }
1753
631
 
1754
632
  input, optgroup, select, textarea {
1755
- font-size: 1rem;
633
+ font-size: var(--cirth-font-size-md);
1756
634
  line-height: var(--cirth-line-height);
1757
635
  letter-spacing: inherit;
1758
636
  margin: 0;
@@ -1778,11 +656,7 @@ textarea {
1778
656
  overflow: auto;
1779
657
  }
1780
658
 
1781
- [type="checkbox"] {
1782
- padding: 0;
1783
- }
1784
-
1785
- [type="radio"] {
659
+ [type="checkbox"], [type="radio"] {
1786
660
  padding: 0;
1787
661
  }
1788
662
 
@@ -1825,18 +699,13 @@ textarea {
1825
699
  display: none;
1826
700
  }
1827
701
 
1828
- [type="file"] {
1829
- border-width: 0;
1830
- padding: 0;
1831
- }
1832
-
1833
- [type="range"] {
702
+ [type="file"], [type="range"] {
1834
703
  border-width: 0;
1835
704
  padding: 0;
1836
705
  }
1837
706
 
1838
- input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1839
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
707
+ input:not([type="checkbox"], [type="radio"], [type="range"]) {
708
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1840
709
  }
1841
710
 
1842
711
  fieldset {
@@ -1848,7 +717,7 @@ fieldset {
1848
717
  }
1849
718
 
1850
719
  label, fieldset legend {
1851
- margin-bottom: calc(var(--cirth-spacing) * .375);
720
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1852
721
  color: var(--cirth-color);
1853
722
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
1854
723
  display: block;
@@ -1858,24 +727,11 @@ fieldset legend {
1858
727
  margin-bottom: calc(var(--cirth-spacing) * .5);
1859
728
  }
1860
729
 
1861
- select, textarea {
1862
- width: 100%;
1863
- }
1864
-
1865
- input:not(:is([type="checkbox"], [type="radio"])) {
1866
- width: 100%;
1867
- }
1868
-
1869
- button[type="submit"] {
730
+ input:not([type="checkbox"], [type="radio"]), button[type="submit"], select, textarea {
1870
731
  width: 100%;
1871
732
  }
1872
733
 
1873
- select, textarea {
1874
- appearance: none;
1875
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1876
- }
1877
-
1878
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
734
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea {
1879
735
  appearance: none;
1880
736
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1881
737
  }
@@ -1895,41 +751,21 @@ input, select, textarea {
1895
751
  outline: none;
1896
752
  }
1897
753
 
1898
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
754
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
1899
755
  --cirth-background-color: var(--cirth-form-element-active-background-color);
1900
756
  }
1901
757
 
1902
- :where(select, textarea):not([readonly]):is(:active, :focus) {
1903
- --cirth-background-color: var(--cirth-form-element-active-background-color);
1904
- }
1905
-
1906
- input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly])):is(:active, :focus) {
1907
- --cirth-border-color: var(--cirth-form-element-active-border-color);
1908
- }
1909
-
1910
- :where(select, textarea):not([readonly]):is(:active, :focus) {
758
+ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
1911
759
  --cirth-border-color: var(--cirth-form-element-active-border-color);
1912
760
  }
1913
761
 
1914
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1915
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1916
- }
1917
-
1918
- :where(select, textarea):not([readonly]):focus {
1919
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1920
- }
1921
-
1922
- select[disabled], textarea[disabled], label[aria-disabled="true"] {
1923
- opacity: var(--cirth-form-element-disabled-opacity);
1924
- pointer-events: none;
1925
- }
1926
-
1927
- input:not(:is([type="submit"], [type="button"], [type="reset"]))[disabled] {
1928
- opacity: var(--cirth-form-element-disabled-opacity);
1929
- pointer-events: none;
762
+ input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
763
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
764
+ var(--cirth-form-element-focus-color);
765
+ outline: var(--cirth-outline-width) solid transparent;
1930
766
  }
1931
767
 
1932
- :where(fieldset[disabled]) :is(input:not(:is([type="submit"], [type="button"], [type="reset"])), select, textarea) {
768
+ input:not([type="submit"], [type="button"], [type="reset"])[disabled], select[disabled], textarea[disabled], label[aria-disabled="true"], :where(fieldset[disabled]) :is(input:not([type="submit"], [type="button"], [type="reset"]), select, textarea) {
1933
769
  opacity: var(--cirth-form-element-disabled-opacity);
1934
770
  pointer-events: none;
1935
771
  }
@@ -1938,21 +774,21 @@ label[aria-disabled="true"] input[disabled] {
1938
774
  opacity: 1;
1939
775
  }
1940
776
 
1941
- :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] {
777
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
778
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1942
779
  padding-left: var(--cirth-form-element-spacing-horizontal);
1943
- background-position: right .75rem center;
780
+ background-position: center right var(--cirth-space-3);
781
+ background-size: var(--cirth-size-4) auto;
1944
782
  background-repeat: no-repeat;
1945
- background-size: 1rem;
1946
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1947
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1948
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
783
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
784
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1949
785
  }
1950
786
 
1951
- :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) {
787
+ :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) {
1952
788
  background-image: var(--cirth-icon-valid);
1953
789
  }
1954
790
 
1955
- :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) {
791
+ :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) {
1956
792
  background-image: var(--cirth-icon-invalid);
1957
793
  }
1958
794
 
@@ -1961,11 +797,12 @@ label[aria-disabled="true"] input[disabled] {
1961
797
  }
1962
798
 
1963
799
  :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1964
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
800
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1965
801
  }
1966
802
 
1967
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1968
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
803
+ :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
804
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
805
+ var(--cirth-form-element-valid-focus-color);
1969
806
  }
1970
807
 
1971
808
  :where(input, select, textarea)[aria-invalid="true"] {
@@ -1973,23 +810,19 @@ label[aria-disabled="true"] input[disabled] {
1973
810
  }
1974
811
 
1975
812
  :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1976
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
1977
- }
1978
-
1979
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1980
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
813
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1981
814
  }
1982
815
 
1983
- [dir="rtl"] :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1984
- background-position: .75rem;
816
+ :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
817
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
818
+ var(--cirth-form-element-invalid-focus-color);
1985
819
  }
1986
820
 
1987
- select:invalid {
1988
- color: var(--cirth-form-element-placeholder-color);
1989
- opacity: 1;
821
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
822
+ background-position: center left var(--cirth-space-3);
1990
823
  }
1991
824
 
1992
- input::placeholder {
825
+ input::placeholder, textarea::placeholder, select:invalid {
1993
826
  color: var(--cirth-form-element-placeholder-color);
1994
827
  opacity: 1;
1995
828
  }
@@ -1999,38 +832,29 @@ input::-webkit-input-placeholder {
1999
832
  opacity: 1;
2000
833
  }
2001
834
 
2002
- textarea::placeholder {
2003
- color: var(--cirth-form-element-placeholder-color);
2004
- opacity: 1;
2005
- }
2006
-
2007
835
  textarea::-webkit-input-placeholder {
2008
836
  color: var(--cirth-form-element-placeholder-color);
2009
837
  opacity: 1;
2010
838
  }
2011
839
 
2012
- select, textarea {
2013
- margin-bottom: var(--cirth-spacing);
2014
- }
2015
-
2016
- input:not(:is([type="checkbox"], [type="radio"])) {
840
+ input:not([type="checkbox"], [type="radio"]), select, textarea {
2017
841
  margin-bottom: var(--cirth-spacing);
2018
842
  }
2019
843
 
2020
844
  select::-ms-expand {
2021
- background-color: rgba(0, 0, 0, 0);
845
+ background-color: #0000;
2022
846
  border: 0;
2023
847
  }
2024
848
 
2025
- select:not(:is([multiple], [size])) {
2026
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
849
+ select:not([multiple], [size]) {
850
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2027
851
  padding-left: var(--cirth-form-element-spacing-horizontal);
2028
852
  background-image: var(--cirth-icon-chevron);
2029
- background-position: right .75rem center;
853
+ background-position: center right var(--cirth-space-3);
854
+ background-size: var(--cirth-size-4) auto;
2030
855
  background-repeat: no-repeat;
2031
- background-size: 1rem;
2032
856
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
2033
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
857
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2034
858
  }
2035
859
 
2036
860
  select[multiple] option:checked {
@@ -2038,8 +862,8 @@ select[multiple] option:checked {
2038
862
  color: var(--cirth-form-element-color);
2039
863
  }
2040
864
 
2041
- [dir="rtl"] select:not(:is([multiple], [size])) {
2042
- background-position: .75rem;
865
+ [dir="rtl"] select:not([multiple], [size]) {
866
+ background-position: center left var(--cirth-space-3);
2043
867
  }
2044
868
 
2045
869
  textarea {
@@ -2048,9 +872,11 @@ textarea {
2048
872
  }
2049
873
 
2050
874
  textarea[aria-invalid] {
2051
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2052
- background-position: right .75rem top !important;
2053
- background-size: 1rem var(--cirth-icon-height) !important;
875
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
876
+ var(--cirth-form-element-spacing-vertical) * 2 +
877
+ var(--cirth-border-width) * 2);
878
+ background-position: top right var(--cirth-space-3);
879
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
2054
880
  }
2055
881
 
2056
882
  :where(input, select, textarea, fieldset, .grid) + small {
@@ -2078,107 +904,41 @@ label:has([type="checkbox"], [type="radio"]) {
2078
904
  width: fit-content;
2079
905
  }
2080
906
 
2081
- [type="checkbox"] {
2082
- appearance: none;
2083
- margin-top: -.125em;
2084
- border-width: var(--cirth-border-width);
2085
- vertical-align: middle;
2086
- cursor: pointer;
2087
- width: 1.25em;
2088
- height: 1.25em;
2089
- margin-inline-end: .5em;
2090
- }
2091
-
2092
- [type="radio"] {
907
+ [type="checkbox"], [type="radio"] {
2093
908
  appearance: none;
2094
909
  margin-top: -.125em;
2095
910
  border-width: var(--cirth-border-width);
2096
911
  vertical-align: middle;
2097
912
  cursor: pointer;
2098
- width: 1.25em;
2099
- height: 1.25em;
913
+ width: 1.5em;
914
+ height: 1.5em;
2100
915
  margin-inline-end: .5em;
2101
916
  }
2102
917
 
2103
918
  [type="checkbox"]::-ms-check {
2104
- display: none;
2105
- }
2106
-
2107
- [type="radio"]::-ms-check {
2108
- display: none;
2109
- }
2110
-
2111
- [type="checkbox"]:checked {
2112
- --cirth-background-color: var(--cirth-primary-background);
2113
- --cirth-border-color: var(--cirth-primary-border);
2114
- background-image: var(--cirth-icon-checkbox);
2115
- background-position: center;
2116
- background-repeat: no-repeat;
2117
- background-size: .75em;
2118
- }
2119
-
2120
- [type="checkbox"]:checked:active {
2121
- --cirth-background-color: var(--cirth-primary-background);
2122
- --cirth-border-color: var(--cirth-primary-border);
2123
- background-image: var(--cirth-icon-checkbox);
2124
- background-position: center;
2125
- background-repeat: no-repeat;
2126
- background-size: .75em;
2127
- }
2128
-
2129
- [type="checkbox"]:checked:focus {
2130
- --cirth-background-color: var(--cirth-primary-background);
2131
- --cirth-border-color: var(--cirth-primary-border);
2132
- background-image: var(--cirth-icon-checkbox);
2133
- background-position: center;
2134
- background-repeat: no-repeat;
2135
- background-size: .75em;
2136
- }
2137
-
2138
- [type="radio"]:checked {
2139
- --cirth-background-color: var(--cirth-primary-background);
2140
- --cirth-border-color: var(--cirth-primary-border);
2141
- background-image: var(--cirth-icon-checkbox);
2142
- background-position: center;
2143
- background-repeat: no-repeat;
2144
- background-size: .75em;
2145
- }
2146
-
2147
- [type="radio"]:checked:active {
2148
- --cirth-background-color: var(--cirth-primary-background);
2149
- --cirth-border-color: var(--cirth-primary-border);
2150
- background-image: var(--cirth-icon-checkbox);
2151
- background-position: center;
2152
- background-repeat: no-repeat;
2153
- background-size: .75em;
919
+ display: none;
920
+ }
921
+
922
+ [type="radio"]::-ms-check {
923
+ display: none;
2154
924
  }
2155
925
 
2156
- [type="radio"]:checked:focus {
926
+ [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
2157
927
  --cirth-background-color: var(--cirth-primary-background);
2158
928
  --cirth-border-color: var(--cirth-primary-border);
2159
929
  background-image: var(--cirth-icon-checkbox);
2160
930
  background-position: center;
2161
931
  background-repeat: no-repeat;
2162
- background-size: .75em;
2163
- }
2164
-
2165
- [type="checkbox"] ~ label {
2166
- cursor: pointer;
2167
- margin-bottom: 0;
2168
- display: inline-block;
932
+ background-size: .9em;
2169
933
  }
2170
934
 
2171
- [type="radio"] ~ label {
935
+ [type="checkbox"] ~ label, [type="radio"] ~ label {
2172
936
  cursor: pointer;
2173
937
  margin-bottom: 0;
2174
938
  display: inline-block;
2175
939
  }
2176
940
 
2177
- [type="checkbox"] ~ label:not(:last-of-type) {
2178
- margin-inline-end: 1em;
2179
- }
2180
-
2181
- [type="radio"] ~ label:not(:last-of-type) {
941
+ [type="checkbox"] ~ label:not(:last-of-type), [type="radio"] ~ label:not(:last-of-type) {
2182
942
  margin-inline-end: 1em;
2183
943
  }
2184
944
 
@@ -2188,29 +948,17 @@ label:has([type="checkbox"], [type="radio"]) {
2188
948
  background-image: var(--cirth-icon-minus);
2189
949
  background-position: center;
2190
950
  background-repeat: no-repeat;
2191
- background-size: .75em;
951
+ background-size: .9em;
2192
952
  }
2193
953
 
2194
954
  [type="radio"] {
2195
955
  border-radius: 50%;
2196
956
  }
2197
957
 
2198
- [type="radio"]:checked {
2199
- --cirth-background-color: var(--cirth-primary-inverse);
2200
- background-image: none;
2201
- border-width: .35em;
2202
- }
2203
-
2204
- [type="radio"]:checked:active {
2205
- --cirth-background-color: var(--cirth-primary-inverse);
2206
- background-image: none;
2207
- border-width: .35em;
2208
- }
2209
-
2210
- [type="radio"]:checked:focus {
958
+ [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
2211
959
  --cirth-background-color: var(--cirth-primary-inverse);
2212
960
  background-image: none;
2213
- border-width: .35em;
961
+ border-width: .42em;
2214
962
  }
2215
963
 
2216
964
  [type="checkbox"][role="switch"] {
@@ -2218,10 +966,10 @@ label:has([type="checkbox"], [type="radio"]) {
2218
966
  --cirth-color: var(--cirth-switch-color);
2219
967
  border: var(--cirth-border-width) solid var(--cirth-border-color);
2220
968
  background-color: var(--cirth-background-color);
2221
- border-radius: 1.25em;
2222
- width: 2.25em;
2223
- height: 1.25em;
2224
- line-height: 1.25em;
969
+ border-radius: 1.5em;
970
+ width: 2.7em;
971
+ height: 1.5em;
972
+ line-height: 1.5em;
2225
973
  }
2226
974
 
2227
975
  [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -2234,8 +982,8 @@ label:has([type="checkbox"], [type="radio"]) {
2234
982
  height: 100%;
2235
983
  box-shadow: var(--cirth-switch-thumb-box-shadow);
2236
984
  content: "";
985
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
2237
986
  border-radius: 50%;
2238
- transition: margin .1s ease-in-out;
2239
987
  display: block;
2240
988
  }
2241
989
 
@@ -2251,130 +999,26 @@ label:has([type="checkbox"], [type="radio"]) {
2251
999
  }
2252
1000
 
2253
1001
  [type="checkbox"][role="switch"]:checked:before {
2254
- margin-inline-start: 1em;
1002
+ margin-inline-start: 1.2em;
2255
1003
  }
2256
1004
 
2257
1005
  [type="checkbox"][role="switch"][disabled] {
2258
1006
  --cirth-background-color: var(--cirth-border-color);
2259
1007
  }
2260
1008
 
2261
- [type="checkbox"][aria-invalid="false"]:checked {
2262
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2263
- }
2264
-
2265
- [type="checkbox"][aria-invalid="false"]:checked:active {
2266
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2267
- }
2268
-
2269
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2270
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2271
- }
2272
-
2273
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2274
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2275
- }
2276
-
2277
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2278
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2279
- }
2280
-
2281
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1009
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2282
1010
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
2283
1011
  }
2284
1012
 
2285
- [type="checkbox"]:checked[aria-invalid="true"] {
2286
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2287
- }
2288
-
2289
- [type="checkbox"]:checked:active[aria-invalid="true"] {
2290
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2291
- }
2292
-
2293
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2294
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2295
- }
2296
-
2297
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2298
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2299
- }
2300
-
2301
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1013
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2302
1014
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2303
1015
  }
2304
1016
 
2305
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2306
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2307
- }
2308
-
2309
- [type="checkbox"][aria-invalid="false"]:checked {
2310
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2311
- }
2312
-
2313
- [type="checkbox"][aria-invalid="false"]:checked:active {
2314
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2315
- }
2316
-
2317
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2318
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2319
- }
2320
-
2321
- [type="radio"][aria-invalid="false"]:checked {
2322
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2323
- }
2324
-
2325
- [type="radio"][aria-invalid="false"]:checked:active {
2326
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2327
- }
2328
-
2329
- [type="radio"][aria-invalid="false"]:checked:focus {
2330
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2331
- }
2332
-
2333
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2334
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2335
- }
2336
-
2337
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1017
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="radio"][aria-invalid="false"]:checked, [type="radio"][aria-invalid="false"]:checked:active, [type="radio"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2338
1018
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
2339
1019
  }
2340
1020
 
2341
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2342
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2343
- }
2344
-
2345
- [type="checkbox"]:checked[aria-invalid="true"] {
2346
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2347
- }
2348
-
2349
- [type="checkbox"]:checked:active[aria-invalid="true"] {
2350
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2351
- }
2352
-
2353
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2354
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2355
- }
2356
-
2357
- [type="radio"]:checked[aria-invalid="true"] {
2358
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2359
- }
2360
-
2361
- [type="radio"]:checked:active[aria-invalid="true"] {
2362
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2363
- }
2364
-
2365
- [type="radio"]:checked:focus[aria-invalid="true"] {
2366
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2367
- }
2368
-
2369
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2370
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2371
- }
2372
-
2373
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2374
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2375
- }
2376
-
2377
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1021
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="radio"]:checked[aria-invalid="true"], [type="radio"]:checked:active[aria-invalid="true"], [type="radio"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2378
1022
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2379
1023
  }
2380
1024
 
@@ -2396,9 +1040,9 @@ label:has([type="checkbox"], [type="radio"]) {
2396
1040
  border: 0;
2397
1041
  }
2398
1042
 
2399
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2400
- --cirth-icon-position: .75rem;
2401
- --cirth-icon-width: 1rem;
1043
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1044
+ --cirth-icon-position: var(--cirth-space-3);
1045
+ --cirth-icon-width: var(--cirth-size-4);
2402
1046
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2403
1047
  background-image: var(--cirth-icon-date);
2404
1048
  background-position: center right var(--cirth-icon-position);
@@ -2406,7 +1050,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2406
1050
  background-repeat: no-repeat;
2407
1051
  }
2408
1052
 
2409
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
1053
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
2410
1054
  background-image: var(--cirth-icon-time);
2411
1055
  }
2412
1056
 
@@ -2446,29 +1090,9 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2446
1090
  }
2447
1091
 
2448
1092
  @-moz-document url-prefix() {
2449
- [type="date"] {
2450
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2451
- background-image: none !important;
2452
- }
2453
-
2454
- [type="datetime-local"] {
2455
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2456
- background-image: none !important;
2457
- }
2458
-
2459
- [type="month"] {
2460
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2461
- background-image: none !important;
2462
- }
2463
-
2464
- [type="time"] {
2465
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2466
- background-image: none !important;
2467
- }
2468
-
2469
- [type="week"] {
2470
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2471
- background-image: none !important;
1093
+ [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"] {
1094
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1095
+ background-image: none;
2472
1096
  }
2473
1097
  }
2474
1098
 
@@ -2497,7 +1121,8 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2497
1121
  }
2498
1122
 
2499
1123
  [type="file"]:focus::file-selector-button {
2500
- --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);
1124
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1125
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
2501
1126
  }
2502
1127
 
2503
1128
  [type="range"] {
@@ -2533,7 +1158,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2533
1158
 
2534
1159
  [type="range"]::-webkit-slider-thumb {
2535
1160
  -webkit-appearance: none;
2536
- border: 2px solid var(--cirth-range-thumb-border-color);
1161
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2537
1162
  background-color: var(--cirth-range-thumb-color);
2538
1163
  cursor: pointer;
2539
1164
  width: 1.25rem;
@@ -2545,7 +1170,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2545
1170
 
2546
1171
  [type="range"]::-moz-range-thumb {
2547
1172
  -webkit-appearance: none;
2548
- border: 2px solid var(--cirth-range-thumb-border-color);
1173
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2549
1174
  background-color: var(--cirth-range-thumb-color);
2550
1175
  cursor: pointer;
2551
1176
  width: 1.25rem;
@@ -2557,7 +1182,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2557
1182
 
2558
1183
  [type="range"]::-ms-thumb {
2559
1184
  -webkit-appearance: none;
2560
- border: 2px solid var(--cirth-range-thumb-border-color);
1185
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2561
1186
  background-color: var(--cirth-range-thumb-color);
2562
1187
  cursor: pointer;
2563
1188
  width: 1.25rem;
@@ -2567,12 +1192,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2567
1192
  margin-top: -.4375rem;
2568
1193
  }
2569
1194
 
2570
- [type="range"]:active {
2571
- --cirth-range-border-color: var(--cirth-range-active-border-color);
2572
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2573
- }
2574
-
2575
- [type="range"]:focus-within {
1195
+ [type="range"]:active, [type="range"]:focus-within {
2576
1196
  --cirth-range-border-color: var(--cirth-range-active-border-color);
2577
1197
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2578
1198
  }
@@ -2589,33 +1209,33 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2589
1209
  transform: scale(1.25);
2590
1210
  }
2591
1211
 
2592
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1212
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
2593
1213
  background-image: var(--cirth-icon-search);
2594
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1214
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
2595
1215
  background-repeat: no-repeat;
2596
1216
  background-size: 1rem;
2597
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1217
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2598
1218
  }
2599
1219
 
2600
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2601
- background-position: 1.125rem, right .75rem center;
2602
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1220
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1221
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1222
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2603
1223
  }
2604
1224
 
2605
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1225
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
2606
1226
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
2607
1227
  }
2608
1228
 
2609
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1229
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
2610
1230
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
2611
1231
  }
2612
1232
 
2613
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2614
- background-position: right 1.125rem center;
1233
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1234
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
2615
1235
  }
2616
1236
 
2617
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2618
- background-position: right 1.125rem center, .75rem;
1237
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1238
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
2619
1239
  }
2620
1240
 
2621
1241
  details {
@@ -2624,9 +1244,9 @@ details {
2624
1244
  }
2625
1245
 
2626
1246
  details summary {
1247
+ line-height: var(--cirth-size-4);
2627
1248
  cursor: pointer;
2628
1249
  transition: color var(--cirth-transition);
2629
- line-height: 1rem;
2630
1250
  list-style-type: none;
2631
1251
  }
2632
1252
 
@@ -2647,16 +1267,16 @@ details summary::-moz-list-bullet {
2647
1267
  }
2648
1268
 
2649
1269
  details summary:after {
2650
- width: 1rem;
2651
- height: 1rem;
1270
+ width: var(--cirth-size-4);
1271
+ height: var(--cirth-size-4);
2652
1272
  float: right;
2653
1273
  background-image: var(--cirth-icon-chevron);
1274
+ background-position: 100%;
1275
+ background-size: var(--cirth-size-4) auto;
2654
1276
  content: "";
2655
1277
  transition: transform var(--cirth-transition);
2656
- background-position: 100%;
2657
1278
  background-repeat: no-repeat;
2658
- background-size: 1rem;
2659
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1279
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2660
1280
  display: block;
2661
1281
  transform: rotate(-90deg);
2662
1282
  }
@@ -2671,7 +1291,7 @@ details summary:focus:not([role]) {
2671
1291
 
2672
1292
  details summary:focus-visible:not([role]) {
2673
1293
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2674
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1294
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2675
1295
  color: var(--cirth-primary);
2676
1296
  }
2677
1297
 
@@ -2681,7 +1301,7 @@ details summary[role="button"] {
2681
1301
  }
2682
1302
 
2683
1303
  details summary[role="button"]:after {
2684
- height: calc(1rem * var(--cirth-line-height, 1.5));
1304
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2685
1305
  }
2686
1306
 
2687
1307
  details[open] > summary {
@@ -2716,7 +1336,7 @@ article {
2716
1336
  article > header, article > footer {
2717
1337
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
2718
1338
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
2719
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1339
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
2720
1340
  background-color: var(--cirth-card-sectioning-background-color);
2721
1341
  }
2722
1342
 
@@ -2742,15 +1362,15 @@ details.dropdown {
2742
1362
  }
2743
1363
 
2744
1364
  details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
2745
- width: 1rem;
2746
- height: calc(1rem * var(--cirth-line-height, 1.5));
1365
+ width: var(--cirth-size-4);
1366
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2747
1367
  float: right;
2748
1368
  background-image: var(--cirth-icon-chevron);
2749
- content: "";
2750
1369
  background-position: 100%;
1370
+ background-size: var(--cirth-size-4) auto;
1371
+ content: "";
2751
1372
  background-repeat: no-repeat;
2752
- background-size: 1rem;
2753
- margin-inline-start: .25rem;
1373
+ margin-inline-start: var(--cirth-space-1);
2754
1374
  display: block;
2755
1375
  transform: rotate(0) translateX(.2rem);
2756
1376
  }
@@ -2760,7 +1380,7 @@ nav details.dropdown {
2760
1380
  }
2761
1381
 
2762
1382
  details.dropdown > summary:not([role]) {
2763
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1383
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2764
1384
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
2765
1385
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
2766
1386
  border-radius: var(--cirth-border-radius);
@@ -2783,7 +1403,7 @@ details.dropdown > summary:not([role]):focus {
2783
1403
  }
2784
1404
 
2785
1405
  details.dropdown > summary:not([role]):focus-visible {
2786
- outline: none;
1406
+ outline: var(--cirth-outline-width) solid transparent;
2787
1407
  }
2788
1408
 
2789
1409
  details.dropdown > summary:not([role])[aria-invalid="false"] {
@@ -2808,7 +1428,7 @@ nav details.dropdown > summary:after {
2808
1428
  }
2809
1429
 
2810
1430
  nav details.dropdown > summary:not([role]) {
2811
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1431
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
2812
1432
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2813
1433
  }
2814
1434
 
@@ -2817,7 +1437,7 @@ nav details.dropdown > summary:not([role]):focus-visible {
2817
1437
  }
2818
1438
 
2819
1439
  details.dropdown > summary + ul {
2820
- z-index: 99;
1440
+ z-index: var(--cirth-z-index-dropdown);
2821
1441
  width: 100%;
2822
1442
  min-width: fit-content;
2823
1443
  margin: 0;
@@ -2829,7 +1449,7 @@ details.dropdown > summary + ul {
2829
1449
  color: var(--cirth-dropdown-color);
2830
1450
  white-space: nowrap;
2831
1451
  opacity: 0;
2832
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 1s;
1452
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) 1s;
2833
1453
  flex-direction: column;
2834
1454
  padding: 0;
2835
1455
  display: flex;
@@ -2868,11 +1488,7 @@ details.dropdown > summary + ul li a {
2868
1488
  overflow: hidden;
2869
1489
  }
2870
1490
 
2871
- details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2872
- background-color: var(--cirth-dropdown-hover-background-color);
2873
- }
2874
-
2875
- details.dropdown > summary + ul li a:focus-visible {
1491
+ details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a:focus-visible, details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2876
1492
  background-color: var(--cirth-dropdown-hover-background-color);
2877
1493
  }
2878
1494
 
@@ -2890,7 +1506,7 @@ details.dropdown[open] > summary {
2890
1506
 
2891
1507
  details.dropdown[open] > summary + ul {
2892
1508
  opacity: 1;
2893
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 0s;
1509
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) var(--cirth-duration-instant);
2894
1510
  transform: scaleY(1);
2895
1511
  }
2896
1512
 
@@ -2914,257 +1530,143 @@ label > details.dropdown {
2914
1530
  width: 100%;
2915
1531
  margin-bottom: var(--cirth-spacing);
2916
1532
  border-radius: var(--cirth-border-radius);
2917
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1533
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
2918
1534
  vertical-align: middle;
2919
1535
  transition: box-shadow var(--cirth-transition);
2920
1536
  display: inline-flex;
2921
1537
  position: relative;
2922
1538
  }
2923
1539
 
2924
- [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
2925
- flex: auto;
2926
- margin-bottom: 0;
2927
- position: relative;
2928
- }
2929
-
2930
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
2931
- flex: auto;
2932
- margin-bottom: 0;
2933
- position: relative;
2934
- }
2935
-
2936
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
1540
+ [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"] > *, [role="group"] input:not([type="checkbox"], [type="radio"]), [role="group"] select {
2937
1541
  flex: auto;
2938
1542
  margin-bottom: 0;
2939
1543
  position: relative;
2940
1544
  }
2941
1545
 
2942
- [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
2943
- border-top-left-radius: 0;
2944
- border-bottom-left-radius: 0;
2945
- margin-left: 0;
2946
- }
2947
-
2948
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1546
+ [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
2949
1547
  border-top-left-radius: 0;
2950
1548
  border-bottom-left-radius: 0;
2951
1549
  margin-left: 0;
2952
1550
  }
2953
1551
 
2954
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2955
- border-top-left-radius: 0;
2956
- border-bottom-left-radius: 0;
2957
- margin-left: 0;
2958
- }
2959
-
2960
- [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
2961
- border-top-right-radius: 0;
2962
- border-bottom-right-radius: 0;
2963
- }
2964
-
2965
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2966
- border-top-right-radius: 0;
2967
- border-bottom-right-radius: 0;
2968
- }
2969
-
2970
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1552
+ [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"] select:not(:last-child) {
2971
1553
  border-top-right-radius: 0;
2972
1554
  border-bottom-right-radius: 0;
2973
1555
  }
2974
1556
 
2975
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
2976
- z-index: 2;
2977
- }
2978
-
2979
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1557
+ [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] input:not([type="checkbox"], [type="radio"]):focus, [role="group"] select:focus {
2980
1558
  z-index: 2;
2981
1559
  }
2982
1560
 
2983
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2984
- z-index: 2;
2985
- }
2986
-
2987
- [role="search"] button:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] select:not(:first-child) {
2988
- margin-left: calc(var(--cirth-border-width) * -1);
2989
- }
2990
-
2991
- [role="search"] [type="submit"]:not(:first-child) {
2992
- margin-left: calc(var(--cirth-border-width) * -1);
2993
- }
2994
-
2995
- [role="search"] [type="reset"]:not(:first-child) {
2996
- margin-left: calc(var(--cirth-border-width) * -1);
2997
- }
2998
-
2999
- [role="search"] [type="button"]:not(:first-child) {
3000
- margin-left: calc(var(--cirth-border-width) * -1);
3001
- }
3002
-
3003
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
3004
- margin-left: calc(var(--cirth-border-width) * -1);
3005
- }
3006
-
3007
- [role="group"] [type="submit"]:not(:first-child) {
3008
- margin-left: calc(var(--cirth-border-width) * -1);
3009
- }
3010
-
3011
- [role="group"] [type="reset"]:not(:first-child) {
3012
- margin-left: calc(var(--cirth-border-width) * -1);
3013
- }
3014
-
3015
- [role="group"] [type="button"]:not(:first-child) {
1561
+ [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [type="submit"]:not(:first-child), [role="group"] [type="reset"]:not(:first-child), [role="group"] [type="button"]:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
3016
1562
  margin-left: calc(var(--cirth-border-width) * -1);
3017
1563
  }
3018
1564
 
3019
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
3020
- margin-left: calc(var(--cirth-border-width) * -1);
3021
- }
3022
-
3023
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
3024
- width: auto;
3025
- }
3026
-
3027
- [role="search"] [type="submit"] {
3028
- width: auto;
3029
- }
3030
-
3031
- [role="search"] [type="reset"] {
3032
- width: auto;
3033
- }
3034
-
3035
- [role="search"] [type="button"] {
3036
- width: auto;
3037
- }
3038
-
3039
- [role="group"] [type="submit"] {
3040
- width: auto;
3041
- }
3042
-
3043
- [role="group"] [type="reset"] {
3044
- width: auto;
3045
- }
3046
-
3047
- [role="group"] [type="button"] {
1565
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="reset"], [role="group"] [type="button"], [role="group"] [role="button"] {
3048
1566
  width: auto;
3049
1567
  }
3050
1568
 
3051
1569
  @supports selector(:has(*)) {
3052
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
3053
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
3054
- }
3055
-
3056
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1570
+ :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
3057
1571
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
3058
1572
  }
3059
1573
 
3060
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
3061
- border-color: rgba(0, 0, 0, 0);
1574
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1575
+ border-color: #0000;
3062
1576
  }
3063
1577
 
3064
1578
  [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
3065
- border-color: rgba(0, 0, 0, 0);
1579
+ border-color: #0000;
3066
1580
  }
3067
1581
 
3068
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
3069
- border-color: rgba(0, 0, 0, 0);
1582
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1583
+ border-color: #0000;
3070
1584
  }
3071
1585
 
3072
1586
  [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
3073
- border-color: rgba(0, 0, 0, 0);
1587
+ border-color: #0000;
3074
1588
  }
3075
1589
 
3076
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1590
+ :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
3077
1591
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
3078
1592
  }
3079
1593
 
3080
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
3081
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
3082
- }
3083
-
3084
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
3085
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3086
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3087
- }
3088
-
3089
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
3090
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3091
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3092
- }
3093
-
3094
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
3095
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3096
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3097
- }
3098
-
3099
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
3100
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3101
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3102
- }
3103
-
3104
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
3105
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3106
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3107
- }
3108
-
3109
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
3110
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3111
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3112
- }
3113
-
3114
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
3115
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3116
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1594
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1595
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1596
+ var(--cirth-primary-border);
1597
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1598
+ var(--cirth-primary-hover-border);
3117
1599
  }
3118
1600
 
3119
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
3120
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3121
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1601
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1602
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1603
+ var(--cirth-primary-border);
1604
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1605
+ var(--cirth-primary-hover-border);
3122
1606
  }
3123
1607
 
3124
- [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
3125
- box-shadow: none;
1608
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1609
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1610
+ var(--cirth-primary-border);
1611
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1612
+ var(--cirth-primary-hover-border);
3126
1613
  }
3127
1614
 
3128
- [role="search"] [type="submit"]:focus {
3129
- box-shadow: none;
1615
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1616
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1617
+ var(--cirth-primary-border);
1618
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1619
+ var(--cirth-primary-hover-border);
3130
1620
  }
3131
1621
 
3132
- [role="search"] [type="reset"]:focus {
3133
- box-shadow: none;
1622
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1623
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1624
+ var(--cirth-primary-border);
1625
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1626
+ var(--cirth-primary-hover-border);
3134
1627
  }
3135
1628
 
3136
- [role="search"] [type="button"]:focus {
3137
- box-shadow: none;
1629
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1630
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1631
+ var(--cirth-primary-border);
1632
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1633
+ var(--cirth-primary-hover-border);
3138
1634
  }
3139
1635
 
3140
- [role="group"] [type="submit"]:focus {
3141
- box-shadow: none;
1636
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1637
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1638
+ var(--cirth-primary-border);
1639
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1640
+ var(--cirth-primary-hover-border);
3142
1641
  }
3143
1642
 
3144
- [role="group"] [type="reset"]:focus {
3145
- box-shadow: none;
1643
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1644
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1645
+ var(--cirth-primary-border);
1646
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1647
+ var(--cirth-primary-hover-border);
3146
1648
  }
3147
1649
 
3148
- [role="group"] [type="button"]:focus {
1650
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [type="submit"]:focus, [role="group"] [type="reset"]:focus, [role="group"] [type="button"]:focus, [role="group"] [role="button"]:focus {
3149
1651
  box-shadow: none;
3150
1652
  }
3151
1653
  }
3152
1654
 
3153
1655
  [role="search"] > :first-child {
3154
- border-top-left-radius: 5rem;
3155
- border-bottom-left-radius: 5rem;
1656
+ border-top-left-radius: var(--cirth-radius-pill);
1657
+ border-bottom-left-radius: var(--cirth-radius-pill);
3156
1658
  }
3157
1659
 
3158
1660
  [role="search"] > :last-child {
3159
- border-top-right-radius: 5rem;
3160
- border-bottom-right-radius: 5rem;
1661
+ border-top-right-radius: var(--cirth-radius-pill);
1662
+ border-bottom-right-radius: var(--cirth-radius-pill);
3161
1663
  }
3162
1664
 
3163
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1665
+ [aria-busy="true"]:not(input, select, textarea, html, form) {
3164
1666
  white-space: nowrap;
3165
1667
  }
3166
1668
 
3167
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1669
+ [aria-busy="true"]:not(input, select, textarea, html, form):before {
3168
1670
  background-image: var(--cirth-icon-loading);
3169
1671
  content: "";
3170
1672
  vertical-align: -.125em;
@@ -3175,40 +1677,24 @@ label > details.dropdown {
3175
1677
  display: inline-block;
3176
1678
  }
3177
1679
 
3178
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1680
+ [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
3179
1681
  margin-inline-end: calc(var(--cirth-spacing) * .5);
3180
1682
  }
3181
1683
 
3182
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1684
+ [aria-busy="true"]:not(input, select, textarea, html, form):empty {
3183
1685
  text-align: center;
3184
1686
  }
3185
1687
 
3186
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
3187
- pointer-events: none;
3188
- }
3189
-
3190
- [type="submit"][aria-busy="true"] {
1688
+ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][aria-busy="true"], [type="reset"][aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
3191
1689
  pointer-events: none;
3192
1690
  }
3193
1691
 
3194
- [type="button"][aria-busy="true"] {
3195
- pointer-events: none;
3196
- }
3197
-
3198
- [type="reset"][aria-busy="true"] {
3199
- pointer-events: none;
3200
- }
3201
-
3202
- :root {
3203
- --cirth-scrollbar-width: 0px;
3204
- }
3205
-
3206
- :host {
1692
+ :root, :host {
3207
1693
  --cirth-scrollbar-width: 0px;
3208
1694
  }
3209
1695
 
3210
1696
  dialog {
3211
- z-index: 999;
1697
+ z-index: var(--cirth-z-index-modal);
3212
1698
  width: inherit;
3213
1699
  min-width: 100%;
3214
1700
  height: inherit;
@@ -3233,13 +1719,13 @@ dialog > article {
3233
1719
  overflow: auto;
3234
1720
  }
3235
1721
 
3236
- @media (width >= 576px) {
1722
+ @media (min-width: 576px) {
3237
1723
  dialog > article {
3238
1724
  max-width: 510px;
3239
1725
  }
3240
1726
  }
3241
1727
 
3242
- @media (width >= 768px) {
1728
+ @media (min-width: 768px) {
3243
1729
  dialog > article {
3244
1730
  max-width: 700px;
3245
1731
  }
@@ -3249,14 +1735,7 @@ dialog > article > header > * {
3249
1735
  margin-bottom: 0;
3250
1736
  }
3251
1737
 
3252
- dialog > article > header .close {
3253
- margin: 0;
3254
- margin-left: var(--cirth-spacing);
3255
- float: right;
3256
- padding: 0;
3257
- }
3258
-
3259
- dialog > article > header :is(a, button)[rel="prev"] {
1738
+ dialog > article > header .close, dialog > article > header :is(a, button)[rel="prev"] {
3260
1739
  margin: 0;
3261
1740
  margin-left: var(--cirth-spacing);
3262
1741
  float: right;
@@ -3275,45 +1754,24 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
3275
1754
  margin-left: calc(var(--cirth-spacing) * .5);
3276
1755
  }
3277
1756
 
3278
- dialog > article .close {
3279
- width: 1rem;
3280
- height: 1rem;
1757
+ dialog > article .close, dialog > article :is(a, button)[rel="prev"] {
1758
+ width: var(--cirth-size-4);
1759
+ height: var(--cirth-size-4);
3281
1760
  margin-top: calc(var(--cirth-spacing) * -1);
3282
1761
  margin-bottom: var(--cirth-spacing);
3283
1762
  background-image: var(--cirth-icon-close);
3284
- opacity: .5;
3285
- transition: opacity var(--cirth-transition);
3286
- background-color: rgba(0, 0, 0, 0);
3287
1763
  background-position: center;
3288
- background-repeat: no-repeat;
3289
- background-size: auto 1rem;
3290
- border: none;
3291
- margin-left: auto;
3292
- display: block;
3293
- }
3294
-
3295
- dialog > article :is(a, button)[rel="prev"] {
3296
- width: 1rem;
3297
- height: 1rem;
3298
- margin-top: calc(var(--cirth-spacing) * -1);
3299
- margin-bottom: var(--cirth-spacing);
3300
- background-image: var(--cirth-icon-close);
1764
+ background-size: auto var(--cirth-size-4);
3301
1765
  opacity: .5;
3302
1766
  transition: opacity var(--cirth-transition);
3303
- background-color: rgba(0, 0, 0, 0);
3304
- background-position: center;
1767
+ background-color: #0000;
3305
1768
  background-repeat: no-repeat;
3306
- background-size: auto 1rem;
3307
1769
  border: none;
3308
- margin-left: auto;
3309
- display: block;
3310
- }
3311
-
3312
- dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3313
- opacity: 1;
1770
+ margin-left: auto;
1771
+ display: block;
3314
1772
  }
3315
1773
 
3316
- dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1774
+ dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3317
1775
  opacity: 1;
3318
1776
  }
3319
1777
 
@@ -3333,38 +1791,32 @@ dialog:not([open]), dialog[open="false"] {
3333
1791
  touch-action: auto;
3334
1792
  }
3335
1793
 
3336
- :where(.modal-is-opening, .modal-is-closing) dialog {
3337
- animation-duration: .2s;
3338
- animation-timing-function: ease-in-out;
3339
- animation-fill-mode: both;
3340
- }
3341
-
3342
- :where(.modal-is-opening, .modal-is-closing) dialog > article {
3343
- animation-duration: .2s;
3344
- animation-timing-function: ease-in-out;
1794
+ :where(.modal-is-opening, .modal-is-closing) dialog, :where(.modal-is-opening, .modal-is-closing) dialog > article {
1795
+ animation-duration: var(--cirth-duration-normal);
1796
+ animation-timing-function: var(--cirth-ease-in-out);
3345
1797
  animation-fill-mode: both;
3346
1798
  }
3347
1799
 
3348
1800
  :where(.modal-is-opening, .modal-is-closing) dialog {
1801
+ animation-duration: calc(var(--cirth-duration-normal) * 4);
3349
1802
  animation-name: modal-overlay;
3350
- animation-duration: .8s;
3351
1803
  }
3352
1804
 
3353
1805
  :where(.modal-is-opening, .modal-is-closing) dialog > article {
1806
+ animation-delay: var(--cirth-duration-normal);
3354
1807
  animation-name: modal;
3355
- animation-delay: .2s;
3356
1808
  }
3357
1809
 
3358
1810
  .modal-is-closing dialog, .modal-is-closing dialog > article {
1811
+ animation-delay: var(--cirth-duration-instant);
3359
1812
  animation-direction: reverse;
3360
- animation-delay: 0s;
3361
1813
  }
3362
1814
 
3363
1815
  @keyframes modal-overlay {
3364
1816
  from {
3365
1817
  -webkit-backdrop-filter: none;
3366
1818
  backdrop-filter: none;
3367
- background-color: rgba(0, 0, 0, 0);
1819
+ background-color: #0000;
3368
1820
  }
3369
1821
  }
3370
1822
 
@@ -3421,23 +1873,7 @@ nav li :where(a, [role="link"]):not(:hover) {
3421
1873
  text-decoration: none;
3422
1874
  }
3423
1875
 
3424
- nav li button, nav li [role="button"], nav li select {
3425
- height: auto;
3426
- margin-right: inherit;
3427
- margin-bottom: 0;
3428
- margin-left: inherit;
3429
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3430
- }
3431
-
3432
- nav li [type="button"] {
3433
- height: auto;
3434
- margin-right: inherit;
3435
- margin-bottom: 0;
3436
- margin-left: inherit;
3437
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3438
- }
3439
-
3440
- nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
1876
+ nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
3441
1877
  height: auto;
3442
1878
  margin-right: inherit;
3443
1879
  margin-bottom: 0;
@@ -3474,7 +1910,7 @@ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
3474
1910
  nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
3475
1911
  color: inherit;
3476
1912
  pointer-events: none;
3477
- background-color: rgba(0, 0, 0, 0);
1913
+ background-color: #0000;
3478
1914
  text-decoration: none;
3479
1915
  }
3480
1916
 
@@ -3502,12 +1938,12 @@ progress {
3502
1938
  vertical-align: baseline;
3503
1939
  appearance: none;
3504
1940
  width: 100%;
3505
- height: .5rem;
1941
+ height: var(--cirth-size-2);
3506
1942
  margin-bottom: calc(var(--cirth-spacing) * .5);
1943
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
3507
1944
  border-radius: var(--cirth-border-radius);
3508
1945
  background-color: var(--cirth-progress-background-color);
3509
1946
  color: var(--cirth-progress-color);
3510
- border: 0;
3511
1947
  display: inline-block;
3512
1948
  overflow: hidden;
3513
1949
  }
@@ -3533,11 +1969,11 @@ progress::-moz-progress-bar {
3533
1969
  }
3534
1970
 
3535
1971
  progress:indeterminate[value]::-webkit-progress-value {
3536
- background-color: rgba(0, 0, 0, 0);
1972
+ background-color: #0000;
3537
1973
  }
3538
1974
 
3539
1975
  progress:indeterminate::-moz-progress-bar {
3540
- background-color: rgba(0, 0, 0, 0);
1976
+ background-color: #0000;
3541
1977
  }
3542
1978
 
3543
1979
  [dir="rtl"] progress:indeterminate {
@@ -3559,26 +1995,26 @@ progress::-moz-progress-bar {
3559
1995
  position: relative;
3560
1996
  }
3561
1997
 
3562
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1998
+ [data-tooltip]:not(a, button, input, [role="button"]) {
1999
+ border-bottom: var(--cirth-border-width-1) dotted;
3563
2000
  cursor: help;
3564
- border-bottom: 1px dotted;
3565
2001
  text-decoration: none;
3566
2002
  }
3567
2003
 
3568
2004
  [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
3569
- z-index: 99;
2005
+ z-index: var(--cirth-z-index-tooltip);
2006
+ padding: var(--cirth-space-1) var(--cirth-space-2);
3570
2007
  border-radius: var(--cirth-border-radius);
3571
2008
  background: var(--cirth-tooltip-background-color);
3572
2009
  content: attr(data-tooltip);
3573
2010
  color: var(--cirth-tooltip-color);
3574
2011
  font-style: normal;
3575
2012
  font-weight: var(--cirth-font-weight);
2013
+ font-size: var(--cirth-font-size-sm);
3576
2014
  text-overflow: ellipsis;
3577
2015
  white-space: nowrap;
3578
2016
  opacity: 0;
3579
2017
  pointer-events: none;
3580
- padding: .25rem .5rem;
3581
- font-size: .875rem;
3582
2018
  text-decoration: none;
3583
2019
  display: block;
3584
2020
  position: absolute;
@@ -3591,10 +2027,10 @@ progress::-moz-progress-bar {
3591
2027
  [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
3592
2028
  content: "";
3593
2029
  color: var(--cirth-tooltip-background-color);
3594
- background-color: rgba(0, 0, 0, 0);
2030
+ background-color: #0000;
3595
2031
  border-top: .3rem solid;
3596
- border-left: .3rem solid rgba(0, 0, 0, 0);
3597
- border-right: .3rem solid rgba(0, 0, 0, 0);
2032
+ border-left: .3rem solid #0000;
2033
+ border-right: .3rem solid #0000;
3598
2034
  border-radius: 0;
3599
2035
  padding: 0;
3600
2036
  transform: translate(-50%);
@@ -3607,7 +2043,7 @@ progress::-moz-progress-bar {
3607
2043
  }
3608
2044
 
3609
2045
  [data-tooltip][data-placement="bottom"]:after {
3610
- border: .3rem solid rgba(0, 0, 0, 0);
2046
+ border: .3rem solid #0000;
3611
2047
  border-bottom-color: currentColor;
3612
2048
  transform: translate(-50%, -.3rem);
3613
2049
  }
@@ -3618,7 +2054,7 @@ progress::-moz-progress-bar {
3618
2054
  }
3619
2055
 
3620
2056
  [data-tooltip][data-placement="left"]:after {
3621
- border: .3rem solid rgba(0, 0, 0, 0);
2057
+ border: .3rem solid #0000;
3622
2058
  border-left-color: currentColor;
3623
2059
  transform: translate(.3rem, -50%);
3624
2060
  }
@@ -3629,7 +2065,7 @@ progress::-moz-progress-bar {
3629
2065
  }
3630
2066
 
3631
2067
  [data-tooltip][data-placement="right"]:after {
3632
- border: .3rem solid rgba(0, 0, 0, 0);
2068
+ border: .3rem solid #0000;
3633
2069
  border-right-color: currentColor;
3634
2070
  transform: translate(-.3rem, -50%);
3635
2071
  }
@@ -3641,9 +2077,9 @@ progress::-moz-progress-bar {
3641
2077
  @media (hover: hover) and (pointer: fine) {
3642
2078
  [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3643
2079
  --cirth-tooltip-slide-to: translate(-50%, -.25rem);
2080
+ animation-duration: var(--cirth-duration-normal);
3644
2081
  opacity: 0;
3645
2082
  animation-name: tooltip-slide;
3646
- animation-duration: .2s;
3647
2083
  animation-fill-mode: forwards;
3648
2084
  transform: translate(-50%, .75rem);
3649
2085
  }
@@ -3736,12 +2172,645 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
3736
2172
 
3737
2173
  @media (prefers-reduced-motion: reduce) {
3738
2174
  :not([aria-busy="true"]), :not([aria-busy="true"]):before, :not([aria-busy="true"]):after {
3739
- background-attachment: initial !important;
3740
- scroll-behavior: auto !important;
3741
- transition-duration: 0s !important;
3742
- transition-delay: 0s !important;
3743
- animation-duration: 1ms !important;
3744
- animation-iteration-count: 1 !important;
3745
- animation-delay: -1ms !important;
2175
+ background-attachment: initial;
2176
+ scroll-behavior: auto;
2177
+ transition-delay: var(--cirth-duration-instant);
2178
+ transition-duration: var(--cirth-duration-instant);
2179
+ animation-duration: 1ms;
2180
+ animation-iteration-count: 1;
2181
+ animation-delay: -1ms;
2182
+ }
2183
+ }
2184
+
2185
+ :root, :host {
2186
+ --cirth-color-black: #000;
2187
+ --cirth-color-white: #fff;
2188
+ --cirth-color-transparent: transparent;
2189
+ --cirth-color-current: currentColor;
2190
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2191
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2192
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2193
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2194
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2195
+ monospace, var(--cirth-font-family-emoji);
2196
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2197
+ --cirth-font-size-xs: .75rem;
2198
+ --cirth-font-size-sm: .875rem;
2199
+ --cirth-font-size-md: 1rem;
2200
+ --cirth-font-size-lg: 1.125rem;
2201
+ --cirth-font-size-xl: 1.25rem;
2202
+ --cirth-font-size-2xl: 1.425rem;
2203
+ --cirth-font-size-3xl: 1.6rem;
2204
+ --cirth-font-size-4xl: 1.8rem;
2205
+ --cirth-font-size-5xl: 2rem;
2206
+ --cirth-font-size-6xl: 2.3rem;
2207
+ --cirth-font-weight-light: 300;
2208
+ --cirth-font-weight-regular: 400;
2209
+ --cirth-font-weight-medium: 500;
2210
+ --cirth-font-weight-semibold: 600;
2211
+ --cirth-font-weight-bold: 700;
2212
+ --cirth-letter-spacing-tight: -.02em;
2213
+ --cirth-letter-spacing-snug: -.01em;
2214
+ --cirth-line-height-none: 1;
2215
+ --cirth-line-height-tight: 1.125;
2216
+ --cirth-line-height-snug: 1.25;
2217
+ --cirth-line-height-normal: 1.5;
2218
+ --cirth-line-height-relaxed: 1.625;
2219
+ --cirth-line-height-loose: 2;
2220
+ --cirth-space-0: 0;
2221
+ --cirth-space-1: .25rem;
2222
+ --cirth-space-2: .5rem;
2223
+ --cirth-space-3: .75rem;
2224
+ --cirth-space-4: 1rem;
2225
+ --cirth-space-5: 1.25rem;
2226
+ --cirth-space-6: 1.5rem;
2227
+ --cirth-space-8: 2rem;
2228
+ --cirth-space-10: 2.5rem;
2229
+ --cirth-space-12: 3rem;
2230
+ --cirth-space-16: 4rem;
2231
+ --cirth-space-20: 5rem;
2232
+ --cirth-space-24: 6rem;
2233
+ --cirth-size-0: 0;
2234
+ --cirth-size-1: .25rem;
2235
+ --cirth-size-2: .5rem;
2236
+ --cirth-size-3: .75rem;
2237
+ --cirth-size-4: 1rem;
2238
+ --cirth-size-5: 1.25rem;
2239
+ --cirth-size-6: 1.5rem;
2240
+ --cirth-size-8: 2rem;
2241
+ --cirth-size-10: 2.5rem;
2242
+ --cirth-size-12: 3rem;
2243
+ --cirth-size-16: 4rem;
2244
+ --cirth-size-20: 5rem;
2245
+ --cirth-size-24: 6rem;
2246
+ --cirth-radius-none: 0;
2247
+ --cirth-radius-xs: .125rem;
2248
+ --cirth-radius-sm: .25rem;
2249
+ --cirth-radius-md: .375rem;
2250
+ --cirth-radius-lg: .5rem;
2251
+ --cirth-radius-xl: .75rem;
2252
+ --cirth-radius-2xl: 1rem;
2253
+ --cirth-radius-pill: 9999px;
2254
+ --cirth-border-width-0: 0;
2255
+ --cirth-border-width-1: .0625rem;
2256
+ --cirth-border-width-2: .125rem;
2257
+ --cirth-border-width-4: .25rem;
2258
+ --cirth-outline-width-1: .0625rem;
2259
+ --cirth-outline-width-2: .125rem;
2260
+ --cirth-outline-width-4: .25rem;
2261
+ --cirth-duration-instant: 0s;
2262
+ --cirth-duration-fast: .1s;
2263
+ --cirth-duration-normal: .2s;
2264
+ --cirth-duration-slow: .3s;
2265
+ --cirth-duration-slower: .5s;
2266
+ --cirth-ease-linear: linear;
2267
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2268
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2269
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2270
+ --cirth-opacity-disabled: .5;
2271
+ --cirth-opacity-muted: .72;
2272
+ --cirth-opacity-overlay: .75;
2273
+ --cirth-z-index-dropdown: 1000;
2274
+ --cirth-z-index-sticky: 1020;
2275
+ --cirth-z-index-fixed: 1030;
2276
+ --cirth-z-index-modal-backdrop: 1040;
2277
+ --cirth-z-index-modal: 1050;
2278
+ --cirth-z-index-tooltip: 1070;
2279
+ --cirth-font-family: var(--cirth-font-family-sans);
2280
+ --cirth-line-height: var(--cirth-line-height-normal);
2281
+ --cirth-font-weight: var(--cirth-font-weight-regular);
2282
+ --cirth-font-size: 100%;
2283
+ --cirth-text-underline-offset: .15em;
2284
+ --cirth-border-radius: var(--cirth-radius-lg);
2285
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
2286
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
2287
+ var(--cirth-radius-sm));
2288
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
2289
+ var(--cirth-radius-sm));
2290
+ --cirth-border-width: var(--cirth-border-width-1);
2291
+ --cirth-outline-width: var(--cirth-outline-width-2);
2292
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2293
+ --cirth-spacing: var(--cirth-space-4);
2294
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
2295
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
2296
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
2297
+ --cirth-grid-column-gap: var(--cirth-spacing);
2298
+ --cirth-grid-row-gap: var(--cirth-spacing);
2299
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2300
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2301
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
2302
+ --cirth-group-box-shadow: 0 0 0 #0000;
2303
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2304
+ var(--cirth-primary-focus);
2305
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2306
+ var(--cirth-form-element-border-color);
2307
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2308
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2309
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2310
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2311
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2312
+ --cirth-nav-breadcrumb-divider: ">";
2313
+ --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");
2314
+ --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");
2315
+ --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");
2316
+ --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");
2317
+ --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");
2318
+ --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");
2319
+ --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");
2320
+ --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");
2321
+ }
2322
+
2323
+ a, a.secondary, a.contrast {
2324
+ --cirth-text-decoration: underline;
2325
+ }
2326
+
2327
+ small {
2328
+ --cirth-font-size: .875em;
2329
+ }
2330
+
2331
+ h1, h2, h3 {
2332
+ --cirth-font-weight: var(--cirth-font-weight-bold);
2333
+ }
2334
+
2335
+ h4, h5, h6 {
2336
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2337
+ }
2338
+
2339
+ h1 {
2340
+ --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2341
+ --cirth-line-height: var(--cirth-line-height-tight);
2342
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2343
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2344
+ }
2345
+
2346
+ h2 {
2347
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2348
+ --cirth-line-height: 1.15;
2349
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2350
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2351
+ }
2352
+
2353
+ h3 {
2354
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2355
+ --cirth-line-height: 1.2;
2356
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2357
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2358
+ }
2359
+
2360
+ h4 {
2361
+ --cirth-font-size: var(--cirth-font-size-xl);
2362
+ --cirth-line-height: var(--cirth-line-height-snug);
2363
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2364
+ }
2365
+
2366
+ h5 {
2367
+ --cirth-font-size: var(--cirth-font-size-lg);
2368
+ --cirth-line-height: var(--cirth-line-height-snug);
2369
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2370
+ }
2371
+
2372
+ h6 {
2373
+ --cirth-font-size: var(--cirth-font-size-md);
2374
+ --cirth-line-height: var(--cirth-line-height-snug);
2375
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2376
+ }
2377
+
2378
+ article {
2379
+ --cirth-border-radius: var(--cirth-card-border-radius);
2380
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2381
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2382
+ }
2383
+
2384
+ thead th, thead td, tfoot th, tfoot td {
2385
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2386
+ --cirth-border-width: .1875rem;
2387
+ }
2388
+
2389
+ pre, code, kbd, samp {
2390
+ --cirth-font-family: var(--cirth-font-family-mono);
2391
+ }
2392
+
2393
+ code, kbd, samp {
2394
+ --cirth-border-radius: var(--cirth-code-border-radius);
2395
+ }
2396
+
2397
+ kbd {
2398
+ --cirth-font-weight: bolder;
2399
+ }
2400
+
2401
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2402
+ --cirth-outline-width: var(--cirth-outline-width-1);
2403
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2404
+ }
2405
+
2406
+ [type="search"] {
2407
+ --cirth-border-radius: var(--cirth-radius-pill);
2408
+ }
2409
+
2410
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2411
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2412
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2413
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2414
+ }
2415
+
2416
+ [type="file"] {
2417
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2418
+ }
2419
+
2420
+ [type="checkbox"], [type="radio"] {
2421
+ --cirth-border-width: var(--cirth-border-width-2);
2422
+ }
2423
+
2424
+ [type="checkbox"] {
2425
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2426
+ }
2427
+
2428
+ [type="checkbox"][role="switch"] {
2429
+ --cirth-border-width: .1875rem;
2430
+ }
2431
+
2432
+ details.dropdown summary:not([role="button"]) {
2433
+ --cirth-outline-width: var(--cirth-outline-width-1);
2434
+ }
2435
+
2436
+ nav details.dropdown summary:focus-visible {
2437
+ --cirth-outline-width: var(--cirth-outline-width-2);
2438
+ }
2439
+
2440
+ [role="search"] {
2441
+ --cirth-border-radius: var(--cirth-radius-pill);
2442
+ }
2443
+
2444
+ :is([role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2445
+ --cirth-group-box-shadow-focus-with-button: 0
2446
+ 0
2447
+ 0
2448
+ var(--cirth-outline-width)
2449
+ var(--cirth-secondary-focus);
2450
+ }
2451
+
2452
+ :is([role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2453
+ --cirth-group-box-shadow-focus-with-button: 0
2454
+ 0
2455
+ 0
2456
+ var(--cirth-outline-width)
2457
+ var(--cirth-contrast-focus);
2458
+ }
2459
+
2460
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="button"], [role="group"] [role="button"] {
2461
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2462
+ }
2463
+
2464
+ details summary[role="button"]:not(.outline):after, [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2465
+ filter: brightness(0) invert();
2466
+ }
2467
+
2468
+ [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
2469
+ --lightningcss-light: initial;
2470
+ --lightningcss-dark: ;
2471
+ color-scheme: light;
2472
+ --cirth-background-color: oklch(100% 0 0);
2473
+ --cirth-color: oklch(35.3% .021 264);
2474
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2475
+ --cirth-muted-color: oklch(52.7% .032 264);
2476
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2477
+ --cirth-primary: oklch(52.7% .097 69.35);
2478
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2479
+ --cirth-primary-border: var(--cirth-primary-background);
2480
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2481
+ --cirth-primary-hover: oklch(44% .081 69.35);
2482
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2483
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2484
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2485
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2486
+ --cirth-primary-inverse: oklch(100% 0 0);
2487
+ --cirth-secondary: oklch(52.7% .032 264);
2488
+ --cirth-secondary-background: oklch(48.3% .03 264);
2489
+ --cirth-secondary-border: var(--cirth-secondary-background);
2490
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2491
+ --cirth-secondary-hover: oklch(44% .028 264);
2492
+ --cirth-secondary-hover-background: oklch(44% .028 264);
2493
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2494
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2495
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2496
+ --cirth-secondary-inverse: oklch(100% 0 0);
2497
+ --cirth-contrast: oklch(22.3% .006 264);
2498
+ --cirth-contrast-background: oklch(22.3% .006 264);
2499
+ --cirth-contrast-border: var(--cirth-contrast-background);
2500
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2501
+ --cirth-contrast-hover: oklch(0% 0 0);
2502
+ --cirth-contrast-hover-background: oklch(0% 0 0);
2503
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2504
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2505
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2506
+ --cirth-contrast-inverse: oklch(100% 0 0);
2507
+ --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);
2508
+ --cirth-h1-color: oklch(31% .016 264);
2509
+ --cirth-h2-color: oklch(35.3% .021 264);
2510
+ --cirth-h3-color: oklch(39.7% .025 264);
2511
+ --cirth-h4-color: oklch(44% .028 264);
2512
+ --cirth-h5-color: oklch(48.3% .03 264);
2513
+ --cirth-h6-color: oklch(52.7% .032 264);
2514
+ --cirth-mark-background-color: oklch(93% .05 78);
2515
+ --cirth-mark-color: oklch(18% 0 264);
2516
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2517
+ --cirth-del-color: oklch(35.3% .122 29.73);
2518
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2519
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2520
+ --cirth-button-box-shadow: 0 0 0 #0000;
2521
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2522
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2523
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2524
+ --cirth-code-background-color: oklch(97% 0 288);
2525
+ --cirth-code-color: oklch(52.7% .032 264);
2526
+ --cirth-code-kbd-background-color: var(--cirth-color);
2527
+ --cirth-code-kbd-color: var(--cirth-background-color);
2528
+ --cirth-form-element-background-color: oklch(99% 0 336);
2529
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2530
+ --cirth-form-element-border-color: oklch(65.7% .03 264);
2531
+ --cirth-form-element-color: oklch(26.7% .011 264);
2532
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2533
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
2534
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2535
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2536
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2537
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2538
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2539
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2540
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2541
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2542
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2543
+ --cirth-switch-background-color: oklch(61.3% .032 264);
2544
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2545
+ --cirth-switch-color: oklch(100% 0 0);
2546
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2547
+ --cirth-range-border-color: oklch(91.7% .006 264);
2548
+ --cirth-range-active-border-color: oklch(83% .016 264);
2549
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2550
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2551
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2552
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2553
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2554
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2555
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2556
+ --cirth-card-background-color: var(--cirth-background-color);
2557
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2558
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2559
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
2560
+ --cirth-dropdown-background-color: oklch(100% 0 0);
2561
+ --cirth-dropdown-border-color: oklch(96% 0 264);
2562
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2563
+ --cirth-dropdown-color: var(--cirth-color);
2564
+ --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2565
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2566
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2567
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2568
+ --cirth-progress-border-color: oklch(65.7% .03 264);
2569
+ --cirth-progress-color: var(--cirth-primary-background);
2570
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2571
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2572
+ --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");
2573
+ --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");
2574
+ }
2575
+
2576
+ [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2577
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2578
+ }
2579
+
2580
+ @media only screen and (prefers-color-scheme: dark) {
2581
+ :root:not([data-theme]), :host(:not([data-theme])) {
2582
+ --lightningcss-light: ;
2583
+ --lightningcss-dark: initial;
2584
+ color-scheme: dark;
2585
+ --cirth-background-color: oklch(20.15% .003 264);
2586
+ --cirth-color: oklch(83% .016 264);
2587
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2588
+ --cirth-muted-color: oklch(61.3% .032 264);
2589
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2590
+ --cirth-primary: oklch(70% .129 69.35);
2591
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2592
+ --cirth-primary-border: var(--cirth-primary-background);
2593
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2594
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2595
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2596
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2597
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2598
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2599
+ --cirth-primary-inverse: oklch(100% 0 0);
2600
+ --cirth-secondary: oklch(70% .028 264);
2601
+ --cirth-secondary-background: oklch(48.3% .03 264);
2602
+ --cirth-secondary-border: var(--cirth-secondary-background);
2603
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2604
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2605
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2606
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2607
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2608
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2609
+ --cirth-secondary-inverse: oklch(100% 0 0);
2610
+ --cirth-contrast: oklch(91.7% .006 264);
2611
+ --cirth-contrast-background: oklch(96% 0 264);
2612
+ --cirth-contrast-border: var(--cirth-contrast-background);
2613
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2614
+ --cirth-contrast-hover: oklch(100% 0 0);
2615
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2616
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2617
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2618
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2619
+ --cirth-contrast-inverse: oklch(0% 0 0);
2620
+ --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);
2621
+ --cirth-h1-color: oklch(96% 0 264);
2622
+ --cirth-h2-color: oklch(91.7% .006 264);
2623
+ --cirth-h3-color: oklch(83% .016 264);
2624
+ --cirth-h4-color: oklch(78.7% .021 264);
2625
+ --cirth-h5-color: oklch(74.3% .025 264);
2626
+ --cirth-h6-color: oklch(65.7% .03 264);
2627
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2628
+ --cirth-mark-color: oklch(100% 0 0);
2629
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2630
+ --cirth-del-color: oklch(78.7% .106 29.73);
2631
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2632
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2633
+ --cirth-button-box-shadow: 0 0 0 #0000;
2634
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2635
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2636
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2637
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2638
+ --cirth-code-color: oklch(65.7% .03 264);
2639
+ --cirth-code-kbd-background-color: var(--cirth-color);
2640
+ --cirth-code-kbd-color: var(--cirth-background-color);
2641
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2642
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2643
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2644
+ --cirth-form-element-color: oklch(91.7% .006 264);
2645
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2646
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2647
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2648
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2649
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2650
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2651
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2652
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2653
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2654
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2655
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2656
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2657
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2658
+ --cirth-switch-color: oklch(100% 0 0);
2659
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2660
+ --cirth-range-border-color: oklch(26.7% .011 264);
2661
+ --cirth-range-active-border-color: oklch(31% .016 264);
2662
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2663
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2664
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2665
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2666
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2667
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2668
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2669
+ --cirth-card-background-color: oklch(22.3% .006 264);
2670
+ --cirth-card-border-color: var(--cirth-card-background-color);
2671
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2672
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2673
+ --cirth-dropdown-background-color: oklch(22.3% .006 264);
2674
+ --cirth-dropdown-border-color: oklch(26.7% .011 264);
2675
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2676
+ --cirth-dropdown-color: var(--cirth-color);
2677
+ --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2678
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2679
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2680
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2681
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2682
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2683
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2684
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2685
+ --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");
2686
+ --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");
2687
+ }
2688
+
2689
+ :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2690
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2691
+ }
2692
+
2693
+ :root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after, :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, :root:not([data-theme]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, :host(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2694
+ filter: brightness(0);
3746
2695
  }
3747
2696
  }
2697
+
2698
+ [data-theme="dark"] {
2699
+ --lightningcss-light: ;
2700
+ --lightningcss-dark: initial;
2701
+ color-scheme: dark;
2702
+ --cirth-background-color: oklch(20.15% .003 264);
2703
+ --cirth-color: oklch(83% .016 264);
2704
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2705
+ --cirth-muted-color: oklch(61.3% .032 264);
2706
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2707
+ --cirth-primary: oklch(70% .129 69.35);
2708
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2709
+ --cirth-primary-border: var(--cirth-primary-background);
2710
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2711
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2712
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2713
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2714
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2715
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2716
+ --cirth-primary-inverse: oklch(100% 0 0);
2717
+ --cirth-secondary: oklch(70% .028 264);
2718
+ --cirth-secondary-background: oklch(48.3% .03 264);
2719
+ --cirth-secondary-border: var(--cirth-secondary-background);
2720
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2721
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2722
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2723
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2724
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2725
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2726
+ --cirth-secondary-inverse: oklch(100% 0 0);
2727
+ --cirth-contrast: oklch(91.7% .006 264);
2728
+ --cirth-contrast-background: oklch(96% 0 264);
2729
+ --cirth-contrast-border: var(--cirth-contrast-background);
2730
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2731
+ --cirth-contrast-hover: oklch(100% 0 0);
2732
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2733
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2734
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2735
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2736
+ --cirth-contrast-inverse: oklch(0% 0 0);
2737
+ --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);
2738
+ --cirth-h1-color: oklch(96% 0 264);
2739
+ --cirth-h2-color: oklch(91.7% .006 264);
2740
+ --cirth-h3-color: oklch(83% .016 264);
2741
+ --cirth-h4-color: oklch(78.7% .021 264);
2742
+ --cirth-h5-color: oklch(74.3% .025 264);
2743
+ --cirth-h6-color: oklch(65.7% .03 264);
2744
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2745
+ --cirth-mark-color: oklch(100% 0 0);
2746
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2747
+ --cirth-del-color: oklch(78.7% .106 29.73);
2748
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2749
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2750
+ --cirth-button-box-shadow: 0 0 0 #0000;
2751
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2752
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2753
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2754
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2755
+ --cirth-code-color: oklch(65.7% .03 264);
2756
+ --cirth-code-kbd-background-color: var(--cirth-color);
2757
+ --cirth-code-kbd-color: var(--cirth-background-color);
2758
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2759
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2760
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2761
+ --cirth-form-element-color: oklch(91.7% .006 264);
2762
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2763
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2764
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2765
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2766
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2767
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2768
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2769
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2770
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2771
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2772
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2773
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2774
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2775
+ --cirth-switch-color: oklch(100% 0 0);
2776
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2777
+ --cirth-range-border-color: oklch(26.7% .011 264);
2778
+ --cirth-range-active-border-color: oklch(31% .016 264);
2779
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2780
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2781
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2782
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2783
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2784
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2785
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2786
+ --cirth-card-background-color: oklch(22.3% .006 264);
2787
+ --cirth-card-border-color: var(--cirth-card-background-color);
2788
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2789
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2790
+ --cirth-dropdown-background-color: oklch(22.3% .006 264);
2791
+ --cirth-dropdown-border-color: oklch(26.7% .011 264);
2792
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2793
+ --cirth-dropdown-color: var(--cirth-color);
2794
+ --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2795
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2796
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2797
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2798
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2799
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2800
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2801
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2802
+ --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");
2803
+ --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");
2804
+ }
2805
+
2806
+ [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2807
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2808
+ }
2809
+
2810
+ [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, [data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2811
+ filter: brightness(0);
2812
+ }
2813
+
2814
+ progress, [type="checkbox"], [type="radio"], [type="range"] {
2815
+ accent-color: var(--cirth-primary);
2816
+ }