@cirthcss/cirth 0.3.0 → 0.5.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.
@@ -9,24 +9,7 @@
9
9
  vertical-align: inherit;
10
10
  }
11
11
 
12
- :where(:root) {
13
- -webkit-tap-highlight-color: transparent;
14
- -webkit-text-size-adjust: 100%;
15
- -moz-text-size-adjust: 100%;
16
- text-size-adjust: 100%;
17
- background-color: var(--cirth-background-color);
18
- color: var(--cirth-color);
19
- font-weight: var(--cirth-font-weight);
20
- font-size: var(--cirth-font-size);
21
- line-height: var(--cirth-line-height);
22
- font-family: var(--cirth-font-family);
23
- text-underline-offset: var(--cirth-text-underline-offset);
24
- text-rendering: optimizelegibility;
25
- overflow-wrap: break-word;
26
- tab-size: 4;
27
- }
28
-
29
- :where(:host) {
12
+ :where(:root), :where(:host) {
30
13
  -webkit-tap-highlight-color: transparent;
31
14
  -webkit-text-size-adjust: 100%;
32
15
  -moz-text-size-adjust: 100%;
@@ -59,7 +42,7 @@ body > header, body > main, body > footer {
59
42
  margin-right: auto;
60
43
  }
61
44
 
62
- @media (width >= 576px) {
45
+ @media (min-width: 576px) {
63
46
  body > header, body > main, body > footer {
64
47
  max-width: 510px;
65
48
  padding-left: 0;
@@ -67,25 +50,25 @@ body > header, body > main, body > footer {
67
50
  }
68
51
  }
69
52
 
70
- @media (width >= 768px) {
53
+ @media (min-width: 768px) {
71
54
  body > header, body > main, body > footer {
72
55
  max-width: 700px;
73
56
  }
74
57
  }
75
58
 
76
- @media (width >= 1024px) {
59
+ @media (min-width: 1024px) {
77
60
  body > header, body > main, body > footer {
78
61
  max-width: 950px;
79
62
  }
80
63
  }
81
64
 
82
- @media (width >= 1280px) {
65
+ @media (min-width: 1280px) {
83
66
  body > header, body > main, body > footer {
84
67
  max-width: 1200px;
85
68
  }
86
69
  }
87
70
 
88
- @media (width >= 1536px) {
71
+ @media (min-width: 1536px) {
89
72
  body > header, body > main, body > footer {
90
73
  max-width: 1450px;
91
74
  }
@@ -122,6 +105,10 @@ address, blockquote, dl, ol, p, pre, table, ul {
122
105
  font-weight: var(--cirth-font-weight);
123
106
  }
124
107
 
108
+ p {
109
+ text-wrap: pretty;
110
+ }
111
+
125
112
  h1, h2, h3, h4, h5, h6 {
126
113
  margin-top: 0;
127
114
  margin-bottom: var(--cirth-typography-spacing-vertical);
@@ -129,7 +116,9 @@ h1, h2, h3, h4, h5, h6 {
129
116
  font-weight: var(--cirth-font-weight);
130
117
  font-size: var(--cirth-font-size);
131
118
  line-height: var(--cirth-line-height);
132
- font-family: var(--cirth-font-family);
119
+ font-family: var(--cirth-font-family-display);
120
+ letter-spacing: var(--cirth-letter-spacing, normal);
121
+ text-wrap: balance;
133
122
  }
134
123
 
135
124
  h1 {
@@ -189,10 +178,10 @@ ul li {
189
178
  }
190
179
 
191
180
  mark {
181
+ padding: 0 var(--cirth-space-1);
192
182
  background-color: var(--cirth-mark-background-color);
193
183
  color: var(--cirth-mark-color);
194
184
  vertical-align: baseline;
195
- padding: .125rem .25rem;
196
185
  }
197
186
 
198
187
  blockquote {
@@ -229,22 +218,7 @@ del {
229
218
  background-color: var(--cirth-text-selection-color);
230
219
  }
231
220
 
232
- [role="link"] {
233
- --cirth-color: var(--cirth-primary);
234
- --cirth-background-color: transparent;
235
- --cirth-underline: var(--cirth-primary-underline);
236
- background-color: var(--cirth-background-color);
237
- color: var(--cirth-color);
238
- -webkit-text-decoration: var(--cirth-text-decoration);
239
- text-decoration: var(--cirth-text-decoration);
240
- -webkit-text-decoration-color: var(--cirth-underline);
241
- text-decoration-color: var(--cirth-underline);
242
- text-underline-offset: .125em;
243
- transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
244
- outline: none;
245
- }
246
-
247
- :where(a:not([role="button"])) {
221
+ :where(a:not([role="button"])), [role="link"] {
248
222
  --cirth-color: var(--cirth-primary);
249
223
  --cirth-background-color: transparent;
250
224
  --cirth-underline: var(--cirth-primary-underline);
@@ -259,24 +233,15 @@ del {
259
233
  outline: none;
260
234
  }
261
235
 
262
- :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
263
- --cirth-color: var(--cirth-primary-hover);
264
- --cirth-underline: var(--cirth-primary-hover-underline);
265
- --cirth-text-decoration: underline;
266
- }
267
-
268
- [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
236
+ :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
269
237
  --cirth-color: var(--cirth-primary-hover);
270
238
  --cirth-underline: var(--cirth-primary-hover-underline);
271
239
  --cirth-text-decoration: underline;
272
240
  }
273
241
 
274
- :where(a:not([role="button"])):focus-visible {
275
- box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
276
- }
277
-
278
- [role="link"]:focus-visible {
242
+ :where(a:not([role="button"])):focus-visible, [role="link"]:focus-visible {
279
243
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
244
+ outline: var(--cirth-outline-width) solid transparent;
280
245
  }
281
246
 
282
247
  a[role="button"] {
@@ -285,86 +250,20 @@ a[role="button"] {
285
250
 
286
251
  button {
287
252
  text-transform: none;
288
- -webkit-appearance: button;
289
253
  margin: 0;
290
254
  font-family: inherit;
291
255
  overflow: visible;
292
256
  }
293
257
 
294
- button, [role="button"] {
295
- --cirth-background-color: var(--cirth-primary-background);
296
- --cirth-border-color: var(--cirth-primary-border);
297
- --cirth-color: var(--cirth-primary-inverse);
298
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
299
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
300
- border: var(--cirth-border-width) solid var(--cirth-border-color);
301
- border-radius: var(--cirth-border-radius);
302
- background-color: var(--cirth-background-color);
303
- box-shadow: var(--cirth-box-shadow);
304
- color: var(--cirth-color);
305
- font-weight: var(--cirth-font-weight);
306
- font-size: var(--cirth-font-size-md);
307
- line-height: var(--cirth-line-height);
308
- text-align: center;
309
- cursor: pointer;
310
- -webkit-user-select: none;
311
- user-select: none;
312
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
313
- outline: none;
314
- text-decoration: none;
315
- }
316
-
317
- [type="submit"] {
318
- --cirth-background-color: var(--cirth-primary-background);
319
- --cirth-border-color: var(--cirth-primary-border);
320
- --cirth-color: var(--cirth-primary-inverse);
321
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
322
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
323
- border: var(--cirth-border-width) solid var(--cirth-border-color);
324
- border-radius: var(--cirth-border-radius);
325
- background-color: var(--cirth-background-color);
326
- box-shadow: var(--cirth-box-shadow);
327
- color: var(--cirth-color);
328
- font-weight: var(--cirth-font-weight);
329
- font-size: var(--cirth-font-size-md);
330
- line-height: var(--cirth-line-height);
331
- text-align: center;
332
- cursor: pointer;
333
- -webkit-user-select: none;
334
- user-select: none;
335
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
336
- outline: none;
337
- text-decoration: none;
338
- }
339
-
340
- [type="reset"] {
341
- --cirth-background-color: var(--cirth-primary-background);
342
- --cirth-border-color: var(--cirth-primary-border);
343
- --cirth-color: var(--cirth-primary-inverse);
344
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
345
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
346
- border: var(--cirth-border-width) solid var(--cirth-border-color);
347
- border-radius: var(--cirth-border-radius);
348
- background-color: var(--cirth-background-color);
349
- box-shadow: var(--cirth-box-shadow);
350
- color: var(--cirth-color);
351
- font-weight: var(--cirth-font-weight);
352
- font-size: var(--cirth-font-size-md);
353
- line-height: var(--cirth-line-height);
354
- text-align: center;
355
- cursor: pointer;
356
- -webkit-user-select: none;
357
- user-select: none;
358
- transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
359
- outline: none;
360
- text-decoration: none;
258
+ button, [type="submit"], [type="reset"], [type="button"] {
259
+ -webkit-appearance: button;
361
260
  }
362
261
 
363
- [type="button"] {
262
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
364
263
  --cirth-background-color: var(--cirth-primary-background);
365
264
  --cirth-border-color: var(--cirth-primary-border);
366
265
  --cirth-color: var(--cirth-primary-inverse);
367
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
266
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
368
267
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
369
268
  border: var(--cirth-border-width) solid var(--cirth-border-color);
370
269
  border-radius: var(--cirth-border-radius);
@@ -387,7 +286,7 @@ button, [role="button"] {
387
286
  --cirth-background-color: var(--cirth-primary-background);
388
287
  --cirth-border-color: var(--cirth-primary-border);
389
288
  --cirth-color: var(--cirth-primary-inverse);
390
- --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
289
+ --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
391
290
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
392
291
  border: var(--cirth-border-width) solid var(--cirth-border-color);
393
292
  border-radius: var(--cirth-border-radius);
@@ -406,137 +305,54 @@ button, [role="button"] {
406
305
  text-decoration: none;
407
306
  }
408
307
 
409
- button[aria-current]:not([aria-current="false"]), [role="button"][aria-current]:not([aria-current="false"]) {
410
- --cirth-background-color: var(--cirth-primary-hover-background);
411
- --cirth-border-color: var(--cirth-primary-hover-border);
412
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
413
- --cirth-color: var(--cirth-primary-inverse);
414
- }
415
-
416
- button:is(:hover, :active, :focus) {
417
- --cirth-background-color: var(--cirth-primary-hover-background);
418
- --cirth-border-color: var(--cirth-primary-hover-border);
419
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
420
- --cirth-color: var(--cirth-primary-inverse);
421
- }
422
-
423
- [type="submit"][aria-current]:not([aria-current="false"]) {
424
- --cirth-background-color: var(--cirth-primary-hover-background);
425
- --cirth-border-color: var(--cirth-primary-hover-border);
426
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
427
- --cirth-color: var(--cirth-primary-inverse);
428
- }
429
-
430
- [type="submit"]:is(:hover, :active, :focus) {
431
- --cirth-background-color: var(--cirth-primary-hover-background);
432
- --cirth-border-color: var(--cirth-primary-hover-border);
433
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
434
- --cirth-color: var(--cirth-primary-inverse);
435
- }
436
-
437
- [type="reset"][aria-current]:not([aria-current="false"]) {
438
- --cirth-background-color: var(--cirth-primary-hover-background);
439
- --cirth-border-color: var(--cirth-primary-hover-border);
440
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
441
- --cirth-color: var(--cirth-primary-inverse);
442
- }
443
-
444
- [type="reset"]:is(:hover, :active, :focus) {
445
- --cirth-background-color: var(--cirth-primary-hover-background);
446
- --cirth-border-color: var(--cirth-primary-hover-border);
447
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
448
- --cirth-color: var(--cirth-primary-inverse);
449
- }
450
-
451
- [type="button"][aria-current]:not([aria-current="false"]) {
452
- --cirth-background-color: var(--cirth-primary-hover-background);
453
- --cirth-border-color: var(--cirth-primary-hover-border);
454
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
455
- --cirth-color: var(--cirth-primary-inverse);
456
- }
457
-
458
- [type="button"]:is(:hover, :active, :focus) {
308
+ button[aria-current]:not([aria-current="false"]), button:is(:hover, :active, :focus), [type="submit"][aria-current]:not([aria-current="false"]), [type="submit"]:is(:hover, :active, :focus), [type="reset"][aria-current]:not([aria-current="false"]), [type="reset"]:is(:hover, :active, :focus), [type="button"][aria-current]:not([aria-current="false"]), [type="button"]:is(:hover, :active, :focus), [role="button"][aria-current]:not([aria-current="false"]), [role="button"]:is(:hover, :active, :focus) {
459
309
  --cirth-background-color: var(--cirth-primary-hover-background);
460
310
  --cirth-border-color: var(--cirth-primary-hover-border);
461
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
311
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
462
312
  --cirth-color: var(--cirth-primary-inverse);
463
313
  }
464
314
 
465
315
  [type="file"]::file-selector-button:is() {
466
316
  --cirth-background-color: var(--cirth-primary-hover-background);
467
317
  --cirth-border-color: var(--cirth-primary-hover-border);
468
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
318
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
469
319
  --cirth-color: var(--cirth-primary-inverse);
470
320
  }
471
321
 
472
322
  [type="file"]::file-selector-button:is(:hover, :active, :focus) {
473
323
  --cirth-background-color: var(--cirth-primary-hover-background);
474
324
  --cirth-border-color: var(--cirth-primary-hover-border);
475
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
476
- --cirth-color: var(--cirth-primary-inverse);
477
- }
478
-
479
- [role="button"]:is(:hover, :active, :focus) {
480
- --cirth-background-color: var(--cirth-primary-hover-background);
481
- --cirth-border-color: var(--cirth-primary-hover-border);
482
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
325
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
483
326
  --cirth-color: var(--cirth-primary-inverse);
484
327
  }
485
328
 
486
- button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="button"]:focus, [role="button"][aria-current]:not([aria-current="false"]):focus {
487
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
488
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
489
- }
490
-
491
- [type="submit"]:focus {
492
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
493
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
494
- }
495
-
496
- [type="submit"][aria-current]:not([aria-current="false"]):focus {
497
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
498
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
499
- }
500
-
501
- [type="reset"]:focus {
502
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
503
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
504
- }
505
-
506
- [type="reset"][aria-current]:not([aria-current="false"]):focus {
507
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
508
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
329
+ button:active, [type="submit"]:active, [type="reset"]:active, [type="button"]:active, [role="button"]:active {
330
+ transform: translateY(.0625rem);
509
331
  }
510
332
 
511
- [type="button"]:focus {
512
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
513
- 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
333
+ [type="file"]::file-selector-button:active {
334
+ transform: translateY(.0625rem);
514
335
  }
515
336
 
516
- [type="button"][aria-current]:not([aria-current="false"]):focus {
517
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
337
+ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-visible, [type="submit"]:focus-visible, [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, [type="reset"]:focus-visible, [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, [type="button"]:focus-visible, [type="button"][aria-current]:not([aria-current="false"]):focus-visible, [role="button"]:focus-visible, [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
338
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
518
339
  0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
340
+ outline: var(--cirth-outline-width) solid transparent;
519
341
  }
520
342
 
521
- [type="file"]::file-selector-button:focus {
522
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
343
+ [type="file"]::file-selector-button:focus-visible {
344
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
523
345
  0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
346
+ outline: var(--cirth-outline-width) solid transparent;
524
347
  }
525
348
 
526
- [type="file"]::file-selector-button:is():focus {
527
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
349
+ [type="file"]::file-selector-button:is():focus-visible {
350
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
528
351
  0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
352
+ outline: var(--cirth-outline-width) solid transparent;
529
353
  }
530
354
 
531
- [type="submit"] {
532
- margin-bottom: var(--cirth-spacing);
533
- }
534
-
535
- [type="reset"] {
536
- margin-bottom: var(--cirth-spacing);
537
- }
538
-
539
- [type="button"] {
355
+ [type="submit"], [type="reset"], [type="button"] {
540
356
  margin-bottom: var(--cirth-spacing);
541
357
  }
542
358
 
@@ -566,22 +382,17 @@ button:focus, button[aria-current]:not([aria-current="false"]):focus, [role="but
566
382
  --cirth-color: var(--cirth-secondary-inverse);
567
383
  }
568
384
 
569
- [type="reset"]:focus {
570
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
385
+ [type="reset"]:focus-visible {
386
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
571
387
  0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
572
388
  }
573
389
 
574
- [type="file"]::file-selector-button:focus {
575
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
390
+ [type="file"]::file-selector-button:focus-visible {
391
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
576
392
  0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
577
393
  }
578
394
 
579
- :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled] {
580
- opacity: var(--cirth-opacity-disabled);
581
- pointer-events: none;
582
- }
583
-
584
- :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
395
+ :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
585
396
  opacity: var(--cirth-opacity-disabled);
586
397
  pointer-events: none;
587
398
  }
@@ -599,6 +410,7 @@ th, td {
599
410
  background-color: var(--cirth-background-color);
600
411
  color: var(--cirth-color);
601
412
  font-weight: var(--cirth-font-weight);
413
+ font-variant-numeric: tabular-nums;
602
414
  text-align: left;
603
415
  text-align: start;
604
416
  }
@@ -608,10 +420,6 @@ tfoot th, tfoot td {
608
420
  border-bottom: 0;
609
421
  }
610
422
 
611
- table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd) td {
612
- background-color: var(--cirth-table-row-stripped-background-color);
613
- }
614
-
615
423
  :where(audio, canvas, iframe, img, svg, video) {
616
424
  vertical-align: middle;
617
425
  }
@@ -639,11 +447,7 @@ img {
639
447
  fill: currentColor;
640
448
  }
641
449
 
642
- svg:not(:root) {
643
- overflow: hidden;
644
- }
645
-
646
- svg:not(:host) {
450
+ svg:not(:root), svg:not(:host) {
647
451
  overflow: hidden;
648
452
  }
649
453
 
@@ -671,7 +475,7 @@ pre, code, kbd, samp {
671
475
  }
672
476
 
673
477
  code, kbd, samp {
674
- padding: .375rem;
478
+ padding: var(--cirth-space-1) var(--cirth-space-2);
675
479
  display: inline-block;
676
480
  }
677
481
 
@@ -748,11 +552,7 @@ textarea {
748
552
  overflow: auto;
749
553
  }
750
554
 
751
- [type="checkbox"] {
752
- padding: 0;
753
- }
754
-
755
- [type="radio"] {
555
+ [type="checkbox"], [type="radio"] {
756
556
  padding: 0;
757
557
  }
758
558
 
@@ -795,17 +595,12 @@ textarea {
795
595
  display: none;
796
596
  }
797
597
 
798
- [type="file"] {
799
- border-width: 0;
800
- padding: 0;
801
- }
802
-
803
- [type="range"] {
598
+ [type="file"], [type="range"] {
804
599
  border-width: 0;
805
600
  padding: 0;
806
601
  }
807
602
 
808
- input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
603
+ input:not([type="checkbox"], [type="radio"], [type="range"]) {
809
604
  height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
810
605
  }
811
606
 
@@ -818,7 +613,7 @@ fieldset {
818
613
  }
819
614
 
820
615
  label, fieldset legend {
821
- margin-bottom: calc(var(--cirth-spacing) * .375);
616
+ margin-bottom: calc(var(--cirth-spacing) * .5);
822
617
  color: var(--cirth-color);
823
618
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
824
619
  display: block;
@@ -828,24 +623,11 @@ fieldset legend {
828
623
  margin-bottom: calc(var(--cirth-spacing) * .5);
829
624
  }
830
625
 
831
- select, textarea {
832
- width: 100%;
833
- }
834
-
835
- input:not(:is([type="checkbox"], [type="radio"])) {
836
- width: 100%;
837
- }
838
-
839
- button[type="submit"] {
626
+ input:not([type="checkbox"], [type="radio"]), button[type="submit"], select, textarea {
840
627
  width: 100%;
841
628
  }
842
629
 
843
- select, textarea {
844
- appearance: none;
845
- padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
846
- }
847
-
848
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
630
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea {
849
631
  appearance: none;
850
632
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
851
633
  }
@@ -865,43 +647,21 @@ input, select, textarea {
865
647
  outline: none;
866
648
  }
867
649
 
868
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
869
- --cirth-background-color: var(--cirth-form-element-active-background-color);
870
- }
871
-
872
- :where(select, textarea):not([readonly]):is(:active, :focus) {
650
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
873
651
  --cirth-background-color: var(--cirth-form-element-active-background-color);
874
652
  }
875
653
 
876
- input:not(:is([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly])):is(:active, :focus) {
877
- --cirth-border-color: var(--cirth-form-element-active-border-color);
878
- }
879
-
880
- :where(select, textarea):not([readonly]):is(:active, :focus) {
654
+ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
881
655
  --cirth-border-color: var(--cirth-form-element-active-border-color);
882
656
  }
883
657
 
884
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly])):focus {
885
- --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
886
- var(--cirth-form-element-focus-color);
887
- }
888
-
889
- :where(select, textarea):not([readonly]):focus {
658
+ input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
890
659
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
891
660
  var(--cirth-form-element-focus-color);
661
+ outline: var(--cirth-outline-width) solid transparent;
892
662
  }
893
663
 
894
- select[disabled], textarea[disabled], label[aria-disabled="true"] {
895
- opacity: var(--cirth-form-element-disabled-opacity);
896
- pointer-events: none;
897
- }
898
-
899
- input:not(:is([type="submit"], [type="button"], [type="reset"]))[disabled] {
900
- opacity: var(--cirth-form-element-disabled-opacity);
901
- pointer-events: none;
902
- }
903
-
904
- :where(fieldset[disabled]) :is(input:not(:is([type="submit"], [type="button"], [type="reset"])), select, textarea) {
664
+ input:not([type="submit"], [type="button"], [type="reset"])[disabled], select[disabled], textarea[disabled], label[aria-disabled="true"], :where(fieldset[disabled]) :is(input:not([type="submit"], [type="button"], [type="reset"]), select, textarea) {
905
665
  opacity: var(--cirth-form-element-disabled-opacity);
906
666
  pointer-events: none;
907
667
  }
@@ -910,7 +670,7 @@ label[aria-disabled="true"] input[disabled] {
910
670
  opacity: 1;
911
671
  }
912
672
 
913
- :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid] {
673
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
914
674
  padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
915
675
  padding-left: var(--cirth-form-element-spacing-horizontal);
916
676
  background-position: center right var(--cirth-space-3);
@@ -920,11 +680,11 @@ label[aria-disabled="true"] input[disabled] {
920
680
  padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
921
681
  }
922
682
 
923
- :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid="false"]:not(select) {
683
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
924
684
  background-image: var(--cirth-icon-valid);
925
685
  }
926
686
 
927
- :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]))[aria-invalid="true"]:not(select) {
687
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="true"]:not(select) {
928
688
  background-image: var(--cirth-icon-invalid);
929
689
  }
930
690
 
@@ -936,7 +696,7 @@ label[aria-disabled="true"] input[disabled] {
936
696
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
937
697
  }
938
698
 
939
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
699
+ :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
940
700
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
941
701
  var(--cirth-form-element-valid-focus-color);
942
702
  }
@@ -949,21 +709,16 @@ label[aria-disabled="true"] input[disabled] {
949
709
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
950
710
  }
951
711
 
952
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
712
+ :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
953
713
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
954
714
  var(--cirth-form-element-invalid-focus-color);
955
715
  }
956
716
 
957
- [dir="rtl"] :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
717
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
958
718
  background-position: center left var(--cirth-space-3);
959
719
  }
960
720
 
961
- select:invalid {
962
- color: var(--cirth-form-element-placeholder-color);
963
- opacity: 1;
964
- }
965
-
966
- input::placeholder {
721
+ input::placeholder, textarea::placeholder, select:invalid {
967
722
  color: var(--cirth-form-element-placeholder-color);
968
723
  opacity: 1;
969
724
  }
@@ -973,30 +728,21 @@ input::-webkit-input-placeholder {
973
728
  opacity: 1;
974
729
  }
975
730
 
976
- textarea::placeholder {
977
- color: var(--cirth-form-element-placeholder-color);
978
- opacity: 1;
979
- }
980
-
981
731
  textarea::-webkit-input-placeholder {
982
732
  color: var(--cirth-form-element-placeholder-color);
983
733
  opacity: 1;
984
734
  }
985
735
 
986
- select, textarea {
987
- margin-bottom: var(--cirth-spacing);
988
- }
989
-
990
- input:not(:is([type="checkbox"], [type="radio"])) {
736
+ input:not([type="checkbox"], [type="radio"]), select, textarea {
991
737
  margin-bottom: var(--cirth-spacing);
992
738
  }
993
739
 
994
740
  select::-ms-expand {
995
- background-color: rgba(0, 0, 0, 0);
741
+ background-color: #0000;
996
742
  border: 0;
997
743
  }
998
744
 
999
- select:not(:is([multiple], [size])) {
745
+ select:not([multiple], [size]) {
1000
746
  padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1001
747
  padding-left: var(--cirth-form-element-spacing-horizontal);
1002
748
  background-image: var(--cirth-icon-chevron);
@@ -1012,7 +758,7 @@ select[multiple] option:checked {
1012
758
  color: var(--cirth-form-element-color);
1013
759
  }
1014
760
 
1015
- [dir="rtl"] select:not(:is([multiple], [size])) {
761
+ [dir="rtl"] select:not([multiple], [size]) {
1016
762
  background-position: center left var(--cirth-space-3);
1017
763
  }
1018
764
 
@@ -1054,25 +800,14 @@ label:has([type="checkbox"], [type="radio"]) {
1054
800
  width: fit-content;
1055
801
  }
1056
802
 
1057
- [type="checkbox"] {
1058
- appearance: none;
1059
- margin-top: -.125em;
1060
- border-width: var(--cirth-border-width);
1061
- vertical-align: middle;
1062
- cursor: pointer;
1063
- width: 1.25em;
1064
- height: 1.25em;
1065
- margin-inline-end: .5em;
1066
- }
1067
-
1068
- [type="radio"] {
803
+ [type="checkbox"], [type="radio"] {
1069
804
  appearance: none;
1070
805
  margin-top: -.125em;
1071
806
  border-width: var(--cirth-border-width);
1072
807
  vertical-align: middle;
1073
808
  cursor: pointer;
1074
- width: 1.25em;
1075
- height: 1.25em;
809
+ width: 1.5em;
810
+ height: 1.5em;
1076
811
  margin-inline-end: .5em;
1077
812
  }
1078
813
 
@@ -1084,109 +819,42 @@ label:has([type="checkbox"], [type="radio"]) {
1084
819
  display: none;
1085
820
  }
1086
821
 
1087
- [type="checkbox"]:checked {
822
+ [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1088
823
  --cirth-background-color: var(--cirth-primary-background);
1089
824
  --cirth-border-color: var(--cirth-primary-border);
1090
825
  background-image: var(--cirth-icon-checkbox);
1091
826
  background-position: center;
1092
827
  background-repeat: no-repeat;
1093
- background-size: .75em;
828
+ background-size: .9em;
1094
829
  }
1095
830
 
1096
- [type="checkbox"]:checked:active {
1097
- --cirth-background-color: var(--cirth-primary-background);
1098
- --cirth-border-color: var(--cirth-primary-border);
1099
- background-image: var(--cirth-icon-checkbox);
1100
- background-position: center;
1101
- background-repeat: no-repeat;
1102
- background-size: .75em;
831
+ [type="checkbox"] ~ label, [type="radio"] ~ label {
832
+ cursor: pointer;
833
+ margin-bottom: 0;
834
+ display: inline-block;
1103
835
  }
1104
836
 
1105
- [type="checkbox"]:checked:focus {
1106
- --cirth-background-color: var(--cirth-primary-background);
1107
- --cirth-border-color: var(--cirth-primary-border);
1108
- background-image: var(--cirth-icon-checkbox);
1109
- background-position: center;
1110
- background-repeat: no-repeat;
1111
- background-size: .75em;
837
+ [type="checkbox"] ~ label:not(:last-of-type), [type="radio"] ~ label:not(:last-of-type) {
838
+ margin-inline-end: 1em;
1112
839
  }
1113
840
 
1114
- [type="radio"]:checked {
841
+ [type="checkbox"]:indeterminate {
1115
842
  --cirth-background-color: var(--cirth-primary-background);
1116
843
  --cirth-border-color: var(--cirth-primary-border);
1117
- background-image: var(--cirth-icon-checkbox);
844
+ background-image: var(--cirth-icon-minus);
1118
845
  background-position: center;
1119
846
  background-repeat: no-repeat;
1120
- background-size: .75em;
1121
- }
1122
-
1123
- [type="radio"]:checked:active {
1124
- --cirth-background-color: var(--cirth-primary-background);
1125
- --cirth-border-color: var(--cirth-primary-border);
1126
- background-image: var(--cirth-icon-checkbox);
1127
- background-position: center;
1128
- background-repeat: no-repeat;
1129
- background-size: .75em;
1130
- }
1131
-
1132
- [type="radio"]:checked:focus {
1133
- --cirth-background-color: var(--cirth-primary-background);
1134
- --cirth-border-color: var(--cirth-primary-border);
1135
- background-image: var(--cirth-icon-checkbox);
1136
- background-position: center;
1137
- background-repeat: no-repeat;
1138
- background-size: .75em;
1139
- }
1140
-
1141
- [type="checkbox"] ~ label {
1142
- cursor: pointer;
1143
- margin-bottom: 0;
1144
- display: inline-block;
1145
- }
1146
-
1147
- [type="radio"] ~ label {
1148
- cursor: pointer;
1149
- margin-bottom: 0;
1150
- display: inline-block;
1151
- }
1152
-
1153
- [type="checkbox"] ~ label:not(:last-of-type) {
1154
- margin-inline-end: 1em;
1155
- }
1156
-
1157
- [type="radio"] ~ label:not(:last-of-type) {
1158
- margin-inline-end: 1em;
1159
- }
1160
-
1161
- [type="checkbox"]:indeterminate {
1162
- --cirth-background-color: var(--cirth-primary-background);
1163
- --cirth-border-color: var(--cirth-primary-border);
1164
- background-image: var(--cirth-icon-minus);
1165
- background-position: center;
1166
- background-repeat: no-repeat;
1167
- background-size: .75em;
847
+ background-size: .9em;
1168
848
  }
1169
849
 
1170
850
  [type="radio"] {
1171
851
  border-radius: 50%;
1172
852
  }
1173
853
 
1174
- [type="radio"]:checked {
1175
- --cirth-background-color: var(--cirth-primary-inverse);
1176
- background-image: none;
1177
- border-width: .35em;
1178
- }
1179
-
1180
- [type="radio"]:checked:active {
854
+ [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1181
855
  --cirth-background-color: var(--cirth-primary-inverse);
1182
856
  background-image: none;
1183
- border-width: .35em;
1184
- }
1185
-
1186
- [type="radio"]:checked:focus {
1187
- --cirth-background-color: var(--cirth-primary-inverse);
1188
- background-image: none;
1189
- border-width: .35em;
857
+ border-width: .42em;
1190
858
  }
1191
859
 
1192
860
  [type="checkbox"][role="switch"] {
@@ -1194,10 +862,10 @@ label:has([type="checkbox"], [type="radio"]) {
1194
862
  --cirth-color: var(--cirth-switch-color);
1195
863
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1196
864
  background-color: var(--cirth-background-color);
1197
- border-radius: 1.25em;
1198
- width: 2.25em;
1199
- height: 1.25em;
1200
- line-height: 1.25em;
865
+ border-radius: 1.5em;
866
+ width: 2.7em;
867
+ height: 1.5em;
868
+ line-height: 1.5em;
1201
869
  }
1202
870
 
1203
871
  [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -1227,130 +895,26 @@ label:has([type="checkbox"], [type="radio"]) {
1227
895
  }
1228
896
 
1229
897
  [type="checkbox"][role="switch"]:checked:before {
1230
- margin-inline-start: 1em;
898
+ margin-inline-start: 1.2em;
1231
899
  }
1232
900
 
1233
901
  [type="checkbox"][role="switch"][disabled] {
1234
902
  --cirth-background-color: var(--cirth-border-color);
1235
903
  }
1236
904
 
1237
- [type="checkbox"][aria-invalid="false"]:checked {
1238
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1239
- }
1240
-
1241
- [type="checkbox"][aria-invalid="false"]:checked:active {
1242
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1243
- }
1244
-
1245
- [type="checkbox"][aria-invalid="false"]:checked:focus {
1246
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1247
- }
1248
-
1249
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1250
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1251
- }
1252
-
1253
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
905
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1254
906
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
1255
907
  }
1256
908
 
1257
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1258
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1259
- }
1260
-
1261
- [type="checkbox"]:checked[aria-invalid="true"] {
1262
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1263
- }
1264
-
1265
- [type="checkbox"]:checked:active[aria-invalid="true"] {
1266
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1267
- }
1268
-
1269
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
1270
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1271
- }
1272
-
1273
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1274
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1275
- }
1276
-
1277
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1278
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1279
- }
1280
-
1281
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
909
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1282
910
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1283
911
  }
1284
912
 
1285
- [type="checkbox"][aria-invalid="false"]:checked {
1286
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1287
- }
1288
-
1289
- [type="checkbox"][aria-invalid="false"]:checked:active {
1290
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1291
- }
1292
-
1293
- [type="checkbox"][aria-invalid="false"]:checked:focus {
1294
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1295
- }
1296
-
1297
- [type="radio"][aria-invalid="false"]:checked {
1298
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1299
- }
1300
-
1301
- [type="radio"][aria-invalid="false"]:checked:active {
1302
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1303
- }
1304
-
1305
- [type="radio"][aria-invalid="false"]:checked:focus {
1306
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1307
- }
1308
-
1309
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1310
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1311
- }
1312
-
1313
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1314
- --cirth-border-color: var(--cirth-form-element-valid-border-color);
1315
- }
1316
-
1317
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
913
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="radio"][aria-invalid="false"]:checked, [type="radio"][aria-invalid="false"]:checked:active, [type="radio"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1318
914
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
1319
915
  }
1320
916
 
1321
- [type="checkbox"]:checked[aria-invalid="true"] {
1322
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1323
- }
1324
-
1325
- [type="checkbox"]:checked:active[aria-invalid="true"] {
1326
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1327
- }
1328
-
1329
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
1330
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1331
- }
1332
-
1333
- [type="radio"]:checked[aria-invalid="true"] {
1334
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1335
- }
1336
-
1337
- [type="radio"]:checked:active[aria-invalid="true"] {
1338
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1339
- }
1340
-
1341
- [type="radio"]:checked:focus[aria-invalid="true"] {
1342
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1343
- }
1344
-
1345
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1346
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1347
- }
1348
-
1349
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1350
- --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1351
- }
1352
-
1353
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
917
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="radio"]:checked[aria-invalid="true"], [type="radio"]:checked:active[aria-invalid="true"], [type="radio"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1354
918
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1355
919
  }
1356
920
 
@@ -1372,7 +936,7 @@ label:has([type="checkbox"], [type="radio"]) {
1372
936
  border: 0;
1373
937
  }
1374
938
 
1375
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
939
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1376
940
  --cirth-icon-position: var(--cirth-space-3);
1377
941
  --cirth-icon-width: var(--cirth-size-4);
1378
942
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
@@ -1382,7 +946,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1382
946
  background-repeat: no-repeat;
1383
947
  }
1384
948
 
1385
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
949
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
1386
950
  background-image: var(--cirth-icon-time);
1387
951
  }
1388
952
 
@@ -1422,27 +986,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1422
986
  }
1423
987
 
1424
988
  @-moz-document url-prefix() {
1425
- [type="date"] {
1426
- padding-right: var(--cirth-form-element-spacing-horizontal);
1427
- background-image: none;
1428
- }
1429
-
1430
- [type="datetime-local"] {
1431
- padding-right: var(--cirth-form-element-spacing-horizontal);
1432
- background-image: none;
1433
- }
1434
-
1435
- [type="month"] {
1436
- padding-right: var(--cirth-form-element-spacing-horizontal);
1437
- background-image: none;
1438
- }
1439
-
1440
- [type="time"] {
1441
- padding-right: var(--cirth-form-element-spacing-horizontal);
1442
- background-image: none;
1443
- }
1444
-
1445
- [type="week"] {
989
+ [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"] {
1446
990
  padding-right: var(--cirth-form-element-spacing-horizontal);
1447
991
  background-image: none;
1448
992
  }
@@ -1473,7 +1017,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1473
1017
  }
1474
1018
 
1475
1019
  [type="file"]:focus::file-selector-button {
1476
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
1020
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1477
1021
  0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1478
1022
  }
1479
1023
 
@@ -1544,12 +1088,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1544
1088
  margin-top: -.4375rem;
1545
1089
  }
1546
1090
 
1547
- [type="range"]:active {
1548
- --cirth-range-border-color: var(--cirth-range-active-border-color);
1549
- --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
1550
- }
1551
-
1552
- [type="range"]:focus-within {
1091
+ [type="range"]:active, [type="range"]:focus-within {
1553
1092
  --cirth-range-border-color: var(--cirth-range-active-border-color);
1554
1093
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
1555
1094
  }
@@ -1566,33 +1105,33 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1566
1105
  transform: scale(1.25);
1567
1106
  }
1568
1107
 
1569
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1108
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1570
1109
  background-image: var(--cirth-icon-search);
1571
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1110
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
1572
1111
  background-repeat: no-repeat;
1573
1112
  background-size: 1rem;
1574
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1113
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1575
1114
  }
1576
1115
 
1577
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
1578
- background-position: 1.125rem, right .75rem center;
1579
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1116
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1117
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1118
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1580
1119
  }
1581
1120
 
1582
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1121
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
1583
1122
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
1584
1123
  }
1585
1124
 
1586
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1125
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
1587
1126
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
1588
1127
  }
1589
1128
 
1590
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1591
- background-position: right 1.125rem center;
1129
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1130
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
1592
1131
  }
1593
1132
 
1594
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid] {
1595
- background-position: right 1.125rem center, .75rem;
1133
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1134
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
1596
1135
  }
1597
1136
 
1598
1137
  details {
@@ -1693,7 +1232,7 @@ article {
1693
1232
  article > header, article > footer {
1694
1233
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
1695
1234
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
1696
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1235
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
1697
1236
  background-color: var(--cirth-card-sectioning-background-color);
1698
1237
  }
1699
1238
 
@@ -1717,254 +1256,124 @@ article > footer {
1717
1256
  width: 100%;
1718
1257
  margin-bottom: var(--cirth-spacing);
1719
1258
  border-radius: var(--cirth-border-radius);
1720
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1259
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
1721
1260
  vertical-align: middle;
1722
1261
  transition: box-shadow var(--cirth-transition);
1723
1262
  display: inline-flex;
1724
1263
  position: relative;
1725
1264
  }
1726
1265
 
1727
- [role="search"] > *, [role="search"] select, [role="group"] > *, [role="group"] select {
1728
- flex: auto;
1729
- margin-bottom: 0;
1730
- position: relative;
1731
- }
1732
-
1733
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])) {
1734
- flex: auto;
1735
- margin-bottom: 0;
1736
- position: relative;
1737
- }
1738
-
1739
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])) {
1266
+ [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"] > *, [role="group"] input:not([type="checkbox"], [type="radio"]), [role="group"] select {
1740
1267
  flex: auto;
1741
1268
  margin-bottom: 0;
1742
1269
  position: relative;
1743
1270
  }
1744
1271
 
1745
- [role="search"] > :not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] select:not(:first-child) {
1746
- border-top-left-radius: 0;
1747
- border-bottom-left-radius: 0;
1748
- margin-left: 0;
1749
- }
1750
-
1751
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1752
- border-top-left-radius: 0;
1753
- border-bottom-left-radius: 0;
1754
- margin-left: 0;
1755
- }
1756
-
1757
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1272
+ [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1758
1273
  border-top-left-radius: 0;
1759
1274
  border-bottom-left-radius: 0;
1760
1275
  margin-left: 0;
1761
1276
  }
1762
1277
 
1763
- [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
1764
- border-top-right-radius: 0;
1765
- border-bottom-right-radius: 0;
1766
- }
1767
-
1768
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1769
- border-top-right-radius: 0;
1770
- border-bottom-right-radius: 0;
1771
- }
1772
-
1773
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:last-child) {
1278
+ [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"] select:not(:last-child) {
1774
1279
  border-top-right-radius: 0;
1775
1280
  border-bottom-right-radius: 0;
1776
1281
  }
1777
1282
 
1778
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
1779
- z-index: 2;
1780
- }
1781
-
1782
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1783
- z-index: 2;
1784
- }
1785
-
1786
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):focus {
1283
+ [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] input:not([type="checkbox"], [type="radio"]):focus, [role="group"] select:focus {
1787
1284
  z-index: 2;
1788
1285
  }
1789
1286
 
1790
- [role="search"] button:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] select:not(:first-child) {
1791
- margin-left: calc(var(--cirth-border-width) * -1);
1792
- }
1793
-
1794
- [role="search"] [type="submit"]:not(:first-child) {
1795
- margin-left: calc(var(--cirth-border-width) * -1);
1796
- }
1797
-
1798
- [role="search"] [type="reset"]:not(:first-child) {
1799
- margin-left: calc(var(--cirth-border-width) * -1);
1800
- }
1801
-
1802
- [role="search"] [type="button"]:not(:first-child) {
1803
- margin-left: calc(var(--cirth-border-width) * -1);
1804
- }
1805
-
1806
- [role="search"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1807
- margin-left: calc(var(--cirth-border-width) * -1);
1808
- }
1809
-
1810
- [role="group"] [type="submit"]:not(:first-child) {
1811
- margin-left: calc(var(--cirth-border-width) * -1);
1812
- }
1813
-
1814
- [role="group"] [type="reset"]:not(:first-child) {
1815
- margin-left: calc(var(--cirth-border-width) * -1);
1816
- }
1817
-
1818
- [role="group"] [type="button"]:not(:first-child) {
1819
- margin-left: calc(var(--cirth-border-width) * -1);
1820
- }
1821
-
1822
- [role="group"] input:not(:is([type="checkbox"], [type="radio"])):not(:first-child) {
1287
+ [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [type="submit"]:not(:first-child), [role="group"] [type="reset"]:not(:first-child), [role="group"] [type="button"]:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1823
1288
  margin-left: calc(var(--cirth-border-width) * -1);
1824
1289
  }
1825
1290
 
1826
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
1827
- width: auto;
1828
- }
1829
-
1830
- [role="search"] [type="submit"] {
1831
- width: auto;
1832
- }
1833
-
1834
- [role="search"] [type="reset"] {
1835
- width: auto;
1836
- }
1837
-
1838
- [role="search"] [type="button"] {
1839
- width: auto;
1840
- }
1841
-
1842
- [role="group"] [type="submit"] {
1843
- width: auto;
1844
- }
1845
-
1846
- [role="group"] [type="reset"] {
1847
- width: auto;
1848
- }
1849
-
1850
- [role="group"] [type="button"] {
1291
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="reset"], [role="group"] [type="button"], [role="group"] [role="button"] {
1851
1292
  width: auto;
1852
1293
  }
1853
1294
 
1854
1295
  @supports selector(:has(*)) {
1855
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1856
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1857
- }
1858
-
1859
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1296
+ :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1860
1297
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1861
1298
  }
1862
1299
 
1863
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
1864
- border-color: rgba(0, 0, 0, 0);
1300
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1301
+ border-color: #0000;
1865
1302
  }
1866
1303
 
1867
1304
  [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1868
- border-color: rgba(0, 0, 0, 0);
1305
+ border-color: #0000;
1869
1306
  }
1870
1307
 
1871
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
1872
- border-color: rgba(0, 0, 0, 0);
1308
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1309
+ border-color: #0000;
1873
1310
  }
1874
1311
 
1875
1312
  [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1876
- border-color: rgba(0, 0, 0, 0);
1877
- }
1878
-
1879
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1880
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1313
+ border-color: #0000;
1881
1314
  }
1882
1315
 
1883
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1316
+ :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1884
1317
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1885
1318
  }
1886
1319
 
1887
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1320
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1888
1321
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1889
1322
  var(--cirth-primary-border);
1890
1323
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1891
1324
  var(--cirth-primary-hover-border);
1892
1325
  }
1893
1326
 
1894
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1327
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1895
1328
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1896
1329
  var(--cirth-primary-border);
1897
1330
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1898
1331
  var(--cirth-primary-hover-border);
1899
1332
  }
1900
1333
 
1901
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1334
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1902
1335
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1903
1336
  var(--cirth-primary-border);
1904
1337
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1905
1338
  var(--cirth-primary-hover-border);
1906
1339
  }
1907
1340
 
1908
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1341
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1909
1342
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1910
1343
  var(--cirth-primary-border);
1911
1344
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1912
1345
  var(--cirth-primary-hover-border);
1913
1346
  }
1914
1347
 
1915
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1348
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1916
1349
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1917
1350
  var(--cirth-primary-border);
1918
1351
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1919
1352
  var(--cirth-primary-hover-border);
1920
1353
  }
1921
1354
 
1922
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1355
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1923
1356
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1924
1357
  var(--cirth-primary-border);
1925
1358
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1926
1359
  var(--cirth-primary-hover-border);
1927
1360
  }
1928
1361
 
1929
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1362
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1930
1363
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1931
1364
  var(--cirth-primary-border);
1932
1365
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1933
1366
  var(--cirth-primary-hover-border);
1934
1367
  }
1935
1368
 
1936
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1369
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1937
1370
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1938
1371
  var(--cirth-primary-border);
1939
1372
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1940
1373
  var(--cirth-primary-hover-border);
1941
1374
  }
1942
1375
 
1943
- [role="search"] button:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [role="button"]:focus {
1944
- box-shadow: none;
1945
- }
1946
-
1947
- [role="search"] [type="submit"]:focus {
1948
- box-shadow: none;
1949
- }
1950
-
1951
- [role="search"] [type="reset"]:focus {
1952
- box-shadow: none;
1953
- }
1954
-
1955
- [role="search"] [type="button"]:focus {
1956
- box-shadow: none;
1957
- }
1958
-
1959
- [role="group"] [type="submit"]:focus {
1960
- box-shadow: none;
1961
- }
1962
-
1963
- [role="group"] [type="reset"]:focus {
1964
- box-shadow: none;
1965
- }
1966
-
1967
- [role="group"] [type="button"]:focus {
1376
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [type="submit"]:focus, [role="group"] [type="reset"]:focus, [role="group"] [type="button"]:focus, [role="group"] [role="button"]:focus {
1968
1377
  box-shadow: none;
1969
1378
  }
1970
1379
  }
@@ -1979,11 +1388,11 @@ article > footer {
1979
1388
  border-bottom-right-radius: var(--cirth-radius-pill);
1980
1389
  }
1981
1390
 
1982
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1391
+ [aria-busy="true"]:not(input, select, textarea, html, form) {
1983
1392
  white-space: nowrap;
1984
1393
  }
1985
1394
 
1986
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1395
+ [aria-busy="true"]:not(input, select, textarea, html, form):before {
1987
1396
  background-image: var(--cirth-icon-loading);
1988
1397
  content: "";
1989
1398
  vertical-align: -.125em;
@@ -1994,35 +1403,19 @@ article > footer {
1994
1403
  display: inline-block;
1995
1404
  }
1996
1405
 
1997
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1406
+ [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
1998
1407
  margin-inline-end: calc(var(--cirth-spacing) * .5);
1999
1408
  }
2000
1409
 
2001
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1410
+ [aria-busy="true"]:not(input, select, textarea, html, form):empty {
2002
1411
  text-align: center;
2003
1412
  }
2004
1413
 
2005
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2006
- pointer-events: none;
2007
- }
2008
-
2009
- [type="submit"][aria-busy="true"] {
2010
- pointer-events: none;
2011
- }
2012
-
2013
- [type="button"][aria-busy="true"] {
1414
+ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][aria-busy="true"], [type="reset"][aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2014
1415
  pointer-events: none;
2015
1416
  }
2016
1417
 
2017
- [type="reset"][aria-busy="true"] {
2018
- pointer-events: none;
2019
- }
2020
-
2021
- :root {
2022
- --cirth-scrollbar-width: 0px;
2023
- }
2024
-
2025
- :host {
1418
+ :root, :host {
2026
1419
  --cirth-scrollbar-width: 0px;
2027
1420
  }
2028
1421
 
@@ -2052,13 +1445,13 @@ dialog > article {
2052
1445
  overflow: auto;
2053
1446
  }
2054
1447
 
2055
- @media (width >= 576px) {
1448
+ @media (min-width: 576px) {
2056
1449
  dialog > article {
2057
1450
  max-width: 510px;
2058
1451
  }
2059
1452
  }
2060
1453
 
2061
- @media (width >= 768px) {
1454
+ @media (min-width: 768px) {
2062
1455
  dialog > article {
2063
1456
  max-width: 700px;
2064
1457
  }
@@ -2097,7 +1490,7 @@ dialog > article :is(a, button)[rel="prev"] {
2097
1490
  background-size: auto var(--cirth-size-4);
2098
1491
  opacity: .5;
2099
1492
  transition: opacity var(--cirth-transition);
2100
- background-color: rgba(0, 0, 0, 0);
1493
+ background-color: #0000;
2101
1494
  background-repeat: no-repeat;
2102
1495
  border: none;
2103
1496
  margin-left: auto;
@@ -2158,23 +1551,7 @@ nav li :where(a, [role="link"]):not(:hover) {
2158
1551
  text-decoration: none;
2159
1552
  }
2160
1553
 
2161
- nav li button, nav li [role="button"], nav li select {
2162
- height: auto;
2163
- margin-right: inherit;
2164
- margin-bottom: 0;
2165
- margin-left: inherit;
2166
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2167
- }
2168
-
2169
- nav li [type="button"] {
2170
- height: auto;
2171
- margin-right: inherit;
2172
- margin-bottom: 0;
2173
- margin-left: inherit;
2174
- padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
2175
- }
2176
-
2177
- nav li input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])) {
1554
+ nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
2178
1555
  height: auto;
2179
1556
  margin-right: inherit;
2180
1557
  margin-bottom: 0;
@@ -2211,7 +1588,7 @@ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2211
1588
  nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2212
1589
  color: inherit;
2213
1590
  pointer-events: none;
2214
- background-color: rgba(0, 0, 0, 0);
1591
+ background-color: #0000;
2215
1592
  text-decoration: none;
2216
1593
  }
2217
1594
 
@@ -2241,10 +1618,10 @@ progress {
2241
1618
  width: 100%;
2242
1619
  height: var(--cirth-size-2);
2243
1620
  margin-bottom: calc(var(--cirth-spacing) * .5);
1621
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
2244
1622
  border-radius: var(--cirth-border-radius);
2245
1623
  background-color: var(--cirth-progress-background-color);
2246
1624
  color: var(--cirth-progress-color);
2247
- border: 0;
2248
1625
  display: inline-block;
2249
1626
  overflow: hidden;
2250
1627
  }
@@ -2270,11 +1647,11 @@ progress::-moz-progress-bar {
2270
1647
  }
2271
1648
 
2272
1649
  progress:indeterminate[value]::-webkit-progress-value {
2273
- background-color: rgba(0, 0, 0, 0);
1650
+ background-color: #0000;
2274
1651
  }
2275
1652
 
2276
1653
  progress:indeterminate::-moz-progress-bar {
2277
- background-color: rgba(0, 0, 0, 0);
1654
+ background-color: #0000;
2278
1655
  }
2279
1656
 
2280
1657
  [dir="rtl"] progress:indeterminate {
@@ -2296,7 +1673,7 @@ progress::-moz-progress-bar {
2296
1673
  position: relative;
2297
1674
  }
2298
1675
 
2299
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1676
+ [data-tooltip]:not(a, button, input, [role="button"]) {
2300
1677
  border-bottom: var(--cirth-border-width-1) dotted;
2301
1678
  cursor: help;
2302
1679
  text-decoration: none;
@@ -2328,10 +1705,10 @@ progress::-moz-progress-bar {
2328
1705
  [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
2329
1706
  content: "";
2330
1707
  color: var(--cirth-tooltip-background-color);
2331
- background-color: rgba(0, 0, 0, 0);
1708
+ background-color: #0000;
2332
1709
  border-top: .3rem solid;
2333
- border-left: .3rem solid rgba(0, 0, 0, 0);
2334
- border-right: .3rem solid rgba(0, 0, 0, 0);
1710
+ border-left: .3rem solid #0000;
1711
+ border-right: .3rem solid #0000;
2335
1712
  border-radius: 0;
2336
1713
  padding: 0;
2337
1714
  transform: translate(-50%);
@@ -2344,7 +1721,7 @@ progress::-moz-progress-bar {
2344
1721
  }
2345
1722
 
2346
1723
  [data-tooltip][data-placement="bottom"]:after {
2347
- border: .3rem solid rgba(0, 0, 0, 0);
1724
+ border: .3rem solid #0000;
2348
1725
  border-bottom-color: currentColor;
2349
1726
  transform: translate(-50%, -.3rem);
2350
1727
  }
@@ -2355,7 +1732,7 @@ progress::-moz-progress-bar {
2355
1732
  }
2356
1733
 
2357
1734
  [data-tooltip][data-placement="left"]:after {
2358
- border: .3rem solid rgba(0, 0, 0, 0);
1735
+ border: .3rem solid #0000;
2359
1736
  border-left-color: currentColor;
2360
1737
  transform: translate(.3rem, -50%);
2361
1738
  }
@@ -2366,7 +1743,7 @@ progress::-moz-progress-bar {
2366
1743
  }
2367
1744
 
2368
1745
  [data-tooltip][data-placement="right"]:after {
2369
- border: .3rem solid rgba(0, 0, 0, 0);
1746
+ border: .3rem solid #0000;
2370
1747
  border-right-color: currentColor;
2371
1748
  transform: translate(-.3rem, -50%);
2372
1749
  }
@@ -2483,128 +1860,18 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2483
1860
  }
2484
1861
  }
2485
1862
 
2486
- :root {
1863
+ :root, :host {
2487
1864
  --cirth-color-black: #000;
2488
1865
  --cirth-color-white: #fff;
2489
1866
  --cirth-color-transparent: transparent;
2490
1867
  --cirth-color-current: currentColor;
2491
- --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2492
- "Helvetica Neue", sans-serif;
2493
- --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2494
- "Segoe UI Symbol", "Noto Color Emoji";
2495
- --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2496
- --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2497
- monospace;
2498
- --cirth-font-family-display: var(--cirth-font-family-sans);
2499
- --cirth-font-size-xs: .75rem;
2500
- --cirth-font-size-sm: .875rem;
2501
- --cirth-font-size-md: 1rem;
2502
- --cirth-font-size-lg: 1.125rem;
2503
- --cirth-font-size-xl: 1.25rem;
2504
- --cirth-font-size-2xl: 1.425rem;
2505
- --cirth-font-size-3xl: 1.6rem;
2506
- --cirth-font-size-4xl: 1.8rem;
2507
- --cirth-font-size-5xl: 2rem;
2508
- --cirth-font-size-6xl: 2.3rem;
2509
- --cirth-font-weight-light: 300;
2510
- --cirth-font-weight-regular: 400;
2511
- --cirth-font-weight-medium: 500;
2512
- --cirth-font-weight-semibold: 600;
2513
- --cirth-font-weight-bold: 700;
2514
- --cirth-line-height-none: 1;
2515
- --cirth-line-height-tight: 1.125;
2516
- --cirth-line-height-snug: 1.25;
2517
- --cirth-line-height-normal: 1.5;
2518
- --cirth-line-height-relaxed: 1.625;
2519
- --cirth-line-height-loose: 2;
2520
- --cirth-letter-spacing-tight: 0;
2521
- --cirth-letter-spacing-normal: 0;
2522
- --cirth-letter-spacing-wide: .025em;
2523
- --cirth-space-0: 0;
2524
- --cirth-space-1: .25rem;
2525
- --cirth-space-2: .5rem;
2526
- --cirth-space-3: .75rem;
2527
- --cirth-space-4: 1rem;
2528
- --cirth-space-5: 1.25rem;
2529
- --cirth-space-6: 1.5rem;
2530
- --cirth-space-8: 2rem;
2531
- --cirth-space-10: 2.5rem;
2532
- --cirth-space-12: 3rem;
2533
- --cirth-space-16: 4rem;
2534
- --cirth-space-20: 5rem;
2535
- --cirth-space-24: 6rem;
2536
- --cirth-size-0: 0;
2537
- --cirth-size-1: .25rem;
2538
- --cirth-size-2: .5rem;
2539
- --cirth-size-3: .75rem;
2540
- --cirth-size-4: 1rem;
2541
- --cirth-size-5: 1.25rem;
2542
- --cirth-size-6: 1.5rem;
2543
- --cirth-size-8: 2rem;
2544
- --cirth-size-10: 2.5rem;
2545
- --cirth-size-12: 3rem;
2546
- --cirth-size-16: 4rem;
2547
- --cirth-size-20: 5rem;
2548
- --cirth-size-24: 6rem;
2549
- --cirth-radius-none: 0;
2550
- --cirth-radius-xs: .125rem;
2551
- --cirth-radius-sm: .25rem;
2552
- --cirth-radius-md: .375rem;
2553
- --cirth-radius-lg: .5rem;
2554
- --cirth-radius-xl: .75rem;
2555
- --cirth-radius-2xl: 1rem;
2556
- --cirth-radius-pill: 9999px;
2557
- --cirth-border-width-0: 0;
2558
- --cirth-border-width-1: .0625rem;
2559
- --cirth-border-width-2: .125rem;
2560
- --cirth-border-width-4: .25rem;
2561
- --cirth-outline-width-1: .0625rem;
2562
- --cirth-outline-width-2: .125rem;
2563
- --cirth-outline-width-4: .25rem;
2564
- --cirth-shadow-none: none;
2565
- --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2566
- --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2567
- 0 .0625rem .125rem rgba(0, 0, 0, .06);
2568
- --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2569
- 0 .125rem .25rem rgba(0, 0, 0, .06);
2570
- --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
2571
- 0 .25rem .375rem rgba(0, 0, 0, .05);
2572
- --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
2573
- 0 .625rem .625rem rgba(0, 0, 0, .04);
2574
- --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
2575
- --cirth-duration-instant: 0s;
2576
- --cirth-duration-fast: .1s;
2577
- --cirth-duration-normal: .2s;
2578
- --cirth-duration-slow: .3s;
2579
- --cirth-duration-slower: .5s;
2580
- --cirth-ease-linear: linear;
2581
- --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2582
- --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2583
- --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2584
- --cirth-opacity-disabled: .5;
2585
- --cirth-opacity-muted: .72;
2586
- --cirth-opacity-overlay: .75;
2587
- --cirth-z-index-dropdown: 1000;
2588
- --cirth-z-index-sticky: 1020;
2589
- --cirth-z-index-fixed: 1030;
2590
- --cirth-z-index-modal-backdrop: 1040;
2591
- --cirth-z-index-modal: 1050;
2592
- --cirth-z-index-tooltip: 1070;
2593
- }
2594
-
2595
- :host {
2596
- --cirth-color-black: #000;
2597
- --cirth-color-white: #fff;
2598
- --cirth-color-transparent: transparent;
2599
- --cirth-color-current: currentColor;
2600
- --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2601
- "Helvetica Neue", sans-serif;
2602
- --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2603
- "Segoe UI Symbol", "Noto Color Emoji";
1868
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1869
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1870
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2604
1871
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2605
1872
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2606
- monospace;
2607
- --cirth-font-family-display: var(--cirth-font-family-sans);
1873
+ monospace, var(--cirth-font-family-emoji);
1874
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2608
1875
  --cirth-font-size-xs: .75rem;
2609
1876
  --cirth-font-size-sm: .875rem;
2610
1877
  --cirth-font-size-md: 1rem;
@@ -2620,15 +1887,14 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2620
1887
  --cirth-font-weight-medium: 500;
2621
1888
  --cirth-font-weight-semibold: 600;
2622
1889
  --cirth-font-weight-bold: 700;
1890
+ --cirth-letter-spacing-tight: -.02em;
1891
+ --cirth-letter-spacing-snug: -.01em;
2623
1892
  --cirth-line-height-none: 1;
2624
1893
  --cirth-line-height-tight: 1.125;
2625
1894
  --cirth-line-height-snug: 1.25;
2626
1895
  --cirth-line-height-normal: 1.5;
2627
1896
  --cirth-line-height-relaxed: 1.625;
2628
1897
  --cirth-line-height-loose: 2;
2629
- --cirth-letter-spacing-tight: 0;
2630
- --cirth-letter-spacing-normal: 0;
2631
- --cirth-letter-spacing-wide: .025em;
2632
1898
  --cirth-space-0: 0;
2633
1899
  --cirth-space-1: .25rem;
2634
1900
  --cirth-space-2: .5rem;
@@ -2670,17 +1936,6 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2670
1936
  --cirth-outline-width-1: .0625rem;
2671
1937
  --cirth-outline-width-2: .125rem;
2672
1938
  --cirth-outline-width-4: .25rem;
2673
- --cirth-shadow-none: none;
2674
- --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2675
- --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2676
- 0 .0625rem .125rem rgba(0, 0, 0, .06);
2677
- --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2678
- 0 .125rem .25rem rgba(0, 0, 0, .06);
2679
- --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
2680
- 0 .25rem .375rem rgba(0, 0, 0, .05);
2681
- --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
2682
- 0 .625rem .625rem rgba(0, 0, 0, .04);
2683
- --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
2684
1939
  --cirth-duration-instant: 0s;
2685
1940
  --cirth-duration-fast: .1s;
2686
1941
  --cirth-duration-normal: .2s;
@@ -2699,74 +1954,28 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2699
1954
  --cirth-z-index-modal-backdrop: 1040;
2700
1955
  --cirth-z-index-modal: 1050;
2701
1956
  --cirth-z-index-tooltip: 1070;
2702
- }
2703
-
2704
- :root {
2705
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2706
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2707
- "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2708
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2709
- monospace, var(--cirth-font-family-emoji);
2710
- --cirth-font-family: var(--cirth-font-family-sans-serif);
2711
- --cirth-line-height: var(--cirth-line-height-normal);
2712
- --cirth-font-weight: var(--cirth-font-weight-regular);
2713
- --cirth-font-size: 100%;
2714
- --cirth-text-underline-offset: .1rem;
2715
- --cirth-border-radius: var(--cirth-radius-sm);
2716
- --cirth-border-width: var(--cirth-border-width-1);
2717
- --cirth-outline-width: var(--cirth-outline-width-2);
2718
- --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
2719
- --cirth-spacing: var(--cirth-space-4);
2720
- --cirth-typography-spacing-vertical: var(--cirth-space-4);
2721
- --cirth-block-spacing-vertical: var(--cirth-spacing);
2722
- --cirth-block-spacing-horizontal: var(--cirth-spacing);
2723
- --cirth-form-element-spacing-vertical: var(--cirth-space-3);
2724
- --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2725
- --cirth-form-label-font-weight: var(--cirth-font-weight);
2726
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2727
- --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2728
- var(--cirth-primary-focus);
2729
- --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2730
- var(--cirth-form-element-border-color);
2731
- --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2732
- --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2733
- --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
2734
- --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2735
- --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2736
- --cirth-nav-breadcrumb-divider: ">";
2737
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2738
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
2739
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2740
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2741
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2742
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2743
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
2744
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2745
- }
2746
-
2747
- :host {
2748
- --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2749
- --cirth-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2750
- "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2751
- --cirth-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2752
- monospace, var(--cirth-font-family-emoji);
2753
- --cirth-font-family: var(--cirth-font-family-sans-serif);
1957
+ --cirth-font-family: var(--cirth-font-family-sans);
2754
1958
  --cirth-line-height: var(--cirth-line-height-normal);
2755
1959
  --cirth-font-weight: var(--cirth-font-weight-regular);
2756
1960
  --cirth-font-size: 100%;
2757
- --cirth-text-underline-offset: .1rem;
2758
- --cirth-border-radius: var(--cirth-radius-sm);
1961
+ --cirth-text-underline-offset: .15em;
1962
+ --cirth-border-radius: var(--cirth-radius-lg);
1963
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
1964
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
1965
+ var(--cirth-radius-sm));
1966
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
1967
+ var(--cirth-radius-sm));
2759
1968
  --cirth-border-width: var(--cirth-border-width-1);
2760
1969
  --cirth-outline-width: var(--cirth-outline-width-2);
2761
- --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
1970
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2762
1971
  --cirth-spacing: var(--cirth-space-4);
2763
1972
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
2764
1973
  --cirth-block-spacing-vertical: var(--cirth-spacing);
2765
1974
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
2766
- --cirth-form-element-spacing-vertical: var(--cirth-space-3);
1975
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2767
1976
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2768
1977
  --cirth-form-label-font-weight: var(--cirth-font-weight);
2769
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
1978
+ --cirth-group-box-shadow: 0 0 0 #0000;
2770
1979
  --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2771
1980
  var(--cirth-primary-focus);
2772
1981
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
@@ -2779,62 +1988,12 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2779
1988
  --cirth-nav-breadcrumb-divider: ">";
2780
1989
  --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2781
1990
  --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
2782
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
2783
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
2784
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
2785
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
2786
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
2787
- --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2788
- }
2789
-
2790
- @media (width >= 576px) {
2791
- :root {
2792
- --cirth-font-size: 106.25%;
2793
- }
2794
-
2795
- :host {
2796
- --cirth-font-size: 106.25%;
2797
- }
2798
- }
2799
-
2800
- @media (width >= 768px) {
2801
- :root {
2802
- --cirth-font-size: 112.5%;
2803
- }
2804
-
2805
- :host {
2806
- --cirth-font-size: 112.5%;
2807
- }
2808
- }
2809
-
2810
- @media (width >= 1024px) {
2811
- :root {
2812
- --cirth-font-size: 118.75%;
2813
- }
2814
-
2815
- :host {
2816
- --cirth-font-size: 118.75%;
2817
- }
2818
- }
2819
-
2820
- @media (width >= 1280px) {
2821
- :root {
2822
- --cirth-font-size: 125%;
2823
- }
2824
-
2825
- :host {
2826
- --cirth-font-size: 125%;
2827
- }
2828
- }
2829
-
2830
- @media (width >= 1536px) {
2831
- :root {
2832
- --cirth-font-size: 131.25%;
2833
- }
2834
-
2835
- :host {
2836
- --cirth-font-size: 131.25%;
2837
- }
1991
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
1992
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
1993
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
1994
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
1995
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
1996
+ --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2838
1997
  }
2839
1998
 
2840
1999
  a {
@@ -2845,44 +2004,57 @@ small {
2845
2004
  --cirth-font-size: .875em;
2846
2005
  }
2847
2006
 
2848
- h1, h2, h3, h4, h5, h6 {
2007
+ h1, h2, h3 {
2849
2008
  --cirth-font-weight: var(--cirth-font-weight-bold);
2850
2009
  }
2851
2010
 
2011
+ h4, h5, h6 {
2012
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2013
+ }
2014
+
2852
2015
  h1 {
2853
- --cirth-font-size: var(--cirth-font-size-5xl);
2016
+ --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2854
2017
  --cirth-line-height: var(--cirth-line-height-tight);
2018
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2855
2019
  --cirth-typography-spacing-top: var(--cirth-space-12);
2856
2020
  }
2857
2021
 
2858
2022
  h2 {
2859
- --cirth-font-size: 1.75rem;
2023
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2860
2024
  --cirth-line-height: 1.15;
2861
- --cirth-typography-spacing-top: 2.625rem;
2025
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2026
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2862
2027
  }
2863
2028
 
2864
2029
  h3 {
2865
- --cirth-font-size: 1.5rem;
2866
- --cirth-line-height: 1.175;
2867
- --cirth-typography-spacing-top: 2.25rem;
2030
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2031
+ --cirth-line-height: 1.2;
2032
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2033
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2868
2034
  }
2869
2035
 
2870
2036
  h4 {
2871
2037
  --cirth-font-size: var(--cirth-font-size-xl);
2872
- --cirth-line-height: 1.2;
2873
- --cirth-typography-spacing-top: 1.874rem;
2038
+ --cirth-line-height: var(--cirth-line-height-snug);
2039
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2874
2040
  }
2875
2041
 
2876
2042
  h5 {
2877
2043
  --cirth-font-size: var(--cirth-font-size-lg);
2878
- --cirth-line-height: 1.225;
2879
- --cirth-typography-spacing-top: 1.6875rem;
2044
+ --cirth-line-height: var(--cirth-line-height-snug);
2045
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2880
2046
  }
2881
2047
 
2882
2048
  h6 {
2883
2049
  --cirth-font-size: var(--cirth-font-size-md);
2884
2050
  --cirth-line-height: var(--cirth-line-height-snug);
2885
- --cirth-typography-spacing-top: var(--cirth-space-6);
2051
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2052
+ }
2053
+
2054
+ article {
2055
+ --cirth-border-radius: var(--cirth-card-border-radius);
2056
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2057
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2886
2058
  }
2887
2059
 
2888
2060
  thead th, thead td, tfoot th, tfoot td {
@@ -2891,33 +2063,44 @@ thead th, thead td, tfoot th, tfoot td {
2891
2063
  }
2892
2064
 
2893
2065
  pre, code, kbd, samp {
2894
- --cirth-font-family: var(--cirth-font-family-monospace);
2066
+ --cirth-font-family: var(--cirth-font-family-mono);
2895
2067
  }
2896
2068
 
2897
- kbd {
2898
- --cirth-font-weight: bolder;
2069
+ code, kbd, samp {
2070
+ --cirth-border-radius: var(--cirth-code-border-radius);
2899
2071
  }
2900
2072
 
2901
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"])) {
2902
- --cirth-outline-width: var(--cirth-outline-width-1);
2073
+ kbd {
2074
+ --cirth-font-weight: bolder;
2903
2075
  }
2904
2076
 
2905
- :where(select, textarea) {
2077
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2906
2078
  --cirth-outline-width: var(--cirth-outline-width-1);
2079
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2907
2080
  }
2908
2081
 
2909
2082
  [type="search"] {
2910
2083
  --cirth-border-radius: var(--cirth-radius-pill);
2911
2084
  }
2912
2085
 
2913
- [type="checkbox"] {
2914
- --cirth-border-width: var(--cirth-border-width-2);
2086
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2087
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2088
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2089
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2915
2090
  }
2916
2091
 
2917
- [type="radio"] {
2092
+ [type="file"] {
2093
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2094
+ }
2095
+
2096
+ [type="checkbox"], [type="radio"] {
2918
2097
  --cirth-border-width: var(--cirth-border-width-2);
2919
2098
  }
2920
2099
 
2100
+ [type="checkbox"] {
2101
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2102
+ }
2103
+
2921
2104
  [type="checkbox"][role="switch"] {
2922
2105
  --cirth-border-width: .1875rem;
2923
2106
  }
@@ -2926,217 +2109,95 @@ input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"
2926
2109
  --cirth-border-radius: var(--cirth-radius-pill);
2927
2110
  }
2928
2111
 
2929
- [role="search"] button, [role="search"] [role="button"], [role="group"] button, [role="group"] [role="button"] {
2930
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2931
- }
2932
-
2933
- [role="search"] [type="submit"] {
2934
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2935
- }
2936
-
2937
- [role="search"] [type="button"] {
2112
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="button"], [role="group"] [role="button"] {
2938
2113
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2939
2114
  }
2940
2115
 
2941
- [role="group"] [type="submit"] {
2942
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2943
- }
2944
-
2945
- [role="group"] [type="button"] {
2946
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2947
- }
2948
-
2949
- details summary[role="button"]:after {
2950
- filter: brightness(0) invert();
2951
- }
2952
-
2953
- [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2116
+ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2954
2117
  filter: brightness(0) invert();
2955
2118
  }
2956
2119
 
2957
- [data-theme="light"], :root:not([data-theme="dark"]) {
2958
- --lightningcss-light: initial;
2959
- --lightningcss-dark: ;
2960
- color-scheme: light;
2961
- --cirth-background-color: #fff;
2962
- --cirth-color: #373c44;
2963
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
2964
- --cirth-muted-color: #646b79;
2965
- --cirth-muted-border-color: #e7eaf0;
2966
- --cirth-primary: #0172ad;
2967
- --cirth-primary-background: #0172ad;
2968
- --cirth-primary-border: var(--cirth-primary-background);
2969
- --cirth-primary-underline: rgba(1, 114, 173, .5);
2970
- --cirth-primary-hover: #015887;
2971
- --cirth-primary-hover-background: #02659a;
2972
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2973
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
2974
- --cirth-primary-focus: rgba(2, 154, 232, .5);
2975
- --cirth-primary-inverse: #fff;
2976
- --cirth-secondary: #5d6b89;
2977
- --cirth-secondary-background: #525f7a;
2978
- --cirth-secondary-border: var(--cirth-secondary-background);
2979
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
2980
- --cirth-secondary-hover: #48536b;
2981
- --cirth-secondary-hover-background: #48536b;
2982
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2983
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2984
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
2985
- --cirth-secondary-inverse: #fff;
2986
- --cirth-contrast: #181c25;
2987
- --cirth-contrast-background: #181c25;
2988
- --cirth-contrast-border: var(--cirth-contrast-background);
2989
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
2990
- --cirth-contrast-hover: #000;
2991
- --cirth-contrast-hover-background: #000;
2992
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2993
- --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2994
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
2995
- --cirth-contrast-inverse: #fff;
2996
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(129, 145, 181, .016), .0335rem .067rem .402rem rgba(129, 145, 181, .024), .0625rem .125rem .75rem rgba(129, 145, 181, .03), .1125rem .225rem 1.35rem rgba(129, 145, 181, .035), .2085rem .417rem 2.502rem rgba(129, 145, 181, .043), .5rem 1rem 6rem rgba(129, 145, 181, .06), 0 0 0 .0625rem rgba(129, 145, 181, .016);
2997
- --cirth-h1-color: #2d3138;
2998
- --cirth-h2-color: #373c44;
2999
- --cirth-h3-color: #424751;
3000
- --cirth-h4-color: #4d535e;
3001
- --cirth-h5-color: #5c6370;
3002
- --cirth-h6-color: #646b79;
3003
- --cirth-mark-background-color: #fde7c0;
3004
- --cirth-mark-color: #0f1114;
3005
- --cirth-ins-color: #1d6a54;
3006
- --cirth-del-color: #883935;
3007
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3008
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
3009
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3010
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3011
- --cirth-table-border-color: var(--cirth-muted-border-color);
3012
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3013
- --cirth-code-background-color: #f3f5f7;
3014
- --cirth-code-color: #646b79;
3015
- --cirth-code-kbd-background-color: var(--cirth-color);
3016
- --cirth-code-kbd-color: var(--cirth-background-color);
3017
- --cirth-form-element-background-color: #fbfcfc;
3018
- --cirth-form-element-selected-background-color: #dfe3eb;
3019
- --cirth-form-element-border-color: #cfd5e2;
3020
- --cirth-form-element-color: #23262c;
3021
- --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3022
- --cirth-form-element-active-background-color: #fff;
3023
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
3024
- --cirth-form-element-focus-color: var(--cirth-primary-border);
3025
- --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3026
- --cirth-form-element-invalid-border-color: #b86a6b;
3027
- --cirth-form-element-invalid-active-border-color: #c84f48;
3028
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3029
- --cirth-form-element-valid-border-color: #4c9b8a;
3030
- --cirth-form-element-valid-active-border-color: #279977;
3031
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3032
- --cirth-switch-background-color: #bfc7d9;
3033
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
3034
- --cirth-switch-color: #fff;
3035
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3036
- --cirth-range-border-color: #dfe3eb;
3037
- --cirth-range-active-border-color: #bfc7d9;
3038
- --cirth-range-thumb-border-color: var(--cirth-background-color);
3039
- --cirth-range-thumb-color: var(--cirth-secondary-background);
3040
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
3041
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
3042
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3043
- --cirth-accordion-close-summary-color: var(--cirth-color);
3044
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3045
- --cirth-card-background-color: var(--cirth-background-color);
3046
- --cirth-card-border-color: var(--cirth-muted-border-color);
3047
- --cirth-card-box-shadow: var(--cirth-box-shadow);
3048
- --cirth-card-sectioning-background-color: #fbfcfc;
3049
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3050
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3051
- --cirth-progress-background-color: #dfe3eb;
3052
- --cirth-progress-color: var(--cirth-primary-background);
3053
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
3054
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
3055
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
3056
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3057
- }
3058
-
3059
- :host(:not([data-theme="dark"])) {
2120
+ [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
3060
2121
  --lightningcss-light: initial;
3061
2122
  --lightningcss-dark: ;
3062
2123
  color-scheme: light;
3063
- --cirth-background-color: #fff;
3064
- --cirth-color: #373c44;
3065
- --cirth-text-selection-color: rgba(2, 154, 232, .25);
3066
- --cirth-muted-color: #646b79;
3067
- --cirth-muted-border-color: #e7eaf0;
3068
- --cirth-primary: #0172ad;
3069
- --cirth-primary-background: #0172ad;
2124
+ --cirth-background-color: oklch(97.4% .008 69.35);
2125
+ --cirth-color: oklch(35.3% .021 264);
2126
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2127
+ --cirth-muted-color: oklch(52.7% .032 264);
2128
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2129
+ --cirth-primary: oklch(52.7% .097 69.35);
2130
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3070
2131
  --cirth-primary-border: var(--cirth-primary-background);
3071
- --cirth-primary-underline: rgba(1, 114, 173, .5);
3072
- --cirth-primary-hover: #015887;
3073
- --cirth-primary-hover-background: #02659a;
2132
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2133
+ --cirth-primary-hover: oklch(44% .081 69.35);
2134
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
3074
2135
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3075
2136
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
3076
- --cirth-primary-focus: rgba(2, 154, 232, .5);
3077
- --cirth-primary-inverse: #fff;
3078
- --cirth-secondary: #5d6b89;
3079
- --cirth-secondary-background: #525f7a;
2137
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2138
+ --cirth-primary-inverse: oklch(100% 0 0);
2139
+ --cirth-secondary: oklch(52.7% .032 264);
2140
+ --cirth-secondary-background: oklch(48.3% .03 264);
3080
2141
  --cirth-secondary-border: var(--cirth-secondary-background);
3081
- --cirth-secondary-underline: rgba(93, 107, 137, .5);
3082
- --cirth-secondary-hover: #48536b;
3083
- --cirth-secondary-hover-background: #48536b;
2142
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2143
+ --cirth-secondary-hover: oklch(44% .028 264);
2144
+ --cirth-secondary-hover-background: oklch(44% .028 264);
3084
2145
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3085
2146
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3086
- --cirth-secondary-focus: rgba(93, 107, 137, .25);
3087
- --cirth-secondary-inverse: #fff;
3088
- --cirth-contrast: #181c25;
3089
- --cirth-contrast-background: #181c25;
2147
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2148
+ --cirth-secondary-inverse: oklch(100% 0 0);
2149
+ --cirth-contrast: oklch(22.3% .006 264);
2150
+ --cirth-contrast-background: oklch(22.3% .006 264);
3090
2151
  --cirth-contrast-border: var(--cirth-contrast-background);
3091
- --cirth-contrast-underline: rgba(24, 28, 37, .5);
3092
- --cirth-contrast-hover: #000;
3093
- --cirth-contrast-hover-background: #000;
2152
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2153
+ --cirth-contrast-hover: oklch(0% 0 0);
2154
+ --cirth-contrast-hover-background: oklch(0% 0 0);
3094
2155
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3095
2156
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
3096
- --cirth-contrast-focus: rgba(93, 107, 137, .25);
3097
- --cirth-contrast-inverse: #fff;
3098
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(129, 145, 181, .016), .0335rem .067rem .402rem rgba(129, 145, 181, .024), .0625rem .125rem .75rem rgba(129, 145, 181, .03), .1125rem .225rem 1.35rem rgba(129, 145, 181, .035), .2085rem .417rem 2.502rem rgba(129, 145, 181, .043), .5rem 1rem 6rem rgba(129, 145, 181, .06), 0 0 0 .0625rem rgba(129, 145, 181, .016);
3099
- --cirth-h1-color: #2d3138;
3100
- --cirth-h2-color: #373c44;
3101
- --cirth-h3-color: #424751;
3102
- --cirth-h4-color: #4d535e;
3103
- --cirth-h5-color: #5c6370;
3104
- --cirth-h6-color: #646b79;
3105
- --cirth-mark-background-color: #fde7c0;
3106
- --cirth-mark-color: #0f1114;
3107
- --cirth-ins-color: #1d6a54;
3108
- --cirth-del-color: #883935;
2157
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2158
+ --cirth-contrast-inverse: oklch(100% 0 0);
2159
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015);
2160
+ --cirth-h1-color: oklch(31% .016 264);
2161
+ --cirth-h2-color: oklch(35.3% .021 264);
2162
+ --cirth-h3-color: oklch(39.7% .025 264);
2163
+ --cirth-h4-color: oklch(44% .028 264);
2164
+ --cirth-h5-color: oklch(48.3% .03 264);
2165
+ --cirth-h6-color: oklch(52.7% .032 264);
2166
+ --cirth-mark-background-color: oklch(93% .05 78);
2167
+ --cirth-mark-color: oklch(18% 0 264);
2168
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2169
+ --cirth-del-color: oklch(35.3% .122 29.73);
3109
2170
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3110
2171
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
3111
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3112
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2172
+ --cirth-button-box-shadow: 0 0 0 #0000;
2173
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3113
2174
  --cirth-table-border-color: var(--cirth-muted-border-color);
3114
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3115
- --cirth-code-background-color: #f3f5f7;
3116
- --cirth-code-color: #646b79;
2175
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2176
+ --cirth-code-background-color: oklch(97% 0 288);
2177
+ --cirth-code-color: oklch(52.7% .032 264);
3117
2178
  --cirth-code-kbd-background-color: var(--cirth-color);
3118
2179
  --cirth-code-kbd-color: var(--cirth-background-color);
3119
- --cirth-form-element-background-color: #fbfcfc;
3120
- --cirth-form-element-selected-background-color: #dfe3eb;
3121
- --cirth-form-element-border-color: #cfd5e2;
3122
- --cirth-form-element-color: #23262c;
2180
+ --cirth-form-element-background-color: oklch(99% 0 336);
2181
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2182
+ --cirth-form-element-border-color: oklch(61.3% .032 264);
2183
+ --cirth-form-element-color: oklch(26.7% .011 264);
3123
2184
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3124
- --cirth-form-element-active-background-color: #fff;
2185
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
3125
2186
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3126
2187
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3127
2188
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3128
- --cirth-form-element-invalid-border-color: #b86a6b;
3129
- --cirth-form-element-invalid-active-border-color: #c84f48;
2189
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2190
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
3130
2191
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3131
- --cirth-form-element-valid-border-color: #4c9b8a;
3132
- --cirth-form-element-valid-active-border-color: #279977;
2192
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2193
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
3133
2194
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3134
- --cirth-switch-background-color: #bfc7d9;
2195
+ --cirth-switch-background-color: oklch(61.3% .032 264);
3135
2196
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
3136
- --cirth-switch-color: #fff;
3137
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3138
- --cirth-range-border-color: #dfe3eb;
3139
- --cirth-range-active-border-color: #bfc7d9;
2197
+ --cirth-switch-color: oklch(100% 0 0);
2198
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2199
+ --cirth-range-border-color: oklch(91.7% .006 264);
2200
+ --cirth-range-active-border-color: oklch(83% .016 264);
3140
2201
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3141
2202
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3142
2203
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3144,216 +2205,107 @@ details summary[role="button"]:after {
3144
2205
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3145
2206
  --cirth-accordion-close-summary-color: var(--cirth-color);
3146
2207
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3147
- --cirth-card-background-color: var(--cirth-background-color);
2208
+ --cirth-card-background-color: oklch(100% 0 0);
3148
2209
  --cirth-card-border-color: var(--cirth-muted-border-color);
3149
2210
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3150
- --cirth-card-sectioning-background-color: #fbfcfc;
2211
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
3151
2212
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3152
- --cirth-modal-overlay-background-color: rgba(232, 234, 237, var(--cirth-opacity-overlay));
3153
- --cirth-progress-background-color: #dfe3eb;
2213
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2214
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2215
+ --cirth-progress-border-color: oklch(61.3% .032 264);
3154
2216
  --cirth-progress-color: var(--cirth-primary-background);
3155
2217
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3156
2218
  --cirth-tooltip-color: var(--cirth-contrast-inverse);
3157
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
3158
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3159
- }
3160
-
3161
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3162
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
2219
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2220
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3163
2221
  }
3164
2222
 
3165
- :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3166
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
3167
- }
3168
-
3169
- :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2223
+ [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3170
2224
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3171
2225
  }
3172
2226
 
3173
2227
  @media only screen and (prefers-color-scheme: dark) {
3174
- :root:not([data-theme]) {
3175
- --lightningcss-light: ;
3176
- --lightningcss-dark: initial;
3177
- color-scheme: dark;
3178
- --cirth-background-color: #13171f;
3179
- --cirth-color: #c2c7d0;
3180
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
3181
- --cirth-muted-color: #7b8495;
3182
- --cirth-muted-border-color: #202632;
3183
- --cirth-primary: #01aaff;
3184
- --cirth-primary-background: #0172ad;
3185
- --cirth-primary-border: var(--cirth-primary-background);
3186
- --cirth-primary-underline: rgba(1, 170, 255, .5);
3187
- --cirth-primary-hover: #79c0ff;
3188
- --cirth-primary-hover-background: #017fc0;
3189
- --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3190
- --cirth-primary-hover-underline: var(--cirth-primary-hover);
3191
- --cirth-primary-focus: rgba(1, 170, 255, .376);
3192
- --cirth-primary-inverse: #fff;
3193
- --cirth-secondary: #969eaf;
3194
- --cirth-secondary-background: #525f7a;
3195
- --cirth-secondary-border: var(--cirth-secondary-background);
3196
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
3197
- --cirth-secondary-hover: #b3b9c5;
3198
- --cirth-secondary-hover-background: #5d6b89;
3199
- --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3200
- --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3201
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
3202
- --cirth-secondary-inverse: #fff;
3203
- --cirth-contrast: #dfe3eb;
3204
- --cirth-contrast-background: #eff1f4;
3205
- --cirth-contrast-border: var(--cirth-contrast-background);
3206
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
3207
- --cirth-contrast-hover: #fff;
3208
- --cirth-contrast-hover-background: #fff;
3209
- --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3210
- --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3211
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
3212
- --cirth-contrast-inverse: #000;
3213
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
3214
- --cirth-h1-color: #f0f1f3;
3215
- --cirth-h2-color: #e0e3e7;
3216
- --cirth-h3-color: #c2c7d0;
3217
- --cirth-h4-color: #b3b9c5;
3218
- --cirth-h5-color: #a4acba;
3219
- --cirth-h6-color: #8891a4;
3220
- --cirth-mark-background-color: #014063;
3221
- --cirth-mark-color: #fff;
3222
- --cirth-ins-color: #62af9a;
3223
- --cirth-del-color: #ce7e7b;
3224
- --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3225
- --cirth-blockquote-footer-color: var(--cirth-muted-color);
3226
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3227
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3228
- --cirth-table-border-color: var(--cirth-muted-border-color);
3229
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3230
- --cirth-code-background-color: #1a1f28;
3231
- --cirth-code-color: #8891a4;
3232
- --cirth-code-kbd-background-color: var(--cirth-color);
3233
- --cirth-code-kbd-color: var(--cirth-background-color);
3234
- --cirth-form-element-background-color: #1c212c;
3235
- --cirth-form-element-selected-background-color: #2a3140;
3236
- --cirth-form-element-border-color: #2a3140;
3237
- --cirth-form-element-color: #e0e3e7;
3238
- --cirth-form-element-placeholder-color: #8891a4;
3239
- --cirth-form-element-active-background-color: #1a1f28;
3240
- --cirth-form-element-active-border-color: var(--cirth-primary-border);
3241
- --cirth-form-element-focus-color: var(--cirth-primary-border);
3242
- --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3243
- --cirth-form-element-invalid-border-color: #964a50;
3244
- --cirth-form-element-invalid-active-border-color: #b7403b;
3245
- --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3246
- --cirth-form-element-valid-border-color: #2a7b6f;
3247
- --cirth-form-element-valid-active-border-color: #16896a;
3248
- --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3249
- --cirth-switch-background-color: #333c4e;
3250
- --cirth-switch-checked-background-color: var(--cirth-primary-background);
3251
- --cirth-switch-color: #fff;
3252
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3253
- --cirth-range-border-color: #202632;
3254
- --cirth-range-active-border-color: #2a3140;
3255
- --cirth-range-thumb-border-color: var(--cirth-background-color);
3256
- --cirth-range-thumb-color: var(--cirth-secondary-background);
3257
- --cirth-range-thumb-active-color: var(--cirth-primary-background);
3258
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
3259
- --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3260
- --cirth-accordion-close-summary-color: var(--cirth-color);
3261
- --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3262
- --cirth-card-background-color: #181c25;
3263
- --cirth-card-border-color: var(--cirth-card-background-color);
3264
- --cirth-card-box-shadow: var(--cirth-box-shadow);
3265
- --cirth-card-sectioning-background-color: #1a1f28;
3266
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3267
- --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3268
- --cirth-progress-background-color: #202632;
3269
- --cirth-progress-color: var(--cirth-primary-background);
3270
- --cirth-tooltip-background-color: var(--cirth-contrast-background);
3271
- --cirth-tooltip-color: var(--cirth-contrast-inverse);
3272
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
3273
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3274
- }
3275
-
3276
- :host(:not([data-theme])) {
2228
+ :root:not([data-theme]), :host(:not([data-theme])) {
3277
2229
  --lightningcss-light: ;
3278
2230
  --lightningcss-dark: initial;
3279
2231
  color-scheme: dark;
3280
- --cirth-background-color: #13171f;
3281
- --cirth-color: #c2c7d0;
3282
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
3283
- --cirth-muted-color: #7b8495;
3284
- --cirth-muted-border-color: #202632;
3285
- --cirth-primary: #01aaff;
3286
- --cirth-primary-background: #0172ad;
2232
+ --cirth-background-color: oklch(20.15% .003 264);
2233
+ --cirth-color: oklch(83% .016 264);
2234
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2235
+ --cirth-muted-color: oklch(61.3% .032 264);
2236
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2237
+ --cirth-primary: oklch(70% .129 69.35);
2238
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3287
2239
  --cirth-primary-border: var(--cirth-primary-background);
3288
- --cirth-primary-underline: rgba(1, 170, 255, .5);
3289
- --cirth-primary-hover: #79c0ff;
3290
- --cirth-primary-hover-background: #017fc0;
2240
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2241
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2242
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
3291
2243
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3292
2244
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
3293
- --cirth-primary-focus: rgba(1, 170, 255, .376);
3294
- --cirth-primary-inverse: #fff;
3295
- --cirth-secondary: #969eaf;
3296
- --cirth-secondary-background: #525f7a;
2245
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2246
+ --cirth-primary-inverse: oklch(100% 0 0);
2247
+ --cirth-secondary: oklch(70% .028 264);
2248
+ --cirth-secondary-background: oklch(48.3% .03 264);
3297
2249
  --cirth-secondary-border: var(--cirth-secondary-background);
3298
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
3299
- --cirth-secondary-hover: #b3b9c5;
3300
- --cirth-secondary-hover-background: #5d6b89;
2250
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2251
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2252
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
3301
2253
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3302
2254
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3303
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
3304
- --cirth-secondary-inverse: #fff;
3305
- --cirth-contrast: #dfe3eb;
3306
- --cirth-contrast-background: #eff1f4;
2255
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2256
+ --cirth-secondary-inverse: oklch(100% 0 0);
2257
+ --cirth-contrast: oklch(91.7% .006 264);
2258
+ --cirth-contrast-background: oklch(96% 0 264);
3307
2259
  --cirth-contrast-border: var(--cirth-contrast-background);
3308
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
3309
- --cirth-contrast-hover: #fff;
3310
- --cirth-contrast-hover-background: #fff;
2260
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2261
+ --cirth-contrast-hover: oklch(100% 0 0);
2262
+ --cirth-contrast-hover-background: oklch(100% 0 0);
3311
2263
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3312
2264
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3313
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
3314
- --cirth-contrast-inverse: #000;
3315
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
3316
- --cirth-h1-color: #f0f1f3;
3317
- --cirth-h2-color: #e0e3e7;
3318
- --cirth-h3-color: #c2c7d0;
3319
- --cirth-h4-color: #b3b9c5;
3320
- --cirth-h5-color: #a4acba;
3321
- --cirth-h6-color: #8891a4;
3322
- --cirth-mark-background-color: #014063;
3323
- --cirth-mark-color: #fff;
3324
- --cirth-ins-color: #62af9a;
3325
- --cirth-del-color: #ce7e7b;
2265
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2266
+ --cirth-contrast-inverse: oklch(0% 0 0);
2267
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2268
+ --cirth-h1-color: oklch(96% 0 264);
2269
+ --cirth-h2-color: oklch(91.7% .006 264);
2270
+ --cirth-h3-color: oklch(83% .016 264);
2271
+ --cirth-h4-color: oklch(78.7% .021 264);
2272
+ --cirth-h5-color: oklch(74.3% .025 264);
2273
+ --cirth-h6-color: oklch(65.7% .03 264);
2274
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2275
+ --cirth-mark-color: oklch(100% 0 0);
2276
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2277
+ --cirth-del-color: oklch(78.7% .106 29.73);
3326
2278
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3327
2279
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
3328
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3329
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2280
+ --cirth-button-box-shadow: 0 0 0 #0000;
2281
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3330
2282
  --cirth-table-border-color: var(--cirth-muted-border-color);
3331
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3332
- --cirth-code-background-color: #1a1f28;
3333
- --cirth-code-color: #8891a4;
2283
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2284
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2285
+ --cirth-code-color: oklch(65.7% .03 264);
3334
2286
  --cirth-code-kbd-background-color: var(--cirth-color);
3335
2287
  --cirth-code-kbd-color: var(--cirth-background-color);
3336
- --cirth-form-element-background-color: #1c212c;
3337
- --cirth-form-element-selected-background-color: #2a3140;
3338
- --cirth-form-element-border-color: #2a3140;
3339
- --cirth-form-element-color: #e0e3e7;
3340
- --cirth-form-element-placeholder-color: #8891a4;
3341
- --cirth-form-element-active-background-color: #1a1f28;
2288
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2289
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2290
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2291
+ --cirth-form-element-color: oklch(91.7% .006 264);
2292
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2293
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
3342
2294
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3343
2295
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3344
2296
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3345
- --cirth-form-element-invalid-border-color: #964a50;
3346
- --cirth-form-element-invalid-active-border-color: #b7403b;
2297
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2298
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
3347
2299
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3348
- --cirth-form-element-valid-border-color: #2a7b6f;
3349
- --cirth-form-element-valid-active-border-color: #16896a;
2300
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2301
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
3350
2302
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3351
- --cirth-switch-background-color: #333c4e;
2303
+ --cirth-switch-background-color: oklch(52.7% .032 264);
3352
2304
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
3353
- --cirth-switch-color: #fff;
3354
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3355
- --cirth-range-border-color: #202632;
3356
- --cirth-range-active-border-color: #2a3140;
2305
+ --cirth-switch-color: oklch(100% 0 0);
2306
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2307
+ --cirth-range-border-color: oklch(26.7% .011 264);
2308
+ --cirth-range-active-border-color: oklch(31% .016 264);
3357
2309
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3358
2310
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3359
2311
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3361,25 +2313,22 @@ details summary[role="button"]:after {
3361
2313
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3362
2314
  --cirth-accordion-close-summary-color: var(--cirth-color);
3363
2315
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3364
- --cirth-card-background-color: #181c25;
2316
+ --cirth-card-background-color: oklch(22.3% .006 264);
3365
2317
  --cirth-card-border-color: var(--cirth-card-background-color);
3366
2318
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3367
- --cirth-card-sectioning-background-color: #1a1f28;
2319
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
3368
2320
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3369
- --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3370
- --cirth-progress-background-color: #202632;
3371
- --cirth-progress-color: var(--cirth-primary-background);
2321
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2322
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2323
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2324
+ --cirth-progress-color: oklch(61.3% .113 69.35);
3372
2325
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3373
2326
  --cirth-tooltip-color: var(--cirth-contrast-inverse);
3374
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
3375
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3376
- }
3377
-
3378
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3379
- --cirth-form-element-focus-color: var(--cirth-primary-focus);
2327
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2328
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3380
2329
  }
3381
2330
 
3382
- :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2331
+ :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3383
2332
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3384
2333
  }
3385
2334
  }
@@ -3388,83 +2337,83 @@ details summary[role="button"]:after {
3388
2337
  --lightningcss-light: ;
3389
2338
  --lightningcss-dark: initial;
3390
2339
  color-scheme: dark;
3391
- --cirth-background-color: #13171f;
3392
- --cirth-color: #c2c7d0;
3393
- --cirth-text-selection-color: rgba(1, 170, 255, .19);
3394
- --cirth-muted-color: #7b8495;
3395
- --cirth-muted-border-color: #202632;
3396
- --cirth-primary: #01aaff;
3397
- --cirth-primary-background: #0172ad;
2340
+ --cirth-background-color: oklch(20.15% .003 264);
2341
+ --cirth-color: oklch(83% .016 264);
2342
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2343
+ --cirth-muted-color: oklch(61.3% .032 264);
2344
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2345
+ --cirth-primary: oklch(70% .129 69.35);
2346
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3398
2347
  --cirth-primary-border: var(--cirth-primary-background);
3399
- --cirth-primary-underline: rgba(1, 170, 255, .5);
3400
- --cirth-primary-hover: #79c0ff;
3401
- --cirth-primary-hover-background: #017fc0;
2348
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2349
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2350
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
3402
2351
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3403
2352
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
3404
- --cirth-primary-focus: rgba(1, 170, 255, .376);
3405
- --cirth-primary-inverse: #fff;
3406
- --cirth-secondary: #969eaf;
3407
- --cirth-secondary-background: #525f7a;
2353
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2354
+ --cirth-primary-inverse: oklch(100% 0 0);
2355
+ --cirth-secondary: oklch(70% .028 264);
2356
+ --cirth-secondary-background: oklch(48.3% .03 264);
3408
2357
  --cirth-secondary-border: var(--cirth-secondary-background);
3409
- --cirth-secondary-underline: rgba(150, 158, 175, .5);
3410
- --cirth-secondary-hover: #b3b9c5;
3411
- --cirth-secondary-hover-background: #5d6b89;
2358
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2359
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2360
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
3412
2361
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3413
2362
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
3414
- --cirth-secondary-focus: rgba(144, 158, 190, .25);
3415
- --cirth-secondary-inverse: #fff;
3416
- --cirth-contrast: #dfe3eb;
3417
- --cirth-contrast-background: #eff1f4;
2363
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2364
+ --cirth-secondary-inverse: oklch(100% 0 0);
2365
+ --cirth-contrast: oklch(91.7% .006 264);
2366
+ --cirth-contrast-background: oklch(96% 0 264);
3418
2367
  --cirth-contrast-border: var(--cirth-contrast-background);
3419
- --cirth-contrast-underline: rgba(223, 227, 235, .5);
3420
- --cirth-contrast-hover: #fff;
3421
- --cirth-contrast-hover-background: #fff;
2368
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2369
+ --cirth-contrast-hover: oklch(100% 0 0);
2370
+ --cirth-contrast-hover-background: oklch(100% 0 0);
3422
2371
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3423
2372
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
3424
- --cirth-contrast-focus: rgba(207, 213, 226, .25);
3425
- --cirth-contrast-inverse: #000;
3426
- --cirth-box-shadow: .0145rem .029rem .174rem rgba(7, 9, 12, .016), .0335rem .067rem .402rem rgba(7, 9, 12, .024), .0625rem .125rem .75rem rgba(7, 9, 12, .03), .1125rem .225rem 1.35rem rgba(7, 9, 12, .035), .2085rem .417rem 2.502rem rgba(7, 9, 12, .043), .5rem 1rem 6rem rgba(7, 9, 12, .06), 0 0 0 .0625rem rgba(7, 9, 12, .016);
3427
- --cirth-h1-color: #f0f1f3;
3428
- --cirth-h2-color: #e0e3e7;
3429
- --cirth-h3-color: #c2c7d0;
3430
- --cirth-h4-color: #b3b9c5;
3431
- --cirth-h5-color: #a4acba;
3432
- --cirth-h6-color: #8891a4;
3433
- --cirth-mark-background-color: #014063;
3434
- --cirth-mark-color: #fff;
3435
- --cirth-ins-color: #62af9a;
3436
- --cirth-del-color: #ce7e7b;
2373
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2374
+ --cirth-contrast-inverse: oklch(0% 0 0);
2375
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2376
+ --cirth-h1-color: oklch(96% 0 264);
2377
+ --cirth-h2-color: oklch(91.7% .006 264);
2378
+ --cirth-h3-color: oklch(83% .016 264);
2379
+ --cirth-h4-color: oklch(78.7% .021 264);
2380
+ --cirth-h5-color: oklch(74.3% .025 264);
2381
+ --cirth-h6-color: oklch(65.7% .03 264);
2382
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2383
+ --cirth-mark-color: oklch(100% 0 0);
2384
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2385
+ --cirth-del-color: oklch(78.7% .106 29.73);
3437
2386
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3438
2387
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
3439
- --cirth-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3440
- --cirth-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
2388
+ --cirth-button-box-shadow: 0 0 0 #0000;
2389
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3441
2390
  --cirth-table-border-color: var(--cirth-muted-border-color);
3442
- --cirth-table-row-stripped-background-color: rgba(111, 120, 135, .04);
3443
- --cirth-code-background-color: #1a1f28;
3444
- --cirth-code-color: #8891a4;
2391
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2392
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2393
+ --cirth-code-color: oklch(65.7% .03 264);
3445
2394
  --cirth-code-kbd-background-color: var(--cirth-color);
3446
2395
  --cirth-code-kbd-color: var(--cirth-background-color);
3447
- --cirth-form-element-background-color: #1c212c;
3448
- --cirth-form-element-selected-background-color: #2a3140;
3449
- --cirth-form-element-border-color: #2a3140;
3450
- --cirth-form-element-color: #e0e3e7;
3451
- --cirth-form-element-placeholder-color: #8891a4;
3452
- --cirth-form-element-active-background-color: #1a1f28;
2396
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2397
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2398
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2399
+ --cirth-form-element-color: oklch(91.7% .006 264);
2400
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2401
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
3453
2402
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3454
2403
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3455
2404
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
3456
- --cirth-form-element-invalid-border-color: #964a50;
3457
- --cirth-form-element-invalid-active-border-color: #b7403b;
2405
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2406
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
3458
2407
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
3459
- --cirth-form-element-valid-border-color: #2a7b6f;
3460
- --cirth-form-element-valid-active-border-color: #16896a;
2408
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2409
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
3461
2410
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3462
- --cirth-switch-background-color: #333c4e;
2411
+ --cirth-switch-background-color: oklch(52.7% .032 264);
3463
2412
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
3464
- --cirth-switch-color: #fff;
3465
- --cirth-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
3466
- --cirth-range-border-color: #202632;
3467
- --cirth-range-active-border-color: #2a3140;
2413
+ --cirth-switch-color: oklch(100% 0 0);
2414
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2415
+ --cirth-range-border-color: oklch(26.7% .011 264);
2416
+ --cirth-range-active-border-color: oklch(31% .016 264);
3468
2417
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3469
2418
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3470
2419
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3472,36 +2421,25 @@ details summary[role="button"]:after {
3472
2421
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3473
2422
  --cirth-accordion-close-summary-color: var(--cirth-color);
3474
2423
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3475
- --cirth-card-background-color: #181c25;
2424
+ --cirth-card-background-color: oklch(22.3% .006 264);
3476
2425
  --cirth-card-border-color: var(--cirth-card-background-color);
3477
2426
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3478
- --cirth-card-sectioning-background-color: #1a1f28;
2427
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
3479
2428
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
3480
- --cirth-modal-overlay-background-color: rgba(7.5, 8.5, 10, var(--cirth-opacity-overlay));
3481
- --cirth-progress-background-color: #202632;
3482
- --cirth-progress-color: var(--cirth-primary-background);
2429
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2430
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2431
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2432
+ --cirth-progress-color: oklch(61.3% .113 69.35);
3483
2433
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3484
2434
  --cirth-tooltip-color: var(--cirth-contrast-inverse);
3485
- --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
3486
- --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2435
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2436
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3487
2437
  }
3488
2438
 
3489
2439
  [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3490
2440
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3491
2441
  }
3492
2442
 
3493
- progress {
3494
- accent-color: var(--cirth-primary);
3495
- }
3496
-
3497
- [type="checkbox"] {
3498
- accent-color: var(--cirth-primary);
3499
- }
3500
-
3501
- [type="radio"] {
3502
- accent-color: var(--cirth-primary);
3503
- }
3504
-
3505
- [type="range"] {
2443
+ progress, [type="checkbox"], [type="radio"], [type="range"] {
3506
2444
  accent-color: var(--cirth-primary);
3507
2445
  }