@cirthcss/cirth 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +117 -15
  2. package/dist/cirth.classless.css +2123 -1861
  3. package/dist/cirth.classless.jade.css +2123 -1861
  4. package/dist/cirth.classless.jade.min.css +1 -1
  5. package/dist/cirth.classless.min.css +1 -1
  6. package/dist/cirth.classless.scoped.css +1302 -1157
  7. package/dist/cirth.classless.scoped.jade.css +1302 -1157
  8. package/dist/cirth.classless.scoped.jade.min.css +1 -1
  9. package/dist/cirth.classless.scoped.min.css +1 -1
  10. package/dist/cirth.classless.scoped.slate.css +1302 -1157
  11. package/dist/cirth.classless.scoped.slate.min.css +1 -1
  12. package/dist/cirth.classless.slate.css +2123 -1861
  13. package/dist/cirth.classless.slate.min.css +1 -1
  14. package/dist/cirth.css +2088 -1804
  15. package/dist/cirth.jade.css +2088 -1804
  16. package/dist/cirth.jade.min.css +1 -1
  17. package/dist/cirth.min.css +1 -1
  18. package/dist/cirth.scoped.css +1569 -1402
  19. package/dist/cirth.scoped.jade.css +1569 -1402
  20. package/dist/cirth.scoped.jade.min.css +1 -1
  21. package/dist/cirth.scoped.min.css +1 -1
  22. package/dist/cirth.scoped.slate.css +1569 -1402
  23. package/dist/cirth.scoped.slate.min.css +1 -1
  24. package/dist/cirth.slate.css +2088 -1804
  25. package/dist/cirth.slate.min.css +1 -1
  26. package/package.json +26 -4
  27. package/dist/cirth.amber.css +0 -3747
  28. package/dist/cirth.amber.min.css +0 -1
  29. package/dist/cirth.blue.css +0 -3747
  30. package/dist/cirth.blue.min.css +0 -1
  31. package/dist/cirth.classless.amber.css +0 -3245
  32. package/dist/cirth.classless.amber.min.css +0 -1
  33. package/dist/cirth.classless.blue.css +0 -3245
  34. package/dist/cirth.classless.blue.min.css +0 -1
  35. package/dist/cirth.classless.cyan.css +0 -3245
  36. package/dist/cirth.classless.cyan.min.css +0 -1
  37. package/dist/cirth.classless.fuchsia.css +0 -3245
  38. package/dist/cirth.classless.fuchsia.min.css +0 -1
  39. package/dist/cirth.classless.green.css +0 -3245
  40. package/dist/cirth.classless.green.min.css +0 -1
  41. package/dist/cirth.classless.grey.css +0 -3245
  42. package/dist/cirth.classless.grey.min.css +0 -1
  43. package/dist/cirth.classless.indigo.css +0 -3245
  44. package/dist/cirth.classless.indigo.min.css +0 -1
  45. package/dist/cirth.classless.lime.css +0 -3245
  46. package/dist/cirth.classless.lime.min.css +0 -1
  47. package/dist/cirth.classless.orange.css +0 -3245
  48. package/dist/cirth.classless.orange.min.css +0 -1
  49. package/dist/cirth.classless.pink.css +0 -3245
  50. package/dist/cirth.classless.pink.min.css +0 -1
  51. package/dist/cirth.classless.pumpkin.css +0 -3245
  52. package/dist/cirth.classless.pumpkin.min.css +0 -1
  53. package/dist/cirth.classless.purple.css +0 -3245
  54. package/dist/cirth.classless.purple.min.css +0 -1
  55. package/dist/cirth.classless.red.css +0 -3245
  56. package/dist/cirth.classless.red.min.css +0 -1
  57. package/dist/cirth.classless.sand.css +0 -3245
  58. package/dist/cirth.classless.sand.min.css +0 -1
  59. package/dist/cirth.classless.scoped.amber.css +0 -2959
  60. package/dist/cirth.classless.scoped.amber.min.css +0 -1
  61. package/dist/cirth.classless.scoped.blue.css +0 -2959
  62. package/dist/cirth.classless.scoped.blue.min.css +0 -1
  63. package/dist/cirth.classless.scoped.cyan.css +0 -2959
  64. package/dist/cirth.classless.scoped.cyan.min.css +0 -1
  65. package/dist/cirth.classless.scoped.fuchsia.css +0 -2959
  66. package/dist/cirth.classless.scoped.fuchsia.min.css +0 -1
  67. package/dist/cirth.classless.scoped.green.css +0 -2959
  68. package/dist/cirth.classless.scoped.green.min.css +0 -1
  69. package/dist/cirth.classless.scoped.grey.css +0 -2959
  70. package/dist/cirth.classless.scoped.grey.min.css +0 -1
  71. package/dist/cirth.classless.scoped.indigo.css +0 -2959
  72. package/dist/cirth.classless.scoped.indigo.min.css +0 -1
  73. package/dist/cirth.classless.scoped.lime.css +0 -2959
  74. package/dist/cirth.classless.scoped.lime.min.css +0 -1
  75. package/dist/cirth.classless.scoped.orange.css +0 -2959
  76. package/dist/cirth.classless.scoped.orange.min.css +0 -1
  77. package/dist/cirth.classless.scoped.pink.css +0 -2959
  78. package/dist/cirth.classless.scoped.pink.min.css +0 -1
  79. package/dist/cirth.classless.scoped.pumpkin.css +0 -2959
  80. package/dist/cirth.classless.scoped.pumpkin.min.css +0 -1
  81. package/dist/cirth.classless.scoped.purple.css +0 -2959
  82. package/dist/cirth.classless.scoped.purple.min.css +0 -1
  83. package/dist/cirth.classless.scoped.red.css +0 -2959
  84. package/dist/cirth.classless.scoped.red.min.css +0 -1
  85. package/dist/cirth.classless.scoped.sand.css +0 -2959
  86. package/dist/cirth.classless.scoped.sand.min.css +0 -1
  87. package/dist/cirth.classless.scoped.violet.css +0 -2959
  88. package/dist/cirth.classless.scoped.violet.min.css +0 -1
  89. package/dist/cirth.classless.scoped.yellow.css +0 -2959
  90. package/dist/cirth.classless.scoped.yellow.min.css +0 -1
  91. package/dist/cirth.classless.scoped.zinc.css +0 -2959
  92. package/dist/cirth.classless.scoped.zinc.min.css +0 -1
  93. package/dist/cirth.classless.violet.css +0 -3245
  94. package/dist/cirth.classless.violet.min.css +0 -1
  95. package/dist/cirth.classless.yellow.css +0 -3245
  96. package/dist/cirth.classless.yellow.min.css +0 -1
  97. package/dist/cirth.classless.zinc.css +0 -3245
  98. package/dist/cirth.classless.zinc.min.css +0 -1
  99. package/dist/cirth.cyan.css +0 -3747
  100. package/dist/cirth.cyan.min.css +0 -1
  101. package/dist/cirth.fuchsia.css +0 -3747
  102. package/dist/cirth.fuchsia.min.css +0 -1
  103. package/dist/cirth.green.css +0 -3747
  104. package/dist/cirth.green.min.css +0 -1
  105. package/dist/cirth.grey.css +0 -3747
  106. package/dist/cirth.grey.min.css +0 -1
  107. package/dist/cirth.indigo.css +0 -3747
  108. package/dist/cirth.indigo.min.css +0 -1
  109. package/dist/cirth.lime.css +0 -3747
  110. package/dist/cirth.lime.min.css +0 -1
  111. package/dist/cirth.orange.css +0 -3747
  112. package/dist/cirth.orange.min.css +0 -1
  113. package/dist/cirth.pink.css +0 -3747
  114. package/dist/cirth.pink.min.css +0 -1
  115. package/dist/cirth.pumpkin.css +0 -3747
  116. package/dist/cirth.pumpkin.min.css +0 -1
  117. package/dist/cirth.purple.css +0 -3747
  118. package/dist/cirth.purple.min.css +0 -1
  119. package/dist/cirth.red.css +0 -3747
  120. package/dist/cirth.red.min.css +0 -1
  121. package/dist/cirth.sand.css +0 -3747
  122. package/dist/cirth.sand.min.css +0 -1
  123. package/dist/cirth.scoped.amber.css +0 -3467
  124. package/dist/cirth.scoped.amber.min.css +0 -1
  125. package/dist/cirth.scoped.blue.css +0 -3467
  126. package/dist/cirth.scoped.blue.min.css +0 -1
  127. package/dist/cirth.scoped.cyan.css +0 -3467
  128. package/dist/cirth.scoped.cyan.min.css +0 -1
  129. package/dist/cirth.scoped.fuchsia.css +0 -3467
  130. package/dist/cirth.scoped.fuchsia.min.css +0 -1
  131. package/dist/cirth.scoped.green.css +0 -3467
  132. package/dist/cirth.scoped.green.min.css +0 -1
  133. package/dist/cirth.scoped.grey.css +0 -3467
  134. package/dist/cirth.scoped.grey.min.css +0 -1
  135. package/dist/cirth.scoped.indigo.css +0 -3467
  136. package/dist/cirth.scoped.indigo.min.css +0 -1
  137. package/dist/cirth.scoped.lime.css +0 -3467
  138. package/dist/cirth.scoped.lime.min.css +0 -1
  139. package/dist/cirth.scoped.orange.css +0 -3467
  140. package/dist/cirth.scoped.orange.min.css +0 -1
  141. package/dist/cirth.scoped.pink.css +0 -3467
  142. package/dist/cirth.scoped.pink.min.css +0 -1
  143. package/dist/cirth.scoped.pumpkin.css +0 -3467
  144. package/dist/cirth.scoped.pumpkin.min.css +0 -1
  145. package/dist/cirth.scoped.purple.css +0 -3467
  146. package/dist/cirth.scoped.purple.min.css +0 -1
  147. package/dist/cirth.scoped.red.css +0 -3467
  148. package/dist/cirth.scoped.red.min.css +0 -1
  149. package/dist/cirth.scoped.sand.css +0 -3467
  150. package/dist/cirth.scoped.sand.min.css +0 -1
  151. package/dist/cirth.scoped.violet.css +0 -3467
  152. package/dist/cirth.scoped.violet.min.css +0 -1
  153. package/dist/cirth.scoped.yellow.css +0 -3467
  154. package/dist/cirth.scoped.yellow.min.css +0 -1
  155. package/dist/cirth.scoped.zinc.css +0 -3467
  156. package/dist/cirth.scoped.zinc.min.css +0 -1
  157. package/dist/cirth.violet.css +0 -3747
  158. package/dist/cirth.violet.min.css +0 -1
  159. package/dist/cirth.yellow.css +0 -3747
  160. package/dist/cirth.yellow.min.css +0 -1
  161. package/dist/cirth.zinc.css +0 -3747
  162. package/dist/cirth.zinc.min.css +0 -1
@@ -1,862 +1,268 @@
1
+ .cirth, .cirth *, .cirth :before, .cirth :after {
2
+ box-sizing: border-box;
3
+ background-repeat: no-repeat;
4
+ }
5
+
6
+ .cirth:before, .cirth:after, .cirth :before, .cirth :after {
7
+ -webkit-text-decoration: inherit;
8
+ text-decoration: inherit;
9
+ vertical-align: inherit;
10
+ }
11
+
1
12
  .cirth {
2
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
4
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--cirth-font-family-emoji);
5
- --cirth-font-family: var(--cirth-font-family-sans-serif);
6
- --cirth-line-height: 1.5;
7
- --cirth-font-weight: 400;
8
- --cirth-font-size: 100%;
9
- --cirth-text-underline-offset: .1rem;
10
- --cirth-border-radius: .25rem;
11
- --cirth-border-width: .0625rem;
12
- --cirth-outline-width: .125rem;
13
- --cirth-transition: .2s ease-in-out;
14
- --cirth-spacing: 1rem;
15
- --cirth-typography-spacing-vertical: 1rem;
16
- --cirth-block-spacing-vertical: var(--cirth-spacing);
17
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
18
- --cirth-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");
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
+ width: 100%;
28
+ margin: 0;
29
+ }
30
+
31
+ .cirth main {
32
+ display: block;
33
+ }
34
+
35
+ .cirth > header, .cirth > main, .cirth > footer {
36
+ padding-block: var(--cirth-block-spacing-vertical);
37
+ }
38
+
39
+ .cirth section {
40
+ margin-bottom: var(--cirth-block-spacing-vertical);
41
+ }
42
+
43
+ .container, .container-fluid {
44
+ width: 100%;
45
+ padding-right: var(--cirth-spacing);
46
+ padding-left: var(--cirth-spacing);
47
+ margin-left: auto;
48
+ margin-right: auto;
39
49
  }
40
50
 
41
51
  @media (width >= 576px) {
42
- .cirth {
43
- --cirth-font-size: 106.25%;
52
+ .container {
53
+ max-width: 510px;
54
+ padding-left: 0;
55
+ padding-right: 0;
44
56
  }
45
57
  }
46
58
 
47
59
  @media (width >= 768px) {
48
- .cirth {
49
- --cirth-font-size: 112.5%;
60
+ .container {
61
+ max-width: 700px;
50
62
  }
51
63
  }
52
64
 
53
65
  @media (width >= 1024px) {
54
- .cirth {
55
- --cirth-font-size: 118.75%;
66
+ .container {
67
+ max-width: 950px;
56
68
  }
57
69
  }
58
70
 
59
71
  @media (width >= 1280px) {
60
- .cirth {
61
- --cirth-font-size: 125%;
72
+ .container {
73
+ max-width: 1200px;
62
74
  }
63
75
  }
64
76
 
65
77
  @media (width >= 1536px) {
66
- .cirth {
67
- --cirth-font-size: 131.25%;
78
+ .container {
79
+ max-width: 1450px;
68
80
  }
69
81
  }
70
82
 
71
- .cirth a, .cirth a.secondary, .cirth a.contrast {
72
- --cirth-text-decoration: underline;
83
+ .grid {
84
+ grid-column-gap: var(--cirth-grid-column-gap);
85
+ grid-row-gap: var(--cirth-grid-row-gap);
86
+ grid-template-columns: 1fr;
87
+ display: grid;
73
88
  }
74
89
 
75
- .cirth small {
76
- --cirth-font-size: .875em;
90
+ @media (width >= 768px) {
91
+ .grid {
92
+ grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
93
+ }
77
94
  }
78
95
 
79
- .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
80
- --cirth-font-weight: 700;
96
+ .grid > * {
97
+ min-width: 0;
81
98
  }
82
99
 
83
- .cirth h1 {
84
- --cirth-font-size: 2rem;
85
- --cirth-line-height: 1.125;
86
- --cirth-typography-spacing-top: 3rem;
100
+ .cirth .overflow-auto {
101
+ overflow: auto;
87
102
  }
88
103
 
89
- .cirth h2 {
90
- --cirth-font-size: 1.75rem;
91
- --cirth-line-height: 1.15;
92
- --cirth-typography-spacing-top: 2.625rem;
104
+ .cirth b, .cirth strong {
105
+ font-weight: bolder;
93
106
  }
94
107
 
95
- .cirth h3 {
96
- --cirth-font-size: 1.5rem;
97
- --cirth-line-height: 1.175;
98
- --cirth-typography-spacing-top: 2.25rem;
108
+ .cirth sub, .cirth sup {
109
+ vertical-align: baseline;
110
+ font-size: .75em;
111
+ line-height: 0;
112
+ position: relative;
99
113
  }
100
114
 
101
- .cirth h4 {
102
- --cirth-font-size: 1.25rem;
103
- --cirth-line-height: 1.2;
104
- --cirth-typography-spacing-top: 1.874rem;
115
+ .cirth sub {
116
+ bottom: -.25em;
105
117
  }
106
118
 
107
- .cirth h5 {
108
- --cirth-font-size: 1.125rem;
109
- --cirth-line-height: 1.225;
110
- --cirth-typography-spacing-top: 1.6875rem;
119
+ .cirth sup {
120
+ top: -.5em;
111
121
  }
112
122
 
113
- .cirth h6 {
114
- --cirth-font-size: 1rem;
115
- --cirth-line-height: 1.25;
116
- --cirth-typography-spacing-top: 1.5rem;
123
+ .cirth address, .cirth blockquote, .cirth dl, .cirth ol, .cirth p, .cirth pre, .cirth table, .cirth ul {
124
+ margin-top: 0;
125
+ margin-bottom: var(--cirth-typography-spacing-vertical);
126
+ color: var(--cirth-color);
127
+ font-style: normal;
128
+ font-weight: var(--cirth-font-weight);
117
129
  }
118
130
 
119
- .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
120
- --cirth-font-weight: 600;
121
- --cirth-border-width: .1875rem;
131
+ .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
132
+ margin-top: 0;
133
+ margin-bottom: var(--cirth-typography-spacing-vertical);
134
+ color: var(--cirth-color);
135
+ font-weight: var(--cirth-font-weight);
136
+ font-size: var(--cirth-font-size);
137
+ line-height: var(--cirth-line-height);
138
+ font-family: var(--cirth-font-family);
122
139
  }
123
140
 
124
- .cirth pre, .cirth code, .cirth kbd, .cirth samp {
125
- --cirth-font-family: var(--cirth-font-family-monospace);
141
+ .cirth h1 {
142
+ --cirth-color: var(--cirth-h1-color);
126
143
  }
127
144
 
128
- .cirth kbd {
129
- --cirth-font-weight: bolder;
145
+ .cirth h2 {
146
+ --cirth-color: var(--cirth-h2-color);
130
147
  }
131
148
 
132
- .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
133
- --cirth-outline-width: .0625rem;
149
+ .cirth h3 {
150
+ --cirth-color: var(--cirth-h3-color);
134
151
  }
135
152
 
136
- .cirth :where(select, textarea) {
137
- --cirth-outline-width: .0625rem;
153
+ .cirth h4 {
154
+ --cirth-color: var(--cirth-h4-color);
138
155
  }
139
156
 
140
- .cirth [type="search"] {
141
- --cirth-border-radius: 5rem;
157
+ .cirth h5 {
158
+ --cirth-color: var(--cirth-h5-color);
142
159
  }
143
160
 
144
- .cirth [type="checkbox"] {
145
- --cirth-border-width: .125rem;
161
+ .cirth h6 {
162
+ --cirth-color: var(--cirth-h6-color);
146
163
  }
147
164
 
148
- .cirth [type="radio"] {
149
- --cirth-border-width: .125rem;
165
+ .cirth :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
166
+ margin-top: var(--cirth-typography-spacing-top);
150
167
  }
151
168
 
152
- .cirth [type="checkbox"][role="switch"] {
153
- --cirth-border-width: .1875rem;
169
+ .cirth p, .cirth hgroup {
170
+ margin-bottom: var(--cirth-typography-spacing-vertical);
154
171
  }
155
172
 
156
- .cirth details.dropdown summary:not([role="button"]) {
157
- --cirth-outline-width: .0625rem;
173
+ .cirth hgroup > * {
174
+ margin-top: 0;
175
+ margin-bottom: 0;
158
176
  }
159
177
 
160
- .cirth nav details.dropdown summary:focus-visible {
161
- --cirth-outline-width: .125rem;
178
+ .cirth hgroup > :not(:first-child):last-child {
179
+ --cirth-color: var(--cirth-muted-color);
180
+ --cirth-font-weight: unset;
181
+ font-size: var(--cirth-font-size-md);
162
182
  }
163
183
 
164
- .cirth [role="search"] {
165
- --cirth-border-radius: 5rem;
184
+ .cirth :where(ol, ul) li {
185
+ margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
166
186
  }
167
187
 
168
- .cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
169
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
188
+ .cirth :where(dl, ol, ul) :where(dl, ol, ul) {
189
+ margin: 0;
190
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
170
191
  }
171
192
 
172
- .cirth [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
173
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
193
+ .cirth ul li {
194
+ list-style: square;
174
195
  }
175
196
 
176
- .cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
177
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
197
+ .cirth mark {
198
+ background-color: var(--cirth-mark-background-color);
199
+ color: var(--cirth-mark-color);
200
+ vertical-align: baseline;
201
+ padding: .125rem .25rem;
178
202
  }
179
203
 
180
- .cirth [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
181
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
204
+ .cirth blockquote {
205
+ margin: var(--cirth-typography-spacing-vertical) 0;
206
+ padding: var(--cirth-spacing);
207
+ border-right: none;
208
+ border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
209
+ border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
210
+ border-inline-end: none;
211
+ display: block;
182
212
  }
183
213
 
184
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
185
- --cirth-form-element-spacing-horizontal: 2rem;
214
+ .cirth blockquote footer {
215
+ margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
216
+ color: var(--cirth-blockquote-footer-color);
186
217
  }
187
218
 
188
- .cirth [role="search"] [type="submit"] {
189
- --cirth-form-element-spacing-horizontal: 2rem;
219
+ .cirth abbr[title] {
220
+ border-bottom: var(--cirth-border-width-1) dotted;
221
+ cursor: help;
222
+ text-decoration: none;
190
223
  }
191
224
 
192
- .cirth [role="search"] [type="button"] {
193
- --cirth-form-element-spacing-horizontal: 2rem;
225
+ .cirth ins {
226
+ color: var(--cirth-ins-color);
227
+ text-decoration: none;
194
228
  }
195
229
 
196
- .cirth [role="group"] [type="submit"] {
197
- --cirth-form-element-spacing-horizontal: 2rem;
230
+ .cirth del {
231
+ color: var(--cirth-del-color);
198
232
  }
199
233
 
200
- .cirth [role="group"] [type="button"] {
201
- --cirth-form-element-spacing-horizontal: 2rem;
234
+ .cirth ::selection {
235
+ background-color: var(--cirth-text-selection-color);
202
236
  }
203
237
 
204
- .cirth details summary[role="button"]:not(.outline):after {
205
- filter: brightness(0) invert();
238
+ .cirth [role="link"] {
239
+ --cirth-color: var(--cirth-primary);
240
+ --cirth-background-color: transparent;
241
+ --cirth-underline: var(--cirth-primary-underline);
242
+ background-color: var(--cirth-background-color);
243
+ color: var(--cirth-color);
244
+ -webkit-text-decoration: var(--cirth-text-decoration);
245
+ text-decoration: var(--cirth-text-decoration);
246
+ -webkit-text-decoration-color: var(--cirth-underline);
247
+ text-decoration-color: var(--cirth-underline);
248
+ text-underline-offset: .125em;
249
+ transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
250
+ outline: none;
206
251
  }
207
252
 
208
- .cirth [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
209
- filter: brightness(0) invert();
210
- }
211
-
212
- .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
213
- --lightningcss-light: initial;
214
- --lightningcss-dark: ;
215
- color-scheme: light;
216
- --cirth-background-color: #fff;
217
- --cirth-color: #373c44;
218
- --cirth-text-selection-color: rgba(129, 145, 181, .25);
219
- --cirth-muted-color: #646b79;
220
- --cirth-muted-border-color: #e7eaf0;
221
- --cirth-primary: #5d6b89;
222
- --cirth-primary-background: #525f7a;
223
- --cirth-primary-border: var(--cirth-primary-background);
224
- --cirth-primary-underline: rgba(93, 107, 137, .5);
225
- --cirth-primary-hover: #48536b;
226
- --cirth-primary-hover-background: #48536b;
227
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
228
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
229
- --cirth-primary-focus: rgba(129, 145, 181, .5);
230
- --cirth-primary-inverse: #fff;
231
- --cirth-secondary: #5d6b89;
232
- --cirth-secondary-background: #525f7a;
233
- --cirth-secondary-border: var(--cirth-secondary-background);
234
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
235
- --cirth-secondary-hover: #48536b;
236
- --cirth-secondary-hover-background: #48536b;
237
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
238
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
239
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
240
- --cirth-secondary-inverse: #fff;
241
- --cirth-contrast: #181c25;
242
- --cirth-contrast-background: #181c25;
243
- --cirth-contrast-border: var(--cirth-contrast-background);
244
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
245
- --cirth-contrast-hover: #000;
246
- --cirth-contrast-hover-background: #000;
247
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
248
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
249
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
250
- --cirth-contrast-inverse: #fff;
251
- --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);
252
- --cirth-h1-color: #2d3138;
253
- --cirth-h2-color: #373c44;
254
- --cirth-h3-color: #424751;
255
- --cirth-h4-color: #4d535e;
256
- --cirth-h5-color: #5c6370;
257
- --cirth-h6-color: #646b79;
258
- --cirth-mark-background-color: #fde7c0;
259
- --cirth-mark-color: #0f1114;
260
- --cirth-ins-color: #1d6a54;
261
- --cirth-del-color: #883935;
262
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
263
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
264
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
265
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
266
- --cirth-table-border-color: var(--cirth-muted-border-color);
267
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
268
- --cirth-code-background-color: #f3f5f7;
269
- --cirth-code-color: #646b79;
270
- --cirth-code-kbd-background-color: var(--cirth-color);
271
- --cirth-code-kbd-color: var(--cirth-background-color);
272
- --cirth-form-element-background-color: #fbfcfc;
273
- --cirth-form-element-selected-background-color: #dfe3eb;
274
- --cirth-form-element-border-color: #cfd5e2;
275
- --cirth-form-element-color: #23262c;
276
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
277
- --cirth-form-element-active-background-color: #fff;
278
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
279
- --cirth-form-element-focus-color: var(--cirth-primary-border);
280
- --cirth-form-element-disabled-opacity: .5;
281
- --cirth-form-element-invalid-border-color: #b86a6b;
282
- --cirth-form-element-invalid-active-border-color: #c84f48;
283
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
284
- --cirth-form-element-valid-border-color: #4c9b8a;
285
- --cirth-form-element-valid-active-border-color: #279977;
286
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
287
- --cirth-switch-background-color: #bfc7d9;
288
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
289
- --cirth-switch-color: #fff;
290
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
291
- --cirth-range-border-color: #dfe3eb;
292
- --cirth-range-active-border-color: #bfc7d9;
293
- --cirth-range-thumb-border-color: var(--cirth-background-color);
294
- --cirth-range-thumb-color: var(--cirth-secondary-background);
295
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
296
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
297
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
298
- --cirth-accordion-close-summary-color: var(--cirth-color);
299
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
300
- --cirth-card-background-color: var(--cirth-background-color);
301
- --cirth-card-border-color: var(--cirth-muted-border-color);
302
- --cirth-card-box-shadow: var(--cirth-box-shadow);
303
- --cirth-card-sectioning-background-color: #fbfcfc;
304
- --cirth-dropdown-background-color: #fff;
305
- --cirth-dropdown-border-color: #eff1f4;
306
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
307
- --cirth-dropdown-color: var(--cirth-color);
308
- --cirth-dropdown-hover-background-color: #eff1f4;
309
- --cirth-loading-spinner-opacity: .5;
310
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, .75);
311
- --cirth-progress-background-color: #dfe3eb;
312
- --cirth-progress-color: var(--cirth-primary-background);
313
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
314
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
315
- --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");
316
- --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");
317
- }
318
-
319
- .cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
320
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
321
- }
322
-
323
- .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
324
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
325
- }
326
-
327
- .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
328
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
329
- }
330
-
331
- @media only screen and (prefers-color-scheme: dark) {
332
- .cirth:not([data-theme]) {
333
- --lightningcss-light: ;
334
- --lightningcss-dark: initial;
335
- color-scheme: dark;
336
- --cirth-background-color: #13171f;
337
- --cirth-color: #c2c7d0;
338
- --cirth-text-selection-color: rgba(144, 158, 190, .19);
339
- --cirth-muted-color: #7b8495;
340
- --cirth-muted-border-color: #202632;
341
- --cirth-primary: #909ebe;
342
- --cirth-primary-background: #525f7a;
343
- --cirth-primary-border: var(--cirth-primary-background);
344
- --cirth-primary-underline: rgba(144, 158, 190, .5);
345
- --cirth-primary-hover: #b0b9d0;
346
- --cirth-primary-hover-background: #5d6b89;
347
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
348
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
349
- --cirth-primary-focus: rgba(144, 158, 190, .376);
350
- --cirth-primary-inverse: #fff;
351
- --cirth-secondary: #969eaf;
352
- --cirth-secondary-background: #525f7a;
353
- --cirth-secondary-border: var(--cirth-secondary-background);
354
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
355
- --cirth-secondary-hover: #b3b9c5;
356
- --cirth-secondary-hover-background: #5d6b89;
357
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
358
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
359
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
360
- --cirth-secondary-inverse: #fff;
361
- --cirth-contrast: #dfe3eb;
362
- --cirth-contrast-background: #eff1f4;
363
- --cirth-contrast-border: var(--cirth-contrast-background);
364
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
365
- --cirth-contrast-hover: #fff;
366
- --cirth-contrast-hover-background: #fff;
367
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
368
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
369
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
370
- --cirth-contrast-inverse: #000;
371
- --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);
372
- --cirth-h1-color: #f0f1f3;
373
- --cirth-h2-color: #e0e3e7;
374
- --cirth-h3-color: #c2c7d0;
375
- --cirth-h4-color: #b3b9c5;
376
- --cirth-h5-color: #a4acba;
377
- --cirth-h6-color: #8891a4;
378
- --cirth-mark-background-color: #014063;
379
- --cirth-mark-color: #fff;
380
- --cirth-ins-color: #62af9a;
381
- --cirth-del-color: #ce7e7b;
382
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
383
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
384
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
385
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
386
- --cirth-table-border-color: var(--cirth-muted-border-color);
387
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
388
- --cirth-code-background-color: #1a1f28;
389
- --cirth-code-color: #8891a4;
390
- --cirth-code-kbd-background-color: var(--cirth-color);
391
- --cirth-code-kbd-color: var(--cirth-background-color);
392
- --cirth-form-element-background-color: #1c212c;
393
- --cirth-form-element-selected-background-color: #2a3140;
394
- --cirth-form-element-border-color: #2a3140;
395
- --cirth-form-element-color: #e0e3e7;
396
- --cirth-form-element-placeholder-color: #8891a4;
397
- --cirth-form-element-active-background-color: #1a1f28;
398
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
399
- --cirth-form-element-focus-color: var(--cirth-primary-border);
400
- --cirth-form-element-disabled-opacity: .5;
401
- --cirth-form-element-invalid-border-color: #964a50;
402
- --cirth-form-element-invalid-active-border-color: #b7403b;
403
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
404
- --cirth-form-element-valid-border-color: #2a7b6f;
405
- --cirth-form-element-valid-active-border-color: #16896a;
406
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
407
- --cirth-switch-background-color: #333c4e;
408
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
409
- --cirth-switch-color: #fff;
410
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
411
- --cirth-range-border-color: #202632;
412
- --cirth-range-active-border-color: #2a3140;
413
- --cirth-range-thumb-border-color: var(--cirth-background-color);
414
- --cirth-range-thumb-color: var(--cirth-secondary-background);
415
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
416
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
417
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
418
- --cirth-accordion-close-summary-color: var(--cirth-color);
419
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
420
- --cirth-card-background-color: #181c25;
421
- --cirth-card-border-color: var(--cirth-card-background-color);
422
- --cirth-card-box-shadow: var(--cirth-box-shadow);
423
- --cirth-card-sectioning-background-color: #1a1f28;
424
- --cirth-dropdown-background-color: #181c25;
425
- --cirth-dropdown-border-color: #202632;
426
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
427
- --cirth-dropdown-color: var(--cirth-color);
428
- --cirth-dropdown-hover-background-color: #202632;
429
- --cirth-loading-spinner-opacity: .5;
430
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
431
- --cirth-progress-background-color: #202632;
432
- --cirth-progress-color: var(--cirth-primary-background);
433
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
434
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
435
- --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");
436
- --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");
437
- }
438
-
439
- .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
440
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
441
- }
442
-
443
- .cirth:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
444
- filter: brightness(0);
445
- }
446
-
447
- .cirth: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 {
448
- filter: brightness(0);
449
- }
450
- }
451
-
452
- .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
453
- --lightningcss-light: ;
454
- --lightningcss-dark: initial;
455
- color-scheme: dark;
456
- --cirth-background-color: #13171f;
457
- --cirth-color: #c2c7d0;
458
- --cirth-text-selection-color: rgba(144, 158, 190, .19);
459
- --cirth-muted-color: #7b8495;
460
- --cirth-muted-border-color: #202632;
461
- --cirth-primary: #909ebe;
462
- --cirth-primary-background: #525f7a;
463
- --cirth-primary-border: var(--cirth-primary-background);
464
- --cirth-primary-underline: rgba(144, 158, 190, .5);
465
- --cirth-primary-hover: #b0b9d0;
466
- --cirth-primary-hover-background: #5d6b89;
467
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
468
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
469
- --cirth-primary-focus: rgba(144, 158, 190, .376);
470
- --cirth-primary-inverse: #fff;
471
- --cirth-secondary: #969eaf;
472
- --cirth-secondary-background: #525f7a;
473
- --cirth-secondary-border: var(--cirth-secondary-background);
474
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
475
- --cirth-secondary-hover: #b3b9c5;
476
- --cirth-secondary-hover-background: #5d6b89;
477
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
478
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
479
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
480
- --cirth-secondary-inverse: #fff;
481
- --cirth-contrast: #dfe3eb;
482
- --cirth-contrast-background: #eff1f4;
483
- --cirth-contrast-border: var(--cirth-contrast-background);
484
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
485
- --cirth-contrast-hover: #fff;
486
- --cirth-contrast-hover-background: #fff;
487
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
488
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
489
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
490
- --cirth-contrast-inverse: #000;
491
- --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);
492
- --cirth-h1-color: #f0f1f3;
493
- --cirth-h2-color: #e0e3e7;
494
- --cirth-h3-color: #c2c7d0;
495
- --cirth-h4-color: #b3b9c5;
496
- --cirth-h5-color: #a4acba;
497
- --cirth-h6-color: #8891a4;
498
- --cirth-mark-background-color: #014063;
499
- --cirth-mark-color: #fff;
500
- --cirth-ins-color: #62af9a;
501
- --cirth-del-color: #ce7e7b;
502
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
503
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
504
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
505
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
506
- --cirth-table-border-color: var(--cirth-muted-border-color);
507
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
508
- --cirth-code-background-color: #1a1f28;
509
- --cirth-code-color: #8891a4;
510
- --cirth-code-kbd-background-color: var(--cirth-color);
511
- --cirth-code-kbd-color: var(--cirth-background-color);
512
- --cirth-form-element-background-color: #1c212c;
513
- --cirth-form-element-selected-background-color: #2a3140;
514
- --cirth-form-element-border-color: #2a3140;
515
- --cirth-form-element-color: #e0e3e7;
516
- --cirth-form-element-placeholder-color: #8891a4;
517
- --cirth-form-element-active-background-color: #1a1f28;
518
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
519
- --cirth-form-element-focus-color: var(--cirth-primary-border);
520
- --cirth-form-element-disabled-opacity: .5;
521
- --cirth-form-element-invalid-border-color: #964a50;
522
- --cirth-form-element-invalid-active-border-color: #b7403b;
523
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
524
- --cirth-form-element-valid-border-color: #2a7b6f;
525
- --cirth-form-element-valid-active-border-color: #16896a;
526
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
527
- --cirth-switch-background-color: #333c4e;
528
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
529
- --cirth-switch-color: #fff;
530
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
531
- --cirth-range-border-color: #202632;
532
- --cirth-range-active-border-color: #2a3140;
533
- --cirth-range-thumb-border-color: var(--cirth-background-color);
534
- --cirth-range-thumb-color: var(--cirth-secondary-background);
535
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
536
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
537
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
538
- --cirth-accordion-close-summary-color: var(--cirth-color);
539
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
540
- --cirth-card-background-color: #181c25;
541
- --cirth-card-border-color: var(--cirth-card-background-color);
542
- --cirth-card-box-shadow: var(--cirth-box-shadow);
543
- --cirth-card-sectioning-background-color: #1a1f28;
544
- --cirth-dropdown-background-color: #181c25;
545
- --cirth-dropdown-border-color: #202632;
546
- --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
547
- --cirth-dropdown-color: var(--cirth-color);
548
- --cirth-dropdown-hover-background-color: #202632;
549
- --cirth-loading-spinner-opacity: .5;
550
- --cirth-modal-overlay-background-color: rgba(8, 9, 10, .75);
551
- --cirth-progress-background-color: #202632;
552
- --cirth-progress-color: var(--cirth-primary-background);
553
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
554
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
555
- --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");
556
- --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");
557
- }
558
-
559
- .cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
560
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
561
- }
562
-
563
- .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
564
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
565
- }
566
-
567
- .cirth[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
568
- filter: brightness(0);
569
- }
570
-
571
- .cirth[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 {
572
- filter: brightness(0);
573
- }
574
-
575
- .cirth [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 {
576
- filter: brightness(0);
577
- }
578
-
579
- .cirth progress {
580
- accent-color: var(--cirth-primary);
581
- }
582
-
583
- .cirth [type="checkbox"] {
584
- accent-color: var(--cirth-primary);
585
- }
586
-
587
- .cirth [type="radio"] {
588
- accent-color: var(--cirth-primary);
589
- }
590
-
591
- .cirth [type="range"] {
592
- accent-color: var(--cirth-primary);
593
- }
594
-
595
- .cirth, .cirth *, .cirth :before, .cirth :after {
596
- box-sizing: border-box;
597
- background-repeat: no-repeat;
598
- }
599
-
600
- .cirth:before, .cirth:after, .cirth :before, .cirth :after {
601
- -webkit-text-decoration: inherit;
602
- text-decoration: inherit;
603
- vertical-align: inherit;
604
- }
605
-
606
- .cirth {
607
- -webkit-tap-highlight-color: transparent;
608
- -webkit-text-size-adjust: 100%;
609
- -moz-text-size-adjust: 100%;
610
- text-size-adjust: 100%;
611
- background-color: var(--cirth-background-color);
612
- color: var(--cirth-color);
613
- font-weight: var(--cirth-font-weight);
614
- font-size: var(--cirth-font-size);
615
- line-height: var(--cirth-line-height);
616
- font-family: var(--cirth-font-family);
617
- text-underline-offset: var(--cirth-text-underline-offset);
618
- text-rendering: optimizelegibility;
619
- overflow-wrap: break-word;
620
- tab-size: 4;
621
- width: 100%;
622
- margin: 0;
623
- }
624
-
625
- .cirth main {
626
- display: block;
627
- }
628
-
629
- .cirth > header, .cirth > main, .cirth > footer {
630
- padding-block: var(--cirth-block-spacing-vertical);
631
- }
632
-
633
- .cirth section {
634
- margin-bottom: var(--cirth-block-spacing-vertical);
635
- }
636
-
637
- .container, .container-fluid {
638
- width: 100%;
639
- padding-right: var(--cirth-spacing);
640
- padding-left: var(--cirth-spacing);
641
- margin-left: auto;
642
- margin-right: auto;
643
- }
644
-
645
- @media (width >= 576px) {
646
- .container {
647
- max-width: 510px;
648
- padding-left: 0;
649
- padding-right: 0;
650
- }
651
- }
652
-
653
- @media (width >= 768px) {
654
- .container {
655
- max-width: 700px;
656
- }
657
- }
658
-
659
- @media (width >= 1024px) {
660
- .container {
661
- max-width: 950px;
662
- }
663
- }
664
-
665
- @media (width >= 1280px) {
666
- .container {
667
- max-width: 1200px;
668
- }
669
- }
670
-
671
- @media (width >= 1536px) {
672
- .container {
673
- max-width: 1450px;
674
- }
675
- }
676
-
677
- .grid {
678
- grid-column-gap: var(--cirth-grid-column-gap);
679
- grid-row-gap: var(--cirth-grid-row-gap);
680
- grid-template-columns: 1fr;
681
- display: grid;
682
- }
683
-
684
- @media (width >= 768px) {
685
- .grid {
686
- grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
687
- }
688
- }
689
-
690
- .grid > * {
691
- min-width: 0;
692
- }
693
-
694
- .cirth .overflow-auto {
695
- overflow: auto;
696
- }
697
-
698
- .cirth b, .cirth strong {
699
- font-weight: bolder;
700
- }
701
-
702
- .cirth sub, .cirth sup {
703
- vertical-align: baseline;
704
- font-size: .75em;
705
- line-height: 0;
706
- position: relative;
707
- }
708
-
709
- .cirth sub {
710
- bottom: -.25em;
711
- }
712
-
713
- .cirth sup {
714
- top: -.5em;
715
- }
716
-
717
- .cirth address, .cirth blockquote, .cirth dl, .cirth ol, .cirth p, .cirth pre, .cirth table, .cirth ul {
718
- margin-top: 0;
719
- margin-bottom: var(--cirth-typography-spacing-vertical);
720
- color: var(--cirth-color);
721
- font-style: normal;
722
- font-weight: var(--cirth-font-weight);
723
- }
724
-
725
- .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
726
- margin-top: 0;
727
- margin-bottom: var(--cirth-typography-spacing-vertical);
728
- color: var(--cirth-color);
729
- font-weight: var(--cirth-font-weight);
730
- font-size: var(--cirth-font-size);
731
- line-height: var(--cirth-line-height);
732
- font-family: var(--cirth-font-family);
733
- }
734
-
735
- .cirth h1 {
736
- --cirth-color: var(--cirth-h1-color);
737
- }
738
-
739
- .cirth h2 {
740
- --cirth-color: var(--cirth-h2-color);
741
- }
742
-
743
- .cirth h3 {
744
- --cirth-color: var(--cirth-h3-color);
745
- }
746
-
747
- .cirth h4 {
748
- --cirth-color: var(--cirth-h4-color);
749
- }
750
-
751
- .cirth h5 {
752
- --cirth-color: var(--cirth-h5-color);
753
- }
754
-
755
- .cirth h6 {
756
- --cirth-color: var(--cirth-h6-color);
757
- }
758
-
759
- .cirth :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
760
- margin-top: var(--cirth-typography-spacing-top);
761
- }
762
-
763
- .cirth p, .cirth hgroup {
764
- margin-bottom: var(--cirth-typography-spacing-vertical);
765
- }
766
-
767
- .cirth hgroup > * {
768
- margin-top: 0;
769
- margin-bottom: 0;
770
- }
771
-
772
- .cirth hgroup > :not(:first-child):last-child {
773
- --cirth-color: var(--cirth-muted-color);
774
- --cirth-font-weight: unset;
775
- font-size: 1rem;
776
- }
777
-
778
- .cirth :where(ol, ul) li {
779
- margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
780
- }
781
-
782
- .cirth :where(dl, ol, ul) :where(dl, ol, ul) {
783
- margin: 0;
784
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
785
- }
786
-
787
- .cirth ul li {
788
- list-style: square;
789
- }
790
-
791
- .cirth mark {
792
- background-color: var(--cirth-mark-background-color);
793
- color: var(--cirth-mark-color);
794
- vertical-align: baseline;
795
- padding: .125rem .25rem;
796
- }
797
-
798
- .cirth blockquote {
799
- margin: var(--cirth-typography-spacing-vertical) 0;
800
- padding: var(--cirth-spacing);
801
- border-right: none;
802
- border-left: .25rem solid var(--cirth-blockquote-border-color);
803
- border-inline-start: .25rem solid var(--cirth-blockquote-border-color);
804
- border-inline-end: none;
805
- display: block;
806
- }
807
-
808
- .cirth blockquote footer {
809
- margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
810
- color: var(--cirth-blockquote-footer-color);
811
- }
812
-
813
- .cirth abbr[title] {
814
- cursor: help;
815
- border-bottom: 1px dotted;
816
- text-decoration: none;
817
- }
818
-
819
- .cirth ins {
820
- color: var(--cirth-ins-color);
821
- text-decoration: none;
822
- }
823
-
824
- .cirth del {
825
- color: var(--cirth-del-color);
826
- }
827
-
828
- .cirth ::selection {
829
- background-color: var(--cirth-text-selection-color);
830
- }
831
-
832
- .cirth [role="link"] {
833
- --cirth-color: var(--cirth-primary);
834
- --cirth-background-color: transparent;
835
- --cirth-underline: var(--cirth-primary-underline);
836
- background-color: var(--cirth-background-color);
837
- color: var(--cirth-color);
838
- -webkit-text-decoration: var(--cirth-text-decoration);
839
- text-decoration: var(--cirth-text-decoration);
840
- -webkit-text-decoration-color: var(--cirth-underline);
841
- text-decoration-color: var(--cirth-underline);
842
- text-underline-offset: .125em;
843
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
844
- outline: none;
845
- }
846
-
847
- .cirth :where(a:not([role="button"])) {
848
- --cirth-color: var(--cirth-primary);
849
- --cirth-background-color: transparent;
850
- --cirth-underline: var(--cirth-primary-underline);
851
- background-color: var(--cirth-background-color);
852
- color: var(--cirth-color);
853
- -webkit-text-decoration: var(--cirth-text-decoration);
854
- text-decoration: var(--cirth-text-decoration);
855
- -webkit-text-decoration-color: var(--cirth-underline);
856
- text-decoration-color: var(--cirth-underline);
857
- text-underline-offset: .125em;
858
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
859
- outline: none;
253
+ .cirth :where(a:not([role="button"])) {
254
+ --cirth-color: var(--cirth-primary);
255
+ --cirth-background-color: transparent;
256
+ --cirth-underline: var(--cirth-primary-underline);
257
+ background-color: var(--cirth-background-color);
258
+ color: var(--cirth-color);
259
+ -webkit-text-decoration: var(--cirth-text-decoration);
260
+ text-decoration: var(--cirth-text-decoration);
261
+ -webkit-text-decoration-color: var(--cirth-underline);
262
+ text-decoration-color: var(--cirth-underline);
263
+ text-underline-offset: .125em;
264
+ transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
265
+ outline: none;
860
266
  }
861
267
 
862
268
  .cirth :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
@@ -943,7 +349,7 @@
943
349
  box-shadow: var(--cirth-box-shadow);
944
350
  color: var(--cirth-color);
945
351
  font-weight: var(--cirth-font-weight);
946
- font-size: 1rem;
352
+ font-size: var(--cirth-font-size-md);
947
353
  line-height: var(--cirth-line-height);
948
354
  text-align: center;
949
355
  cursor: pointer;
@@ -966,7 +372,7 @@
966
372
  box-shadow: var(--cirth-box-shadow);
967
373
  color: var(--cirth-color);
968
374
  font-weight: var(--cirth-font-weight);
969
- font-size: 1rem;
375
+ font-size: var(--cirth-font-size-md);
970
376
  line-height: var(--cirth-line-height);
971
377
  text-align: center;
972
378
  cursor: pointer;
@@ -989,7 +395,7 @@
989
395
  box-shadow: var(--cirth-box-shadow);
990
396
  color: var(--cirth-color);
991
397
  font-weight: var(--cirth-font-weight);
992
- font-size: 1rem;
398
+ font-size: var(--cirth-font-size-md);
993
399
  line-height: var(--cirth-line-height);
994
400
  text-align: center;
995
401
  cursor: pointer;
@@ -1012,7 +418,7 @@
1012
418
  box-shadow: var(--cirth-box-shadow);
1013
419
  color: var(--cirth-color);
1014
420
  font-weight: var(--cirth-font-weight);
1015
- font-size: 1rem;
421
+ font-size: var(--cirth-font-size-md);
1016
422
  line-height: var(--cirth-line-height);
1017
423
  text-align: center;
1018
424
  cursor: pointer;
@@ -1035,7 +441,7 @@
1035
441
  box-shadow: var(--cirth-box-shadow);
1036
442
  color: var(--cirth-color);
1037
443
  font-weight: var(--cirth-font-weight);
1038
- font-size: 1rem;
444
+ font-size: var(--cirth-font-size-md);
1039
445
  line-height: var(--cirth-line-height);
1040
446
  text-align: center;
1041
447
  cursor: pointer;
@@ -1124,39 +530,48 @@
1124
530
  }
1125
531
 
1126
532
  .cirth button:focus, .cirth button[aria-current]:not([aria-current="false"]):focus, .cirth [role="button"]:focus, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus {
1127
- --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);
533
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
534
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1128
535
  }
1129
536
 
1130
537
  .cirth [type="submit"]:focus {
1131
- --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);
538
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
539
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1132
540
  }
1133
541
 
1134
542
  .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus {
1135
- --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);
543
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
544
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1136
545
  }
1137
546
 
1138
547
  .cirth [type="reset"]:focus {
1139
- --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);
548
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
549
+ 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
1140
550
  }
1141
551
 
1142
552
  .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus {
1143
- --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);
1144
555
  }
1145
556
 
1146
557
  .cirth [type="button"]:focus {
1147
- --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);
1148
560
  }
1149
561
 
1150
562
  .cirth [type="button"][aria-current]:not([aria-current="false"]):focus {
1151
- --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);
1152
565
  }
1153
566
 
1154
567
  .cirth [type="file"]::file-selector-button:focus {
1155
- --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);
1156
570
  }
1157
571
 
1158
572
  .cirth [type="file"]::file-selector-button:is():focus {
1159
- --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);
1160
575
  }
1161
576
 
1162
577
  .cirth [type="submit"] {
@@ -1211,27 +626,33 @@
1211
626
  }
1212
627
 
1213
628
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus {
1214
- --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);
629
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
630
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1215
631
  }
1216
632
 
1217
633
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).secondary[aria-current]:not([aria-current="false"]):focus {
1218
- --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);
634
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
635
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1219
636
  }
1220
637
 
1221
638
  .cirth [type="reset"]:focus {
1222
- --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);
639
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
640
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1223
641
  }
1224
642
 
1225
643
  .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus {
1226
- --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);
644
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
645
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1227
646
  }
1228
647
 
1229
648
  .cirth [type="file"]::file-selector-button:focus {
1230
- --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);
1231
651
  }
1232
652
 
1233
653
  .cirth [type="file"]::file-selector-button:is():focus {
1234
- --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);
1235
656
  }
1236
657
 
1237
658
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
@@ -1247,11 +668,13 @@
1247
668
  }
1248
669
 
1249
670
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus {
1250
- --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);
671
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
672
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1251
673
  }
1252
674
 
1253
675
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).contrast[aria-current]:not([aria-current="false"]):focus {
1254
- --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);
676
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
677
+ 0 0 0 var(--cirth-outline-width) var(--cirth-contrast-focus);
1255
678
  }
1256
679
 
1257
680
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline {
@@ -1309,12 +732,12 @@
1309
732
  }
1310
733
 
1311
734
  .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
1312
- opacity: .5;
735
+ opacity: var(--cirth-opacity-disabled);
1313
736
  pointer-events: none;
1314
737
  }
1315
738
 
1316
739
  .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
1317
- opacity: .5;
740
+ opacity: var(--cirth-opacity-disabled);
1318
741
  pointer-events: none;
1319
742
  }
1320
743
 
@@ -1441,12 +864,12 @@
1441
864
  height: 0;
1442
865
  margin: var(--cirth-typography-spacing-vertical) 0;
1443
866
  border: 0;
1444
- border-top: 1px solid var(--cirth-muted-border-color);
867
+ border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
1445
868
  color: inherit;
1446
869
  }
1447
870
 
1448
871
  .cirth [hidden], .cirth template {
1449
- display: none !important;
872
+ display: none;
1450
873
  }
1451
874
 
1452
875
  .cirth canvas {
@@ -1454,7 +877,7 @@
1454
877
  }
1455
878
 
1456
879
  .cirth input, .cirth optgroup, .cirth select, .cirth textarea {
1457
- font-size: 1rem;
880
+ font-size: var(--cirth-font-size-md);
1458
881
  line-height: var(--cirth-line-height);
1459
882
  letter-spacing: inherit;
1460
883
  margin: 0;
@@ -1538,7 +961,7 @@
1538
961
  }
1539
962
 
1540
963
  .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
1541
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
964
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1542
965
  }
1543
966
 
1544
967
  .cirth fieldset {
@@ -1614,11 +1037,13 @@
1614
1037
  }
1615
1038
 
1616
1039
  .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
1617
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1040
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1041
+ var(--cirth-form-element-focus-color);
1618
1042
  }
1619
1043
 
1620
1044
  .cirth :where(select, textarea):not([readonly]):focus {
1621
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-focus-color);
1045
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1046
+ var(--cirth-form-element-focus-color);
1622
1047
  }
1623
1048
 
1624
1049
  .cirth select[disabled], .cirth textarea[disabled], .cirth label[aria-disabled="true"] {
@@ -1641,13 +1066,13 @@
1641
1066
  }
1642
1067
 
1643
1068
  .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid] {
1069
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1644
1070
  padding-left: var(--cirth-form-element-spacing-horizontal);
1645
- background-position: right .75rem center;
1071
+ background-position: center right var(--cirth-space-3);
1072
+ background-size: var(--cirth-size-4) auto;
1646
1073
  background-repeat: no-repeat;
1647
- background-size: 1rem;
1648
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1649
- padding-inline-start: var(--cirth-form-element-spacing-horizontal) !important;
1650
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem) !important;
1074
+ padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1075
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1651
1076
  }
1652
1077
 
1653
1078
  .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid="false"]:not(select) {
@@ -1663,11 +1088,12 @@
1663
1088
  }
1664
1089
 
1665
1090
  .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
1666
- --cirth-border-color: var(--cirth-form-element-valid-active-border-color) !important;
1091
+ --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
1667
1092
  }
1668
1093
 
1669
1094
  .cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1670
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-valid-focus-color) !important;
1095
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1096
+ var(--cirth-form-element-valid-focus-color);
1671
1097
  }
1672
1098
 
1673
1099
  .cirth :where(input, select, textarea)[aria-invalid="true"] {
@@ -1675,15 +1101,16 @@
1675
1101
  }
1676
1102
 
1677
1103
  .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
1678
- --cirth-border-color: var(--cirth-form-element-invalid-active-border-color) !important;
1104
+ --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
1679
1105
  }
1680
1106
 
1681
1107
  .cirth :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
1682
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-form-element-invalid-focus-color) !important;
1108
+ --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
1109
+ var(--cirth-form-element-invalid-focus-color);
1683
1110
  }
1684
1111
 
1685
1112
  [dir="rtl"] .cirth :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
1686
- background-position: .75rem;
1113
+ background-position: center left var(--cirth-space-3);
1687
1114
  }
1688
1115
 
1689
1116
  .cirth select:invalid {
@@ -1725,14 +1152,14 @@
1725
1152
  }
1726
1153
 
1727
1154
  .cirth select:not(:is([multiple], [size])) {
1728
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1155
+ padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1729
1156
  padding-left: var(--cirth-form-element-spacing-horizontal);
1730
1157
  background-image: var(--cirth-icon-chevron);
1731
- background-position: right .75rem center;
1158
+ background-position: center right var(--cirth-space-3);
1159
+ background-size: var(--cirth-size-4) auto;
1732
1160
  background-repeat: no-repeat;
1733
- background-size: 1rem;
1734
1161
  padding-inline-start: var(--cirth-form-element-spacing-horizontal);
1735
- padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + 1.5rem);
1162
+ padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1736
1163
  }
1737
1164
 
1738
1165
  .cirth select[multiple] option:checked {
@@ -1741,7 +1168,7 @@
1741
1168
  }
1742
1169
 
1743
1170
  [dir="rtl"] .cirth select:not(:is([multiple], [size])) {
1744
- background-position: .75rem;
1171
+ background-position: center left var(--cirth-space-3);
1745
1172
  }
1746
1173
 
1747
1174
  .cirth textarea {
@@ -1750,9 +1177,11 @@
1750
1177
  }
1751
1178
 
1752
1179
  .cirth textarea[aria-invalid] {
1753
- --cirth-icon-height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1754
- background-position: right .75rem top !important;
1755
- background-size: 1rem var(--cirth-icon-height) !important;
1180
+ --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
1181
+ var(--cirth-form-element-spacing-vertical) * 2 +
1182
+ var(--cirth-border-width) * 2);
1183
+ background-position: top right var(--cirth-space-3);
1184
+ background-size: var(--cirth-size-4) var(--cirth-icon-height);
1756
1185
  }
1757
1186
 
1758
1187
  .cirth :where(input, select, textarea, fieldset, .grid) + small {
@@ -1936,8 +1365,8 @@
1936
1365
  height: 100%;
1937
1366
  box-shadow: var(--cirth-switch-thumb-box-shadow);
1938
1367
  content: "";
1368
+ transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
1939
1369
  border-radius: 50%;
1940
- transition: margin .1s ease-in-out;
1941
1370
  display: block;
1942
1371
  }
1943
1372
 
@@ -2099,8 +1528,8 @@
2099
1528
  }
2100
1529
 
2101
1530
  .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
2102
- --cirth-icon-position: .75rem;
2103
- --cirth-icon-width: 1rem;
1531
+ --cirth-icon-position: var(--cirth-space-3);
1532
+ --cirth-icon-width: var(--cirth-size-4);
2104
1533
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
2105
1534
  background-image: var(--cirth-icon-date);
2106
1535
  background-position: center right var(--cirth-icon-position);
@@ -2149,28 +1578,28 @@
2149
1578
 
2150
1579
  @-moz-document url-prefix() {
2151
1580
  .cirth [type="date"] {
2152
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2153
- background-image: none !important;
1581
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1582
+ background-image: none;
2154
1583
  }
2155
1584
 
2156
1585
  .cirth [type="datetime-local"] {
2157
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2158
- background-image: none !important;
1586
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1587
+ background-image: none;
2159
1588
  }
2160
1589
 
2161
1590
  .cirth [type="month"] {
2162
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2163
- background-image: none !important;
1591
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1592
+ background-image: none;
2164
1593
  }
2165
1594
 
2166
1595
  .cirth [type="time"] {
2167
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2168
- background-image: none !important;
1596
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1597
+ background-image: none;
2169
1598
  }
2170
1599
 
2171
1600
  .cirth [type="week"] {
2172
- padding-right: var(--cirth-form-element-spacing-horizontal) !important;
2173
- background-image: none !important;
1601
+ padding-right: var(--cirth-form-element-spacing-horizontal);
1602
+ background-image: none;
2174
1603
  }
2175
1604
  }
2176
1605
 
@@ -2199,7 +1628,8 @@
2199
1628
  }
2200
1629
 
2201
1630
  .cirth [type="file"]:focus::file-selector-button {
2202
- --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);
1631
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
1632
+ 0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
2203
1633
  }
2204
1634
 
2205
1635
  .cirth [type="range"] {
@@ -2235,7 +1665,7 @@
2235
1665
 
2236
1666
  .cirth [type="range"]::-webkit-slider-thumb {
2237
1667
  -webkit-appearance: none;
2238
- border: 2px solid var(--cirth-range-thumb-border-color);
1668
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2239
1669
  background-color: var(--cirth-range-thumb-color);
2240
1670
  cursor: pointer;
2241
1671
  width: 1.25rem;
@@ -2247,7 +1677,7 @@
2247
1677
 
2248
1678
  .cirth [type="range"]::-moz-range-thumb {
2249
1679
  -webkit-appearance: none;
2250
- border: 2px solid var(--cirth-range-thumb-border-color);
1680
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2251
1681
  background-color: var(--cirth-range-thumb-color);
2252
1682
  cursor: pointer;
2253
1683
  width: 1.25rem;
@@ -2259,7 +1689,7 @@
2259
1689
 
2260
1690
  .cirth [type="range"]::-ms-thumb {
2261
1691
  -webkit-appearance: none;
2262
- border: 2px solid var(--cirth-range-thumb-border-color);
1692
+ border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
2263
1693
  background-color: var(--cirth-range-thumb-color);
2264
1694
  cursor: pointer;
2265
1695
  width: 1.25rem;
@@ -2301,7 +1731,7 @@
2301
1731
 
2302
1732
  .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
2303
1733
  background-position: 1.125rem, right .75rem center;
2304
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem) !important;
1734
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
2305
1735
  }
2306
1736
 
2307
1737
  .cirth input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
@@ -2326,9 +1756,9 @@
2326
1756
  }
2327
1757
 
2328
1758
  .cirth details summary {
1759
+ line-height: var(--cirth-size-4);
2329
1760
  cursor: pointer;
2330
1761
  transition: color var(--cirth-transition);
2331
- line-height: 1rem;
2332
1762
  list-style-type: none;
2333
1763
  }
2334
1764
 
@@ -2349,16 +1779,16 @@
2349
1779
  }
2350
1780
 
2351
1781
  .cirth details summary:after {
2352
- width: 1rem;
2353
- height: 1rem;
1782
+ width: var(--cirth-size-4);
1783
+ height: var(--cirth-size-4);
2354
1784
  float: right;
2355
1785
  background-image: var(--cirth-icon-chevron);
1786
+ background-position: 100%;
1787
+ background-size: var(--cirth-size-4) auto;
2356
1788
  content: "";
2357
1789
  transition: transform var(--cirth-transition);
2358
- background-position: 100%;
2359
1790
  background-repeat: no-repeat;
2360
- background-size: 1rem;
2361
- margin-inline-start: calc(var(--cirth-spacing, 1rem) * .5);
1791
+ margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2362
1792
  display: block;
2363
1793
  transform: rotate(-90deg);
2364
1794
  }
@@ -2373,7 +1803,7 @@
2373
1803
 
2374
1804
  .cirth details summary:focus-visible:not([role]) {
2375
1805
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
2376
- outline-offset: calc(var(--cirth-spacing, 1rem) * .5);
1806
+ outline-offset: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
2377
1807
  color: var(--cirth-primary);
2378
1808
  }
2379
1809
 
@@ -2383,7 +1813,7 @@
2383
1813
  }
2384
1814
 
2385
1815
  .cirth details summary[role="button"]:after {
2386
- height: calc(1rem * var(--cirth-line-height, 1.5));
1816
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2387
1817
  }
2388
1818
 
2389
1819
  .cirth details[open] > summary {
@@ -2444,15 +1874,15 @@
2444
1874
  }
2445
1875
 
2446
1876
  .cirth details.dropdown > summary:after, .cirth details.dropdown > button:after, .cirth details.dropdown > a:after {
2447
- width: 1rem;
2448
- height: calc(1rem * var(--cirth-line-height, 1.5));
1877
+ width: var(--cirth-size-4);
1878
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
2449
1879
  float: right;
2450
1880
  background-image: var(--cirth-icon-chevron);
2451
- content: "";
2452
1881
  background-position: 100%;
1882
+ background-size: var(--cirth-size-4) auto;
1883
+ content: "";
2453
1884
  background-repeat: no-repeat;
2454
- background-size: 1rem;
2455
- margin-inline-start: .25rem;
1885
+ margin-inline-start: var(--cirth-space-1);
2456
1886
  display: block;
2457
1887
  transform: rotate(0) translateX(.2rem);
2458
1888
  }
@@ -2462,7 +1892,7 @@
2462
1892
  }
2463
1893
 
2464
1894
  .cirth details.dropdown > summary:not([role]) {
2465
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1895
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
2466
1896
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
2467
1897
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
2468
1898
  border-radius: var(--cirth-border-radius);
@@ -2510,7 +1940,7 @@
2510
1940
  }
2511
1941
 
2512
1942
  .cirth nav details.dropdown > summary:not([role]) {
2513
- height: calc(1rem * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1943
+ height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
2514
1944
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2515
1945
  }
2516
1946
 
@@ -2519,7 +1949,7 @@
2519
1949
  }
2520
1950
 
2521
1951
  .cirth details.dropdown > summary + ul {
2522
- z-index: 99;
1952
+ z-index: var(--cirth-z-index-dropdown);
2523
1953
  width: 100%;
2524
1954
  min-width: fit-content;
2525
1955
  margin: 0;
@@ -2531,7 +1961,7 @@
2531
1961
  color: var(--cirth-dropdown-color);
2532
1962
  white-space: nowrap;
2533
1963
  opacity: 0;
2534
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 1s;
1964
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) 1s;
2535
1965
  flex-direction: column;
2536
1966
  padding: 0;
2537
1967
  display: flex;
@@ -2592,7 +2022,7 @@
2592
2022
 
2593
2023
  .cirth details.dropdown[open] > summary + ul {
2594
2024
  opacity: 1;
2595
- transition: opacity var(--cirth-transition), transform 0s ease-in-out 0s;
2025
+ transition: opacity var(--cirth-transition), transform var(--cirth-duration-instant) var(--cirth-ease-in-out) var(--cirth-duration-instant);
2596
2026
  transform: scaleY(1);
2597
2027
  }
2598
2028
 
@@ -2674,794 +2104,1531 @@
2674
2104
  border-bottom-right-radius: 0;
2675
2105
  }
2676
2106
 
2677
- .cirth [role="search"] > :focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] select:focus {
2678
- z-index: 2;
2107
+ .cirth [role="search"] > :focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] select:focus {
2108
+ z-index: 2;
2109
+ }
2110
+
2111
+ .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2112
+ z-index: 2;
2113
+ }
2114
+
2115
+ .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2116
+ z-index: 2;
2117
+ }
2118
+
2119
+ .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] select:not(:first-child) {
2120
+ margin-left: calc(var(--cirth-border-width) * -1);
2121
+ }
2122
+
2123
+ .cirth [role="search"] [type="submit"]:not(:first-child) {
2124
+ margin-left: calc(var(--cirth-border-width) * -1);
2125
+ }
2126
+
2127
+ .cirth [role="search"] [type="reset"]:not(:first-child) {
2128
+ margin-left: calc(var(--cirth-border-width) * -1);
2129
+ }
2130
+
2131
+ .cirth [role="search"] [type="button"]:not(:first-child) {
2132
+ margin-left: calc(var(--cirth-border-width) * -1);
2133
+ }
2134
+
2135
+ .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2136
+ margin-left: calc(var(--cirth-border-width) * -1);
2137
+ }
2138
+
2139
+ .cirth [role="group"] [type="submit"]:not(:first-child) {
2140
+ margin-left: calc(var(--cirth-border-width) * -1);
2141
+ }
2142
+
2143
+ .cirth [role="group"] [type="reset"]:not(:first-child) {
2144
+ margin-left: calc(var(--cirth-border-width) * -1);
2145
+ }
2146
+
2147
+ .cirth [role="group"] [type="button"]:not(:first-child) {
2148
+ margin-left: calc(var(--cirth-border-width) * -1);
2149
+ }
2150
+
2151
+ .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2152
+ margin-left: calc(var(--cirth-border-width) * -1);
2153
+ }
2154
+
2155
+ .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
2156
+ width: auto;
2157
+ }
2158
+
2159
+ .cirth [role="search"] [type="submit"] {
2160
+ width: auto;
2161
+ }
2162
+
2163
+ .cirth [role="search"] [type="reset"] {
2164
+ width: auto;
2165
+ }
2166
+
2167
+ .cirth [role="search"] [type="button"] {
2168
+ width: auto;
2169
+ }
2170
+
2171
+ .cirth [role="group"] [type="submit"] {
2172
+ width: auto;
2173
+ }
2174
+
2175
+ .cirth [role="group"] [type="reset"] {
2176
+ width: auto;
2177
+ }
2178
+
2179
+ .cirth [role="group"] [type="button"] {
2180
+ width: auto;
2181
+ }
2182
+
2183
+ @supports selector(:has(*)) {
2184
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2185
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2186
+ }
2187
+
2188
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2189
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2190
+ }
2191
+
2192
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2193
+ border-color: rgba(0, 0, 0, 0);
2194
+ }
2195
+
2196
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2197
+ border-color: rgba(0, 0, 0, 0);
2198
+ }
2199
+
2200
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2201
+ border-color: rgba(0, 0, 0, 0);
2202
+ }
2203
+
2204
+ .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2205
+ border-color: rgba(0, 0, 0, 0);
2206
+ }
2207
+
2208
+ .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2209
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2210
+ }
2211
+
2212
+ .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2213
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2214
+ }
2215
+
2216
+ .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2217
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2218
+ var(--cirth-primary-border);
2219
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2220
+ var(--cirth-primary-hover-border);
2221
+ }
2222
+
2223
+ .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2224
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2225
+ var(--cirth-primary-border);
2226
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2227
+ var(--cirth-primary-hover-border);
2228
+ }
2229
+
2230
+ .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2231
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2232
+ var(--cirth-primary-border);
2233
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2234
+ var(--cirth-primary-hover-border);
2235
+ }
2236
+
2237
+ .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2238
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2239
+ var(--cirth-primary-border);
2240
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2241
+ var(--cirth-primary-hover-border);
2242
+ }
2243
+
2244
+ .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2245
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2246
+ var(--cirth-primary-border);
2247
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2248
+ var(--cirth-primary-hover-border);
2249
+ }
2250
+
2251
+ .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2252
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2253
+ var(--cirth-primary-border);
2254
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2255
+ var(--cirth-primary-hover-border);
2256
+ }
2257
+
2258
+ .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2259
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2260
+ var(--cirth-primary-border);
2261
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2262
+ var(--cirth-primary-hover-border);
2263
+ }
2264
+
2265
+ .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2266
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
2267
+ var(--cirth-primary-border);
2268
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
2269
+ var(--cirth-primary-hover-border);
2270
+ }
2271
+
2272
+ .cirth [role="search"] button:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [role="button"]:focus {
2273
+ box-shadow: none;
2274
+ }
2275
+
2276
+ .cirth [role="search"] [type="submit"]:focus {
2277
+ box-shadow: none;
2278
+ }
2279
+
2280
+ .cirth [role="search"] [type="reset"]:focus {
2281
+ box-shadow: none;
2282
+ }
2283
+
2284
+ .cirth [role="search"] [type="button"]:focus {
2285
+ box-shadow: none;
2286
+ }
2287
+
2288
+ .cirth [role="group"] [type="submit"]:focus {
2289
+ box-shadow: none;
2290
+ }
2291
+
2292
+ .cirth [role="group"] [type="reset"]:focus {
2293
+ box-shadow: none;
2294
+ }
2295
+
2296
+ .cirth [role="group"] [type="button"]:focus {
2297
+ box-shadow: none;
2298
+ }
2299
+ }
2300
+
2301
+ .cirth [role="search"] > :first-child {
2302
+ border-top-left-radius: var(--cirth-radius-pill);
2303
+ border-bottom-left-radius: var(--cirth-radius-pill);
2304
+ }
2305
+
2306
+ .cirth [role="search"] > :last-child {
2307
+ border-top-right-radius: var(--cirth-radius-pill);
2308
+ border-bottom-right-radius: var(--cirth-radius-pill);
2309
+ }
2310
+
2311
+ .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
2312
+ white-space: nowrap;
2313
+ }
2314
+
2315
+ .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
2316
+ background-image: var(--cirth-icon-loading);
2317
+ content: "";
2318
+ vertical-align: -.125em;
2319
+ background-repeat: no-repeat;
2320
+ background-size: 1em;
2321
+ width: 1em;
2322
+ height: 1em;
2323
+ display: inline-block;
2324
+ }
2325
+
2326
+ .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
2327
+ margin-inline-end: calc(var(--cirth-spacing) * .5);
2328
+ }
2329
+
2330
+ .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
2331
+ text-align: center;
2332
+ }
2333
+
2334
+ .cirth button[aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
2335
+ pointer-events: none;
2336
+ }
2337
+
2338
+ .cirth [type="submit"][aria-busy="true"] {
2339
+ pointer-events: none;
2340
+ }
2341
+
2342
+ .cirth [type="button"][aria-busy="true"] {
2343
+ pointer-events: none;
2344
+ }
2345
+
2346
+ .cirth [type="reset"][aria-busy="true"] {
2347
+ pointer-events: none;
2348
+ }
2349
+
2350
+ .cirth {
2351
+ --cirth-scrollbar-width: 0px;
2352
+ }
2353
+
2354
+ .cirth dialog {
2355
+ z-index: var(--cirth-z-index-modal);
2356
+ width: inherit;
2357
+ min-width: 100%;
2358
+ height: inherit;
2359
+ min-height: 100%;
2360
+ -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2361
+ backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2362
+ background-color: var(--cirth-modal-overlay-background-color);
2363
+ color: var(--cirth-color);
2364
+ border: 0;
2365
+ justify-content: center;
2366
+ align-items: center;
2367
+ padding: 0;
2368
+ display: flex;
2369
+ position: fixed;
2370
+ inset: 0;
2371
+ }
2372
+
2373
+ .cirth dialog > article {
2374
+ width: 100%;
2375
+ max-height: calc(100vh - var(--cirth-spacing) * 2);
2376
+ margin: var(--cirth-spacing);
2377
+ overflow: auto;
2378
+ }
2379
+
2380
+ @media (width >= 576px) {
2381
+ .cirth dialog > article {
2382
+ max-width: 510px;
2383
+ }
2384
+ }
2385
+
2386
+ @media (width >= 768px) {
2387
+ .cirth dialog > article {
2388
+ max-width: 700px;
2389
+ }
2679
2390
  }
2680
2391
 
2681
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2682
- z-index: 2;
2392
+ .cirth dialog > article > header > * {
2393
+ margin-bottom: 0;
2683
2394
  }
2684
2395
 
2685
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
2686
- z-index: 2;
2396
+ .cirth dialog > article > header .close {
2397
+ margin: 0;
2398
+ margin-left: var(--cirth-spacing);
2399
+ float: right;
2400
+ padding: 0;
2687
2401
  }
2688
2402
 
2689
- .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] select:not(:first-child) {
2690
- margin-left: calc(var(--cirth-border-width) * -1);
2403
+ .cirth dialog > article > header :is(a, button)[rel="prev"] {
2404
+ margin: 0;
2405
+ margin-left: var(--cirth-spacing);
2406
+ float: right;
2407
+ padding: 0;
2691
2408
  }
2692
2409
 
2693
- .cirth [role="search"] [type="submit"]:not(:first-child) {
2694
- margin-left: calc(var(--cirth-border-width) * -1);
2410
+ .cirth dialog > article > footer {
2411
+ text-align: right;
2695
2412
  }
2696
2413
 
2697
- .cirth [role="search"] [type="reset"]:not(:first-child) {
2698
- margin-left: calc(var(--cirth-border-width) * -1);
2414
+ .cirth dialog > article > footer button, .cirth dialog > article > footer [role="button"] {
2415
+ margin-bottom: 0;
2699
2416
  }
2700
2417
 
2701
- .cirth [role="search"] [type="button"]:not(:first-child) {
2702
- margin-left: calc(var(--cirth-border-width) * -1);
2418
+ .cirth dialog > article > footer button:not(:first-of-type), .cirth dialog > article > footer [role="button"]:not(:first-of-type) {
2419
+ margin-left: calc(var(--cirth-spacing) * .5);
2703
2420
  }
2704
2421
 
2705
- .cirth [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2706
- margin-left: calc(var(--cirth-border-width) * -1);
2422
+ .cirth dialog > article .close {
2423
+ width: var(--cirth-size-4);
2424
+ height: var(--cirth-size-4);
2425
+ margin-top: calc(var(--cirth-spacing) * -1);
2426
+ margin-bottom: var(--cirth-spacing);
2427
+ background-image: var(--cirth-icon-close);
2428
+ background-position: center;
2429
+ background-size: auto var(--cirth-size-4);
2430
+ opacity: .5;
2431
+ transition: opacity var(--cirth-transition);
2432
+ background-color: rgba(0, 0, 0, 0);
2433
+ background-repeat: no-repeat;
2434
+ border: none;
2435
+ margin-left: auto;
2436
+ display: block;
2707
2437
  }
2708
2438
 
2709
- .cirth [role="group"] [type="submit"]:not(:first-child) {
2710
- margin-left: calc(var(--cirth-border-width) * -1);
2439
+ .cirth dialog > article :is(a, button)[rel="prev"] {
2440
+ width: var(--cirth-size-4);
2441
+ height: var(--cirth-size-4);
2442
+ margin-top: calc(var(--cirth-spacing) * -1);
2443
+ margin-bottom: var(--cirth-spacing);
2444
+ background-image: var(--cirth-icon-close);
2445
+ background-position: center;
2446
+ background-size: auto var(--cirth-size-4);
2447
+ opacity: .5;
2448
+ transition: opacity var(--cirth-transition);
2449
+ background-color: rgba(0, 0, 0, 0);
2450
+ background-repeat: no-repeat;
2451
+ border: none;
2452
+ margin-left: auto;
2453
+ display: block;
2711
2454
  }
2712
2455
 
2713
- .cirth [role="group"] [type="reset"]:not(:first-child) {
2714
- margin-left: calc(var(--cirth-border-width) * -1);
2456
+ .cirth dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2457
+ opacity: 1;
2715
2458
  }
2716
2459
 
2717
- .cirth [role="group"] [type="button"]:not(:first-child) {
2718
- margin-left: calc(var(--cirth-border-width) * -1);
2460
+ .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
2461
+ opacity: 1;
2719
2462
  }
2720
2463
 
2721
- .cirth [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
2722
- margin-left: calc(var(--cirth-border-width) * -1);
2464
+ .cirth dialog:not([open]), .cirth dialog[open="false"] {
2465
+ display: none;
2723
2466
  }
2724
2467
 
2725
- .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
2726
- width: auto;
2468
+ .cirth.modal-is-open, .cirth .modal-is-open {
2469
+ padding-right: var(--cirth-scrollbar-width, 0px);
2470
+ pointer-events: none;
2471
+ touch-action: none;
2472
+ overflow: hidden;
2727
2473
  }
2728
2474
 
2729
- .cirth [role="search"] [type="submit"] {
2730
- width: auto;
2475
+ .cirth.modal-is-open dialog, .cirth .modal-is-open dialog {
2476
+ pointer-events: auto;
2477
+ touch-action: auto;
2731
2478
  }
2732
2479
 
2733
- .cirth [role="search"] [type="reset"] {
2734
- width: auto;
2480
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
2481
+ animation-duration: var(--cirth-duration-normal);
2482
+ animation-timing-function: var(--cirth-ease-in-out);
2483
+ animation-fill-mode: both;
2735
2484
  }
2736
2485
 
2737
- .cirth [role="search"] [type="button"] {
2738
- width: auto;
2486
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
2487
+ animation-duration: var(--cirth-duration-normal);
2488
+ animation-timing-function: var(--cirth-ease-in-out);
2489
+ animation-fill-mode: both;
2739
2490
  }
2740
2491
 
2741
- .cirth [role="group"] [type="submit"] {
2742
- width: auto;
2492
+ .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
2493
+ animation-duration: var(--cirth-duration-normal);
2494
+ animation-timing-function: var(--cirth-ease-in-out);
2495
+ animation-fill-mode: both;
2743
2496
  }
2744
2497
 
2745
- .cirth [role="group"] [type="reset"] {
2746
- width: auto;
2498
+ .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
2499
+ animation-duration: var(--cirth-duration-normal);
2500
+ animation-timing-function: var(--cirth-ease-in-out);
2501
+ animation-fill-mode: both;
2747
2502
  }
2748
2503
 
2749
- .cirth [role="group"] [type="button"] {
2750
- width: auto;
2504
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
2505
+ animation-duration: calc(var(--cirth-duration-normal) * 4);
2506
+ animation-name: modal-overlay;
2751
2507
  }
2752
2508
 
2753
- @supports selector(:has(*)) {
2754
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2755
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2756
- }
2757
-
2758
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
2759
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
2760
- }
2761
-
2762
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2763
- border-color: rgba(0, 0, 0, 0);
2764
- }
2765
-
2766
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2767
- border-color: rgba(0, 0, 0, 0);
2768
- }
2769
-
2770
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
2771
- border-color: rgba(0, 0, 0, 0);
2772
- }
2509
+ .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
2510
+ animation-duration: calc(var(--cirth-duration-normal) * 4);
2511
+ animation-name: modal-overlay;
2512
+ }
2773
2513
 
2774
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
2775
- border-color: rgba(0, 0, 0, 0);
2776
- }
2514
+ .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
2515
+ animation-delay: var(--cirth-duration-normal);
2516
+ animation-name: modal;
2517
+ }
2777
2518
 
2778
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2779
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2780
- }
2519
+ .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
2520
+ animation-delay: var(--cirth-duration-normal);
2521
+ animation-name: modal;
2522
+ }
2781
2523
 
2782
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
2783
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
2784
- }
2524
+ .cirth.modal-is-closing dialog, .cirth.modal-is-closing dialog > article, .cirth .modal-is-closing dialog, .cirth .modal-is-closing dialog > article {
2525
+ animation-delay: var(--cirth-duration-instant);
2526
+ animation-direction: reverse;
2527
+ }
2785
2528
 
2786
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2787
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2788
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2529
+ @keyframes modal-overlay {
2530
+ from {
2531
+ -webkit-backdrop-filter: none;
2532
+ backdrop-filter: none;
2533
+ background-color: rgba(0, 0, 0, 0);
2789
2534
  }
2535
+ }
2790
2536
 
2791
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2792
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2793
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2537
+ @keyframes modal {
2538
+ from {
2539
+ opacity: 0;
2540
+ transform: translateY(-100%);
2794
2541
  }
2542
+ }
2795
2543
 
2796
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2797
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2798
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2799
- }
2544
+ :where(nav li):before {
2545
+ float: left;
2546
+ content: "​";
2547
+ }
2800
2548
 
2801
- .cirth [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2802
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2803
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2804
- }
2549
+ .cirth nav, .cirth nav ul {
2550
+ display: flex;
2551
+ }
2805
2552
 
2806
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
2807
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2808
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2809
- }
2553
+ .cirth nav {
2554
+ justify-content: space-between;
2555
+ overflow: visible;
2556
+ }
2810
2557
 
2811
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
2812
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2813
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2814
- }
2558
+ .cirth nav ol, .cirth nav ul {
2559
+ align-items: center;
2560
+ margin-bottom: 0;
2561
+ padding: 0;
2562
+ list-style: none;
2563
+ }
2815
2564
 
2816
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
2817
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2818
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2819
- }
2565
+ .cirth nav ol:first-of-type, .cirth nav ul:first-of-type {
2566
+ margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2567
+ }
2820
2568
 
2821
- .cirth [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
2822
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-border);
2823
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width) var(--cirth-primary-hover-border);
2824
- }
2569
+ .cirth nav ol:last-of-type, .cirth nav ul:last-of-type {
2570
+ margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2571
+ }
2825
2572
 
2826
- .cirth [role="search"] button:focus, .cirth [role="search"] [role="button"]:focus, .cirth [role="group"] button:focus, .cirth [role="group"] [role="button"]:focus {
2827
- box-shadow: none;
2828
- }
2573
+ .cirth nav li {
2574
+ padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
2575
+ margin: 0;
2576
+ display: inline-block;
2577
+ }
2829
2578
 
2830
- .cirth [role="search"] [type="submit"]:focus {
2831
- box-shadow: none;
2832
- }
2579
+ .cirth nav li :where(a, [role="link"]) {
2580
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2581
+ padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
2582
+ border-radius: var(--cirth-border-radius);
2583
+ display: inline-block;
2584
+ }
2833
2585
 
2834
- .cirth [role="search"] [type="reset"]:focus {
2835
- box-shadow: none;
2836
- }
2586
+ .cirth nav li :where(a, [role="link"]):not(:hover) {
2587
+ text-decoration: none;
2588
+ }
2837
2589
 
2838
- .cirth [role="search"] [type="button"]:focus {
2839
- box-shadow: none;
2840
- }
2590
+ .cirth nav li button, .cirth nav li [role="button"], .cirth nav li select {
2591
+ height: auto;
2592
+ margin-right: inherit;
2593
+ margin-bottom: 0;
2594
+ margin-left: inherit;
2595
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2596
+ }
2841
2597
 
2842
- .cirth [role="group"] [type="submit"]:focus {
2843
- box-shadow: none;
2844
- }
2598
+ .cirth nav li [type="button"] {
2599
+ height: auto;
2600
+ margin-right: inherit;
2601
+ margin-bottom: 0;
2602
+ margin-left: inherit;
2603
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2604
+ }
2845
2605
 
2846
- .cirth [role="group"] [type="reset"]:focus {
2847
- box-shadow: none;
2848
- }
2606
+ .cirth nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
2607
+ height: auto;
2608
+ margin-right: inherit;
2609
+ margin-bottom: 0;
2610
+ margin-left: inherit;
2611
+ padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2612
+ }
2849
2613
 
2850
- .cirth [role="group"] [type="button"]:focus {
2851
- box-shadow: none;
2852
- }
2614
+ .cirth nav[aria-label="breadcrumb"] {
2615
+ justify-content: start;
2616
+ align-items: center;
2853
2617
  }
2854
2618
 
2855
- .cirth [role="search"] > :first-child {
2856
- border-top-left-radius: 5rem;
2857
- border-bottom-left-radius: 5rem;
2619
+ .cirth nav[aria-label="breadcrumb"] ul li:not(:first-child) {
2620
+ margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
2858
2621
  }
2859
2622
 
2860
- .cirth [role="search"] > :last-child {
2861
- border-top-right-radius: 5rem;
2862
- border-bottom-right-radius: 5rem;
2623
+ .cirth nav[aria-label="breadcrumb"] ul li a {
2624
+ margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
2625
+ margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2863
2626
  }
2864
2627
 
2865
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
2628
+ .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2629
+ width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
2630
+ margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
2631
+ content: var(--cirth-nav-breadcrumb-divider);
2632
+ color: var(--cirth-muted-color);
2633
+ text-align: center;
2866
2634
  white-space: nowrap;
2635
+ text-decoration: none;
2636
+ display: inline-block;
2637
+ position: absolute;
2867
2638
  }
2868
2639
 
2869
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
2870
- background-image: var(--cirth-icon-loading);
2871
- content: "";
2872
- vertical-align: -.125em;
2873
- background-repeat: no-repeat;
2874
- background-size: 1em;
2875
- width: 1em;
2876
- height: 1em;
2877
- display: inline-block;
2640
+ .cirth nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2641
+ color: inherit;
2642
+ pointer-events: none;
2643
+ background-color: rgba(0, 0, 0, 0);
2644
+ text-decoration: none;
2878
2645
  }
2879
2646
 
2880
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
2881
- margin-inline-end: calc(var(--cirth-spacing) * .5);
2647
+ .cirth aside nav, .cirth aside ol, .cirth aside ul, .cirth aside li {
2648
+ display: block;
2882
2649
  }
2883
2650
 
2884
- .cirth [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
2885
- text-align: center;
2651
+ .cirth aside li {
2652
+ padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
2886
2653
  }
2887
2654
 
2888
- .cirth button[aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
2889
- pointer-events: none;
2655
+ .cirth aside li a {
2656
+ display: block;
2890
2657
  }
2891
2658
 
2892
- .cirth [type="submit"][aria-busy="true"] {
2893
- pointer-events: none;
2659
+ .cirth aside li [role="button"] {
2660
+ margin: inherit;
2894
2661
  }
2895
2662
 
2896
- .cirth [type="button"][aria-busy="true"] {
2897
- pointer-events: none;
2663
+ [dir="rtl"] .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
2664
+ content: "\\";
2898
2665
  }
2899
2666
 
2900
- .cirth [type="reset"][aria-busy="true"] {
2901
- pointer-events: none;
2667
+ .cirth progress {
2668
+ vertical-align: baseline;
2669
+ appearance: none;
2670
+ width: 100%;
2671
+ height: var(--cirth-size-2);
2672
+ margin-bottom: calc(var(--cirth-spacing) * .5);
2673
+ border-radius: var(--cirth-border-radius);
2674
+ background-color: var(--cirth-progress-background-color);
2675
+ color: var(--cirth-progress-color);
2676
+ border: 0;
2677
+ display: inline-block;
2678
+ overflow: hidden;
2902
2679
  }
2903
2680
 
2904
- .cirth {
2905
- --cirth-scrollbar-width: 0px;
2681
+ .cirth progress::-webkit-progress-bar {
2682
+ border-radius: var(--cirth-border-radius);
2683
+ background: none;
2906
2684
  }
2907
2685
 
2908
- .cirth dialog {
2909
- z-index: 999;
2910
- width: inherit;
2911
- min-width: 100%;
2912
- height: inherit;
2913
- min-height: 100%;
2914
- -webkit-backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2915
- backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
2916
- background-color: var(--cirth-modal-overlay-background-color);
2917
- color: var(--cirth-color);
2918
- border: 0;
2919
- justify-content: center;
2920
- align-items: center;
2921
- padding: 0;
2922
- display: flex;
2923
- position: fixed;
2924
- inset: 0;
2686
+ .cirth progress[value]::-webkit-progress-value {
2687
+ background-color: var(--cirth-progress-color);
2688
+ transition: inline-size var(--cirth-transition);
2925
2689
  }
2926
2690
 
2927
- .cirth dialog > article {
2928
- width: 100%;
2929
- max-height: calc(100vh - var(--cirth-spacing) * 2);
2930
- margin: var(--cirth-spacing);
2931
- overflow: auto;
2691
+ .cirth progress::-moz-progress-bar {
2692
+ background-color: var(--cirth-progress-color);
2932
2693
  }
2933
2694
 
2934
- @media (width >= 576px) {
2935
- .cirth dialog > article {
2936
- max-width: 510px;
2695
+ @media (prefers-reduced-motion: no-preference) {
2696
+ .cirth progress:indeterminate {
2697
+ 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;
2698
+ animation: 1s linear infinite progress-indeterminate;
2937
2699
  }
2938
- }
2939
2700
 
2940
- @media (width >= 768px) {
2941
- .cirth dialog > article {
2942
- max-width: 700px;
2701
+ .cirth progress:indeterminate[value]::-webkit-progress-value {
2702
+ background-color: rgba(0, 0, 0, 0);
2943
2703
  }
2944
- }
2945
2704
 
2946
- .cirth dialog > article > header > * {
2947
- margin-bottom: 0;
2948
- }
2705
+ .cirth progress:indeterminate::-moz-progress-bar {
2706
+ background-color: rgba(0, 0, 0, 0);
2707
+ }
2949
2708
 
2950
- .cirth dialog > article > header .close {
2951
- margin: 0;
2952
- margin-left: var(--cirth-spacing);
2953
- float: right;
2954
- padding: 0;
2709
+ [dir="rtl"] .cirth progress:indeterminate {
2710
+ animation-direction: reverse;
2711
+ }
2955
2712
  }
2956
2713
 
2957
- .cirth dialog > article > header :is(a, button)[rel="prev"] {
2958
- margin: 0;
2959
- margin-left: var(--cirth-spacing);
2960
- float: right;
2961
- padding: 0;
2962
- }
2714
+ @keyframes progress-indeterminate {
2715
+ 0% {
2716
+ background-position: 200% 0;
2717
+ }
2963
2718
 
2964
- .cirth dialog > article > footer {
2965
- text-align: right;
2719
+ 100% {
2720
+ background-position: -200% 0;
2721
+ }
2966
2722
  }
2967
2723
 
2968
- .cirth dialog > article > footer button, .cirth dialog > article > footer [role="button"] {
2969
- margin-bottom: 0;
2724
+ .cirth [data-tooltip] {
2725
+ position: relative;
2970
2726
  }
2971
2727
 
2972
- .cirth dialog > article > footer button:not(:first-of-type), .cirth dialog > article > footer [role="button"]:not(:first-of-type) {
2973
- margin-left: calc(var(--cirth-spacing) * .5);
2728
+ .cirth [data-tooltip]:not(:is(a, button, input, [role="button"])) {
2729
+ border-bottom: var(--cirth-border-width-1) dotted;
2730
+ cursor: help;
2731
+ text-decoration: none;
2974
2732
  }
2975
2733
 
2976
- .cirth dialog > article .close {
2977
- width: 1rem;
2978
- height: 1rem;
2979
- margin-top: calc(var(--cirth-spacing) * -1);
2980
- margin-bottom: var(--cirth-spacing);
2981
- background-image: var(--cirth-icon-close);
2982
- opacity: .5;
2983
- transition: opacity var(--cirth-transition);
2984
- background-color: rgba(0, 0, 0, 0);
2985
- background-position: center;
2986
- background-repeat: no-repeat;
2987
- background-size: auto 1rem;
2988
- border: none;
2989
- margin-left: auto;
2734
+ .cirth [data-tooltip][data-placement="top"]:before, .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:before, .cirth [data-tooltip]:after {
2735
+ z-index: var(--cirth-z-index-tooltip);
2736
+ padding: var(--cirth-space-1) var(--cirth-space-2);
2737
+ border-radius: var(--cirth-border-radius);
2738
+ background: var(--cirth-tooltip-background-color);
2739
+ content: attr(data-tooltip);
2740
+ color: var(--cirth-tooltip-color);
2741
+ font-style: normal;
2742
+ font-weight: var(--cirth-font-weight);
2743
+ font-size: var(--cirth-font-size-sm);
2744
+ text-overflow: ellipsis;
2745
+ white-space: nowrap;
2746
+ opacity: 0;
2747
+ pointer-events: none;
2748
+ text-decoration: none;
2990
2749
  display: block;
2750
+ position: absolute;
2751
+ bottom: 100%;
2752
+ left: 50%;
2753
+ overflow: hidden;
2754
+ transform: translate(-50%, -.25rem);
2991
2755
  }
2992
2756
 
2993
- .cirth dialog > article :is(a, button)[rel="prev"] {
2994
- width: 1rem;
2995
- height: 1rem;
2996
- margin-top: calc(var(--cirth-spacing) * -1);
2997
- margin-bottom: var(--cirth-spacing);
2998
- background-image: var(--cirth-icon-close);
2999
- opacity: .5;
3000
- transition: opacity var(--cirth-transition);
2757
+ .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:after {
2758
+ content: "";
2759
+ color: var(--cirth-tooltip-background-color);
3001
2760
  background-color: rgba(0, 0, 0, 0);
3002
- background-position: center;
3003
- background-repeat: no-repeat;
3004
- background-size: auto 1rem;
3005
- border: none;
3006
- margin-left: auto;
3007
- display: block;
2761
+ border-top: .3rem solid;
2762
+ border-left: .3rem solid rgba(0, 0, 0, 0);
2763
+ border-right: .3rem solid rgba(0, 0, 0, 0);
2764
+ border-radius: 0;
2765
+ padding: 0;
2766
+ transform: translate(-50%);
3008
2767
  }
3009
2768
 
3010
- .cirth dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3011
- opacity: 1;
2769
+ .cirth [data-tooltip][data-placement="bottom"]:before, .cirth [data-tooltip][data-placement="bottom"]:after {
2770
+ top: 100%;
2771
+ bottom: auto;
2772
+ transform: translate(-50%, .25rem);
3012
2773
  }
3013
2774
 
3014
- .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
3015
- opacity: 1;
2775
+ .cirth [data-tooltip][data-placement="bottom"]:after {
2776
+ border: .3rem solid rgba(0, 0, 0, 0);
2777
+ border-bottom-color: currentColor;
2778
+ transform: translate(-50%, -.3rem);
3016
2779
  }
3017
2780
 
3018
- .cirth dialog:not([open]), .cirth dialog[open="false"] {
3019
- display: none;
2781
+ .cirth [data-tooltip][data-placement="left"]:before, .cirth [data-tooltip][data-placement="left"]:after {
2782
+ inset: 50% 100% auto auto;
2783
+ transform: translate(-.25rem, -50%);
3020
2784
  }
3021
2785
 
3022
- .cirth.modal-is-open, .cirth .modal-is-open {
3023
- padding-right: var(--cirth-scrollbar-width, 0px);
3024
- pointer-events: none;
3025
- touch-action: none;
3026
- overflow: hidden;
2786
+ .cirth [data-tooltip][data-placement="left"]:after {
2787
+ border: .3rem solid rgba(0, 0, 0, 0);
2788
+ border-left-color: currentColor;
2789
+ transform: translate(.3rem, -50%);
3027
2790
  }
3028
2791
 
3029
- .cirth.modal-is-open dialog, .cirth .modal-is-open dialog {
3030
- pointer-events: auto;
3031
- touch-action: auto;
2792
+ .cirth [data-tooltip][data-placement="right"]:before, .cirth [data-tooltip][data-placement="right"]:after {
2793
+ inset: 50% auto auto 100%;
2794
+ transform: translate(.25rem, -50%);
3032
2795
  }
3033
2796
 
3034
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
3035
- animation-duration: .2s;
3036
- animation-timing-function: ease-in-out;
3037
- animation-fill-mode: both;
2797
+ .cirth [data-tooltip][data-placement="right"]:after {
2798
+ border: .3rem solid rgba(0, 0, 0, 0);
2799
+ border-right-color: currentColor;
2800
+ transform: translate(-.3rem, -50%);
2801
+ }
2802
+
2803
+ .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
2804
+ opacity: 1;
3038
2805
  }
3039
2806
 
3040
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
3041
- animation-duration: .2s;
3042
- animation-timing-function: ease-in-out;
3043
- animation-fill-mode: both;
3044
- }
2807
+ @media (hover: hover) and (pointer: fine) {
2808
+ .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
2809
+ --cirth-tooltip-slide-to: translate(-50%, -.25rem);
2810
+ animation-duration: var(--cirth-duration-normal);
2811
+ opacity: 0;
2812
+ animation-name: tooltip-slide;
2813
+ animation-fill-mode: forwards;
2814
+ transform: translate(-50%, .75rem);
2815
+ }
2816
+
2817
+ .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:after {
2818
+ --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
2819
+ animation-name: tooltip-caret-slide;
2820
+ transform: translate(-50%, -.25rem);
2821
+ }
2822
+
2823
+ .cirth [data-tooltip][data-placement="bottom"]:focus:before, .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:before, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
2824
+ --cirth-tooltip-slide-to: translate(-50%, .25rem);
2825
+ animation-name: tooltip-slide;
2826
+ transform: translate(-50%, -.75rem);
2827
+ }
2828
+
2829
+ .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
2830
+ --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
2831
+ animation-name: tooltip-caret-slide;
2832
+ transform: translate(-50%, -.5rem);
2833
+ }
3045
2834
 
3046
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
3047
- animation-duration: .2s;
3048
- animation-timing-function: ease-in-out;
3049
- animation-fill-mode: both;
3050
- }
2835
+ .cirth [data-tooltip][data-placement="left"]:focus:before, .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:before, .cirth [data-tooltip][data-placement="left"]:hover:after {
2836
+ --cirth-tooltip-slide-to: translate(-.25rem, -50%);
2837
+ animation-name: tooltip-slide;
2838
+ transform: translate(.75rem, -50%);
2839
+ }
3051
2840
 
3052
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
3053
- animation-duration: .2s;
3054
- animation-timing-function: ease-in-out;
3055
- animation-fill-mode: both;
3056
- }
2841
+ .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:after {
2842
+ --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
2843
+ animation-name: tooltip-caret-slide;
2844
+ transform: translate(.05rem, -50%);
2845
+ }
3057
2846
 
3058
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog {
3059
- animation-name: modal-overlay;
3060
- animation-duration: .8s;
3061
- }
2847
+ .cirth [data-tooltip][data-placement="right"]:focus:before, .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:before, .cirth [data-tooltip][data-placement="right"]:hover:after {
2848
+ --cirth-tooltip-slide-to: translate(.25rem, -50%);
2849
+ animation-name: tooltip-slide;
2850
+ transform: translate(-.75rem, -50%);
2851
+ }
3062
2852
 
3063
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog {
3064
- animation-name: modal-overlay;
3065
- animation-duration: .8s;
2853
+ .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:after {
2854
+ --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
2855
+ animation-name: tooltip-caret-slide;
2856
+ transform: translate(-.05rem, -50%);
2857
+ }
3066
2858
  }
3067
2859
 
3068
- .cirth:where(.modal-is-opening, .modal-is-closing) dialog > article {
3069
- animation-name: modal;
3070
- animation-delay: .2s;
2860
+ @keyframes tooltip-slide {
2861
+ to {
2862
+ transform: var(--cirth-tooltip-slide-to);
2863
+ opacity: 1;
2864
+ }
3071
2865
  }
3072
2866
 
3073
- .cirth :where(.modal-is-opening, .modal-is-closing) dialog > article {
3074
- animation-name: modal;
3075
- animation-delay: .2s;
3076
- }
2867
+ @keyframes tooltip-caret-slide {
2868
+ 50% {
2869
+ opacity: 0;
2870
+ }
3077
2871
 
3078
- .cirth.modal-is-closing dialog, .cirth.modal-is-closing dialog > article, .cirth .modal-is-closing dialog, .cirth .modal-is-closing dialog > article {
3079
- animation-direction: reverse;
3080
- animation-delay: 0s;
2872
+ to {
2873
+ transform: var(--cirth-tooltip-caret-slide-to);
2874
+ opacity: 1;
2875
+ }
3081
2876
  }
3082
2877
 
3083
- @keyframes modal-overlay {
3084
- from {
3085
- -webkit-backdrop-filter: none;
3086
- backdrop-filter: none;
3087
- background-color: rgba(0, 0, 0, 0);
3088
- }
2878
+ .cirth [aria-controls] {
2879
+ cursor: pointer;
3089
2880
  }
3090
2881
 
3091
- @keyframes modal {
3092
- from {
3093
- opacity: 0;
3094
- transform: translateY(-100%);
3095
- }
2882
+ .cirth [aria-disabled="true"], .cirth [disabled] {
2883
+ cursor: not-allowed;
3096
2884
  }
3097
2885
 
3098
- :where(nav li):before {
3099
- float: left;
3100
- content: "​";
2886
+ .cirth [aria-hidden="false"][hidden] {
2887
+ display: initial;
3101
2888
  }
3102
2889
 
3103
- .cirth nav, .cirth nav ul {
3104
- display: flex;
2890
+ .cirth [aria-hidden="false"][hidden]:not(:focus) {
2891
+ clip: rect(0, 0, 0, 0);
2892
+ position: absolute;
3105
2893
  }
3106
2894
 
3107
- .cirth nav {
3108
- justify-content: space-between;
3109
- overflow: visible;
2895
+ .cirth a, .cirth area, .cirth button, .cirth input, .cirth label, .cirth select, .cirth summary, .cirth textarea, .cirth [tabindex] {
2896
+ -ms-touch-action: manipulation;
3110
2897
  }
3111
2898
 
3112
- .cirth nav ol, .cirth nav ul {
3113
- align-items: center;
3114
- margin-bottom: 0;
3115
- padding: 0;
3116
- list-style: none;
2899
+ .cirth [dir="rtl"] {
2900
+ direction: rtl;
3117
2901
  }
3118
2902
 
3119
- .cirth nav ol:first-of-type, .cirth nav ul:first-of-type {
3120
- margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2903
+ @media (prefers-reduced-motion: reduce) {
2904
+ .cirth :not([aria-busy="true"]), .cirth :not([aria-busy="true"]):before, .cirth :not([aria-busy="true"]):after {
2905
+ background-attachment: initial;
2906
+ scroll-behavior: auto;
2907
+ transition-delay: var(--cirth-duration-instant);
2908
+ transition-duration: var(--cirth-duration-instant);
2909
+ animation-duration: 1ms;
2910
+ animation-iteration-count: 1;
2911
+ animation-delay: -1ms;
2912
+ }
3121
2913
  }
3122
2914
 
3123
- .cirth nav ol:last-of-type, .cirth nav ul:last-of-type {
3124
- margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
2915
+ .cirth {
2916
+ --cirth-color-black: #000;
2917
+ --cirth-color-white: #fff;
2918
+ --cirth-color-transparent: transparent;
2919
+ --cirth-color-current: currentColor;
2920
+ --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2921
+ "Helvetica Neue", sans-serif;
2922
+ --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2923
+ "Segoe UI Symbol", "Noto Color Emoji";
2924
+ --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2925
+ --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2926
+ monospace;
2927
+ --cirth-font-family-display: var(--cirth-font-family-sans);
2928
+ --cirth-font-size-xs: .75rem;
2929
+ --cirth-font-size-sm: .875rem;
2930
+ --cirth-font-size-md: 1rem;
2931
+ --cirth-font-size-lg: 1.125rem;
2932
+ --cirth-font-size-xl: 1.25rem;
2933
+ --cirth-font-size-2xl: 1.425rem;
2934
+ --cirth-font-size-3xl: 1.6rem;
2935
+ --cirth-font-size-4xl: 1.8rem;
2936
+ --cirth-font-size-5xl: 2rem;
2937
+ --cirth-font-size-6xl: 2.3rem;
2938
+ --cirth-font-weight-light: 300;
2939
+ --cirth-font-weight-regular: 400;
2940
+ --cirth-font-weight-medium: 500;
2941
+ --cirth-font-weight-semibold: 600;
2942
+ --cirth-font-weight-bold: 700;
2943
+ --cirth-line-height-none: 1;
2944
+ --cirth-line-height-tight: 1.125;
2945
+ --cirth-line-height-snug: 1.25;
2946
+ --cirth-line-height-normal: 1.5;
2947
+ --cirth-line-height-relaxed: 1.625;
2948
+ --cirth-line-height-loose: 2;
2949
+ --cirth-letter-spacing-tight: 0;
2950
+ --cirth-letter-spacing-normal: 0;
2951
+ --cirth-letter-spacing-wide: .025em;
2952
+ --cirth-space-0: 0;
2953
+ --cirth-space-1: .25rem;
2954
+ --cirth-space-2: .5rem;
2955
+ --cirth-space-3: .75rem;
2956
+ --cirth-space-4: 1rem;
2957
+ --cirth-space-5: 1.25rem;
2958
+ --cirth-space-6: 1.5rem;
2959
+ --cirth-space-8: 2rem;
2960
+ --cirth-space-10: 2.5rem;
2961
+ --cirth-space-12: 3rem;
2962
+ --cirth-space-16: 4rem;
2963
+ --cirth-space-20: 5rem;
2964
+ --cirth-space-24: 6rem;
2965
+ --cirth-size-0: 0;
2966
+ --cirth-size-1: .25rem;
2967
+ --cirth-size-2: .5rem;
2968
+ --cirth-size-3: .75rem;
2969
+ --cirth-size-4: 1rem;
2970
+ --cirth-size-5: 1.25rem;
2971
+ --cirth-size-6: 1.5rem;
2972
+ --cirth-size-8: 2rem;
2973
+ --cirth-size-10: 2.5rem;
2974
+ --cirth-size-12: 3rem;
2975
+ --cirth-size-16: 4rem;
2976
+ --cirth-size-20: 5rem;
2977
+ --cirth-size-24: 6rem;
2978
+ --cirth-radius-none: 0;
2979
+ --cirth-radius-xs: .125rem;
2980
+ --cirth-radius-sm: .25rem;
2981
+ --cirth-radius-md: .375rem;
2982
+ --cirth-radius-lg: .5rem;
2983
+ --cirth-radius-xl: .75rem;
2984
+ --cirth-radius-2xl: 1rem;
2985
+ --cirth-radius-pill: 9999px;
2986
+ --cirth-border-width-0: 0;
2987
+ --cirth-border-width-1: .0625rem;
2988
+ --cirth-border-width-2: .125rem;
2989
+ --cirth-border-width-4: .25rem;
2990
+ --cirth-outline-width-1: .0625rem;
2991
+ --cirth-outline-width-2: .125rem;
2992
+ --cirth-outline-width-4: .25rem;
2993
+ --cirth-shadow-none: none;
2994
+ --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2995
+ --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2996
+ 0 .0625rem .125rem rgba(0, 0, 0, .06);
2997
+ --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2998
+ 0 .125rem .25rem rgba(0, 0, 0, .06);
2999
+ --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
3000
+ 0 .25rem .375rem rgba(0, 0, 0, .05);
3001
+ --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
3002
+ 0 .625rem .625rem rgba(0, 0, 0, .04);
3003
+ --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
3004
+ --cirth-duration-instant: 0s;
3005
+ --cirth-duration-fast: .1s;
3006
+ --cirth-duration-normal: .2s;
3007
+ --cirth-duration-slow: .3s;
3008
+ --cirth-duration-slower: .5s;
3009
+ --cirth-ease-linear: linear;
3010
+ --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
3011
+ --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
3012
+ --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
3013
+ --cirth-opacity-disabled: .5;
3014
+ --cirth-opacity-muted: .72;
3015
+ --cirth-opacity-overlay: .75;
3016
+ --cirth-z-index-dropdown: 1000;
3017
+ --cirth-z-index-sticky: 1020;
3018
+ --cirth-z-index-fixed: 1030;
3019
+ --cirth-z-index-modal-backdrop: 1040;
3020
+ --cirth-z-index-modal: 1050;
3021
+ --cirth-z-index-tooltip: 1070;
3022
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3023
+ --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
3024
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
3025
+ --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
3026
+ monospace, var(--cirth-font-family-emoji);
3027
+ --cirth-font-family: var(--cirth-font-family-sans-serif);
3028
+ --cirth-line-height: var(--cirth-line-height-normal);
3029
+ --cirth-font-weight: var(--cirth-font-weight-regular);
3030
+ --cirth-font-size: 100%;
3031
+ --cirth-text-underline-offset: .1rem;
3032
+ --cirth-border-radius: var(--cirth-radius-sm);
3033
+ --cirth-border-width: var(--cirth-border-width-1);
3034
+ --cirth-outline-width: var(--cirth-outline-width-2);
3035
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
3036
+ --cirth-spacing: var(--cirth-space-4);
3037
+ --cirth-typography-spacing-vertical: var(--cirth-space-4);
3038
+ --cirth-block-spacing-vertical: var(--cirth-spacing);
3039
+ --cirth-block-spacing-horizontal: var(--cirth-spacing);
3040
+ --cirth-grid-column-gap: var(--cirth-spacing);
3041
+ --cirth-grid-row-gap: var(--cirth-spacing);
3042
+ --cirth-form-element-spacing-vertical: var(--cirth-space-3);
3043
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
3044
+ --cirth-form-label-font-weight: var(--cirth-font-weight);
3045
+ --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3046
+ --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
3047
+ var(--cirth-primary-focus);
3048
+ --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
3049
+ var(--cirth-form-element-border-color);
3050
+ --cirth-modal-overlay-backdrop-filter: blur(.375rem);
3051
+ --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
3052
+ --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
3053
+ --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
3054
+ --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
3055
+ --cirth-nav-breadcrumb-divider: ">";
3056
+ --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");
3057
+ --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");
3058
+ --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");
3059
+ --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");
3060
+ --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");
3061
+ --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");
3062
+ --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");
3063
+ --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");
3125
3064
  }
3126
3065
 
3127
- .cirth nav li {
3128
- padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
3129
- margin: 0;
3130
- display: inline-block;
3066
+ @media (width >= 576px) {
3067
+ .cirth {
3068
+ --cirth-font-size: 106.25%;
3069
+ }
3131
3070
  }
3132
3071
 
3133
- .cirth nav li :where(a, [role="link"]) {
3134
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3135
- padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
3136
- border-radius: var(--cirth-border-radius);
3137
- display: inline-block;
3072
+ @media (width >= 768px) {
3073
+ .cirth {
3074
+ --cirth-font-size: 112.5%;
3075
+ }
3138
3076
  }
3139
3077
 
3140
- .cirth nav li :where(a, [role="link"]):not(:hover) {
3141
- text-decoration: none;
3078
+ @media (width >= 1024px) {
3079
+ .cirth {
3080
+ --cirth-font-size: 118.75%;
3081
+ }
3142
3082
  }
3143
3083
 
3144
- .cirth nav li button, .cirth nav li [role="button"], .cirth nav li select {
3145
- height: auto;
3146
- margin-right: inherit;
3147
- margin-bottom: 0;
3148
- margin-left: inherit;
3149
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3084
+ @media (width >= 1280px) {
3085
+ .cirth {
3086
+ --cirth-font-size: 125%;
3087
+ }
3150
3088
  }
3151
3089
 
3152
- .cirth nav li [type="button"] {
3153
- height: auto;
3154
- margin-right: inherit;
3155
- margin-bottom: 0;
3156
- margin-left: inherit;
3157
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3090
+ @media (width >= 1536px) {
3091
+ .cirth {
3092
+ --cirth-font-size: 131.25%;
3093
+ }
3158
3094
  }
3159
3095
 
3160
- .cirth nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
3161
- height: auto;
3162
- margin-right: inherit;
3163
- margin-bottom: 0;
3164
- margin-left: inherit;
3165
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
3096
+ .cirth a, .cirth a.secondary, .cirth a.contrast {
3097
+ --cirth-text-decoration: underline;
3166
3098
  }
3167
3099
 
3168
- .cirth nav[aria-label="breadcrumb"] {
3169
- justify-content: start;
3170
- align-items: center;
3100
+ .cirth small {
3101
+ --cirth-font-size: .875em;
3171
3102
  }
3172
3103
 
3173
- .cirth nav[aria-label="breadcrumb"] ul li:not(:first-child) {
3174
- margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
3104
+ .cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
3105
+ --cirth-font-weight: var(--cirth-font-weight-bold);
3175
3106
  }
3176
3107
 
3177
- .cirth nav[aria-label="breadcrumb"] ul li a {
3178
- margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
3179
- margin-inline-start: calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3108
+ .cirth h1 {
3109
+ --cirth-font-size: var(--cirth-font-size-5xl);
3110
+ --cirth-line-height: var(--cirth-line-height-tight);
3111
+ --cirth-typography-spacing-top: var(--cirth-space-12);
3180
3112
  }
3181
3113
 
3182
- .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
3183
- width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
3184
- margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
3185
- content: var(--cirth-nav-breadcrumb-divider);
3186
- color: var(--cirth-muted-color);
3187
- text-align: center;
3188
- white-space: nowrap;
3189
- text-decoration: none;
3190
- display: inline-block;
3191
- position: absolute;
3114
+ .cirth h2 {
3115
+ --cirth-font-size: 1.75rem;
3116
+ --cirth-line-height: 1.15;
3117
+ --cirth-typography-spacing-top: 2.625rem;
3192
3118
  }
3193
3119
 
3194
- .cirth nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
3195
- color: inherit;
3196
- pointer-events: none;
3197
- background-color: rgba(0, 0, 0, 0);
3198
- text-decoration: none;
3120
+ .cirth h3 {
3121
+ --cirth-font-size: 1.5rem;
3122
+ --cirth-line-height: 1.175;
3123
+ --cirth-typography-spacing-top: 2.25rem;
3199
3124
  }
3200
3125
 
3201
- .cirth aside nav, .cirth aside ol, .cirth aside ul, .cirth aside li {
3202
- display: block;
3126
+ .cirth h4 {
3127
+ --cirth-font-size: var(--cirth-font-size-xl);
3128
+ --cirth-line-height: 1.2;
3129
+ --cirth-typography-spacing-top: 1.874rem;
3203
3130
  }
3204
3131
 
3205
- .cirth aside li {
3206
- padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) var(--cirth-nav-element-spacing-horizontal);
3132
+ .cirth h5 {
3133
+ --cirth-font-size: var(--cirth-font-size-lg);
3134
+ --cirth-line-height: 1.225;
3135
+ --cirth-typography-spacing-top: 1.6875rem;
3207
3136
  }
3208
3137
 
3209
- .cirth aside li a {
3210
- display: block;
3138
+ .cirth h6 {
3139
+ --cirth-font-size: var(--cirth-font-size-md);
3140
+ --cirth-line-height: var(--cirth-line-height-snug);
3141
+ --cirth-typography-spacing-top: var(--cirth-space-6);
3211
3142
  }
3212
3143
 
3213
- .cirth aside li [role="button"] {
3214
- margin: inherit;
3144
+ .cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
3145
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
3146
+ --cirth-border-width: .1875rem;
3215
3147
  }
3216
3148
 
3217
- [dir="rtl"] .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
3218
- content: "\\";
3149
+ .cirth pre, .cirth code, .cirth kbd, .cirth samp {
3150
+ --cirth-font-family: var(--cirth-font-family-monospace);
3219
3151
  }
3220
3152
 
3221
- .cirth progress {
3222
- vertical-align: baseline;
3223
- appearance: none;
3224
- width: 100%;
3225
- height: .5rem;
3226
- margin-bottom: calc(var(--cirth-spacing) * .5);
3227
- border-radius: var(--cirth-border-radius);
3228
- background-color: var(--cirth-progress-background-color);
3229
- color: var(--cirth-progress-color);
3230
- border: 0;
3231
- display: inline-block;
3232
- overflow: hidden;
3153
+ .cirth kbd {
3154
+ --cirth-font-weight: bolder;
3233
3155
  }
3234
3156
 
3235
- .cirth progress::-webkit-progress-bar {
3236
- border-radius: var(--cirth-border-radius);
3237
- background: none;
3157
+ .cirth input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
3158
+ --cirth-outline-width: var(--cirth-outline-width-1);
3238
3159
  }
3239
3160
 
3240
- .cirth progress[value]::-webkit-progress-value {
3241
- background-color: var(--cirth-progress-color);
3242
- transition: inline-size var(--cirth-transition);
3161
+ .cirth :where(select, textarea) {
3162
+ --cirth-outline-width: var(--cirth-outline-width-1);
3243
3163
  }
3244
3164
 
3245
- .cirth progress::-moz-progress-bar {
3246
- background-color: var(--cirth-progress-color);
3165
+ .cirth [type="search"] {
3166
+ --cirth-border-radius: var(--cirth-radius-pill);
3247
3167
  }
3248
3168
 
3249
- @media (prefers-reduced-motion: no-preference) {
3250
- .cirth progress:indeterminate {
3251
- 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;
3252
- animation: 1s linear infinite progress-indeterminate;
3253
- }
3169
+ .cirth [type="checkbox"] {
3170
+ --cirth-border-width: var(--cirth-border-width-2);
3171
+ }
3254
3172
 
3255
- .cirth progress:indeterminate[value]::-webkit-progress-value {
3256
- background-color: rgba(0, 0, 0, 0);
3257
- }
3173
+ .cirth [type="radio"] {
3174
+ --cirth-border-width: var(--cirth-border-width-2);
3175
+ }
3258
3176
 
3259
- .cirth progress:indeterminate::-moz-progress-bar {
3260
- background-color: rgba(0, 0, 0, 0);
3261
- }
3177
+ .cirth [type="checkbox"][role="switch"] {
3178
+ --cirth-border-width: .1875rem;
3179
+ }
3262
3180
 
3263
- [dir="rtl"] .cirth progress:indeterminate {
3264
- animation-direction: reverse;
3265
- }
3181
+ .cirth details.dropdown summary:not([role="button"]) {
3182
+ --cirth-outline-width: var(--cirth-outline-width-1);
3266
3183
  }
3267
3184
 
3268
- @keyframes progress-indeterminate {
3269
- 0% {
3270
- background-position: 200% 0;
3271
- }
3185
+ .cirth nav details.dropdown summary:focus-visible {
3186
+ --cirth-outline-width: var(--cirth-outline-width-2);
3187
+ }
3272
3188
 
3273
- 100% {
3274
- background-position: -200% 0;
3275
- }
3189
+ .cirth [role="search"] {
3190
+ --cirth-border-radius: var(--cirth-radius-pill);
3276
3191
  }
3277
3192
 
3278
- .cirth [data-tooltip] {
3279
- position: relative;
3193
+ .cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
3194
+ --cirth-group-box-shadow-focus-with-button: 0
3195
+ 0
3196
+ 0
3197
+ var(--cirth-outline-width)
3198
+ var(--cirth-secondary-focus);
3280
3199
  }
3281
3200
 
3282
- .cirth [data-tooltip]:not(:is(a, button, input, [role="button"])) {
3283
- cursor: help;
3284
- border-bottom: 1px dotted;
3285
- text-decoration: none;
3201
+ .cirth [role="group"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
3202
+ --cirth-group-box-shadow-focus-with-button: 0
3203
+ 0
3204
+ 0
3205
+ var(--cirth-outline-width)
3206
+ var(--cirth-secondary-focus);
3286
3207
  }
3287
3208
 
3288
- .cirth [data-tooltip][data-placement="top"]:before, .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:before, .cirth [data-tooltip]:after {
3289
- z-index: 99;
3290
- border-radius: var(--cirth-border-radius);
3291
- background: var(--cirth-tooltip-background-color);
3292
- content: attr(data-tooltip);
3293
- color: var(--cirth-tooltip-color);
3294
- font-style: normal;
3295
- font-weight: var(--cirth-font-weight);
3296
- text-overflow: ellipsis;
3297
- white-space: nowrap;
3298
- opacity: 0;
3299
- pointer-events: none;
3300
- padding: .25rem .5rem;
3301
- font-size: .875rem;
3302
- text-decoration: none;
3303
- display: block;
3304
- position: absolute;
3305
- bottom: 100%;
3306
- left: 50%;
3307
- overflow: hidden;
3308
- transform: translate(-50%, -.25rem);
3209
+ .cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
3210
+ --cirth-group-box-shadow-focus-with-button: 0
3211
+ 0
3212
+ 0
3213
+ var(--cirth-outline-width)
3214
+ var(--cirth-contrast-focus);
3309
3215
  }
3310
3216
 
3311
- .cirth [data-tooltip][data-placement="top"]:after, .cirth [data-tooltip]:after {
3312
- content: "";
3313
- color: var(--cirth-tooltip-background-color);
3314
- background-color: rgba(0, 0, 0, 0);
3315
- border-top: .3rem solid;
3316
- border-left: .3rem solid rgba(0, 0, 0, 0);
3317
- border-right: .3rem solid rgba(0, 0, 0, 0);
3318
- border-radius: 0;
3319
- padding: 0;
3320
- transform: translate(-50%);
3217
+ .cirth [role="group"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
3218
+ --cirth-group-box-shadow-focus-with-button: 0
3219
+ 0
3220
+ 0
3221
+ var(--cirth-outline-width)
3222
+ var(--cirth-contrast-focus);
3321
3223
  }
3322
3224
 
3323
- .cirth [data-tooltip][data-placement="bottom"]:before, .cirth [data-tooltip][data-placement="bottom"]:after {
3324
- top: 100%;
3325
- bottom: auto;
3326
- transform: translate(-50%, .25rem);
3225
+ .cirth [role="search"] button, .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [role="button"] {
3226
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3327
3227
  }
3328
3228
 
3329
- .cirth [data-tooltip][data-placement="bottom"]:after {
3330
- border: .3rem solid rgba(0, 0, 0, 0);
3331
- border-bottom-color: currentColor;
3332
- transform: translate(-50%, -.3rem);
3229
+ .cirth [role="search"] [type="submit"] {
3230
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3333
3231
  }
3334
3232
 
3335
- .cirth [data-tooltip][data-placement="left"]:before, .cirth [data-tooltip][data-placement="left"]:after {
3336
- inset: 50% 100% auto auto;
3337
- transform: translate(-.25rem, -50%);
3233
+ .cirth [role="search"] [type="button"] {
3234
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3338
3235
  }
3339
3236
 
3340
- .cirth [data-tooltip][data-placement="left"]:after {
3341
- border: .3rem solid rgba(0, 0, 0, 0);
3342
- border-left-color: currentColor;
3343
- transform: translate(.3rem, -50%);
3237
+ .cirth [role="group"] [type="submit"] {
3238
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3344
3239
  }
3345
3240
 
3346
- .cirth [data-tooltip][data-placement="right"]:before, .cirth [data-tooltip][data-placement="right"]:after {
3347
- inset: 50% auto auto 100%;
3348
- transform: translate(.25rem, -50%);
3241
+ .cirth [role="group"] [type="button"] {
3242
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
3349
3243
  }
3350
3244
 
3351
- .cirth [data-tooltip][data-placement="right"]:after {
3352
- border: .3rem solid rgba(0, 0, 0, 0);
3353
- border-right-color: currentColor;
3354
- transform: translate(-.3rem, -50%);
3245
+ .cirth details summary[role="button"]:not(.outline):after {
3246
+ filter: brightness(0) invert();
3355
3247
  }
3356
3248
 
3357
- .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
3358
- opacity: 1;
3249
+ .cirth [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
3250
+ filter: brightness(0) invert();
3359
3251
  }
3360
3252
 
3361
- @media (hover: hover) and (pointer: fine) {
3362
- .cirth [data-tooltip]:focus:before, .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:before, .cirth [data-tooltip]:hover:after {
3363
- --cirth-tooltip-slide-to: translate(-50%, -.25rem);
3364
- opacity: 0;
3365
- animation-name: tooltip-slide;
3366
- animation-duration: .2s;
3367
- animation-fill-mode: forwards;
3368
- transform: translate(-50%, .75rem);
3369
- }
3253
+ .cirth[data-theme="light"], .cirth [data-theme="light"], .cirth:not([data-theme="dark"]) {
3254
+ --lightningcss-light: initial;
3255
+ --lightningcss-dark: ;
3256
+ color-scheme: light;
3257
+ --cirth-background-color: #fff;
3258
+ --cirth-color: #373c44;
3259
+ --cirth-text-selection-color: rgba(129, 145, 181, .25);
3260
+ --cirth-muted-color: #646b79;
3261
+ --cirth-muted-border-color: #e7eaf0;
3262
+ --cirth-primary: #5d6b89;
3263
+ --cirth-primary-background: #525f7a;
3264
+ --cirth-primary-border: var(--cirth-primary-background);
3265
+ --cirth-primary-underline: rgba(93, 107, 137, .5);
3266
+ --cirth-primary-hover: #48536b;
3267
+ --cirth-primary-hover-background: #48536b;
3268
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3269
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3270
+ --cirth-primary-focus: rgba(129, 145, 181, .5);
3271
+ --cirth-primary-inverse: #fff;
3272
+ --cirth-secondary: #5d6b89;
3273
+ --cirth-secondary-background: #525f7a;
3274
+ --cirth-secondary-border: var(--cirth-secondary-background);
3275
+ --cirth-secondary-underline: rgba(93, 107, 137, .5);
3276
+ --cirth-secondary-hover: #48536b;
3277
+ --cirth-secondary-hover-background: #48536b;
3278
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3279
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3280
+ --cirth-secondary-focus: rgba(93, 107, 137, .25);
3281
+ --cirth-secondary-inverse: #fff;
3282
+ --cirth-contrast: #181c25;
3283
+ --cirth-contrast-background: #181c25;
3284
+ --cirth-contrast-border: var(--cirth-contrast-background);
3285
+ --cirth-contrast-underline: rgba(24, 28, 37, .5);
3286
+ --cirth-contrast-hover: #000;
3287
+ --cirth-contrast-hover-background: #000;
3288
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3289
+ --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
3290
+ --cirth-contrast-focus: rgba(93, 107, 137, .25);
3291
+ --cirth-contrast-inverse: #fff;
3292
+ --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);
3293
+ --cirth-h1-color: #2d3138;
3294
+ --cirth-h2-color: #373c44;
3295
+ --cirth-h3-color: #424751;
3296
+ --cirth-h4-color: #4d535e;
3297
+ --cirth-h5-color: #5c6370;
3298
+ --cirth-h6-color: #646b79;
3299
+ --cirth-mark-background-color: #fde7c0;
3300
+ --cirth-mark-color: #0f1114;
3301
+ --cirth-ins-color: #1d6a54;
3302
+ --cirth-del-color: #883935;
3303
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3304
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3305
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3306
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3307
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3308
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3309
+ --cirth-code-background-color: #f3f5f7;
3310
+ --cirth-code-color: #646b79;
3311
+ --cirth-code-kbd-background-color: var(--cirth-color);
3312
+ --cirth-code-kbd-color: var(--cirth-background-color);
3313
+ --cirth-form-element-background-color: #fbfcfc;
3314
+ --cirth-form-element-selected-background-color: #dfe3eb;
3315
+ --cirth-form-element-border-color: #cfd5e2;
3316
+ --cirth-form-element-color: #23262c;
3317
+ --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3318
+ --cirth-form-element-active-background-color: #fff;
3319
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3320
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3321
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3322
+ --cirth-form-element-invalid-border-color: #b86a6b;
3323
+ --cirth-form-element-invalid-active-border-color: #c84f48;
3324
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3325
+ --cirth-form-element-valid-border-color: #4c9b8a;
3326
+ --cirth-form-element-valid-active-border-color: #279977;
3327
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3328
+ --cirth-switch-background-color: #bfc7d9;
3329
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3330
+ --cirth-switch-color: #fff;
3331
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3332
+ --cirth-range-border-color: #dfe3eb;
3333
+ --cirth-range-active-border-color: #bfc7d9;
3334
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3335
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3336
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3337
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3338
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3339
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3340
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3341
+ --cirth-card-background-color: var(--cirth-background-color);
3342
+ --cirth-card-border-color: var(--cirth-muted-border-color);
3343
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3344
+ --cirth-card-sectioning-background-color: #fbfcfc;
3345
+ --cirth-dropdown-background-color: #fff;
3346
+ --cirth-dropdown-border-color: #eff1f4;
3347
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3348
+ --cirth-dropdown-color: var(--cirth-color);
3349
+ --cirth-dropdown-hover-background-color: #eff1f4;
3350
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3351
+ --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3352
+ --cirth-progress-background-color: #dfe3eb;
3353
+ --cirth-progress-color: var(--cirth-primary-background);
3354
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3355
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3356
+ --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");
3357
+ --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");
3358
+ }
3370
3359
 
3371
- .cirth [data-tooltip]:focus:after, .cirth [data-tooltip]:hover:after {
3372
- --cirth-tooltip-caret-slide-to: translate(-50%, 0rem);
3373
- animation-name: tooltip-caret-slide;
3374
- transform: translate(-50%, -.25rem);
3375
- }
3360
+ .cirth[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3361
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3362
+ }
3376
3363
 
3377
- .cirth [data-tooltip][data-placement="bottom"]:focus:before, .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:before, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
3378
- --cirth-tooltip-slide-to: translate(-50%, .25rem);
3379
- animation-name: tooltip-slide;
3380
- transform: translate(-50%, -.75rem);
3381
- }
3364
+ .cirth [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3365
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3366
+ }
3382
3367
 
3383
- .cirth [data-tooltip][data-placement="bottom"]:focus:after, .cirth [data-tooltip][data-placement="bottom"]:hover:after {
3384
- --cirth-tooltip-caret-slide-to: translate(-50%, -.3rem);
3385
- animation-name: tooltip-caret-slide;
3386
- transform: translate(-50%, -.5rem);
3387
- }
3368
+ .cirth:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3369
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3370
+ }
3388
3371
 
3389
- .cirth [data-tooltip][data-placement="left"]:focus:before, .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:before, .cirth [data-tooltip][data-placement="left"]:hover:after {
3390
- --cirth-tooltip-slide-to: translate(-.25rem, -50%);
3391
- animation-name: tooltip-slide;
3392
- transform: translate(.75rem, -50%);
3372
+ @media only screen and (prefers-color-scheme: dark) {
3373
+ .cirth:not([data-theme]) {
3374
+ --lightningcss-light: ;
3375
+ --lightningcss-dark: initial;
3376
+ color-scheme: dark;
3377
+ --cirth-background-color: #13171f;
3378
+ --cirth-color: #c2c7d0;
3379
+ --cirth-text-selection-color: rgba(144, 158, 190, .19);
3380
+ --cirth-muted-color: #7b8495;
3381
+ --cirth-muted-border-color: #202632;
3382
+ --cirth-primary: #909ebe;
3383
+ --cirth-primary-background: #525f7a;
3384
+ --cirth-primary-border: var(--cirth-primary-background);
3385
+ --cirth-primary-underline: rgba(144, 158, 190, .5);
3386
+ --cirth-primary-hover: #b0b9d0;
3387
+ --cirth-primary-hover-background: #5d6b89;
3388
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3389
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3390
+ --cirth-primary-focus: rgba(144, 158, 190, .376);
3391
+ --cirth-primary-inverse: #fff;
3392
+ --cirth-secondary: #969eaf;
3393
+ --cirth-secondary-background: #525f7a;
3394
+ --cirth-secondary-border: var(--cirth-secondary-background);
3395
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3396
+ --cirth-secondary-hover: #b3b9c5;
3397
+ --cirth-secondary-hover-background: #5d6b89;
3398
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3399
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3400
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3401
+ --cirth-secondary-inverse: #fff;
3402
+ --cirth-contrast: #dfe3eb;
3403
+ --cirth-contrast-background: #eff1f4;
3404
+ --cirth-contrast-border: var(--cirth-contrast-background);
3405
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3406
+ --cirth-contrast-hover: #fff;
3407
+ --cirth-contrast-hover-background: #fff;
3408
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3409
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3410
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3411
+ --cirth-contrast-inverse: #000;
3412
+ --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);
3413
+ --cirth-h1-color: #f0f1f3;
3414
+ --cirth-h2-color: #e0e3e7;
3415
+ --cirth-h3-color: #c2c7d0;
3416
+ --cirth-h4-color: #b3b9c5;
3417
+ --cirth-h5-color: #a4acba;
3418
+ --cirth-h6-color: #8891a4;
3419
+ --cirth-mark-background-color: #014063;
3420
+ --cirth-mark-color: #fff;
3421
+ --cirth-ins-color: #62af9a;
3422
+ --cirth-del-color: #ce7e7b;
3423
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3424
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3425
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3426
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3427
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3428
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3429
+ --cirth-code-background-color: #1a1f28;
3430
+ --cirth-code-color: #8891a4;
3431
+ --cirth-code-kbd-background-color: var(--cirth-color);
3432
+ --cirth-code-kbd-color: var(--cirth-background-color);
3433
+ --cirth-form-element-background-color: #1c212c;
3434
+ --cirth-form-element-selected-background-color: #2a3140;
3435
+ --cirth-form-element-border-color: #2a3140;
3436
+ --cirth-form-element-color: #e0e3e7;
3437
+ --cirth-form-element-placeholder-color: #8891a4;
3438
+ --cirth-form-element-active-background-color: #1a1f28;
3439
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3440
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3441
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3442
+ --cirth-form-element-invalid-border-color: #964a50;
3443
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3444
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3445
+ --cirth-form-element-valid-border-color: #2a7b6f;
3446
+ --cirth-form-element-valid-active-border-color: #16896a;
3447
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3448
+ --cirth-switch-background-color: #333c4e;
3449
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3450
+ --cirth-switch-color: #fff;
3451
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3452
+ --cirth-range-border-color: #202632;
3453
+ --cirth-range-active-border-color: #2a3140;
3454
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3455
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3456
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3457
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3458
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3459
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3460
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3461
+ --cirth-card-background-color: #181c25;
3462
+ --cirth-card-border-color: var(--cirth-card-background-color);
3463
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3464
+ --cirth-card-sectioning-background-color: #1a1f28;
3465
+ --cirth-dropdown-background-color: #181c25;
3466
+ --cirth-dropdown-border-color: #202632;
3467
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3468
+ --cirth-dropdown-color: var(--cirth-color);
3469
+ --cirth-dropdown-hover-background-color: #202632;
3470
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3471
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3472
+ --cirth-progress-background-color: #202632;
3473
+ --cirth-progress-color: var(--cirth-primary-background);
3474
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3475
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3476
+ --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");
3477
+ --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");
3393
3478
  }
3394
3479
 
3395
- .cirth [data-tooltip][data-placement="left"]:focus:after, .cirth [data-tooltip][data-placement="left"]:hover:after {
3396
- --cirth-tooltip-caret-slide-to: translate(.3rem, -50%);
3397
- animation-name: tooltip-caret-slide;
3398
- transform: translate(.05rem, -50%);
3480
+ .cirth:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3481
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3399
3482
  }
3400
3483
 
3401
- .cirth [data-tooltip][data-placement="right"]:focus:before, .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:before, .cirth [data-tooltip][data-placement="right"]:hover:after {
3402
- --cirth-tooltip-slide-to: translate(.25rem, -50%);
3403
- animation-name: tooltip-slide;
3404
- transform: translate(-.75rem, -50%);
3484
+ .cirth:not([data-theme]) details summary[role="button"].contrast:not(.outline):after {
3485
+ filter: brightness(0);
3405
3486
  }
3406
3487
 
3407
- .cirth [data-tooltip][data-placement="right"]:focus:after, .cirth [data-tooltip][data-placement="right"]:hover:after {
3408
- --cirth-tooltip-caret-slide-to: translate(-.3rem, -50%);
3409
- animation-name: tooltip-caret-slide;
3410
- transform: translate(-.05rem, -50%);
3488
+ .cirth: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 {
3489
+ filter: brightness(0);
3411
3490
  }
3412
3491
  }
3413
3492
 
3414
- @keyframes tooltip-slide {
3415
- to {
3416
- transform: var(--cirth-tooltip-slide-to);
3417
- opacity: 1;
3418
- }
3493
+ .cirth[data-theme="dark"], .cirth [data-theme="dark"] {
3494
+ --lightningcss-light: ;
3495
+ --lightningcss-dark: initial;
3496
+ color-scheme: dark;
3497
+ --cirth-background-color: #13171f;
3498
+ --cirth-color: #c2c7d0;
3499
+ --cirth-text-selection-color: rgba(144, 158, 190, .19);
3500
+ --cirth-muted-color: #7b8495;
3501
+ --cirth-muted-border-color: #202632;
3502
+ --cirth-primary: #909ebe;
3503
+ --cirth-primary-background: #525f7a;
3504
+ --cirth-primary-border: var(--cirth-primary-background);
3505
+ --cirth-primary-underline: rgba(144, 158, 190, .5);
3506
+ --cirth-primary-hover: #b0b9d0;
3507
+ --cirth-primary-hover-background: #5d6b89;
3508
+ --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3509
+ --cirth-primary-hover-underline: var(--cirth-primary-hover);
3510
+ --cirth-primary-focus: rgba(144, 158, 190, .376);
3511
+ --cirth-primary-inverse: #fff;
3512
+ --cirth-secondary: #969eaf;
3513
+ --cirth-secondary-background: #525f7a;
3514
+ --cirth-secondary-border: var(--cirth-secondary-background);
3515
+ --cirth-secondary-underline: rgba(150, 158, 175, .5);
3516
+ --cirth-secondary-hover: #b3b9c5;
3517
+ --cirth-secondary-hover-background: #5d6b89;
3518
+ --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3519
+ --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3520
+ --cirth-secondary-focus: rgba(144, 158, 190, .25);
3521
+ --cirth-secondary-inverse: #fff;
3522
+ --cirth-contrast: #dfe3eb;
3523
+ --cirth-contrast-background: #eff1f4;
3524
+ --cirth-contrast-border: var(--cirth-contrast-background);
3525
+ --cirth-contrast-underline: rgba(223, 227, 235, .5);
3526
+ --cirth-contrast-hover: #fff;
3527
+ --cirth-contrast-hover-background: #fff;
3528
+ --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3529
+ --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3530
+ --cirth-contrast-focus: rgba(207, 213, 226, .25);
3531
+ --cirth-contrast-inverse: #000;
3532
+ --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);
3533
+ --cirth-h1-color: #f0f1f3;
3534
+ --cirth-h2-color: #e0e3e7;
3535
+ --cirth-h3-color: #c2c7d0;
3536
+ --cirth-h4-color: #b3b9c5;
3537
+ --cirth-h5-color: #a4acba;
3538
+ --cirth-h6-color: #8891a4;
3539
+ --cirth-mark-background-color: #014063;
3540
+ --cirth-mark-color: #fff;
3541
+ --cirth-ins-color: #62af9a;
3542
+ --cirth-del-color: #ce7e7b;
3543
+ --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3544
+ --cirth-blockquote-footer-color: var(--cirth-muted-color);
3545
+ --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3546
+ --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3547
+ --cirth-table-border-color: var(--cirth-muted-border-color);
3548
+ --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3549
+ --cirth-code-background-color: #1a1f28;
3550
+ --cirth-code-color: #8891a4;
3551
+ --cirth-code-kbd-background-color: var(--cirth-color);
3552
+ --cirth-code-kbd-color: var(--cirth-background-color);
3553
+ --cirth-form-element-background-color: #1c212c;
3554
+ --cirth-form-element-selected-background-color: #2a3140;
3555
+ --cirth-form-element-border-color: #2a3140;
3556
+ --cirth-form-element-color: #e0e3e7;
3557
+ --cirth-form-element-placeholder-color: #8891a4;
3558
+ --cirth-form-element-active-background-color: #1a1f28;
3559
+ --cirth-form-element-active-border-color: var(--cirth-primary-border);
3560
+ --cirth-form-element-focus-color: var(--cirth-primary-border);
3561
+ --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3562
+ --cirth-form-element-invalid-border-color: #964a50;
3563
+ --cirth-form-element-invalid-active-border-color: #b7403b;
3564
+ --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3565
+ --cirth-form-element-valid-border-color: #2a7b6f;
3566
+ --cirth-form-element-valid-active-border-color: #16896a;
3567
+ --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3568
+ --cirth-switch-background-color: #333c4e;
3569
+ --cirth-switch-checked-background-color: var(--cirth-primary-background);
3570
+ --cirth-switch-color: #fff;
3571
+ --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3572
+ --cirth-range-border-color: #202632;
3573
+ --cirth-range-active-border-color: #2a3140;
3574
+ --cirth-range-thumb-border-color: var(--cirth-background-color);
3575
+ --cirth-range-thumb-color: var(--cirth-secondary-background);
3576
+ --cirth-range-thumb-active-color: var(--cirth-primary-background);
3577
+ --cirth-accordion-border-color: var(--cirth-muted-border-color);
3578
+ --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3579
+ --cirth-accordion-close-summary-color: var(--cirth-color);
3580
+ --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3581
+ --cirth-card-background-color: #181c25;
3582
+ --cirth-card-border-color: var(--cirth-card-background-color);
3583
+ --cirth-card-box-shadow: var(--cirth-box-shadow);
3584
+ --cirth-card-sectioning-background-color: #1a1f28;
3585
+ --cirth-dropdown-background-color: #181c25;
3586
+ --cirth-dropdown-border-color: #202632;
3587
+ --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
3588
+ --cirth-dropdown-color: var(--cirth-color);
3589
+ --cirth-dropdown-hover-background-color: #202632;
3590
+ --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3591
+ --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3592
+ --cirth-progress-background-color: #202632;
3593
+ --cirth-progress-color: var(--cirth-primary-background);
3594
+ --cirth-tooltip-background-color: var(--cirth-contrast-background);
3595
+ --cirth-tooltip-color: var(--cirth-contrast-inverse);
3596
+ --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");
3597
+ --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");
3419
3598
  }
3420
3599
 
3421
- @keyframes tooltip-caret-slide {
3422
- 50% {
3423
- opacity: 0;
3424
- }
3600
+ .cirth[data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3601
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3602
+ }
3425
3603
 
3426
- to {
3427
- transform: var(--cirth-tooltip-caret-slide-to);
3428
- opacity: 1;
3429
- }
3604
+ .cirth [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3605
+ --cirth-form-element-focus-color: var(--cirth-primary-focus);
3430
3606
  }
3431
3607
 
3432
- .cirth [aria-controls] {
3433
- cursor: pointer;
3608
+ .cirth[data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, .cirth [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after {
3609
+ filter: brightness(0);
3434
3610
  }
3435
3611
 
3436
- .cirth [aria-disabled="true"], .cirth [disabled] {
3437
- cursor: not-allowed;
3612
+ .cirth[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 {
3613
+ filter: brightness(0);
3438
3614
  }
3439
3615
 
3440
- .cirth [aria-hidden="false"][hidden] {
3441
- display: initial;
3616
+ .cirth [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 {
3617
+ filter: brightness(0);
3442
3618
  }
3443
3619
 
3444
- .cirth [aria-hidden="false"][hidden]:not(:focus) {
3445
- clip: rect(0, 0, 0, 0);
3446
- position: absolute;
3620
+ .cirth progress {
3621
+ accent-color: var(--cirth-primary);
3447
3622
  }
3448
3623
 
3449
- .cirth a, .cirth area, .cirth button, .cirth input, .cirth label, .cirth select, .cirth summary, .cirth textarea, .cirth [tabindex] {
3450
- -ms-touch-action: manipulation;
3624
+ .cirth [type="checkbox"] {
3625
+ accent-color: var(--cirth-primary);
3451
3626
  }
3452
3627
 
3453
- .cirth [dir="rtl"] {
3454
- direction: rtl;
3628
+ .cirth [type="radio"] {
3629
+ accent-color: var(--cirth-primary);
3455
3630
  }
3456
3631
 
3457
- @media (prefers-reduced-motion: reduce) {
3458
- .cirth :not([aria-busy="true"]), .cirth :not([aria-busy="true"]):before, .cirth :not([aria-busy="true"]):after {
3459
- background-attachment: initial !important;
3460
- scroll-behavior: auto !important;
3461
- transition-duration: 0s !important;
3462
- transition-delay: 0s !important;
3463
- animation-duration: 1ms !important;
3464
- animation-iteration-count: 1 !important;
3465
- animation-delay: -1ms !important;
3466
- }
3632
+ .cirth [type="range"] {
3633
+ accent-color: var(--cirth-primary);
3467
3634
  }