@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
package/dist/cirth.css CHANGED
@@ -1,1145 +1,273 @@
1
- :root {
2
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
4
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
5
- --cirth-font-family: var(--cirth-font-family-sans-serif);
6
- --cirth-line-height: 1.5;
7
- --cirth-font-weight: 400;
8
- --cirth-font-size: 100%;
9
- --cirth-text-underline-offset: .1rem;
10
- --cirth-border-radius: .25rem;
11
- --cirth-border-width: .0625rem;
12
- --cirth-outline-width: .125rem;
13
- --cirth-transition: .2s ease-in-out;
14
- --cirth-spacing: 1rem;
15
- --cirth-typography-spacing-vertical: 1rem;
16
- --cirth-block-spacing-vertical: var(--cirth-spacing);
17
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
18
- --cirth-grid-column-gap: var(--cirth-spacing);
19
- --cirth-grid-row-gap: var(--cirth-spacing);
20
- --cirth-form-element-spacing-vertical: .75rem;
21
- --cirth-form-element-spacing-horizontal: 1rem;
22
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
23
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
24
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
25
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
26
- --cirth-nav-element-spacing-vertical: 1rem;
27
- --cirth-nav-element-spacing-horizontal: .5rem;
28
- --cirth-nav-link-spacing-vertical: .5rem;
29
- --cirth-nav-link-spacing-horizontal: .5rem;
30
- --cirth-nav-breadcrumb-divider: ">";
31
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
32
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
33
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
34
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
35
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
36
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
37
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
38
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
1
+ *, :before, :after {
2
+ box-sizing: border-box;
3
+ background-repeat: no-repeat;
39
4
  }
40
5
 
41
- :host {
42
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
43
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
44
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
45
- --cirth-font-family: var(--cirth-font-family-sans-serif);
46
- --cirth-line-height: 1.5;
47
- --cirth-font-weight: 400;
48
- --cirth-font-size: 100%;
49
- --cirth-text-underline-offset: .1rem;
50
- --cirth-border-radius: .25rem;
51
- --cirth-border-width: .0625rem;
52
- --cirth-outline-width: .125rem;
53
- --cirth-transition: .2s ease-in-out;
54
- --cirth-spacing: 1rem;
55
- --cirth-typography-spacing-vertical: 1rem;
56
- --cirth-block-spacing-vertical: var(--cirth-spacing);
57
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
58
- --cirth-grid-column-gap: var(--cirth-spacing);
59
- --cirth-grid-row-gap: var(--cirth-spacing);
60
- --cirth-form-element-spacing-vertical: .75rem;
61
- --cirth-form-element-spacing-horizontal: 1rem;
62
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
63
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
64
- --cirth-group-box-shadow-focus-with-input: 0 0 0 .0625rem var(--cirth-form-element-border-color);
65
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
66
- --cirth-nav-element-spacing-vertical: 1rem;
67
- --cirth-nav-element-spacing-horizontal: .5rem;
68
- --cirth-nav-link-spacing-vertical: .5rem;
69
- --cirth-nav-link-spacing-horizontal: .5rem;
70
- --cirth-nav-breadcrumb-divider: ">";
71
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
72
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
73
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
74
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
75
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
76
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
77
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
78
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
6
+ :before, :after {
7
+ -webkit-text-decoration: inherit;
8
+ text-decoration: inherit;
9
+ vertical-align: inherit;
79
10
  }
80
11
 
81
- @media (width >= 576px) {
82
- :root {
83
- --cirth-font-size: 106.25%;
84
- }
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
+ }
85
28
 
86
- :host {
87
- --cirth-font-size: 106.25%;
88
- }
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;
89
44
  }
90
45
 
91
- @media (width >= 768px) {
92
- :root {
93
- --cirth-font-size: 112.5%;
94
- }
46
+ body {
47
+ width: 100%;
48
+ margin: 0;
49
+ }
95
50
 
96
- :host {
97
- --cirth-font-size: 112.5%;
98
- }
51
+ main {
52
+ display: block;
99
53
  }
100
54
 
101
- @media (width >= 1024px) {
102
- :root {
103
- --cirth-font-size: 118.75%;
104
- }
55
+ body > header, body > main, body > footer {
56
+ padding-block: var(--cirth-block-spacing-vertical);
57
+ }
105
58
 
106
- :host {
107
- --cirth-font-size: 118.75%;
108
- }
59
+ section {
60
+ margin-bottom: var(--cirth-block-spacing-vertical);
109
61
  }
110
62
 
111
- @media (width >= 1280px) {
112
- :root {
113
- --cirth-font-size: 125%;
114
- }
63
+ .container, .container-fluid {
64
+ width: 100%;
65
+ padding-right: var(--cirth-spacing);
66
+ padding-left: var(--cirth-spacing);
67
+ margin-left: auto;
68
+ margin-right: auto;
69
+ }
115
70
 
116
- :host {
117
- --cirth-font-size: 125%;
71
+ @media (width >= 576px) {
72
+ .container {
73
+ max-width: 510px;
74
+ padding-left: 0;
75
+ padding-right: 0;
118
76
  }
119
77
  }
120
78
 
121
- @media (width >= 1536px) {
122
- :root {
123
- --cirth-font-size: 131.25%;
79
+ @media (width >= 768px) {
80
+ .container {
81
+ max-width: 700px;
124
82
  }
83
+ }
125
84
 
126
- :host {
127
- --cirth-font-size: 131.25%;
85
+ @media (width >= 1024px) {
86
+ .container {
87
+ max-width: 950px;
128
88
  }
129
89
  }
130
90
 
131
- a, a.secondary, a.contrast {
132
- --cirth-text-decoration: underline;
91
+ @media (width >= 1280px) {
92
+ .container {
93
+ max-width: 1200px;
94
+ }
133
95
  }
134
96
 
135
- small {
136
- --cirth-font-size: .875em;
97
+ @media (width >= 1536px) {
98
+ .container {
99
+ max-width: 1450px;
100
+ }
137
101
  }
138
102
 
139
- h1, h2, h3, h4, h5, h6 {
140
- --cirth-font-weight: 700;
103
+ .grid {
104
+ grid-column-gap: var(--cirth-grid-column-gap);
105
+ grid-row-gap: var(--cirth-grid-row-gap);
106
+ grid-template-columns: 1fr;
107
+ display: grid;
141
108
  }
142
109
 
143
- h1 {
144
- --cirth-font-size: 2rem;
145
- --cirth-line-height: 1.125;
146
- --cirth-typography-spacing-top: 3rem;
110
+ @media (width >= 768px) {
111
+ .grid {
112
+ grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
113
+ }
147
114
  }
148
115
 
149
- h2 {
150
- --cirth-font-size: 1.75rem;
151
- --cirth-line-height: 1.15;
152
- --cirth-typography-spacing-top: 2.625rem;
116
+ .grid > * {
117
+ min-width: 0;
153
118
  }
154
119
 
155
- h3 {
156
- --cirth-font-size: 1.5rem;
157
- --cirth-line-height: 1.175;
158
- --cirth-typography-spacing-top: 2.25rem;
120
+ .overflow-auto {
121
+ overflow: auto;
159
122
  }
160
123
 
161
- h4 {
162
- --cirth-font-size: 1.25rem;
163
- --cirth-line-height: 1.2;
164
- --cirth-typography-spacing-top: 1.874rem;
124
+ b, strong {
125
+ font-weight: bolder;
165
126
  }
166
127
 
167
- h5 {
168
- --cirth-font-size: 1.125rem;
169
- --cirth-line-height: 1.225;
170
- --cirth-typography-spacing-top: 1.6875rem;
128
+ sub, sup {
129
+ vertical-align: baseline;
130
+ font-size: .75em;
131
+ line-height: 0;
132
+ position: relative;
171
133
  }
172
134
 
173
- h6 {
174
- --cirth-font-size: 1rem;
175
- --cirth-line-height: 1.25;
176
- --cirth-typography-spacing-top: 1.5rem;
135
+ sub {
136
+ bottom: -.25em;
177
137
  }
178
138
 
179
- thead th, thead td, tfoot th, tfoot td {
180
- --cirth-font-weight: 600;
181
- --cirth-border-width: .1875rem;
139
+ sup {
140
+ top: -.5em;
182
141
  }
183
142
 
184
- pre, code, kbd, samp {
185
- --cirth-font-family: var(--cirth-font-family-monospace);
143
+ address, blockquote, dl, ol, p, pre, table, ul {
144
+ margin-top: 0;
145
+ margin-bottom: var(--cirth-typography-spacing-vertical);
146
+ color: var(--cirth-color);
147
+ font-style: normal;
148
+ font-weight: var(--cirth-font-weight);
186
149
  }
187
150
 
188
- kbd {
189
- --cirth-font-weight: bolder;
151
+ h1, h2, h3, h4, h5, h6 {
152
+ margin-top: 0;
153
+ margin-bottom: var(--cirth-typography-spacing-vertical);
154
+ color: var(--cirth-color);
155
+ font-weight: var(--cirth-font-weight);
156
+ font-size: var(--cirth-font-size);
157
+ line-height: var(--cirth-line-height);
158
+ font-family: var(--cirth-font-family);
190
159
  }
191
160
 
192
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
193
- --cirth-outline-width: .0625rem;
161
+ h1 {
162
+ --cirth-color: var(--cirth-h1-color);
194
163
  }
195
164
 
196
- :where(select, textarea) {
197
- --cirth-outline-width: .0625rem;
165
+ h2 {
166
+ --cirth-color: var(--cirth-h2-color);
198
167
  }
199
168
 
200
- [type="search"] {
201
- --cirth-border-radius: 5rem;
169
+ h3 {
170
+ --cirth-color: var(--cirth-h3-color);
202
171
  }
203
172
 
204
- [type="checkbox"] {
205
- --cirth-border-width: .125rem;
173
+ h4 {
174
+ --cirth-color: var(--cirth-h4-color);
206
175
  }
207
176
 
208
- [type="radio"] {
209
- --cirth-border-width: .125rem;
177
+ h5 {
178
+ --cirth-color: var(--cirth-h5-color);
210
179
  }
211
180
 
212
- [type="checkbox"][role="switch"] {
213
- --cirth-border-width: .1875rem;
181
+ h6 {
182
+ --cirth-color: var(--cirth-h6-color);
214
183
  }
215
184
 
216
- details.dropdown summary:not([role="button"]) {
217
- --cirth-outline-width: .0625rem;
185
+ :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
186
+ margin-top: var(--cirth-typography-spacing-top);
218
187
  }
219
188
 
220
- nav details.dropdown summary:focus-visible {
221
- --cirth-outline-width: .125rem;
189
+ p, hgroup {
190
+ margin-bottom: var(--cirth-typography-spacing-vertical);
222
191
  }
223
192
 
224
- [role="search"] {
225
- --cirth-border-radius: 5rem;
193
+ hgroup > * {
194
+ margin-top: 0;
195
+ margin-bottom: 0;
226
196
  }
227
197
 
228
- [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
229
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
198
+ hgroup > :not(:first-child):last-child {
199
+ --cirth-color: var(--cirth-muted-color);
200
+ --cirth-font-weight: unset;
201
+ font-size: var(--cirth-font-size-md);
230
202
  }
231
203
 
232
- [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
233
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
204
+ :where(ol, ul) li {
205
+ margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
234
206
  }
235
207
 
236
- [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
237
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
208
+ :where(dl, ol, ul) :where(dl, ol, ul) {
209
+ margin: 0;
210
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
238
211
  }
239
212
 
240
- [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
241
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
213
+ ul li {
214
+ list-style: square;
242
215
  }
243
216
 
244
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
245
- --cirth-form-element-spacing-horizontal: 2rem;
246
- }
247
-
248
- [role="search"] [type="submit"] {
249
- --cirth-form-element-spacing-horizontal: 2rem;
250
- }
251
-
252
- [role="search"] [type="button"] {
253
- --cirth-form-element-spacing-horizontal: 2rem;
217
+ mark {
218
+ background-color: var(--cirth-mark-background-color);
219
+ color: var(--cirth-mark-color);
220
+ vertical-align: baseline;
221
+ padding: .125rem .25rem;
254
222
  }
255
223
 
256
- [role="group"] [type="submit"] {
257
- --cirth-form-element-spacing-horizontal: 2rem;
224
+ blockquote {
225
+ margin: var(--cirth-typography-spacing-vertical) 0;
226
+ padding: var(--cirth-spacing);
227
+ border-right: none;
228
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
229
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
230
+ border-inline-end: none;
231
+ display: block;
258
232
  }
259
233
 
260
- [role="group"] [type="button"] {
261
- --cirth-form-element-spacing-horizontal: 2rem;
234
+ blockquote footer {
235
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
236
+ color: var(--cirth-blockquote-footer-color);
262
237
  }
263
238
 
264
- details summary[role="button"]:not(.outline):after {
265
- filter: brightness(0) invert();
239
+ abbr[title] {
240
+ border-bottom: var(--cirth-border-width-1) dotted;
241
+ cursor: help;
242
+ text-decoration: none;
266
243
  }
267
244
 
268
- [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
269
- filter: brightness(0) invert();
245
+ ins {
246
+ color: var(--cirth-ins-color);
247
+ text-decoration: none;
270
248
  }
271
249
 
272
- [data-theme="light"], :root:not([data-theme="dark"]) {
273
- --lightningcss-light: initial;
274
- --lightningcss-dark: ;
275
- color-scheme: light;
276
- --cirth-background-color: #fff;
277
- --cirth-color: #373c44;
278
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
279
- --cirth-muted-color: #646b79;
280
- --cirth-muted-border-color: #e7eaf0;
281
- --cirth-primary: #0172ad;
282
- --cirth-primary-background: #0172ad;
283
- --cirth-primary-border: var(--cirth-primary-background);
284
- --cirth-primary-underline: rgba(1, 114, 173, .5);
285
- --cirth-primary-hover: #015887;
286
- --cirth-primary-hover-background: #02659a;
287
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
288
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
289
- --cirth-primary-focus: rgba(2, 154, 232, .5);
290
- --cirth-primary-inverse: #fff;
291
- --cirth-secondary: #5d6b89;
292
- --cirth-secondary-background: #525f7a;
293
- --cirth-secondary-border: var(--cirth-secondary-background);
294
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
295
- --cirth-secondary-hover: #48536b;
296
- --cirth-secondary-hover-background: #48536b;
297
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
298
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
299
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
300
- --cirth-secondary-inverse: #fff;
301
- --cirth-contrast: #181c25;
302
- --cirth-contrast-background: #181c25;
303
- --cirth-contrast-border: var(--cirth-contrast-background);
304
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
305
- --cirth-contrast-hover: #000;
306
- --cirth-contrast-hover-background: #000;
307
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
308
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
309
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
310
- --cirth-contrast-inverse: #fff;
311
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(129, 145, 181, .016), .0335rem .067rem .402rem rgba(129, 145, 181, .024), .0625rem .125rem .75rem rgba(129, 145, 181, .03), .1125rem .225rem 1.35rem rgba(129, 145, 181, .035), .2085rem .417rem 2.502rem rgba(129, 145, 181, .043), .5rem 1rem 6rem rgba(129, 145, 181, .06), 0 0 0 .0625rem rgba(129, 145, 181, .016);
312
- --cirth-h1-color: #2d3138;
313
- --cirth-h2-color: #373c44;
314
- --cirth-h3-color: #424751;
315
- --cirth-h4-color: #4d535e;
316
- --cirth-h5-color: #5c6370;
317
- --cirth-h6-color: #646b79;
318
- --cirth-mark-background-color: #fde7c0;
319
- --cirth-mark-color: #0f1114;
320
- --cirth-ins-color: #1d6a54;
321
- --cirth-del-color: #883935;
322
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
323
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
324
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
325
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
326
- --cirth-table-border-color: var(--cirth-muted-border-color);
327
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
328
- --cirth-code-background-color: #f3f5f7;
329
- --cirth-code-color: #646b79;
330
- --cirth-code-kbd-background-color: var(--cirth-color);
331
- --cirth-code-kbd-color: var(--cirth-background-color);
332
- --cirth-form-element-background-color: #fbfcfc;
333
- --cirth-form-element-selected-background-color: #dfe3eb;
334
- --cirth-form-element-border-color: #cfd5e2;
335
- --cirth-form-element-color: #23262c;
336
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
337
- --cirth-form-element-active-background-color: #fff;
338
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
339
- --cirth-form-element-focus-color: var(--cirth-primary-border);
340
- --cirth-form-element-disabled-opacity: .5;
341
- --cirth-form-element-invalid-border-color: #b86a6b;
342
- --cirth-form-element-invalid-active-border-color: #c84f48;
343
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
344
- --cirth-form-element-valid-border-color: #4c9b8a;
345
- --cirth-form-element-valid-active-border-color: #279977;
346
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
347
- --cirth-switch-background-color: #bfc7d9;
348
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
349
- --cirth-switch-color: #fff;
350
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
351
- --cirth-range-border-color: #dfe3eb;
352
- --cirth-range-active-border-color: #bfc7d9;
353
- --cirth-range-thumb-border-color: var(--cirth-background-color);
354
- --cirth-range-thumb-color: var(--cirth-secondary-background);
355
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
356
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
357
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
358
- --cirth-accordion-close-summary-color: var(--cirth-color);
359
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
360
- --cirth-card-background-color: var(--cirth-background-color);
361
- --cirth-card-border-color: var(--cirth-muted-border-color);
362
- --cirth-card-box-shadow: var(--cirth-box-shadow);
363
- --cirth-card-sectioning-background-color: #fbfcfc;
364
- --cirth-dropdown-background-color: #fff;
365
- --cirth-dropdown-border-color: #eff1f4;
366
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
367
- --cirth-dropdown-color: var(--cirth-color);
368
- --cirth-dropdown-hover-background-color: #eff1f4;
369
- --cirth-loading-spinner-opacity: .5;
370
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
371
- --cirth-progress-background-color: #dfe3eb;
372
- --cirth-progress-color: var(--cirth-primary-background);
373
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
374
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
375
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
376
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
250
+ del {
251
+ color: var(--cirth-del-color);
377
252
  }
378
253
 
379
- :host(:not([data-theme="dark"])) {
380
- --lightningcss-light: initial;
381
- --lightningcss-dark: ;
382
- color-scheme: light;
383
- --cirth-background-color: #fff;
384
- --cirth-color: #373c44;
385
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
386
- --cirth-muted-color: #646b79;
387
- --cirth-muted-border-color: #e7eaf0;
388
- --cirth-primary: #0172ad;
389
- --cirth-primary-background: #0172ad;
390
- --cirth-primary-border: var(--cirth-primary-background);
391
- --cirth-primary-underline: rgba(1, 114, 173, .5);
392
- --cirth-primary-hover: #015887;
393
- --cirth-primary-hover-background: #02659a;
394
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
395
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
396
- --cirth-primary-focus: rgba(2, 154, 232, .5);
397
- --cirth-primary-inverse: #fff;
398
- --cirth-secondary: #5d6b89;
399
- --cirth-secondary-background: #525f7a;
400
- --cirth-secondary-border: var(--cirth-secondary-background);
401
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
402
- --cirth-secondary-hover: #48536b;
403
- --cirth-secondary-hover-background: #48536b;
404
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
405
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
406
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
407
- --cirth-secondary-inverse: #fff;
408
- --cirth-contrast: #181c25;
409
- --cirth-contrast-background: #181c25;
410
- --cirth-contrast-border: var(--cirth-contrast-background);
411
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
412
- --cirth-contrast-hover: #000;
413
- --cirth-contrast-hover-background: #000;
414
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
415
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
416
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
417
- --cirth-contrast-inverse: #fff;
418
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(129, 145, 181, .016), .0335rem .067rem .402rem rgba(129, 145, 181, .024), .0625rem .125rem .75rem rgba(129, 145, 181, .03), .1125rem .225rem 1.35rem rgba(129, 145, 181, .035), .2085rem .417rem 2.502rem rgba(129, 145, 181, .043), .5rem 1rem 6rem rgba(129, 145, 181, .06), 0 0 0 .0625rem rgba(129, 145, 181, .016);
419
- --cirth-h1-color: #2d3138;
420
- --cirth-h2-color: #373c44;
421
- --cirth-h3-color: #424751;
422
- --cirth-h4-color: #4d535e;
423
- --cirth-h5-color: #5c6370;
424
- --cirth-h6-color: #646b79;
425
- --cirth-mark-background-color: #fde7c0;
426
- --cirth-mark-color: #0f1114;
427
- --cirth-ins-color: #1d6a54;
428
- --cirth-del-color: #883935;
429
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
430
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
431
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
432
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
433
- --cirth-table-border-color: var(--cirth-muted-border-color);
434
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
435
- --cirth-code-background-color: #f3f5f7;
436
- --cirth-code-color: #646b79;
437
- --cirth-code-kbd-background-color: var(--cirth-color);
438
- --cirth-code-kbd-color: var(--cirth-background-color);
439
- --cirth-form-element-background-color: #fbfcfc;
440
- --cirth-form-element-selected-background-color: #dfe3eb;
441
- --cirth-form-element-border-color: #cfd5e2;
442
- --cirth-form-element-color: #23262c;
443
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
444
- --cirth-form-element-active-background-color: #fff;
445
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
446
- --cirth-form-element-focus-color: var(--cirth-primary-border);
447
- --cirth-form-element-disabled-opacity: .5;
448
- --cirth-form-element-invalid-border-color: #b86a6b;
449
- --cirth-form-element-invalid-active-border-color: #c84f48;
450
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
451
- --cirth-form-element-valid-border-color: #4c9b8a;
452
- --cirth-form-element-valid-active-border-color: #279977;
453
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
454
- --cirth-switch-background-color: #bfc7d9;
455
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
456
- --cirth-switch-color: #fff;
457
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
458
- --cirth-range-border-color: #dfe3eb;
459
- --cirth-range-active-border-color: #bfc7d9;
460
- --cirth-range-thumb-border-color: var(--cirth-background-color);
461
- --cirth-range-thumb-color: var(--cirth-secondary-background);
462
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
463
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
464
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
465
- --cirth-accordion-close-summary-color: var(--cirth-color);
466
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
467
- --cirth-card-background-color: var(--cirth-background-color);
468
- --cirth-card-border-color: var(--cirth-muted-border-color);
469
- --cirth-card-box-shadow: var(--cirth-box-shadow);
470
- --cirth-card-sectioning-background-color: #fbfcfc;
471
- --cirth-dropdown-background-color: #fff;
472
- --cirth-dropdown-border-color: #eff1f4;
473
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
474
- --cirth-dropdown-color: var(--cirth-color);
475
- --cirth-dropdown-hover-background-color: #eff1f4;
476
- --cirth-loading-spinner-opacity: .5;
477
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
478
- --cirth-progress-background-color: #dfe3eb;
479
- --cirth-progress-color: var(--cirth-primary-background);
480
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
481
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
482
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
483
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
254
+ ::selection {
255
+ background-color: var(--cirth-text-selection-color);
484
256
  }
485
257
 
486
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
487
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
488
- }
489
-
490
- :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
491
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
492
- }
493
-
494
- :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
495
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
496
- }
497
-
498
- @media only screen and (prefers-color-scheme: dark) {
499
- :root:not([data-theme]) {
500
- --lightningcss-light: ;
501
- --lightningcss-dark: initial;
502
- color-scheme: dark;
503
- --cirth-background-color: #13171f;
504
- --cirth-color: #c2c7d0;
505
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
506
- --cirth-muted-color: #7b8495;
507
- --cirth-muted-border-color: #202632;
508
- --cirth-primary: #01aaff;
509
- --cirth-primary-background: #0172ad;
510
- --cirth-primary-border: var(--cirth-primary-background);
511
- --cirth-primary-underline: rgba(1, 170, 255, .5);
512
- --cirth-primary-hover: #79c0ff;
513
- --cirth-primary-hover-background: #017fc0;
514
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
515
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
516
- --cirth-primary-focus: rgba(1, 170, 255, .376);
517
- --cirth-primary-inverse: #fff;
518
- --cirth-secondary: #969eaf;
519
- --cirth-secondary-background: #525f7a;
520
- --cirth-secondary-border: var(--cirth-secondary-background);
521
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
522
- --cirth-secondary-hover: #b3b9c5;
523
- --cirth-secondary-hover-background: #5d6b89;
524
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
525
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
526
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
527
- --cirth-secondary-inverse: #fff;
528
- --cirth-contrast: #dfe3eb;
529
- --cirth-contrast-background: #eff1f4;
530
- --cirth-contrast-border: var(--cirth-contrast-background);
531
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
532
- --cirth-contrast-hover: #fff;
533
- --cirth-contrast-hover-background: #fff;
534
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
535
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
536
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
537
- --cirth-contrast-inverse: #000;
538
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
539
- --cirth-h1-color: #f0f1f3;
540
- --cirth-h2-color: #e0e3e7;
541
- --cirth-h3-color: #c2c7d0;
542
- --cirth-h4-color: #b3b9c5;
543
- --cirth-h5-color: #a4acba;
544
- --cirth-h6-color: #8891a4;
545
- --cirth-mark-background-color: #014063;
546
- --cirth-mark-color: #fff;
547
- --cirth-ins-color: #62af9a;
548
- --cirth-del-color: #ce7e7b;
549
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
550
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
551
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
552
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
553
- --cirth-table-border-color: var(--cirth-muted-border-color);
554
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
555
- --cirth-code-background-color: #1a1f28;
556
- --cirth-code-color: #8891a4;
557
- --cirth-code-kbd-background-color: var(--cirth-color);
558
- --cirth-code-kbd-color: var(--cirth-background-color);
559
- --cirth-form-element-background-color: #1c212c;
560
- --cirth-form-element-selected-background-color: #2a3140;
561
- --cirth-form-element-border-color: #2a3140;
562
- --cirth-form-element-color: #e0e3e7;
563
- --cirth-form-element-placeholder-color: #8891a4;
564
- --cirth-form-element-active-background-color: #1a1f28;
565
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
566
- --cirth-form-element-focus-color: var(--cirth-primary-border);
567
- --cirth-form-element-disabled-opacity: .5;
568
- --cirth-form-element-invalid-border-color: #964a50;
569
- --cirth-form-element-invalid-active-border-color: #b7403b;
570
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
571
- --cirth-form-element-valid-border-color: #2a7b6f;
572
- --cirth-form-element-valid-active-border-color: #16896a;
573
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
574
- --cirth-switch-background-color: #333c4e;
575
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
576
- --cirth-switch-color: #fff;
577
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
578
- --cirth-range-border-color: #202632;
579
- --cirth-range-active-border-color: #2a3140;
580
- --cirth-range-thumb-border-color: var(--cirth-background-color);
581
- --cirth-range-thumb-color: var(--cirth-secondary-background);
582
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
583
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
584
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
585
- --cirth-accordion-close-summary-color: var(--cirth-color);
586
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
587
- --cirth-card-background-color: #181c25;
588
- --cirth-card-border-color: var(--cirth-card-background-color);
589
- --cirth-card-box-shadow: var(--cirth-box-shadow);
590
- --cirth-card-sectioning-background-color: #1a1f28;
591
- --cirth-dropdown-background-color: #181c25;
592
- --cirth-dropdown-border-color: #202632;
593
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
594
- --cirth-dropdown-color: var(--cirth-color);
595
- --cirth-dropdown-hover-background-color: #202632;
596
- --cirth-loading-spinner-opacity: .5;
597
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
598
- --cirth-progress-background-color: #202632;
599
- --cirth-progress-color: var(--cirth-primary-background);
600
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
601
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
602
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
603
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
604
- }
605
-
606
- :host(:not([data-theme])) {
607
- --lightningcss-light: ;
608
- --lightningcss-dark: initial;
609
- color-scheme: dark;
610
- --cirth-background-color: #13171f;
611
- --cirth-color: #c2c7d0;
612
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
613
- --cirth-muted-color: #7b8495;
614
- --cirth-muted-border-color: #202632;
615
- --cirth-primary: #01aaff;
616
- --cirth-primary-background: #0172ad;
617
- --cirth-primary-border: var(--cirth-primary-background);
618
- --cirth-primary-underline: rgba(1, 170, 255, .5);
619
- --cirth-primary-hover: #79c0ff;
620
- --cirth-primary-hover-background: #017fc0;
621
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
622
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
623
- --cirth-primary-focus: rgba(1, 170, 255, .376);
624
- --cirth-primary-inverse: #fff;
625
- --cirth-secondary: #969eaf;
626
- --cirth-secondary-background: #525f7a;
627
- --cirth-secondary-border: var(--cirth-secondary-background);
628
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
629
- --cirth-secondary-hover: #b3b9c5;
630
- --cirth-secondary-hover-background: #5d6b89;
631
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
632
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
633
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
634
- --cirth-secondary-inverse: #fff;
635
- --cirth-contrast: #dfe3eb;
636
- --cirth-contrast-background: #eff1f4;
637
- --cirth-contrast-border: var(--cirth-contrast-background);
638
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
639
- --cirth-contrast-hover: #fff;
640
- --cirth-contrast-hover-background: #fff;
641
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
642
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
643
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
644
- --cirth-contrast-inverse: #000;
645
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
646
- --cirth-h1-color: #f0f1f3;
647
- --cirth-h2-color: #e0e3e7;
648
- --cirth-h3-color: #c2c7d0;
649
- --cirth-h4-color: #b3b9c5;
650
- --cirth-h5-color: #a4acba;
651
- --cirth-h6-color: #8891a4;
652
- --cirth-mark-background-color: #014063;
653
- --cirth-mark-color: #fff;
654
- --cirth-ins-color: #62af9a;
655
- --cirth-del-color: #ce7e7b;
656
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
657
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
658
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
659
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
660
- --cirth-table-border-color: var(--cirth-muted-border-color);
661
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
662
- --cirth-code-background-color: #1a1f28;
663
- --cirth-code-color: #8891a4;
664
- --cirth-code-kbd-background-color: var(--cirth-color);
665
- --cirth-code-kbd-color: var(--cirth-background-color);
666
- --cirth-form-element-background-color: #1c212c;
667
- --cirth-form-element-selected-background-color: #2a3140;
668
- --cirth-form-element-border-color: #2a3140;
669
- --cirth-form-element-color: #e0e3e7;
670
- --cirth-form-element-placeholder-color: #8891a4;
671
- --cirth-form-element-active-background-color: #1a1f28;
672
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
673
- --cirth-form-element-focus-color: var(--cirth-primary-border);
674
- --cirth-form-element-disabled-opacity: .5;
675
- --cirth-form-element-invalid-border-color: #964a50;
676
- --cirth-form-element-invalid-active-border-color: #b7403b;
677
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
678
- --cirth-form-element-valid-border-color: #2a7b6f;
679
- --cirth-form-element-valid-active-border-color: #16896a;
680
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
681
- --cirth-switch-background-color: #333c4e;
682
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
683
- --cirth-switch-color: #fff;
684
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
685
- --cirth-range-border-color: #202632;
686
- --cirth-range-active-border-color: #2a3140;
687
- --cirth-range-thumb-border-color: var(--cirth-background-color);
688
- --cirth-range-thumb-color: var(--cirth-secondary-background);
689
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
690
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
691
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
692
- --cirth-accordion-close-summary-color: var(--cirth-color);
693
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
694
- --cirth-card-background-color: #181c25;
695
- --cirth-card-border-color: var(--cirth-card-background-color);
696
- --cirth-card-box-shadow: var(--cirth-box-shadow);
697
- --cirth-card-sectioning-background-color: #1a1f28;
698
- --cirth-dropdown-background-color: #181c25;
699
- --cirth-dropdown-border-color: #202632;
700
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
701
- --cirth-dropdown-color: var(--cirth-color);
702
- --cirth-dropdown-hover-background-color: #202632;
703
- --cirth-loading-spinner-opacity: .5;
704
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
705
- --cirth-progress-background-color: #202632;
706
- --cirth-progress-color: var(--cirth-primary-background);
707
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
708
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
709
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
710
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
711
- }
712
-
713
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
714
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
715
- }
716
-
717
- :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
718
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
719
- }
720
-
721
- :root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
722
- filter: brightness(0);
723
- }
724
-
725
- :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after {
726
- filter: brightness(0);
727
- }
728
-
729
- :root:not([data-theme]) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
730
- filter: brightness(0);
731
- }
732
-
733
- :host(:not([data-theme])) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
734
- filter: brightness(0);
735
- }
736
- }
737
-
738
- [data-theme="dark"] {
739
- --lightningcss-light: ;
740
- --lightningcss-dark: initial;
741
- color-scheme: dark;
742
- --cirth-background-color: #13171f;
743
- --cirth-color: #c2c7d0;
744
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
745
- --cirth-muted-color: #7b8495;
746
- --cirth-muted-border-color: #202632;
747
- --cirth-primary: #01aaff;
748
- --cirth-primary-background: #0172ad;
749
- --cirth-primary-border: var(--cirth-primary-background);
750
- --cirth-primary-underline: rgba(1, 170, 255, .5);
751
- --cirth-primary-hover: #79c0ff;
752
- --cirth-primary-hover-background: #017fc0;
753
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
754
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
755
- --cirth-primary-focus: rgba(1, 170, 255, .376);
756
- --cirth-primary-inverse: #fff;
757
- --cirth-secondary: #969eaf;
758
- --cirth-secondary-background: #525f7a;
759
- --cirth-secondary-border: var(--cirth-secondary-background);
760
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
761
- --cirth-secondary-hover: #b3b9c5;
762
- --cirth-secondary-hover-background: #5d6b89;
763
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
764
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
765
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
766
- --cirth-secondary-inverse: #fff;
767
- --cirth-contrast: #dfe3eb;
768
- --cirth-contrast-background: #eff1f4;
769
- --cirth-contrast-border: var(--cirth-contrast-background);
770
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
771
- --cirth-contrast-hover: #fff;
772
- --cirth-contrast-hover-background: #fff;
773
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
774
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
775
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
776
- --cirth-contrast-inverse: #000;
777
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
778
- --cirth-h1-color: #f0f1f3;
779
- --cirth-h2-color: #e0e3e7;
780
- --cirth-h3-color: #c2c7d0;
781
- --cirth-h4-color: #b3b9c5;
782
- --cirth-h5-color: #a4acba;
783
- --cirth-h6-color: #8891a4;
784
- --cirth-mark-background-color: #014063;
785
- --cirth-mark-color: #fff;
786
- --cirth-ins-color: #62af9a;
787
- --cirth-del-color: #ce7e7b;
788
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
789
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
790
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
791
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
792
- --cirth-table-border-color: var(--cirth-muted-border-color);
793
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
794
- --cirth-code-background-color: #1a1f28;
795
- --cirth-code-color: #8891a4;
796
- --cirth-code-kbd-background-color: var(--cirth-color);
797
- --cirth-code-kbd-color: var(--cirth-background-color);
798
- --cirth-form-element-background-color: #1c212c;
799
- --cirth-form-element-selected-background-color: #2a3140;
800
- --cirth-form-element-border-color: #2a3140;
801
- --cirth-form-element-color: #e0e3e7;
802
- --cirth-form-element-placeholder-color: #8891a4;
803
- --cirth-form-element-active-background-color: #1a1f28;
804
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
805
- --cirth-form-element-focus-color: var(--cirth-primary-border);
806
- --cirth-form-element-disabled-opacity: .5;
807
- --cirth-form-element-invalid-border-color: #964a50;
808
- --cirth-form-element-invalid-active-border-color: #b7403b;
809
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
810
- --cirth-form-element-valid-border-color: #2a7b6f;
811
- --cirth-form-element-valid-active-border-color: #16896a;
812
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
813
- --cirth-switch-background-color: #333c4e;
814
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
815
- --cirth-switch-color: #fff;
816
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
817
- --cirth-range-border-color: #202632;
818
- --cirth-range-active-border-color: #2a3140;
819
- --cirth-range-thumb-border-color: var(--cirth-background-color);
820
- --cirth-range-thumb-color: var(--cirth-secondary-background);
821
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
822
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
823
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
824
- --cirth-accordion-close-summary-color: var(--cirth-color);
825
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
826
- --cirth-card-background-color: #181c25;
827
- --cirth-card-border-color: var(--cirth-card-background-color);
828
- --cirth-card-box-shadow: var(--cirth-box-shadow);
829
- --cirth-card-sectioning-background-color: #1a1f28;
830
- --cirth-dropdown-background-color: #181c25;
831
- --cirth-dropdown-border-color: #202632;
832
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
833
- --cirth-dropdown-color: var(--cirth-color);
834
- --cirth-dropdown-hover-background-color: #202632;
835
- --cirth-loading-spinner-opacity: .5;
836
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
837
- --cirth-progress-background-color: #202632;
838
- --cirth-progress-color: var(--cirth-primary-background);
839
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
840
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
841
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
842
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
843
- }
844
-
845
- [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
846
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
847
- }
848
-
849
- [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
850
- filter: brightness(0);
851
- }
852
-
853
- [data-theme="dark"] [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
854
- filter: brightness(0);
855
- }
856
-
857
- progress {
858
- accent-color: var(--cirth-primary);
859
- }
860
-
861
- [type="checkbox"] {
862
- accent-color: var(--cirth-primary);
863
- }
864
-
865
- [type="radio"] {
866
- accent-color: var(--cirth-primary);
867
- }
868
-
869
- [type="range"] {
870
- accent-color: var(--cirth-primary);
871
- }
872
-
873
- *, :before, :after {
874
- box-sizing: border-box;
875
- background-repeat: no-repeat;
876
- }
877
-
878
- :before, :after {
879
- -webkit-text-decoration: inherit;
880
- text-decoration: inherit;
881
- vertical-align: inherit;
882
- }
883
-
884
- :where(:root) {
885
- -webkit-tap-highlight-color: transparent;
886
- -webkit-text-size-adjust: 100%;
887
- -moz-text-size-adjust: 100%;
888
- text-size-adjust: 100%;
889
- background-color: var(--cirth-background-color);
890
- color: var(--cirth-color);
891
- font-weight: var(--cirth-font-weight);
892
- font-size: var(--cirth-font-size);
893
- line-height: var(--cirth-line-height);
894
- font-family: var(--cirth-font-family);
895
- text-underline-offset: var(--cirth-text-underline-offset);
896
- text-rendering: optimizelegibility;
897
- overflow-wrap: break-word;
898
- tab-size: 4;
899
- }
900
-
901
- :where(:host) {
902
- -webkit-tap-highlight-color: transparent;
903
- -webkit-text-size-adjust: 100%;
904
- -moz-text-size-adjust: 100%;
905
- text-size-adjust: 100%;
906
- background-color: var(--cirth-background-color);
907
- color: var(--cirth-color);
908
- font-weight: var(--cirth-font-weight);
909
- font-size: var(--cirth-font-size);
910
- line-height: var(--cirth-line-height);
911
- font-family: var(--cirth-font-family);
912
- text-underline-offset: var(--cirth-text-underline-offset);
913
- text-rendering: optimizelegibility;
914
- overflow-wrap: break-word;
915
- tab-size: 4;
916
- }
917
-
918
- body {
919
- width: 100%;
920
- margin: 0;
921
- }
922
-
923
- main {
924
- display: block;
925
- }
926
-
927
- body > header, body > main, body > footer {
928
- padding-block: var(--cirth-block-spacing-vertical);
929
- }
930
-
931
- section {
932
- margin-bottom: var(--cirth-block-spacing-vertical);
933
- }
934
-
935
- .container, .container-fluid {
936
- width: 100%;
937
- padding-right: var(--cirth-spacing);
938
- padding-left: var(--cirth-spacing);
939
- margin-left: auto;
940
- margin-right: auto;
941
- }
942
-
943
- @media (width >= 576px) {
944
- .container {
945
- max-width: 510px;
946
- padding-left: 0;
947
- padding-right: 0;
948
- }
949
- }
950
-
951
- @media (width >= 768px) {
952
- .container {
953
- max-width: 700px;
954
- }
955
- }
956
-
957
- @media (width >= 1024px) {
958
- .container {
959
- max-width: 950px;
960
- }
961
- }
962
-
963
- @media (width >= 1280px) {
964
- .container {
965
- max-width: 1200px;
966
- }
967
- }
968
-
969
- @media (width >= 1536px) {
970
- .container {
971
- max-width: 1450px;
972
- }
973
- }
974
-
975
- .grid {
976
- grid-column-gap: var(--cirth-grid-column-gap);
977
- grid-row-gap: var(--cirth-grid-row-gap);
978
- grid-template-columns: 1fr;
979
- display: grid;
980
- }
981
-
982
- @media (width >= 768px) {
983
- .grid {
984
- grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
985
- }
986
- }
987
-
988
- .grid > * {
989
- min-width: 0;
990
- }
991
-
992
- .overflow-auto {
993
- overflow: auto;
994
- }
995
-
996
- b, strong {
997
- font-weight: bolder;
998
- }
999
-
1000
- sub, sup {
1001
- vertical-align: baseline;
1002
- font-size: .75em;
1003
- line-height: 0;
1004
- position: relative;
1005
- }
1006
-
1007
- sub {
1008
- bottom: -.25em;
1009
- }
1010
-
1011
- sup {
1012
- top: -.5em;
1013
- }
1014
-
1015
- address, blockquote, dl, ol, p, pre, table, ul {
1016
- margin-top: 0;
1017
- margin-bottom: var(--cirth-typography-spacing-vertical);
1018
- color: var(--cirth-color);
1019
- font-style: normal;
1020
- font-weight: var(--cirth-font-weight);
1021
- }
1022
-
1023
- h1, h2, h3, h4, h5, h6 {
1024
- margin-top: 0;
1025
- margin-bottom: var(--cirth-typography-spacing-vertical);
1026
- color: var(--cirth-color);
1027
- font-weight: var(--cirth-font-weight);
1028
- font-size: var(--cirth-font-size);
1029
- line-height: var(--cirth-line-height);
1030
- font-family: var(--cirth-font-family);
1031
- }
1032
-
1033
- h1 {
1034
- --cirth-color: var(--cirth-h1-color);
1035
- }
1036
-
1037
- h2 {
1038
- --cirth-color: var(--cirth-h2-color);
1039
- }
1040
-
1041
- h3 {
1042
- --cirth-color: var(--cirth-h3-color);
1043
- }
1044
-
1045
- h4 {
1046
- --cirth-color: var(--cirth-h4-color);
1047
- }
1048
-
1049
- h5 {
1050
- --cirth-color: var(--cirth-h5-color);
1051
- }
1052
-
1053
- h6 {
1054
- --cirth-color: var(--cirth-h6-color);
1055
- }
1056
-
1057
- :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
1058
- margin-top: var(--cirth-typography-spacing-top);
1059
- }
1060
-
1061
- p, hgroup {
1062
- margin-bottom: var(--cirth-typography-spacing-vertical);
1063
- }
1064
-
1065
- hgroup > * {
1066
- margin-top: 0;
1067
- margin-bottom: 0;
1068
- }
1069
-
1070
- hgroup > :not(:first-child):last-child {
1071
- --cirth-color: var(--cirth-muted-color);
1072
- --cirth-font-weight: unset;
1073
- font-size: 1rem;
1074
- }
1075
-
1076
- :where(ol, ul) li {
1077
- margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
1078
- }
1079
-
1080
- :where(dl, ol, ul) :where(dl, ol, ul) {
1081
- margin: 0;
1082
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
1083
- }
1084
-
1085
- ul li {
1086
- list-style: square;
1087
- }
1088
-
1089
- mark {
1090
- background-color: var(--cirth-mark-background-color);
1091
- color: var(--cirth-mark-color);
1092
- vertical-align: baseline;
1093
- padding: .125rem .25rem;
1094
- }
1095
-
1096
- blockquote {
1097
- margin: var(--cirth-typography-spacing-vertical) 0;
1098
- padding: var(--cirth-spacing);
1099
- border-right: none;
1100
- border-left: .25rem solid var(--cirth-blockquote-border-color);
1101
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
1102
- border-inline-end: none;
1103
- display: block;
1104
- }
1105
-
1106
- blockquote footer {
1107
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
1108
- color: var(--cirth-blockquote-footer-color);
1109
- }
1110
-
1111
- abbr[title] {
1112
- cursor: help;
1113
- border-bottom: 1px dotted;
1114
- text-decoration: none;
1115
- }
1116
-
1117
- ins {
1118
- color: var(--cirth-ins-color);
1119
- text-decoration: none;
1120
- }
1121
-
1122
- del {
1123
- color: var(--cirth-del-color);
1124
- }
1125
-
1126
- ::selection {
1127
- background-color: var(--cirth-text-selection-color);
1128
- }
1129
-
1130
- [role="link"] {
1131
- --cirth-color: var(--cirth-primary);
1132
- --cirth-background-color: transparent;
1133
- --cirth-underline: var(--cirth-primary-underline);
1134
- background-color: var(--cirth-background-color);
1135
- color: var(--cirth-color);
1136
- -webkit-text-decoration: var(--cirth-text-decoration);
1137
- text-decoration: var(--cirth-text-decoration);
1138
- -webkit-text-decoration-color: var(--cirth-underline);
1139
- text-decoration-color: var(--cirth-underline);
1140
- text-underline-offset: .125em;
1141
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
1142
- outline: none;
258
+ [role="link"] {
259
+ --cirth-color: var(--cirth-primary);
260
+ --cirth-background-color: transparent;
261
+ --cirth-underline: var(--cirth-primary-underline);
262
+ background-color: var(--cirth-background-color);
263
+ color: var(--cirth-color);
264
+ -webkit-text-decoration: var(--cirth-text-decoration);
265
+ text-decoration: var(--cirth-text-decoration);
266
+ -webkit-text-decoration-color: var(--cirth-underline);
267
+ text-decoration-color: var(--cirth-underline);
268
+ text-underline-offset: .125em;
269
+ transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
270
+ outline: none;
1143
271
  }
1144
272
 
1145
273
  :where(a:not([role="button"])) {
@@ -1241,7 +369,7 @@ button, [role="button"] {
1241
369
  box-shadow: var(--cirth-box-shadow);
1242
370
  color: var(--cirth-color);
1243
371
  font-weight: var(--cirth-font-weight);
1244
- font-size: 1rem;
372
+ font-size: var(--cirth-font-size-md);
1245
373
  line-height: var(--cirth-line-height);
1246
374
  text-align: center;
1247
375
  cursor: pointer;
@@ -1264,7 +392,7 @@ button, [role="button"] {
1264
392
  box-shadow: var(--cirth-box-shadow);
1265
393
  color: var(--cirth-color);
1266
394
  font-weight: var(--cirth-font-weight);
1267
- font-size: 1rem;
395
+ font-size: var(--cirth-font-size-md);
1268
396
  line-height: var(--cirth-line-height);
1269
397
  text-align: center;
1270
398
  cursor: pointer;
@@ -1287,7 +415,7 @@ button, [role="button"] {
1287
415
  box-shadow: var(--cirth-box-shadow);
1288
416
  color: var(--cirth-color);
1289
417
  font-weight: var(--cirth-font-weight);
1290
- font-size: 1rem;
418
+ font-size: var(--cirth-font-size-md);
1291
419
  line-height: var(--cirth-line-height);
1292
420
  text-align: center;
1293
421
  cursor: pointer;
@@ -1310,7 +438,7 @@ button, [role="button"] {
1310
438
  box-shadow: var(--cirth-box-shadow);
1311
439
  color: var(--cirth-color);
1312
440
  font-weight: var(--cirth-font-weight);
1313
- font-size: 1rem;
441
+ font-size: var(--cirth-font-size-md);
1314
442
  line-height: var(--cirth-line-height);
1315
443
  text-align: center;
1316
444
  cursor: pointer;
@@ -1333,7 +461,7 @@ button, [role="button"] {
1333
461
  box-shadow: var(--cirth-box-shadow);
1334
462
  color: var(--cirth-color);
1335
463
  font-weight: var(--cirth-font-weight);
1336
- font-size: 1rem;
464
+ font-size: var(--cirth-font-size-md);
1337
465
  line-height: var(--cirth-line-height);
1338
466
  text-align: center;
1339
467
  cursor: pointer;
@@ -1422,39 +550,48 @@ button:is(:hover, :active, :focus) {
1422
550
  }
1423
551
 
1424
552
  button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="button"]:focus, [role="button"][aria-current]:not([aria-current="false"]):focus {
1425
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
553
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
554
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1426
555
  }
1427
556
 
1428
557
  [type="submit"]:focus {
1429
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
558
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
559
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1430
560
  }
1431
561
 
1432
562
  [type="submit"][aria-current]:not([aria-current="false"]):focus {
1433
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
563
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
564
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1434
565
  }
1435
566
 
1436
567
  [type="reset"]:focus {
1437
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
568
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
569
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1438
570
  }
1439
571
 
1440
572
  [type="reset"][aria-current]:not([aria-current="false"]):focus {
1441
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
573
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
574
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1442
575
  }
1443
576
 
1444
577
  [type="button"]:focus {
1445
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
578
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
579
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1446
580
  }
1447
581
 
1448
582
  [type="button"][aria-current]:not([aria-current="false"]):focus {
1449
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
583
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
584
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1450
585
  }
1451
586
 
1452
587
  [type="file"]::file-selector-button:focus {
1453
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
588
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
589
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1454
590
  }
1455
591
 
1456
592
  [type="file"]::file-selector-button:is():focus {
1457
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
593
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
594
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1458
595
  }
1459
596
 
1460
597
  [type="submit"] {
@@ -1509,27 +646,33 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1509
646
  }
1510
647
 
1511
648
  :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus {
1512
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
649
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
650
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1513
651
  }
1514
652
 
1515
653
  :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus {
1516
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
654
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
655
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1517
656
  }
1518
657
 
1519
658
  [type="reset"]:focus {
1520
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
659
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
660
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1521
661
  }
1522
662
 
1523
663
  [type="reset"][aria-current]:not([aria-current="false"]):focus {
1524
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
664
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
665
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1525
666
  }
1526
667
 
1527
668
  [type="file"]::file-selector-button:focus {
1528
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
669
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
670
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1529
671
  }
1530
672
 
1531
673
  [type="file"]::file-selector-button:is():focus {
1532
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
674
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
675
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1533
676
  }
1534
677
 
1535
678
  :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
@@ -1545,11 +688,13 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1545
688
  }
1546
689
 
1547
690
  :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus {
1548
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
691
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
692
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1549
693
  }
1550
694
 
1551
695
  :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus {
1552
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
696
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
697
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1553
698
  }
1554
699
 
1555
700
  :is(button, [type="submit"], [type="button"], [role="button"]).outline {
@@ -1607,12 +752,12 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
1607
752
  }
1608
753
 
1609
754
  :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1610
- opacity: .5;
755
+ opacity: var(--cirth-opacity-disabled);
1611
756
  pointer-events: none;
1612
757
  }
1613
758
 
1614
759
  :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1615
- opacity: .5;
760
+ opacity: var(--cirth-opacity-disabled);
1616
761
  pointer-events: none;
1617
762
  }
1618
763
 
@@ -1739,12 +884,12 @@ hr {
1739
884
  height: 0;
1740
885
  margin: var(--cirth-typography-spacing-vertical) 0;
1741
886
  border: 0;
1742
- border-top: 1px solid var(--cirth-muted-border-color);
887
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1743
888
  color: inherit;
1744
889
  }
1745
890
 
1746
891
  [hidden], template {
1747
- display: none !important;
892
+ display: none;
1748
893
  }
1749
894
 
1750
895
  canvas {
@@ -1752,7 +897,7 @@ canvas {
1752
897
  }
1753
898
 
1754
899
  input, optgroup, select, textarea {
1755
- font-size: 1rem;
900
+ font-size: var(--cirth-font-size-md);
1756
901
  line-height: var(--cirth-line-height);
1757
902
  letter-spacing: inherit;
1758
903
  margin: 0;
@@ -1836,7 +981,7 @@ textarea {
1836
981
  }
1837
982
 
1838
983
  input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1839
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
984
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1840
985
  }
1841
986
 
1842
987
  fieldset {
@@ -1912,11 +1057,13 @@ input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"],
1912
1057
  }
1913
1058
 
1914
1059
  input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1915
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1060
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1061
+ var(--cirth-form-element-focus-color);
1916
1062
  }
1917
1063
 
1918
1064
  :where(select, textarea):not([readonly]):focus {
1919
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1065
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1066
+ var(--cirth-form-element-focus-color);
1920
1067
  }
1921
1068
 
1922
1069
  select[disabled], textarea[disabled], label[aria-disabled="true"] {
@@ -1939,13 +1086,13 @@ label[aria-disabled="true"] input[disabled] {
1939
1086
  }
1940
1087
 
1941
1088
  :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] {
1089
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1942
1090
  padding-left: var(--cirth-form-element-spacing-horizontal);
1943
- background-position: right .75rem center;
1091
+ background-position: center right var(--cirth-space-3);
1092
+ background-size: var(--cirth-size-4) auto;
1944
1093
  background-repeat: no-repeat;
1945
- background-size: 1rem;
1946
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1947
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1948
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1094
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1095
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1949
1096
  }
1950
1097
 
1951
1098
  :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) {
@@ -1961,11 +1108,12 @@ label[aria-disabled="true"] input[disabled] {
1961
1108
  }
1962
1109
 
1963
1110
  :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1964
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
1111
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1965
1112
  }
1966
1113
 
1967
1114
  :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1968
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
1115
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1116
+ var(--cirth-form-element-valid-focus-color);
1969
1117
  }
1970
1118
 
1971
1119
  :where(input, select, textarea)[aria-invalid="true"] {
@@ -1973,15 +1121,16 @@ label[aria-disabled="true"] input[disabled] {
1973
1121
  }
1974
1122
 
1975
1123
  :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1976
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
1124
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1977
1125
  }
1978
1126
 
1979
1127
  :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1980
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
1128
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1129
+ var(--cirth-form-element-invalid-focus-color);
1981
1130
  }
1982
1131
 
1983
1132
  [dir="rtl"] :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1984
- background-position: .75rem;
1133
+ background-position: center left var(--cirth-space-3);
1985
1134
  }
1986
1135
 
1987
1136
  select:invalid {
@@ -2023,14 +1172,14 @@ select::-ms-expand {
2023
1172
  }
2024
1173
 
2025
1174
  select:not(:is([multiple], [size])) {
2026
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1175
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2027
1176
  padding-left: var(--cirth-form-element-spacing-horizontal);
2028
1177
  background-image: var(--cirth-icon-chevron);
2029
- background-position: right .75rem center;
1178
+ background-position: center right var(--cirth-space-3);
1179
+ background-size: var(--cirth-size-4) auto;
2030
1180
  background-repeat: no-repeat;
2031
- background-size: 1rem;
2032
1181
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
2033
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1182
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
2034
1183
  }
2035
1184
 
2036
1185
  select[multiple] option:checked {
@@ -2039,7 +1188,7 @@ select[multiple] option:checked {
2039
1188
  }
2040
1189
 
2041
1190
  [dir="rtl"] select:not(:is([multiple], [size])) {
2042
- background-position: .75rem;
1191
+ background-position: center left var(--cirth-space-3);
2043
1192
  }
2044
1193
 
2045
1194
  textarea {
@@ -2048,9 +1197,11 @@ textarea {
2048
1197
  }
2049
1198
 
2050
1199
  textarea[aria-invalid] {
2051
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2052
- background-position: right .75rem top !important;
2053
- background-size: 1rem var(--cirth-icon-height) !important;
1200
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
1201
+ var(--cirth-form-element-spacing-vertical) * 2 +
1202
+ var(--cirth-border-width) * 2);
1203
+ background-position: top right var(--cirth-space-3);
1204
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
2054
1205
  }
2055
1206
 
2056
1207
  :where(input, select, textarea, fieldset, .grid) + small {
@@ -2234,8 +1385,8 @@ label:has([type="checkbox"], [type="radio"]) {
2234
1385
  height: 100%;
2235
1386
  box-shadow: var(--cirth-switch-thumb-box-shadow);
2236
1387
  content: "";
1388
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
2237
1389
  border-radius: 50%;
2238
- transition: margin .1s ease-in-out;
2239
1390
  display: block;
2240
1391
  }
2241
1392
 
@@ -2397,8 +1548,8 @@ label:has([type="checkbox"], [type="radio"]) {
2397
1548
  }
2398
1549
 
2399
1550
  input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2400
- --cirth-icon-position: .75rem;
2401
- --cirth-icon-width: 1rem;
1551
+ --cirth-icon-position: var(--cirth-space-3);
1552
+ --cirth-icon-width: var(--cirth-size-4);
2402
1553
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2403
1554
  background-image: var(--cirth-icon-date);
2404
1555
  background-position: center right var(--cirth-icon-position);
@@ -2447,28 +1598,28 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2447
1598
 
2448
1599
  @-moz-document url-prefix() {
2449
1600
  [type="date"] {
2450
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2451
- background-image: none !important;
1601
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1602
+ background-image: none;
2452
1603
  }
2453
1604
 
2454
1605
  [type="datetime-local"] {
2455
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2456
- background-image: none !important;
1606
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1607
+ background-image: none;
2457
1608
  }
2458
1609
 
2459
1610
  [type="month"] {
2460
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2461
- background-image: none !important;
1611
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1612
+ background-image: none;
2462
1613
  }
2463
1614
 
2464
1615
  [type="time"] {
2465
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2466
- background-image: none !important;
1616
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1617
+ background-image: none;
2467
1618
  }
2468
1619
 
2469
1620
  [type="week"] {
2470
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2471
- background-image: none !important;
1621
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1622
+ background-image: none;
2472
1623
  }
2473
1624
  }
2474
1625
 
@@ -2497,7 +1648,8 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2497
1648
  }
2498
1649
 
2499
1650
  [type="file"]:focus::file-selector-button {
2500
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1651
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
1652
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
2501
1653
  }
2502
1654
 
2503
1655
  [type="range"] {
@@ -2533,7 +1685,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2533
1685
 
2534
1686
  [type="range"]::-webkit-slider-thumb {
2535
1687
  -webkit-appearance: none;
2536
- border: 2px solid var(--cirth-range-thumb-border-color);
1688
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2537
1689
  background-color: var(--cirth-range-thumb-color);
2538
1690
  cursor: pointer;
2539
1691
  width: 1.25rem;
@@ -2545,7 +1697,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2545
1697
 
2546
1698
  [type="range"]::-moz-range-thumb {
2547
1699
  -webkit-appearance: none;
2548
- border: 2px solid var(--cirth-range-thumb-border-color);
1700
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2549
1701
  background-color: var(--cirth-range-thumb-color);
2550
1702
  cursor: pointer;
2551
1703
  width: 1.25rem;
@@ -2557,7 +1709,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2557
1709
 
2558
1710
  [type="range"]::-ms-thumb {
2559
1711
  -webkit-appearance: none;
2560
- border: 2px solid var(--cirth-range-thumb-border-color);
1712
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2561
1713
  background-color: var(--cirth-range-thumb-color);
2562
1714
  cursor: pointer;
2563
1715
  width: 1.25rem;
@@ -2599,7 +1751,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
2599
1751
 
2600
1752
  input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2601
1753
  background-position: 1.125rem, right .75rem center;
2602
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1754
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
2603
1755
  }
2604
1756
 
2605
1757
  input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
@@ -2624,9 +1776,9 @@ details {
2624
1776
  }
2625
1777
 
2626
1778
  details summary {
1779
+ line-height: var(--cirth-size-4);
2627
1780
  cursor: pointer;
2628
1781
  transition: color var(--cirth-transition);
2629
- line-height: 1rem;
2630
1782
  list-style-type: none;
2631
1783
  }
2632
1784
 
@@ -2647,16 +1799,16 @@ details summary::-moz-list-bullet {
2647
1799
  }
2648
1800
 
2649
1801
  details summary:after {
2650
- width: 1rem;
2651
- height: 1rem;
1802
+ width: var(--cirth-size-4);
1803
+ height: var(--cirth-size-4);
2652
1804
  float: right;
2653
1805
  background-image: var(--cirth-icon-chevron);
1806
+ background-position: 100%;
1807
+ background-size: var(--cirth-size-4) auto;
2654
1808
  content: "";
2655
1809
  transition: transform var(--cirth-transition);
2656
- background-position: 100%;
2657
1810
  background-repeat: no-repeat;
2658
- background-size: 1rem;
2659
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1811
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2660
1812
  display: block;
2661
1813
  transform: rotate(-90deg);
2662
1814
  }
@@ -2671,7 +1823,7 @@ details summary:focus:not([role]) {
2671
1823
 
2672
1824
  details summary:focus-visible:not([role]) {
2673
1825
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2674
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1826
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2675
1827
  color: var(--cirth-primary);
2676
1828
  }
2677
1829
 
@@ -2681,7 +1833,7 @@ details summary[role="button"] {
2681
1833
  }
2682
1834
 
2683
1835
  details summary[role="button"]:after {
2684
- height: calc(1rem * var(--cirth-line-height, 1.5));
1836
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2685
1837
  }
2686
1838
 
2687
1839
  details[open] > summary {
@@ -2742,1006 +1894,2138 @@ details.dropdown {
2742
1894
  }
2743
1895
 
2744
1896
  details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
2745
- width: 1rem;
2746
- height: calc(1rem * var(--cirth-line-height, 1.5));
1897
+ width: var(--cirth-size-4);
1898
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2747
1899
  float: right;
2748
1900
  background-image: var(--cirth-icon-chevron);
2749
- content: "";
2750
1901
  background-position: 100%;
1902
+ background-size: var(--cirth-size-4) auto;
1903
+ content: "";
2751
1904
  background-repeat: no-repeat;
2752
- background-size: 1rem;
2753
- margin-inline-start: .25rem;
1905
+ margin-inline-start: var(--cirth-space-1);
2754
1906
  display: block;
2755
1907
  transform: rotate(0) translateX(.2rem);
2756
1908
  }
2757
1909
 
2758
- nav details.dropdown {
2759
- margin-bottom: 0;
1910
+ nav details.dropdown {
1911
+ margin-bottom: 0;
1912
+ }
1913
+
1914
+ details.dropdown > summary:not([role]) {
1915
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1916
+ padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1917
+ border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1918
+ border-radius: var(--cirth-border-radius);
1919
+ background-color: var(--cirth-form-element-background-color);
1920
+ color: var(--cirth-form-element-placeholder-color);
1921
+ line-height: inherit;
1922
+ cursor: pointer;
1923
+ -webkit-user-select: none;
1924
+ user-select: none;
1925
+ transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
1926
+ }
1927
+
1928
+ details.dropdown > summary:not([role]):active, details.dropdown > summary:not([role]):focus {
1929
+ border-color: var(--cirth-form-element-active-border-color);
1930
+ background-color: var(--cirth-form-element-active-background-color);
1931
+ }
1932
+
1933
+ details.dropdown > summary:not([role]):focus {
1934
+ box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1935
+ }
1936
+
1937
+ details.dropdown > summary:not([role]):focus-visible {
1938
+ outline: none;
1939
+ }
1940
+
1941
+ details.dropdown > summary:not([role])[aria-invalid="false"] {
1942
+ --cirth-form-element-border-color: var(--cirth-form-element-valid-border-color);
1943
+ --cirth-form-element-active-border-color: var(--cirth-form-element-valid-focus-color);
1944
+ --cirth-form-element-focus-color: var(--cirth-form-element-valid-focus-color);
1945
+ }
1946
+
1947
+ details.dropdown > summary:not([role])[aria-invalid="true"] {
1948
+ --cirth-form-element-border-color: var(--cirth-form-element-invalid-border-color);
1949
+ --cirth-form-element-active-border-color: var(--cirth-form-element-invalid-focus-color);
1950
+ --cirth-form-element-focus-color: var(--cirth-form-element-invalid-focus-color);
1951
+ }
1952
+
1953
+ nav details.dropdown {
1954
+ margin: calc(var(--cirth-nav-element-spacing-vertical) * -1) 0;
1955
+ display: inline;
1956
+ }
1957
+
1958
+ nav details.dropdown > summary:after {
1959
+ transform: rotate(0) translateX(0);
1960
+ }
1961
+
1962
+ nav details.dropdown > summary:not([role]) {
1963
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1964
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1965
+ }
1966
+
1967
+ nav details.dropdown > summary:not([role]):focus-visible {
1968
+ box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1969
+ }
1970
+
1971
+ details.dropdown > summary + ul {
1972
+ z-index: var(--cirth-z-index-dropdown);
1973
+ width: 100%;
1974
+ min-width: fit-content;
1975
+ margin: 0;
1976
+ margin-top: var(--cirth-outline-width);
1977
+ border: var(--cirth-border-width) solid var(--cirth-dropdown-border-color);
1978
+ border-radius: var(--cirth-border-radius);
1979
+ background-color: var(--cirth-dropdown-background-color);
1980
+ box-shadow: var(--cirth-dropdown-box-shadow);
1981
+ color: var(--cirth-dropdown-color);
1982
+ white-space: nowrap;
1983
+ opacity: 0;
1984
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) 1s;
1985
+ flex-direction: column;
1986
+ padding: 0;
1987
+ display: flex;
1988
+ position: absolute;
1989
+ left: 0;
1990
+ }
1991
+
1992
+ details.dropdown > summary + ul[dir="rtl"] {
1993
+ left: auto;
1994
+ right: 0;
1995
+ }
1996
+
1997
+ details.dropdown > summary + ul li {
1998
+ width: 100%;
1999
+ padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
2000
+ margin-bottom: 0;
2001
+ list-style: none;
2002
+ }
2003
+
2004
+ details.dropdown > summary + ul li:first-of-type {
2005
+ margin-top: calc(var(--cirth-form-element-spacing-vertical) * .5);
2006
+ }
2007
+
2008
+ details.dropdown > summary + ul li:last-of-type {
2009
+ margin-bottom: calc(var(--cirth-form-element-spacing-vertical) * .5);
2010
+ }
2011
+
2012
+ details.dropdown > summary + ul li a {
2013
+ margin: calc(var(--cirth-form-element-spacing-vertical) * -.5) calc(var(--cirth-form-element-spacing-horizontal) * -1);
2014
+ padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
2015
+ color: var(--cirth-dropdown-color);
2016
+ text-overflow: ellipsis;
2017
+ border-radius: 0;
2018
+ text-decoration: none;
2019
+ display: block;
2020
+ overflow: hidden;
2021
+ }
2022
+
2023
+ details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2024
+ background-color: var(--cirth-dropdown-hover-background-color);
2025
+ }
2026
+
2027
+ details.dropdown > summary + ul li a:focus-visible {
2028
+ background-color: var(--cirth-dropdown-hover-background-color);
2029
+ }
2030
+
2031
+ details.dropdown > summary + ul li label {
2032
+ width: 100%;
2033
+ }
2034
+
2035
+ details.dropdown > summary + ul li:has(label):hover {
2036
+ background-color: var(--cirth-dropdown-hover-background-color);
2037
+ }
2038
+
2039
+ details.dropdown[open] > summary {
2040
+ margin-bottom: 0;
2041
+ }
2042
+
2043
+ details.dropdown[open] > summary + ul {
2044
+ opacity: 1;
2045
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) var(--cirth-duration-instant);
2046
+ transform: scaleY(1);
2047
+ }
2048
+
2049
+ details.dropdown[open] > summary:before {
2050
+ z-index: 1;
2051
+ content: "";
2052
+ cursor: default;
2053
+ background: none;
2054
+ width: 100vw;
2055
+ height: 100vh;
2056
+ display: block;
2057
+ position: fixed;
2058
+ inset: 0;
2059
+ }
2060
+
2061
+ label > details.dropdown {
2062
+ margin-top: calc(var(--cirth-spacing) * .25);
2063
+ }
2064
+
2065
+ [role="search"], [role="group"] {
2066
+ width: 100%;
2067
+ margin-bottom: var(--cirth-spacing);
2068
+ border-radius: var(--cirth-border-radius);
2069
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
2070
+ vertical-align: middle;
2071
+ transition: box-shadow var(--cirth-transition);
2072
+ display: inline-flex;
2073
+ position: relative;
2074
+ }
2075
+
2076
+ [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
2077
+ flex: auto;
2078
+ margin-bottom: 0;
2079
+ position: relative;
2080
+ }
2081
+
2082
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
2083
+ flex: auto;
2084
+ margin-bottom: 0;
2085
+ position: relative;
2086
+ }
2087
+
2088
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
2089
+ flex: auto;
2090
+ margin-bottom: 0;
2091
+ position: relative;
2092
+ }
2093
+
2094
+ [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
2095
+ border-top-left-radius: 0;
2096
+ border-bottom-left-radius: 0;
2097
+ margin-left: 0;
2098
+ }
2099
+
2100
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2101
+ border-top-left-radius: 0;
2102
+ border-bottom-left-radius: 0;
2103
+ margin-left: 0;
2104
+ }
2105
+
2106
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2107
+ border-top-left-radius: 0;
2108
+ border-bottom-left-radius: 0;
2109
+ margin-left: 0;
2110
+ }
2111
+
2112
+ [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
2113
+ border-top-right-radius: 0;
2114
+ border-bottom-right-radius: 0;
2115
+ }
2116
+
2117
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2118
+ border-top-right-radius: 0;
2119
+ border-bottom-right-radius: 0;
2120
+ }
2121
+
2122
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2123
+ border-top-right-radius: 0;
2124
+ border-bottom-right-radius: 0;
2125
+ }
2126
+
2127
+ [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
2128
+ z-index: 2;
2129
+ }
2130
+
2131
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2132
+ z-index: 2;
2133
+ }
2134
+
2135
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2136
+ z-index: 2;
2137
+ }
2138
+
2139
+ [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) {
2140
+ margin-left: calc(var(--cirth-border-width) * -1);
2141
+ }
2142
+
2143
+ [role="search"] [type="submit"]:not(:first-child) {
2144
+ margin-left: calc(var(--cirth-border-width) * -1);
2145
+ }
2146
+
2147
+ [role="search"] [type="reset"]:not(:first-child) {
2148
+ margin-left: calc(var(--cirth-border-width) * -1);
2149
+ }
2150
+
2151
+ [role="search"] [type="button"]:not(:first-child) {
2152
+ margin-left: calc(var(--cirth-border-width) * -1);
2153
+ }
2154
+
2155
+ [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2156
+ margin-left: calc(var(--cirth-border-width) * -1);
2157
+ }
2158
+
2159
+ [role="group"] [type="submit"]:not(:first-child) {
2160
+ margin-left: calc(var(--cirth-border-width) * -1);
2760
2161
  }
2761
2162
 
2762
- details.dropdown > summary:not([role]) {
2763
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2764
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
2765
- border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
2766
- border-radius: var(--cirth-border-radius);
2767
- background-color: var(--cirth-form-element-background-color);
2768
- color: var(--cirth-form-element-placeholder-color);
2769
- line-height: inherit;
2770
- cursor: pointer;
2771
- -webkit-user-select: none;
2772
- user-select: none;
2773
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
2163
+ [role="group"] [type="reset"]:not(:first-child) {
2164
+ margin-left: calc(var(--cirth-border-width) * -1);
2774
2165
  }
2775
2166
 
2776
- details.dropdown > summary:not([role]):active, details.dropdown > summary:not([role]):focus {
2777
- border-color: var(--cirth-form-element-active-border-color);
2778
- background-color: var(--cirth-form-element-active-background-color);
2167
+ [role="group"] [type="button"]:not(:first-child) {
2168
+ margin-left: calc(var(--cirth-border-width) * -1);
2779
2169
  }
2780
2170
 
2781
- details.dropdown > summary:not([role]):focus {
2782
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
2171
+ [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2172
+ margin-left: calc(var(--cirth-border-width) * -1);
2783
2173
  }
2784
2174
 
2785
- details.dropdown > summary:not([role]):focus-visible {
2786
- outline: none;
2175
+ [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
2176
+ width: auto;
2787
2177
  }
2788
2178
 
2789
- details.dropdown > summary:not([role])[aria-invalid="false"] {
2790
- --cirth-form-element-border-color: var(--cirth-form-element-valid-border-color);
2791
- --cirth-form-element-active-border-color: var(--cirth-form-element-valid-focus-color);
2792
- --cirth-form-element-focus-color: var(--cirth-form-element-valid-focus-color);
2179
+ [role="search"] [type="submit"] {
2180
+ width: auto;
2793
2181
  }
2794
2182
 
2795
- details.dropdown > summary:not([role])[aria-invalid="true"] {
2796
- --cirth-form-element-border-color: var(--cirth-form-element-invalid-border-color);
2797
- --cirth-form-element-active-border-color: var(--cirth-form-element-invalid-focus-color);
2798
- --cirth-form-element-focus-color: var(--cirth-form-element-invalid-focus-color);
2183
+ [role="search"] [type="reset"] {
2184
+ width: auto;
2799
2185
  }
2800
2186
 
2801
- nav details.dropdown {
2802
- margin: calc(var(--cirth-nav-element-spacing-vertical) * -1) 0;
2803
- display: inline;
2187
+ [role="search"] [type="button"] {
2188
+ width: auto;
2804
2189
  }
2805
2190
 
2806
- nav details.dropdown > summary:after {
2807
- transform: rotate(0) translateX(0);
2191
+ [role="group"] [type="submit"] {
2192
+ width: auto;
2808
2193
  }
2809
2194
 
2810
- nav details.dropdown > summary:not([role]) {
2811
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
2812
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2195
+ [role="group"] [type="reset"] {
2196
+ width: auto;
2813
2197
  }
2814
2198
 
2815
- nav details.dropdown > summary:not([role]):focus-visible {
2816
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
2199
+ [role="group"] [type="button"] {
2200
+ width: auto;
2817
2201
  }
2818
2202
 
2819
- details.dropdown > summary + ul {
2820
- z-index: 99;
2821
- width: 100%;
2822
- min-width: fit-content;
2823
- margin: 0;
2824
- margin-top: var(--cirth-outline-width);
2825
- border: var(--cirth-border-width) solid var(--cirth-dropdown-border-color);
2826
- border-radius: var(--cirth-border-radius);
2827
- background-color: var(--cirth-dropdown-background-color);
2828
- box-shadow: var(--cirth-dropdown-box-shadow);
2829
- color: var(--cirth-dropdown-color);
2830
- white-space: nowrap;
2831
- opacity: 0;
2832
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 1s;
2833
- flex-direction: column;
2834
- padding: 0;
2835
- display: flex;
2836
- position: absolute;
2837
- left: 0;
2203
+ @supports selector(:has(*)) {
2204
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2205
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2206
+ }
2207
+
2208
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2209
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2210
+ }
2211
+
2212
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2213
+ border-color: rgba(0, 0, 0, 0);
2214
+ }
2215
+
2216
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2217
+ border-color: rgba(0, 0, 0, 0);
2218
+ }
2219
+
2220
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2221
+ border-color: rgba(0, 0, 0, 0);
2222
+ }
2223
+
2224
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2225
+ border-color: rgba(0, 0, 0, 0);
2226
+ }
2227
+
2228
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2229
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2230
+ }
2231
+
2232
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2233
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2234
+ }
2235
+
2236
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2237
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2238
+ var(--cirth-primary-border);
2239
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2240
+ var(--cirth-primary-hover-border);
2241
+ }
2242
+
2243
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2244
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2245
+ var(--cirth-primary-border);
2246
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2247
+ var(--cirth-primary-hover-border);
2248
+ }
2249
+
2250
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2251
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2252
+ var(--cirth-primary-border);
2253
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2254
+ var(--cirth-primary-hover-border);
2255
+ }
2256
+
2257
+ [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2258
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2259
+ var(--cirth-primary-border);
2260
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2261
+ var(--cirth-primary-hover-border);
2262
+ }
2263
+
2264
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2265
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2266
+ var(--cirth-primary-border);
2267
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2268
+ var(--cirth-primary-hover-border);
2269
+ }
2270
+
2271
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2272
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2273
+ var(--cirth-primary-border);
2274
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2275
+ var(--cirth-primary-hover-border);
2276
+ }
2277
+
2278
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2279
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2280
+ var(--cirth-primary-border);
2281
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2282
+ var(--cirth-primary-hover-border);
2283
+ }
2284
+
2285
+ [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2286
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2287
+ var(--cirth-primary-border);
2288
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2289
+ var(--cirth-primary-hover-border);
2290
+ }
2291
+
2292
+ [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
2293
+ box-shadow: none;
2294
+ }
2295
+
2296
+ [role="search"] [type="submit"]:focus {
2297
+ box-shadow: none;
2298
+ }
2299
+
2300
+ [role="search"] [type="reset"]:focus {
2301
+ box-shadow: none;
2302
+ }
2303
+
2304
+ [role="search"] [type="button"]:focus {
2305
+ box-shadow: none;
2306
+ }
2307
+
2308
+ [role="group"] [type="submit"]:focus {
2309
+ box-shadow: none;
2310
+ }
2311
+
2312
+ [role="group"] [type="reset"]:focus {
2313
+ box-shadow: none;
2314
+ }
2315
+
2316
+ [role="group"] [type="button"]:focus {
2317
+ box-shadow: none;
2318
+ }
2838
2319
  }
2839
2320
 
2840
- details.dropdown > summary + ul[dir="rtl"] {
2841
- left: auto;
2842
- right: 0;
2321
+ [role="search"] > :first-child {
2322
+ border-top-left-radius: var(--cirth-radius-pill);
2323
+ border-bottom-left-radius: var(--cirth-radius-pill);
2843
2324
  }
2844
2325
 
2845
- details.dropdown > summary + ul li {
2846
- width: 100%;
2847
- padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
2848
- margin-bottom: 0;
2849
- list-style: none;
2326
+ [role="search"] > :last-child {
2327
+ border-top-right-radius: var(--cirth-radius-pill);
2328
+ border-bottom-right-radius: var(--cirth-radius-pill);
2850
2329
  }
2851
2330
 
2852
- details.dropdown > summary + ul li:first-of-type {
2853
- margin-top: calc(var(--cirth-form-element-spacing-vertical) * .5);
2331
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
2332
+ white-space: nowrap;
2854
2333
  }
2855
2334
 
2856
- details.dropdown > summary + ul li:last-of-type {
2857
- margin-bottom: calc(var(--cirth-form-element-spacing-vertical) * .5);
2335
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
2336
+ background-image: var(--cirth-icon-loading);
2337
+ content: "";
2338
+ vertical-align: -.125em;
2339
+ background-repeat: no-repeat;
2340
+ background-size: 1em;
2341
+ width: 1em;
2342
+ height: 1em;
2343
+ display: inline-block;
2858
2344
  }
2859
2345
 
2860
- details.dropdown > summary + ul li a {
2861
- margin: calc(var(--cirth-form-element-spacing-vertical) * -.5) calc(var(--cirth-form-element-spacing-horizontal) * -1);
2862
- padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
2863
- color: var(--cirth-dropdown-color);
2864
- text-overflow: ellipsis;
2865
- border-radius: 0;
2866
- text-decoration: none;
2867
- display: block;
2868
- overflow: hidden;
2346
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
2347
+ margin-inline-end: calc(var(--cirth-spacing) * .5);
2869
2348
  }
2870
2349
 
2871
- details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
2872
- background-color: var(--cirth-dropdown-hover-background-color);
2350
+ [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
2351
+ text-align: center;
2873
2352
  }
2874
2353
 
2875
- details.dropdown > summary + ul li a:focus-visible {
2876
- background-color: var(--cirth-dropdown-hover-background-color);
2354
+ button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2355
+ pointer-events: none;
2877
2356
  }
2878
2357
 
2879
- details.dropdown > summary + ul li label {
2880
- width: 100%;
2358
+ [type="submit"][aria-busy="true"] {
2359
+ pointer-events: none;
2881
2360
  }
2882
2361
 
2883
- details.dropdown > summary + ul li:has(label):hover {
2884
- background-color: var(--cirth-dropdown-hover-background-color);
2362
+ [type="button"][aria-busy="true"] {
2363
+ pointer-events: none;
2885
2364
  }
2886
2365
 
2887
- details.dropdown[open] > summary {
2888
- margin-bottom: 0;
2366
+ [type="reset"][aria-busy="true"] {
2367
+ pointer-events: none;
2889
2368
  }
2890
2369
 
2891
- details.dropdown[open] > summary + ul {
2892
- opacity: 1;
2893
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 0s;
2894
- transform: scaleY(1);
2370
+ :root {
2371
+ --cirth-scrollbar-width: 0px;
2895
2372
  }
2896
2373
 
2897
- details.dropdown[open] > summary:before {
2898
- z-index: 1;
2899
- content: "";
2900
- cursor: default;
2901
- background: none;
2902
- width: 100vw;
2903
- height: 100vh;
2904
- display: block;
2374
+ :host {
2375
+ --cirth-scrollbar-width: 0px;
2376
+ }
2377
+
2378
+ dialog {
2379
+ z-index: var(--cirth-z-index-modal);
2380
+ width: inherit;
2381
+ min-width: 100%;
2382
+ height: inherit;
2383
+ min-height: 100%;
2384
+ -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2385
+ backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2386
+ background-color: var(--cirth-modal-overlay-background-color);
2387
+ color: var(--cirth-color);
2388
+ border: 0;
2389
+ justify-content: center;
2390
+ align-items: center;
2391
+ padding: 0;
2392
+ display: flex;
2905
2393
  position: fixed;
2906
2394
  inset: 0;
2907
2395
  }
2908
2396
 
2909
- label > details.dropdown {
2910
- margin-top: calc(var(--cirth-spacing) * .25);
2397
+ dialog > article {
2398
+ width: 100%;
2399
+ max-height: calc(100vh - var(--cirth-spacing) * 2);
2400
+ margin: var(--cirth-spacing);
2401
+ overflow: auto;
2402
+ }
2403
+
2404
+ @media (width >= 576px) {
2405
+ dialog > article {
2406
+ max-width: 510px;
2407
+ }
2911
2408
  }
2912
2409
 
2913
- [role="search"], [role="group"] {
2914
- width: 100%;
2915
- margin-bottom: var(--cirth-spacing);
2916
- border-radius: var(--cirth-border-radius);
2917
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
2918
- vertical-align: middle;
2919
- transition: box-shadow var(--cirth-transition);
2920
- display: inline-flex;
2921
- position: relative;
2410
+ @media (width >= 768px) {
2411
+ dialog > article {
2412
+ max-width: 700px;
2413
+ }
2922
2414
  }
2923
2415
 
2924
- [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
2925
- flex: auto;
2416
+ dialog > article > header > * {
2926
2417
  margin-bottom: 0;
2927
- position: relative;
2928
2418
  }
2929
2419
 
2930
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
2931
- flex: auto;
2932
- margin-bottom: 0;
2933
- position: relative;
2420
+ dialog > article > header .close {
2421
+ margin: 0;
2422
+ margin-left: var(--cirth-spacing);
2423
+ float: right;
2424
+ padding: 0;
2934
2425
  }
2935
2426
 
2936
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
2937
- flex: auto;
2938
- margin-bottom: 0;
2939
- position: relative;
2427
+ dialog > article > header :is(a, button)[rel="prev"] {
2428
+ margin: 0;
2429
+ margin-left: var(--cirth-spacing);
2430
+ float: right;
2431
+ padding: 0;
2940
2432
  }
2941
2433
 
2942
- [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
2943
- border-top-left-radius: 0;
2944
- border-bottom-left-radius: 0;
2945
- margin-left: 0;
2434
+ dialog > article > footer {
2435
+ text-align: right;
2946
2436
  }
2947
2437
 
2948
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2949
- border-top-left-radius: 0;
2950
- border-bottom-left-radius: 0;
2951
- margin-left: 0;
2438
+ dialog > article > footer button, dialog > article > footer [role="button"] {
2439
+ margin-bottom: 0;
2952
2440
  }
2953
2441
 
2954
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2955
- border-top-left-radius: 0;
2956
- border-bottom-left-radius: 0;
2957
- margin-left: 0;
2442
+ dialog > article > footer button:not(:first-of-type), dialog > article > footer [role="button"]:not(:first-of-type) {
2443
+ margin-left: calc(var(--cirth-spacing) * .5);
2958
2444
  }
2959
2445
 
2960
- [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
2961
- border-top-right-radius: 0;
2962
- border-bottom-right-radius: 0;
2446
+ dialog > article .close {
2447
+ width: var(--cirth-size-4);
2448
+ height: var(--cirth-size-4);
2449
+ margin-top: calc(var(--cirth-spacing) * -1);
2450
+ margin-bottom: var(--cirth-spacing);
2451
+ background-image: var(--cirth-icon-close);
2452
+ background-position: center;
2453
+ background-size: auto var(--cirth-size-4);
2454
+ opacity: .5;
2455
+ transition: opacity var(--cirth-transition);
2456
+ background-color: rgba(0, 0, 0, 0);
2457
+ background-repeat: no-repeat;
2458
+ border: none;
2459
+ margin-left: auto;
2460
+ display: block;
2963
2461
  }
2964
2462
 
2965
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2966
- border-top-right-radius: 0;
2967
- border-bottom-right-radius: 0;
2463
+ dialog > article :is(a, button)[rel="prev"] {
2464
+ width: var(--cirth-size-4);
2465
+ height: var(--cirth-size-4);
2466
+ margin-top: calc(var(--cirth-spacing) * -1);
2467
+ margin-bottom: var(--cirth-spacing);
2468
+ background-image: var(--cirth-icon-close);
2469
+ background-position: center;
2470
+ background-size: auto var(--cirth-size-4);
2471
+ opacity: .5;
2472
+ transition: opacity var(--cirth-transition);
2473
+ background-color: rgba(0, 0, 0, 0);
2474
+ background-repeat: no-repeat;
2475
+ border: none;
2476
+ margin-left: auto;
2477
+ display: block;
2968
2478
  }
2969
2479
 
2970
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
2971
- border-top-right-radius: 0;
2972
- border-bottom-right-radius: 0;
2480
+ dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2481
+ opacity: 1;
2973
2482
  }
2974
2483
 
2975
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
2976
- z-index: 2;
2484
+ dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2485
+ opacity: 1;
2977
2486
  }
2978
2487
 
2979
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2980
- z-index: 2;
2488
+ dialog:not([open]), dialog[open="false"] {
2489
+ display: none;
2981
2490
  }
2982
2491
 
2983
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2984
- z-index: 2;
2492
+ .modal-is-open {
2493
+ padding-right: var(--cirth-scrollbar-width, 0px);
2494
+ pointer-events: none;
2495
+ touch-action: none;
2496
+ overflow: hidden;
2985
2497
  }
2986
2498
 
2987
- [role="search"] button:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] select:not(:first-child) {
2988
- margin-left: calc(var(--cirth-border-width) * -1);
2499
+ .modal-is-open dialog {
2500
+ pointer-events: auto;
2501
+ touch-action: auto;
2989
2502
  }
2990
2503
 
2991
- [role="search"] [type="submit"]:not(:first-child) {
2992
- margin-left: calc(var(--cirth-border-width) * -1);
2504
+ :where(.modal-is-opening, .modal-is-closing) dialog {
2505
+ animation-duration: var(--cirth-duration-normal);
2506
+ animation-timing-function: var(--cirth-ease-in-out);
2507
+ animation-fill-mode: both;
2993
2508
  }
2994
2509
 
2995
- [role="search"] [type="reset"]:not(:first-child) {
2996
- margin-left: calc(var(--cirth-border-width) * -1);
2510
+ :where(.modal-is-opening, .modal-is-closing) dialog > article {
2511
+ animation-duration: var(--cirth-duration-normal);
2512
+ animation-timing-function: var(--cirth-ease-in-out);
2513
+ animation-fill-mode: both;
2997
2514
  }
2998
2515
 
2999
- [role="search"] [type="button"]:not(:first-child) {
3000
- margin-left: calc(var(--cirth-border-width) * -1);
2516
+ :where(.modal-is-opening, .modal-is-closing) dialog {
2517
+ animation-duration: calc(var(--cirth-duration-normal) * 4);
2518
+ animation-name: modal-overlay;
3001
2519
  }
3002
2520
 
3003
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
3004
- margin-left: calc(var(--cirth-border-width) * -1);
2521
+ :where(.modal-is-opening, .modal-is-closing) dialog > article {
2522
+ animation-delay: var(--cirth-duration-normal);
2523
+ animation-name: modal;
3005
2524
  }
3006
2525
 
3007
- [role="group"] [type="submit"]:not(:first-child) {
3008
- margin-left: calc(var(--cirth-border-width) * -1);
2526
+ .modal-is-closing dialog, .modal-is-closing dialog > article {
2527
+ animation-delay: var(--cirth-duration-instant);
2528
+ animation-direction: reverse;
3009
2529
  }
3010
2530
 
3011
- [role="group"] [type="reset"]:not(:first-child) {
3012
- margin-left: calc(var(--cirth-border-width) * -1);
2531
+ @keyframes modal-overlay {
2532
+ from {
2533
+ -webkit-backdrop-filter: none;
2534
+ backdrop-filter: none;
2535
+ background-color: rgba(0, 0, 0, 0);
2536
+ }
3013
2537
  }
3014
2538
 
3015
- [role="group"] [type="button"]:not(:first-child) {
3016
- margin-left: calc(var(--cirth-border-width) * -1);
2539
+ @keyframes modal {
2540
+ from {
2541
+ opacity: 0;
2542
+ transform: translateY(-100%);
2543
+ }
3017
2544
  }
3018
2545
 
3019
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
3020
- margin-left: calc(var(--cirth-border-width) * -1);
2546
+ :where(nav li):before {
2547
+ float: left;
2548
+ content: "​";
3021
2549
  }
3022
2550
 
3023
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
3024
- width: auto;
2551
+ nav, nav ul {
2552
+ display: flex;
3025
2553
  }
3026
2554
 
3027
- [role="search"] [type="submit"] {
3028
- width: auto;
2555
+ nav {
2556
+ justify-content: space-between;
2557
+ overflow: visible;
3029
2558
  }
3030
2559
 
3031
- [role="search"] [type="reset"] {
3032
- width: auto;
2560
+ nav ol, nav ul {
2561
+ align-items: center;
2562
+ margin-bottom: 0;
2563
+ padding: 0;
2564
+ list-style: none;
3033
2565
  }
3034
2566
 
3035
- [role="search"] [type="button"] {
3036
- width: auto;
2567
+ nav ol:first-of-type, nav ul:first-of-type {
2568
+ margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
3037
2569
  }
3038
2570
 
3039
- [role="group"] [type="submit"] {
3040
- width: auto;
2571
+ nav ol:last-of-type, nav ul:last-of-type {
2572
+ margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
3041
2573
  }
3042
2574
 
3043
- [role="group"] [type="reset"] {
3044
- width: auto;
2575
+ nav li {
2576
+ padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
2577
+ margin: 0;
2578
+ display: inline-block;
3045
2579
  }
3046
2580
 
3047
- [role="group"] [type="button"] {
3048
- width: auto;
2581
+ nav li :where(a, [role="link"]) {
2582
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2583
+ padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
2584
+ border-radius: var(--cirth-border-radius);
2585
+ display: inline-block;
3049
2586
  }
3050
2587
 
3051
- @supports selector(:has(*)) {
3052
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
3053
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
3054
- }
2588
+ nav li :where(a, [role="link"]):not(:hover) {
2589
+ text-decoration: none;
2590
+ }
3055
2591
 
3056
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
3057
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
3058
- }
2592
+ nav li button, nav li [role="button"], nav li select {
2593
+ height: auto;
2594
+ margin-right: inherit;
2595
+ margin-bottom: 0;
2596
+ margin-left: inherit;
2597
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2598
+ }
3059
2599
 
3060
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
3061
- border-color: rgba(0, 0, 0, 0);
3062
- }
2600
+ nav li [type="button"] {
2601
+ height: auto;
2602
+ margin-right: inherit;
2603
+ margin-bottom: 0;
2604
+ margin-left: inherit;
2605
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2606
+ }
3063
2607
 
3064
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
3065
- border-color: rgba(0, 0, 0, 0);
3066
- }
2608
+ nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
2609
+ height: auto;
2610
+ margin-right: inherit;
2611
+ margin-bottom: 0;
2612
+ margin-left: inherit;
2613
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2614
+ }
3067
2615
 
3068
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
3069
- border-color: rgba(0, 0, 0, 0);
3070
- }
2616
+ nav[aria-label="breadcrumb"] {
2617
+ justify-content: start;
2618
+ align-items: center;
2619
+ }
3071
2620
 
3072
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
3073
- border-color: rgba(0, 0, 0, 0);
3074
- }
2621
+ nav[aria-label="breadcrumb"] ul li:not(:first-child) {
2622
+ margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
2623
+ }
3075
2624
 
3076
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
3077
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
3078
- }
2625
+ nav[aria-label="breadcrumb"] ul li a {
2626
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
2627
+ margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2628
+ }
2629
+
2630
+ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2631
+ width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
2632
+ margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2633
+ content: var(--cirth-nav-breadcrumb-divider);
2634
+ color: var(--cirth-muted-color);
2635
+ text-align: center;
2636
+ white-space: nowrap;
2637
+ text-decoration: none;
2638
+ display: inline-block;
2639
+ position: absolute;
2640
+ }
3079
2641
 
3080
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
3081
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
3082
- }
2642
+ nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2643
+ color: inherit;
2644
+ pointer-events: none;
2645
+ background-color: rgba(0, 0, 0, 0);
2646
+ text-decoration: none;
2647
+ }
3083
2648
 
3084
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
3085
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3086
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3087
- }
2649
+ aside nav, aside ol, aside ul, aside li {
2650
+ display: block;
2651
+ }
3088
2652
 
3089
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
3090
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3091
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3092
- }
2653
+ aside li {
2654
+ padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
2655
+ }
3093
2656
 
3094
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
3095
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3096
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3097
- }
2657
+ aside li a {
2658
+ display: block;
2659
+ }
3098
2660
 
3099
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
3100
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3101
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3102
- }
2661
+ aside li [role="button"] {
2662
+ margin: inherit;
2663
+ }
3103
2664
 
3104
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
3105
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3106
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3107
- }
2665
+ [dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
2666
+ content: "\\";
2667
+ }
3108
2668
 
3109
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
3110
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3111
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3112
- }
2669
+ progress {
2670
+ vertical-align: baseline;
2671
+ appearance: none;
2672
+ width: 100%;
2673
+ height: var(--cirth-size-2);
2674
+ margin-bottom: calc(var(--cirth-spacing) * .5);
2675
+ border-radius: var(--cirth-border-radius);
2676
+ background-color: var(--cirth-progress-background-color);
2677
+ color: var(--cirth-progress-color);
2678
+ border: 0;
2679
+ display: inline-block;
2680
+ overflow: hidden;
2681
+ }
3113
2682
 
3114
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
3115
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3116
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3117
- }
2683
+ progress::-webkit-progress-bar {
2684
+ border-radius: var(--cirth-border-radius);
2685
+ background: none;
2686
+ }
3118
2687
 
3119
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
3120
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
3121
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
3122
- }
2688
+ progress[value]::-webkit-progress-value {
2689
+ background-color: var(--cirth-progress-color);
2690
+ transition: inline-size var(--cirth-transition);
2691
+ }
3123
2692
 
3124
- [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
3125
- box-shadow: none;
3126
- }
2693
+ progress::-moz-progress-bar {
2694
+ background-color: var(--cirth-progress-color);
2695
+ }
3127
2696
 
3128
- [role="search"] [type="submit"]:focus {
3129
- box-shadow: none;
2697
+ @media (prefers-reduced-motion: no-preference) {
2698
+ progress:indeterminate {
2699
+ 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;
2700
+ animation: 1s linear infinite progress-indeterminate;
3130
2701
  }
3131
2702
 
3132
- [role="search"] [type="reset"]:focus {
3133
- box-shadow: none;
2703
+ progress:indeterminate[value]::-webkit-progress-value {
2704
+ background-color: rgba(0, 0, 0, 0);
3134
2705
  }
3135
2706
 
3136
- [role="search"] [type="button"]:focus {
3137
- box-shadow: none;
2707
+ progress:indeterminate::-moz-progress-bar {
2708
+ background-color: rgba(0, 0, 0, 0);
3138
2709
  }
3139
2710
 
3140
- [role="group"] [type="submit"]:focus {
3141
- box-shadow: none;
2711
+ [dir="rtl"] progress:indeterminate {
2712
+ animation-direction: reverse;
3142
2713
  }
2714
+ }
3143
2715
 
3144
- [role="group"] [type="reset"]:focus {
3145
- box-shadow: none;
2716
+ @keyframes progress-indeterminate {
2717
+ 0% {
2718
+ background-position: 200% 0;
3146
2719
  }
3147
2720
 
3148
- [role="group"] [type="button"]:focus {
3149
- box-shadow: none;
2721
+ 100% {
2722
+ background-position: -200% 0;
3150
2723
  }
3151
2724
  }
3152
2725
 
3153
- [role="search"] > :first-child {
3154
- border-top-left-radius: 5rem;
3155
- border-bottom-left-radius: 5rem;
2726
+ [data-tooltip] {
2727
+ position: relative;
3156
2728
  }
3157
2729
 
3158
- [role="search"] > :last-child {
3159
- border-top-right-radius: 5rem;
3160
- border-bottom-right-radius: 5rem;
2730
+ [data-tooltip]:not(:is(a, button, input, [role="button"])) {
2731
+ border-bottom: var(--cirth-border-width-1) dotted;
2732
+ cursor: help;
2733
+ text-decoration: none;
3161
2734
  }
3162
2735
 
3163
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
2736
+ [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
2737
+ z-index: var(--cirth-z-index-tooltip);
2738
+ padding: var(--cirth-space-1) var(--cirth-space-2);
2739
+ border-radius: var(--cirth-border-radius);
2740
+ background: var(--cirth-tooltip-background-color);
2741
+ content: attr(data-tooltip);
2742
+ color: var(--cirth-tooltip-color);
2743
+ font-style: normal;
2744
+ font-weight: var(--cirth-font-weight);
2745
+ font-size: var(--cirth-font-size-sm);
2746
+ text-overflow: ellipsis;
3164
2747
  white-space: nowrap;
2748
+ opacity: 0;
2749
+ pointer-events: none;
2750
+ text-decoration: none;
2751
+ display: block;
2752
+ position: absolute;
2753
+ bottom: 100%;
2754
+ left: 50%;
2755
+ overflow: hidden;
2756
+ transform: translate(-50%, -.25rem);
3165
2757
  }
3166
2758
 
3167
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
3168
- background-image: var(--cirth-icon-loading);
2759
+ [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
3169
2760
  content: "";
3170
- vertical-align: -.125em;
3171
- background-repeat: no-repeat;
3172
- background-size: 1em;
3173
- width: 1em;
3174
- height: 1em;
3175
- display: inline-block;
2761
+ color: var(--cirth-tooltip-background-color);
2762
+ background-color: rgba(0, 0, 0, 0);
2763
+ border-top: .3rem solid;
2764
+ border-left: .3rem solid rgba(0, 0, 0, 0);
2765
+ border-right: .3rem solid rgba(0, 0, 0, 0);
2766
+ border-radius: 0;
2767
+ padding: 0;
2768
+ transform: translate(-50%);
3176
2769
  }
3177
2770
 
3178
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
3179
- margin-inline-end: calc(var(--cirth-spacing) * .5);
2771
+ [data-tooltip][data-placement="bottom"]:before, [data-tooltip][data-placement="bottom"]:after {
2772
+ top: 100%;
2773
+ bottom: auto;
2774
+ transform: translate(-50%, .25rem);
3180
2775
  }
3181
2776
 
3182
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
3183
- text-align: center;
2777
+ [data-tooltip][data-placement="bottom"]:after {
2778
+ border: .3rem solid rgba(0, 0, 0, 0);
2779
+ border-bottom-color: currentColor;
2780
+ transform: translate(-50%, -.3rem);
3184
2781
  }
3185
2782
 
3186
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
3187
- pointer-events: none;
2783
+ [data-tooltip][data-placement="left"]:before, [data-tooltip][data-placement="left"]:after {
2784
+ inset: 50% 100% auto auto;
2785
+ transform: translate(-.25rem, -50%);
3188
2786
  }
3189
2787
 
3190
- [type="submit"][aria-busy="true"] {
3191
- pointer-events: none;
2788
+ [data-tooltip][data-placement="left"]:after {
2789
+ border: .3rem solid rgba(0, 0, 0, 0);
2790
+ border-left-color: currentColor;
2791
+ transform: translate(.3rem, -50%);
3192
2792
  }
3193
2793
 
3194
- [type="button"][aria-busy="true"] {
3195
- pointer-events: none;
2794
+ [data-tooltip][data-placement="right"]:before, [data-tooltip][data-placement="right"]:after {
2795
+ inset: 50% auto auto 100%;
2796
+ transform: translate(.25rem, -50%);
3196
2797
  }
3197
2798
 
3198
- [type="reset"][aria-busy="true"] {
3199
- pointer-events: none;
2799
+ [data-tooltip][data-placement="right"]:after {
2800
+ border: .3rem solid rgba(0, 0, 0, 0);
2801
+ border-right-color: currentColor;
2802
+ transform: translate(-.3rem, -50%);
3200
2803
  }
3201
2804
 
3202
- :root {
3203
- --cirth-scrollbar-width: 0px;
2805
+ [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
2806
+ opacity: 1;
3204
2807
  }
3205
2808
 
3206
- :host {
3207
- --cirth-scrollbar-width: 0px;
3208
- }
2809
+ @media (hover: hover) and (pointer: fine) {
2810
+ [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
2811
+ --cirth-tooltip-slide-to: translate(-50%, -.25rem);
2812
+ animation-duration: var(--cirth-duration-normal);
2813
+ opacity: 0;
2814
+ animation-name: tooltip-slide;
2815
+ animation-fill-mode: forwards;
2816
+ transform: translate(-50%, .75rem);
2817
+ }
3209
2818
 
3210
- dialog {
3211
- z-index: 999;
3212
- width: inherit;
3213
- min-width: 100%;
3214
- height: inherit;
3215
- min-height: 100%;
3216
- -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
3217
- backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
3218
- background-color: var(--cirth-modal-overlay-background-color);
3219
- color: var(--cirth-color);
3220
- border: 0;
3221
- justify-content: center;
3222
- align-items: center;
3223
- padding: 0;
3224
- display: flex;
3225
- position: fixed;
3226
- inset: 0;
3227
- }
2819
+ [data-tooltip]:focus:after, [data-tooltip]:hover:after {
2820
+ --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
2821
+ animation-name: tooltip-caret-slide;
2822
+ transform: translate(-50%, -.25rem);
2823
+ }
3228
2824
 
3229
- dialog > article {
3230
- width: 100%;
3231
- max-height: calc(100vh - var(--cirth-spacing) * 2);
3232
- margin: var(--cirth-spacing);
3233
- overflow: auto;
3234
- }
2825
+ [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 {
2826
+ --cirth-tooltip-slide-to: translate(-50%, .25rem);
2827
+ animation-name: tooltip-slide;
2828
+ transform: translate(-50%, -.75rem);
2829
+ }
3235
2830
 
3236
- @media (width >= 576px) {
3237
- dialog > article {
3238
- max-width: 510px;
2831
+ [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:after {
2832
+ --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
2833
+ animation-name: tooltip-caret-slide;
2834
+ transform: translate(-50%, -.5rem);
3239
2835
  }
3240
- }
3241
2836
 
3242
- @media (width >= 768px) {
3243
- dialog > article {
3244
- max-width: 700px;
2837
+ [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 {
2838
+ --cirth-tooltip-slide-to: translate(-.25rem, -50%);
2839
+ animation-name: tooltip-slide;
2840
+ transform: translate(.75rem, -50%);
3245
2841
  }
3246
- }
3247
2842
 
3248
- dialog > article > header > * {
3249
- margin-bottom: 0;
2843
+ [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:after {
2844
+ --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
2845
+ animation-name: tooltip-caret-slide;
2846
+ transform: translate(.05rem, -50%);
2847
+ }
2848
+
2849
+ [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 {
2850
+ --cirth-tooltip-slide-to: translate(.25rem, -50%);
2851
+ animation-name: tooltip-slide;
2852
+ transform: translate(-.75rem, -50%);
2853
+ }
2854
+
2855
+ [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:after {
2856
+ --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
2857
+ animation-name: tooltip-caret-slide;
2858
+ transform: translate(-.05rem, -50%);
2859
+ }
3250
2860
  }
3251
2861
 
3252
- dialog > article > header .close {
3253
- margin: 0;
3254
- margin-left: var(--cirth-spacing);
3255
- float: right;
3256
- padding: 0;
2862
+ @keyframes tooltip-slide {
2863
+ to {
2864
+ transform: var(--cirth-tooltip-slide-to);
2865
+ opacity: 1;
2866
+ }
3257
2867
  }
3258
2868
 
3259
- dialog > article > header :is(a, button)[rel="prev"] {
3260
- margin: 0;
3261
- margin-left: var(--cirth-spacing);
3262
- float: right;
3263
- padding: 0;
3264
- }
2869
+ @keyframes tooltip-caret-slide {
2870
+ 50% {
2871
+ opacity: 0;
2872
+ }
3265
2873
 
3266
- dialog > article > footer {
3267
- text-align: right;
2874
+ to {
2875
+ transform: var(--cirth-tooltip-caret-slide-to);
2876
+ opacity: 1;
2877
+ }
3268
2878
  }
3269
2879
 
3270
- dialog > article > footer button, dialog > article > footer [role="button"] {
3271
- margin-bottom: 0;
2880
+ [aria-controls] {
2881
+ cursor: pointer;
3272
2882
  }
3273
2883
 
3274
- dialog > article > footer button:not(:first-of-type), dialog > article > footer [role="button"]:not(:first-of-type) {
3275
- margin-left: calc(var(--cirth-spacing) * .5);
2884
+ [aria-disabled="true"], [disabled] {
2885
+ cursor: not-allowed;
3276
2886
  }
3277
2887
 
3278
- dialog > article .close {
3279
- width: 1rem;
3280
- height: 1rem;
3281
- margin-top: calc(var(--cirth-spacing) * -1);
3282
- margin-bottom: var(--cirth-spacing);
3283
- background-image: var(--cirth-icon-close);
3284
- opacity: .5;
3285
- transition: opacity var(--cirth-transition);
3286
- background-color: rgba(0, 0, 0, 0);
3287
- background-position: center;
3288
- background-repeat: no-repeat;
3289
- background-size: auto 1rem;
3290
- border: none;
3291
- margin-left: auto;
3292
- display: block;
2888
+ [aria-hidden="false"][hidden] {
2889
+ display: initial;
3293
2890
  }
3294
2891
 
3295
- dialog > article :is(a, button)[rel="prev"] {
3296
- width: 1rem;
3297
- height: 1rem;
3298
- margin-top: calc(var(--cirth-spacing) * -1);
3299
- margin-bottom: var(--cirth-spacing);
3300
- background-image: var(--cirth-icon-close);
3301
- opacity: .5;
3302
- transition: opacity var(--cirth-transition);
3303
- background-color: rgba(0, 0, 0, 0);
3304
- background-position: center;
3305
- background-repeat: no-repeat;
3306
- background-size: auto 1rem;
3307
- border: none;
3308
- margin-left: auto;
3309
- display: block;
2892
+ [aria-hidden="false"][hidden]:not(:focus) {
2893
+ clip: rect(0, 0, 0, 0);
2894
+ position: absolute;
3310
2895
  }
3311
2896
 
3312
- dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3313
- opacity: 1;
2897
+ a, area, button, input, label, select, summary, textarea, [tabindex] {
2898
+ -ms-touch-action: manipulation;
3314
2899
  }
3315
2900
 
3316
- dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3317
- opacity: 1;
2901
+ [dir="rtl"] {
2902
+ direction: rtl;
3318
2903
  }
3319
2904
 
3320
- dialog:not([open]), dialog[open="false"] {
3321
- display: none;
2905
+ @media (prefers-reduced-motion: reduce) {
2906
+ :not([aria-busy="true"]), :not([aria-busy="true"]):before, :not([aria-busy="true"]):after {
2907
+ background-attachment: initial;
2908
+ scroll-behavior: auto;
2909
+ transition-delay: var(--cirth-duration-instant);
2910
+ transition-duration: var(--cirth-duration-instant);
2911
+ animation-duration: 1ms;
2912
+ animation-iteration-count: 1;
2913
+ animation-delay: -1ms;
2914
+ }
3322
2915
  }
3323
2916
 
3324
- .modal-is-open {
3325
- padding-right: var(--cirth-scrollbar-width, 0px);
3326
- pointer-events: none;
3327
- touch-action: none;
3328
- overflow: hidden;
2917
+ :root {
2918
+ --cirth-color-black: #000;
2919
+ --cirth-color-white: #fff;
2920
+ --cirth-color-transparent: transparent;
2921
+ --cirth-color-current: currentColor;
2922
+ --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2923
+ "Helvetica Neue", sans-serif;
2924
+ --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2925
+ "Segoe UI Symbol", "Noto Color Emoji";
2926
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2927
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2928
+ monospace;
2929
+ --cirth-font-family-display: var(--cirth-font-family-sans);
2930
+ --cirth-font-size-xs: .75rem;
2931
+ --cirth-font-size-sm: .875rem;
2932
+ --cirth-font-size-md: 1rem;
2933
+ --cirth-font-size-lg: 1.125rem;
2934
+ --cirth-font-size-xl: 1.25rem;
2935
+ --cirth-font-size-2xl: 1.425rem;
2936
+ --cirth-font-size-3xl: 1.6rem;
2937
+ --cirth-font-size-4xl: 1.8rem;
2938
+ --cirth-font-size-5xl: 2rem;
2939
+ --cirth-font-size-6xl: 2.3rem;
2940
+ --cirth-font-weight-light: 300;
2941
+ --cirth-font-weight-regular: 400;
2942
+ --cirth-font-weight-medium: 500;
2943
+ --cirth-font-weight-semibold: 600;
2944
+ --cirth-font-weight-bold: 700;
2945
+ --cirth-line-height-none: 1;
2946
+ --cirth-line-height-tight: 1.125;
2947
+ --cirth-line-height-snug: 1.25;
2948
+ --cirth-line-height-normal: 1.5;
2949
+ --cirth-line-height-relaxed: 1.625;
2950
+ --cirth-line-height-loose: 2;
2951
+ --cirth-letter-spacing-tight: 0;
2952
+ --cirth-letter-spacing-normal: 0;
2953
+ --cirth-letter-spacing-wide: .025em;
2954
+ --cirth-space-0: 0;
2955
+ --cirth-space-1: .25rem;
2956
+ --cirth-space-2: .5rem;
2957
+ --cirth-space-3: .75rem;
2958
+ --cirth-space-4: 1rem;
2959
+ --cirth-space-5: 1.25rem;
2960
+ --cirth-space-6: 1.5rem;
2961
+ --cirth-space-8: 2rem;
2962
+ --cirth-space-10: 2.5rem;
2963
+ --cirth-space-12: 3rem;
2964
+ --cirth-space-16: 4rem;
2965
+ --cirth-space-20: 5rem;
2966
+ --cirth-space-24: 6rem;
2967
+ --cirth-size-0: 0;
2968
+ --cirth-size-1: .25rem;
2969
+ --cirth-size-2: .5rem;
2970
+ --cirth-size-3: .75rem;
2971
+ --cirth-size-4: 1rem;
2972
+ --cirth-size-5: 1.25rem;
2973
+ --cirth-size-6: 1.5rem;
2974
+ --cirth-size-8: 2rem;
2975
+ --cirth-size-10: 2.5rem;
2976
+ --cirth-size-12: 3rem;
2977
+ --cirth-size-16: 4rem;
2978
+ --cirth-size-20: 5rem;
2979
+ --cirth-size-24: 6rem;
2980
+ --cirth-radius-none: 0;
2981
+ --cirth-radius-xs: .125rem;
2982
+ --cirth-radius-sm: .25rem;
2983
+ --cirth-radius-md: .375rem;
2984
+ --cirth-radius-lg: .5rem;
2985
+ --cirth-radius-xl: .75rem;
2986
+ --cirth-radius-2xl: 1rem;
2987
+ --cirth-radius-pill: 9999px;
2988
+ --cirth-border-width-0: 0;
2989
+ --cirth-border-width-1: .0625rem;
2990
+ --cirth-border-width-2: .125rem;
2991
+ --cirth-border-width-4: .25rem;
2992
+ --cirth-outline-width-1: .0625rem;
2993
+ --cirth-outline-width-2: .125rem;
2994
+ --cirth-outline-width-4: .25rem;
2995
+ --cirth-shadow-none: none;
2996
+ --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2997
+ --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2998
+ 0 .0625rem .125rem rgba(0, 0, 0, .06);
2999
+ --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
3000
+ 0 .125rem .25rem rgba(0, 0, 0, .06);
3001
+ --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
3002
+ 0 .25rem .375rem rgba(0, 0, 0, .05);
3003
+ --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
3004
+ 0 .625rem .625rem rgba(0, 0, 0, .04);
3005
+ --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
3006
+ --cirth-duration-instant: 0s;
3007
+ --cirth-duration-fast: .1s;
3008
+ --cirth-duration-normal: .2s;
3009
+ --cirth-duration-slow: .3s;
3010
+ --cirth-duration-slower: .5s;
3011
+ --cirth-ease-linear: linear;
3012
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
3013
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
3014
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
3015
+ --cirth-opacity-disabled: .5;
3016
+ --cirth-opacity-muted: .72;
3017
+ --cirth-opacity-overlay: .75;
3018
+ --cirth-z-index-dropdown: 1000;
3019
+ --cirth-z-index-sticky: 1020;
3020
+ --cirth-z-index-fixed: 1030;
3021
+ --cirth-z-index-modal-backdrop: 1040;
3022
+ --cirth-z-index-modal: 1050;
3023
+ --cirth-z-index-tooltip: 1070;
3329
3024
  }
3330
3025
 
3331
- .modal-is-open dialog {
3332
- pointer-events: auto;
3333
- touch-action: auto;
3026
+ :host {
3027
+ --cirth-color-black: #000;
3028
+ --cirth-color-white: #fff;
3029
+ --cirth-color-transparent: transparent;
3030
+ --cirth-color-current: currentColor;
3031
+ --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
3032
+ "Helvetica Neue", sans-serif;
3033
+ --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
3034
+ "Segoe UI Symbol", "Noto Color Emoji";
3035
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
3036
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
3037
+ monospace;
3038
+ --cirth-font-family-display: var(--cirth-font-family-sans);
3039
+ --cirth-font-size-xs: .75rem;
3040
+ --cirth-font-size-sm: .875rem;
3041
+ --cirth-font-size-md: 1rem;
3042
+ --cirth-font-size-lg: 1.125rem;
3043
+ --cirth-font-size-xl: 1.25rem;
3044
+ --cirth-font-size-2xl: 1.425rem;
3045
+ --cirth-font-size-3xl: 1.6rem;
3046
+ --cirth-font-size-4xl: 1.8rem;
3047
+ --cirth-font-size-5xl: 2rem;
3048
+ --cirth-font-size-6xl: 2.3rem;
3049
+ --cirth-font-weight-light: 300;
3050
+ --cirth-font-weight-regular: 400;
3051
+ --cirth-font-weight-medium: 500;
3052
+ --cirth-font-weight-semibold: 600;
3053
+ --cirth-font-weight-bold: 700;
3054
+ --cirth-line-height-none: 1;
3055
+ --cirth-line-height-tight: 1.125;
3056
+ --cirth-line-height-snug: 1.25;
3057
+ --cirth-line-height-normal: 1.5;
3058
+ --cirth-line-height-relaxed: 1.625;
3059
+ --cirth-line-height-loose: 2;
3060
+ --cirth-letter-spacing-tight: 0;
3061
+ --cirth-letter-spacing-normal: 0;
3062
+ --cirth-letter-spacing-wide: .025em;
3063
+ --cirth-space-0: 0;
3064
+ --cirth-space-1: .25rem;
3065
+ --cirth-space-2: .5rem;
3066
+ --cirth-space-3: .75rem;
3067
+ --cirth-space-4: 1rem;
3068
+ --cirth-space-5: 1.25rem;
3069
+ --cirth-space-6: 1.5rem;
3070
+ --cirth-space-8: 2rem;
3071
+ --cirth-space-10: 2.5rem;
3072
+ --cirth-space-12: 3rem;
3073
+ --cirth-space-16: 4rem;
3074
+ --cirth-space-20: 5rem;
3075
+ --cirth-space-24: 6rem;
3076
+ --cirth-size-0: 0;
3077
+ --cirth-size-1: .25rem;
3078
+ --cirth-size-2: .5rem;
3079
+ --cirth-size-3: .75rem;
3080
+ --cirth-size-4: 1rem;
3081
+ --cirth-size-5: 1.25rem;
3082
+ --cirth-size-6: 1.5rem;
3083
+ --cirth-size-8: 2rem;
3084
+ --cirth-size-10: 2.5rem;
3085
+ --cirth-size-12: 3rem;
3086
+ --cirth-size-16: 4rem;
3087
+ --cirth-size-20: 5rem;
3088
+ --cirth-size-24: 6rem;
3089
+ --cirth-radius-none: 0;
3090
+ --cirth-radius-xs: .125rem;
3091
+ --cirth-radius-sm: .25rem;
3092
+ --cirth-radius-md: .375rem;
3093
+ --cirth-radius-lg: .5rem;
3094
+ --cirth-radius-xl: .75rem;
3095
+ --cirth-radius-2xl: 1rem;
3096
+ --cirth-radius-pill: 9999px;
3097
+ --cirth-border-width-0: 0;
3098
+ --cirth-border-width-1: .0625rem;
3099
+ --cirth-border-width-2: .125rem;
3100
+ --cirth-border-width-4: .25rem;
3101
+ --cirth-outline-width-1: .0625rem;
3102
+ --cirth-outline-width-2: .125rem;
3103
+ --cirth-outline-width-4: .25rem;
3104
+ --cirth-shadow-none: none;
3105
+ --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
3106
+ --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
3107
+ 0 .0625rem .125rem rgba(0, 0, 0, .06);
3108
+ --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
3109
+ 0 .125rem .25rem rgba(0, 0, 0, .06);
3110
+ --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
3111
+ 0 .25rem .375rem rgba(0, 0, 0, .05);
3112
+ --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
3113
+ 0 .625rem .625rem rgba(0, 0, 0, .04);
3114
+ --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
3115
+ --cirth-duration-instant: 0s;
3116
+ --cirth-duration-fast: .1s;
3117
+ --cirth-duration-normal: .2s;
3118
+ --cirth-duration-slow: .3s;
3119
+ --cirth-duration-slower: .5s;
3120
+ --cirth-ease-linear: linear;
3121
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
3122
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
3123
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
3124
+ --cirth-opacity-disabled: .5;
3125
+ --cirth-opacity-muted: .72;
3126
+ --cirth-opacity-overlay: .75;
3127
+ --cirth-z-index-dropdown: 1000;
3128
+ --cirth-z-index-sticky: 1020;
3129
+ --cirth-z-index-fixed: 1030;
3130
+ --cirth-z-index-modal-backdrop: 1040;
3131
+ --cirth-z-index-modal: 1050;
3132
+ --cirth-z-index-tooltip: 1070;
3334
3133
  }
3335
3134
 
3336
- :where(.modal-is-opening, .modal-is-closing) dialog {
3337
- animation-duration: .2s;
3338
- animation-timing-function: ease-in-out;
3339
- animation-fill-mode: both;
3135
+ :root {
3136
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3137
+ --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
3138
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
3139
+ --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
3140
+ monospace, var(--cirth-font-family-emoji);
3141
+ --cirth-font-family: var(--cirth-font-family-sans-serif);
3142
+ --cirth-line-height: var(--cirth-line-height-normal);
3143
+ --cirth-font-weight: var(--cirth-font-weight-regular);
3144
+ --cirth-font-size: 100%;
3145
+ --cirth-text-underline-offset: .1rem;
3146
+ --cirth-border-radius: var(--cirth-radius-sm);
3147
+ --cirth-border-width: var(--cirth-border-width-1);
3148
+ --cirth-outline-width: var(--cirth-outline-width-2);
3149
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
3150
+ --cirth-spacing: var(--cirth-space-4);
3151
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
3152
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
3153
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
3154
+ --cirth-grid-column-gap: var(--cirth-spacing);
3155
+ --cirth-grid-row-gap: var(--cirth-spacing);
3156
+ --cirth-form-element-spacing-vertical: var(--cirth-space-3);
3157
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
3158
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
3159
+ --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3160
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
3161
+ var(--cirth-primary-focus);
3162
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
3163
+ var(--cirth-form-element-border-color);
3164
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
3165
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
3166
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
3167
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
3168
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
3169
+ --cirth-nav-breadcrumb-divider: ">";
3170
+ --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");
3171
+ --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");
3172
+ --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");
3173
+ --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");
3174
+ --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");
3175
+ --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");
3176
+ --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");
3177
+ --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");
3340
3178
  }
3341
3179
 
3342
- :where(.modal-is-opening, .modal-is-closing) dialog > article {
3343
- animation-duration: .2s;
3344
- animation-timing-function: ease-in-out;
3345
- animation-fill-mode: both;
3180
+ :host {
3181
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3182
+ --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
3183
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
3184
+ --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
3185
+ monospace, var(--cirth-font-family-emoji);
3186
+ --cirth-font-family: var(--cirth-font-family-sans-serif);
3187
+ --cirth-line-height: var(--cirth-line-height-normal);
3188
+ --cirth-font-weight: var(--cirth-font-weight-regular);
3189
+ --cirth-font-size: 100%;
3190
+ --cirth-text-underline-offset: .1rem;
3191
+ --cirth-border-radius: var(--cirth-radius-sm);
3192
+ --cirth-border-width: var(--cirth-border-width-1);
3193
+ --cirth-outline-width: var(--cirth-outline-width-2);
3194
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
3195
+ --cirth-spacing: var(--cirth-space-4);
3196
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
3197
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
3198
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
3199
+ --cirth-grid-column-gap: var(--cirth-spacing);
3200
+ --cirth-grid-row-gap: var(--cirth-spacing);
3201
+ --cirth-form-element-spacing-vertical: var(--cirth-space-3);
3202
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
3203
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
3204
+ --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3205
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
3206
+ var(--cirth-primary-focus);
3207
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
3208
+ var(--cirth-form-element-border-color);
3209
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
3210
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
3211
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
3212
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
3213
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
3214
+ --cirth-nav-breadcrumb-divider: ">";
3215
+ --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");
3216
+ --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");
3217
+ --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");
3218
+ --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");
3219
+ --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");
3220
+ --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");
3221
+ --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");
3222
+ --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");
3346
3223
  }
3347
3224
 
3348
- :where(.modal-is-opening, .modal-is-closing) dialog {
3349
- animation-name: modal-overlay;
3350
- animation-duration: .8s;
3351
- }
3225
+ @media (width >= 576px) {
3226
+ :root {
3227
+ --cirth-font-size: 106.25%;
3228
+ }
3352
3229
 
3353
- :where(.modal-is-opening, .modal-is-closing) dialog > article {
3354
- animation-name: modal;
3355
- animation-delay: .2s;
3230
+ :host {
3231
+ --cirth-font-size: 106.25%;
3232
+ }
3356
3233
  }
3357
3234
 
3358
- .modal-is-closing dialog, .modal-is-closing dialog > article {
3359
- animation-direction: reverse;
3360
- animation-delay: 0s;
3361
- }
3235
+ @media (width >= 768px) {
3236
+ :root {
3237
+ --cirth-font-size: 112.5%;
3238
+ }
3362
3239
 
3363
- @keyframes modal-overlay {
3364
- from {
3365
- -webkit-backdrop-filter: none;
3366
- backdrop-filter: none;
3367
- background-color: rgba(0, 0, 0, 0);
3240
+ :host {
3241
+ --cirth-font-size: 112.5%;
3368
3242
  }
3369
3243
  }
3370
3244
 
3371
- @keyframes modal {
3372
- from {
3373
- opacity: 0;
3374
- transform: translateY(-100%);
3245
+ @media (width >= 1024px) {
3246
+ :root {
3247
+ --cirth-font-size: 118.75%;
3375
3248
  }
3376
- }
3377
3249
 
3378
- :where(nav li):before {
3379
- float: left;
3380
- content: "​";
3250
+ :host {
3251
+ --cirth-font-size: 118.75%;
3252
+ }
3381
3253
  }
3382
3254
 
3383
- nav, nav ul {
3384
- display: flex;
3385
- }
3255
+ @media (width >= 1280px) {
3256
+ :root {
3257
+ --cirth-font-size: 125%;
3258
+ }
3386
3259
 
3387
- nav {
3388
- justify-content: space-between;
3389
- overflow: visible;
3260
+ :host {
3261
+ --cirth-font-size: 125%;
3262
+ }
3390
3263
  }
3391
3264
 
3392
- nav ol, nav ul {
3393
- align-items: center;
3394
- margin-bottom: 0;
3395
- padding: 0;
3396
- list-style: none;
3397
- }
3265
+ @media (width >= 1536px) {
3266
+ :root {
3267
+ --cirth-font-size: 131.25%;
3268
+ }
3398
3269
 
3399
- nav ol:first-of-type, nav ul:first-of-type {
3400
- margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
3270
+ :host {
3271
+ --cirth-font-size: 131.25%;
3272
+ }
3401
3273
  }
3402
3274
 
3403
- nav ol:last-of-type, nav ul:last-of-type {
3404
- margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
3275
+ a, a.secondary, a.contrast {
3276
+ --cirth-text-decoration: underline;
3405
3277
  }
3406
3278
 
3407
- nav li {
3408
- padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
3409
- margin: 0;
3410
- display: inline-block;
3279
+ small {
3280
+ --cirth-font-size: .875em;
3411
3281
  }
3412
3282
 
3413
- nav li :where(a, [role="link"]) {
3414
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3415
- padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
3416
- border-radius: var(--cirth-border-radius);
3417
- display: inline-block;
3283
+ h1, h2, h3, h4, h5, h6 {
3284
+ --cirth-font-weight: var(--cirth-font-weight-bold);
3418
3285
  }
3419
3286
 
3420
- nav li :where(a, [role="link"]):not(:hover) {
3421
- text-decoration: none;
3287
+ h1 {
3288
+ --cirth-font-size: var(--cirth-font-size-5xl);
3289
+ --cirth-line-height: var(--cirth-line-height-tight);
3290
+ --cirth-typography-spacing-top: var(--cirth-space-12);
3422
3291
  }
3423
3292
 
3424
- nav li button, nav li [role="button"], nav li select {
3425
- height: auto;
3426
- margin-right: inherit;
3427
- margin-bottom: 0;
3428
- margin-left: inherit;
3429
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3293
+ h2 {
3294
+ --cirth-font-size: 1.75rem;
3295
+ --cirth-line-height: 1.15;
3296
+ --cirth-typography-spacing-top: 2.625rem;
3430
3297
  }
3431
3298
 
3432
- nav li [type="button"] {
3433
- height: auto;
3434
- margin-right: inherit;
3435
- margin-bottom: 0;
3436
- margin-left: inherit;
3437
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3299
+ h3 {
3300
+ --cirth-font-size: 1.5rem;
3301
+ --cirth-line-height: 1.175;
3302
+ --cirth-typography-spacing-top: 2.25rem;
3438
3303
  }
3439
3304
 
3440
- nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
3441
- height: auto;
3442
- margin-right: inherit;
3443
- margin-bottom: 0;
3444
- margin-left: inherit;
3445
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3305
+ h4 {
3306
+ --cirth-font-size: var(--cirth-font-size-xl);
3307
+ --cirth-line-height: 1.2;
3308
+ --cirth-typography-spacing-top: 1.874rem;
3446
3309
  }
3447
3310
 
3448
- nav[aria-label="breadcrumb"] {
3449
- justify-content: start;
3450
- align-items: center;
3311
+ h5 {
3312
+ --cirth-font-size: var(--cirth-font-size-lg);
3313
+ --cirth-line-height: 1.225;
3314
+ --cirth-typography-spacing-top: 1.6875rem;
3451
3315
  }
3452
3316
 
3453
- nav[aria-label="breadcrumb"] ul li:not(:first-child) {
3454
- margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
3317
+ h6 {
3318
+ --cirth-font-size: var(--cirth-font-size-md);
3319
+ --cirth-line-height: var(--cirth-line-height-snug);
3320
+ --cirth-typography-spacing-top: var(--cirth-space-6);
3455
3321
  }
3456
3322
 
3457
- nav[aria-label="breadcrumb"] ul li a {
3458
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
3459
- margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3323
+ thead th, thead td, tfoot th, tfoot td {
3324
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
3325
+ --cirth-border-width: .1875rem;
3460
3326
  }
3461
3327
 
3462
- nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
3463
- width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
3464
- margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3465
- content: var(--cirth-nav-breadcrumb-divider);
3466
- color: var(--cirth-muted-color);
3467
- text-align: center;
3468
- white-space: nowrap;
3469
- text-decoration: none;
3470
- display: inline-block;
3471
- position: absolute;
3328
+ pre, code, kbd, samp {
3329
+ --cirth-font-family: var(--cirth-font-family-monospace);
3472
3330
  }
3473
3331
 
3474
- nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
3475
- color: inherit;
3476
- pointer-events: none;
3477
- background-color: rgba(0, 0, 0, 0);
3478
- text-decoration: none;
3332
+ kbd {
3333
+ --cirth-font-weight: bolder;
3479
3334
  }
3480
3335
 
3481
- aside nav, aside ol, aside ul, aside li {
3482
- display: block;
3336
+ input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
3337
+ --cirth-outline-width: var(--cirth-outline-width-1);
3483
3338
  }
3484
3339
 
3485
- aside li {
3486
- padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
3340
+ :where(select, textarea) {
3341
+ --cirth-outline-width: var(--cirth-outline-width-1);
3487
3342
  }
3488
3343
 
3489
- aside li a {
3490
- display: block;
3344
+ [type="search"] {
3345
+ --cirth-border-radius: var(--cirth-radius-pill);
3491
3346
  }
3492
3347
 
3493
- aside li [role="button"] {
3494
- margin: inherit;
3348
+ [type="checkbox"] {
3349
+ --cirth-border-width: var(--cirth-border-width-2);
3495
3350
  }
3496
3351
 
3497
- [dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
3498
- content: "\\";
3352
+ [type="radio"] {
3353
+ --cirth-border-width: var(--cirth-border-width-2);
3499
3354
  }
3500
3355
 
3501
- progress {
3502
- vertical-align: baseline;
3503
- appearance: none;
3504
- width: 100%;
3505
- height: .5rem;
3506
- margin-bottom: calc(var(--cirth-spacing) * .5);
3507
- border-radius: var(--cirth-border-radius);
3508
- background-color: var(--cirth-progress-background-color);
3509
- color: var(--cirth-progress-color);
3510
- border: 0;
3511
- display: inline-block;
3512
- overflow: hidden;
3356
+ [type="checkbox"][role="switch"] {
3357
+ --cirth-border-width: .1875rem;
3513
3358
  }
3514
3359
 
3515
- progress::-webkit-progress-bar {
3516
- border-radius: var(--cirth-border-radius);
3517
- background: none;
3360
+ details.dropdown summary:not([role="button"]) {
3361
+ --cirth-outline-width: var(--cirth-outline-width-1);
3518
3362
  }
3519
3363
 
3520
- progress[value]::-webkit-progress-value {
3521
- background-color: var(--cirth-progress-color);
3522
- transition: inline-size var(--cirth-transition);
3364
+ nav details.dropdown summary:focus-visible {
3365
+ --cirth-outline-width: var(--cirth-outline-width-2);
3523
3366
  }
3524
3367
 
3525
- progress::-moz-progress-bar {
3526
- background-color: var(--cirth-progress-color);
3368
+ [role="search"] {
3369
+ --cirth-border-radius: var(--cirth-radius-pill);
3527
3370
  }
3528
3371
 
3529
- @media (prefers-reduced-motion: no-preference) {
3530
- progress:indeterminate {
3531
- 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;
3532
- animation: 1s linear infinite progress-indeterminate;
3533
- }
3534
-
3535
- progress:indeterminate[value]::-webkit-progress-value {
3536
- background-color: rgba(0, 0, 0, 0);
3537
- }
3372
+ [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
3373
+ --cirth-group-box-shadow-focus-with-button: 0
3374
+ 0
3375
+ 0
3376
+ var(--cirth-outline-width)
3377
+ var(--cirth-secondary-focus);
3378
+ }
3538
3379
 
3539
- progress:indeterminate::-moz-progress-bar {
3540
- background-color: rgba(0, 0, 0, 0);
3541
- }
3380
+ [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
3381
+ --cirth-group-box-shadow-focus-with-button: 0
3382
+ 0
3383
+ 0
3384
+ var(--cirth-outline-width)
3385
+ var(--cirth-secondary-focus);
3386
+ }
3542
3387
 
3543
- [dir="rtl"] progress:indeterminate {
3544
- animation-direction: reverse;
3545
- }
3388
+ [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
3389
+ --cirth-group-box-shadow-focus-with-button: 0
3390
+ 0
3391
+ 0
3392
+ var(--cirth-outline-width)
3393
+ var(--cirth-contrast-focus);
3546
3394
  }
3547
3395
 
3548
- @keyframes progress-indeterminate {
3549
- 0% {
3550
- background-position: 200% 0;
3551
- }
3396
+ [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
3397
+ --cirth-group-box-shadow-focus-with-button: 0
3398
+ 0
3399
+ 0
3400
+ var(--cirth-outline-width)
3401
+ var(--cirth-contrast-focus);
3402
+ }
3552
3403
 
3553
- 100% {
3554
- background-position: -200% 0;
3555
- }
3404
+ [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
3405
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3556
3406
  }
3557
3407
 
3558
- [data-tooltip] {
3559
- position: relative;
3408
+ [role="search"] [type="submit"] {
3409
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3560
3410
  }
3561
3411
 
3562
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
3563
- cursor: help;
3564
- border-bottom: 1px dotted;
3565
- text-decoration: none;
3412
+ [role="search"] [type="button"] {
3413
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3566
3414
  }
3567
3415
 
3568
- [data-tooltip][data-placement="top"]:before, [data-tooltip][data-placement="top"]:after, [data-tooltip]:before, [data-tooltip]:after {
3569
- z-index: 99;
3570
- border-radius: var(--cirth-border-radius);
3571
- background: var(--cirth-tooltip-background-color);
3572
- content: attr(data-tooltip);
3573
- color: var(--cirth-tooltip-color);
3574
- font-style: normal;
3575
- font-weight: var(--cirth-font-weight);
3576
- text-overflow: ellipsis;
3577
- white-space: nowrap;
3578
- opacity: 0;
3579
- pointer-events: none;
3580
- padding: .25rem .5rem;
3581
- font-size: .875rem;
3582
- text-decoration: none;
3583
- display: block;
3584
- position: absolute;
3585
- bottom: 100%;
3586
- left: 50%;
3587
- overflow: hidden;
3588
- transform: translate(-50%, -.25rem);
3416
+ [role="group"] [type="submit"] {
3417
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3589
3418
  }
3590
3419
 
3591
- [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
3592
- content: "";
3593
- color: var(--cirth-tooltip-background-color);
3594
- background-color: rgba(0, 0, 0, 0);
3595
- border-top: .3rem solid;
3596
- border-left: .3rem solid rgba(0, 0, 0, 0);
3597
- border-right: .3rem solid rgba(0, 0, 0, 0);
3598
- border-radius: 0;
3599
- padding: 0;
3600
- transform: translate(-50%);
3420
+ [role="group"] [type="button"] {
3421
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3601
3422
  }
3602
3423
 
3603
- [data-tooltip][data-placement="bottom"]:before, [data-tooltip][data-placement="bottom"]:after {
3604
- top: 100%;
3605
- bottom: auto;
3606
- transform: translate(-50%, .25rem);
3424
+ details summary[role="button"]:not(.outline):after {
3425
+ filter: brightness(0) invert();
3607
3426
  }
3608
3427
 
3609
- [data-tooltip][data-placement="bottom"]:after {
3610
- border: .3rem solid rgba(0, 0, 0, 0);
3611
- border-bottom-color: currentColor;
3612
- transform: translate(-50%, -.3rem);
3428
+ [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
3429
+ filter: brightness(0) invert();
3613
3430
  }
3614
3431
 
3615
- [data-tooltip][data-placement="left"]:before, [data-tooltip][data-placement="left"]:after {
3616
- inset: 50% 100% auto auto;
3617
- transform: translate(-.25rem, -50%);
3432
+ [data-theme="light"], :root:not([data-theme="dark"]) {
3433
+ --lightningcss-light: initial;
3434
+ --lightningcss-dark: ;
3435
+ color-scheme: light;
3436
+ --cirth-background-color: #fff;
3437
+ --cirth-color: #373c44;
3438
+ --cirth-text-selection-color: rgba(2, 154, 232, .25);
3439
+ --cirth-muted-color: #646b79;
3440
+ --cirth-muted-border-color: #e7eaf0;
3441
+ --cirth-primary: #0172ad;
3442
+ --cirth-primary-background: #0172ad;
3443
+ --cirth-primary-border: var(--cirth-primary-background);
3444
+ --cirth-primary-underline: rgba(1, 114, 173, .5);
3445
+ --cirth-primary-hover: #015887;
3446
+ --cirth-primary-hover-background: #02659a;
3447
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3448
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3449
+ --cirth-primary-focus: rgba(2, 154, 232, .5);
3450
+ --cirth-primary-inverse: #fff;
3451
+ --cirth-secondary: #5d6b89;
3452
+ --cirth-secondary-background: #525f7a;
3453
+ --cirth-secondary-border: var(--cirth-secondary-background);
3454
+ --cirth-secondary-underline: rgba(93, 107, 137, .5);
3455
+ --cirth-secondary-hover: #48536b;
3456
+ --cirth-secondary-hover-background: #48536b;
3457
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3458
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3459
+ --cirth-secondary-focus: rgba(93, 107, 137, .25);
3460
+ --cirth-secondary-inverse: #fff;
3461
+ --cirth-contrast: #181c25;
3462
+ --cirth-contrast-background: #181c25;
3463
+ --cirth-contrast-border: var(--cirth-contrast-background);
3464
+ --cirth-contrast-underline: rgba(24, 28, 37, .5);
3465
+ --cirth-contrast-hover: #000;
3466
+ --cirth-contrast-hover-background: #000;
3467
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3468
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
3469
+ --cirth-contrast-focus: rgba(93, 107, 137, .25);
3470
+ --cirth-contrast-inverse: #fff;
3471
+ --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);
3472
+ --cirth-h1-color: #2d3138;
3473
+ --cirth-h2-color: #373c44;
3474
+ --cirth-h3-color: #424751;
3475
+ --cirth-h4-color: #4d535e;
3476
+ --cirth-h5-color: #5c6370;
3477
+ --cirth-h6-color: #646b79;
3478
+ --cirth-mark-background-color: #fde7c0;
3479
+ --cirth-mark-color: #0f1114;
3480
+ --cirth-ins-color: #1d6a54;
3481
+ --cirth-del-color: #883935;
3482
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3483
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3484
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3485
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3486
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3487
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3488
+ --cirth-code-background-color: #f3f5f7;
3489
+ --cirth-code-color: #646b79;
3490
+ --cirth-code-kbd-background-color: var(--cirth-color);
3491
+ --cirth-code-kbd-color: var(--cirth-background-color);
3492
+ --cirth-form-element-background-color: #fbfcfc;
3493
+ --cirth-form-element-selected-background-color: #dfe3eb;
3494
+ --cirth-form-element-border-color: #cfd5e2;
3495
+ --cirth-form-element-color: #23262c;
3496
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3497
+ --cirth-form-element-active-background-color: #fff;
3498
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3499
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3500
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3501
+ --cirth-form-element-invalid-border-color: #b86a6b;
3502
+ --cirth-form-element-invalid-active-border-color: #c84f48;
3503
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3504
+ --cirth-form-element-valid-border-color: #4c9b8a;
3505
+ --cirth-form-element-valid-active-border-color: #279977;
3506
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3507
+ --cirth-switch-background-color: #bfc7d9;
3508
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3509
+ --cirth-switch-color: #fff;
3510
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3511
+ --cirth-range-border-color: #dfe3eb;
3512
+ --cirth-range-active-border-color: #bfc7d9;
3513
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3514
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3515
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3516
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3517
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3518
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3519
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3520
+ --cirth-card-background-color: var(--cirth-background-color);
3521
+ --cirth-card-border-color: var(--cirth-muted-border-color);
3522
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3523
+ --cirth-card-sectioning-background-color: #fbfcfc;
3524
+ --cirth-dropdown-background-color: #fff;
3525
+ --cirth-dropdown-border-color: #eff1f4;
3526
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3527
+ --cirth-dropdown-color: var(--cirth-color);
3528
+ --cirth-dropdown-hover-background-color: #eff1f4;
3529
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3530
+ --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3531
+ --cirth-progress-background-color: #dfe3eb;
3532
+ --cirth-progress-color: var(--cirth-primary-background);
3533
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3534
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3535
+ --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");
3536
+ --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");
3618
3537
  }
3619
3538
 
3620
- [data-tooltip][data-placement="left"]:after {
3621
- border: .3rem solid rgba(0, 0, 0, 0);
3622
- border-left-color: currentColor;
3623
- transform: translate(.3rem, -50%);
3539
+ :host(:not([data-theme="dark"])) {
3540
+ --lightningcss-light: initial;
3541
+ --lightningcss-dark: ;
3542
+ color-scheme: light;
3543
+ --cirth-background-color: #fff;
3544
+ --cirth-color: #373c44;
3545
+ --cirth-text-selection-color: rgba(2, 154, 232, .25);
3546
+ --cirth-muted-color: #646b79;
3547
+ --cirth-muted-border-color: #e7eaf0;
3548
+ --cirth-primary: #0172ad;
3549
+ --cirth-primary-background: #0172ad;
3550
+ --cirth-primary-border: var(--cirth-primary-background);
3551
+ --cirth-primary-underline: rgba(1, 114, 173, .5);
3552
+ --cirth-primary-hover: #015887;
3553
+ --cirth-primary-hover-background: #02659a;
3554
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3555
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3556
+ --cirth-primary-focus: rgba(2, 154, 232, .5);
3557
+ --cirth-primary-inverse: #fff;
3558
+ --cirth-secondary: #5d6b89;
3559
+ --cirth-secondary-background: #525f7a;
3560
+ --cirth-secondary-border: var(--cirth-secondary-background);
3561
+ --cirth-secondary-underline: rgba(93, 107, 137, .5);
3562
+ --cirth-secondary-hover: #48536b;
3563
+ --cirth-secondary-hover-background: #48536b;
3564
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3565
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3566
+ --cirth-secondary-focus: rgba(93, 107, 137, .25);
3567
+ --cirth-secondary-inverse: #fff;
3568
+ --cirth-contrast: #181c25;
3569
+ --cirth-contrast-background: #181c25;
3570
+ --cirth-contrast-border: var(--cirth-contrast-background);
3571
+ --cirth-contrast-underline: rgba(24, 28, 37, .5);
3572
+ --cirth-contrast-hover: #000;
3573
+ --cirth-contrast-hover-background: #000;
3574
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3575
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
3576
+ --cirth-contrast-focus: rgba(93, 107, 137, .25);
3577
+ --cirth-contrast-inverse: #fff;
3578
+ --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);
3579
+ --cirth-h1-color: #2d3138;
3580
+ --cirth-h2-color: #373c44;
3581
+ --cirth-h3-color: #424751;
3582
+ --cirth-h4-color: #4d535e;
3583
+ --cirth-h5-color: #5c6370;
3584
+ --cirth-h6-color: #646b79;
3585
+ --cirth-mark-background-color: #fde7c0;
3586
+ --cirth-mark-color: #0f1114;
3587
+ --cirth-ins-color: #1d6a54;
3588
+ --cirth-del-color: #883935;
3589
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3590
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3591
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3592
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3593
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3594
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3595
+ --cirth-code-background-color: #f3f5f7;
3596
+ --cirth-code-color: #646b79;
3597
+ --cirth-code-kbd-background-color: var(--cirth-color);
3598
+ --cirth-code-kbd-color: var(--cirth-background-color);
3599
+ --cirth-form-element-background-color: #fbfcfc;
3600
+ --cirth-form-element-selected-background-color: #dfe3eb;
3601
+ --cirth-form-element-border-color: #cfd5e2;
3602
+ --cirth-form-element-color: #23262c;
3603
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3604
+ --cirth-form-element-active-background-color: #fff;
3605
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3606
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3607
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3608
+ --cirth-form-element-invalid-border-color: #b86a6b;
3609
+ --cirth-form-element-invalid-active-border-color: #c84f48;
3610
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3611
+ --cirth-form-element-valid-border-color: #4c9b8a;
3612
+ --cirth-form-element-valid-active-border-color: #279977;
3613
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3614
+ --cirth-switch-background-color: #bfc7d9;
3615
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3616
+ --cirth-switch-color: #fff;
3617
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3618
+ --cirth-range-border-color: #dfe3eb;
3619
+ --cirth-range-active-border-color: #bfc7d9;
3620
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3621
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3622
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3623
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3624
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3625
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3626
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3627
+ --cirth-card-background-color: var(--cirth-background-color);
3628
+ --cirth-card-border-color: var(--cirth-muted-border-color);
3629
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3630
+ --cirth-card-sectioning-background-color: #fbfcfc;
3631
+ --cirth-dropdown-background-color: #fff;
3632
+ --cirth-dropdown-border-color: #eff1f4;
3633
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3634
+ --cirth-dropdown-color: var(--cirth-color);
3635
+ --cirth-dropdown-hover-background-color: #eff1f4;
3636
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3637
+ --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3638
+ --cirth-progress-background-color: #dfe3eb;
3639
+ --cirth-progress-color: var(--cirth-primary-background);
3640
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3641
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3642
+ --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");
3643
+ --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");
3624
3644
  }
3625
3645
 
3626
- [data-tooltip][data-placement="right"]:before, [data-tooltip][data-placement="right"]:after {
3627
- inset: 50% auto auto 100%;
3628
- transform: translate(.25rem, -50%);
3646
+ [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3647
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3629
3648
  }
3630
3649
 
3631
- [data-tooltip][data-placement="right"]:after {
3632
- border: .3rem solid rgba(0, 0, 0, 0);
3633
- border-right-color: currentColor;
3634
- transform: translate(-.3rem, -50%);
3650
+ :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3651
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3635
3652
  }
3636
3653
 
3637
- [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3638
- opacity: 1;
3654
+ :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3655
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3639
3656
  }
3640
3657
 
3641
- @media (hover: hover) and (pointer: fine) {
3642
- [data-tooltip]:focus:before, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:hover:after {
3643
- --cirth-tooltip-slide-to: translate(-50%, -.25rem);
3644
- opacity: 0;
3645
- animation-name: tooltip-slide;
3646
- animation-duration: .2s;
3647
- animation-fill-mode: forwards;
3648
- transform: translate(-50%, .75rem);
3649
- }
3650
-
3651
- [data-tooltip]:focus:after, [data-tooltip]:hover:after {
3652
- --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
3653
- animation-name: tooltip-caret-slide;
3654
- transform: translate(-50%, -.25rem);
3658
+ @media only screen and (prefers-color-scheme: dark) {
3659
+ :root:not([data-theme]) {
3660
+ --lightningcss-light: ;
3661
+ --lightningcss-dark: initial;
3662
+ color-scheme: dark;
3663
+ --cirth-background-color: #13171f;
3664
+ --cirth-color: #c2c7d0;
3665
+ --cirth-text-selection-color: rgba(1, 170, 255, .19);
3666
+ --cirth-muted-color: #7b8495;
3667
+ --cirth-muted-border-color: #202632;
3668
+ --cirth-primary: #01aaff;
3669
+ --cirth-primary-background: #0172ad;
3670
+ --cirth-primary-border: var(--cirth-primary-background);
3671
+ --cirth-primary-underline: rgba(1, 170, 255, .5);
3672
+ --cirth-primary-hover: #79c0ff;
3673
+ --cirth-primary-hover-background: #017fc0;
3674
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3675
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3676
+ --cirth-primary-focus: rgba(1, 170, 255, .376);
3677
+ --cirth-primary-inverse: #fff;
3678
+ --cirth-secondary: #969eaf;
3679
+ --cirth-secondary-background: #525f7a;
3680
+ --cirth-secondary-border: var(--cirth-secondary-background);
3681
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3682
+ --cirth-secondary-hover: #b3b9c5;
3683
+ --cirth-secondary-hover-background: #5d6b89;
3684
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3685
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3686
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3687
+ --cirth-secondary-inverse: #fff;
3688
+ --cirth-contrast: #dfe3eb;
3689
+ --cirth-contrast-background: #eff1f4;
3690
+ --cirth-contrast-border: var(--cirth-contrast-background);
3691
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3692
+ --cirth-contrast-hover: #fff;
3693
+ --cirth-contrast-hover-background: #fff;
3694
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3695
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3696
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3697
+ --cirth-contrast-inverse: #000;
3698
+ --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);
3699
+ --cirth-h1-color: #f0f1f3;
3700
+ --cirth-h2-color: #e0e3e7;
3701
+ --cirth-h3-color: #c2c7d0;
3702
+ --cirth-h4-color: #b3b9c5;
3703
+ --cirth-h5-color: #a4acba;
3704
+ --cirth-h6-color: #8891a4;
3705
+ --cirth-mark-background-color: #014063;
3706
+ --cirth-mark-color: #fff;
3707
+ --cirth-ins-color: #62af9a;
3708
+ --cirth-del-color: #ce7e7b;
3709
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3710
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3711
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3712
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3713
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3714
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3715
+ --cirth-code-background-color: #1a1f28;
3716
+ --cirth-code-color: #8891a4;
3717
+ --cirth-code-kbd-background-color: var(--cirth-color);
3718
+ --cirth-code-kbd-color: var(--cirth-background-color);
3719
+ --cirth-form-element-background-color: #1c212c;
3720
+ --cirth-form-element-selected-background-color: #2a3140;
3721
+ --cirth-form-element-border-color: #2a3140;
3722
+ --cirth-form-element-color: #e0e3e7;
3723
+ --cirth-form-element-placeholder-color: #8891a4;
3724
+ --cirth-form-element-active-background-color: #1a1f28;
3725
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3726
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3727
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3728
+ --cirth-form-element-invalid-border-color: #964a50;
3729
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3730
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3731
+ --cirth-form-element-valid-border-color: #2a7b6f;
3732
+ --cirth-form-element-valid-active-border-color: #16896a;
3733
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3734
+ --cirth-switch-background-color: #333c4e;
3735
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3736
+ --cirth-switch-color: #fff;
3737
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3738
+ --cirth-range-border-color: #202632;
3739
+ --cirth-range-active-border-color: #2a3140;
3740
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3741
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3742
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3743
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3744
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3745
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3746
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3747
+ --cirth-card-background-color: #181c25;
3748
+ --cirth-card-border-color: var(--cirth-card-background-color);
3749
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3750
+ --cirth-card-sectioning-background-color: #1a1f28;
3751
+ --cirth-dropdown-background-color: #181c25;
3752
+ --cirth-dropdown-border-color: #202632;
3753
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3754
+ --cirth-dropdown-color: var(--cirth-color);
3755
+ --cirth-dropdown-hover-background-color: #202632;
3756
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3757
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3758
+ --cirth-progress-background-color: #202632;
3759
+ --cirth-progress-color: var(--cirth-primary-background);
3760
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3761
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3762
+ --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");
3763
+ --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");
3655
3764
  }
3656
3765
 
3657
- [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 {
3658
- --cirth-tooltip-slide-to: translate(-50%, .25rem);
3659
- animation-name: tooltip-slide;
3660
- transform: translate(-50%, -.75rem);
3766
+ :host(:not([data-theme])) {
3767
+ --lightningcss-light: ;
3768
+ --lightningcss-dark: initial;
3769
+ color-scheme: dark;
3770
+ --cirth-background-color: #13171f;
3771
+ --cirth-color: #c2c7d0;
3772
+ --cirth-text-selection-color: rgba(1, 170, 255, .19);
3773
+ --cirth-muted-color: #7b8495;
3774
+ --cirth-muted-border-color: #202632;
3775
+ --cirth-primary: #01aaff;
3776
+ --cirth-primary-background: #0172ad;
3777
+ --cirth-primary-border: var(--cirth-primary-background);
3778
+ --cirth-primary-underline: rgba(1, 170, 255, .5);
3779
+ --cirth-primary-hover: #79c0ff;
3780
+ --cirth-primary-hover-background: #017fc0;
3781
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3782
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3783
+ --cirth-primary-focus: rgba(1, 170, 255, .376);
3784
+ --cirth-primary-inverse: #fff;
3785
+ --cirth-secondary: #969eaf;
3786
+ --cirth-secondary-background: #525f7a;
3787
+ --cirth-secondary-border: var(--cirth-secondary-background);
3788
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3789
+ --cirth-secondary-hover: #b3b9c5;
3790
+ --cirth-secondary-hover-background: #5d6b89;
3791
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3792
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3793
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3794
+ --cirth-secondary-inverse: #fff;
3795
+ --cirth-contrast: #dfe3eb;
3796
+ --cirth-contrast-background: #eff1f4;
3797
+ --cirth-contrast-border: var(--cirth-contrast-background);
3798
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3799
+ --cirth-contrast-hover: #fff;
3800
+ --cirth-contrast-hover-background: #fff;
3801
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3802
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3803
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3804
+ --cirth-contrast-inverse: #000;
3805
+ --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);
3806
+ --cirth-h1-color: #f0f1f3;
3807
+ --cirth-h2-color: #e0e3e7;
3808
+ --cirth-h3-color: #c2c7d0;
3809
+ --cirth-h4-color: #b3b9c5;
3810
+ --cirth-h5-color: #a4acba;
3811
+ --cirth-h6-color: #8891a4;
3812
+ --cirth-mark-background-color: #014063;
3813
+ --cirth-mark-color: #fff;
3814
+ --cirth-ins-color: #62af9a;
3815
+ --cirth-del-color: #ce7e7b;
3816
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3817
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3818
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3819
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3820
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3821
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3822
+ --cirth-code-background-color: #1a1f28;
3823
+ --cirth-code-color: #8891a4;
3824
+ --cirth-code-kbd-background-color: var(--cirth-color);
3825
+ --cirth-code-kbd-color: var(--cirth-background-color);
3826
+ --cirth-form-element-background-color: #1c212c;
3827
+ --cirth-form-element-selected-background-color: #2a3140;
3828
+ --cirth-form-element-border-color: #2a3140;
3829
+ --cirth-form-element-color: #e0e3e7;
3830
+ --cirth-form-element-placeholder-color: #8891a4;
3831
+ --cirth-form-element-active-background-color: #1a1f28;
3832
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3833
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3834
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3835
+ --cirth-form-element-invalid-border-color: #964a50;
3836
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3837
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3838
+ --cirth-form-element-valid-border-color: #2a7b6f;
3839
+ --cirth-form-element-valid-active-border-color: #16896a;
3840
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3841
+ --cirth-switch-background-color: #333c4e;
3842
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3843
+ --cirth-switch-color: #fff;
3844
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3845
+ --cirth-range-border-color: #202632;
3846
+ --cirth-range-active-border-color: #2a3140;
3847
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3848
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3849
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3850
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3851
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3852
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3853
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3854
+ --cirth-card-background-color: #181c25;
3855
+ --cirth-card-border-color: var(--cirth-card-background-color);
3856
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3857
+ --cirth-card-sectioning-background-color: #1a1f28;
3858
+ --cirth-dropdown-background-color: #181c25;
3859
+ --cirth-dropdown-border-color: #202632;
3860
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3861
+ --cirth-dropdown-color: var(--cirth-color);
3862
+ --cirth-dropdown-hover-background-color: #202632;
3863
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3864
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3865
+ --cirth-progress-background-color: #202632;
3866
+ --cirth-progress-color: var(--cirth-primary-background);
3867
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3868
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3869
+ --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");
3870
+ --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");
3661
3871
  }
3662
3872
 
3663
- [data-tooltip][data-placement="bottom"]:focus:after, [data-tooltip][data-placement="bottom"]:hover:after {
3664
- --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
3665
- animation-name: tooltip-caret-slide;
3666
- transform: translate(-50%, -.5rem);
3873
+ :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3874
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3667
3875
  }
3668
3876
 
3669
- [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 {
3670
- --cirth-tooltip-slide-to: translate(-.25rem, -50%);
3671
- animation-name: tooltip-slide;
3672
- transform: translate(.75rem, -50%);
3877
+ :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3878
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3673
3879
  }
3674
3880
 
3675
- [data-tooltip][data-placement="left"]:focus:after, [data-tooltip][data-placement="left"]:hover:after {
3676
- --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
3677
- animation-name: tooltip-caret-slide;
3678
- transform: translate(.05rem, -50%);
3881
+ :root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
3882
+ filter: brightness(0);
3679
3883
  }
3680
3884
 
3681
- [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 {
3682
- --cirth-tooltip-slide-to: translate(.25rem, -50%);
3683
- animation-name: tooltip-slide;
3684
- transform: translate(-.75rem, -50%);
3885
+ :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after {
3886
+ filter: brightness(0);
3685
3887
  }
3686
3888
 
3687
- [data-tooltip][data-placement="right"]:focus:after, [data-tooltip][data-placement="right"]:hover:after {
3688
- --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
3689
- animation-name: tooltip-caret-slide;
3690
- transform: translate(-.05rem, -50%);
3889
+ :root:not([data-theme]) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
3890
+ filter: brightness(0);
3691
3891
  }
3692
- }
3693
3892
 
3694
- @keyframes tooltip-slide {
3695
- to {
3696
- transform: var(--cirth-tooltip-slide-to);
3697
- opacity: 1;
3893
+ :host(:not([data-theme])) [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
3894
+ filter: brightness(0);
3698
3895
  }
3699
3896
  }
3700
3897
 
3701
- @keyframes tooltip-caret-slide {
3702
- 50% {
3703
- opacity: 0;
3704
- }
3705
-
3706
- to {
3707
- transform: var(--cirth-tooltip-caret-slide-to);
3708
- opacity: 1;
3709
- }
3898
+ [data-theme="dark"] {
3899
+ --lightningcss-light: ;
3900
+ --lightningcss-dark: initial;
3901
+ color-scheme: dark;
3902
+ --cirth-background-color: #13171f;
3903
+ --cirth-color: #c2c7d0;
3904
+ --cirth-text-selection-color: rgba(1, 170, 255, .19);
3905
+ --cirth-muted-color: #7b8495;
3906
+ --cirth-muted-border-color: #202632;
3907
+ --cirth-primary: #01aaff;
3908
+ --cirth-primary-background: #0172ad;
3909
+ --cirth-primary-border: var(--cirth-primary-background);
3910
+ --cirth-primary-underline: rgba(1, 170, 255, .5);
3911
+ --cirth-primary-hover: #79c0ff;
3912
+ --cirth-primary-hover-background: #017fc0;
3913
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3914
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3915
+ --cirth-primary-focus: rgba(1, 170, 255, .376);
3916
+ --cirth-primary-inverse: #fff;
3917
+ --cirth-secondary: #969eaf;
3918
+ --cirth-secondary-background: #525f7a;
3919
+ --cirth-secondary-border: var(--cirth-secondary-background);
3920
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3921
+ --cirth-secondary-hover: #b3b9c5;
3922
+ --cirth-secondary-hover-background: #5d6b89;
3923
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3924
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3925
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3926
+ --cirth-secondary-inverse: #fff;
3927
+ --cirth-contrast: #dfe3eb;
3928
+ --cirth-contrast-background: #eff1f4;
3929
+ --cirth-contrast-border: var(--cirth-contrast-background);
3930
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3931
+ --cirth-contrast-hover: #fff;
3932
+ --cirth-contrast-hover-background: #fff;
3933
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3934
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3935
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3936
+ --cirth-contrast-inverse: #000;
3937
+ --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);
3938
+ --cirth-h1-color: #f0f1f3;
3939
+ --cirth-h2-color: #e0e3e7;
3940
+ --cirth-h3-color: #c2c7d0;
3941
+ --cirth-h4-color: #b3b9c5;
3942
+ --cirth-h5-color: #a4acba;
3943
+ --cirth-h6-color: #8891a4;
3944
+ --cirth-mark-background-color: #014063;
3945
+ --cirth-mark-color: #fff;
3946
+ --cirth-ins-color: #62af9a;
3947
+ --cirth-del-color: #ce7e7b;
3948
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3949
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3950
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3951
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3952
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3953
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3954
+ --cirth-code-background-color: #1a1f28;
3955
+ --cirth-code-color: #8891a4;
3956
+ --cirth-code-kbd-background-color: var(--cirth-color);
3957
+ --cirth-code-kbd-color: var(--cirth-background-color);
3958
+ --cirth-form-element-background-color: #1c212c;
3959
+ --cirth-form-element-selected-background-color: #2a3140;
3960
+ --cirth-form-element-border-color: #2a3140;
3961
+ --cirth-form-element-color: #e0e3e7;
3962
+ --cirth-form-element-placeholder-color: #8891a4;
3963
+ --cirth-form-element-active-background-color: #1a1f28;
3964
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3965
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3966
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3967
+ --cirth-form-element-invalid-border-color: #964a50;
3968
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3969
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3970
+ --cirth-form-element-valid-border-color: #2a7b6f;
3971
+ --cirth-form-element-valid-active-border-color: #16896a;
3972
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3973
+ --cirth-switch-background-color: #333c4e;
3974
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3975
+ --cirth-switch-color: #fff;
3976
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3977
+ --cirth-range-border-color: #202632;
3978
+ --cirth-range-active-border-color: #2a3140;
3979
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3980
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3981
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3982
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3983
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3984
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3985
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3986
+ --cirth-card-background-color: #181c25;
3987
+ --cirth-card-border-color: var(--cirth-card-background-color);
3988
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3989
+ --cirth-card-sectioning-background-color: #1a1f28;
3990
+ --cirth-dropdown-background-color: #181c25;
3991
+ --cirth-dropdown-border-color: #202632;
3992
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3993
+ --cirth-dropdown-color: var(--cirth-color);
3994
+ --cirth-dropdown-hover-background-color: #202632;
3995
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3996
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3997
+ --cirth-progress-background-color: #202632;
3998
+ --cirth-progress-color: var(--cirth-primary-background);
3999
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
4000
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
4001
+ --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");
4002
+ --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");
3710
4003
  }
3711
4004
 
3712
- [aria-controls] {
3713
- cursor: pointer;
4005
+ [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
4006
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3714
4007
  }
3715
4008
 
3716
- [aria-disabled="true"], [disabled] {
3717
- cursor: not-allowed;
4009
+ [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
4010
+ filter: brightness(0);
3718
4011
  }
3719
4012
 
3720
- [aria-hidden="false"][hidden] {
3721
- display: initial;
4013
+ [data-theme="dark"] [aria-busy="true"]:not(:is(input, select, textarea)).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
4014
+ filter: brightness(0);
3722
4015
  }
3723
4016
 
3724
- [aria-hidden="false"][hidden]:not(:focus) {
3725
- clip: rect(0, 0, 0, 0);
3726
- position: absolute;
4017
+ progress {
4018
+ accent-color: var(--cirth-primary);
3727
4019
  }
3728
4020
 
3729
- a, area, button, input, label, select, summary, textarea, [tabindex] {
3730
- -ms-touch-action: manipulation;
4021
+ [type="checkbox"] {
4022
+ accent-color: var(--cirth-primary);
3731
4023
  }
3732
4024
 
3733
- [dir="rtl"] {
3734
- direction: rtl;
4025
+ [type="radio"] {
4026
+ accent-color: var(--cirth-primary);
3735
4027
  }
3736
4028
 
3737
- @media (prefers-reduced-motion: reduce) {
3738
- :not([aria-busy="true"]), :not([aria-busy="true"]):before, :not([aria-busy="true"]):after {
3739
- background-attachment: initial !important;
3740
- scroll-behavior: auto !important;
3741
- transition-duration: 0s !important;
3742
- transition-delay: 0s !important;
3743
- animation-duration: 1ms !important;
3744
- animation-iteration-count: 1 !important;
3745
- animation-delay: -1ms !important;
3746
- }
4029
+ [type="range"] {
4030
+ accent-color: var(--cirth-primary);
3747
4031
  }