@cirthcss/cirth 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +153 -49
  2. package/dist/cirth.classless.css +857 -1653
  3. package/dist/cirth.classless.min.css +1 -1
  4. package/dist/cirth.classless.scoped.css +855 -1368
  5. package/dist/cirth.classless.scoped.min.css +1 -1
  6. package/dist/cirth.css +959 -1890
  7. package/dist/cirth.min.css +1 -1
  8. package/dist/cirth.scoped.css +954 -1608
  9. package/dist/cirth.scoped.min.css +1 -1
  10. package/dist/presets/cobalt.css +50 -0
  11. package/dist/presets/cobalt.min.css +1 -0
  12. package/dist/presets/coral.css +56 -0
  13. package/dist/presets/coral.min.css +1 -0
  14. package/package.json +28 -5
  15. package/dist/cirth.amber.css +0 -3747
  16. package/dist/cirth.amber.min.css +0 -1
  17. package/dist/cirth.blue.css +0 -3747
  18. package/dist/cirth.blue.min.css +0 -1
  19. package/dist/cirth.classless.amber.css +0 -3245
  20. package/dist/cirth.classless.amber.min.css +0 -1
  21. package/dist/cirth.classless.blue.css +0 -3245
  22. package/dist/cirth.classless.blue.min.css +0 -1
  23. package/dist/cirth.classless.cyan.css +0 -3245
  24. package/dist/cirth.classless.cyan.min.css +0 -1
  25. package/dist/cirth.classless.fuchsia.css +0 -3245
  26. package/dist/cirth.classless.fuchsia.min.css +0 -1
  27. package/dist/cirth.classless.green.css +0 -3245
  28. package/dist/cirth.classless.green.min.css +0 -1
  29. package/dist/cirth.classless.grey.css +0 -3245
  30. package/dist/cirth.classless.grey.min.css +0 -1
  31. package/dist/cirth.classless.indigo.css +0 -3245
  32. package/dist/cirth.classless.indigo.min.css +0 -1
  33. package/dist/cirth.classless.jade.css +0 -3245
  34. package/dist/cirth.classless.jade.min.css +0 -1
  35. package/dist/cirth.classless.lime.css +0 -3245
  36. package/dist/cirth.classless.lime.min.css +0 -1
  37. package/dist/cirth.classless.orange.css +0 -3245
  38. package/dist/cirth.classless.orange.min.css +0 -1
  39. package/dist/cirth.classless.pink.css +0 -3245
  40. package/dist/cirth.classless.pink.min.css +0 -1
  41. package/dist/cirth.classless.pumpkin.css +0 -3245
  42. package/dist/cirth.classless.pumpkin.min.css +0 -1
  43. package/dist/cirth.classless.purple.css +0 -3245
  44. package/dist/cirth.classless.purple.min.css +0 -1
  45. package/dist/cirth.classless.red.css +0 -3245
  46. package/dist/cirth.classless.red.min.css +0 -1
  47. package/dist/cirth.classless.sand.css +0 -3245
  48. package/dist/cirth.classless.sand.min.css +0 -1
  49. package/dist/cirth.classless.scoped.amber.css +0 -2959
  50. package/dist/cirth.classless.scoped.amber.min.css +0 -1
  51. package/dist/cirth.classless.scoped.blue.css +0 -2959
  52. package/dist/cirth.classless.scoped.blue.min.css +0 -1
  53. package/dist/cirth.classless.scoped.cyan.css +0 -2959
  54. package/dist/cirth.classless.scoped.cyan.min.css +0 -1
  55. package/dist/cirth.classless.scoped.fuchsia.css +0 -2959
  56. package/dist/cirth.classless.scoped.fuchsia.min.css +0 -1
  57. package/dist/cirth.classless.scoped.green.css +0 -2959
  58. package/dist/cirth.classless.scoped.green.min.css +0 -1
  59. package/dist/cirth.classless.scoped.grey.css +0 -2959
  60. package/dist/cirth.classless.scoped.grey.min.css +0 -1
  61. package/dist/cirth.classless.scoped.indigo.css +0 -2959
  62. package/dist/cirth.classless.scoped.indigo.min.css +0 -1
  63. package/dist/cirth.classless.scoped.jade.css +0 -2959
  64. package/dist/cirth.classless.scoped.jade.min.css +0 -1
  65. package/dist/cirth.classless.scoped.lime.css +0 -2959
  66. package/dist/cirth.classless.scoped.lime.min.css +0 -1
  67. package/dist/cirth.classless.scoped.orange.css +0 -2959
  68. package/dist/cirth.classless.scoped.orange.min.css +0 -1
  69. package/dist/cirth.classless.scoped.pink.css +0 -2959
  70. package/dist/cirth.classless.scoped.pink.min.css +0 -1
  71. package/dist/cirth.classless.scoped.pumpkin.css +0 -2959
  72. package/dist/cirth.classless.scoped.pumpkin.min.css +0 -1
  73. package/dist/cirth.classless.scoped.purple.css +0 -2959
  74. package/dist/cirth.classless.scoped.purple.min.css +0 -1
  75. package/dist/cirth.classless.scoped.red.css +0 -2959
  76. package/dist/cirth.classless.scoped.red.min.css +0 -1
  77. package/dist/cirth.classless.scoped.sand.css +0 -2959
  78. package/dist/cirth.classless.scoped.sand.min.css +0 -1
  79. package/dist/cirth.classless.scoped.slate.css +0 -2959
  80. package/dist/cirth.classless.scoped.slate.min.css +0 -1
  81. package/dist/cirth.classless.scoped.violet.css +0 -2959
  82. package/dist/cirth.classless.scoped.violet.min.css +0 -1
  83. package/dist/cirth.classless.scoped.yellow.css +0 -2959
  84. package/dist/cirth.classless.scoped.yellow.min.css +0 -1
  85. package/dist/cirth.classless.scoped.zinc.css +0 -2959
  86. package/dist/cirth.classless.scoped.zinc.min.css +0 -1
  87. package/dist/cirth.classless.slate.css +0 -3245
  88. package/dist/cirth.classless.slate.min.css +0 -1
  89. package/dist/cirth.classless.violet.css +0 -3245
  90. package/dist/cirth.classless.violet.min.css +0 -1
  91. package/dist/cirth.classless.yellow.css +0 -3245
  92. package/dist/cirth.classless.yellow.min.css +0 -1
  93. package/dist/cirth.classless.zinc.css +0 -3245
  94. package/dist/cirth.classless.zinc.min.css +0 -1
  95. package/dist/cirth.cyan.css +0 -3747
  96. package/dist/cirth.cyan.min.css +0 -1
  97. package/dist/cirth.fuchsia.css +0 -3747
  98. package/dist/cirth.fuchsia.min.css +0 -1
  99. package/dist/cirth.green.css +0 -3747
  100. package/dist/cirth.green.min.css +0 -1
  101. package/dist/cirth.grey.css +0 -3747
  102. package/dist/cirth.grey.min.css +0 -1
  103. package/dist/cirth.indigo.css +0 -3747
  104. package/dist/cirth.indigo.min.css +0 -1
  105. package/dist/cirth.jade.css +0 -3747
  106. package/dist/cirth.jade.min.css +0 -1
  107. package/dist/cirth.lime.css +0 -3747
  108. package/dist/cirth.lime.min.css +0 -1
  109. package/dist/cirth.orange.css +0 -3747
  110. package/dist/cirth.orange.min.css +0 -1
  111. package/dist/cirth.pink.css +0 -3747
  112. package/dist/cirth.pink.min.css +0 -1
  113. package/dist/cirth.pumpkin.css +0 -3747
  114. package/dist/cirth.pumpkin.min.css +0 -1
  115. package/dist/cirth.purple.css +0 -3747
  116. package/dist/cirth.purple.min.css +0 -1
  117. package/dist/cirth.red.css +0 -3747
  118. package/dist/cirth.red.min.css +0 -1
  119. package/dist/cirth.sand.css +0 -3747
  120. package/dist/cirth.sand.min.css +0 -1
  121. package/dist/cirth.scoped.amber.css +0 -3467
  122. package/dist/cirth.scoped.amber.min.css +0 -1
  123. package/dist/cirth.scoped.blue.css +0 -3467
  124. package/dist/cirth.scoped.blue.min.css +0 -1
  125. package/dist/cirth.scoped.cyan.css +0 -3467
  126. package/dist/cirth.scoped.cyan.min.css +0 -1
  127. package/dist/cirth.scoped.fuchsia.css +0 -3467
  128. package/dist/cirth.scoped.fuchsia.min.css +0 -1
  129. package/dist/cirth.scoped.green.css +0 -3467
  130. package/dist/cirth.scoped.green.min.css +0 -1
  131. package/dist/cirth.scoped.grey.css +0 -3467
  132. package/dist/cirth.scoped.grey.min.css +0 -1
  133. package/dist/cirth.scoped.indigo.css +0 -3467
  134. package/dist/cirth.scoped.indigo.min.css +0 -1
  135. package/dist/cirth.scoped.jade.css +0 -3467
  136. package/dist/cirth.scoped.jade.min.css +0 -1
  137. package/dist/cirth.scoped.lime.css +0 -3467
  138. package/dist/cirth.scoped.lime.min.css +0 -1
  139. package/dist/cirth.scoped.orange.css +0 -3467
  140. package/dist/cirth.scoped.orange.min.css +0 -1
  141. package/dist/cirth.scoped.pink.css +0 -3467
  142. package/dist/cirth.scoped.pink.min.css +0 -1
  143. package/dist/cirth.scoped.pumpkin.css +0 -3467
  144. package/dist/cirth.scoped.pumpkin.min.css +0 -1
  145. package/dist/cirth.scoped.purple.css +0 -3467
  146. package/dist/cirth.scoped.purple.min.css +0 -1
  147. package/dist/cirth.scoped.red.css +0 -3467
  148. package/dist/cirth.scoped.red.min.css +0 -1
  149. package/dist/cirth.scoped.sand.css +0 -3467
  150. package/dist/cirth.scoped.sand.min.css +0 -1
  151. package/dist/cirth.scoped.slate.css +0 -3467
  152. package/dist/cirth.scoped.slate.min.css +0 -1
  153. package/dist/cirth.scoped.violet.css +0 -3467
  154. package/dist/cirth.scoped.violet.min.css +0 -1
  155. package/dist/cirth.scoped.yellow.css +0 -3467
  156. package/dist/cirth.scoped.yellow.min.css +0 -1
  157. package/dist/cirth.scoped.zinc.css +0 -3467
  158. package/dist/cirth.scoped.zinc.min.css +0 -1
  159. package/dist/cirth.slate.css +0 -3747
  160. package/dist/cirth.slate.min.css +0 -1
  161. package/dist/cirth.violet.css +0 -3747
  162. package/dist/cirth.violet.min.css +0 -1
  163. package/dist/cirth.yellow.css +0 -3747
  164. package/dist/cirth.yellow.min.css +0 -1
  165. package/dist/cirth.zinc.css +0 -3747
  166. package/dist/cirth.zinc.min.css +0 -1
@@ -1,798 +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-form-element-spacing-vertical: .75rem;
19
- --cirth-form-element-spacing-horizontal: 1rem;
20
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
21
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
22
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
23
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
24
- --cirth-nav-element-spacing-vertical: 1rem;
25
- --cirth-nav-element-spacing-horizontal: .5rem;
26
- --cirth-nav-link-spacing-vertical: .5rem;
27
- --cirth-nav-link-spacing-horizontal: .5rem;
28
- --cirth-nav-breadcrumb-divider: ">";
29
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
30
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
31
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
32
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
33
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
34
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
35
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
36
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
37
- }
38
-
39
- :host {
40
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
41
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
42
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
43
- --cirth-font-family: var(--cirth-font-family-sans-serif);
44
- --cirth-line-height: 1.5;
45
- --cirth-font-weight: 400;
46
- --cirth-font-size: 100%;
47
- --cirth-text-underline-offset: .1rem;
48
- --cirth-border-radius: .25rem;
49
- --cirth-border-width: .0625rem;
50
- --cirth-outline-width: .125rem;
51
- --cirth-transition: .2s ease-in-out;
52
- --cirth-spacing: 1rem;
53
- --cirth-typography-spacing-vertical: 1rem;
54
- --cirth-block-spacing-vertical: var(--cirth-spacing);
55
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
56
- --cirth-form-element-spacing-vertical: .75rem;
57
- --cirth-form-element-spacing-horizontal: 1rem;
58
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
59
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
60
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
61
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
62
- --cirth-nav-element-spacing-vertical: 1rem;
63
- --cirth-nav-element-spacing-horizontal: .5rem;
64
- --cirth-nav-link-spacing-vertical: .5rem;
65
- --cirth-nav-link-spacing-horizontal: .5rem;
66
- --cirth-nav-breadcrumb-divider: ">";
67
- --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");
68
- --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");
69
- --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");
70
- --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");
71
- --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");
72
- --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");
73
- --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");
74
- --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");
75
- }
76
-
77
- @media (width >= 576px) {
78
- :root {
79
- --cirth-font-size: 106.25%;
80
- }
81
-
82
- :host {
83
- --cirth-font-size: 106.25%;
84
- }
85
- }
86
-
87
- @media (width >= 768px) {
88
- :root {
89
- --cirth-font-size: 112.5%;
90
- }
91
-
92
- :host {
93
- --cirth-font-size: 112.5%;
94
- }
95
- }
96
-
97
- @media (width >= 1024px) {
98
- :root {
99
- --cirth-font-size: 118.75%;
100
- }
101
-
102
- :host {
103
- --cirth-font-size: 118.75%;
104
- }
105
- }
106
-
107
- @media (width >= 1280px) {
108
- :root {
109
- --cirth-font-size: 125%;
110
- }
111
-
112
- :host {
113
- --cirth-font-size: 125%;
114
- }
115
- }
116
-
117
- @media (width >= 1536px) {
118
- :root {
119
- --cirth-font-size: 131.25%;
120
- }
121
-
122
- :host {
123
- --cirth-font-size: 131.25%;
124
- }
125
- }
126
-
127
- a {
128
- --cirth-text-decoration: underline;
129
- }
130
-
131
- small {
132
- --cirth-font-size: .875em;
133
- }
134
-
135
- h1, h2, h3, h4, h5, h6 {
136
- --cirth-font-weight: 700;
137
- }
138
-
139
- h1 {
140
- --cirth-font-size: 2rem;
141
- --cirth-line-height: 1.125;
142
- --cirth-typography-spacing-top: 3rem;
143
- }
144
-
145
- h2 {
146
- --cirth-font-size: 1.75rem;
147
- --cirth-line-height: 1.15;
148
- --cirth-typography-spacing-top: 2.625rem;
149
- }
150
-
151
- h3 {
152
- --cirth-font-size: 1.5rem;
153
- --cirth-line-height: 1.175;
154
- --cirth-typography-spacing-top: 2.25rem;
155
- }
156
-
157
- h4 {
158
- --cirth-font-size: 1.25rem;
159
- --cirth-line-height: 1.2;
160
- --cirth-typography-spacing-top: 1.874rem;
161
- }
162
-
163
- h5 {
164
- --cirth-font-size: 1.125rem;
165
- --cirth-line-height: 1.225;
166
- --cirth-typography-spacing-top: 1.6875rem;
167
- }
168
-
169
- h6 {
170
- --cirth-font-size: 1rem;
171
- --cirth-line-height: 1.25;
172
- --cirth-typography-spacing-top: 1.5rem;
173
- }
174
-
175
- thead th, thead td, tfoot th, tfoot td {
176
- --cirth-font-weight: 600;
177
- --cirth-border-width: .1875rem;
178
- }
179
-
180
- pre, code, kbd, samp {
181
- --cirth-font-family: var(--cirth-font-family-monospace);
182
- }
183
-
184
- kbd {
185
- --cirth-font-weight: bolder;
186
- }
187
-
188
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
189
- --cirth-outline-width: .0625rem;
190
- }
191
-
192
- :where(select, textarea) {
193
- --cirth-outline-width: .0625rem;
194
- }
195
-
196
- [type="search"] {
197
- --cirth-border-radius: 5rem;
198
- }
199
-
200
- [type="checkbox"] {
201
- --cirth-border-width: .125rem;
202
- }
203
-
204
- [type="radio"] {
205
- --cirth-border-width: .125rem;
206
- }
207
-
208
- [type="checkbox"][role="switch"] {
209
- --cirth-border-width: .1875rem;
210
- }
211
-
212
- [role="search"] {
213
- --cirth-border-radius: 5rem;
214
- }
215
-
216
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
217
- --cirth-form-element-spacing-horizontal: 2rem;
218
- }
219
-
220
- [role="search"] [type="submit"] {
221
- --cirth-form-element-spacing-horizontal: 2rem;
222
- }
223
-
224
- [role="search"] [type="button"] {
225
- --cirth-form-element-spacing-horizontal: 2rem;
226
- }
227
-
228
- [role="group"] [type="submit"] {
229
- --cirth-form-element-spacing-horizontal: 2rem;
230
- }
231
-
232
- [role="group"] [type="button"] {
233
- --cirth-form-element-spacing-horizontal: 2rem;
234
- }
235
-
236
- details summary[role="button"]:after {
237
- filter: brightness(0) invert();
238
- }
239
-
240
- [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
241
- filter: brightness(0) invert();
242
- }
243
-
244
- [data-theme="light"], :root:not([data-theme="dark"]) {
245
- --lightningcss-light: initial;
246
- --lightningcss-dark: ;
247
- color-scheme: light;
248
- --cirth-background-color: #fff;
249
- --cirth-color: #373c44;
250
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
251
- --cirth-muted-color: #646b79;
252
- --cirth-muted-border-color: #e7eaf0;
253
- --cirth-primary: #0172ad;
254
- --cirth-primary-background: #0172ad;
255
- --cirth-primary-border: var(--cirth-primary-background);
256
- --cirth-primary-underline: rgba(1, 114, 173, .5);
257
- --cirth-primary-hover: #015887;
258
- --cirth-primary-hover-background: #02659a;
259
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
260
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
261
- --cirth-primary-focus: rgba(2, 154, 232, .5);
262
- --cirth-primary-inverse: #fff;
263
- --cirth-secondary: #5d6b89;
264
- --cirth-secondary-background: #525f7a;
265
- --cirth-secondary-border: var(--cirth-secondary-background);
266
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
267
- --cirth-secondary-hover: #48536b;
268
- --cirth-secondary-hover-background: #48536b;
269
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
270
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
271
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
272
- --cirth-secondary-inverse: #fff;
273
- --cirth-contrast: #181c25;
274
- --cirth-contrast-background: #181c25;
275
- --cirth-contrast-border: var(--cirth-contrast-background);
276
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
277
- --cirth-contrast-hover: #000;
278
- --cirth-contrast-hover-background: #000;
279
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
280
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
281
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
282
- --cirth-contrast-inverse: #fff;
283
- --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);
284
- --cirth-h1-color: #2d3138;
285
- --cirth-h2-color: #373c44;
286
- --cirth-h3-color: #424751;
287
- --cirth-h4-color: #4d535e;
288
- --cirth-h5-color: #5c6370;
289
- --cirth-h6-color: #646b79;
290
- --cirth-mark-background-color: #fde7c0;
291
- --cirth-mark-color: #0f1114;
292
- --cirth-ins-color: #1d6a54;
293
- --cirth-del-color: #883935;
294
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
295
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
296
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
297
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
298
- --cirth-table-border-color: var(--cirth-muted-border-color);
299
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
300
- --cirth-code-background-color: #f3f5f7;
301
- --cirth-code-color: #646b79;
302
- --cirth-code-kbd-background-color: var(--cirth-color);
303
- --cirth-code-kbd-color: var(--cirth-background-color);
304
- --cirth-form-element-background-color: #fbfcfc;
305
- --cirth-form-element-selected-background-color: #dfe3eb;
306
- --cirth-form-element-border-color: #cfd5e2;
307
- --cirth-form-element-color: #23262c;
308
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
309
- --cirth-form-element-active-background-color: #fff;
310
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
311
- --cirth-form-element-focus-color: var(--cirth-primary-border);
312
- --cirth-form-element-disabled-opacity: .5;
313
- --cirth-form-element-invalid-border-color: #b86a6b;
314
- --cirth-form-element-invalid-active-border-color: #c84f48;
315
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
316
- --cirth-form-element-valid-border-color: #4c9b8a;
317
- --cirth-form-element-valid-active-border-color: #279977;
318
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
319
- --cirth-switch-background-color: #bfc7d9;
320
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
321
- --cirth-switch-color: #fff;
322
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
323
- --cirth-range-border-color: #dfe3eb;
324
- --cirth-range-active-border-color: #bfc7d9;
325
- --cirth-range-thumb-border-color: var(--cirth-background-color);
326
- --cirth-range-thumb-color: var(--cirth-secondary-background);
327
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
328
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
329
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
330
- --cirth-accordion-close-summary-color: var(--cirth-color);
331
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
332
- --cirth-card-background-color: var(--cirth-background-color);
333
- --cirth-card-border-color: var(--cirth-muted-border-color);
334
- --cirth-card-box-shadow: var(--cirth-box-shadow);
335
- --cirth-card-sectioning-background-color: #fbfcfc;
336
- --cirth-loading-spinner-opacity: .5;
337
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
338
- --cirth-progress-background-color: #dfe3eb;
339
- --cirth-progress-color: var(--cirth-primary-background);
340
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
341
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
342
- --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");
343
- --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");
344
- }
345
-
346
- :host(:not([data-theme="dark"])) {
347
- --lightningcss-light: initial;
348
- --lightningcss-dark: ;
349
- color-scheme: light;
350
- --cirth-background-color: #fff;
351
- --cirth-color: #373c44;
352
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
353
- --cirth-muted-color: #646b79;
354
- --cirth-muted-border-color: #e7eaf0;
355
- --cirth-primary: #0172ad;
356
- --cirth-primary-background: #0172ad;
357
- --cirth-primary-border: var(--cirth-primary-background);
358
- --cirth-primary-underline: rgba(1, 114, 173, .5);
359
- --cirth-primary-hover: #015887;
360
- --cirth-primary-hover-background: #02659a;
361
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
362
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
363
- --cirth-primary-focus: rgba(2, 154, 232, .5);
364
- --cirth-primary-inverse: #fff;
365
- --cirth-secondary: #5d6b89;
366
- --cirth-secondary-background: #525f7a;
367
- --cirth-secondary-border: var(--cirth-secondary-background);
368
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
369
- --cirth-secondary-hover: #48536b;
370
- --cirth-secondary-hover-background: #48536b;
371
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
372
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
373
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
374
- --cirth-secondary-inverse: #fff;
375
- --cirth-contrast: #181c25;
376
- --cirth-contrast-background: #181c25;
377
- --cirth-contrast-border: var(--cirth-contrast-background);
378
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
379
- --cirth-contrast-hover: #000;
380
- --cirth-contrast-hover-background: #000;
381
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
382
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
383
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
384
- --cirth-contrast-inverse: #fff;
385
- --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);
386
- --cirth-h1-color: #2d3138;
387
- --cirth-h2-color: #373c44;
388
- --cirth-h3-color: #424751;
389
- --cirth-h4-color: #4d535e;
390
- --cirth-h5-color: #5c6370;
391
- --cirth-h6-color: #646b79;
392
- --cirth-mark-background-color: #fde7c0;
393
- --cirth-mark-color: #0f1114;
394
- --cirth-ins-color: #1d6a54;
395
- --cirth-del-color: #883935;
396
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
397
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
398
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
399
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
400
- --cirth-table-border-color: var(--cirth-muted-border-color);
401
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
402
- --cirth-code-background-color: #f3f5f7;
403
- --cirth-code-color: #646b79;
404
- --cirth-code-kbd-background-color: var(--cirth-color);
405
- --cirth-code-kbd-color: var(--cirth-background-color);
406
- --cirth-form-element-background-color: #fbfcfc;
407
- --cirth-form-element-selected-background-color: #dfe3eb;
408
- --cirth-form-element-border-color: #cfd5e2;
409
- --cirth-form-element-color: #23262c;
410
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
411
- --cirth-form-element-active-background-color: #fff;
412
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
413
- --cirth-form-element-focus-color: var(--cirth-primary-border);
414
- --cirth-form-element-disabled-opacity: .5;
415
- --cirth-form-element-invalid-border-color: #b86a6b;
416
- --cirth-form-element-invalid-active-border-color: #c84f48;
417
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
418
- --cirth-form-element-valid-border-color: #4c9b8a;
419
- --cirth-form-element-valid-active-border-color: #279977;
420
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
421
- --cirth-switch-background-color: #bfc7d9;
422
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
423
- --cirth-switch-color: #fff;
424
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
425
- --cirth-range-border-color: #dfe3eb;
426
- --cirth-range-active-border-color: #bfc7d9;
427
- --cirth-range-thumb-border-color: var(--cirth-background-color);
428
- --cirth-range-thumb-color: var(--cirth-secondary-background);
429
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
430
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
431
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
432
- --cirth-accordion-close-summary-color: var(--cirth-color);
433
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
434
- --cirth-card-background-color: var(--cirth-background-color);
435
- --cirth-card-border-color: var(--cirth-muted-border-color);
436
- --cirth-card-box-shadow: var(--cirth-box-shadow);
437
- --cirth-card-sectioning-background-color: #fbfcfc;
438
- --cirth-loading-spinner-opacity: .5;
439
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
440
- --cirth-progress-background-color: #dfe3eb;
441
- --cirth-progress-color: var(--cirth-primary-background);
442
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
443
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
444
- --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");
445
- --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");
446
- }
447
-
448
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
449
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
450
- }
451
-
452
- :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
453
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
454
- }
455
-
456
- :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
457
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
458
- }
459
-
460
- @media only screen and (prefers-color-scheme: dark) {
461
- :root:not([data-theme]) {
462
- --lightningcss-light: ;
463
- --lightningcss-dark: initial;
464
- color-scheme: dark;
465
- --cirth-background-color: #13171f;
466
- --cirth-color: #c2c7d0;
467
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
468
- --cirth-muted-color: #7b8495;
469
- --cirth-muted-border-color: #202632;
470
- --cirth-primary: #01aaff;
471
- --cirth-primary-background: #0172ad;
472
- --cirth-primary-border: var(--cirth-primary-background);
473
- --cirth-primary-underline: rgba(1, 170, 255, .5);
474
- --cirth-primary-hover: #79c0ff;
475
- --cirth-primary-hover-background: #017fc0;
476
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
477
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
478
- --cirth-primary-focus: rgba(1, 170, 255, .376);
479
- --cirth-primary-inverse: #fff;
480
- --cirth-secondary: #969eaf;
481
- --cirth-secondary-background: #525f7a;
482
- --cirth-secondary-border: var(--cirth-secondary-background);
483
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
484
- --cirth-secondary-hover: #b3b9c5;
485
- --cirth-secondary-hover-background: #5d6b89;
486
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
487
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
488
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
489
- --cirth-secondary-inverse: #fff;
490
- --cirth-contrast: #dfe3eb;
491
- --cirth-contrast-background: #eff1f4;
492
- --cirth-contrast-border: var(--cirth-contrast-background);
493
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
494
- --cirth-contrast-hover: #fff;
495
- --cirth-contrast-hover-background: #fff;
496
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
497
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
498
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
499
- --cirth-contrast-inverse: #000;
500
- --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);
501
- --cirth-h1-color: #f0f1f3;
502
- --cirth-h2-color: #e0e3e7;
503
- --cirth-h3-color: #c2c7d0;
504
- --cirth-h4-color: #b3b9c5;
505
- --cirth-h5-color: #a4acba;
506
- --cirth-h6-color: #8891a4;
507
- --cirth-mark-background-color: #014063;
508
- --cirth-mark-color: #fff;
509
- --cirth-ins-color: #62af9a;
510
- --cirth-del-color: #ce7e7b;
511
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
512
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
513
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
514
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
515
- --cirth-table-border-color: var(--cirth-muted-border-color);
516
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
517
- --cirth-code-background-color: #1a1f28;
518
- --cirth-code-color: #8891a4;
519
- --cirth-code-kbd-background-color: var(--cirth-color);
520
- --cirth-code-kbd-color: var(--cirth-background-color);
521
- --cirth-form-element-background-color: #1c212c;
522
- --cirth-form-element-selected-background-color: #2a3140;
523
- --cirth-form-element-border-color: #2a3140;
524
- --cirth-form-element-color: #e0e3e7;
525
- --cirth-form-element-placeholder-color: #8891a4;
526
- --cirth-form-element-active-background-color: #1a1f28;
527
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
528
- --cirth-form-element-focus-color: var(--cirth-primary-border);
529
- --cirth-form-element-disabled-opacity: .5;
530
- --cirth-form-element-invalid-border-color: #964a50;
531
- --cirth-form-element-invalid-active-border-color: #b7403b;
532
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
533
- --cirth-form-element-valid-border-color: #2a7b6f;
534
- --cirth-form-element-valid-active-border-color: #16896a;
535
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
536
- --cirth-switch-background-color: #333c4e;
537
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
538
- --cirth-switch-color: #fff;
539
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
540
- --cirth-range-border-color: #202632;
541
- --cirth-range-active-border-color: #2a3140;
542
- --cirth-range-thumb-border-color: var(--cirth-background-color);
543
- --cirth-range-thumb-color: var(--cirth-secondary-background);
544
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
545
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
546
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
547
- --cirth-accordion-close-summary-color: var(--cirth-color);
548
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
549
- --cirth-card-background-color: #181c25;
550
- --cirth-card-border-color: var(--cirth-card-background-color);
551
- --cirth-card-box-shadow: var(--cirth-box-shadow);
552
- --cirth-card-sectioning-background-color: #1a1f28;
553
- --cirth-loading-spinner-opacity: .5;
554
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
555
- --cirth-progress-background-color: #202632;
556
- --cirth-progress-color: var(--cirth-primary-background);
557
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
558
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
559
- --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");
560
- --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");
561
- }
562
-
563
- :host(:not([data-theme])) {
564
- --lightningcss-light: ;
565
- --lightningcss-dark: initial;
566
- color-scheme: dark;
567
- --cirth-background-color: #13171f;
568
- --cirth-color: #c2c7d0;
569
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
570
- --cirth-muted-color: #7b8495;
571
- --cirth-muted-border-color: #202632;
572
- --cirth-primary: #01aaff;
573
- --cirth-primary-background: #0172ad;
574
- --cirth-primary-border: var(--cirth-primary-background);
575
- --cirth-primary-underline: rgba(1, 170, 255, .5);
576
- --cirth-primary-hover: #79c0ff;
577
- --cirth-primary-hover-background: #017fc0;
578
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
579
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
580
- --cirth-primary-focus: rgba(1, 170, 255, .376);
581
- --cirth-primary-inverse: #fff;
582
- --cirth-secondary: #969eaf;
583
- --cirth-secondary-background: #525f7a;
584
- --cirth-secondary-border: var(--cirth-secondary-background);
585
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
586
- --cirth-secondary-hover: #b3b9c5;
587
- --cirth-secondary-hover-background: #5d6b89;
588
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
589
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
590
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
591
- --cirth-secondary-inverse: #fff;
592
- --cirth-contrast: #dfe3eb;
593
- --cirth-contrast-background: #eff1f4;
594
- --cirth-contrast-border: var(--cirth-contrast-background);
595
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
596
- --cirth-contrast-hover: #fff;
597
- --cirth-contrast-hover-background: #fff;
598
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
599
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
600
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
601
- --cirth-contrast-inverse: #000;
602
- --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);
603
- --cirth-h1-color: #f0f1f3;
604
- --cirth-h2-color: #e0e3e7;
605
- --cirth-h3-color: #c2c7d0;
606
- --cirth-h4-color: #b3b9c5;
607
- --cirth-h5-color: #a4acba;
608
- --cirth-h6-color: #8891a4;
609
- --cirth-mark-background-color: #014063;
610
- --cirth-mark-color: #fff;
611
- --cirth-ins-color: #62af9a;
612
- --cirth-del-color: #ce7e7b;
613
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
614
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
615
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
616
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
617
- --cirth-table-border-color: var(--cirth-muted-border-color);
618
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
619
- --cirth-code-background-color: #1a1f28;
620
- --cirth-code-color: #8891a4;
621
- --cirth-code-kbd-background-color: var(--cirth-color);
622
- --cirth-code-kbd-color: var(--cirth-background-color);
623
- --cirth-form-element-background-color: #1c212c;
624
- --cirth-form-element-selected-background-color: #2a3140;
625
- --cirth-form-element-border-color: #2a3140;
626
- --cirth-form-element-color: #e0e3e7;
627
- --cirth-form-element-placeholder-color: #8891a4;
628
- --cirth-form-element-active-background-color: #1a1f28;
629
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
630
- --cirth-form-element-focus-color: var(--cirth-primary-border);
631
- --cirth-form-element-disabled-opacity: .5;
632
- --cirth-form-element-invalid-border-color: #964a50;
633
- --cirth-form-element-invalid-active-border-color: #b7403b;
634
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
635
- --cirth-form-element-valid-border-color: #2a7b6f;
636
- --cirth-form-element-valid-active-border-color: #16896a;
637
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
638
- --cirth-switch-background-color: #333c4e;
639
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
640
- --cirth-switch-color: #fff;
641
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
642
- --cirth-range-border-color: #202632;
643
- --cirth-range-active-border-color: #2a3140;
644
- --cirth-range-thumb-border-color: var(--cirth-background-color);
645
- --cirth-range-thumb-color: var(--cirth-secondary-background);
646
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
647
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
648
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
649
- --cirth-accordion-close-summary-color: var(--cirth-color);
650
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
651
- --cirth-card-background-color: #181c25;
652
- --cirth-card-border-color: var(--cirth-card-background-color);
653
- --cirth-card-box-shadow: var(--cirth-box-shadow);
654
- --cirth-card-sectioning-background-color: #1a1f28;
655
- --cirth-loading-spinner-opacity: .5;
656
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
657
- --cirth-progress-background-color: #202632;
658
- --cirth-progress-color: var(--cirth-primary-background);
659
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
660
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
661
- --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");
662
- --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");
663
- }
664
-
665
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
666
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
667
- }
668
-
669
- :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
670
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
671
- }
672
- }
673
-
674
- [data-theme="dark"] {
675
- --lightningcss-light: ;
676
- --lightningcss-dark: initial;
677
- color-scheme: dark;
678
- --cirth-background-color: #13171f;
679
- --cirth-color: #c2c7d0;
680
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
681
- --cirth-muted-color: #7b8495;
682
- --cirth-muted-border-color: #202632;
683
- --cirth-primary: #01aaff;
684
- --cirth-primary-background: #0172ad;
685
- --cirth-primary-border: var(--cirth-primary-background);
686
- --cirth-primary-underline: rgba(1, 170, 255, .5);
687
- --cirth-primary-hover: #79c0ff;
688
- --cirth-primary-hover-background: #017fc0;
689
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
690
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
691
- --cirth-primary-focus: rgba(1, 170, 255, .376);
692
- --cirth-primary-inverse: #fff;
693
- --cirth-secondary: #969eaf;
694
- --cirth-secondary-background: #525f7a;
695
- --cirth-secondary-border: var(--cirth-secondary-background);
696
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
697
- --cirth-secondary-hover: #b3b9c5;
698
- --cirth-secondary-hover-background: #5d6b89;
699
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
700
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
701
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
702
- --cirth-secondary-inverse: #fff;
703
- --cirth-contrast: #dfe3eb;
704
- --cirth-contrast-background: #eff1f4;
705
- --cirth-contrast-border: var(--cirth-contrast-background);
706
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
707
- --cirth-contrast-hover: #fff;
708
- --cirth-contrast-hover-background: #fff;
709
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
710
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
711
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
712
- --cirth-contrast-inverse: #000;
713
- --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);
714
- --cirth-h1-color: #f0f1f3;
715
- --cirth-h2-color: #e0e3e7;
716
- --cirth-h3-color: #c2c7d0;
717
- --cirth-h4-color: #b3b9c5;
718
- --cirth-h5-color: #a4acba;
719
- --cirth-h6-color: #8891a4;
720
- --cirth-mark-background-color: #014063;
721
- --cirth-mark-color: #fff;
722
- --cirth-ins-color: #62af9a;
723
- --cirth-del-color: #ce7e7b;
724
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
725
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
726
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
727
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
728
- --cirth-table-border-color: var(--cirth-muted-border-color);
729
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
730
- --cirth-code-background-color: #1a1f28;
731
- --cirth-code-color: #8891a4;
732
- --cirth-code-kbd-background-color: var(--cirth-color);
733
- --cirth-code-kbd-color: var(--cirth-background-color);
734
- --cirth-form-element-background-color: #1c212c;
735
- --cirth-form-element-selected-background-color: #2a3140;
736
- --cirth-form-element-border-color: #2a3140;
737
- --cirth-form-element-color: #e0e3e7;
738
- --cirth-form-element-placeholder-color: #8891a4;
739
- --cirth-form-element-active-background-color: #1a1f28;
740
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
741
- --cirth-form-element-focus-color: var(--cirth-primary-border);
742
- --cirth-form-element-disabled-opacity: .5;
743
- --cirth-form-element-invalid-border-color: #964a50;
744
- --cirth-form-element-invalid-active-border-color: #b7403b;
745
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
746
- --cirth-form-element-valid-border-color: #2a7b6f;
747
- --cirth-form-element-valid-active-border-color: #16896a;
748
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
749
- --cirth-switch-background-color: #333c4e;
750
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
751
- --cirth-switch-color: #fff;
752
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
753
- --cirth-range-border-color: #202632;
754
- --cirth-range-active-border-color: #2a3140;
755
- --cirth-range-thumb-border-color: var(--cirth-background-color);
756
- --cirth-range-thumb-color: var(--cirth-secondary-background);
757
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
758
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
759
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
760
- --cirth-accordion-close-summary-color: var(--cirth-color);
761
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
762
- --cirth-card-background-color: #181c25;
763
- --cirth-card-border-color: var(--cirth-card-background-color);
764
- --cirth-card-box-shadow: var(--cirth-box-shadow);
765
- --cirth-card-sectioning-background-color: #1a1f28;
766
- --cirth-loading-spinner-opacity: .5;
767
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
768
- --cirth-progress-background-color: #202632;
769
- --cirth-progress-color: var(--cirth-primary-background);
770
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
771
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
772
- --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");
773
- --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");
774
- }
775
-
776
- [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
777
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
778
- }
779
-
780
- progress {
781
- accent-color: var(--cirth-primary);
782
- }
783
-
784
- [type="checkbox"] {
785
- accent-color: var(--cirth-primary);
786
- }
787
-
788
- [type="radio"] {
789
- accent-color: var(--cirth-primary);
790
- }
791
-
792
- [type="range"] {
793
- accent-color: var(--cirth-primary);
794
- }
795
-
796
1
  *, :before, :after {
797
2
  box-sizing: border-box;
798
3
  background-repeat: no-repeat;
@@ -804,24 +9,7 @@ progress {
804
9
  vertical-align: inherit;
805
10
  }
806
11
 
807
- :where(:root) {
808
- -webkit-tap-highlight-color: transparent;
809
- -webkit-text-size-adjust: 100%;
810
- -moz-text-size-adjust: 100%;
811
- text-size-adjust: 100%;
812
- background-color: var(--cirth-background-color);
813
- color: var(--cirth-color);
814
- font-weight: var(--cirth-font-weight);
815
- font-size: var(--cirth-font-size);
816
- line-height: var(--cirth-line-height);
817
- font-family: var(--cirth-font-family);
818
- text-underline-offset: var(--cirth-text-underline-offset);
819
- text-rendering: optimizelegibility;
820
- overflow-wrap: break-word;
821
- tab-size: 4;
822
- }
823
-
824
- :where(:host) {
12
+ :where(:root), :where(:host) {
825
13
  -webkit-tap-highlight-color: transparent;
826
14
  -webkit-text-size-adjust: 100%;
827
15
  -moz-text-size-adjust: 100%;
@@ -854,7 +42,7 @@ body > header, body > main, body > footer {
854
42
  margin-right: auto;
855
43
  }
856
44
 
857
- @media (width >= 576px) {
45
+ @media (min-width: 576px) {
858
46
  body > header, body > main, body > footer {
859
47
  max-width: 510px;
860
48
  padding-left: 0;
@@ -862,25 +50,25 @@ body > header, body > main, body > footer {
862
50
  }
863
51
  }
864
52
 
865
- @media (width >= 768px) {
53
+ @media (min-width: 768px) {
866
54
  body > header, body > main, body > footer {
867
55
  max-width: 700px;
868
56
  }
869
57
  }
870
58
 
871
- @media (width >= 1024px) {
59
+ @media (min-width: 1024px) {
872
60
  body > header, body > main, body > footer {
873
61
  max-width: 950px;
874
62
  }
875
63
  }
876
64
 
877
- @media (width >= 1280px) {
65
+ @media (min-width: 1280px) {
878
66
  body > header, body > main, body > footer {
879
67
  max-width: 1200px;
880
68
  }
881
69
  }
882
70
 
883
- @media (width >= 1536px) {
71
+ @media (min-width: 1536px) {
884
72
  body > header, body > main, body > footer {
885
73
  max-width: 1450px;
886
74
  }
@@ -917,6 +105,10 @@ address, blockquote, dl, ol, p, pre, table, ul {
917
105
  font-weight: var(--cirth-font-weight);
918
106
  }
919
107
 
108
+ p {
109
+ text-wrap: pretty;
110
+ }
111
+
920
112
  h1, h2, h3, h4, h5, h6 {
921
113
  margin-top: 0;
922
114
  margin-bottom: var(--cirth-typography-spacing-vertical);
@@ -924,7 +116,9 @@ h1, h2, h3, h4, h5, h6 {
924
116
  font-weight: var(--cirth-font-weight);
925
117
  font-size: var(--cirth-font-size);
926
118
  line-height: var(--cirth-line-height);
927
- font-family: var(--cirth-font-family);
119
+ font-family: var(--cirth-font-family-display);
120
+ letter-spacing: var(--cirth-letter-spacing, normal);
121
+ text-wrap: balance;
928
122
  }
929
123
 
930
124
  h1 {
@@ -967,7 +161,7 @@ hgroup > * {
967
161
  hgroup > :not(:first-child):last-child {
968
162
  --cirth-color: var(--cirth-muted-color);
969
163
  --cirth-font-weight: unset;
970
- font-size: 1rem;
164
+ font-size: var(--cirth-font-size-md);
971
165
  }
972
166
 
973
167
  :where(ol, ul) li {
@@ -984,18 +178,18 @@ ul li {
984
178
  }
985
179
 
986
180
  mark {
181
+ padding: 0 var(--cirth-space-1);
987
182
  background-color: var(--cirth-mark-background-color);
988
183
  color: var(--cirth-mark-color);
989
184
  vertical-align: baseline;
990
- padding: .125rem .25rem;
991
185
  }
992
186
 
993
187
  blockquote {
994
188
  margin: var(--cirth-typography-spacing-vertical) 0;
995
189
  padding: var(--cirth-spacing);
996
190
  border-right: none;
997
- border-left: .25rem solid var(--cirth-blockquote-border-color);
998
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
191
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
192
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
999
193
  border-inline-end: none;
1000
194
  display: block;
1001
195
  }
@@ -1006,8 +200,8 @@ blockquote footer {
1006
200
  }
1007
201
 
1008
202
  abbr[title] {
203
+ border-bottom: var(--cirth-border-width-1) dotted;
1009
204
  cursor: help;
1010
- border-bottom: 1px dotted;
1011
205
  text-decoration: none;
1012
206
  }
1013
207
 
@@ -1024,22 +218,7 @@ del {
1024
218
  background-color: var(--cirth-text-selection-color);
1025
219
  }
1026
220
 
1027
- [role="link"] {
1028
- --cirth-color: var(--cirth-primary);
1029
- --cirth-background-color: transparent;
1030
- --cirth-underline: var(--cirth-primary-underline);
1031
- background-color: var(--cirth-background-color);
1032
- color: var(--cirth-color);
1033
- -webkit-text-decoration: var(--cirth-text-decoration);
1034
- text-decoration: var(--cirth-text-decoration);
1035
- -webkit-text-decoration-color: var(--cirth-underline);
1036
- text-decoration-color: var(--cirth-underline);
1037
- text-underline-offset: .125em;
1038
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
1039
- outline: none;
1040
- }
1041
-
1042
- :where(a:not([role="button"])) {
221
+ :where(a:not([role="button"])), [role="link"] {
1043
222
  --cirth-color: var(--cirth-primary);
1044
223
  --cirth-background-color: transparent;
1045
224
  --cirth-underline: var(--cirth-primary-underline);
@@ -1054,24 +233,15 @@ del {
1054
233
  outline: none;
1055
234
  }
1056
235
 
1057
- :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
236
+ :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) {
1058
237
  --cirth-color: var(--cirth-primary-hover);
1059
238
  --cirth-underline: var(--cirth-primary-hover-underline);
1060
239
  --cirth-text-decoration: underline;
1061
240
  }
1062
241
 
1063
- [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1064
- --cirth-color: var(--cirth-primary-hover);
1065
- --cirth-underline: var(--cirth-primary-hover-underline);
1066
- --cirth-text-decoration: underline;
1067
- }
1068
-
1069
- :where(a:not([role="button"])):focus-visible {
1070
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1071
- }
1072
-
1073
- [role="link"]:focus-visible {
242
+ :where(a:not([role="button"])):focus-visible, [role="link"]:focus-visible {
1074
243
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
244
+ outline: var(--cirth-outline-width) solid transparent;
1075
245
  }
1076
246
 
1077
247
  a[role="button"] {
@@ -1080,86 +250,20 @@ a[role="button"] {
1080
250
 
1081
251
  button {
1082
252
  text-transform: none;
1083
- -webkit-appearance: button;
1084
253
  margin: 0;
1085
254
  font-family: inherit;
1086
255
  overflow: visible;
1087
256
  }
1088
257
 
1089
- button, [role="button"] {
1090
- --cirth-background-color: var(--cirth-primary-background);
1091
- --cirth-border-color: var(--cirth-primary-border);
1092
- --cirth-color: var(--cirth-primary-inverse);
1093
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1094
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1095
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1096
- border-radius: var(--cirth-border-radius);
1097
- background-color: var(--cirth-background-color);
1098
- box-shadow: var(--cirth-box-shadow);
1099
- color: var(--cirth-color);
1100
- font-weight: var(--cirth-font-weight);
1101
- font-size: 1rem;
1102
- line-height: var(--cirth-line-height);
1103
- text-align: center;
1104
- cursor: pointer;
1105
- -webkit-user-select: none;
1106
- user-select: none;
1107
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1108
- outline: none;
1109
- text-decoration: none;
1110
- }
1111
-
1112
- [type="submit"] {
1113
- --cirth-background-color: var(--cirth-primary-background);
1114
- --cirth-border-color: var(--cirth-primary-border);
1115
- --cirth-color: var(--cirth-primary-inverse);
1116
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1117
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1118
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1119
- border-radius: var(--cirth-border-radius);
1120
- background-color: var(--cirth-background-color);
1121
- box-shadow: var(--cirth-box-shadow);
1122
- color: var(--cirth-color);
1123
- font-weight: var(--cirth-font-weight);
1124
- font-size: 1rem;
1125
- line-height: var(--cirth-line-height);
1126
- text-align: center;
1127
- cursor: pointer;
1128
- -webkit-user-select: none;
1129
- user-select: none;
1130
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1131
- outline: none;
1132
- text-decoration: none;
1133
- }
1134
-
1135
- [type="reset"] {
1136
- --cirth-background-color: var(--cirth-primary-background);
1137
- --cirth-border-color: var(--cirth-primary-border);
1138
- --cirth-color: var(--cirth-primary-inverse);
1139
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1140
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1141
- border: var(--cirth-border-width) solid var(--cirth-border-color);
1142
- border-radius: var(--cirth-border-radius);
1143
- background-color: var(--cirth-background-color);
1144
- box-shadow: var(--cirth-box-shadow);
1145
- color: var(--cirth-color);
1146
- font-weight: var(--cirth-font-weight);
1147
- font-size: 1rem;
1148
- line-height: var(--cirth-line-height);
1149
- text-align: center;
1150
- cursor: pointer;
1151
- -webkit-user-select: none;
1152
- user-select: none;
1153
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1154
- outline: none;
1155
- text-decoration: none;
258
+ button, [type="submit"], [type="reset"], [type="button"] {
259
+ -webkit-appearance: button;
1156
260
  }
1157
261
 
1158
- [type="button"] {
262
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
1159
263
  --cirth-background-color: var(--cirth-primary-background);
1160
264
  --cirth-border-color: var(--cirth-primary-border);
1161
265
  --cirth-color: var(--cirth-primary-inverse);
1162
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
266
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1163
267
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1164
268
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1165
269
  border-radius: var(--cirth-border-radius);
@@ -1167,7 +271,7 @@ button, [role="button"] {
1167
271
  box-shadow: var(--cirth-box-shadow);
1168
272
  color: var(--cirth-color);
1169
273
  font-weight: var(--cirth-font-weight);
1170
- font-size: 1rem;
274
+ font-size: var(--cirth-font-size-md);
1171
275
  line-height: var(--cirth-line-height);
1172
276
  text-align: center;
1173
277
  cursor: pointer;
@@ -1182,7 +286,7 @@ button, [role="button"] {
1182
286
  --cirth-background-color: var(--cirth-primary-background);
1183
287
  --cirth-border-color: var(--cirth-primary-border);
1184
288
  --cirth-color: var(--cirth-primary-inverse);
1185
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
289
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
1186
290
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1187
291
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1188
292
  border-radius: var(--cirth-border-radius);
@@ -1190,7 +294,7 @@ button, [role="button"] {
1190
294
  box-shadow: var(--cirth-box-shadow);
1191
295
  color: var(--cirth-color);
1192
296
  font-weight: var(--cirth-font-weight);
1193
- font-size: 1rem;
297
+ font-size: var(--cirth-font-size-md);
1194
298
  line-height: var(--cirth-line-height);
1195
299
  text-align: center;
1196
300
  cursor: pointer;
@@ -1201,128 +305,54 @@ button, [role="button"] {
1201
305
  text-decoration: none;
1202
306
  }
1203
307
 
1204
- button[aria-current]:not([aria-current="false"]), [role="button"][aria-current]:not([aria-current="false"]) {
1205
- --cirth-background-color: var(--cirth-primary-hover-background);
1206
- --cirth-border-color: var(--cirth-primary-hover-border);
1207
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1208
- --cirth-color: var(--cirth-primary-inverse);
1209
- }
1210
-
1211
- button:is(:hover, :active, :focus) {
1212
- --cirth-background-color: var(--cirth-primary-hover-background);
1213
- --cirth-border-color: var(--cirth-primary-hover-border);
1214
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1215
- --cirth-color: var(--cirth-primary-inverse);
1216
- }
1217
-
1218
- [type="submit"][aria-current]:not([aria-current="false"]) {
1219
- --cirth-background-color: var(--cirth-primary-hover-background);
1220
- --cirth-border-color: var(--cirth-primary-hover-border);
1221
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1222
- --cirth-color: var(--cirth-primary-inverse);
1223
- }
1224
-
1225
- [type="submit"]:is(:hover, :active, :focus) {
1226
- --cirth-background-color: var(--cirth-primary-hover-background);
1227
- --cirth-border-color: var(--cirth-primary-hover-border);
1228
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1229
- --cirth-color: var(--cirth-primary-inverse);
1230
- }
1231
-
1232
- [type="reset"][aria-current]:not([aria-current="false"]) {
1233
- --cirth-background-color: var(--cirth-primary-hover-background);
1234
- --cirth-border-color: var(--cirth-primary-hover-border);
1235
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1236
- --cirth-color: var(--cirth-primary-inverse);
1237
- }
1238
-
1239
- [type="reset"]:is(:hover, :active, :focus) {
1240
- --cirth-background-color: var(--cirth-primary-hover-background);
1241
- --cirth-border-color: var(--cirth-primary-hover-border);
1242
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1243
- --cirth-color: var(--cirth-primary-inverse);
1244
- }
1245
-
1246
- [type="button"][aria-current]:not([aria-current="false"]) {
1247
- --cirth-background-color: var(--cirth-primary-hover-background);
1248
- --cirth-border-color: var(--cirth-primary-hover-border);
1249
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1250
- --cirth-color: var(--cirth-primary-inverse);
1251
- }
1252
-
1253
- [type="button"]:is(:hover, :active, :focus) {
308
+ 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) {
1254
309
  --cirth-background-color: var(--cirth-primary-hover-background);
1255
310
  --cirth-border-color: var(--cirth-primary-hover-border);
1256
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
311
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1257
312
  --cirth-color: var(--cirth-primary-inverse);
1258
313
  }
1259
314
 
1260
315
  [type="file"]::file-selector-button:is() {
1261
316
  --cirth-background-color: var(--cirth-primary-hover-background);
1262
317
  --cirth-border-color: var(--cirth-primary-hover-border);
1263
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
318
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1264
319
  --cirth-color: var(--cirth-primary-inverse);
1265
320
  }
1266
321
 
1267
322
  [type="file"]::file-selector-button:is(:hover, :active, :focus) {
1268
323
  --cirth-background-color: var(--cirth-primary-hover-background);
1269
324
  --cirth-border-color: var(--cirth-primary-hover-border);
1270
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
325
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
1271
326
  --cirth-color: var(--cirth-primary-inverse);
1272
327
  }
1273
328
 
1274
- [role="button"]:is(:hover, :active, :focus) {
1275
- --cirth-background-color: var(--cirth-primary-hover-background);
1276
- --cirth-border-color: var(--cirth-primary-hover-border);
1277
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1278
- --cirth-color: var(--cirth-primary-inverse);
1279
- }
1280
-
1281
- button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="button"]:focus, [role="button"][aria-current]:not([aria-current="false"]):focus {
1282
- --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);
1283
- }
1284
-
1285
- [type="submit"]:focus {
1286
- --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);
1287
- }
1288
-
1289
- [type="submit"][aria-current]:not([aria-current="false"]):focus {
1290
- --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);
1291
- }
1292
-
1293
- [type="reset"]:focus {
1294
- --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);
1295
- }
1296
-
1297
- [type="reset"][aria-current]:not([aria-current="false"]):focus {
1298
- --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);
1299
- }
1300
-
1301
- [type="button"]:focus {
1302
- --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);
1303
- }
1304
-
1305
- [type="button"][aria-current]:not([aria-current="false"]):focus {
1306
- --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);
329
+ button:active, [type="submit"]:active, [type="reset"]:active, [type="button"]:active, [role="button"]:active {
330
+ transform: translateY(.0625rem);
1307
331
  }
1308
332
 
1309
- [type="file"]::file-selector-button:focus {
1310
- --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);
333
+ [type="file"]::file-selector-button:active {
334
+ transform: translateY(.0625rem);
1311
335
  }
1312
336
 
1313
- [type="file"]::file-selector-button:is():focus {
1314
- --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);
337
+ 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 {
338
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
339
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
340
+ outline: var(--cirth-outline-width) solid transparent;
1315
341
  }
1316
342
 
1317
- [type="submit"] {
1318
- margin-bottom: var(--cirth-spacing);
343
+ [type="file"]::file-selector-button:focus-visible {
344
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
345
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
346
+ outline: var(--cirth-outline-width) solid transparent;
1319
347
  }
1320
348
 
1321
- [type="reset"] {
1322
- margin-bottom: var(--cirth-spacing);
349
+ [type="file"]::file-selector-button:is():focus-visible {
350
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
351
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
352
+ outline: var(--cirth-outline-width) solid transparent;
1323
353
  }
1324
354
 
1325
- [type="button"] {
355
+ [type="submit"], [type="reset"], [type="button"] {
1326
356
  margin-bottom: var(--cirth-spacing);
1327
357
  }
1328
358
 
@@ -1352,21 +382,18 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1352
382
  --cirth-color: var(--cirth-secondary-inverse);
1353
383
  }
1354
384
 
1355
- [type="reset"]:focus {
1356
- --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);
385
+ [type="reset"]:focus-visible {
386
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
387
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1357
388
  }
1358
389
 
1359
- [type="file"]::file-selector-button:focus {
1360
- --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);
1361
- }
1362
-
1363
- :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1364
- opacity: .5;
1365
- pointer-events: none;
390
+ [type="file"]::file-selector-button:focus-visible {
391
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
392
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1366
393
  }
1367
394
 
1368
- :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1369
- opacity: .5;
395
+ :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
396
+ opacity: var(--cirth-opacity-disabled);
1370
397
  pointer-events: none;
1371
398
  }
1372
399
 
@@ -1383,6 +410,7 @@ th, td {
1383
410
  background-color: var(--cirth-background-color);
1384
411
  color: var(--cirth-color);
1385
412
  font-weight: var(--cirth-font-weight);
413
+ font-variant-numeric: tabular-nums;
1386
414
  text-align: left;
1387
415
  text-align: start;
1388
416
  }
@@ -1423,11 +451,7 @@ img {
1423
451
  fill: currentColor;
1424
452
  }
1425
453
 
1426
- svg:not(:root) {
1427
- overflow: hidden;
1428
- }
1429
-
1430
- svg:not(:host) {
454
+ svg:not(:root), svg:not(:host) {
1431
455
  overflow: hidden;
1432
456
  }
1433
457
 
@@ -1455,7 +479,7 @@ pre, code, kbd, samp {
1455
479
  }
1456
480
 
1457
481
  code, kbd, samp {
1458
- padding: .375rem;
482
+ padding: var(--cirth-space-1) var(--cirth-space-2);
1459
483
  display: inline-block;
1460
484
  }
1461
485
 
@@ -1493,12 +517,12 @@ hr {
1493
517
  height: 0;
1494
518
  margin: var(--cirth-typography-spacing-vertical) 0;
1495
519
  border: 0;
1496
- border-top: 1px solid var(--cirth-muted-border-color);
520
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1497
521
  color: inherit;
1498
522
  }
1499
523
 
1500
524
  [hidden], template {
1501
- display: none !important;
525
+ display: none;
1502
526
  }
1503
527
 
1504
528
  canvas {
@@ -1506,7 +530,7 @@ canvas {
1506
530
  }
1507
531
 
1508
532
  input, optgroup, select, textarea {
1509
- font-size: 1rem;
533
+ font-size: var(--cirth-font-size-md);
1510
534
  line-height: var(--cirth-line-height);
1511
535
  letter-spacing: inherit;
1512
536
  margin: 0;
@@ -1532,11 +556,7 @@ textarea {
1532
556
  overflow: auto;
1533
557
  }
1534
558
 
1535
- [type="checkbox"] {
1536
- padding: 0;
1537
- }
1538
-
1539
- [type="radio"] {
559
+ [type="checkbox"], [type="radio"] {
1540
560
  padding: 0;
1541
561
  }
1542
562
 
@@ -1579,18 +599,13 @@ textarea {
1579
599
  display: none;
1580
600
  }
1581
601
 
1582
- [type="file"] {
1583
- border-width: 0;
1584
- padding: 0;
1585
- }
1586
-
1587
- [type="range"] {
602
+ [type="file"], [type="range"] {
1588
603
  border-width: 0;
1589
604
  padding: 0;
1590
605
  }
1591
606
 
1592
- input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1593
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
607
+ input:not([type="checkbox"], [type="radio"], [type="range"]) {
608
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1594
609
  }
1595
610
 
1596
611
  fieldset {
@@ -1602,7 +617,7 @@ fieldset {
1602
617
  }
1603
618
 
1604
619
  label, fieldset legend {
1605
- margin-bottom: calc(var(--cirth-spacing) * .375);
620
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1606
621
  color: var(--cirth-color);
1607
622
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
1608
623
  display: block;
@@ -1612,24 +627,11 @@ fieldset legend {
1612
627
  margin-bottom: calc(var(--cirth-spacing) * .5);
1613
628
  }
1614
629
 
1615
- select, textarea {
1616
- width: 100%;
1617
- }
1618
-
1619
- input:not(:is([type="checkbox"], [type="radio"])) {
630
+ input:not([type="checkbox"], [type="radio"]), button[type="submit"], select, textarea {
1620
631
  width: 100%;
1621
632
  }
1622
633
 
1623
- button[type="submit"] {
1624
- width: 100%;
1625
- }
1626
-
1627
- select, textarea {
1628
- appearance: none;
1629
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1630
- }
1631
-
1632
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
634
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea {
1633
635
  appearance: none;
1634
636
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1635
637
  }
@@ -1649,41 +651,21 @@ input, select, textarea {
1649
651
  outline: none;
1650
652
  }
1651
653
 
1652
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
1653
- --cirth-background-color: var(--cirth-form-element-active-background-color);
1654
- }
1655
-
1656
- :where(select, textarea):not([readonly]):is(:active, :focus) {
654
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
1657
655
  --cirth-background-color: var(--cirth-form-element-active-background-color);
1658
656
  }
1659
657
 
1660
- input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly])):is(:active, :focus) {
1661
- --cirth-border-color: var(--cirth-form-element-active-border-color);
1662
- }
1663
-
1664
- :where(select, textarea):not([readonly]):is(:active, :focus) {
658
+ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
1665
659
  --cirth-border-color: var(--cirth-form-element-active-border-color);
1666
660
  }
1667
661
 
1668
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1669
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1670
- }
1671
-
1672
- :where(select, textarea):not([readonly]):focus {
1673
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1674
- }
1675
-
1676
- select[disabled], textarea[disabled], label[aria-disabled="true"] {
1677
- opacity: var(--cirth-form-element-disabled-opacity);
1678
- pointer-events: none;
1679
- }
1680
-
1681
- input:not(:is([type="submit"], [type="button"], [type="reset"]))[disabled] {
1682
- opacity: var(--cirth-form-element-disabled-opacity);
1683
- pointer-events: none;
662
+ input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
663
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
664
+ var(--cirth-form-element-focus-color);
665
+ outline: var(--cirth-outline-width) solid transparent;
1684
666
  }
1685
667
 
1686
- :where(fieldset[disabled]) :is(input:not(:is([type="submit"], [type="button"], [type="reset"])), select, textarea) {
668
+ 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) {
1687
669
  opacity: var(--cirth-form-element-disabled-opacity);
1688
670
  pointer-events: none;
1689
671
  }
@@ -1692,21 +674,21 @@ label[aria-disabled="true"] input[disabled] {
1692
674
  opacity: 1;
1693
675
  }
1694
676
 
1695
- :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] {
677
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
678
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1696
679
  padding-left: var(--cirth-form-element-spacing-horizontal);
1697
- background-position: right .75rem center;
680
+ background-position: center right var(--cirth-space-3);
681
+ background-size: var(--cirth-size-4) auto;
1698
682
  background-repeat: no-repeat;
1699
- background-size: 1rem;
1700
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1701
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1702
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
683
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
684
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1703
685
  }
1704
686
 
1705
- :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) {
687
+ :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) {
1706
688
  background-image: var(--cirth-icon-valid);
1707
689
  }
1708
690
 
1709
- :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) {
691
+ :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) {
1710
692
  background-image: var(--cirth-icon-invalid);
1711
693
  }
1712
694
 
@@ -1715,11 +697,12 @@ label[aria-disabled="true"] input[disabled] {
1715
697
  }
1716
698
 
1717
699
  :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1718
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
700
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1719
701
  }
1720
702
 
1721
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1722
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
703
+ :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
704
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
705
+ var(--cirth-form-element-valid-focus-color);
1723
706
  }
1724
707
 
1725
708
  :where(input, select, textarea)[aria-invalid="true"] {
@@ -1727,23 +710,19 @@ label[aria-disabled="true"] input[disabled] {
1727
710
  }
1728
711
 
1729
712
  :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1730
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
1731
- }
1732
-
1733
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1734
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
713
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1735
714
  }
1736
715
 
1737
- [dir="rtl"] :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1738
- background-position: .75rem;
716
+ :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
717
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
718
+ var(--cirth-form-element-invalid-focus-color);
1739
719
  }
1740
720
 
1741
- select:invalid {
1742
- color: var(--cirth-form-element-placeholder-color);
1743
- opacity: 1;
721
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
722
+ background-position: center left var(--cirth-space-3);
1744
723
  }
1745
724
 
1746
- input::placeholder {
725
+ input::placeholder, textarea::placeholder, select:invalid {
1747
726
  color: var(--cirth-form-element-placeholder-color);
1748
727
  opacity: 1;
1749
728
  }
@@ -1753,38 +732,29 @@ input::-webkit-input-placeholder {
1753
732
  opacity: 1;
1754
733
  }
1755
734
 
1756
- textarea::placeholder {
1757
- color: var(--cirth-form-element-placeholder-color);
1758
- opacity: 1;
1759
- }
1760
-
1761
735
  textarea::-webkit-input-placeholder {
1762
736
  color: var(--cirth-form-element-placeholder-color);
1763
737
  opacity: 1;
1764
738
  }
1765
739
 
1766
- select, textarea {
1767
- margin-bottom: var(--cirth-spacing);
1768
- }
1769
-
1770
- input:not(:is([type="checkbox"], [type="radio"])) {
740
+ input:not([type="checkbox"], [type="radio"]), select, textarea {
1771
741
  margin-bottom: var(--cirth-spacing);
1772
742
  }
1773
743
 
1774
744
  select::-ms-expand {
1775
- background-color: rgba(0, 0, 0, 0);
745
+ background-color: #0000;
1776
746
  border: 0;
1777
747
  }
1778
748
 
1779
- select:not(:is([multiple], [size])) {
1780
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
749
+ select:not([multiple], [size]) {
750
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1781
751
  padding-left: var(--cirth-form-element-spacing-horizontal);
1782
752
  background-image: var(--cirth-icon-chevron);
1783
- background-position: right .75rem center;
753
+ background-position: center right var(--cirth-space-3);
754
+ background-size: var(--cirth-size-4) auto;
1784
755
  background-repeat: no-repeat;
1785
- background-size: 1rem;
1786
756
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1787
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
757
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1788
758
  }
1789
759
 
1790
760
  select[multiple] option:checked {
@@ -1792,8 +762,8 @@ select[multiple] option:checked {
1792
762
  color: var(--cirth-form-element-color);
1793
763
  }
1794
764
 
1795
- [dir="rtl"] select:not(:is([multiple], [size])) {
1796
- background-position: .75rem;
765
+ [dir="rtl"] select:not([multiple], [size]) {
766
+ background-position: center left var(--cirth-space-3);
1797
767
  }
1798
768
 
1799
769
  textarea {
@@ -1802,9 +772,11 @@ textarea {
1802
772
  }
1803
773
 
1804
774
  textarea[aria-invalid] {
1805
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1806
- background-position: right .75rem top !important;
1807
- background-size: 1rem var(--cirth-icon-height) !important;
775
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
776
+ var(--cirth-form-element-spacing-vertical) * 2 +
777
+ var(--cirth-border-width) * 2);
778
+ background-position: top right var(--cirth-space-3);
779
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
1808
780
  }
1809
781
 
1810
782
  :where(input, select, textarea, fieldset) + small {
@@ -1832,25 +804,14 @@ label:has([type="checkbox"], [type="radio"]) {
1832
804
  width: fit-content;
1833
805
  }
1834
806
 
1835
- [type="checkbox"] {
1836
- appearance: none;
1837
- margin-top: -.125em;
1838
- border-width: var(--cirth-border-width);
1839
- vertical-align: middle;
1840
- cursor: pointer;
1841
- width: 1.25em;
1842
- height: 1.25em;
1843
- margin-inline-end: .5em;
1844
- }
1845
-
1846
- [type="radio"] {
807
+ [type="checkbox"], [type="radio"] {
1847
808
  appearance: none;
1848
809
  margin-top: -.125em;
1849
810
  border-width: var(--cirth-border-width);
1850
811
  vertical-align: middle;
1851
812
  cursor: pointer;
1852
- width: 1.25em;
1853
- height: 1.25em;
813
+ width: 1.5em;
814
+ height: 1.5em;
1854
815
  margin-inline-end: .5em;
1855
816
  }
1856
817
 
@@ -1862,77 +823,22 @@ label:has([type="checkbox"], [type="radio"]) {
1862
823
  display: none;
1863
824
  }
1864
825
 
1865
- [type="checkbox"]:checked {
1866
- --cirth-background-color: var(--cirth-primary-background);
1867
- --cirth-border-color: var(--cirth-primary-border);
1868
- background-image: var(--cirth-icon-checkbox);
1869
- background-position: center;
1870
- background-repeat: no-repeat;
1871
- background-size: .75em;
1872
- }
1873
-
1874
- [type="checkbox"]:checked:active {
1875
- --cirth-background-color: var(--cirth-primary-background);
1876
- --cirth-border-color: var(--cirth-primary-border);
1877
- background-image: var(--cirth-icon-checkbox);
1878
- background-position: center;
1879
- background-repeat: no-repeat;
1880
- background-size: .75em;
1881
- }
1882
-
1883
- [type="checkbox"]:checked:focus {
1884
- --cirth-background-color: var(--cirth-primary-background);
1885
- --cirth-border-color: var(--cirth-primary-border);
1886
- background-image: var(--cirth-icon-checkbox);
1887
- background-position: center;
1888
- background-repeat: no-repeat;
1889
- background-size: .75em;
1890
- }
1891
-
1892
- [type="radio"]:checked {
826
+ [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1893
827
  --cirth-background-color: var(--cirth-primary-background);
1894
828
  --cirth-border-color: var(--cirth-primary-border);
1895
829
  background-image: var(--cirth-icon-checkbox);
1896
830
  background-position: center;
1897
831
  background-repeat: no-repeat;
1898
- background-size: .75em;
832
+ background-size: .9em;
1899
833
  }
1900
834
 
1901
- [type="radio"]:checked:active {
1902
- --cirth-background-color: var(--cirth-primary-background);
1903
- --cirth-border-color: var(--cirth-primary-border);
1904
- background-image: var(--cirth-icon-checkbox);
1905
- background-position: center;
1906
- background-repeat: no-repeat;
1907
- background-size: .75em;
1908
- }
1909
-
1910
- [type="radio"]:checked:focus {
1911
- --cirth-background-color: var(--cirth-primary-background);
1912
- --cirth-border-color: var(--cirth-primary-border);
1913
- background-image: var(--cirth-icon-checkbox);
1914
- background-position: center;
1915
- background-repeat: no-repeat;
1916
- background-size: .75em;
1917
- }
1918
-
1919
- [type="checkbox"] ~ label {
1920
- cursor: pointer;
1921
- margin-bottom: 0;
1922
- display: inline-block;
1923
- }
1924
-
1925
- [type="radio"] ~ label {
835
+ [type="checkbox"] ~ label, [type="radio"] ~ label {
1926
836
  cursor: pointer;
1927
837
  margin-bottom: 0;
1928
838
  display: inline-block;
1929
839
  }
1930
840
 
1931
- [type="checkbox"] ~ label:not(:last-of-type) {
1932
- margin-inline-end: 1em;
1933
- }
1934
-
1935
- [type="radio"] ~ label:not(:last-of-type) {
841
+ [type="checkbox"] ~ label:not(:last-of-type), [type="radio"] ~ label:not(:last-of-type) {
1936
842
  margin-inline-end: 1em;
1937
843
  }
1938
844
 
@@ -1942,29 +848,17 @@ label:has([type="checkbox"], [type="radio"]) {
1942
848
  background-image: var(--cirth-icon-minus);
1943
849
  background-position: center;
1944
850
  background-repeat: no-repeat;
1945
- background-size: .75em;
851
+ background-size: .9em;
1946
852
  }
1947
853
 
1948
854
  [type="radio"] {
1949
855
  border-radius: 50%;
1950
856
  }
1951
857
 
1952
- [type="radio"]:checked {
1953
- --cirth-background-color: var(--cirth-primary-inverse);
1954
- background-image: none;
1955
- border-width: .35em;
1956
- }
1957
-
1958
- [type="radio"]:checked:active {
1959
- --cirth-background-color: var(--cirth-primary-inverse);
1960
- background-image: none;
1961
- border-width: .35em;
1962
- }
1963
-
1964
- [type="radio"]:checked:focus {
858
+ [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1965
859
  --cirth-background-color: var(--cirth-primary-inverse);
1966
860
  background-image: none;
1967
- border-width: .35em;
861
+ border-width: .42em;
1968
862
  }
1969
863
 
1970
864
  [type="checkbox"][role="switch"] {
@@ -1972,10 +866,10 @@ label:has([type="checkbox"], [type="radio"]) {
1972
866
  --cirth-color: var(--cirth-switch-color);
1973
867
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1974
868
  background-color: var(--cirth-background-color);
1975
- border-radius: 1.25em;
1976
- width: 2.25em;
1977
- height: 1.25em;
1978
- line-height: 1.25em;
869
+ border-radius: 1.5em;
870
+ width: 2.7em;
871
+ height: 1.5em;
872
+ line-height: 1.5em;
1979
873
  }
1980
874
 
1981
875
  [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -1988,8 +882,8 @@ label:has([type="checkbox"], [type="radio"]) {
1988
882
  height: 100%;
1989
883
  box-shadow: var(--cirth-switch-thumb-box-shadow);
1990
884
  content: "";
885
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
1991
886
  border-radius: 50%;
1992
- transition: margin .1s ease-in-out;
1993
887
  display: block;
1994
888
  }
1995
889
 
@@ -2005,130 +899,26 @@ label:has([type="checkbox"], [type="radio"]) {
2005
899
  }
2006
900
 
2007
901
  [type="checkbox"][role="switch"]:checked:before {
2008
- margin-inline-start: 1em;
902
+ margin-inline-start: 1.2em;
2009
903
  }
2010
904
 
2011
905
  [type="checkbox"][role="switch"][disabled] {
2012
906
  --cirth-background-color: var(--cirth-border-color);
2013
907
  }
2014
908
 
2015
- [type="checkbox"][aria-invalid="false"]:checked {
2016
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2017
- }
2018
-
2019
- [type="checkbox"][aria-invalid="false"]:checked:active {
2020
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2021
- }
2022
-
2023
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2024
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2025
- }
2026
-
2027
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2028
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2029
- }
2030
-
2031
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2032
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
2033
- }
2034
-
2035
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
909
+ [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 {
2036
910
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
2037
911
  }
2038
912
 
2039
- [type="checkbox"]:checked[aria-invalid="true"] {
2040
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2041
- }
2042
-
2043
- [type="checkbox"]:checked:active[aria-invalid="true"] {
913
+ [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"] {
2044
914
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2045
915
  }
2046
916
 
2047
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2048
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2049
- }
2050
-
2051
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2052
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2053
- }
2054
-
2055
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2056
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2057
- }
2058
-
2059
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2060
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
2061
- }
2062
-
2063
- [type="checkbox"][aria-invalid="false"]:checked {
2064
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2065
- }
2066
-
2067
- [type="checkbox"][aria-invalid="false"]:checked:active {
2068
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2069
- }
2070
-
2071
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2072
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2073
- }
2074
-
2075
- [type="radio"][aria-invalid="false"]:checked {
2076
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2077
- }
2078
-
2079
- [type="radio"][aria-invalid="false"]:checked:active {
2080
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2081
- }
2082
-
2083
- [type="radio"][aria-invalid="false"]:checked:focus {
2084
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2085
- }
2086
-
2087
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2088
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2089
- }
2090
-
2091
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2092
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
2093
- }
2094
-
2095
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
917
+ [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 {
2096
918
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
2097
919
  }
2098
920
 
2099
- [type="checkbox"]:checked[aria-invalid="true"] {
2100
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2101
- }
2102
-
2103
- [type="checkbox"]:checked:active[aria-invalid="true"] {
2104
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2105
- }
2106
-
2107
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2108
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2109
- }
2110
-
2111
- [type="radio"]:checked[aria-invalid="true"] {
2112
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2113
- }
2114
-
2115
- [type="radio"]:checked:active[aria-invalid="true"] {
2116
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2117
- }
2118
-
2119
- [type="radio"]:checked:focus[aria-invalid="true"] {
2120
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2121
- }
2122
-
2123
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2124
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2125
- }
2126
-
2127
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2128
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2129
- }
2130
-
2131
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
921
+ [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"] {
2132
922
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
2133
923
  }
2134
924
 
@@ -2150,9 +940,9 @@ label:has([type="checkbox"], [type="radio"]) {
2150
940
  border: 0;
2151
941
  }
2152
942
 
2153
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2154
- --cirth-icon-position: .75rem;
2155
- --cirth-icon-width: 1rem;
943
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
944
+ --cirth-icon-position: var(--cirth-space-3);
945
+ --cirth-icon-width: var(--cirth-size-4);
2156
946
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2157
947
  background-image: var(--cirth-icon-date);
2158
948
  background-position: center right var(--cirth-icon-position);
@@ -2160,7 +950,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2160
950
  background-repeat: no-repeat;
2161
951
  }
2162
952
 
2163
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
953
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
2164
954
  background-image: var(--cirth-icon-time);
2165
955
  }
2166
956
 
@@ -2200,29 +990,9 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2200
990
  }
2201
991
 
2202
992
  @-moz-document url-prefix() {
2203
- [type="date"] {
2204
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2205
- background-image: none !important;
2206
- }
2207
-
2208
- [type="datetime-local"] {
2209
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2210
- background-image: none !important;
2211
- }
2212
-
2213
- [type="month"] {
2214
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2215
- background-image: none !important;
2216
- }
2217
-
2218
- [type="time"] {
2219
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2220
- background-image: none !important;
2221
- }
2222
-
2223
- [type="week"] {
2224
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2225
- background-image: none !important;
993
+ [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"] {
994
+ padding-right: var(--cirth-form-element-spacing-horizontal);
995
+ background-image: none;
2226
996
  }
2227
997
  }
2228
998
 
@@ -2251,7 +1021,8 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2251
1021
  }
2252
1022
 
2253
1023
  [type="file"]:focus::file-selector-button {
2254
- --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);
1024
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1025
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
2255
1026
  }
2256
1027
 
2257
1028
  [type="range"] {
@@ -2287,7 +1058,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2287
1058
 
2288
1059
  [type="range"]::-webkit-slider-thumb {
2289
1060
  -webkit-appearance: none;
2290
- border: 2px solid var(--cirth-range-thumb-border-color);
1061
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2291
1062
  background-color: var(--cirth-range-thumb-color);
2292
1063
  cursor: pointer;
2293
1064
  width: 1.25rem;
@@ -2299,7 +1070,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2299
1070
 
2300
1071
  [type="range"]::-moz-range-thumb {
2301
1072
  -webkit-appearance: none;
2302
- border: 2px solid var(--cirth-range-thumb-border-color);
1073
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2303
1074
  background-color: var(--cirth-range-thumb-color);
2304
1075
  cursor: pointer;
2305
1076
  width: 1.25rem;
@@ -2311,7 +1082,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2311
1082
 
2312
1083
  [type="range"]::-ms-thumb {
2313
1084
  -webkit-appearance: none;
2314
- border: 2px solid var(--cirth-range-thumb-border-color);
1085
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2315
1086
  background-color: var(--cirth-range-thumb-color);
2316
1087
  cursor: pointer;
2317
1088
  width: 1.25rem;
@@ -2321,12 +1092,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2321
1092
  margin-top: -.4375rem;
2322
1093
  }
2323
1094
 
2324
- [type="range"]:active {
2325
- --cirth-range-border-color: var(--cirth-range-active-border-color);
2326
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2327
- }
2328
-
2329
- [type="range"]:focus-within {
1095
+ [type="range"]:active, [type="range"]:focus-within {
2330
1096
  --cirth-range-border-color: var(--cirth-range-active-border-color);
2331
1097
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2332
1098
  }
@@ -2343,33 +1109,33 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2343
1109
  transform: scale(1.25);
2344
1110
  }
2345
1111
 
2346
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1112
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
2347
1113
  background-image: var(--cirth-icon-search);
2348
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1114
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
2349
1115
  background-repeat: no-repeat;
2350
1116
  background-size: 1rem;
2351
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1117
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2352
1118
  }
2353
1119
 
2354
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2355
- background-position: 1.125rem, right .75rem center;
2356
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1120
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1121
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1122
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2357
1123
  }
2358
1124
 
2359
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1125
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
2360
1126
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
2361
1127
  }
2362
1128
 
2363
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1129
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
2364
1130
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
2365
1131
  }
2366
1132
 
2367
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2368
- background-position: right 1.125rem center;
1133
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1134
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
2369
1135
  }
2370
1136
 
2371
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2372
- background-position: right 1.125rem center, .75rem;
1137
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1138
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
2373
1139
  }
2374
1140
 
2375
1141
  details {
@@ -2378,9 +1144,9 @@ details {
2378
1144
  }
2379
1145
 
2380
1146
  details summary {
1147
+ line-height: var(--cirth-size-4);
2381
1148
  cursor: pointer;
2382
1149
  transition: color var(--cirth-transition);
2383
- line-height: 1rem;
2384
1150
  list-style-type: none;
2385
1151
  }
2386
1152
 
@@ -2401,16 +1167,16 @@ details summary::-moz-list-bullet {
2401
1167
  }
2402
1168
 
2403
1169
  details summary:after {
2404
- width: 1rem;
2405
- height: 1rem;
1170
+ width: var(--cirth-size-4);
1171
+ height: var(--cirth-size-4);
2406
1172
  float: right;
2407
1173
  background-image: var(--cirth-icon-chevron);
1174
+ background-position: 100%;
1175
+ background-size: var(--cirth-size-4) auto;
2408
1176
  content: "";
2409
1177
  transition: transform var(--cirth-transition);
2410
- background-position: 100%;
2411
1178
  background-repeat: no-repeat;
2412
- background-size: 1rem;
2413
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1179
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2414
1180
  display: block;
2415
1181
  transform: rotate(-90deg);
2416
1182
  }
@@ -2425,7 +1191,7 @@ details summary:focus:not([role]) {
2425
1191
 
2426
1192
  details summary:focus-visible:not([role]) {
2427
1193
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2428
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1194
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2429
1195
  color: var(--cirth-primary);
2430
1196
  }
2431
1197
 
@@ -2435,7 +1201,7 @@ details summary[role="button"] {
2435
1201
  }
2436
1202
 
2437
1203
  details summary[role="button"]:after {
2438
- height: calc(1rem * var(--cirth-line-height, 1.5));
1204
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2439
1205
  }
2440
1206
 
2441
1207
  details[open] > summary {
@@ -2470,7 +1236,7 @@ article {
2470
1236
  article > header, article > footer {
2471
1237
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
2472
1238
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
2473
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1239
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
2474
1240
  background-color: var(--cirth-card-sectioning-background-color);
2475
1241
  }
2476
1242
 
@@ -2494,257 +1260,143 @@ article > footer {
2494
1260
  width: 100%;
2495
1261
  margin-bottom: var(--cirth-spacing);
2496
1262
  border-radius: var(--cirth-border-radius);
2497
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1263
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
2498
1264
  vertical-align: middle;
2499
1265
  transition: box-shadow var(--cirth-transition);
2500
1266
  display: inline-flex;
2501
1267
  position: relative;
2502
1268
  }
2503
1269
 
2504
- [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
2505
- flex: auto;
2506
- margin-bottom: 0;
2507
- position: relative;
2508
- }
2509
-
2510
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
1270
+ [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 {
2511
1271
  flex: auto;
2512
1272
  margin-bottom: 0;
2513
1273
  position: relative;
2514
1274
  }
2515
1275
 
2516
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
2517
- flex: auto;
2518
- margin-bottom: 0;
2519
- position: relative;
2520
- }
2521
-
2522
- [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
2523
- border-top-left-radius: 0;
2524
- border-bottom-left-radius: 0;
2525
- margin-left: 0;
2526
- }
2527
-
2528
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2529
- border-top-left-radius: 0;
2530
- border-bottom-left-radius: 0;
2531
- margin-left: 0;
2532
- }
2533
-
2534
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1276
+ [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) {
2535
1277
  border-top-left-radius: 0;
2536
1278
  border-bottom-left-radius: 0;
2537
1279
  margin-left: 0;
2538
1280
  }
2539
1281
 
2540
- [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
2541
- border-top-right-radius: 0;
2542
- border-bottom-right-radius: 0;
2543
- }
2544
-
2545
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2546
- border-top-right-radius: 0;
2547
- border-bottom-right-radius: 0;
2548
- }
2549
-
2550
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1282
+ [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) {
2551
1283
  border-top-right-radius: 0;
2552
1284
  border-bottom-right-radius: 0;
2553
1285
  }
2554
1286
 
2555
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
2556
- z-index: 2;
2557
- }
2558
-
2559
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2560
- z-index: 2;
2561
- }
2562
-
2563
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1287
+ [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 {
2564
1288
  z-index: 2;
2565
1289
  }
2566
1290
 
2567
- [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) {
2568
- margin-left: calc(var(--cirth-border-width) * -1);
2569
- }
2570
-
2571
- [role="search"] [type="submit"]:not(:first-child) {
2572
- margin-left: calc(var(--cirth-border-width) * -1);
2573
- }
2574
-
2575
- [role="search"] [type="reset"]:not(:first-child) {
2576
- margin-left: calc(var(--cirth-border-width) * -1);
2577
- }
2578
-
2579
- [role="search"] [type="button"]:not(:first-child) {
2580
- margin-left: calc(var(--cirth-border-width) * -1);
2581
- }
2582
-
2583
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2584
- margin-left: calc(var(--cirth-border-width) * -1);
2585
- }
2586
-
2587
- [role="group"] [type="submit"]:not(:first-child) {
2588
- margin-left: calc(var(--cirth-border-width) * -1);
2589
- }
2590
-
2591
- [role="group"] [type="reset"]:not(:first-child) {
2592
- margin-left: calc(var(--cirth-border-width) * -1);
2593
- }
2594
-
2595
- [role="group"] [type="button"]:not(:first-child) {
2596
- margin-left: calc(var(--cirth-border-width) * -1);
2597
- }
2598
-
2599
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2600
- margin-left: calc(var(--cirth-border-width) * -1);
2601
- }
2602
-
2603
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
2604
- width: auto;
2605
- }
2606
-
2607
- [role="search"] [type="submit"] {
2608
- width: auto;
2609
- }
2610
-
2611
- [role="search"] [type="reset"] {
2612
- width: auto;
2613
- }
2614
-
2615
- [role="search"] [type="button"] {
2616
- width: auto;
2617
- }
2618
-
2619
- [role="group"] [type="submit"] {
2620
- width: auto;
2621
- }
2622
-
2623
- [role="group"] [type="reset"] {
2624
- width: auto;
2625
- }
2626
-
2627
- [role="group"] [type="button"] {
2628
- width: auto;
2629
- }
2630
-
2631
- @supports selector(:has(*)) {
2632
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2633
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2634
- }
2635
-
2636
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2637
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2638
- }
2639
-
2640
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2641
- border-color: rgba(0, 0, 0, 0);
2642
- }
2643
-
2644
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2645
- border-color: rgba(0, 0, 0, 0);
2646
- }
2647
-
2648
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2649
- border-color: rgba(0, 0, 0, 0);
2650
- }
2651
-
2652
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2653
- border-color: rgba(0, 0, 0, 0);
2654
- }
2655
-
2656
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2657
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2658
- }
1291
+ [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) {
1292
+ margin-left: calc(var(--cirth-border-width) * -1);
1293
+ }
2659
1294
 
2660
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2661
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2662
- }
1295
+ [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"] {
1296
+ width: auto;
1297
+ }
2663
1298
 
2664
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2665
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2666
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1299
+ @supports selector(:has(*)) {
1300
+ :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)) {
1301
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2667
1302
  }
2668
1303
 
2669
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2670
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2671
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1304
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1305
+ border-color: #0000;
2672
1306
  }
2673
1307
 
2674
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2675
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2676
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1308
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1309
+ border-color: #0000;
2677
1310
  }
2678
1311
 
2679
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2680
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2681
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1312
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1313
+ border-color: #0000;
2682
1314
  }
2683
1315
 
2684
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2685
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2686
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1316
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1317
+ border-color: #0000;
2687
1318
  }
2688
1319
 
2689
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2690
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2691
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1320
+ :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)) {
1321
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2692
1322
  }
2693
1323
 
2694
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2695
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2696
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1324
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1325
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1326
+ var(--cirth-primary-border);
1327
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1328
+ var(--cirth-primary-hover-border);
2697
1329
  }
2698
1330
 
2699
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2700
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2701
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
1331
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1332
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1333
+ var(--cirth-primary-border);
1334
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1335
+ var(--cirth-primary-hover-border);
2702
1336
  }
2703
1337
 
2704
- [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
2705
- box-shadow: none;
1338
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1339
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1340
+ var(--cirth-primary-border);
1341
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1342
+ var(--cirth-primary-hover-border);
2706
1343
  }
2707
1344
 
2708
- [role="search"] [type="submit"]:focus {
2709
- box-shadow: none;
1345
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1346
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1347
+ var(--cirth-primary-border);
1348
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1349
+ var(--cirth-primary-hover-border);
2710
1350
  }
2711
1351
 
2712
- [role="search"] [type="reset"]:focus {
2713
- box-shadow: none;
1352
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1353
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1354
+ var(--cirth-primary-border);
1355
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1356
+ var(--cirth-primary-hover-border);
2714
1357
  }
2715
1358
 
2716
- [role="search"] [type="button"]:focus {
2717
- box-shadow: none;
1359
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1360
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1361
+ var(--cirth-primary-border);
1362
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1363
+ var(--cirth-primary-hover-border);
2718
1364
  }
2719
1365
 
2720
- [role="group"] [type="submit"]:focus {
2721
- box-shadow: none;
1366
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1367
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1368
+ var(--cirth-primary-border);
1369
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1370
+ var(--cirth-primary-hover-border);
2722
1371
  }
2723
1372
 
2724
- [role="group"] [type="reset"]:focus {
2725
- box-shadow: none;
1373
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1374
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1375
+ var(--cirth-primary-border);
1376
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1377
+ var(--cirth-primary-hover-border);
2726
1378
  }
2727
1379
 
2728
- [role="group"] [type="button"]:focus {
1380
+ [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 {
2729
1381
  box-shadow: none;
2730
1382
  }
2731
1383
  }
2732
1384
 
2733
1385
  [role="search"] > :first-child {
2734
- border-top-left-radius: 5rem;
2735
- border-bottom-left-radius: 5rem;
1386
+ border-top-left-radius: var(--cirth-radius-pill);
1387
+ border-bottom-left-radius: var(--cirth-radius-pill);
2736
1388
  }
2737
1389
 
2738
1390
  [role="search"] > :last-child {
2739
- border-top-right-radius: 5rem;
2740
- border-bottom-right-radius: 5rem;
1391
+ border-top-right-radius: var(--cirth-radius-pill);
1392
+ border-bottom-right-radius: var(--cirth-radius-pill);
2741
1393
  }
2742
1394
 
2743
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1395
+ [aria-busy="true"]:not(input, select, textarea, html, form) {
2744
1396
  white-space: nowrap;
2745
1397
  }
2746
1398
 
2747
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1399
+ [aria-busy="true"]:not(input, select, textarea, html, form):before {
2748
1400
  background-image: var(--cirth-icon-loading);
2749
1401
  content: "";
2750
1402
  vertical-align: -.125em;
@@ -2755,40 +1407,24 @@ article > footer {
2755
1407
  display: inline-block;
2756
1408
  }
2757
1409
 
2758
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1410
+ [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
2759
1411
  margin-inline-end: calc(var(--cirth-spacing) * .5);
2760
1412
  }
2761
1413
 
2762
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1414
+ [aria-busy="true"]:not(input, select, textarea, html, form):empty {
2763
1415
  text-align: center;
2764
1416
  }
2765
1417
 
2766
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2767
- pointer-events: none;
2768
- }
2769
-
2770
- [type="submit"][aria-busy="true"] {
2771
- pointer-events: none;
2772
- }
2773
-
2774
- [type="button"][aria-busy="true"] {
2775
- pointer-events: none;
2776
- }
2777
-
2778
- [type="reset"][aria-busy="true"] {
1418
+ 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"] {
2779
1419
  pointer-events: none;
2780
1420
  }
2781
1421
 
2782
- :root {
2783
- --cirth-scrollbar-width: 0px;
2784
- }
2785
-
2786
- :host {
1422
+ :root, :host {
2787
1423
  --cirth-scrollbar-width: 0px;
2788
1424
  }
2789
1425
 
2790
1426
  dialog {
2791
- z-index: 999;
1427
+ z-index: var(--cirth-z-index-modal);
2792
1428
  width: inherit;
2793
1429
  min-width: 100%;
2794
1430
  height: inherit;
@@ -2813,13 +1449,13 @@ dialog > article {
2813
1449
  overflow: auto;
2814
1450
  }
2815
1451
 
2816
- @media (width >= 576px) {
1452
+ @media (min-width: 576px) {
2817
1453
  dialog > article {
2818
1454
  max-width: 510px;
2819
1455
  }
2820
1456
  }
2821
1457
 
2822
- @media (width >= 768px) {
1458
+ @media (min-width: 768px) {
2823
1459
  dialog > article {
2824
1460
  max-width: 700px;
2825
1461
  }
@@ -2849,17 +1485,17 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
2849
1485
  }
2850
1486
 
2851
1487
  dialog > article :is(a, button)[rel="prev"] {
2852
- width: 1rem;
2853
- height: 1rem;
1488
+ width: var(--cirth-size-4);
1489
+ height: var(--cirth-size-4);
2854
1490
  margin-top: calc(var(--cirth-spacing) * -1);
2855
1491
  margin-bottom: var(--cirth-spacing);
2856
1492
  background-image: var(--cirth-icon-close);
1493
+ background-position: center;
1494
+ background-size: auto var(--cirth-size-4);
2857
1495
  opacity: .5;
2858
1496
  transition: opacity var(--cirth-transition);
2859
- background-color: rgba(0, 0, 0, 0);
2860
- background-position: center;
1497
+ background-color: #0000;
2861
1498
  background-repeat: no-repeat;
2862
- background-size: auto 1rem;
2863
1499
  border: none;
2864
1500
  margin-left: auto;
2865
1501
  display: block;
@@ -2919,23 +1555,7 @@ nav li :where(a, [role="link"]):not(:hover) {
2919
1555
  text-decoration: none;
2920
1556
  }
2921
1557
 
2922
- nav li button, nav li [role="button"], nav li select {
2923
- height: auto;
2924
- margin-right: inherit;
2925
- margin-bottom: 0;
2926
- margin-left: inherit;
2927
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2928
- }
2929
-
2930
- nav li [type="button"] {
2931
- height: auto;
2932
- margin-right: inherit;
2933
- margin-bottom: 0;
2934
- margin-left: inherit;
2935
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2936
- }
2937
-
2938
- nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
1558
+ 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 {
2939
1559
  height: auto;
2940
1560
  margin-right: inherit;
2941
1561
  margin-bottom: 0;
@@ -2972,7 +1592,7 @@ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2972
1592
  nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2973
1593
  color: inherit;
2974
1594
  pointer-events: none;
2975
- background-color: rgba(0, 0, 0, 0);
1595
+ background-color: #0000;
2976
1596
  text-decoration: none;
2977
1597
  }
2978
1598
 
@@ -3000,12 +1620,12 @@ progress {
3000
1620
  vertical-align: baseline;
3001
1621
  appearance: none;
3002
1622
  width: 100%;
3003
- height: .5rem;
1623
+ height: var(--cirth-size-2);
3004
1624
  margin-bottom: calc(var(--cirth-spacing) * .5);
1625
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
3005
1626
  border-radius: var(--cirth-border-radius);
3006
1627
  background-color: var(--cirth-progress-background-color);
3007
1628
  color: var(--cirth-progress-color);
3008
- border: 0;
3009
1629
  display: inline-block;
3010
1630
  overflow: hidden;
3011
1631
  }
@@ -3031,11 +1651,11 @@ progress::-moz-progress-bar {
3031
1651
  }
3032
1652
 
3033
1653
  progress:indeterminate[value]::-webkit-progress-value {
3034
- background-color: rgba(0, 0, 0, 0);
1654
+ background-color: #0000;
3035
1655
  }
3036
1656
 
3037
1657
  progress:indeterminate::-moz-progress-bar {
3038
- background-color: rgba(0, 0, 0, 0);
1658
+ background-color: #0000;
3039
1659
  }
3040
1660
 
3041
1661
  [dir="rtl"] progress:indeterminate {
@@ -3057,26 +1677,26 @@ progress::-moz-progress-bar {
3057
1677
  position: relative;
3058
1678
  }
3059
1679
 
3060
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1680
+ [data-tooltip]:not(a, button, input, [role="button"]) {
1681
+ border-bottom: var(--cirth-border-width-1) dotted;
3061
1682
  cursor: help;
3062
- border-bottom: 1px dotted;
3063
1683
  text-decoration: none;
3064
1684
  }
3065
1685
 
3066
1686
  [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
3067
- z-index: 99;
1687
+ z-index: var(--cirth-z-index-tooltip);
1688
+ padding: var(--cirth-space-1) var(--cirth-space-2);
3068
1689
  border-radius: var(--cirth-border-radius);
3069
1690
  background: var(--cirth-tooltip-background-color);
3070
1691
  content: attr(data-tooltip);
3071
1692
  color: var(--cirth-tooltip-color);
3072
1693
  font-style: normal;
3073
1694
  font-weight: var(--cirth-font-weight);
1695
+ font-size: var(--cirth-font-size-sm);
3074
1696
  text-overflow: ellipsis;
3075
1697
  white-space: nowrap;
3076
1698
  opacity: 0;
3077
1699
  pointer-events: none;
3078
- padding: .25rem .5rem;
3079
- font-size: .875rem;
3080
1700
  text-decoration: none;
3081
1701
  display: block;
3082
1702
  position: absolute;
@@ -3089,10 +1709,10 @@ progress::-moz-progress-bar {
3089
1709
  [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
3090
1710
  content: "";
3091
1711
  color: var(--cirth-tooltip-background-color);
3092
- background-color: rgba(0, 0, 0, 0);
1712
+ background-color: #0000;
3093
1713
  border-top: .3rem solid;
3094
- border-left: .3rem solid rgba(0, 0, 0, 0);
3095
- border-right: .3rem solid rgba(0, 0, 0, 0);
1714
+ border-left: .3rem solid #0000;
1715
+ border-right: .3rem solid #0000;
3096
1716
  border-radius: 0;
3097
1717
  padding: 0;
3098
1718
  transform: translate(-50%);
@@ -3105,7 +1725,7 @@ progress::-moz-progress-bar {
3105
1725
  }
3106
1726
 
3107
1727
  [data-tooltip][data-placement="bottom"]:after {
3108
- border: .3rem solid rgba(0, 0, 0, 0);
1728
+ border: .3rem solid #0000;
3109
1729
  border-bottom-color: currentColor;
3110
1730
  transform: translate(-50%, -.3rem);
3111
1731
  }
@@ -3116,7 +1736,7 @@ progress::-moz-progress-bar {
3116
1736
  }
3117
1737
 
3118
1738
  [data-tooltip][data-placement="left"]:after {
3119
- border: .3rem solid rgba(0, 0, 0, 0);
1739
+ border: .3rem solid #0000;
3120
1740
  border-left-color: currentColor;
3121
1741
  transform: translate(.3rem, -50%);
3122
1742
  }
@@ -3127,7 +1747,7 @@ progress::-moz-progress-bar {
3127
1747
  }
3128
1748
 
3129
1749
  [data-tooltip][data-placement="right"]:after {
3130
- border: .3rem solid rgba(0, 0, 0, 0);
1750
+ border: .3rem solid #0000;
3131
1751
  border-right-color: currentColor;
3132
1752
  transform: translate(-.3rem, -50%);
3133
1753
  }
@@ -3139,9 +1759,9 @@ progress::-moz-progress-bar {
3139
1759
  @media (hover: hover) and (pointer: fine) {
3140
1760
  [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3141
1761
  --cirth-tooltip-slide-to: translate(-50%, -.25rem);
1762
+ animation-duration: var(--cirth-duration-normal);
3142
1763
  opacity: 0;
3143
1764
  animation-name: tooltip-slide;
3144
- animation-duration: .2s;
3145
1765
  animation-fill-mode: forwards;
3146
1766
  transform: translate(-50%, .75rem);
3147
1767
  }
@@ -3234,12 +1854,596 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
3234
1854
 
3235
1855
  @media (prefers-reduced-motion: reduce) {
3236
1856
  :not([aria-busy="true"]), :not([aria-busy="true"]):before, :not([aria-busy="true"]):after {
3237
- background-attachment: initial !important;
3238
- scroll-behavior: auto !important;
3239
- transition-duration: 0s !important;
3240
- transition-delay: 0s !important;
3241
- animation-duration: 1ms !important;
3242
- animation-iteration-count: 1 !important;
3243
- animation-delay: -1ms !important;
1857
+ background-attachment: initial;
1858
+ scroll-behavior: auto;
1859
+ transition-delay: var(--cirth-duration-instant);
1860
+ transition-duration: var(--cirth-duration-instant);
1861
+ animation-duration: 1ms;
1862
+ animation-iteration-count: 1;
1863
+ animation-delay: -1ms;
1864
+ }
1865
+ }
1866
+
1867
+ :root, :host {
1868
+ --cirth-color-black: #000;
1869
+ --cirth-color-white: #fff;
1870
+ --cirth-color-transparent: transparent;
1871
+ --cirth-color-current: currentColor;
1872
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1873
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1874
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
1875
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
1876
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
1877
+ monospace, var(--cirth-font-family-emoji);
1878
+ --cirth-font-family-display: var(--cirth-font-family-serif);
1879
+ --cirth-font-size-xs: .75rem;
1880
+ --cirth-font-size-sm: .875rem;
1881
+ --cirth-font-size-md: 1rem;
1882
+ --cirth-font-size-lg: 1.125rem;
1883
+ --cirth-font-size-xl: 1.25rem;
1884
+ --cirth-font-size-2xl: 1.425rem;
1885
+ --cirth-font-size-3xl: 1.6rem;
1886
+ --cirth-font-size-4xl: 1.8rem;
1887
+ --cirth-font-size-5xl: 2rem;
1888
+ --cirth-font-size-6xl: 2.3rem;
1889
+ --cirth-font-weight-light: 300;
1890
+ --cirth-font-weight-regular: 400;
1891
+ --cirth-font-weight-medium: 500;
1892
+ --cirth-font-weight-semibold: 600;
1893
+ --cirth-font-weight-bold: 700;
1894
+ --cirth-letter-spacing-tight: -.02em;
1895
+ --cirth-letter-spacing-snug: -.01em;
1896
+ --cirth-line-height-none: 1;
1897
+ --cirth-line-height-tight: 1.125;
1898
+ --cirth-line-height-snug: 1.25;
1899
+ --cirth-line-height-normal: 1.5;
1900
+ --cirth-line-height-relaxed: 1.625;
1901
+ --cirth-line-height-loose: 2;
1902
+ --cirth-space-0: 0;
1903
+ --cirth-space-1: .25rem;
1904
+ --cirth-space-2: .5rem;
1905
+ --cirth-space-3: .75rem;
1906
+ --cirth-space-4: 1rem;
1907
+ --cirth-space-5: 1.25rem;
1908
+ --cirth-space-6: 1.5rem;
1909
+ --cirth-space-8: 2rem;
1910
+ --cirth-space-10: 2.5rem;
1911
+ --cirth-space-12: 3rem;
1912
+ --cirth-space-16: 4rem;
1913
+ --cirth-space-20: 5rem;
1914
+ --cirth-space-24: 6rem;
1915
+ --cirth-size-0: 0;
1916
+ --cirth-size-1: .25rem;
1917
+ --cirth-size-2: .5rem;
1918
+ --cirth-size-3: .75rem;
1919
+ --cirth-size-4: 1rem;
1920
+ --cirth-size-5: 1.25rem;
1921
+ --cirth-size-6: 1.5rem;
1922
+ --cirth-size-8: 2rem;
1923
+ --cirth-size-10: 2.5rem;
1924
+ --cirth-size-12: 3rem;
1925
+ --cirth-size-16: 4rem;
1926
+ --cirth-size-20: 5rem;
1927
+ --cirth-size-24: 6rem;
1928
+ --cirth-radius-none: 0;
1929
+ --cirth-radius-xs: .125rem;
1930
+ --cirth-radius-sm: .25rem;
1931
+ --cirth-radius-md: .375rem;
1932
+ --cirth-radius-lg: .5rem;
1933
+ --cirth-radius-xl: .75rem;
1934
+ --cirth-radius-2xl: 1rem;
1935
+ --cirth-radius-pill: 9999px;
1936
+ --cirth-border-width-0: 0;
1937
+ --cirth-border-width-1: .0625rem;
1938
+ --cirth-border-width-2: .125rem;
1939
+ --cirth-border-width-4: .25rem;
1940
+ --cirth-outline-width-1: .0625rem;
1941
+ --cirth-outline-width-2: .125rem;
1942
+ --cirth-outline-width-4: .25rem;
1943
+ --cirth-duration-instant: 0s;
1944
+ --cirth-duration-fast: .1s;
1945
+ --cirth-duration-normal: .2s;
1946
+ --cirth-duration-slow: .3s;
1947
+ --cirth-duration-slower: .5s;
1948
+ --cirth-ease-linear: linear;
1949
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
1950
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
1951
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
1952
+ --cirth-opacity-disabled: .5;
1953
+ --cirth-opacity-muted: .72;
1954
+ --cirth-opacity-overlay: .75;
1955
+ --cirth-z-index-dropdown: 1000;
1956
+ --cirth-z-index-sticky: 1020;
1957
+ --cirth-z-index-fixed: 1030;
1958
+ --cirth-z-index-modal-backdrop: 1040;
1959
+ --cirth-z-index-modal: 1050;
1960
+ --cirth-z-index-tooltip: 1070;
1961
+ --cirth-font-family: var(--cirth-font-family-sans);
1962
+ --cirth-line-height: var(--cirth-line-height-normal);
1963
+ --cirth-font-weight: var(--cirth-font-weight-regular);
1964
+ --cirth-font-size: 100%;
1965
+ --cirth-text-underline-offset: .15em;
1966
+ --cirth-border-radius: var(--cirth-radius-lg);
1967
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
1968
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
1969
+ var(--cirth-radius-sm));
1970
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
1971
+ var(--cirth-radius-sm));
1972
+ --cirth-border-width: var(--cirth-border-width-1);
1973
+ --cirth-outline-width: var(--cirth-outline-width-2);
1974
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
1975
+ --cirth-spacing: var(--cirth-space-4);
1976
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
1977
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
1978
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
1979
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
1980
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
1981
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
1982
+ --cirth-group-box-shadow: 0 0 0 #0000;
1983
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
1984
+ var(--cirth-primary-focus);
1985
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
1986
+ var(--cirth-form-element-border-color);
1987
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
1988
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
1989
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
1990
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
1991
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
1992
+ --cirth-nav-breadcrumb-divider: ">";
1993
+ --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");
1994
+ --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");
1995
+ --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");
1996
+ --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");
1997
+ --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");
1998
+ --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");
1999
+ --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");
2000
+ --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");
2001
+ }
2002
+
2003
+ a {
2004
+ --cirth-text-decoration: underline;
2005
+ }
2006
+
2007
+ small {
2008
+ --cirth-font-size: .875em;
2009
+ }
2010
+
2011
+ h1, h2, h3 {
2012
+ --cirth-font-weight: var(--cirth-font-weight-bold);
2013
+ }
2014
+
2015
+ h4, h5, h6 {
2016
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2017
+ }
2018
+
2019
+ h1 {
2020
+ --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2021
+ --cirth-line-height: var(--cirth-line-height-tight);
2022
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2023
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2024
+ }
2025
+
2026
+ h2 {
2027
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2028
+ --cirth-line-height: 1.15;
2029
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2030
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2031
+ }
2032
+
2033
+ h3 {
2034
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2035
+ --cirth-line-height: 1.2;
2036
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2037
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2038
+ }
2039
+
2040
+ h4 {
2041
+ --cirth-font-size: var(--cirth-font-size-xl);
2042
+ --cirth-line-height: var(--cirth-line-height-snug);
2043
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2044
+ }
2045
+
2046
+ h5 {
2047
+ --cirth-font-size: var(--cirth-font-size-lg);
2048
+ --cirth-line-height: var(--cirth-line-height-snug);
2049
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2050
+ }
2051
+
2052
+ h6 {
2053
+ --cirth-font-size: var(--cirth-font-size-md);
2054
+ --cirth-line-height: var(--cirth-line-height-snug);
2055
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2056
+ }
2057
+
2058
+ article {
2059
+ --cirth-border-radius: var(--cirth-card-border-radius);
2060
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2061
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2062
+ }
2063
+
2064
+ thead th, thead td, tfoot th, tfoot td {
2065
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2066
+ --cirth-border-width: .1875rem;
2067
+ }
2068
+
2069
+ pre, code, kbd, samp {
2070
+ --cirth-font-family: var(--cirth-font-family-mono);
2071
+ }
2072
+
2073
+ code, kbd, samp {
2074
+ --cirth-border-radius: var(--cirth-code-border-radius);
2075
+ }
2076
+
2077
+ kbd {
2078
+ --cirth-font-weight: bolder;
2079
+ }
2080
+
2081
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2082
+ --cirth-outline-width: var(--cirth-outline-width-1);
2083
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2084
+ }
2085
+
2086
+ [type="search"] {
2087
+ --cirth-border-radius: var(--cirth-radius-pill);
2088
+ }
2089
+
2090
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2091
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2092
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2093
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2094
+ }
2095
+
2096
+ [type="file"] {
2097
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2098
+ }
2099
+
2100
+ [type="checkbox"], [type="radio"] {
2101
+ --cirth-border-width: var(--cirth-border-width-2);
2102
+ }
2103
+
2104
+ [type="checkbox"] {
2105
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2106
+ }
2107
+
2108
+ [type="checkbox"][role="switch"] {
2109
+ --cirth-border-width: .1875rem;
2110
+ }
2111
+
2112
+ [role="search"] {
2113
+ --cirth-border-radius: var(--cirth-radius-pill);
2114
+ }
2115
+
2116
+ [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"] {
2117
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2118
+ }
2119
+
2120
+ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2121
+ filter: brightness(0) invert();
2122
+ }
2123
+
2124
+ [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
2125
+ --lightningcss-light: initial;
2126
+ --lightningcss-dark: ;
2127
+ color-scheme: light;
2128
+ --cirth-background-color: oklch(100% 0 0);
2129
+ --cirth-color: oklch(35.3% .021 264);
2130
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2131
+ --cirth-muted-color: oklch(52.7% .032 264);
2132
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2133
+ --cirth-primary: oklch(52.7% .097 69.35);
2134
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2135
+ --cirth-primary-border: var(--cirth-primary-background);
2136
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2137
+ --cirth-primary-hover: oklch(44% .081 69.35);
2138
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2139
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2140
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2141
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2142
+ --cirth-primary-inverse: oklch(100% 0 0);
2143
+ --cirth-secondary: oklch(52.7% .032 264);
2144
+ --cirth-secondary-background: oklch(48.3% .03 264);
2145
+ --cirth-secondary-border: var(--cirth-secondary-background);
2146
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2147
+ --cirth-secondary-hover: oklch(44% .028 264);
2148
+ --cirth-secondary-hover-background: oklch(44% .028 264);
2149
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2150
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2151
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2152
+ --cirth-secondary-inverse: oklch(100% 0 0);
2153
+ --cirth-contrast: oklch(22.3% .006 264);
2154
+ --cirth-contrast-background: oklch(22.3% .006 264);
2155
+ --cirth-contrast-border: var(--cirth-contrast-background);
2156
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2157
+ --cirth-contrast-hover: oklch(0% 0 0);
2158
+ --cirth-contrast-hover-background: oklch(0% 0 0);
2159
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2160
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2161
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2162
+ --cirth-contrast-inverse: oklch(100% 0 0);
2163
+ --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);
2164
+ --cirth-h1-color: oklch(31% .016 264);
2165
+ --cirth-h2-color: oklch(35.3% .021 264);
2166
+ --cirth-h3-color: oklch(39.7% .025 264);
2167
+ --cirth-h4-color: oklch(44% .028 264);
2168
+ --cirth-h5-color: oklch(48.3% .03 264);
2169
+ --cirth-h6-color: oklch(52.7% .032 264);
2170
+ --cirth-mark-background-color: oklch(93% .05 78);
2171
+ --cirth-mark-color: oklch(18% 0 264);
2172
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2173
+ --cirth-del-color: oklch(35.3% .122 29.73);
2174
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2175
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2176
+ --cirth-button-box-shadow: 0 0 0 #0000;
2177
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2178
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2179
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2180
+ --cirth-code-background-color: oklch(97% 0 288);
2181
+ --cirth-code-color: oklch(52.7% .032 264);
2182
+ --cirth-code-kbd-background-color: var(--cirth-color);
2183
+ --cirth-code-kbd-color: var(--cirth-background-color);
2184
+ --cirth-form-element-background-color: oklch(99% 0 336);
2185
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2186
+ --cirth-form-element-border-color: oklch(65.7% .03 264);
2187
+ --cirth-form-element-color: oklch(26.7% .011 264);
2188
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2189
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
2190
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2191
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2192
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2193
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2194
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2195
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2196
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2197
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2198
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2199
+ --cirth-switch-background-color: oklch(61.3% .032 264);
2200
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2201
+ --cirth-switch-color: oklch(100% 0 0);
2202
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2203
+ --cirth-range-border-color: oklch(91.7% .006 264);
2204
+ --cirth-range-active-border-color: oklch(83% .016 264);
2205
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2206
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2207
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2208
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2209
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2210
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2211
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2212
+ --cirth-card-background-color: var(--cirth-background-color);
2213
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2214
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2215
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
2216
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2217
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2218
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2219
+ --cirth-progress-border-color: oklch(65.7% .03 264);
2220
+ --cirth-progress-color: var(--cirth-primary-background);
2221
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2222
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2223
+ --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");
2224
+ --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");
2225
+ }
2226
+
2227
+ [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"]) {
2228
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2229
+ }
2230
+
2231
+ @media only screen and (prefers-color-scheme: dark) {
2232
+ :root:not([data-theme]), :host(:not([data-theme])) {
2233
+ --lightningcss-light: ;
2234
+ --lightningcss-dark: initial;
2235
+ color-scheme: dark;
2236
+ --cirth-background-color: oklch(20.15% .003 264);
2237
+ --cirth-color: oklch(83% .016 264);
2238
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2239
+ --cirth-muted-color: oklch(61.3% .032 264);
2240
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2241
+ --cirth-primary: oklch(70% .129 69.35);
2242
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2243
+ --cirth-primary-border: var(--cirth-primary-background);
2244
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2245
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2246
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2247
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2248
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2249
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2250
+ --cirth-primary-inverse: oklch(100% 0 0);
2251
+ --cirth-secondary: oklch(70% .028 264);
2252
+ --cirth-secondary-background: oklch(48.3% .03 264);
2253
+ --cirth-secondary-border: var(--cirth-secondary-background);
2254
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2255
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2256
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2257
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2258
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2259
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2260
+ --cirth-secondary-inverse: oklch(100% 0 0);
2261
+ --cirth-contrast: oklch(91.7% .006 264);
2262
+ --cirth-contrast-background: oklch(96% 0 264);
2263
+ --cirth-contrast-border: var(--cirth-contrast-background);
2264
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2265
+ --cirth-contrast-hover: oklch(100% 0 0);
2266
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2267
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2268
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2269
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2270
+ --cirth-contrast-inverse: oklch(0% 0 0);
2271
+ --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);
2272
+ --cirth-h1-color: oklch(96% 0 264);
2273
+ --cirth-h2-color: oklch(91.7% .006 264);
2274
+ --cirth-h3-color: oklch(83% .016 264);
2275
+ --cirth-h4-color: oklch(78.7% .021 264);
2276
+ --cirth-h5-color: oklch(74.3% .025 264);
2277
+ --cirth-h6-color: oklch(65.7% .03 264);
2278
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2279
+ --cirth-mark-color: oklch(100% 0 0);
2280
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2281
+ --cirth-del-color: oklch(78.7% .106 29.73);
2282
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2283
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2284
+ --cirth-button-box-shadow: 0 0 0 #0000;
2285
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2286
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2287
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2288
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2289
+ --cirth-code-color: oklch(65.7% .03 264);
2290
+ --cirth-code-kbd-background-color: var(--cirth-color);
2291
+ --cirth-code-kbd-color: var(--cirth-background-color);
2292
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2293
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2294
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2295
+ --cirth-form-element-color: oklch(91.7% .006 264);
2296
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2297
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2298
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2299
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2300
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2301
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2302
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2303
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2304
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2305
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2306
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2307
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2308
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2309
+ --cirth-switch-color: oklch(100% 0 0);
2310
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2311
+ --cirth-range-border-color: oklch(26.7% .011 264);
2312
+ --cirth-range-active-border-color: oklch(31% .016 264);
2313
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2314
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2315
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2316
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2317
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2318
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2319
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2320
+ --cirth-card-background-color: oklch(22.3% .006 264);
2321
+ --cirth-card-border-color: var(--cirth-card-background-color);
2322
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2323
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2324
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2325
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2326
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2327
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2328
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2329
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2330
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2331
+ --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");
2332
+ --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");
2333
+ }
2334
+
2335
+ :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"]) {
2336
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3244
2337
  }
3245
2338
  }
2339
+
2340
+ [data-theme="dark"] {
2341
+ --lightningcss-light: ;
2342
+ --lightningcss-dark: initial;
2343
+ color-scheme: dark;
2344
+ --cirth-background-color: oklch(20.15% .003 264);
2345
+ --cirth-color: oklch(83% .016 264);
2346
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2347
+ --cirth-muted-color: oklch(61.3% .032 264);
2348
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2349
+ --cirth-primary: oklch(70% .129 69.35);
2350
+ --cirth-primary-background: oklch(52.7% .097 69.35);
2351
+ --cirth-primary-border: var(--cirth-primary-background);
2352
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2353
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2354
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
2355
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2356
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2357
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2358
+ --cirth-primary-inverse: oklch(100% 0 0);
2359
+ --cirth-secondary: oklch(70% .028 264);
2360
+ --cirth-secondary-background: oklch(48.3% .03 264);
2361
+ --cirth-secondary-border: var(--cirth-secondary-background);
2362
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2363
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2364
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
2365
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2366
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2367
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2368
+ --cirth-secondary-inverse: oklch(100% 0 0);
2369
+ --cirth-contrast: oklch(91.7% .006 264);
2370
+ --cirth-contrast-background: oklch(96% 0 264);
2371
+ --cirth-contrast-border: var(--cirth-contrast-background);
2372
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2373
+ --cirth-contrast-hover: oklch(100% 0 0);
2374
+ --cirth-contrast-hover-background: oklch(100% 0 0);
2375
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2376
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2377
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2378
+ --cirth-contrast-inverse: oklch(0% 0 0);
2379
+ --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);
2380
+ --cirth-h1-color: oklch(96% 0 264);
2381
+ --cirth-h2-color: oklch(91.7% .006 264);
2382
+ --cirth-h3-color: oklch(83% .016 264);
2383
+ --cirth-h4-color: oklch(78.7% .021 264);
2384
+ --cirth-h5-color: oklch(74.3% .025 264);
2385
+ --cirth-h6-color: oklch(65.7% .03 264);
2386
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2387
+ --cirth-mark-color: oklch(100% 0 0);
2388
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2389
+ --cirth-del-color: oklch(78.7% .106 29.73);
2390
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2391
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
2392
+ --cirth-button-box-shadow: 0 0 0 #0000;
2393
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
2394
+ --cirth-table-border-color: var(--cirth-muted-border-color);
2395
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2396
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2397
+ --cirth-code-color: oklch(65.7% .03 264);
2398
+ --cirth-code-kbd-background-color: var(--cirth-color);
2399
+ --cirth-code-kbd-color: var(--cirth-background-color);
2400
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2401
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2402
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2403
+ --cirth-form-element-color: oklch(91.7% .006 264);
2404
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2405
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2406
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
2407
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
2408
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2409
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2410
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2411
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2412
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2413
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2414
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2415
+ --cirth-switch-background-color: oklch(52.7% .032 264);
2416
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
2417
+ --cirth-switch-color: oklch(100% 0 0);
2418
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2419
+ --cirth-range-border-color: oklch(26.7% .011 264);
2420
+ --cirth-range-active-border-color: oklch(31% .016 264);
2421
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
2422
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
2423
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
2424
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
2425
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2426
+ --cirth-accordion-close-summary-color: var(--cirth-color);
2427
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2428
+ --cirth-card-background-color: oklch(22.3% .006 264);
2429
+ --cirth-card-border-color: var(--cirth-card-background-color);
2430
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
2431
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2432
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2433
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2434
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2435
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2436
+ --cirth-progress-color: oklch(61.3% .113 69.35);
2437
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
2438
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
2439
+ --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");
2440
+ --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");
2441
+ }
2442
+
2443
+ [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2444
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
2445
+ }
2446
+
2447
+ progress, [type="checkbox"], [type="radio"], [type="range"] {
2448
+ accent-color: var(--cirth-primary);
2449
+ }