@cirthcss/cirth 0.2.0 → 0.3.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 (162) hide show
  1. package/README.md +117 -15
  2. package/dist/cirth.classless.css +2123 -1861
  3. package/dist/cirth.classless.jade.css +2123 -1861
  4. package/dist/cirth.classless.jade.min.css +1 -1
  5. package/dist/cirth.classless.min.css +1 -1
  6. package/dist/cirth.classless.scoped.css +1302 -1157
  7. package/dist/cirth.classless.scoped.jade.css +1302 -1157
  8. package/dist/cirth.classless.scoped.jade.min.css +1 -1
  9. package/dist/cirth.classless.scoped.min.css +1 -1
  10. package/dist/cirth.classless.scoped.slate.css +1302 -1157
  11. package/dist/cirth.classless.scoped.slate.min.css +1 -1
  12. package/dist/cirth.classless.slate.css +2123 -1861
  13. package/dist/cirth.classless.slate.min.css +1 -1
  14. package/dist/cirth.css +2088 -1804
  15. package/dist/cirth.jade.css +2088 -1804
  16. package/dist/cirth.jade.min.css +1 -1
  17. package/dist/cirth.min.css +1 -1
  18. package/dist/cirth.scoped.css +1569 -1402
  19. package/dist/cirth.scoped.jade.css +1569 -1402
  20. package/dist/cirth.scoped.jade.min.css +1 -1
  21. package/dist/cirth.scoped.min.css +1 -1
  22. package/dist/cirth.scoped.slate.css +1569 -1402
  23. package/dist/cirth.scoped.slate.min.css +1 -1
  24. package/dist/cirth.slate.css +2088 -1804
  25. package/dist/cirth.slate.min.css +1 -1
  26. package/package.json +26 -4
  27. package/dist/cirth.amber.css +0 -3747
  28. package/dist/cirth.amber.min.css +0 -1
  29. package/dist/cirth.blue.css +0 -3747
  30. package/dist/cirth.blue.min.css +0 -1
  31. package/dist/cirth.classless.amber.css +0 -3245
  32. package/dist/cirth.classless.amber.min.css +0 -1
  33. package/dist/cirth.classless.blue.css +0 -3245
  34. package/dist/cirth.classless.blue.min.css +0 -1
  35. package/dist/cirth.classless.cyan.css +0 -3245
  36. package/dist/cirth.classless.cyan.min.css +0 -1
  37. package/dist/cirth.classless.fuchsia.css +0 -3245
  38. package/dist/cirth.classless.fuchsia.min.css +0 -1
  39. package/dist/cirth.classless.green.css +0 -3245
  40. package/dist/cirth.classless.green.min.css +0 -1
  41. package/dist/cirth.classless.grey.css +0 -3245
  42. package/dist/cirth.classless.grey.min.css +0 -1
  43. package/dist/cirth.classless.indigo.css +0 -3245
  44. package/dist/cirth.classless.indigo.min.css +0 -1
  45. package/dist/cirth.classless.lime.css +0 -3245
  46. package/dist/cirth.classless.lime.min.css +0 -1
  47. package/dist/cirth.classless.orange.css +0 -3245
  48. package/dist/cirth.classless.orange.min.css +0 -1
  49. package/dist/cirth.classless.pink.css +0 -3245
  50. package/dist/cirth.classless.pink.min.css +0 -1
  51. package/dist/cirth.classless.pumpkin.css +0 -3245
  52. package/dist/cirth.classless.pumpkin.min.css +0 -1
  53. package/dist/cirth.classless.purple.css +0 -3245
  54. package/dist/cirth.classless.purple.min.css +0 -1
  55. package/dist/cirth.classless.red.css +0 -3245
  56. package/dist/cirth.classless.red.min.css +0 -1
  57. package/dist/cirth.classless.sand.css +0 -3245
  58. package/dist/cirth.classless.sand.min.css +0 -1
  59. package/dist/cirth.classless.scoped.amber.css +0 -2959
  60. package/dist/cirth.classless.scoped.amber.min.css +0 -1
  61. package/dist/cirth.classless.scoped.blue.css +0 -2959
  62. package/dist/cirth.classless.scoped.blue.min.css +0 -1
  63. package/dist/cirth.classless.scoped.cyan.css +0 -2959
  64. package/dist/cirth.classless.scoped.cyan.min.css +0 -1
  65. package/dist/cirth.classless.scoped.fuchsia.css +0 -2959
  66. package/dist/cirth.classless.scoped.fuchsia.min.css +0 -1
  67. package/dist/cirth.classless.scoped.green.css +0 -2959
  68. package/dist/cirth.classless.scoped.green.min.css +0 -1
  69. package/dist/cirth.classless.scoped.grey.css +0 -2959
  70. package/dist/cirth.classless.scoped.grey.min.css +0 -1
  71. package/dist/cirth.classless.scoped.indigo.css +0 -2959
  72. package/dist/cirth.classless.scoped.indigo.min.css +0 -1
  73. package/dist/cirth.classless.scoped.lime.css +0 -2959
  74. package/dist/cirth.classless.scoped.lime.min.css +0 -1
  75. package/dist/cirth.classless.scoped.orange.css +0 -2959
  76. package/dist/cirth.classless.scoped.orange.min.css +0 -1
  77. package/dist/cirth.classless.scoped.pink.css +0 -2959
  78. package/dist/cirth.classless.scoped.pink.min.css +0 -1
  79. package/dist/cirth.classless.scoped.pumpkin.css +0 -2959
  80. package/dist/cirth.classless.scoped.pumpkin.min.css +0 -1
  81. package/dist/cirth.classless.scoped.purple.css +0 -2959
  82. package/dist/cirth.classless.scoped.purple.min.css +0 -1
  83. package/dist/cirth.classless.scoped.red.css +0 -2959
  84. package/dist/cirth.classless.scoped.red.min.css +0 -1
  85. package/dist/cirth.classless.scoped.sand.css +0 -2959
  86. package/dist/cirth.classless.scoped.sand.min.css +0 -1
  87. package/dist/cirth.classless.scoped.violet.css +0 -2959
  88. package/dist/cirth.classless.scoped.violet.min.css +0 -1
  89. package/dist/cirth.classless.scoped.yellow.css +0 -2959
  90. package/dist/cirth.classless.scoped.yellow.min.css +0 -1
  91. package/dist/cirth.classless.scoped.zinc.css +0 -2959
  92. package/dist/cirth.classless.scoped.zinc.min.css +0 -1
  93. package/dist/cirth.classless.violet.css +0 -3245
  94. package/dist/cirth.classless.violet.min.css +0 -1
  95. package/dist/cirth.classless.yellow.css +0 -3245
  96. package/dist/cirth.classless.yellow.min.css +0 -1
  97. package/dist/cirth.classless.zinc.css +0 -3245
  98. package/dist/cirth.classless.zinc.min.css +0 -1
  99. package/dist/cirth.cyan.css +0 -3747
  100. package/dist/cirth.cyan.min.css +0 -1
  101. package/dist/cirth.fuchsia.css +0 -3747
  102. package/dist/cirth.fuchsia.min.css +0 -1
  103. package/dist/cirth.green.css +0 -3747
  104. package/dist/cirth.green.min.css +0 -1
  105. package/dist/cirth.grey.css +0 -3747
  106. package/dist/cirth.grey.min.css +0 -1
  107. package/dist/cirth.indigo.css +0 -3747
  108. package/dist/cirth.indigo.min.css +0 -1
  109. package/dist/cirth.lime.css +0 -3747
  110. package/dist/cirth.lime.min.css +0 -1
  111. package/dist/cirth.orange.css +0 -3747
  112. package/dist/cirth.orange.min.css +0 -1
  113. package/dist/cirth.pink.css +0 -3747
  114. package/dist/cirth.pink.min.css +0 -1
  115. package/dist/cirth.pumpkin.css +0 -3747
  116. package/dist/cirth.pumpkin.min.css +0 -1
  117. package/dist/cirth.purple.css +0 -3747
  118. package/dist/cirth.purple.min.css +0 -1
  119. package/dist/cirth.red.css +0 -3747
  120. package/dist/cirth.red.min.css +0 -1
  121. package/dist/cirth.sand.css +0 -3747
  122. package/dist/cirth.sand.min.css +0 -1
  123. package/dist/cirth.scoped.amber.css +0 -3467
  124. package/dist/cirth.scoped.amber.min.css +0 -1
  125. package/dist/cirth.scoped.blue.css +0 -3467
  126. package/dist/cirth.scoped.blue.min.css +0 -1
  127. package/dist/cirth.scoped.cyan.css +0 -3467
  128. package/dist/cirth.scoped.cyan.min.css +0 -1
  129. package/dist/cirth.scoped.fuchsia.css +0 -3467
  130. package/dist/cirth.scoped.fuchsia.min.css +0 -1
  131. package/dist/cirth.scoped.green.css +0 -3467
  132. package/dist/cirth.scoped.green.min.css +0 -1
  133. package/dist/cirth.scoped.grey.css +0 -3467
  134. package/dist/cirth.scoped.grey.min.css +0 -1
  135. package/dist/cirth.scoped.indigo.css +0 -3467
  136. package/dist/cirth.scoped.indigo.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.violet.css +0 -3467
  152. package/dist/cirth.scoped.violet.min.css +0 -1
  153. package/dist/cirth.scoped.yellow.css +0 -3467
  154. package/dist/cirth.scoped.yellow.min.css +0 -1
  155. package/dist/cirth.scoped.zinc.css +0 -3467
  156. package/dist/cirth.scoped.zinc.min.css +0 -1
  157. package/dist/cirth.violet.css +0 -3747
  158. package/dist/cirth.violet.min.css +0 -1
  159. package/dist/cirth.yellow.css +0 -3747
  160. package/dist/cirth.yellow.min.css +0 -1
  161. package/dist/cirth.zinc.css +0 -3747
  162. package/dist/cirth.zinc.min.css +0 -1
@@ -1,1077 +1,282 @@
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");
1
+ *, :before, :after {
2
+ box-sizing: border-box;
3
+ background-repeat: no-repeat;
37
4
  }
38
5
 
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");
6
+ :before, :after {
7
+ -webkit-text-decoration: inherit;
8
+ text-decoration: inherit;
9
+ vertical-align: inherit;
75
10
  }
76
11
 
77
- @media (width >= 576px) {
78
- :root {
79
- --cirth-font-size: 106.25%;
80
- }
12
+ :where(:root) {
13
+ -webkit-tap-highlight-color: transparent;
14
+ -webkit-text-size-adjust: 100%;
15
+ -moz-text-size-adjust: 100%;
16
+ text-size-adjust: 100%;
17
+ background-color: var(--cirth-background-color);
18
+ color: var(--cirth-color);
19
+ font-weight: var(--cirth-font-weight);
20
+ font-size: var(--cirth-font-size);
21
+ line-height: var(--cirth-line-height);
22
+ font-family: var(--cirth-font-family);
23
+ text-underline-offset: var(--cirth-text-underline-offset);
24
+ text-rendering: optimizelegibility;
25
+ overflow-wrap: break-word;
26
+ tab-size: 4;
27
+ }
81
28
 
82
- :host {
83
- --cirth-font-size: 106.25%;
84
- }
29
+ :where(:host) {
30
+ -webkit-tap-highlight-color: transparent;
31
+ -webkit-text-size-adjust: 100%;
32
+ -moz-text-size-adjust: 100%;
33
+ text-size-adjust: 100%;
34
+ background-color: var(--cirth-background-color);
35
+ color: var(--cirth-color);
36
+ font-weight: var(--cirth-font-weight);
37
+ font-size: var(--cirth-font-size);
38
+ line-height: var(--cirth-line-height);
39
+ font-family: var(--cirth-font-family);
40
+ text-underline-offset: var(--cirth-text-underline-offset);
41
+ text-rendering: optimizelegibility;
42
+ overflow-wrap: break-word;
43
+ tab-size: 4;
85
44
  }
86
45
 
87
- @media (width >= 768px) {
88
- :root {
89
- --cirth-font-size: 112.5%;
90
- }
46
+ body {
47
+ width: 100%;
48
+ margin: 0;
49
+ }
91
50
 
92
- :host {
93
- --cirth-font-size: 112.5%;
94
- }
51
+ main {
52
+ display: block;
95
53
  }
96
54
 
97
- @media (width >= 1024px) {
98
- :root {
99
- --cirth-font-size: 118.75%;
55
+ body > header, body > main, body > footer {
56
+ width: 100%;
57
+ padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
58
+ margin-left: auto;
59
+ margin-right: auto;
60
+ }
61
+
62
+ @media (width >= 576px) {
63
+ body > header, body > main, body > footer {
64
+ max-width: 510px;
65
+ padding-left: 0;
66
+ padding-right: 0;
100
67
  }
68
+ }
101
69
 
102
- :host {
103
- --cirth-font-size: 118.75%;
70
+ @media (width >= 768px) {
71
+ body > header, body > main, body > footer {
72
+ max-width: 700px;
104
73
  }
105
74
  }
106
75
 
107
- @media (width >= 1280px) {
108
- :root {
109
- --cirth-font-size: 125%;
76
+ @media (width >= 1024px) {
77
+ body > header, body > main, body > footer {
78
+ max-width: 950px;
110
79
  }
80
+ }
111
81
 
112
- :host {
113
- --cirth-font-size: 125%;
82
+ @media (width >= 1280px) {
83
+ body > header, body > main, body > footer {
84
+ max-width: 1200px;
114
85
  }
115
86
  }
116
87
 
117
88
  @media (width >= 1536px) {
118
- :root {
119
- --cirth-font-size: 131.25%;
89
+ body > header, body > main, body > footer {
90
+ max-width: 1450px;
120
91
  }
92
+ }
121
93
 
122
- :host {
123
- --cirth-font-size: 131.25%;
124
- }
94
+ section {
95
+ margin-bottom: var(--cirth-block-spacing-vertical);
125
96
  }
126
97
 
127
- a {
128
- --cirth-text-decoration: underline;
98
+ b, strong {
99
+ font-weight: bolder;
129
100
  }
130
101
 
131
- small {
132
- --cirth-font-size: .875em;
102
+ sub, sup {
103
+ vertical-align: baseline;
104
+ font-size: .75em;
105
+ line-height: 0;
106
+ position: relative;
107
+ }
108
+
109
+ sub {
110
+ bottom: -.25em;
111
+ }
112
+
113
+ sup {
114
+ top: -.5em;
115
+ }
116
+
117
+ address, blockquote, dl, ol, p, pre, table, ul {
118
+ margin-top: 0;
119
+ margin-bottom: var(--cirth-typography-spacing-vertical);
120
+ color: var(--cirth-color);
121
+ font-style: normal;
122
+ font-weight: var(--cirth-font-weight);
133
123
  }
134
124
 
135
125
  h1, h2, h3, h4, h5, h6 {
136
- --cirth-font-weight: 700;
126
+ margin-top: 0;
127
+ margin-bottom: var(--cirth-typography-spacing-vertical);
128
+ color: var(--cirth-color);
129
+ font-weight: var(--cirth-font-weight);
130
+ font-size: var(--cirth-font-size);
131
+ line-height: var(--cirth-line-height);
132
+ font-family: var(--cirth-font-family);
137
133
  }
138
134
 
139
135
  h1 {
140
- --cirth-font-size: 2rem;
141
- --cirth-line-height: 1.125;
142
- --cirth-typography-spacing-top: 3rem;
136
+ --cirth-color: var(--cirth-h1-color);
143
137
  }
144
138
 
145
139
  h2 {
146
- --cirth-font-size: 1.75rem;
147
- --cirth-line-height: 1.15;
148
- --cirth-typography-spacing-top: 2.625rem;
140
+ --cirth-color: var(--cirth-h2-color);
149
141
  }
150
142
 
151
143
  h3 {
152
- --cirth-font-size: 1.5rem;
153
- --cirth-line-height: 1.175;
154
- --cirth-typography-spacing-top: 2.25rem;
144
+ --cirth-color: var(--cirth-h3-color);
155
145
  }
156
146
 
157
147
  h4 {
158
- --cirth-font-size: 1.25rem;
159
- --cirth-line-height: 1.2;
160
- --cirth-typography-spacing-top: 1.874rem;
148
+ --cirth-color: var(--cirth-h4-color);
161
149
  }
162
150
 
163
151
  h5 {
164
- --cirth-font-size: 1.125rem;
165
- --cirth-line-height: 1.225;
166
- --cirth-typography-spacing-top: 1.6875rem;
152
+ --cirth-color: var(--cirth-h5-color);
167
153
  }
168
154
 
169
155
  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);
156
+ --cirth-color: var(--cirth-h6-color);
182
157
  }
183
158
 
184
- kbd {
185
- --cirth-font-weight: bolder;
159
+ :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
160
+ margin-top: var(--cirth-typography-spacing-top);
186
161
  }
187
162
 
188
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
189
- --cirth-outline-width: .0625rem;
163
+ p, hgroup {
164
+ margin-bottom: var(--cirth-typography-spacing-vertical);
190
165
  }
191
166
 
192
- :where(select, textarea) {
193
- --cirth-outline-width: .0625rem;
167
+ hgroup > * {
168
+ margin-top: 0;
169
+ margin-bottom: 0;
194
170
  }
195
171
 
196
- [type="search"] {
197
- --cirth-border-radius: 5rem;
172
+ hgroup > :not(:first-child):last-child {
173
+ --cirth-color: var(--cirth-muted-color);
174
+ --cirth-font-weight: unset;
175
+ font-size: var(--cirth-font-size-md);
198
176
  }
199
177
 
200
- [type="checkbox"] {
201
- --cirth-border-width: .125rem;
178
+ :where(ol, ul) li {
179
+ margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
202
180
  }
203
181
 
204
- [type="radio"] {
205
- --cirth-border-width: .125rem;
182
+ :where(dl, ol, ul) :where(dl, ol, ul) {
183
+ margin: 0;
184
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
206
185
  }
207
186
 
208
- [type="checkbox"][role="switch"] {
209
- --cirth-border-width: .1875rem;
187
+ ul li {
188
+ list-style: square;
210
189
  }
211
190
 
212
- [role="search"] {
213
- --cirth-border-radius: 5rem;
191
+ mark {
192
+ background-color: var(--cirth-mark-background-color);
193
+ color: var(--cirth-mark-color);
194
+ vertical-align: baseline;
195
+ padding: .125rem .25rem;
214
196
  }
215
197
 
216
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
217
- --cirth-form-element-spacing-horizontal: 2rem;
198
+ blockquote {
199
+ margin: var(--cirth-typography-spacing-vertical) 0;
200
+ padding: var(--cirth-spacing);
201
+ border-right: none;
202
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
203
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
204
+ border-inline-end: none;
205
+ display: block;
218
206
  }
219
207
 
220
- [role="search"] [type="submit"] {
221
- --cirth-form-element-spacing-horizontal: 2rem;
208
+ blockquote footer {
209
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
210
+ color: var(--cirth-blockquote-footer-color);
222
211
  }
223
212
 
224
- [role="search"] [type="button"] {
225
- --cirth-form-element-spacing-horizontal: 2rem;
213
+ abbr[title] {
214
+ border-bottom: var(--cirth-border-width-1) dotted;
215
+ cursor: help;
216
+ text-decoration: none;
226
217
  }
227
218
 
228
- [role="group"] [type="submit"] {
229
- --cirth-form-element-spacing-horizontal: 2rem;
219
+ ins {
220
+ color: var(--cirth-ins-color);
221
+ text-decoration: none;
230
222
  }
231
223
 
232
- [role="group"] [type="button"] {
233
- --cirth-form-element-spacing-horizontal: 2rem;
224
+ del {
225
+ color: var(--cirth-del-color);
234
226
  }
235
227
 
236
- details summary[role="button"]:after {
237
- filter: brightness(0) invert();
228
+ ::selection {
229
+ background-color: var(--cirth-text-selection-color);
238
230
  }
239
231
 
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
- }
232
+ [role="link"] {
233
+ --cirth-color: var(--cirth-primary);
234
+ --cirth-background-color: transparent;
235
+ --cirth-underline: var(--cirth-primary-underline);
236
+ background-color: var(--cirth-background-color);
237
+ color: var(--cirth-color);
238
+ -webkit-text-decoration: var(--cirth-text-decoration);
239
+ text-decoration: var(--cirth-text-decoration);
240
+ -webkit-text-decoration-color: var(--cirth-underline);
241
+ text-decoration-color: var(--cirth-underline);
242
+ text-underline-offset: .125em;
243
+ transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
244
+ outline: none;
245
+ }
243
246
 
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(0, 166, 110, .25);
251
- --cirth-muted-color: #646b79;
252
- --cirth-muted-border-color: #e7eaf0;
253
- --cirth-primary: #007a50;
254
- --cirth-primary-background: #007a50;
255
- --cirth-primary-border: var(--cirth-primary-background);
256
- --cirth-primary-underline: rgba(0, 122, 80, .5);
257
- --cirth-primary-hover: #005f3d;
258
- --cirth-primary-hover-background: #006d46;
259
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
260
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
261
- --cirth-primary-focus: rgba(0, 166, 110, .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");
247
+ :where(a:not([role="button"])) {
248
+ --cirth-color: var(--cirth-primary);
249
+ --cirth-background-color: transparent;
250
+ --cirth-underline: var(--cirth-primary-underline);
251
+ background-color: var(--cirth-background-color);
252
+ color: var(--cirth-color);
253
+ -webkit-text-decoration: var(--cirth-text-decoration);
254
+ text-decoration: var(--cirth-text-decoration);
255
+ -webkit-text-decoration-color: var(--cirth-underline);
256
+ text-decoration-color: var(--cirth-underline);
257
+ text-underline-offset: .125em;
258
+ transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
259
+ outline: none;
344
260
  }
345
261
 
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(0, 166, 110, .25);
353
- --cirth-muted-color: #646b79;
354
- --cirth-muted-border-color: #e7eaf0;
355
- --cirth-primary: #007a50;
356
- --cirth-primary-background: #007a50;
357
- --cirth-primary-border: var(--cirth-primary-background);
358
- --cirth-primary-underline: rgba(0, 122, 80, .5);
359
- --cirth-primary-hover: #005f3d;
360
- --cirth-primary-hover-background: #006d46;
361
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
362
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
363
- --cirth-primary-focus: rgba(0, 166, 110, .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");
262
+ :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
263
+ --cirth-color: var(--cirth-primary-hover);
264
+ --cirth-underline: var(--cirth-primary-hover-underline);
265
+ --cirth-text-decoration: underline;
446
266
  }
447
267
 
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);
268
+ [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
269
+ --cirth-color: var(--cirth-primary-hover);
270
+ --cirth-underline: var(--cirth-primary-hover-underline);
271
+ --cirth-text-decoration: underline;
450
272
  }
451
273
 
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);
274
+ :where(a:not([role="button"])):focus-visible {
275
+ box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
454
276
  }
455
277
 
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(0, 180, 120, .19);
468
- --cirth-muted-color: #7b8495;
469
- --cirth-muted-border-color: #202632;
470
- --cirth-primary: #00b478;
471
- --cirth-primary-background: #007a50;
472
- --cirth-primary-border: var(--cirth-primary-background);
473
- --cirth-primary-underline: rgba(0, 180, 120, .5);
474
- --cirth-primary-hover: #0c8;
475
- --cirth-primary-hover-background: #00895a;
476
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
477
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
478
- --cirth-primary-focus: rgba(0, 180, 120, .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(0, 180, 120, .19);
570
- --cirth-muted-color: #7b8495;
571
- --cirth-muted-border-color: #202632;
572
- --cirth-primary: #00b478;
573
- --cirth-primary-background: #007a50;
574
- --cirth-primary-border: var(--cirth-primary-background);
575
- --cirth-primary-underline: rgba(0, 180, 120, .5);
576
- --cirth-primary-hover: #0c8;
577
- --cirth-primary-hover-background: #00895a;
578
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
579
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
580
- --cirth-primary-focus: rgba(0, 180, 120, .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(0, 180, 120, .19);
681
- --cirth-muted-color: #7b8495;
682
- --cirth-muted-border-color: #202632;
683
- --cirth-primary: #00b478;
684
- --cirth-primary-background: #007a50;
685
- --cirth-primary-border: var(--cirth-primary-background);
686
- --cirth-primary-underline: rgba(0, 180, 120, .5);
687
- --cirth-primary-hover: #0c8;
688
- --cirth-primary-hover-background: #00895a;
689
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
690
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
691
- --cirth-primary-focus: rgba(0, 180, 120, .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
- *, :before, :after {
797
- box-sizing: border-box;
798
- background-repeat: no-repeat;
799
- }
800
-
801
- :before, :after {
802
- -webkit-text-decoration: inherit;
803
- text-decoration: inherit;
804
- vertical-align: inherit;
805
- }
806
-
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) {
825
- -webkit-tap-highlight-color: transparent;
826
- -webkit-text-size-adjust: 100%;
827
- -moz-text-size-adjust: 100%;
828
- text-size-adjust: 100%;
829
- background-color: var(--cirth-background-color);
830
- color: var(--cirth-color);
831
- font-weight: var(--cirth-font-weight);
832
- font-size: var(--cirth-font-size);
833
- line-height: var(--cirth-line-height);
834
- font-family: var(--cirth-font-family);
835
- text-underline-offset: var(--cirth-text-underline-offset);
836
- text-rendering: optimizelegibility;
837
- overflow-wrap: break-word;
838
- tab-size: 4;
839
- }
840
-
841
- body {
842
- width: 100%;
843
- margin: 0;
844
- }
845
-
846
- main {
847
- display: block;
848
- }
849
-
850
- body > header, body > main, body > footer {
851
- width: 100%;
852
- padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
853
- margin-left: auto;
854
- margin-right: auto;
855
- }
856
-
857
- @media (width >= 576px) {
858
- body > header, body > main, body > footer {
859
- max-width: 510px;
860
- padding-left: 0;
861
- padding-right: 0;
862
- }
863
- }
864
-
865
- @media (width >= 768px) {
866
- body > header, body > main, body > footer {
867
- max-width: 700px;
868
- }
869
- }
870
-
871
- @media (width >= 1024px) {
872
- body > header, body > main, body > footer {
873
- max-width: 950px;
874
- }
875
- }
876
-
877
- @media (width >= 1280px) {
878
- body > header, body > main, body > footer {
879
- max-width: 1200px;
880
- }
881
- }
882
-
883
- @media (width >= 1536px) {
884
- body > header, body > main, body > footer {
885
- max-width: 1450px;
886
- }
887
- }
888
-
889
- section {
890
- margin-bottom: var(--cirth-block-spacing-vertical);
891
- }
892
-
893
- b, strong {
894
- font-weight: bolder;
895
- }
896
-
897
- sub, sup {
898
- vertical-align: baseline;
899
- font-size: .75em;
900
- line-height: 0;
901
- position: relative;
902
- }
903
-
904
- sub {
905
- bottom: -.25em;
906
- }
907
-
908
- sup {
909
- top: -.5em;
910
- }
911
-
912
- address, blockquote, dl, ol, p, pre, table, ul {
913
- margin-top: 0;
914
- margin-bottom: var(--cirth-typography-spacing-vertical);
915
- color: var(--cirth-color);
916
- font-style: normal;
917
- font-weight: var(--cirth-font-weight);
918
- }
919
-
920
- h1, h2, h3, h4, h5, h6 {
921
- margin-top: 0;
922
- margin-bottom: var(--cirth-typography-spacing-vertical);
923
- color: var(--cirth-color);
924
- font-weight: var(--cirth-font-weight);
925
- font-size: var(--cirth-font-size);
926
- line-height: var(--cirth-line-height);
927
- font-family: var(--cirth-font-family);
928
- }
929
-
930
- h1 {
931
- --cirth-color: var(--cirth-h1-color);
932
- }
933
-
934
- h2 {
935
- --cirth-color: var(--cirth-h2-color);
936
- }
937
-
938
- h3 {
939
- --cirth-color: var(--cirth-h3-color);
940
- }
941
-
942
- h4 {
943
- --cirth-color: var(--cirth-h4-color);
944
- }
945
-
946
- h5 {
947
- --cirth-color: var(--cirth-h5-color);
948
- }
949
-
950
- h6 {
951
- --cirth-color: var(--cirth-h6-color);
952
- }
953
-
954
- :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
955
- margin-top: var(--cirth-typography-spacing-top);
956
- }
957
-
958
- p, hgroup {
959
- margin-bottom: var(--cirth-typography-spacing-vertical);
960
- }
961
-
962
- hgroup > * {
963
- margin-top: 0;
964
- margin-bottom: 0;
965
- }
966
-
967
- hgroup > :not(:first-child):last-child {
968
- --cirth-color: var(--cirth-muted-color);
969
- --cirth-font-weight: unset;
970
- font-size: 1rem;
971
- }
972
-
973
- :where(ol, ul) li {
974
- margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
975
- }
976
-
977
- :where(dl, ol, ul) :where(dl, ol, ul) {
978
- margin: 0;
979
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
980
- }
981
-
982
- ul li {
983
- list-style: square;
984
- }
985
-
986
- mark {
987
- background-color: var(--cirth-mark-background-color);
988
- color: var(--cirth-mark-color);
989
- vertical-align: baseline;
990
- padding: .125rem .25rem;
991
- }
992
-
993
- blockquote {
994
- margin: var(--cirth-typography-spacing-vertical) 0;
995
- padding: var(--cirth-spacing);
996
- border-right: none;
997
- border-left: .25rem solid var(--cirth-blockquote-border-color);
998
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
999
- border-inline-end: none;
1000
- display: block;
1001
- }
1002
-
1003
- blockquote footer {
1004
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
1005
- color: var(--cirth-blockquote-footer-color);
1006
- }
1007
-
1008
- abbr[title] {
1009
- cursor: help;
1010
- border-bottom: 1px dotted;
1011
- text-decoration: none;
1012
- }
1013
-
1014
- ins {
1015
- color: var(--cirth-ins-color);
1016
- text-decoration: none;
1017
- }
1018
-
1019
- del {
1020
- color: var(--cirth-del-color);
1021
- }
1022
-
1023
- ::selection {
1024
- background-color: var(--cirth-text-selection-color);
1025
- }
1026
-
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"])) {
1043
- --cirth-color: var(--cirth-primary);
1044
- --cirth-background-color: transparent;
1045
- --cirth-underline: var(--cirth-primary-underline);
1046
- background-color: var(--cirth-background-color);
1047
- color: var(--cirth-color);
1048
- -webkit-text-decoration: var(--cirth-text-decoration);
1049
- text-decoration: var(--cirth-text-decoration);
1050
- -webkit-text-decoration-color: var(--cirth-underline);
1051
- text-decoration-color: var(--cirth-underline);
1052
- text-underline-offset: .125em;
1053
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
1054
- outline: none;
1055
- }
1056
-
1057
- :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1058
- --cirth-color: var(--cirth-primary-hover);
1059
- --cirth-underline: var(--cirth-primary-hover-underline);
1060
- --cirth-text-decoration: underline;
1061
- }
1062
-
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 {
1074
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
278
+ [role="link"]:focus-visible {
279
+ box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1075
280
  }
1076
281
 
1077
282
  a[role="button"] {
@@ -1098,7 +303,7 @@ button, [role="button"] {
1098
303
  box-shadow: var(--cirth-box-shadow);
1099
304
  color: var(--cirth-color);
1100
305
  font-weight: var(--cirth-font-weight);
1101
- font-size: 1rem;
306
+ font-size: var(--cirth-font-size-md);
1102
307
  line-height: var(--cirth-line-height);
1103
308
  text-align: center;
1104
309
  cursor: pointer;
@@ -1121,7 +326,7 @@ button, [role="button"] {
1121
326
  box-shadow: var(--cirth-box-shadow);
1122
327
  color: var(--cirth-color);
1123
328
  font-weight: var(--cirth-font-weight);
1124
- font-size: 1rem;
329
+ font-size: var(--cirth-font-size-md);
1125
330
  line-height: var(--cirth-line-height);
1126
331
  text-align: center;
1127
332
  cursor: pointer;
@@ -1144,7 +349,7 @@ button, [role="button"] {
1144
349
  box-shadow: var(--cirth-box-shadow);
1145
350
  color: var(--cirth-color);
1146
351
  font-weight: var(--cirth-font-weight);
1147
- font-size: 1rem;
352
+ font-size: var(--cirth-font-size-md);
1148
353
  line-height: var(--cirth-line-height);
1149
354
  text-align: center;
1150
355
  cursor: pointer;
@@ -1167,7 +372,7 @@ button, [role="button"] {
1167
372
  box-shadow: var(--cirth-box-shadow);
1168
373
  color: var(--cirth-color);
1169
374
  font-weight: var(--cirth-font-weight);
1170
- font-size: 1rem;
375
+ font-size: var(--cirth-font-size-md);
1171
376
  line-height: var(--cirth-line-height);
1172
377
  text-align: center;
1173
378
  cursor: pointer;
@@ -1190,7 +395,7 @@ button, [role="button"] {
1190
395
  box-shadow: var(--cirth-box-shadow);
1191
396
  color: var(--cirth-color);
1192
397
  font-weight: var(--cirth-font-weight);
1193
- font-size: 1rem;
398
+ font-size: var(--cirth-font-size-md);
1194
399
  line-height: var(--cirth-line-height);
1195
400
  text-align: center;
1196
401
  cursor: pointer;
@@ -1279,39 +484,48 @@ button:is(:hover, :active, :focus) {
1279
484
  }
1280
485
 
1281
486
  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);
487
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
488
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1283
489
  }
1284
490
 
1285
491
  [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);
492
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
493
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1287
494
  }
1288
495
 
1289
496
  [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);
497
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
498
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1291
499
  }
1292
500
 
1293
501
  [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);
502
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
503
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1295
504
  }
1296
505
 
1297
506
  [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);
507
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
508
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1299
509
  }
1300
510
 
1301
511
  [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);
512
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
513
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1303
514
  }
1304
515
 
1305
516
  [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);
517
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
518
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1307
519
  }
1308
520
 
1309
521
  [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);
522
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
523
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1311
524
  }
1312
525
 
1313
526
  [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);
527
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
528
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1315
529
  }
1316
530
 
1317
531
  [type="submit"] {
@@ -1353,20 +567,22 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1353
567
  }
1354
568
 
1355
569
  [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);
570
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
571
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1357
572
  }
1358
573
 
1359
574
  [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);
575
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
576
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1361
577
  }
1362
578
 
1363
579
  :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1364
- opacity: .5;
580
+ opacity: var(--cirth-opacity-disabled);
1365
581
  pointer-events: none;
1366
582
  }
1367
583
 
1368
584
  :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1369
- opacity: .5;
585
+ opacity: var(--cirth-opacity-disabled);
1370
586
  pointer-events: none;
1371
587
  }
1372
588
 
@@ -1493,12 +709,12 @@ hr {
1493
709
  height: 0;
1494
710
  margin: var(--cirth-typography-spacing-vertical) 0;
1495
711
  border: 0;
1496
- border-top: 1px solid var(--cirth-muted-border-color);
712
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1497
713
  color: inherit;
1498
714
  }
1499
715
 
1500
716
  [hidden], template {
1501
- display: none !important;
717
+ display: none;
1502
718
  }
1503
719
 
1504
720
  canvas {
@@ -1506,7 +722,7 @@ canvas {
1506
722
  }
1507
723
 
1508
724
  input, optgroup, select, textarea {
1509
- font-size: 1rem;
725
+ font-size: var(--cirth-font-size-md);
1510
726
  line-height: var(--cirth-line-height);
1511
727
  letter-spacing: inherit;
1512
728
  margin: 0;
@@ -1590,7 +806,7 @@ textarea {
1590
806
  }
1591
807
 
1592
808
  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);
809
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1594
810
  }
1595
811
 
1596
812
  fieldset {
@@ -1666,11 +882,13 @@ input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"],
1666
882
  }
1667
883
 
1668
884
  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);
885
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
886
+ var(--cirth-form-element-focus-color);
1670
887
  }
1671
888
 
1672
889
  :where(select, textarea):not([readonly]):focus {
1673
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
890
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
891
+ var(--cirth-form-element-focus-color);
1674
892
  }
1675
893
 
1676
894
  select[disabled], textarea[disabled], label[aria-disabled="true"] {
@@ -1693,13 +911,13 @@ label[aria-disabled="true"] input[disabled] {
1693
911
  }
1694
912
 
1695
913
  :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] {
914
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1696
915
  padding-left: var(--cirth-form-element-spacing-horizontal);
1697
- background-position: right .75rem center;
916
+ background-position: center right var(--cirth-space-3);
917
+ background-size: var(--cirth-size-4) auto;
1698
918
  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;
919
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
920
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1703
921
  }
1704
922
 
1705
923
  :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) {
@@ -1715,11 +933,12 @@ label[aria-disabled="true"] input[disabled] {
1715
933
  }
1716
934
 
1717
935
  :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1718
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
936
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1719
937
  }
1720
938
 
1721
939
  :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;
940
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
941
+ var(--cirth-form-element-valid-focus-color);
1723
942
  }
1724
943
 
1725
944
  :where(input, select, textarea)[aria-invalid="true"] {
@@ -1727,15 +946,16 @@ label[aria-disabled="true"] input[disabled] {
1727
946
  }
1728
947
 
1729
948
  :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1730
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
949
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1731
950
  }
1732
951
 
1733
952
  :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;
953
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
954
+ var(--cirth-form-element-invalid-focus-color);
1735
955
  }
1736
956
 
1737
957
  [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;
958
+ background-position: center left var(--cirth-space-3);
1739
959
  }
1740
960
 
1741
961
  select:invalid {
@@ -1777,14 +997,14 @@ select::-ms-expand {
1777
997
  }
1778
998
 
1779
999
  select:not(:is([multiple], [size])) {
1780
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1000
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1781
1001
  padding-left: var(--cirth-form-element-spacing-horizontal);
1782
1002
  background-image: var(--cirth-icon-chevron);
1783
- background-position: right .75rem center;
1003
+ background-position: center right var(--cirth-space-3);
1004
+ background-size: var(--cirth-size-4) auto;
1784
1005
  background-repeat: no-repeat;
1785
- background-size: 1rem;
1786
1006
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1787
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1007
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1788
1008
  }
1789
1009
 
1790
1010
  select[multiple] option:checked {
@@ -1793,7 +1013,7 @@ select[multiple] option:checked {
1793
1013
  }
1794
1014
 
1795
1015
  [dir="rtl"] select:not(:is([multiple], [size])) {
1796
- background-position: .75rem;
1016
+ background-position: center left var(--cirth-space-3);
1797
1017
  }
1798
1018
 
1799
1019
  textarea {
@@ -1802,9 +1022,11 @@ textarea {
1802
1022
  }
1803
1023
 
1804
1024
  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;
1025
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
1026
+ var(--cirth-form-element-spacing-vertical) * 2 +
1027
+ var(--cirth-border-width) * 2);
1028
+ background-position: top right var(--cirth-space-3);
1029
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
1808
1030
  }
1809
1031
 
1810
1032
  :where(input, select, textarea, fieldset) + small {
@@ -1988,8 +1210,8 @@ label:has([type="checkbox"], [type="radio"]) {
1988
1210
  height: 100%;
1989
1211
  box-shadow: var(--cirth-switch-thumb-box-shadow);
1990
1212
  content: "";
1213
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
1991
1214
  border-radius: 50%;
1992
- transition: margin .1s ease-in-out;
1993
1215
  display: block;
1994
1216
  }
1995
1217
 
@@ -2020,1226 +1242,2266 @@ label:has([type="checkbox"], [type="radio"]) {
2020
1242
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
2021
1243
  }
2022
1244
 
2023
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2024
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1245
+ [type="checkbox"][aria-invalid="false"]:checked:focus {
1246
+ --cirth-background-color: var(--cirth-form-element-valid-border-color);
1247
+ }
1248
+
1249
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1250
+ --cirth-background-color: var(--cirth-form-element-valid-border-color);
1251
+ }
1252
+
1253
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1254
+ --cirth-background-color: var(--cirth-form-element-valid-border-color);
1255
+ }
1256
+
1257
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1258
+ --cirth-background-color: var(--cirth-form-element-valid-border-color);
1259
+ }
1260
+
1261
+ [type="checkbox"]:checked[aria-invalid="true"] {
1262
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1263
+ }
1264
+
1265
+ [type="checkbox"]:checked:active[aria-invalid="true"] {
1266
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1267
+ }
1268
+
1269
+ [type="checkbox"]:checked:focus[aria-invalid="true"] {
1270
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1271
+ }
1272
+
1273
+ [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1274
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1275
+ }
1276
+
1277
+ [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1278
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1279
+ }
1280
+
1281
+ [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1282
+ --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1283
+ }
1284
+
1285
+ [type="checkbox"][aria-invalid="false"]:checked {
1286
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1287
+ }
1288
+
1289
+ [type="checkbox"][aria-invalid="false"]:checked:active {
1290
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1291
+ }
1292
+
1293
+ [type="checkbox"][aria-invalid="false"]:checked:focus {
1294
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1295
+ }
1296
+
1297
+ [type="radio"][aria-invalid="false"]:checked {
1298
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1299
+ }
1300
+
1301
+ [type="radio"][aria-invalid="false"]:checked:active {
1302
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1303
+ }
1304
+
1305
+ [type="radio"][aria-invalid="false"]:checked:focus {
1306
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1307
+ }
1308
+
1309
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1310
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1311
+ }
1312
+
1313
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1314
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1315
+ }
1316
+
1317
+ [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1318
+ --cirth-border-color: var(--cirth-form-element-valid-border-color);
1319
+ }
1320
+
1321
+ [type="checkbox"]:checked[aria-invalid="true"] {
1322
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1323
+ }
1324
+
1325
+ [type="checkbox"]:checked:active[aria-invalid="true"] {
1326
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1327
+ }
1328
+
1329
+ [type="checkbox"]:checked:focus[aria-invalid="true"] {
1330
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1331
+ }
1332
+
1333
+ [type="radio"]:checked[aria-invalid="true"] {
1334
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1335
+ }
1336
+
1337
+ [type="radio"]:checked:active[aria-invalid="true"] {
1338
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1339
+ }
1340
+
1341
+ [type="radio"]:checked:focus[aria-invalid="true"] {
1342
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1343
+ }
1344
+
1345
+ [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1346
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1347
+ }
1348
+
1349
+ [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1350
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1351
+ }
1352
+
1353
+ [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1354
+ --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1355
+ }
1356
+
1357
+ [type="color"]::-webkit-color-swatch-wrapper {
1358
+ padding: 0;
1359
+ }
1360
+
1361
+ [type="color"]::-moz-focus-inner {
1362
+ padding: 0;
1363
+ }
1364
+
1365
+ [type="color"]::-webkit-color-swatch {
1366
+ border-radius: calc(var(--cirth-border-radius) * .5);
1367
+ border: 0;
1368
+ }
1369
+
1370
+ [type="color"]::-moz-color-swatch {
1371
+ border-radius: calc(var(--cirth-border-radius) * .5);
1372
+ border: 0;
1373
+ }
1374
+
1375
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1376
+ --cirth-icon-position: var(--cirth-space-3);
1377
+ --cirth-icon-width: var(--cirth-size-4);
1378
+ padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
1379
+ background-image: var(--cirth-icon-date);
1380
+ background-position: center right var(--cirth-icon-position);
1381
+ background-size: var(--cirth-icon-width) auto;
1382
+ background-repeat: no-repeat;
1383
+ }
1384
+
1385
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
1386
+ background-image: var(--cirth-icon-time);
1387
+ }
1388
+
1389
+ [type="date"]::-webkit-calendar-picker-indicator {
1390
+ width: var(--cirth-icon-width);
1391
+ margin-right: calc(var(--cirth-icon-width) * -1);
1392
+ margin-left: var(--cirth-icon-position);
1393
+ opacity: 0;
1394
+ }
1395
+
1396
+ [type="datetime-local"]::-webkit-calendar-picker-indicator {
1397
+ width: var(--cirth-icon-width);
1398
+ margin-right: calc(var(--cirth-icon-width) * -1);
1399
+ margin-left: var(--cirth-icon-position);
1400
+ opacity: 0;
1401
+ }
1402
+
1403
+ [type="month"]::-webkit-calendar-picker-indicator {
1404
+ width: var(--cirth-icon-width);
1405
+ margin-right: calc(var(--cirth-icon-width) * -1);
1406
+ margin-left: var(--cirth-icon-position);
1407
+ opacity: 0;
1408
+ }
1409
+
1410
+ [type="time"]::-webkit-calendar-picker-indicator {
1411
+ width: var(--cirth-icon-width);
1412
+ margin-right: calc(var(--cirth-icon-width) * -1);
1413
+ margin-left: var(--cirth-icon-position);
1414
+ opacity: 0;
1415
+ }
1416
+
1417
+ [type="week"]::-webkit-calendar-picker-indicator {
1418
+ width: var(--cirth-icon-width);
1419
+ margin-right: calc(var(--cirth-icon-width) * -1);
1420
+ margin-left: var(--cirth-icon-position);
1421
+ opacity: 0;
1422
+ }
1423
+
1424
+ @-moz-document url-prefix() {
1425
+ [type="date"] {
1426
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1427
+ background-image: none;
1428
+ }
1429
+
1430
+ [type="datetime-local"] {
1431
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1432
+ background-image: none;
1433
+ }
1434
+
1435
+ [type="month"] {
1436
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1437
+ background-image: none;
1438
+ }
1439
+
1440
+ [type="time"] {
1441
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1442
+ background-image: none;
1443
+ }
1444
+
1445
+ [type="week"] {
1446
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1447
+ background-image: none;
1448
+ }
1449
+ }
1450
+
1451
+ [dir="rtl"] :is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1452
+ text-align: right;
1453
+ }
1454
+
1455
+ [type="file"] {
1456
+ --cirth-color: var(--cirth-muted-color);
1457
+ margin-left: calc(var(--cirth-outline-width) * -1);
1458
+ padding: calc(var(--cirth-form-element-spacing-vertical) * .5) 0;
1459
+ padding-left: var(--cirth-outline-width);
1460
+ background: none;
1461
+ border: 0;
1462
+ border-radius: 0;
1463
+ }
1464
+
1465
+ [type="file"]::file-selector-button {
1466
+ margin-right: calc(var(--cirth-spacing) / 2);
1467
+ padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1468
+ }
1469
+
1470
+ [type="file"]:is(:hover, :active, :focus)::file-selector-button {
1471
+ --cirth-background-color: var(--cirth-secondary-hover-background);
1472
+ --cirth-border-color: var(--cirth-secondary-hover-border);
1473
+ }
1474
+
1475
+ [type="file"]:focus::file-selector-button {
1476
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
1477
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1478
+ }
1479
+
1480
+ [type="range"] {
1481
+ appearance: none;
1482
+ background: none;
1483
+ width: 100%;
1484
+ height: 1.25rem;
1485
+ }
1486
+
1487
+ [type="range"]::-webkit-slider-runnable-track {
1488
+ border-radius: var(--cirth-border-radius);
1489
+ background-color: var(--cirth-range-border-color);
1490
+ width: 100%;
1491
+ height: .375rem;
1492
+ transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
2025
1493
  }
2026
1494
 
2027
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2028
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1495
+ [type="range"]::-moz-range-track {
1496
+ border-radius: var(--cirth-border-radius);
1497
+ background-color: var(--cirth-range-border-color);
1498
+ width: 100%;
1499
+ height: .375rem;
1500
+ transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
2029
1501
  }
2030
1502
 
2031
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2032
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1503
+ [type="range"]::-ms-track {
1504
+ border-radius: var(--cirth-border-radius);
1505
+ background-color: var(--cirth-range-border-color);
1506
+ width: 100%;
1507
+ height: .375rem;
1508
+ transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
2033
1509
  }
2034
1510
 
2035
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2036
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1511
+ [type="range"]::-webkit-slider-thumb {
1512
+ -webkit-appearance: none;
1513
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
1514
+ background-color: var(--cirth-range-thumb-color);
1515
+ cursor: pointer;
1516
+ width: 1.25rem;
1517
+ height: 1.25rem;
1518
+ transition: background-color var(--cirth-transition), transform var(--cirth-transition);
1519
+ border-radius: 50%;
1520
+ margin-top: -.4375rem;
2037
1521
  }
2038
1522
 
2039
- [type="checkbox"]:checked[aria-invalid="true"] {
2040
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1523
+ [type="range"]::-moz-range-thumb {
1524
+ -webkit-appearance: none;
1525
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
1526
+ background-color: var(--cirth-range-thumb-color);
1527
+ cursor: pointer;
1528
+ width: 1.25rem;
1529
+ height: 1.25rem;
1530
+ transition: background-color var(--cirth-transition), transform var(--cirth-transition);
1531
+ border-radius: 50%;
1532
+ margin-top: -.4375rem;
2041
1533
  }
2042
1534
 
2043
- [type="checkbox"]:checked:active[aria-invalid="true"] {
2044
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1535
+ [type="range"]::-ms-thumb {
1536
+ -webkit-appearance: none;
1537
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
1538
+ background-color: var(--cirth-range-thumb-color);
1539
+ cursor: pointer;
1540
+ width: 1.25rem;
1541
+ height: 1.25rem;
1542
+ transition: background-color var(--cirth-transition), transform var(--cirth-transition);
1543
+ border-radius: 50%;
1544
+ margin-top: -.4375rem;
2045
1545
  }
2046
1546
 
2047
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2048
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1547
+ [type="range"]:active {
1548
+ --cirth-range-border-color: var(--cirth-range-active-border-color);
1549
+ --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2049
1550
  }
2050
1551
 
2051
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2052
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1552
+ [type="range"]:focus-within {
1553
+ --cirth-range-border-color: var(--cirth-range-active-border-color);
1554
+ --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
2053
1555
  }
2054
1556
 
2055
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2056
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1557
+ [type="range"]:active::-webkit-slider-thumb {
1558
+ transform: scale(1.25);
2057
1559
  }
2058
1560
 
2059
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2060
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1561
+ [type="range"]:active::-moz-range-thumb {
1562
+ transform: scale(1.25);
2061
1563
  }
2062
1564
 
2063
- [type="checkbox"][aria-invalid="false"]:checked {
2064
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1565
+ [type="range"]:active::-ms-thumb {
1566
+ transform: scale(1.25);
2065
1567
  }
2066
1568
 
2067
- [type="checkbox"][aria-invalid="false"]:checked:active {
2068
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1569
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1570
+ background-image: var(--cirth-icon-search);
1571
+ background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1572
+ background-repeat: no-repeat;
1573
+ background-size: 1rem;
1574
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
2069
1575
  }
2070
1576
 
2071
- [type="checkbox"][aria-invalid="false"]:checked:focus {
2072
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1577
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
1578
+ background-position: 1.125rem, right .75rem center;
1579
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
2073
1580
  }
2074
1581
 
2075
- [type="radio"][aria-invalid="false"]:checked {
2076
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1582
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1583
+ background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
2077
1584
  }
2078
1585
 
2079
- [type="radio"][aria-invalid="false"]:checked:active {
2080
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1586
+ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1587
+ background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
2081
1588
  }
2082
1589
 
2083
- [type="radio"][aria-invalid="false"]:checked:focus {
2084
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1590
+ [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1591
+ background-position: right 1.125rem center;
2085
1592
  }
2086
1593
 
2087
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
2088
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1594
+ [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
1595
+ background-position: right 1.125rem center, .75rem;
2089
1596
  }
2090
1597
 
2091
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
2092
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1598
+ details {
1599
+ margin-bottom: var(--cirth-spacing);
1600
+ display: block;
2093
1601
  }
2094
1602
 
2095
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
2096
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1603
+ details summary {
1604
+ line-height: var(--cirth-size-4);
1605
+ cursor: pointer;
1606
+ transition: color var(--cirth-transition);
1607
+ list-style-type: none;
2097
1608
  }
2098
1609
 
2099
- [type="checkbox"]:checked[aria-invalid="true"] {
2100
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1610
+ details summary:not([role]) {
1611
+ color: var(--cirth-accordion-close-summary-color);
2101
1612
  }
2102
1613
 
2103
- [type="checkbox"]:checked:active[aria-invalid="true"] {
2104
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1614
+ details summary::-webkit-details-marker {
1615
+ display: none;
2105
1616
  }
2106
1617
 
2107
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
2108
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1618
+ details summary::marker {
1619
+ display: none;
2109
1620
  }
2110
1621
 
2111
- [type="radio"]:checked[aria-invalid="true"] {
2112
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1622
+ details summary::-moz-list-bullet {
1623
+ list-style-type: none;
2113
1624
  }
2114
1625
 
2115
- [type="radio"]:checked:active[aria-invalid="true"] {
2116
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1626
+ details summary:after {
1627
+ width: var(--cirth-size-4);
1628
+ height: var(--cirth-size-4);
1629
+ float: right;
1630
+ background-image: var(--cirth-icon-chevron);
1631
+ background-position: 100%;
1632
+ background-size: var(--cirth-size-4) auto;
1633
+ content: "";
1634
+ transition: transform var(--cirth-transition);
1635
+ background-repeat: no-repeat;
1636
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1637
+ display: block;
1638
+ transform: rotate(-90deg);
2117
1639
  }
2118
1640
 
2119
- [type="radio"]:checked:focus[aria-invalid="true"] {
2120
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1641
+ details summary:focus {
1642
+ outline: none;
2121
1643
  }
2122
1644
 
2123
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
2124
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1645
+ details summary:focus:not([role]) {
1646
+ color: var(--cirth-accordion-active-summary-color);
2125
1647
  }
2126
1648
 
2127
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
2128
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1649
+ details summary:focus-visible:not([role]) {
1650
+ outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
1651
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1652
+ color: var(--cirth-primary);
2129
1653
  }
2130
1654
 
2131
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
2132
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1655
+ details summary[role="button"] {
1656
+ text-align: left;
1657
+ width: 100%;
2133
1658
  }
2134
1659
 
2135
- [type="color"]::-webkit-color-swatch-wrapper {
2136
- padding: 0;
1660
+ details summary[role="button"]:after {
1661
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2137
1662
  }
2138
1663
 
2139
- [type="color"]::-moz-focus-inner {
2140
- padding: 0;
1664
+ details[open] > summary {
1665
+ margin-bottom: var(--cirth-spacing);
2141
1666
  }
2142
1667
 
2143
- [type="color"]::-webkit-color-swatch {
2144
- border-radius: calc(var(--cirth-border-radius) * .5);
2145
- border: 0;
1668
+ details[open] > summary:not([role]):not(:focus) {
1669
+ color: var(--cirth-accordion-open-summary-color);
2146
1670
  }
2147
1671
 
2148
- [type="color"]::-moz-color-swatch {
2149
- border-radius: calc(var(--cirth-border-radius) * .5);
2150
- border: 0;
1672
+ details[open] > summary:after {
1673
+ transform: rotate(0);
2151
1674
  }
2152
1675
 
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;
2156
- padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2157
- background-image: var(--cirth-icon-date);
2158
- background-position: center right var(--cirth-icon-position);
2159
- background-size: var(--cirth-icon-width) auto;
2160
- background-repeat: no-repeat;
1676
+ [dir="rtl"] details summary {
1677
+ text-align: right;
2161
1678
  }
2162
1679
 
2163
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
2164
- background-image: var(--cirth-icon-time);
1680
+ [dir="rtl"] details summary:after {
1681
+ float: left;
1682
+ background-position: 0;
2165
1683
  }
2166
1684
 
2167
- [type="date"]::-webkit-calendar-picker-indicator {
2168
- width: var(--cirth-icon-width);
2169
- margin-right: calc(var(--cirth-icon-width) * -1);
2170
- margin-left: var(--cirth-icon-position);
2171
- opacity: 0;
1685
+ article {
1686
+ margin-bottom: var(--cirth-block-spacing-vertical);
1687
+ padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
1688
+ border-radius: var(--cirth-border-radius);
1689
+ background: var(--cirth-card-background-color);
1690
+ box-shadow: var(--cirth-card-box-shadow);
2172
1691
  }
2173
1692
 
2174
- [type="datetime-local"]::-webkit-calendar-picker-indicator {
2175
- width: var(--cirth-icon-width);
2176
- margin-right: calc(var(--cirth-icon-width) * -1);
2177
- margin-left: var(--cirth-icon-position);
2178
- opacity: 0;
1693
+ article > header, article > footer {
1694
+ margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
1695
+ margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
1696
+ padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1697
+ background-color: var(--cirth-card-sectioning-background-color);
2179
1698
  }
2180
1699
 
2181
- [type="month"]::-webkit-calendar-picker-indicator {
2182
- width: var(--cirth-icon-width);
2183
- margin-right: calc(var(--cirth-icon-width) * -1);
2184
- margin-left: var(--cirth-icon-position);
2185
- opacity: 0;
1700
+ article > header {
1701
+ margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
1702
+ margin-bottom: var(--cirth-block-spacing-vertical);
1703
+ border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
1704
+ border-top-right-radius: var(--cirth-border-radius);
1705
+ border-top-left-radius: var(--cirth-border-radius);
2186
1706
  }
2187
1707
 
2188
- [type="time"]::-webkit-calendar-picker-indicator {
2189
- width: var(--cirth-icon-width);
2190
- margin-right: calc(var(--cirth-icon-width) * -1);
2191
- margin-left: var(--cirth-icon-position);
2192
- opacity: 0;
1708
+ article > footer {
1709
+ margin-top: var(--cirth-block-spacing-vertical);
1710
+ margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
1711
+ border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
1712
+ border-bottom-right-radius: var(--cirth-border-radius);
1713
+ border-bottom-left-radius: var(--cirth-border-radius);
2193
1714
  }
2194
1715
 
2195
- [type="week"]::-webkit-calendar-picker-indicator {
2196
- width: var(--cirth-icon-width);
2197
- margin-right: calc(var(--cirth-icon-width) * -1);
2198
- margin-left: var(--cirth-icon-position);
2199
- opacity: 0;
1716
+ [role="search"], [role="group"] {
1717
+ width: 100%;
1718
+ margin-bottom: var(--cirth-spacing);
1719
+ border-radius: var(--cirth-border-radius);
1720
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1721
+ vertical-align: middle;
1722
+ transition: box-shadow var(--cirth-transition);
1723
+ display: inline-flex;
1724
+ position: relative;
2200
1725
  }
2201
1726
 
2202
- @-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
- }
1727
+ [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
1728
+ flex: auto;
1729
+ margin-bottom: 0;
1730
+ position: relative;
1731
+ }
2212
1732
 
2213
- [type="month"] {
2214
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2215
- background-image: none !important;
2216
- }
1733
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
1734
+ flex: auto;
1735
+ margin-bottom: 0;
1736
+ position: relative;
1737
+ }
2217
1738
 
2218
- [type="time"] {
2219
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2220
- background-image: none !important;
2221
- }
1739
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
1740
+ flex: auto;
1741
+ margin-bottom: 0;
1742
+ position: relative;
1743
+ }
2222
1744
 
2223
- [type="week"] {
2224
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2225
- background-image: none !important;
2226
- }
1745
+ [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
1746
+ border-top-left-radius: 0;
1747
+ border-bottom-left-radius: 0;
1748
+ margin-left: 0;
2227
1749
  }
2228
1750
 
2229
- [dir="rtl"] :is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2230
- text-align: right;
1751
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1752
+ border-top-left-radius: 0;
1753
+ border-bottom-left-radius: 0;
1754
+ margin-left: 0;
2231
1755
  }
2232
1756
 
2233
- [type="file"] {
2234
- --cirth-color: var(--cirth-muted-color);
2235
- margin-left: calc(var(--cirth-outline-width) * -1);
2236
- padding: calc(var(--cirth-form-element-spacing-vertical) * .5) 0;
2237
- padding-left: var(--cirth-outline-width);
2238
- background: none;
2239
- border: 0;
2240
- border-radius: 0;
1757
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1758
+ border-top-left-radius: 0;
1759
+ border-bottom-left-radius: 0;
1760
+ margin-left: 0;
2241
1761
  }
2242
1762
 
2243
- [type="file"]::file-selector-button {
2244
- margin-right: calc(var(--cirth-spacing) / 2);
2245
- padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1763
+ [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
1764
+ border-top-right-radius: 0;
1765
+ border-bottom-right-radius: 0;
2246
1766
  }
2247
1767
 
2248
- [type="file"]:is(:hover, :active, :focus)::file-selector-button {
2249
- --cirth-background-color: var(--cirth-secondary-hover-background);
2250
- --cirth-border-color: var(--cirth-secondary-hover-border);
1768
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1769
+ border-top-right-radius: 0;
1770
+ border-bottom-right-radius: 0;
2251
1771
  }
2252
1772
 
2253
- [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);
1773
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1774
+ border-top-right-radius: 0;
1775
+ border-bottom-right-radius: 0;
2255
1776
  }
2256
1777
 
2257
- [type="range"] {
2258
- appearance: none;
2259
- background: none;
2260
- width: 100%;
2261
- height: 1.25rem;
1778
+ [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
1779
+ z-index: 2;
2262
1780
  }
2263
1781
 
2264
- [type="range"]::-webkit-slider-runnable-track {
2265
- border-radius: var(--cirth-border-radius);
2266
- background-color: var(--cirth-range-border-color);
2267
- width: 100%;
2268
- height: .375rem;
2269
- transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
1782
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1783
+ z-index: 2;
2270
1784
  }
2271
1785
 
2272
- [type="range"]::-moz-range-track {
2273
- border-radius: var(--cirth-border-radius);
2274
- background-color: var(--cirth-range-border-color);
2275
- width: 100%;
2276
- height: .375rem;
2277
- transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
1786
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1787
+ z-index: 2;
2278
1788
  }
2279
1789
 
2280
- [type="range"]::-ms-track {
2281
- border-radius: var(--cirth-border-radius);
2282
- background-color: var(--cirth-range-border-color);
2283
- width: 100%;
2284
- height: .375rem;
2285
- transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
1790
+ [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) {
1791
+ margin-left: calc(var(--cirth-border-width) * -1);
2286
1792
  }
2287
1793
 
2288
- [type="range"]::-webkit-slider-thumb {
2289
- -webkit-appearance: none;
2290
- border: 2px solid var(--cirth-range-thumb-border-color);
2291
- background-color: var(--cirth-range-thumb-color);
2292
- cursor: pointer;
2293
- width: 1.25rem;
2294
- height: 1.25rem;
2295
- transition: background-color var(--cirth-transition), transform var(--cirth-transition);
2296
- border-radius: 50%;
2297
- margin-top: -.4375rem;
1794
+ [role="search"] [type="submit"]:not(:first-child) {
1795
+ margin-left: calc(var(--cirth-border-width) * -1);
2298
1796
  }
2299
1797
 
2300
- [type="range"]::-moz-range-thumb {
2301
- -webkit-appearance: none;
2302
- border: 2px solid var(--cirth-range-thumb-border-color);
2303
- background-color: var(--cirth-range-thumb-color);
2304
- cursor: pointer;
2305
- width: 1.25rem;
2306
- height: 1.25rem;
2307
- transition: background-color var(--cirth-transition), transform var(--cirth-transition);
2308
- border-radius: 50%;
2309
- margin-top: -.4375rem;
1798
+ [role="search"] [type="reset"]:not(:first-child) {
1799
+ margin-left: calc(var(--cirth-border-width) * -1);
2310
1800
  }
2311
1801
 
2312
- [type="range"]::-ms-thumb {
2313
- -webkit-appearance: none;
2314
- border: 2px solid var(--cirth-range-thumb-border-color);
2315
- background-color: var(--cirth-range-thumb-color);
2316
- cursor: pointer;
2317
- width: 1.25rem;
2318
- height: 1.25rem;
2319
- transition: background-color var(--cirth-transition), transform var(--cirth-transition);
2320
- border-radius: 50%;
2321
- margin-top: -.4375rem;
1802
+ [role="search"] [type="button"]:not(:first-child) {
1803
+ margin-left: calc(var(--cirth-border-width) * -1);
2322
1804
  }
2323
1805
 
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);
1806
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1807
+ margin-left: calc(var(--cirth-border-width) * -1);
2327
1808
  }
2328
1809
 
2329
- [type="range"]:focus-within {
2330
- --cirth-range-border-color: var(--cirth-range-active-border-color);
2331
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
1810
+ [role="group"] [type="submit"]:not(:first-child) {
1811
+ margin-left: calc(var(--cirth-border-width) * -1);
2332
1812
  }
2333
1813
 
2334
- [type="range"]:active::-webkit-slider-thumb {
2335
- transform: scale(1.25);
1814
+ [role="group"] [type="reset"]:not(:first-child) {
1815
+ margin-left: calc(var(--cirth-border-width) * -1);
2336
1816
  }
2337
1817
 
2338
- [type="range"]:active::-moz-range-thumb {
2339
- transform: scale(1.25);
1818
+ [role="group"] [type="button"]:not(:first-child) {
1819
+ margin-left: calc(var(--cirth-border-width) * -1);
2340
1820
  }
2341
1821
 
2342
- [type="range"]:active::-ms-thumb {
2343
- transform: scale(1.25);
1822
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1823
+ margin-left: calc(var(--cirth-border-width) * -1);
2344
1824
  }
2345
1825
 
2346
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2347
- background-image: var(--cirth-icon-search);
2348
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
2349
- background-repeat: no-repeat;
2350
- background-size: 1rem;
2351
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1826
+ [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
1827
+ width: auto;
2352
1828
  }
2353
1829
 
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;
1830
+ [role="search"] [type="submit"] {
1831
+ width: auto;
2357
1832
  }
2358
1833
 
2359
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
2360
- background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
1834
+ [role="search"] [type="reset"] {
1835
+ width: auto;
2361
1836
  }
2362
1837
 
2363
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
2364
- background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
1838
+ [role="search"] [type="button"] {
1839
+ width: auto;
2365
1840
  }
2366
1841
 
2367
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
2368
- background-position: right 1.125rem center;
1842
+ [role="group"] [type="submit"] {
1843
+ width: auto;
2369
1844
  }
2370
1845
 
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;
1846
+ [role="group"] [type="reset"] {
1847
+ width: auto;
2373
1848
  }
2374
1849
 
2375
- details {
2376
- margin-bottom: var(--cirth-spacing);
2377
- display: block;
1850
+ [role="group"] [type="button"] {
1851
+ width: auto;
2378
1852
  }
2379
1853
 
2380
- details summary {
2381
- cursor: pointer;
2382
- transition: color var(--cirth-transition);
2383
- line-height: 1rem;
2384
- list-style-type: none;
2385
- }
1854
+ @supports selector(:has(*)) {
1855
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1856
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1857
+ }
1858
+
1859
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1860
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1861
+ }
1862
+
1863
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
1864
+ border-color: rgba(0, 0, 0, 0);
1865
+ }
1866
+
1867
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1868
+ border-color: rgba(0, 0, 0, 0);
1869
+ }
1870
+
1871
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
1872
+ border-color: rgba(0, 0, 0, 0);
1873
+ }
1874
+
1875
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1876
+ border-color: rgba(0, 0, 0, 0);
1877
+ }
1878
+
1879
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1880
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1881
+ }
1882
+
1883
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1884
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1885
+ }
1886
+
1887
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1888
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1889
+ var(--cirth-primary-border);
1890
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1891
+ var(--cirth-primary-hover-border);
1892
+ }
1893
+
1894
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1895
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1896
+ var(--cirth-primary-border);
1897
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1898
+ var(--cirth-primary-hover-border);
1899
+ }
1900
+
1901
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1902
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1903
+ var(--cirth-primary-border);
1904
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1905
+ var(--cirth-primary-hover-border);
1906
+ }
1907
+
1908
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1909
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1910
+ var(--cirth-primary-border);
1911
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1912
+ var(--cirth-primary-hover-border);
1913
+ }
1914
+
1915
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1916
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1917
+ var(--cirth-primary-border);
1918
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1919
+ var(--cirth-primary-hover-border);
1920
+ }
1921
+
1922
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1923
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1924
+ var(--cirth-primary-border);
1925
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1926
+ var(--cirth-primary-hover-border);
1927
+ }
1928
+
1929
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1930
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1931
+ var(--cirth-primary-border);
1932
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1933
+ var(--cirth-primary-hover-border);
1934
+ }
1935
+
1936
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1937
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1938
+ var(--cirth-primary-border);
1939
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1940
+ var(--cirth-primary-hover-border);
1941
+ }
1942
+
1943
+ [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
1944
+ box-shadow: none;
1945
+ }
1946
+
1947
+ [role="search"] [type="submit"]:focus {
1948
+ box-shadow: none;
1949
+ }
1950
+
1951
+ [role="search"] [type="reset"]:focus {
1952
+ box-shadow: none;
1953
+ }
1954
+
1955
+ [role="search"] [type="button"]:focus {
1956
+ box-shadow: none;
1957
+ }
1958
+
1959
+ [role="group"] [type="submit"]:focus {
1960
+ box-shadow: none;
1961
+ }
2386
1962
 
2387
- details summary:not([role]) {
2388
- color: var(--cirth-accordion-close-summary-color);
1963
+ [role="group"] [type="reset"]:focus {
1964
+ box-shadow: none;
1965
+ }
1966
+
1967
+ [role="group"] [type="button"]:focus {
1968
+ box-shadow: none;
1969
+ }
2389
1970
  }
2390
1971
 
2391
- details summary::-webkit-details-marker {
2392
- display: none;
1972
+ [role="search"] > :first-child {
1973
+ border-top-left-radius: var(--cirth-radius-pill);
1974
+ border-bottom-left-radius: var(--cirth-radius-pill);
2393
1975
  }
2394
1976
 
2395
- details summary::marker {
2396
- display: none;
1977
+ [role="search"] > :last-child {
1978
+ border-top-right-radius: var(--cirth-radius-pill);
1979
+ border-bottom-right-radius: var(--cirth-radius-pill);
2397
1980
  }
2398
1981
 
2399
- details summary::-moz-list-bullet {
2400
- list-style-type: none;
1982
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1983
+ white-space: nowrap;
2401
1984
  }
2402
1985
 
2403
- details summary:after {
2404
- width: 1rem;
2405
- height: 1rem;
2406
- float: right;
2407
- background-image: var(--cirth-icon-chevron);
1986
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1987
+ background-image: var(--cirth-icon-loading);
2408
1988
  content: "";
2409
- transition: transform var(--cirth-transition);
2410
- background-position: 100%;
1989
+ vertical-align: -.125em;
2411
1990
  background-repeat: no-repeat;
2412
- background-size: 1rem;
2413
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
2414
- display: block;
2415
- transform: rotate(-90deg);
1991
+ background-size: 1em;
1992
+ width: 1em;
1993
+ height: 1em;
1994
+ display: inline-block;
2416
1995
  }
2417
1996
 
2418
- details summary:focus {
2419
- outline: none;
1997
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1998
+ margin-inline-end: calc(var(--cirth-spacing) * .5);
2420
1999
  }
2421
2000
 
2422
- details summary:focus:not([role]) {
2423
- color: var(--cirth-accordion-active-summary-color);
2001
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
2002
+ text-align: center;
2424
2003
  }
2425
2004
 
2426
- details summary:focus-visible:not([role]) {
2427
- outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2428
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
2429
- color: var(--cirth-primary);
2005
+ button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2006
+ pointer-events: none;
2430
2007
  }
2431
2008
 
2432
- details summary[role="button"] {
2433
- text-align: left;
2434
- width: 100%;
2009
+ [type="submit"][aria-busy="true"] {
2010
+ pointer-events: none;
2435
2011
  }
2436
2012
 
2437
- details summary[role="button"]:after {
2438
- height: calc(1rem * var(--cirth-line-height, 1.5));
2013
+ [type="button"][aria-busy="true"] {
2014
+ pointer-events: none;
2439
2015
  }
2440
2016
 
2441
- details[open] > summary {
2442
- margin-bottom: var(--cirth-spacing);
2017
+ [type="reset"][aria-busy="true"] {
2018
+ pointer-events: none;
2443
2019
  }
2444
2020
 
2445
- details[open] > summary:not([role]):not(:focus) {
2446
- color: var(--cirth-accordion-open-summary-color);
2021
+ :root {
2022
+ --cirth-scrollbar-width: 0px;
2447
2023
  }
2448
2024
 
2449
- details[open] > summary:after {
2450
- transform: rotate(0);
2025
+ :host {
2026
+ --cirth-scrollbar-width: 0px;
2451
2027
  }
2452
2028
 
2453
- [dir="rtl"] details summary {
2454
- text-align: right;
2029
+ dialog {
2030
+ z-index: var(--cirth-z-index-modal);
2031
+ width: inherit;
2032
+ min-width: 100%;
2033
+ height: inherit;
2034
+ min-height: 100%;
2035
+ -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2036
+ backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2037
+ background-color: var(--cirth-modal-overlay-background-color);
2038
+ color: var(--cirth-color);
2039
+ border: 0;
2040
+ justify-content: center;
2041
+ align-items: center;
2042
+ padding: 0;
2043
+ display: flex;
2044
+ position: fixed;
2045
+ inset: 0;
2455
2046
  }
2456
2047
 
2457
- [dir="rtl"] details summary:after {
2458
- float: left;
2459
- background-position: 0;
2048
+ dialog > article {
2049
+ width: 100%;
2050
+ max-height: calc(100vh - var(--cirth-spacing) * 2);
2051
+ margin: var(--cirth-spacing);
2052
+ overflow: auto;
2460
2053
  }
2461
2054
 
2462
- article {
2463
- margin-bottom: var(--cirth-block-spacing-vertical);
2464
- padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
2465
- border-radius: var(--cirth-border-radius);
2466
- background: var(--cirth-card-background-color);
2467
- box-shadow: var(--cirth-card-box-shadow);
2055
+ @media (width >= 576px) {
2056
+ dialog > article {
2057
+ max-width: 510px;
2058
+ }
2468
2059
  }
2469
2060
 
2470
- article > header, article > footer {
2471
- margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
2472
- margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
2473
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
2474
- background-color: var(--cirth-card-sectioning-background-color);
2061
+ @media (width >= 768px) {
2062
+ dialog > article {
2063
+ max-width: 700px;
2064
+ }
2475
2065
  }
2476
2066
 
2477
- article > header {
2478
- margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
2479
- margin-bottom: var(--cirth-block-spacing-vertical);
2480
- border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
2481
- border-top-right-radius: var(--cirth-border-radius);
2482
- border-top-left-radius: var(--cirth-border-radius);
2067
+ dialog > article > header > * {
2068
+ margin-bottom: 0;
2483
2069
  }
2484
2070
 
2485
- article > footer {
2486
- margin-top: var(--cirth-block-spacing-vertical);
2487
- margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
2488
- border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
2489
- border-bottom-right-radius: var(--cirth-border-radius);
2490
- border-bottom-left-radius: var(--cirth-border-radius);
2071
+ dialog > article > header :is(a, button)[rel="prev"] {
2072
+ margin: 0;
2073
+ margin-left: var(--cirth-spacing);
2074
+ float: right;
2075
+ padding: 0;
2491
2076
  }
2492
2077
 
2493
- [role="search"], [role="group"] {
2494
- width: 100%;
2495
- margin-bottom: var(--cirth-spacing);
2496
- border-radius: var(--cirth-border-radius);
2497
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
2498
- vertical-align: middle;
2499
- transition: box-shadow var(--cirth-transition);
2500
- display: inline-flex;
2501
- position: relative;
2078
+ dialog > article > footer {
2079
+ text-align: right;
2502
2080
  }
2503
2081
 
2504
- [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
2505
- flex: auto;
2082
+ dialog > article > footer button, dialog > article > footer [role="button"] {
2506
2083
  margin-bottom: 0;
2507
- position: relative;
2508
2084
  }
2509
2085
 
2510
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
2511
- flex: auto;
2512
- margin-bottom: 0;
2513
- position: relative;
2086
+ dialog > article > footer button:not(:first-of-type), dialog > article > footer [role="button"]:not(:first-of-type) {
2087
+ margin-left: calc(var(--cirth-spacing) * .5);
2514
2088
  }
2515
2089
 
2516
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
2517
- flex: auto;
2518
- margin-bottom: 0;
2519
- position: relative;
2090
+ dialog > article :is(a, button)[rel="prev"] {
2091
+ width: var(--cirth-size-4);
2092
+ height: var(--cirth-size-4);
2093
+ margin-top: calc(var(--cirth-spacing) * -1);
2094
+ margin-bottom: var(--cirth-spacing);
2095
+ background-image: var(--cirth-icon-close);
2096
+ background-position: center;
2097
+ background-size: auto var(--cirth-size-4);
2098
+ opacity: .5;
2099
+ transition: opacity var(--cirth-transition);
2100
+ background-color: rgba(0, 0, 0, 0);
2101
+ background-repeat: no-repeat;
2102
+ border: none;
2103
+ margin-left: auto;
2104
+ display: block;
2520
2105
  }
2521
2106
 
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;
2107
+ dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2108
+ opacity: 1;
2526
2109
  }
2527
2110
 
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;
2111
+ dialog:not([open]), dialog[open="false"] {
2112
+ display: none;
2532
2113
  }
2533
2114
 
2534
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2535
- border-top-left-radius: 0;
2536
- border-bottom-left-radius: 0;
2537
- margin-left: 0;
2115
+ :where(nav li):before {
2116
+ float: left;
2117
+ content: "​";
2538
2118
  }
2539
2119
 
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;
2120
+ nav, nav ul {
2121
+ display: flex;
2543
2122
  }
2544
2123
 
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;
2124
+ nav {
2125
+ justify-content: space-between;
2126
+ overflow: visible;
2548
2127
  }
2549
2128
 
2550
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2551
- border-top-right-radius: 0;
2552
- border-bottom-right-radius: 0;
2129
+ nav ol, nav ul {
2130
+ align-items: center;
2131
+ margin-bottom: 0;
2132
+ padding: 0;
2133
+ list-style: none;
2553
2134
  }
2554
2135
 
2555
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
2556
- z-index: 2;
2136
+ nav ol:first-of-type, nav ul:first-of-type {
2137
+ margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2557
2138
  }
2558
2139
 
2559
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2560
- z-index: 2;
2140
+ nav ol:last-of-type, nav ul:last-of-type {
2141
+ margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2561
2142
  }
2562
2143
 
2563
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2564
- z-index: 2;
2144
+ nav li {
2145
+ padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
2146
+ margin: 0;
2147
+ display: inline-block;
2565
2148
  }
2566
2149
 
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);
2150
+ nav li :where(a, [role="link"]) {
2151
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2152
+ padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
2153
+ border-radius: var(--cirth-border-radius);
2154
+ display: inline-block;
2569
2155
  }
2570
2156
 
2571
- [role="search"] [type="submit"]:not(:first-child) {
2572
- margin-left: calc(var(--cirth-border-width) * -1);
2157
+ nav li :where(a, [role="link"]):not(:hover) {
2158
+ text-decoration: none;
2573
2159
  }
2574
2160
 
2575
- [role="search"] [type="reset"]:not(:first-child) {
2576
- margin-left: calc(var(--cirth-border-width) * -1);
2161
+ nav li button, nav li [role="button"], nav li select {
2162
+ height: auto;
2163
+ margin-right: inherit;
2164
+ margin-bottom: 0;
2165
+ margin-left: inherit;
2166
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2167
+ }
2168
+
2169
+ nav li [type="button"] {
2170
+ height: auto;
2171
+ margin-right: inherit;
2172
+ margin-bottom: 0;
2173
+ margin-left: inherit;
2174
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2577
2175
  }
2578
2176
 
2579
- [role="search"] [type="button"]:not(:first-child) {
2580
- margin-left: calc(var(--cirth-border-width) * -1);
2177
+ nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
2178
+ height: auto;
2179
+ margin-right: inherit;
2180
+ margin-bottom: 0;
2181
+ margin-left: inherit;
2182
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2581
2183
  }
2582
2184
 
2583
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2584
- margin-left: calc(var(--cirth-border-width) * -1);
2185
+ nav[aria-label="breadcrumb"] {
2186
+ justify-content: start;
2187
+ align-items: center;
2585
2188
  }
2586
2189
 
2587
- [role="group"] [type="submit"]:not(:first-child) {
2588
- margin-left: calc(var(--cirth-border-width) * -1);
2190
+ nav[aria-label="breadcrumb"] ul li:not(:first-child) {
2191
+ margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
2589
2192
  }
2590
2193
 
2591
- [role="group"] [type="reset"]:not(:first-child) {
2592
- margin-left: calc(var(--cirth-border-width) * -1);
2194
+ nav[aria-label="breadcrumb"] ul li a {
2195
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
2196
+ margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2593
2197
  }
2594
2198
 
2595
- [role="group"] [type="button"]:not(:first-child) {
2596
- margin-left: calc(var(--cirth-border-width) * -1);
2199
+ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2200
+ width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
2201
+ margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2202
+ content: var(--cirth-nav-breadcrumb-divider);
2203
+ color: var(--cirth-muted-color);
2204
+ text-align: center;
2205
+ white-space: nowrap;
2206
+ text-decoration: none;
2207
+ display: inline-block;
2208
+ position: absolute;
2597
2209
  }
2598
2210
 
2599
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2600
- margin-left: calc(var(--cirth-border-width) * -1);
2211
+ nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2212
+ color: inherit;
2213
+ pointer-events: none;
2214
+ background-color: rgba(0, 0, 0, 0);
2215
+ text-decoration: none;
2601
2216
  }
2602
2217
 
2603
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
2604
- width: auto;
2218
+ aside nav, aside ol, aside ul, aside li {
2219
+ display: block;
2605
2220
  }
2606
2221
 
2607
- [role="search"] [type="submit"] {
2608
- width: auto;
2222
+ aside li {
2223
+ padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
2609
2224
  }
2610
2225
 
2611
- [role="search"] [type="reset"] {
2612
- width: auto;
2226
+ aside li a {
2227
+ display: block;
2613
2228
  }
2614
2229
 
2615
- [role="search"] [type="button"] {
2616
- width: auto;
2230
+ aside li [role="button"] {
2231
+ margin: inherit;
2617
2232
  }
2618
2233
 
2619
- [role="group"] [type="submit"] {
2620
- width: auto;
2234
+ [dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
2235
+ content: "\\";
2621
2236
  }
2622
2237
 
2623
- [role="group"] [type="reset"] {
2624
- width: auto;
2238
+ progress {
2239
+ vertical-align: baseline;
2240
+ appearance: none;
2241
+ width: 100%;
2242
+ height: var(--cirth-size-2);
2243
+ margin-bottom: calc(var(--cirth-spacing) * .5);
2244
+ border-radius: var(--cirth-border-radius);
2245
+ background-color: var(--cirth-progress-background-color);
2246
+ color: var(--cirth-progress-color);
2247
+ border: 0;
2248
+ display: inline-block;
2249
+ overflow: hidden;
2625
2250
  }
2626
2251
 
2627
- [role="group"] [type="button"] {
2628
- width: auto;
2252
+ progress::-webkit-progress-bar {
2253
+ border-radius: var(--cirth-border-radius);
2254
+ background: none;
2629
2255
  }
2630
2256
 
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
- }
2659
-
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
- }
2663
-
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);
2667
- }
2668
-
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);
2672
- }
2673
-
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);
2677
- }
2257
+ progress[value]::-webkit-progress-value {
2258
+ background-color: var(--cirth-progress-color);
2259
+ transition: inline-size var(--cirth-transition);
2260
+ }
2678
2261
 
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);
2682
- }
2262
+ progress::-moz-progress-bar {
2263
+ background-color: var(--cirth-progress-color);
2264
+ }
2683
2265
 
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);
2266
+ @media (prefers-reduced-motion: no-preference) {
2267
+ progress:indeterminate {
2268
+ background: var(--cirth-progress-background-color) linear-gradient(to right, var(--cirth-progress-color) 30%, var(--cirth-progress-background-color) 30%) top left/150% 150% no-repeat;
2269
+ animation: 1s linear infinite progress-indeterminate;
2687
2270
  }
2688
2271
 
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);
2272
+ progress:indeterminate[value]::-webkit-progress-value {
2273
+ background-color: rgba(0, 0, 0, 0);
2692
2274
  }
2693
2275
 
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);
2276
+ progress:indeterminate::-moz-progress-bar {
2277
+ background-color: rgba(0, 0, 0, 0);
2697
2278
  }
2698
2279
 
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);
2280
+ [dir="rtl"] progress:indeterminate {
2281
+ animation-direction: reverse;
2702
2282
  }
2283
+ }
2703
2284
 
2704
- [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
2705
- box-shadow: none;
2285
+ @keyframes progress-indeterminate {
2286
+ 0% {
2287
+ background-position: 200% 0;
2706
2288
  }
2707
2289
 
2708
- [role="search"] [type="submit"]:focus {
2709
- box-shadow: none;
2290
+ 100% {
2291
+ background-position: -200% 0;
2710
2292
  }
2293
+ }
2711
2294
 
2712
- [role="search"] [type="reset"]:focus {
2713
- box-shadow: none;
2714
- }
2295
+ [data-tooltip] {
2296
+ position: relative;
2297
+ }
2715
2298
 
2716
- [role="search"] [type="button"]:focus {
2717
- box-shadow: none;
2718
- }
2299
+ [data-tooltip]:not(:is(a, button, input, [role="button"])) {
2300
+ border-bottom: var(--cirth-border-width-1) dotted;
2301
+ cursor: help;
2302
+ text-decoration: none;
2303
+ }
2719
2304
 
2720
- [role="group"] [type="submit"]:focus {
2721
- box-shadow: none;
2722
- }
2305
+ [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
2306
+ z-index: var(--cirth-z-index-tooltip);
2307
+ padding: var(--cirth-space-1) var(--cirth-space-2);
2308
+ border-radius: var(--cirth-border-radius);
2309
+ background: var(--cirth-tooltip-background-color);
2310
+ content: attr(data-tooltip);
2311
+ color: var(--cirth-tooltip-color);
2312
+ font-style: normal;
2313
+ font-weight: var(--cirth-font-weight);
2314
+ font-size: var(--cirth-font-size-sm);
2315
+ text-overflow: ellipsis;
2316
+ white-space: nowrap;
2317
+ opacity: 0;
2318
+ pointer-events: none;
2319
+ text-decoration: none;
2320
+ display: block;
2321
+ position: absolute;
2322
+ bottom: 100%;
2323
+ left: 50%;
2324
+ overflow: hidden;
2325
+ transform: translate(-50%, -.25rem);
2326
+ }
2723
2327
 
2724
- [role="group"] [type="reset"]:focus {
2725
- box-shadow: none;
2726
- }
2328
+ [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
2329
+ content: "";
2330
+ color: var(--cirth-tooltip-background-color);
2331
+ background-color: rgba(0, 0, 0, 0);
2332
+ border-top: .3rem solid;
2333
+ border-left: .3rem solid rgba(0, 0, 0, 0);
2334
+ border-right: .3rem solid rgba(0, 0, 0, 0);
2335
+ border-radius: 0;
2336
+ padding: 0;
2337
+ transform: translate(-50%);
2338
+ }
2727
2339
 
2728
- [role="group"] [type="button"]:focus {
2729
- box-shadow: none;
2730
- }
2340
+ [data-tooltip][data-placement="bottom"]:before, [data-tooltip][data-placement="bottom"]:after {
2341
+ top: 100%;
2342
+ bottom: auto;
2343
+ transform: translate(-50%, .25rem);
2731
2344
  }
2732
2345
 
2733
- [role="search"] > :first-child {
2734
- border-top-left-radius: 5rem;
2735
- border-bottom-left-radius: 5rem;
2346
+ [data-tooltip][data-placement="bottom"]:after {
2347
+ border: .3rem solid rgba(0, 0, 0, 0);
2348
+ border-bottom-color: currentColor;
2349
+ transform: translate(-50%, -.3rem);
2736
2350
  }
2737
2351
 
2738
- [role="search"] > :last-child {
2739
- border-top-right-radius: 5rem;
2740
- border-bottom-right-radius: 5rem;
2352
+ [data-tooltip][data-placement="left"]:before, [data-tooltip][data-placement="left"]:after {
2353
+ inset: 50% 100% auto auto;
2354
+ transform: translate(-.25rem, -50%);
2741
2355
  }
2742
2356
 
2743
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
2744
- white-space: nowrap;
2357
+ [data-tooltip][data-placement="left"]:after {
2358
+ border: .3rem solid rgba(0, 0, 0, 0);
2359
+ border-left-color: currentColor;
2360
+ transform: translate(.3rem, -50%);
2745
2361
  }
2746
2362
 
2747
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
2748
- background-image: var(--cirth-icon-loading);
2749
- content: "";
2750
- vertical-align: -.125em;
2751
- background-repeat: no-repeat;
2752
- background-size: 1em;
2753
- width: 1em;
2754
- height: 1em;
2755
- display: inline-block;
2363
+ [data-tooltip][data-placement="right"]:before, [data-tooltip][data-placement="right"]:after {
2364
+ inset: 50% auto auto 100%;
2365
+ transform: translate(.25rem, -50%);
2756
2366
  }
2757
2367
 
2758
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
2759
- margin-inline-end: calc(var(--cirth-spacing) * .5);
2368
+ [data-tooltip][data-placement="right"]:after {
2369
+ border: .3rem solid rgba(0, 0, 0, 0);
2370
+ border-right-color: currentColor;
2371
+ transform: translate(-.3rem, -50%);
2760
2372
  }
2761
2373
 
2762
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
2763
- text-align: center;
2374
+ [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
2375
+ opacity: 1;
2764
2376
  }
2765
2377
 
2766
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2767
- pointer-events: none;
2768
- }
2378
+ @media (hover: hover) and (pointer: fine) {
2379
+ [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
2380
+ --cirth-tooltip-slide-to: translate(-50%, -.25rem);
2381
+ animation-duration: var(--cirth-duration-normal);
2382
+ opacity: 0;
2383
+ animation-name: tooltip-slide;
2384
+ animation-fill-mode: forwards;
2385
+ transform: translate(-50%, .75rem);
2386
+ }
2387
+
2388
+ [data-tooltip]:focus:after, [data-tooltip]:hover:after {
2389
+ --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
2390
+ animation-name: tooltip-caret-slide;
2391
+ transform: translate(-50%, -.25rem);
2392
+ }
2769
2393
 
2770
- [type="submit"][aria-busy="true"] {
2771
- pointer-events: none;
2772
- }
2394
+ [data-tooltip][data-placement="bottom"]:focus:before, [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:before, [data-tooltip][data-placement="bottom"]:hover:after {
2395
+ --cirth-tooltip-slide-to: translate(-50%, .25rem);
2396
+ animation-name: tooltip-slide;
2397
+ transform: translate(-50%, -.75rem);
2398
+ }
2773
2399
 
2774
- [type="button"][aria-busy="true"] {
2775
- pointer-events: none;
2776
- }
2400
+ [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:after {
2401
+ --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
2402
+ animation-name: tooltip-caret-slide;
2403
+ transform: translate(-50%, -.5rem);
2404
+ }
2777
2405
 
2778
- [type="reset"][aria-busy="true"] {
2779
- pointer-events: none;
2780
- }
2406
+ [data-tooltip][data-placement="left"]:focus:before, [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:before, [data-tooltip][data-placement="left"]:hover:after {
2407
+ --cirth-tooltip-slide-to: translate(-.25rem, -50%);
2408
+ animation-name: tooltip-slide;
2409
+ transform: translate(.75rem, -50%);
2410
+ }
2781
2411
 
2782
- :root {
2783
- --cirth-scrollbar-width: 0px;
2784
- }
2412
+ [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:after {
2413
+ --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
2414
+ animation-name: tooltip-caret-slide;
2415
+ transform: translate(.05rem, -50%);
2416
+ }
2785
2417
 
2786
- :host {
2787
- --cirth-scrollbar-width: 0px;
2788
- }
2418
+ [data-tooltip][data-placement="right"]:focus:before, [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:before, [data-tooltip][data-placement="right"]:hover:after {
2419
+ --cirth-tooltip-slide-to: translate(.25rem, -50%);
2420
+ animation-name: tooltip-slide;
2421
+ transform: translate(-.75rem, -50%);
2422
+ }
2789
2423
 
2790
- dialog {
2791
- z-index: 999;
2792
- width: inherit;
2793
- min-width: 100%;
2794
- height: inherit;
2795
- min-height: 100%;
2796
- -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2797
- backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2798
- background-color: var(--cirth-modal-overlay-background-color);
2799
- color: var(--cirth-color);
2800
- border: 0;
2801
- justify-content: center;
2802
- align-items: center;
2803
- padding: 0;
2804
- display: flex;
2805
- position: fixed;
2806
- inset: 0;
2424
+ [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:after {
2425
+ --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
2426
+ animation-name: tooltip-caret-slide;
2427
+ transform: translate(-.05rem, -50%);
2428
+ }
2807
2429
  }
2808
2430
 
2809
- dialog > article {
2810
- width: 100%;
2811
- max-height: calc(100vh - var(--cirth-spacing) * 2);
2812
- margin: var(--cirth-spacing);
2813
- overflow: auto;
2431
+ @keyframes tooltip-slide {
2432
+ to {
2433
+ transform: var(--cirth-tooltip-slide-to);
2434
+ opacity: 1;
2435
+ }
2814
2436
  }
2815
2437
 
2816
- @media (width >= 576px) {
2817
- dialog > article {
2818
- max-width: 510px;
2438
+ @keyframes tooltip-caret-slide {
2439
+ 50% {
2440
+ opacity: 0;
2819
2441
  }
2820
- }
2821
2442
 
2822
- @media (width >= 768px) {
2823
- dialog > article {
2824
- max-width: 700px;
2443
+ to {
2444
+ transform: var(--cirth-tooltip-caret-slide-to);
2445
+ opacity: 1;
2825
2446
  }
2826
2447
  }
2827
2448
 
2828
- dialog > article > header > * {
2829
- margin-bottom: 0;
2449
+ [aria-controls] {
2450
+ cursor: pointer;
2830
2451
  }
2831
2452
 
2832
- dialog > article > header :is(a, button)[rel="prev"] {
2833
- margin: 0;
2834
- margin-left: var(--cirth-spacing);
2835
- float: right;
2836
- padding: 0;
2453
+ [aria-disabled="true"], [disabled] {
2454
+ cursor: not-allowed;
2837
2455
  }
2838
2456
 
2839
- dialog > article > footer {
2840
- text-align: right;
2457
+ [aria-hidden="false"][hidden] {
2458
+ display: initial;
2841
2459
  }
2842
2460
 
2843
- dialog > article > footer button, dialog > article > footer [role="button"] {
2844
- margin-bottom: 0;
2461
+ [aria-hidden="false"][hidden]:not(:focus) {
2462
+ clip: rect(0, 0, 0, 0);
2463
+ position: absolute;
2845
2464
  }
2846
2465
 
2847
- dialog > article > footer button:not(:first-of-type), dialog > article > footer [role="button"]:not(:first-of-type) {
2848
- margin-left: calc(var(--cirth-spacing) * .5);
2466
+ a, area, button, input, label, select, summary, textarea, [tabindex] {
2467
+ -ms-touch-action: manipulation;
2849
2468
  }
2850
2469
 
2851
- dialog > article :is(a, button)[rel="prev"] {
2852
- width: 1rem;
2853
- height: 1rem;
2854
- margin-top: calc(var(--cirth-spacing) * -1);
2855
- margin-bottom: var(--cirth-spacing);
2856
- background-image: var(--cirth-icon-close);
2857
- opacity: .5;
2858
- transition: opacity var(--cirth-transition);
2859
- background-color: rgba(0, 0, 0, 0);
2860
- background-position: center;
2861
- background-repeat: no-repeat;
2862
- background-size: auto 1rem;
2863
- border: none;
2864
- margin-left: auto;
2865
- display: block;
2470
+ [dir="rtl"] {
2471
+ direction: rtl;
2866
2472
  }
2867
2473
 
2868
- dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2869
- opacity: 1;
2474
+ @media (prefers-reduced-motion: reduce) {
2475
+ :not([aria-busy="true"]), :not([aria-busy="true"]):before, :not([aria-busy="true"]):after {
2476
+ background-attachment: initial;
2477
+ scroll-behavior: auto;
2478
+ transition-delay: var(--cirth-duration-instant);
2479
+ transition-duration: var(--cirth-duration-instant);
2480
+ animation-duration: 1ms;
2481
+ animation-iteration-count: 1;
2482
+ animation-delay: -1ms;
2483
+ }
2870
2484
  }
2871
2485
 
2872
- dialog:not([open]), dialog[open="false"] {
2873
- display: none;
2486
+ :root {
2487
+ --cirth-color-black: #000;
2488
+ --cirth-color-white: #fff;
2489
+ --cirth-color-transparent: transparent;
2490
+ --cirth-color-current: currentColor;
2491
+ --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2492
+ "Helvetica Neue", sans-serif;
2493
+ --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2494
+ "Segoe UI Symbol", "Noto Color Emoji";
2495
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2496
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2497
+ monospace;
2498
+ --cirth-font-family-display: var(--cirth-font-family-sans);
2499
+ --cirth-font-size-xs: .75rem;
2500
+ --cirth-font-size-sm: .875rem;
2501
+ --cirth-font-size-md: 1rem;
2502
+ --cirth-font-size-lg: 1.125rem;
2503
+ --cirth-font-size-xl: 1.25rem;
2504
+ --cirth-font-size-2xl: 1.425rem;
2505
+ --cirth-font-size-3xl: 1.6rem;
2506
+ --cirth-font-size-4xl: 1.8rem;
2507
+ --cirth-font-size-5xl: 2rem;
2508
+ --cirth-font-size-6xl: 2.3rem;
2509
+ --cirth-font-weight-light: 300;
2510
+ --cirth-font-weight-regular: 400;
2511
+ --cirth-font-weight-medium: 500;
2512
+ --cirth-font-weight-semibold: 600;
2513
+ --cirth-font-weight-bold: 700;
2514
+ --cirth-line-height-none: 1;
2515
+ --cirth-line-height-tight: 1.125;
2516
+ --cirth-line-height-snug: 1.25;
2517
+ --cirth-line-height-normal: 1.5;
2518
+ --cirth-line-height-relaxed: 1.625;
2519
+ --cirth-line-height-loose: 2;
2520
+ --cirth-letter-spacing-tight: 0;
2521
+ --cirth-letter-spacing-normal: 0;
2522
+ --cirth-letter-spacing-wide: .025em;
2523
+ --cirth-space-0: 0;
2524
+ --cirth-space-1: .25rem;
2525
+ --cirth-space-2: .5rem;
2526
+ --cirth-space-3: .75rem;
2527
+ --cirth-space-4: 1rem;
2528
+ --cirth-space-5: 1.25rem;
2529
+ --cirth-space-6: 1.5rem;
2530
+ --cirth-space-8: 2rem;
2531
+ --cirth-space-10: 2.5rem;
2532
+ --cirth-space-12: 3rem;
2533
+ --cirth-space-16: 4rem;
2534
+ --cirth-space-20: 5rem;
2535
+ --cirth-space-24: 6rem;
2536
+ --cirth-size-0: 0;
2537
+ --cirth-size-1: .25rem;
2538
+ --cirth-size-2: .5rem;
2539
+ --cirth-size-3: .75rem;
2540
+ --cirth-size-4: 1rem;
2541
+ --cirth-size-5: 1.25rem;
2542
+ --cirth-size-6: 1.5rem;
2543
+ --cirth-size-8: 2rem;
2544
+ --cirth-size-10: 2.5rem;
2545
+ --cirth-size-12: 3rem;
2546
+ --cirth-size-16: 4rem;
2547
+ --cirth-size-20: 5rem;
2548
+ --cirth-size-24: 6rem;
2549
+ --cirth-radius-none: 0;
2550
+ --cirth-radius-xs: .125rem;
2551
+ --cirth-radius-sm: .25rem;
2552
+ --cirth-radius-md: .375rem;
2553
+ --cirth-radius-lg: .5rem;
2554
+ --cirth-radius-xl: .75rem;
2555
+ --cirth-radius-2xl: 1rem;
2556
+ --cirth-radius-pill: 9999px;
2557
+ --cirth-border-width-0: 0;
2558
+ --cirth-border-width-1: .0625rem;
2559
+ --cirth-border-width-2: .125rem;
2560
+ --cirth-border-width-4: .25rem;
2561
+ --cirth-outline-width-1: .0625rem;
2562
+ --cirth-outline-width-2: .125rem;
2563
+ --cirth-outline-width-4: .25rem;
2564
+ --cirth-shadow-none: none;
2565
+ --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2566
+ --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2567
+ 0 .0625rem .125rem rgba(0, 0, 0, .06);
2568
+ --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2569
+ 0 .125rem .25rem rgba(0, 0, 0, .06);
2570
+ --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
2571
+ 0 .25rem .375rem rgba(0, 0, 0, .05);
2572
+ --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
2573
+ 0 .625rem .625rem rgba(0, 0, 0, .04);
2574
+ --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
2575
+ --cirth-duration-instant: 0s;
2576
+ --cirth-duration-fast: .1s;
2577
+ --cirth-duration-normal: .2s;
2578
+ --cirth-duration-slow: .3s;
2579
+ --cirth-duration-slower: .5s;
2580
+ --cirth-ease-linear: linear;
2581
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2582
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2583
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2584
+ --cirth-opacity-disabled: .5;
2585
+ --cirth-opacity-muted: .72;
2586
+ --cirth-opacity-overlay: .75;
2587
+ --cirth-z-index-dropdown: 1000;
2588
+ --cirth-z-index-sticky: 1020;
2589
+ --cirth-z-index-fixed: 1030;
2590
+ --cirth-z-index-modal-backdrop: 1040;
2591
+ --cirth-z-index-modal: 1050;
2592
+ --cirth-z-index-tooltip: 1070;
2874
2593
  }
2875
2594
 
2876
- :where(nav li):before {
2877
- float: left;
2878
- content: "​";
2595
+ :host {
2596
+ --cirth-color-black: #000;
2597
+ --cirth-color-white: #fff;
2598
+ --cirth-color-transparent: transparent;
2599
+ --cirth-color-current: currentColor;
2600
+ --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2601
+ "Helvetica Neue", sans-serif;
2602
+ --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2603
+ "Segoe UI Symbol", "Noto Color Emoji";
2604
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2605
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2606
+ monospace;
2607
+ --cirth-font-family-display: var(--cirth-font-family-sans);
2608
+ --cirth-font-size-xs: .75rem;
2609
+ --cirth-font-size-sm: .875rem;
2610
+ --cirth-font-size-md: 1rem;
2611
+ --cirth-font-size-lg: 1.125rem;
2612
+ --cirth-font-size-xl: 1.25rem;
2613
+ --cirth-font-size-2xl: 1.425rem;
2614
+ --cirth-font-size-3xl: 1.6rem;
2615
+ --cirth-font-size-4xl: 1.8rem;
2616
+ --cirth-font-size-5xl: 2rem;
2617
+ --cirth-font-size-6xl: 2.3rem;
2618
+ --cirth-font-weight-light: 300;
2619
+ --cirth-font-weight-regular: 400;
2620
+ --cirth-font-weight-medium: 500;
2621
+ --cirth-font-weight-semibold: 600;
2622
+ --cirth-font-weight-bold: 700;
2623
+ --cirth-line-height-none: 1;
2624
+ --cirth-line-height-tight: 1.125;
2625
+ --cirth-line-height-snug: 1.25;
2626
+ --cirth-line-height-normal: 1.5;
2627
+ --cirth-line-height-relaxed: 1.625;
2628
+ --cirth-line-height-loose: 2;
2629
+ --cirth-letter-spacing-tight: 0;
2630
+ --cirth-letter-spacing-normal: 0;
2631
+ --cirth-letter-spacing-wide: .025em;
2632
+ --cirth-space-0: 0;
2633
+ --cirth-space-1: .25rem;
2634
+ --cirth-space-2: .5rem;
2635
+ --cirth-space-3: .75rem;
2636
+ --cirth-space-4: 1rem;
2637
+ --cirth-space-5: 1.25rem;
2638
+ --cirth-space-6: 1.5rem;
2639
+ --cirth-space-8: 2rem;
2640
+ --cirth-space-10: 2.5rem;
2641
+ --cirth-space-12: 3rem;
2642
+ --cirth-space-16: 4rem;
2643
+ --cirth-space-20: 5rem;
2644
+ --cirth-space-24: 6rem;
2645
+ --cirth-size-0: 0;
2646
+ --cirth-size-1: .25rem;
2647
+ --cirth-size-2: .5rem;
2648
+ --cirth-size-3: .75rem;
2649
+ --cirth-size-4: 1rem;
2650
+ --cirth-size-5: 1.25rem;
2651
+ --cirth-size-6: 1.5rem;
2652
+ --cirth-size-8: 2rem;
2653
+ --cirth-size-10: 2.5rem;
2654
+ --cirth-size-12: 3rem;
2655
+ --cirth-size-16: 4rem;
2656
+ --cirth-size-20: 5rem;
2657
+ --cirth-size-24: 6rem;
2658
+ --cirth-radius-none: 0;
2659
+ --cirth-radius-xs: .125rem;
2660
+ --cirth-radius-sm: .25rem;
2661
+ --cirth-radius-md: .375rem;
2662
+ --cirth-radius-lg: .5rem;
2663
+ --cirth-radius-xl: .75rem;
2664
+ --cirth-radius-2xl: 1rem;
2665
+ --cirth-radius-pill: 9999px;
2666
+ --cirth-border-width-0: 0;
2667
+ --cirth-border-width-1: .0625rem;
2668
+ --cirth-border-width-2: .125rem;
2669
+ --cirth-border-width-4: .25rem;
2670
+ --cirth-outline-width-1: .0625rem;
2671
+ --cirth-outline-width-2: .125rem;
2672
+ --cirth-outline-width-4: .25rem;
2673
+ --cirth-shadow-none: none;
2674
+ --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2675
+ --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2676
+ 0 .0625rem .125rem rgba(0, 0, 0, .06);
2677
+ --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2678
+ 0 .125rem .25rem rgba(0, 0, 0, .06);
2679
+ --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
2680
+ 0 .25rem .375rem rgba(0, 0, 0, .05);
2681
+ --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
2682
+ 0 .625rem .625rem rgba(0, 0, 0, .04);
2683
+ --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
2684
+ --cirth-duration-instant: 0s;
2685
+ --cirth-duration-fast: .1s;
2686
+ --cirth-duration-normal: .2s;
2687
+ --cirth-duration-slow: .3s;
2688
+ --cirth-duration-slower: .5s;
2689
+ --cirth-ease-linear: linear;
2690
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2691
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2692
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2693
+ --cirth-opacity-disabled: .5;
2694
+ --cirth-opacity-muted: .72;
2695
+ --cirth-opacity-overlay: .75;
2696
+ --cirth-z-index-dropdown: 1000;
2697
+ --cirth-z-index-sticky: 1020;
2698
+ --cirth-z-index-fixed: 1030;
2699
+ --cirth-z-index-modal-backdrop: 1040;
2700
+ --cirth-z-index-modal: 1050;
2701
+ --cirth-z-index-tooltip: 1070;
2879
2702
  }
2880
2703
 
2881
- nav, nav ul {
2882
- display: flex;
2704
+ :root {
2705
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2706
+ --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2707
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2708
+ --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2709
+ monospace, var(--cirth-font-family-emoji);
2710
+ --cirth-font-family: var(--cirth-font-family-sans-serif);
2711
+ --cirth-line-height: var(--cirth-line-height-normal);
2712
+ --cirth-font-weight: var(--cirth-font-weight-regular);
2713
+ --cirth-font-size: 100%;
2714
+ --cirth-text-underline-offset: .1rem;
2715
+ --cirth-border-radius: var(--cirth-radius-sm);
2716
+ --cirth-border-width: var(--cirth-border-width-1);
2717
+ --cirth-outline-width: var(--cirth-outline-width-2);
2718
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
2719
+ --cirth-spacing: var(--cirth-space-4);
2720
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
2721
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
2722
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
2723
+ --cirth-form-element-spacing-vertical: var(--cirth-space-3);
2724
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2725
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
2726
+ --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2727
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2728
+ var(--cirth-primary-focus);
2729
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2730
+ var(--cirth-form-element-border-color);
2731
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2732
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2733
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2734
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2735
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2736
+ --cirth-nav-breadcrumb-divider: ">";
2737
+ --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");
2738
+ --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");
2739
+ --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");
2740
+ --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");
2741
+ --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");
2742
+ --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");
2743
+ --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");
2744
+ --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");
2883
2745
  }
2884
2746
 
2885
- nav {
2886
- justify-content: space-between;
2887
- overflow: visible;
2747
+ :host {
2748
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2749
+ --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2750
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2751
+ --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2752
+ monospace, var(--cirth-font-family-emoji);
2753
+ --cirth-font-family: var(--cirth-font-family-sans-serif);
2754
+ --cirth-line-height: var(--cirth-line-height-normal);
2755
+ --cirth-font-weight: var(--cirth-font-weight-regular);
2756
+ --cirth-font-size: 100%;
2757
+ --cirth-text-underline-offset: .1rem;
2758
+ --cirth-border-radius: var(--cirth-radius-sm);
2759
+ --cirth-border-width: var(--cirth-border-width-1);
2760
+ --cirth-outline-width: var(--cirth-outline-width-2);
2761
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
2762
+ --cirth-spacing: var(--cirth-space-4);
2763
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
2764
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
2765
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
2766
+ --cirth-form-element-spacing-vertical: var(--cirth-space-3);
2767
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2768
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
2769
+ --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2770
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2771
+ var(--cirth-primary-focus);
2772
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2773
+ var(--cirth-form-element-border-color);
2774
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2775
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2776
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2777
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2778
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2779
+ --cirth-nav-breadcrumb-divider: ">";
2780
+ --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");
2781
+ --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");
2782
+ --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");
2783
+ --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");
2784
+ --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");
2785
+ --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");
2786
+ --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");
2787
+ --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");
2888
2788
  }
2889
2789
 
2890
- nav ol, nav ul {
2891
- align-items: center;
2892
- margin-bottom: 0;
2893
- padding: 0;
2894
- list-style: none;
2895
- }
2790
+ @media (width >= 576px) {
2791
+ :root {
2792
+ --cirth-font-size: 106.25%;
2793
+ }
2896
2794
 
2897
- nav ol:first-of-type, nav ul:first-of-type {
2898
- margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2795
+ :host {
2796
+ --cirth-font-size: 106.25%;
2797
+ }
2899
2798
  }
2900
2799
 
2901
- nav ol:last-of-type, nav ul:last-of-type {
2902
- margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2903
- }
2800
+ @media (width >= 768px) {
2801
+ :root {
2802
+ --cirth-font-size: 112.5%;
2803
+ }
2904
2804
 
2905
- nav li {
2906
- padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
2907
- margin: 0;
2908
- display: inline-block;
2805
+ :host {
2806
+ --cirth-font-size: 112.5%;
2807
+ }
2909
2808
  }
2910
2809
 
2911
- nav li :where(a, [role="link"]) {
2912
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2913
- padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
2914
- border-radius: var(--cirth-border-radius);
2915
- display: inline-block;
2916
- }
2810
+ @media (width >= 1024px) {
2811
+ :root {
2812
+ --cirth-font-size: 118.75%;
2813
+ }
2917
2814
 
2918
- nav li :where(a, [role="link"]):not(:hover) {
2919
- text-decoration: none;
2815
+ :host {
2816
+ --cirth-font-size: 118.75%;
2817
+ }
2920
2818
  }
2921
2819
 
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
- }
2820
+ @media (width >= 1280px) {
2821
+ :root {
2822
+ --cirth-font-size: 125%;
2823
+ }
2929
2824
 
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);
2825
+ :host {
2826
+ --cirth-font-size: 125%;
2827
+ }
2936
2828
  }
2937
2829
 
2938
- nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
2939
- height: auto;
2940
- margin-right: inherit;
2941
- margin-bottom: 0;
2942
- margin-left: inherit;
2943
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2830
+ @media (width >= 1536px) {
2831
+ :root {
2832
+ --cirth-font-size: 131.25%;
2833
+ }
2834
+
2835
+ :host {
2836
+ --cirth-font-size: 131.25%;
2837
+ }
2944
2838
  }
2945
2839
 
2946
- nav[aria-label="breadcrumb"] {
2947
- justify-content: start;
2948
- align-items: center;
2840
+ a {
2841
+ --cirth-text-decoration: underline;
2949
2842
  }
2950
2843
 
2951
- nav[aria-label="breadcrumb"] ul li:not(:first-child) {
2952
- margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
2844
+ small {
2845
+ --cirth-font-size: .875em;
2953
2846
  }
2954
2847
 
2955
- nav[aria-label="breadcrumb"] ul li a {
2956
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
2957
- margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2848
+ h1, h2, h3, h4, h5, h6 {
2849
+ --cirth-font-weight: var(--cirth-font-weight-bold);
2958
2850
  }
2959
2851
 
2960
- nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2961
- width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
2962
- margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2963
- content: var(--cirth-nav-breadcrumb-divider);
2964
- color: var(--cirth-muted-color);
2965
- text-align: center;
2966
- white-space: nowrap;
2967
- text-decoration: none;
2968
- display: inline-block;
2969
- position: absolute;
2852
+ h1 {
2853
+ --cirth-font-size: var(--cirth-font-size-5xl);
2854
+ --cirth-line-height: var(--cirth-line-height-tight);
2855
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2970
2856
  }
2971
2857
 
2972
- nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2973
- color: inherit;
2974
- pointer-events: none;
2975
- background-color: rgba(0, 0, 0, 0);
2976
- text-decoration: none;
2858
+ h2 {
2859
+ --cirth-font-size: 1.75rem;
2860
+ --cirth-line-height: 1.15;
2861
+ --cirth-typography-spacing-top: 2.625rem;
2977
2862
  }
2978
2863
 
2979
- aside nav, aside ol, aside ul, aside li {
2980
- display: block;
2864
+ h3 {
2865
+ --cirth-font-size: 1.5rem;
2866
+ --cirth-line-height: 1.175;
2867
+ --cirth-typography-spacing-top: 2.25rem;
2981
2868
  }
2982
2869
 
2983
- aside li {
2984
- padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
2870
+ h4 {
2871
+ --cirth-font-size: var(--cirth-font-size-xl);
2872
+ --cirth-line-height: 1.2;
2873
+ --cirth-typography-spacing-top: 1.874rem;
2985
2874
  }
2986
2875
 
2987
- aside li a {
2988
- display: block;
2876
+ h5 {
2877
+ --cirth-font-size: var(--cirth-font-size-lg);
2878
+ --cirth-line-height: 1.225;
2879
+ --cirth-typography-spacing-top: 1.6875rem;
2989
2880
  }
2990
2881
 
2991
- aside li [role="button"] {
2992
- margin: inherit;
2882
+ h6 {
2883
+ --cirth-font-size: var(--cirth-font-size-md);
2884
+ --cirth-line-height: var(--cirth-line-height-snug);
2885
+ --cirth-typography-spacing-top: var(--cirth-space-6);
2993
2886
  }
2994
2887
 
2995
- [dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
2996
- content: "\\";
2888
+ thead th, thead td, tfoot th, tfoot td {
2889
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2890
+ --cirth-border-width: .1875rem;
2997
2891
  }
2998
2892
 
2999
- progress {
3000
- vertical-align: baseline;
3001
- appearance: none;
3002
- width: 100%;
3003
- height: .5rem;
3004
- margin-bottom: calc(var(--cirth-spacing) * .5);
3005
- border-radius: var(--cirth-border-radius);
3006
- background-color: var(--cirth-progress-background-color);
3007
- color: var(--cirth-progress-color);
3008
- border: 0;
3009
- display: inline-block;
3010
- overflow: hidden;
2893
+ pre, code, kbd, samp {
2894
+ --cirth-font-family: var(--cirth-font-family-monospace);
3011
2895
  }
3012
2896
 
3013
- progress::-webkit-progress-bar {
3014
- border-radius: var(--cirth-border-radius);
3015
- background: none;
2897
+ kbd {
2898
+ --cirth-font-weight: bolder;
3016
2899
  }
3017
2900
 
3018
- progress[value]::-webkit-progress-value {
3019
- background-color: var(--cirth-progress-color);
3020
- transition: inline-size var(--cirth-transition);
2901
+ input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
2902
+ --cirth-outline-width: var(--cirth-outline-width-1);
3021
2903
  }
3022
2904
 
3023
- progress::-moz-progress-bar {
3024
- background-color: var(--cirth-progress-color);
2905
+ :where(select, textarea) {
2906
+ --cirth-outline-width: var(--cirth-outline-width-1);
3025
2907
  }
3026
2908
 
3027
- @media (prefers-reduced-motion: no-preference) {
3028
- progress:indeterminate {
3029
- background: var(--cirth-progress-background-color) linear-gradient(to right, var(--cirth-progress-color) 30%, var(--cirth-progress-background-color) 30%) top left/150% 150% no-repeat;
3030
- animation: 1s linear infinite progress-indeterminate;
3031
- }
2909
+ [type="search"] {
2910
+ --cirth-border-radius: var(--cirth-radius-pill);
2911
+ }
3032
2912
 
3033
- progress:indeterminate[value]::-webkit-progress-value {
3034
- background-color: rgba(0, 0, 0, 0);
3035
- }
2913
+ [type="checkbox"] {
2914
+ --cirth-border-width: var(--cirth-border-width-2);
2915
+ }
3036
2916
 
3037
- progress:indeterminate::-moz-progress-bar {
3038
- background-color: rgba(0, 0, 0, 0);
3039
- }
2917
+ [type="radio"] {
2918
+ --cirth-border-width: var(--cirth-border-width-2);
2919
+ }
3040
2920
 
3041
- [dir="rtl"] progress:indeterminate {
3042
- animation-direction: reverse;
3043
- }
2921
+ [type="checkbox"][role="switch"] {
2922
+ --cirth-border-width: .1875rem;
3044
2923
  }
3045
2924
 
3046
- @keyframes progress-indeterminate {
3047
- 0% {
3048
- background-position: 200% 0;
3049
- }
2925
+ [role="search"] {
2926
+ --cirth-border-radius: var(--cirth-radius-pill);
2927
+ }
3050
2928
 
3051
- 100% {
3052
- background-position: -200% 0;
3053
- }
2929
+ [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
2930
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3054
2931
  }
3055
2932
 
3056
- [data-tooltip] {
3057
- position: relative;
2933
+ [role="search"] [type="submit"] {
2934
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3058
2935
  }
3059
2936
 
3060
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
3061
- cursor: help;
3062
- border-bottom: 1px dotted;
3063
- text-decoration: none;
2937
+ [role="search"] [type="button"] {
2938
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3064
2939
  }
3065
2940
 
3066
- [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
3067
- z-index: 99;
3068
- border-radius: var(--cirth-border-radius);
3069
- background: var(--cirth-tooltip-background-color);
3070
- content: attr(data-tooltip);
3071
- color: var(--cirth-tooltip-color);
3072
- font-style: normal;
3073
- font-weight: var(--cirth-font-weight);
3074
- text-overflow: ellipsis;
3075
- white-space: nowrap;
3076
- opacity: 0;
3077
- pointer-events: none;
3078
- padding: .25rem .5rem;
3079
- font-size: .875rem;
3080
- text-decoration: none;
3081
- display: block;
3082
- position: absolute;
3083
- bottom: 100%;
3084
- left: 50%;
3085
- overflow: hidden;
3086
- transform: translate(-50%, -.25rem);
2941
+ [role="group"] [type="submit"] {
2942
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3087
2943
  }
3088
2944
 
3089
- [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
3090
- content: "";
3091
- color: var(--cirth-tooltip-background-color);
3092
- background-color: rgba(0, 0, 0, 0);
3093
- border-top: .3rem solid;
3094
- border-left: .3rem solid rgba(0, 0, 0, 0);
3095
- border-right: .3rem solid rgba(0, 0, 0, 0);
3096
- border-radius: 0;
3097
- padding: 0;
3098
- transform: translate(-50%);
2945
+ [role="group"] [type="button"] {
2946
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3099
2947
  }
3100
2948
 
3101
- [data-tooltip][data-placement="bottom"]:before, [data-tooltip][data-placement="bottom"]:after {
3102
- top: 100%;
3103
- bottom: auto;
3104
- transform: translate(-50%, .25rem);
2949
+ details summary[role="button"]:after {
2950
+ filter: brightness(0) invert();
3105
2951
  }
3106
2952
 
3107
- [data-tooltip][data-placement="bottom"]:after {
3108
- border: .3rem solid rgba(0, 0, 0, 0);
3109
- border-bottom-color: currentColor;
3110
- transform: translate(-50%, -.3rem);
2953
+ [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2954
+ filter: brightness(0) invert();
3111
2955
  }
3112
2956
 
3113
- [data-tooltip][data-placement="left"]:before, [data-tooltip][data-placement="left"]:after {
3114
- inset: 50% 100% auto auto;
3115
- transform: translate(-.25rem, -50%);
2957
+ [data-theme="light"], :root:not([data-theme="dark"]) {
2958
+ --lightningcss-light: initial;
2959
+ --lightningcss-dark: ;
2960
+ color-scheme: light;
2961
+ --cirth-background-color: #fff;
2962
+ --cirth-color: #373c44;
2963
+ --cirth-text-selection-color: rgba(0, 166, 110, .25);
2964
+ --cirth-muted-color: #646b79;
2965
+ --cirth-muted-border-color: #e7eaf0;
2966
+ --cirth-primary: #007a50;
2967
+ --cirth-primary-background: #007a50;
2968
+ --cirth-primary-border: var(--cirth-primary-background);
2969
+ --cirth-primary-underline: rgba(0, 122, 80, .5);
2970
+ --cirth-primary-hover: #005f3d;
2971
+ --cirth-primary-hover-background: #006d46;
2972
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2973
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
2974
+ --cirth-primary-focus: rgba(0, 166, 110, .5);
2975
+ --cirth-primary-inverse: #fff;
2976
+ --cirth-secondary: #5d6b89;
2977
+ --cirth-secondary-background: #525f7a;
2978
+ --cirth-secondary-border: var(--cirth-secondary-background);
2979
+ --cirth-secondary-underline: rgba(93, 107, 137, .5);
2980
+ --cirth-secondary-hover: #48536b;
2981
+ --cirth-secondary-hover-background: #48536b;
2982
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2983
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2984
+ --cirth-secondary-focus: rgba(93, 107, 137, .25);
2985
+ --cirth-secondary-inverse: #fff;
2986
+ --cirth-contrast: #181c25;
2987
+ --cirth-contrast-background: #181c25;
2988
+ --cirth-contrast-border: var(--cirth-contrast-background);
2989
+ --cirth-contrast-underline: rgba(24, 28, 37, .5);
2990
+ --cirth-contrast-hover: #000;
2991
+ --cirth-contrast-hover-background: #000;
2992
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2993
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2994
+ --cirth-contrast-focus: rgba(93, 107, 137, .25);
2995
+ --cirth-contrast-inverse: #fff;
2996
+ --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);
2997
+ --cirth-h1-color: #2d3138;
2998
+ --cirth-h2-color: #373c44;
2999
+ --cirth-h3-color: #424751;
3000
+ --cirth-h4-color: #4d535e;
3001
+ --cirth-h5-color: #5c6370;
3002
+ --cirth-h6-color: #646b79;
3003
+ --cirth-mark-background-color: #fde7c0;
3004
+ --cirth-mark-color: #0f1114;
3005
+ --cirth-ins-color: #1d6a54;
3006
+ --cirth-del-color: #883935;
3007
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3008
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3009
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3010
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3011
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3012
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3013
+ --cirth-code-background-color: #f3f5f7;
3014
+ --cirth-code-color: #646b79;
3015
+ --cirth-code-kbd-background-color: var(--cirth-color);
3016
+ --cirth-code-kbd-color: var(--cirth-background-color);
3017
+ --cirth-form-element-background-color: #fbfcfc;
3018
+ --cirth-form-element-selected-background-color: #dfe3eb;
3019
+ --cirth-form-element-border-color: #cfd5e2;
3020
+ --cirth-form-element-color: #23262c;
3021
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3022
+ --cirth-form-element-active-background-color: #fff;
3023
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3024
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3025
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3026
+ --cirth-form-element-invalid-border-color: #b86a6b;
3027
+ --cirth-form-element-invalid-active-border-color: #c84f48;
3028
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3029
+ --cirth-form-element-valid-border-color: #4c9b8a;
3030
+ --cirth-form-element-valid-active-border-color: #279977;
3031
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3032
+ --cirth-switch-background-color: #bfc7d9;
3033
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3034
+ --cirth-switch-color: #fff;
3035
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3036
+ --cirth-range-border-color: #dfe3eb;
3037
+ --cirth-range-active-border-color: #bfc7d9;
3038
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3039
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3040
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3041
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3042
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3043
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3044
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3045
+ --cirth-card-background-color: var(--cirth-background-color);
3046
+ --cirth-card-border-color: var(--cirth-muted-border-color);
3047
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3048
+ --cirth-card-sectioning-background-color: #fbfcfc;
3049
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3050
+ --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3051
+ --cirth-progress-background-color: #dfe3eb;
3052
+ --cirth-progress-color: var(--cirth-primary-background);
3053
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3054
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3055
+ --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");
3056
+ --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");
3116
3057
  }
3117
3058
 
3118
- [data-tooltip][data-placement="left"]:after {
3119
- border: .3rem solid rgba(0, 0, 0, 0);
3120
- border-left-color: currentColor;
3121
- transform: translate(.3rem, -50%);
3059
+ :host(:not([data-theme="dark"])) {
3060
+ --lightningcss-light: initial;
3061
+ --lightningcss-dark: ;
3062
+ color-scheme: light;
3063
+ --cirth-background-color: #fff;
3064
+ --cirth-color: #373c44;
3065
+ --cirth-text-selection-color: rgba(0, 166, 110, .25);
3066
+ --cirth-muted-color: #646b79;
3067
+ --cirth-muted-border-color: #e7eaf0;
3068
+ --cirth-primary: #007a50;
3069
+ --cirth-primary-background: #007a50;
3070
+ --cirth-primary-border: var(--cirth-primary-background);
3071
+ --cirth-primary-underline: rgba(0, 122, 80, .5);
3072
+ --cirth-primary-hover: #005f3d;
3073
+ --cirth-primary-hover-background: #006d46;
3074
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3075
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3076
+ --cirth-primary-focus: rgba(0, 166, 110, .5);
3077
+ --cirth-primary-inverse: #fff;
3078
+ --cirth-secondary: #5d6b89;
3079
+ --cirth-secondary-background: #525f7a;
3080
+ --cirth-secondary-border: var(--cirth-secondary-background);
3081
+ --cirth-secondary-underline: rgba(93, 107, 137, .5);
3082
+ --cirth-secondary-hover: #48536b;
3083
+ --cirth-secondary-hover-background: #48536b;
3084
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3085
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3086
+ --cirth-secondary-focus: rgba(93, 107, 137, .25);
3087
+ --cirth-secondary-inverse: #fff;
3088
+ --cirth-contrast: #181c25;
3089
+ --cirth-contrast-background: #181c25;
3090
+ --cirth-contrast-border: var(--cirth-contrast-background);
3091
+ --cirth-contrast-underline: rgba(24, 28, 37, .5);
3092
+ --cirth-contrast-hover: #000;
3093
+ --cirth-contrast-hover-background: #000;
3094
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3095
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
3096
+ --cirth-contrast-focus: rgba(93, 107, 137, .25);
3097
+ --cirth-contrast-inverse: #fff;
3098
+ --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);
3099
+ --cirth-h1-color: #2d3138;
3100
+ --cirth-h2-color: #373c44;
3101
+ --cirth-h3-color: #424751;
3102
+ --cirth-h4-color: #4d535e;
3103
+ --cirth-h5-color: #5c6370;
3104
+ --cirth-h6-color: #646b79;
3105
+ --cirth-mark-background-color: #fde7c0;
3106
+ --cirth-mark-color: #0f1114;
3107
+ --cirth-ins-color: #1d6a54;
3108
+ --cirth-del-color: #883935;
3109
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3110
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3111
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3112
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3113
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3114
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3115
+ --cirth-code-background-color: #f3f5f7;
3116
+ --cirth-code-color: #646b79;
3117
+ --cirth-code-kbd-background-color: var(--cirth-color);
3118
+ --cirth-code-kbd-color: var(--cirth-background-color);
3119
+ --cirth-form-element-background-color: #fbfcfc;
3120
+ --cirth-form-element-selected-background-color: #dfe3eb;
3121
+ --cirth-form-element-border-color: #cfd5e2;
3122
+ --cirth-form-element-color: #23262c;
3123
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3124
+ --cirth-form-element-active-background-color: #fff;
3125
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3126
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3127
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3128
+ --cirth-form-element-invalid-border-color: #b86a6b;
3129
+ --cirth-form-element-invalid-active-border-color: #c84f48;
3130
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3131
+ --cirth-form-element-valid-border-color: #4c9b8a;
3132
+ --cirth-form-element-valid-active-border-color: #279977;
3133
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3134
+ --cirth-switch-background-color: #bfc7d9;
3135
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3136
+ --cirth-switch-color: #fff;
3137
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3138
+ --cirth-range-border-color: #dfe3eb;
3139
+ --cirth-range-active-border-color: #bfc7d9;
3140
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3141
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3142
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3143
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3144
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3145
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3146
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3147
+ --cirth-card-background-color: var(--cirth-background-color);
3148
+ --cirth-card-border-color: var(--cirth-muted-border-color);
3149
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3150
+ --cirth-card-sectioning-background-color: #fbfcfc;
3151
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3152
+ --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3153
+ --cirth-progress-background-color: #dfe3eb;
3154
+ --cirth-progress-color: var(--cirth-primary-background);
3155
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3156
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3157
+ --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");
3158
+ --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");
3122
3159
  }
3123
3160
 
3124
- [data-tooltip][data-placement="right"]:before, [data-tooltip][data-placement="right"]:after {
3125
- inset: 50% auto auto 100%;
3126
- transform: translate(.25rem, -50%);
3161
+ [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3162
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3127
3163
  }
3128
3164
 
3129
- [data-tooltip][data-placement="right"]:after {
3130
- border: .3rem solid rgba(0, 0, 0, 0);
3131
- border-right-color: currentColor;
3132
- transform: translate(-.3rem, -50%);
3165
+ :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3166
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3133
3167
  }
3134
3168
 
3135
- [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3136
- opacity: 1;
3169
+ :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3170
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3137
3171
  }
3138
3172
 
3139
- @media (hover: hover) and (pointer: fine) {
3140
- [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3141
- --cirth-tooltip-slide-to: translate(-50%, -.25rem);
3142
- opacity: 0;
3143
- animation-name: tooltip-slide;
3144
- animation-duration: .2s;
3145
- animation-fill-mode: forwards;
3146
- transform: translate(-50%, .75rem);
3147
- }
3148
-
3149
- [data-tooltip]:focus:after, [data-tooltip]:hover:after {
3150
- --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
3151
- animation-name: tooltip-caret-slide;
3152
- transform: translate(-50%, -.25rem);
3153
- }
3154
-
3155
- [data-tooltip][data-placement="bottom"]:focus:before, [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:before, [data-tooltip][data-placement="bottom"]:hover:after {
3156
- --cirth-tooltip-slide-to: translate(-50%, .25rem);
3157
- animation-name: tooltip-slide;
3158
- transform: translate(-50%, -.75rem);
3159
- }
3160
-
3161
- [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:after {
3162
- --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
3163
- animation-name: tooltip-caret-slide;
3164
- transform: translate(-50%, -.5rem);
3165
- }
3166
-
3167
- [data-tooltip][data-placement="left"]:focus:before, [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:before, [data-tooltip][data-placement="left"]:hover:after {
3168
- --cirth-tooltip-slide-to: translate(-.25rem, -50%);
3169
- animation-name: tooltip-slide;
3170
- transform: translate(.75rem, -50%);
3171
- }
3172
-
3173
- [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:after {
3174
- --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
3175
- animation-name: tooltip-caret-slide;
3176
- transform: translate(.05rem, -50%);
3177
- }
3178
-
3179
- [data-tooltip][data-placement="right"]:focus:before, [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:before, [data-tooltip][data-placement="right"]:hover:after {
3180
- --cirth-tooltip-slide-to: translate(.25rem, -50%);
3181
- animation-name: tooltip-slide;
3182
- transform: translate(-.75rem, -50%);
3183
- }
3184
-
3185
- [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:after {
3186
- --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
3187
- animation-name: tooltip-caret-slide;
3188
- transform: translate(-.05rem, -50%);
3173
+ @media only screen and (prefers-color-scheme: dark) {
3174
+ :root:not([data-theme]) {
3175
+ --lightningcss-light: ;
3176
+ --lightningcss-dark: initial;
3177
+ color-scheme: dark;
3178
+ --cirth-background-color: #13171f;
3179
+ --cirth-color: #c2c7d0;
3180
+ --cirth-text-selection-color: rgba(0, 180, 120, .19);
3181
+ --cirth-muted-color: #7b8495;
3182
+ --cirth-muted-border-color: #202632;
3183
+ --cirth-primary: #00b478;
3184
+ --cirth-primary-background: #007a50;
3185
+ --cirth-primary-border: var(--cirth-primary-background);
3186
+ --cirth-primary-underline: rgba(0, 180, 120, .5);
3187
+ --cirth-primary-hover: #0c8;
3188
+ --cirth-primary-hover-background: #00895a;
3189
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3190
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3191
+ --cirth-primary-focus: rgba(0, 180, 120, .376);
3192
+ --cirth-primary-inverse: #fff;
3193
+ --cirth-secondary: #969eaf;
3194
+ --cirth-secondary-background: #525f7a;
3195
+ --cirth-secondary-border: var(--cirth-secondary-background);
3196
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3197
+ --cirth-secondary-hover: #b3b9c5;
3198
+ --cirth-secondary-hover-background: #5d6b89;
3199
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3200
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3201
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3202
+ --cirth-secondary-inverse: #fff;
3203
+ --cirth-contrast: #dfe3eb;
3204
+ --cirth-contrast-background: #eff1f4;
3205
+ --cirth-contrast-border: var(--cirth-contrast-background);
3206
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3207
+ --cirth-contrast-hover: #fff;
3208
+ --cirth-contrast-hover-background: #fff;
3209
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3210
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3211
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3212
+ --cirth-contrast-inverse: #000;
3213
+ --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);
3214
+ --cirth-h1-color: #f0f1f3;
3215
+ --cirth-h2-color: #e0e3e7;
3216
+ --cirth-h3-color: #c2c7d0;
3217
+ --cirth-h4-color: #b3b9c5;
3218
+ --cirth-h5-color: #a4acba;
3219
+ --cirth-h6-color: #8891a4;
3220
+ --cirth-mark-background-color: #014063;
3221
+ --cirth-mark-color: #fff;
3222
+ --cirth-ins-color: #62af9a;
3223
+ --cirth-del-color: #ce7e7b;
3224
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3225
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3226
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3227
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3228
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3229
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3230
+ --cirth-code-background-color: #1a1f28;
3231
+ --cirth-code-color: #8891a4;
3232
+ --cirth-code-kbd-background-color: var(--cirth-color);
3233
+ --cirth-code-kbd-color: var(--cirth-background-color);
3234
+ --cirth-form-element-background-color: #1c212c;
3235
+ --cirth-form-element-selected-background-color: #2a3140;
3236
+ --cirth-form-element-border-color: #2a3140;
3237
+ --cirth-form-element-color: #e0e3e7;
3238
+ --cirth-form-element-placeholder-color: #8891a4;
3239
+ --cirth-form-element-active-background-color: #1a1f28;
3240
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3241
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3242
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3243
+ --cirth-form-element-invalid-border-color: #964a50;
3244
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3245
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3246
+ --cirth-form-element-valid-border-color: #2a7b6f;
3247
+ --cirth-form-element-valid-active-border-color: #16896a;
3248
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3249
+ --cirth-switch-background-color: #333c4e;
3250
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3251
+ --cirth-switch-color: #fff;
3252
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3253
+ --cirth-range-border-color: #202632;
3254
+ --cirth-range-active-border-color: #2a3140;
3255
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3256
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3257
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3258
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3259
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3260
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3261
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3262
+ --cirth-card-background-color: #181c25;
3263
+ --cirth-card-border-color: var(--cirth-card-background-color);
3264
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3265
+ --cirth-card-sectioning-background-color: #1a1f28;
3266
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3267
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3268
+ --cirth-progress-background-color: #202632;
3269
+ --cirth-progress-color: var(--cirth-primary-background);
3270
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3271
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3272
+ --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");
3273
+ --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");
3189
3274
  }
3190
- }
3191
3275
 
3192
- @keyframes tooltip-slide {
3193
- to {
3194
- transform: var(--cirth-tooltip-slide-to);
3195
- opacity: 1;
3276
+ :host(:not([data-theme])) {
3277
+ --lightningcss-light: ;
3278
+ --lightningcss-dark: initial;
3279
+ color-scheme: dark;
3280
+ --cirth-background-color: #13171f;
3281
+ --cirth-color: #c2c7d0;
3282
+ --cirth-text-selection-color: rgba(0, 180, 120, .19);
3283
+ --cirth-muted-color: #7b8495;
3284
+ --cirth-muted-border-color: #202632;
3285
+ --cirth-primary: #00b478;
3286
+ --cirth-primary-background: #007a50;
3287
+ --cirth-primary-border: var(--cirth-primary-background);
3288
+ --cirth-primary-underline: rgba(0, 180, 120, .5);
3289
+ --cirth-primary-hover: #0c8;
3290
+ --cirth-primary-hover-background: #00895a;
3291
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3292
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3293
+ --cirth-primary-focus: rgba(0, 180, 120, .376);
3294
+ --cirth-primary-inverse: #fff;
3295
+ --cirth-secondary: #969eaf;
3296
+ --cirth-secondary-background: #525f7a;
3297
+ --cirth-secondary-border: var(--cirth-secondary-background);
3298
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3299
+ --cirth-secondary-hover: #b3b9c5;
3300
+ --cirth-secondary-hover-background: #5d6b89;
3301
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3302
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3303
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3304
+ --cirth-secondary-inverse: #fff;
3305
+ --cirth-contrast: #dfe3eb;
3306
+ --cirth-contrast-background: #eff1f4;
3307
+ --cirth-contrast-border: var(--cirth-contrast-background);
3308
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3309
+ --cirth-contrast-hover: #fff;
3310
+ --cirth-contrast-hover-background: #fff;
3311
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3312
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3313
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3314
+ --cirth-contrast-inverse: #000;
3315
+ --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);
3316
+ --cirth-h1-color: #f0f1f3;
3317
+ --cirth-h2-color: #e0e3e7;
3318
+ --cirth-h3-color: #c2c7d0;
3319
+ --cirth-h4-color: #b3b9c5;
3320
+ --cirth-h5-color: #a4acba;
3321
+ --cirth-h6-color: #8891a4;
3322
+ --cirth-mark-background-color: #014063;
3323
+ --cirth-mark-color: #fff;
3324
+ --cirth-ins-color: #62af9a;
3325
+ --cirth-del-color: #ce7e7b;
3326
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3327
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3328
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3329
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3330
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3331
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3332
+ --cirth-code-background-color: #1a1f28;
3333
+ --cirth-code-color: #8891a4;
3334
+ --cirth-code-kbd-background-color: var(--cirth-color);
3335
+ --cirth-code-kbd-color: var(--cirth-background-color);
3336
+ --cirth-form-element-background-color: #1c212c;
3337
+ --cirth-form-element-selected-background-color: #2a3140;
3338
+ --cirth-form-element-border-color: #2a3140;
3339
+ --cirth-form-element-color: #e0e3e7;
3340
+ --cirth-form-element-placeholder-color: #8891a4;
3341
+ --cirth-form-element-active-background-color: #1a1f28;
3342
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3343
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3344
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3345
+ --cirth-form-element-invalid-border-color: #964a50;
3346
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3347
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3348
+ --cirth-form-element-valid-border-color: #2a7b6f;
3349
+ --cirth-form-element-valid-active-border-color: #16896a;
3350
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3351
+ --cirth-switch-background-color: #333c4e;
3352
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3353
+ --cirth-switch-color: #fff;
3354
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3355
+ --cirth-range-border-color: #202632;
3356
+ --cirth-range-active-border-color: #2a3140;
3357
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3358
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3359
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3360
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3361
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3362
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3363
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3364
+ --cirth-card-background-color: #181c25;
3365
+ --cirth-card-border-color: var(--cirth-card-background-color);
3366
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3367
+ --cirth-card-sectioning-background-color: #1a1f28;
3368
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3369
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3370
+ --cirth-progress-background-color: #202632;
3371
+ --cirth-progress-color: var(--cirth-primary-background);
3372
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3373
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3374
+ --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");
3375
+ --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");
3196
3376
  }
3197
- }
3198
3377
 
3199
- @keyframes tooltip-caret-slide {
3200
- 50% {
3201
- opacity: 0;
3378
+ :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3379
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3202
3380
  }
3203
3381
 
3204
- to {
3205
- transform: var(--cirth-tooltip-caret-slide-to);
3206
- opacity: 1;
3382
+ :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3383
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3207
3384
  }
3208
3385
  }
3209
3386
 
3210
- [aria-controls] {
3211
- cursor: pointer;
3212
- }
3213
-
3214
- [aria-disabled="true"], [disabled] {
3215
- cursor: not-allowed;
3387
+ [data-theme="dark"] {
3388
+ --lightningcss-light: ;
3389
+ --lightningcss-dark: initial;
3390
+ color-scheme: dark;
3391
+ --cirth-background-color: #13171f;
3392
+ --cirth-color: #c2c7d0;
3393
+ --cirth-text-selection-color: rgba(0, 180, 120, .19);
3394
+ --cirth-muted-color: #7b8495;
3395
+ --cirth-muted-border-color: #202632;
3396
+ --cirth-primary: #00b478;
3397
+ --cirth-primary-background: #007a50;
3398
+ --cirth-primary-border: var(--cirth-primary-background);
3399
+ --cirth-primary-underline: rgba(0, 180, 120, .5);
3400
+ --cirth-primary-hover: #0c8;
3401
+ --cirth-primary-hover-background: #00895a;
3402
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3403
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3404
+ --cirth-primary-focus: rgba(0, 180, 120, .376);
3405
+ --cirth-primary-inverse: #fff;
3406
+ --cirth-secondary: #969eaf;
3407
+ --cirth-secondary-background: #525f7a;
3408
+ --cirth-secondary-border: var(--cirth-secondary-background);
3409
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3410
+ --cirth-secondary-hover: #b3b9c5;
3411
+ --cirth-secondary-hover-background: #5d6b89;
3412
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3413
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3414
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3415
+ --cirth-secondary-inverse: #fff;
3416
+ --cirth-contrast: #dfe3eb;
3417
+ --cirth-contrast-background: #eff1f4;
3418
+ --cirth-contrast-border: var(--cirth-contrast-background);
3419
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3420
+ --cirth-contrast-hover: #fff;
3421
+ --cirth-contrast-hover-background: #fff;
3422
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3423
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3424
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3425
+ --cirth-contrast-inverse: #000;
3426
+ --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);
3427
+ --cirth-h1-color: #f0f1f3;
3428
+ --cirth-h2-color: #e0e3e7;
3429
+ --cirth-h3-color: #c2c7d0;
3430
+ --cirth-h4-color: #b3b9c5;
3431
+ --cirth-h5-color: #a4acba;
3432
+ --cirth-h6-color: #8891a4;
3433
+ --cirth-mark-background-color: #014063;
3434
+ --cirth-mark-color: #fff;
3435
+ --cirth-ins-color: #62af9a;
3436
+ --cirth-del-color: #ce7e7b;
3437
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3438
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3439
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3440
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3441
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3442
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3443
+ --cirth-code-background-color: #1a1f28;
3444
+ --cirth-code-color: #8891a4;
3445
+ --cirth-code-kbd-background-color: var(--cirth-color);
3446
+ --cirth-code-kbd-color: var(--cirth-background-color);
3447
+ --cirth-form-element-background-color: #1c212c;
3448
+ --cirth-form-element-selected-background-color: #2a3140;
3449
+ --cirth-form-element-border-color: #2a3140;
3450
+ --cirth-form-element-color: #e0e3e7;
3451
+ --cirth-form-element-placeholder-color: #8891a4;
3452
+ --cirth-form-element-active-background-color: #1a1f28;
3453
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3454
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3455
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3456
+ --cirth-form-element-invalid-border-color: #964a50;
3457
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3458
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3459
+ --cirth-form-element-valid-border-color: #2a7b6f;
3460
+ --cirth-form-element-valid-active-border-color: #16896a;
3461
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3462
+ --cirth-switch-background-color: #333c4e;
3463
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3464
+ --cirth-switch-color: #fff;
3465
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3466
+ --cirth-range-border-color: #202632;
3467
+ --cirth-range-active-border-color: #2a3140;
3468
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3469
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3470
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3471
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3472
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3473
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3474
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3475
+ --cirth-card-background-color: #181c25;
3476
+ --cirth-card-border-color: var(--cirth-card-background-color);
3477
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3478
+ --cirth-card-sectioning-background-color: #1a1f28;
3479
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3480
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3481
+ --cirth-progress-background-color: #202632;
3482
+ --cirth-progress-color: var(--cirth-primary-background);
3483
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3484
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3485
+ --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");
3486
+ --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");
3216
3487
  }
3217
3488
 
3218
- [aria-hidden="false"][hidden] {
3219
- display: initial;
3489
+ [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3490
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3220
3491
  }
3221
3492
 
3222
- [aria-hidden="false"][hidden]:not(:focus) {
3223
- clip: rect(0, 0, 0, 0);
3224
- position: absolute;
3493
+ progress {
3494
+ accent-color: var(--cirth-primary);
3225
3495
  }
3226
3496
 
3227
- a, area, button, input, label, select, summary, textarea, [tabindex] {
3228
- -ms-touch-action: manipulation;
3497
+ [type="checkbox"] {
3498
+ accent-color: var(--cirth-primary);
3229
3499
  }
3230
3500
 
3231
- [dir="rtl"] {
3232
- direction: rtl;
3501
+ [type="radio"] {
3502
+ accent-color: var(--cirth-primary);
3233
3503
  }
3234
3504
 
3235
- @media (prefers-reduced-motion: reduce) {
3236
- :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;
3244
- }
3505
+ [type="range"] {
3506
+ accent-color: var(--cirth-primary);
3245
3507
  }