@cirthcss/cirth 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }
@@ -639,11 +451,7 @@ img {
639
451
  fill: currentColor;
640
452
  }
641
453
 
642
- svg:not(:root) {
643
- overflow: hidden;
644
- }
645
-
646
- svg:not(:host) {
454
+ svg:not(:root), svg:not(:host) {
647
455
  overflow: hidden;
648
456
  }
649
457
 
@@ -671,7 +479,7 @@ pre, code, kbd, samp {
671
479
  }
672
480
 
673
481
  code, kbd, samp {
674
- padding: .375rem;
482
+ padding: var(--cirth-space-1) var(--cirth-space-2);
675
483
  display: inline-block;
676
484
  }
677
485
 
@@ -748,11 +556,7 @@ textarea {
748
556
  overflow: auto;
749
557
  }
750
558
 
751
- [type="checkbox"] {
752
- padding: 0;
753
- }
754
-
755
- [type="radio"] {
559
+ [type="checkbox"], [type="radio"] {
756
560
  padding: 0;
757
561
  }
758
562
 
@@ -795,17 +599,12 @@ textarea {
795
599
  display: none;
796
600
  }
797
601
 
798
- [type="file"] {
799
- border-width: 0;
800
- padding: 0;
801
- }
802
-
803
- [type="range"] {
602
+ [type="file"], [type="range"] {
804
603
  border-width: 0;
805
604
  padding: 0;
806
605
  }
807
606
 
808
- input:not(:is([type="checkbox"], [type="radio"], [type="range"])) {
607
+ input:not([type="checkbox"], [type="radio"], [type="range"]) {
809
608
  height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
810
609
  }
811
610
 
@@ -818,7 +617,7 @@ fieldset {
818
617
  }
819
618
 
820
619
  label, fieldset legend {
821
- margin-bottom: calc(var(--cirth-spacing) * .375);
620
+ margin-bottom: calc(var(--cirth-spacing) * .5);
822
621
  color: var(--cirth-color);
823
622
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
824
623
  display: block;
@@ -828,24 +627,11 @@ fieldset legend {
828
627
  margin-bottom: calc(var(--cirth-spacing) * .5);
829
628
  }
830
629
 
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"] {
630
+ input:not([type="checkbox"], [type="radio"]), button[type="submit"], select, textarea {
840
631
  width: 100%;
841
632
  }
842
633
 
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"])) {
634
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea {
849
635
  appearance: none;
850
636
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
851
637
  }
@@ -865,43 +651,21 @@ input, select, textarea {
865
651
  outline: none;
866
652
  }
867
653
 
868
- input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly])):is(:active, :focus) {
654
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
869
655
  --cirth-background-color: var(--cirth-form-element-active-background-color);
870
656
  }
871
657
 
872
- :where(select, textarea):not([readonly]):is(:active, :focus) {
873
- --cirth-background-color: var(--cirth-form-element-active-background-color);
874
- }
875
-
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) {
658
+ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) {
881
659
  --cirth-border-color: var(--cirth-form-element-active-border-color);
882
660
  }
883
661
 
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 {
662
+ input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
890
663
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
891
664
  var(--cirth-form-element-focus-color);
665
+ outline: var(--cirth-outline-width) solid transparent;
892
666
  }
893
667
 
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) {
668
+ input:not([type="submit"], [type="button"], [type="reset"])[disabled], select[disabled], textarea[disabled], label[aria-disabled="true"], :where(fieldset[disabled]) :is(input:not([type="submit"], [type="button"], [type="reset"]), select, textarea) {
905
669
  opacity: var(--cirth-form-element-disabled-opacity);
906
670
  pointer-events: none;
907
671
  }
@@ -910,7 +674,7 @@ label[aria-disabled="true"] input[disabled] {
910
674
  opacity: 1;
911
675
  }
912
676
 
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] {
677
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
914
678
  padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
915
679
  padding-left: var(--cirth-form-element-spacing-horizontal);
916
680
  background-position: center right var(--cirth-space-3);
@@ -920,11 +684,11 @@ label[aria-disabled="true"] input[disabled] {
920
684
  padding-inline-end: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
921
685
  }
922
686
 
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) {
687
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
924
688
  background-image: var(--cirth-icon-valid);
925
689
  }
926
690
 
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) {
691
+ :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="true"]:not(select) {
928
692
  background-image: var(--cirth-icon-invalid);
929
693
  }
930
694
 
@@ -936,7 +700,7 @@ label[aria-disabled="true"] input[disabled] {
936
700
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
937
701
  }
938
702
 
939
- :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
703
+ :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
940
704
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
941
705
  var(--cirth-form-element-valid-focus-color);
942
706
  }
@@ -949,21 +713,16 @@ label[aria-disabled="true"] input[disabled] {
949
713
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
950
714
  }
951
715
 
952
- :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not(:is([type="checkbox"], [type="radio"])) {
716
+ :where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
953
717
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
954
718
  var(--cirth-form-element-invalid-focus-color);
955
719
  }
956
720
 
957
- [dir="rtl"] :where(input, select, textarea):not(:is([type="checkbox"], [type="radio"])):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
721
+ [dir="rtl"] :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], [aria-invalid="true"], [aria-invalid="false"]) {
958
722
  background-position: center left var(--cirth-space-3);
959
723
  }
960
724
 
961
- select:invalid {
962
- color: var(--cirth-form-element-placeholder-color);
963
- opacity: 1;
964
- }
965
-
966
- input::placeholder {
725
+ input::placeholder, textarea::placeholder, select:invalid {
967
726
  color: var(--cirth-form-element-placeholder-color);
968
727
  opacity: 1;
969
728
  }
@@ -973,30 +732,21 @@ input::-webkit-input-placeholder {
973
732
  opacity: 1;
974
733
  }
975
734
 
976
- textarea::placeholder {
977
- color: var(--cirth-form-element-placeholder-color);
978
- opacity: 1;
979
- }
980
-
981
735
  textarea::-webkit-input-placeholder {
982
736
  color: var(--cirth-form-element-placeholder-color);
983
737
  opacity: 1;
984
738
  }
985
739
 
986
- select, textarea {
987
- margin-bottom: var(--cirth-spacing);
988
- }
989
-
990
- input:not(:is([type="checkbox"], [type="radio"])) {
740
+ input:not([type="checkbox"], [type="radio"]), select, textarea {
991
741
  margin-bottom: var(--cirth-spacing);
992
742
  }
993
743
 
994
744
  select::-ms-expand {
995
- background-color: rgba(0, 0, 0, 0);
745
+ background-color: #0000;
996
746
  border: 0;
997
747
  }
998
748
 
999
- select:not(:is([multiple], [size])) {
749
+ select:not([multiple], [size]) {
1000
750
  padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1001
751
  padding-left: var(--cirth-form-element-spacing-horizontal);
1002
752
  background-image: var(--cirth-icon-chevron);
@@ -1012,7 +762,7 @@ select[multiple] option:checked {
1012
762
  color: var(--cirth-form-element-color);
1013
763
  }
1014
764
 
1015
- [dir="rtl"] select:not(:is([multiple], [size])) {
765
+ [dir="rtl"] select:not([multiple], [size]) {
1016
766
  background-position: center left var(--cirth-space-3);
1017
767
  }
1018
768
 
@@ -1054,25 +804,14 @@ label:has([type="checkbox"], [type="radio"]) {
1054
804
  width: fit-content;
1055
805
  }
1056
806
 
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"] {
807
+ [type="checkbox"], [type="radio"] {
1069
808
  appearance: none;
1070
809
  margin-top: -.125em;
1071
810
  border-width: var(--cirth-border-width);
1072
811
  vertical-align: middle;
1073
812
  cursor: pointer;
1074
- width: 1.25em;
1075
- height: 1.25em;
813
+ width: 1.5em;
814
+ height: 1.5em;
1076
815
  margin-inline-end: .5em;
1077
816
  }
1078
817
 
@@ -1084,109 +823,42 @@ label:has([type="checkbox"], [type="radio"]) {
1084
823
  display: none;
1085
824
  }
1086
825
 
1087
- [type="checkbox"]:checked {
826
+ [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1088
827
  --cirth-background-color: var(--cirth-primary-background);
1089
828
  --cirth-border-color: var(--cirth-primary-border);
1090
829
  background-image: var(--cirth-icon-checkbox);
1091
830
  background-position: center;
1092
831
  background-repeat: no-repeat;
1093
- background-size: .75em;
832
+ background-size: .9em;
1094
833
  }
1095
834
 
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;
835
+ [type="checkbox"] ~ label, [type="radio"] ~ label {
836
+ cursor: pointer;
837
+ margin-bottom: 0;
838
+ display: inline-block;
1103
839
  }
1104
840
 
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;
841
+ [type="checkbox"] ~ label:not(:last-of-type), [type="radio"] ~ label:not(:last-of-type) {
842
+ margin-inline-end: 1em;
1112
843
  }
1113
844
 
1114
- [type="radio"]:checked {
845
+ [type="checkbox"]:indeterminate {
1115
846
  --cirth-background-color: var(--cirth-primary-background);
1116
847
  --cirth-border-color: var(--cirth-primary-border);
1117
- background-image: var(--cirth-icon-checkbox);
848
+ background-image: var(--cirth-icon-minus);
1118
849
  background-position: center;
1119
850
  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;
851
+ background-size: .9em;
1168
852
  }
1169
853
 
1170
854
  [type="radio"] {
1171
855
  border-radius: 50%;
1172
856
  }
1173
857
 
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 {
1181
- --cirth-background-color: var(--cirth-primary-inverse);
1182
- background-image: none;
1183
- border-width: .35em;
1184
- }
1185
-
1186
- [type="radio"]:checked:focus {
858
+ [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
1187
859
  --cirth-background-color: var(--cirth-primary-inverse);
1188
860
  background-image: none;
1189
- border-width: .35em;
861
+ border-width: .42em;
1190
862
  }
1191
863
 
1192
864
  [type="checkbox"][role="switch"] {
@@ -1194,10 +866,10 @@ label:has([type="checkbox"], [type="radio"]) {
1194
866
  --cirth-color: var(--cirth-switch-color);
1195
867
  border: var(--cirth-border-width) solid var(--cirth-border-color);
1196
868
  background-color: var(--cirth-background-color);
1197
- border-radius: 1.25em;
1198
- width: 2.25em;
1199
- height: 1.25em;
1200
- line-height: 1.25em;
869
+ border-radius: 1.5em;
870
+ width: 2.7em;
871
+ height: 1.5em;
872
+ line-height: 1.5em;
1201
873
  }
1202
874
 
1203
875
  [type="checkbox"][role="switch"]:not([aria-invalid]) {
@@ -1227,130 +899,26 @@ label:has([type="checkbox"], [type="radio"]) {
1227
899
  }
1228
900
 
1229
901
  [type="checkbox"][role="switch"]:checked:before {
1230
- margin-inline-start: 1em;
902
+ margin-inline-start: 1.2em;
1231
903
  }
1232
904
 
1233
905
  [type="checkbox"][role="switch"][disabled] {
1234
906
  --cirth-background-color: var(--cirth-border-color);
1235
907
  }
1236
908
 
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 {
909
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1246
910
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
1247
911
  }
1248
912
 
1249
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked {
1250
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1251
- }
1252
-
1253
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active {
1254
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1255
- }
1256
-
1257
- [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1258
- --cirth-background-color: var(--cirth-form-element-valid-border-color);
1259
- }
1260
-
1261
- [type="checkbox"]:checked[aria-invalid="true"] {
1262
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1263
- }
1264
-
1265
- [type="checkbox"]:checked:active[aria-invalid="true"] {
1266
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1267
- }
1268
-
1269
- [type="checkbox"]:checked:focus[aria-invalid="true"] {
1270
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1271
- }
1272
-
1273
- [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
1274
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1275
- }
1276
-
1277
- [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"] {
1278
- --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1279
- }
1280
-
1281
- [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
913
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1282
914
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
1283
915
  }
1284
916
 
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 {
917
+ [type="checkbox"][aria-invalid="false"]:checked, [type="checkbox"][aria-invalid="false"]:checked:active, [type="checkbox"][aria-invalid="false"]:checked:focus, [type="radio"][aria-invalid="false"]:checked, [type="radio"][aria-invalid="false"]:checked:active, [type="radio"][aria-invalid="false"]:checked:focus, [type="checkbox"][role="switch"][aria-invalid="false"]:checked, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
1318
918
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
1319
919
  }
1320
920
 
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"] {
921
+ [type="checkbox"]:checked[aria-invalid="true"], [type="checkbox"]:checked:active[aria-invalid="true"], [type="checkbox"]:checked:focus[aria-invalid="true"], [type="radio"]:checked[aria-invalid="true"], [type="radio"]:checked:active[aria-invalid="true"], [type="radio"]:checked:focus[aria-invalid="true"], [type="checkbox"][role="switch"]:checked[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
1354
922
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
1355
923
  }
1356
924
 
@@ -1372,7 +940,7 @@ label:has([type="checkbox"], [type="radio"]) {
1372
940
  border: 0;
1373
941
  }
1374
942
 
1375
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"])):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
943
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
1376
944
  --cirth-icon-position: var(--cirth-space-3);
1377
945
  --cirth-icon-width: var(--cirth-size-4);
1378
946
  padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
@@ -1382,7 +950,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1382
950
  background-repeat: no-repeat;
1383
951
  }
1384
952
 
1385
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="time"] {
953
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
1386
954
  background-image: var(--cirth-icon-time);
1387
955
  }
1388
956
 
@@ -1422,27 +990,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1422
990
  }
1423
991
 
1424
992
  @-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"] {
993
+ [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"] {
1446
994
  padding-right: var(--cirth-form-element-spacing-horizontal);
1447
995
  background-image: none;
1448
996
  }
@@ -1473,7 +1021,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1473
1021
  }
1474
1022
 
1475
1023
  [type="file"]:focus::file-selector-button {
1476
- --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
1024
+ --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
1477
1025
  0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
1478
1026
  }
1479
1027
 
@@ -1544,12 +1092,7 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1544
1092
  margin-top: -.4375rem;
1545
1093
  }
1546
1094
 
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 {
1095
+ [type="range"]:active, [type="range"]:focus-within {
1553
1096
  --cirth-range-border-color: var(--cirth-range-active-border-color);
1554
1097
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
1555
1098
  }
@@ -1566,33 +1109,33 @@ input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))
1566
1109
  transform: scale(1.25);
1567
1110
  }
1568
1111
 
1569
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1112
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1570
1113
  background-image: var(--cirth-icon-search);
1571
- background-position: center left calc(var(--cirth-form-element-spacing-horizontal) + .125rem);
1114
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
1572
1115
  background-repeat: no-repeat;
1573
1116
  background-size: 1rem;
1574
- padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1.75rem);
1117
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1575
1118
  }
1576
1119
 
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);
1120
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1121
+ background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
1122
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
1580
1123
  }
1581
1124
 
1582
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="false"] {
1125
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
1583
1126
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
1584
1127
  }
1585
1128
 
1586
- input:not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"][aria-invalid="true"] {
1129
+ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
1587
1130
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
1588
1131
  }
1589
1132
 
1590
- [dir="rtl"] :where(input):not(:is([type="checkbox"], [type="radio"], [type="range"], [type="file"]))[type="search"] {
1591
- background-position: right 1.125rem center;
1133
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
1134
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
1592
1135
  }
1593
1136
 
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;
1137
+ [dir="rtl"] :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
1138
+ background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
1596
1139
  }
1597
1140
 
1598
1141
  details {
@@ -1693,7 +1236,7 @@ article {
1693
1236
  article > header, article > footer {
1694
1237
  margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
1695
1238
  margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
1696
- padding: calc(var(--cirth-block-spacing-vertical) * .66) var(--cirth-block-spacing-horizontal);
1239
+ padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
1697
1240
  background-color: var(--cirth-card-sectioning-background-color);
1698
1241
  }
1699
1242
 
@@ -1717,254 +1260,124 @@ article > footer {
1717
1260
  width: 100%;
1718
1261
  margin-bottom: var(--cirth-spacing);
1719
1262
  border-radius: var(--cirth-border-radius);
1720
- box-shadow: var(--cirth-group-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
1263
+ box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
1721
1264
  vertical-align: middle;
1722
1265
  transition: box-shadow var(--cirth-transition);
1723
1266
  display: inline-flex;
1724
1267
  position: relative;
1725
1268
  }
1726
1269
 
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"])) {
1270
+ [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"] > *, [role="group"] input:not([type="checkbox"], [type="radio"]), [role="group"] select {
1740
1271
  flex: auto;
1741
1272
  margin-bottom: 0;
1742
1273
  position: relative;
1743
1274
  }
1744
1275
 
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) {
1276
+ [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1758
1277
  border-top-left-radius: 0;
1759
1278
  border-bottom-left-radius: 0;
1760
1279
  margin-left: 0;
1761
1280
  }
1762
1281
 
1763
- [role="search"] > :not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] select:not(:last-child) {
1282
+ [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"] select:not(:last-child) {
1764
1283
  border-top-right-radius: 0;
1765
1284
  border-bottom-right-radius: 0;
1766
1285
  }
1767
1286
 
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) {
1774
- border-top-right-radius: 0;
1775
- border-bottom-right-radius: 0;
1776
- }
1777
-
1778
- [role="search"] > :focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] select:focus {
1287
+ [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] input:not([type="checkbox"], [type="radio"]):focus, [role="group"] select:focus {
1779
1288
  z-index: 2;
1780
1289
  }
1781
1290
 
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 {
1787
- z-index: 2;
1788
- }
1789
-
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) {
1291
+ [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [type="submit"]:not(:first-child), [role="group"] [type="reset"]:not(:first-child), [role="group"] [type="button"]:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1815
1292
  margin-left: calc(var(--cirth-border-width) * -1);
1816
1293
  }
1817
1294
 
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) {
1823
- margin-left: calc(var(--cirth-border-width) * -1);
1824
- }
1825
-
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"] {
1295
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="reset"], [role="group"] [type="button"], [role="group"] [role="button"] {
1851
1296
  width: auto;
1852
1297
  }
1853
1298
 
1854
1299
  @supports selector(:has(*)) {
1855
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1300
+ :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1856
1301
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1857
1302
  }
1858
1303
 
1859
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1860
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1861
- }
1862
-
1863
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not(:is([type="checkbox"], [type="radio"])) {
1864
- border-color: rgba(0, 0, 0, 0);
1304
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1305
+ border-color: #0000;
1865
1306
  }
1866
1307
 
1867
1308
  [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1868
- border-color: rgba(0, 0, 0, 0);
1309
+ border-color: #0000;
1869
1310
  }
1870
1311
 
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);
1312
+ [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1313
+ border-color: #0000;
1873
1314
  }
1874
1315
 
1875
1316
  [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);
1317
+ border-color: #0000;
1881
1318
  }
1882
1319
 
1883
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) {
1320
+ :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1884
1321
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1885
1322
  }
1886
1323
 
1887
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1324
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1888
1325
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1889
1326
  var(--cirth-primary-border);
1890
1327
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1891
1328
  var(--cirth-primary-hover-border);
1892
1329
  }
1893
1330
 
1894
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1331
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1895
1332
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1896
1333
  var(--cirth-primary-border);
1897
1334
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1898
1335
  var(--cirth-primary-hover-border);
1899
1336
  }
1900
1337
 
1901
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1338
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1902
1339
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1903
1340
  var(--cirth-primary-border);
1904
1341
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1905
1342
  var(--cirth-primary-hover-border);
1906
1343
  }
1907
1344
 
1908
- [role="search"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1345
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1909
1346
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1910
1347
  var(--cirth-primary-border);
1911
1348
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1912
1349
  var(--cirth-primary-hover-border);
1913
1350
  }
1914
1351
 
1915
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) button {
1352
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1916
1353
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1917
1354
  var(--cirth-primary-border);
1918
1355
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1919
1356
  var(--cirth-primary-hover-border);
1920
1357
  }
1921
1358
 
1922
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="submit"] {
1359
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1923
1360
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1924
1361
  var(--cirth-primary-border);
1925
1362
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1926
1363
  var(--cirth-primary-hover-border);
1927
1364
  }
1928
1365
 
1929
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [type="button"] {
1366
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1930
1367
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1931
1368
  var(--cirth-primary-border);
1932
1369
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1933
1370
  var(--cirth-primary-hover-border);
1934
1371
  }
1935
1372
 
1936
- [role="group"]:has(input:not(:is([type="submit"], [type="button"])):focus, select:focus) [role="button"] {
1373
+ [role="group"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1937
1374
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1938
1375
  var(--cirth-primary-border);
1939
1376
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1940
1377
  var(--cirth-primary-hover-border);
1941
1378
  }
1942
1379
 
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 {
1380
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, [role="group"] button:focus, [role="group"] [type="submit"]:focus, [role="group"] [type="reset"]:focus, [role="group"] [type="button"]:focus, [role="group"] [role="button"]:focus {
1968
1381
  box-shadow: none;
1969
1382
  }
1970
1383
  }
@@ -1979,11 +1392,11 @@ article > footer {
1979
1392
  border-bottom-right-radius: var(--cirth-radius-pill);
1980
1393
  }
1981
1394
 
1982
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)) {
1395
+ [aria-busy="true"]:not(input, select, textarea, html, form) {
1983
1396
  white-space: nowrap;
1984
1397
  }
1985
1398
 
1986
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):before {
1399
+ [aria-busy="true"]:not(input, select, textarea, html, form):before {
1987
1400
  background-image: var(--cirth-icon-loading);
1988
1401
  content: "";
1989
1402
  vertical-align: -.125em;
@@ -1994,35 +1407,19 @@ article > footer {
1994
1407
  display: inline-block;
1995
1408
  }
1996
1409
 
1997
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):not(:empty):before {
1410
+ [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
1998
1411
  margin-inline-end: calc(var(--cirth-spacing) * .5);
1999
1412
  }
2000
1413
 
2001
- [aria-busy="true"]:not(:is(input, select, textarea, html, form)):empty {
1414
+ [aria-busy="true"]:not(input, select, textarea, html, form):empty {
2002
1415
  text-align: center;
2003
1416
  }
2004
1417
 
2005
- button[aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
1418
+ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][aria-busy="true"], [type="reset"][aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
2006
1419
  pointer-events: none;
2007
1420
  }
2008
1421
 
2009
- [type="submit"][aria-busy="true"] {
2010
- pointer-events: none;
2011
- }
2012
-
2013
- [type="button"][aria-busy="true"] {
2014
- pointer-events: none;
2015
- }
2016
-
2017
- [type="reset"][aria-busy="true"] {
2018
- pointer-events: none;
2019
- }
2020
-
2021
- :root {
2022
- --cirth-scrollbar-width: 0px;
2023
- }
2024
-
2025
- :host {
1422
+ :root, :host {
2026
1423
  --cirth-scrollbar-width: 0px;
2027
1424
  }
2028
1425
 
@@ -2052,13 +1449,13 @@ dialog > article {
2052
1449
  overflow: auto;
2053
1450
  }
2054
1451
 
2055
- @media (width >= 576px) {
1452
+ @media (min-width: 576px) {
2056
1453
  dialog > article {
2057
1454
  max-width: 510px;
2058
1455
  }
2059
1456
  }
2060
1457
 
2061
- @media (width >= 768px) {
1458
+ @media (min-width: 768px) {
2062
1459
  dialog > article {
2063
1460
  max-width: 700px;
2064
1461
  }
@@ -2097,7 +1494,7 @@ dialog > article :is(a, button)[rel="prev"] {
2097
1494
  background-size: auto var(--cirth-size-4);
2098
1495
  opacity: .5;
2099
1496
  transition: opacity var(--cirth-transition);
2100
- background-color: rgba(0, 0, 0, 0);
1497
+ background-color: #0000;
2101
1498
  background-repeat: no-repeat;
2102
1499
  border: none;
2103
1500
  margin-left: auto;
@@ -2158,23 +1555,7 @@ nav li :where(a, [role="link"]):not(:hover) {
2158
1555
  text-decoration: none;
2159
1556
  }
2160
1557
 
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"])) {
1558
+ nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
2178
1559
  height: auto;
2179
1560
  margin-right: inherit;
2180
1561
  margin-bottom: 0;
@@ -2211,7 +1592,7 @@ nav[aria-label="breadcrumb"] ul li:not(:last-child):after {
2211
1592
  nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
2212
1593
  color: inherit;
2213
1594
  pointer-events: none;
2214
- background-color: rgba(0, 0, 0, 0);
1595
+ background-color: #0000;
2215
1596
  text-decoration: none;
2216
1597
  }
2217
1598
 
@@ -2241,10 +1622,10 @@ progress {
2241
1622
  width: 100%;
2242
1623
  height: var(--cirth-size-2);
2243
1624
  margin-bottom: calc(var(--cirth-spacing) * .5);
1625
+ border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
2244
1626
  border-radius: var(--cirth-border-radius);
2245
1627
  background-color: var(--cirth-progress-background-color);
2246
1628
  color: var(--cirth-progress-color);
2247
- border: 0;
2248
1629
  display: inline-block;
2249
1630
  overflow: hidden;
2250
1631
  }
@@ -2270,11 +1651,11 @@ progress::-moz-progress-bar {
2270
1651
  }
2271
1652
 
2272
1653
  progress:indeterminate[value]::-webkit-progress-value {
2273
- background-color: rgba(0, 0, 0, 0);
1654
+ background-color: #0000;
2274
1655
  }
2275
1656
 
2276
1657
  progress:indeterminate::-moz-progress-bar {
2277
- background-color: rgba(0, 0, 0, 0);
1658
+ background-color: #0000;
2278
1659
  }
2279
1660
 
2280
1661
  [dir="rtl"] progress:indeterminate {
@@ -2296,7 +1677,7 @@ progress::-moz-progress-bar {
2296
1677
  position: relative;
2297
1678
  }
2298
1679
 
2299
- [data-tooltip]:not(:is(a, button, input, [role="button"])) {
1680
+ [data-tooltip]:not(a, button, input, [role="button"]) {
2300
1681
  border-bottom: var(--cirth-border-width-1) dotted;
2301
1682
  cursor: help;
2302
1683
  text-decoration: none;
@@ -2328,10 +1709,10 @@ progress::-moz-progress-bar {
2328
1709
  [data-tooltip][data-placement="top"]:after, [data-tooltip]:after {
2329
1710
  content: "";
2330
1711
  color: var(--cirth-tooltip-background-color);
2331
- background-color: rgba(0, 0, 0, 0);
1712
+ background-color: #0000;
2332
1713
  border-top: .3rem solid;
2333
- border-left: .3rem solid rgba(0, 0, 0, 0);
2334
- border-right: .3rem solid rgba(0, 0, 0, 0);
1714
+ border-left: .3rem solid #0000;
1715
+ border-right: .3rem solid #0000;
2335
1716
  border-radius: 0;
2336
1717
  padding: 0;
2337
1718
  transform: translate(-50%);
@@ -2344,7 +1725,7 @@ progress::-moz-progress-bar {
2344
1725
  }
2345
1726
 
2346
1727
  [data-tooltip][data-placement="bottom"]:after {
2347
- border: .3rem solid rgba(0, 0, 0, 0);
1728
+ border: .3rem solid #0000;
2348
1729
  border-bottom-color: currentColor;
2349
1730
  transform: translate(-50%, -.3rem);
2350
1731
  }
@@ -2355,7 +1736,7 @@ progress::-moz-progress-bar {
2355
1736
  }
2356
1737
 
2357
1738
  [data-tooltip][data-placement="left"]:after {
2358
- border: .3rem solid rgba(0, 0, 0, 0);
1739
+ border: .3rem solid #0000;
2359
1740
  border-left-color: currentColor;
2360
1741
  transform: translate(.3rem, -50%);
2361
1742
  }
@@ -2366,7 +1747,7 @@ progress::-moz-progress-bar {
2366
1747
  }
2367
1748
 
2368
1749
  [data-tooltip][data-placement="right"]:after {
2369
- border: .3rem solid rgba(0, 0, 0, 0);
1750
+ border: .3rem solid #0000;
2370
1751
  border-right-color: currentColor;
2371
1752
  transform: translate(-.3rem, -50%);
2372
1753
  }
@@ -2483,128 +1864,18 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2483
1864
  }
2484
1865
  }
2485
1866
 
2486
- :root {
2487
- --cirth-color-black: #000;
2488
- --cirth-color-white: #fff;
2489
- --cirth-color-transparent: transparent;
2490
- --cirth-color-current: currentColor;
2491
- --cirth-font-family-ui: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2492
- "Helvetica Neue", sans-serif;
2493
- --cirth-font-family-sans: var(--cirth-font-family-ui), "Apple Color Emoji", "Segoe UI Emoji",
2494
- "Segoe UI Symbol", "Noto Color Emoji";
2495
- --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2496
- --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2497
- monospace;
2498
- --cirth-font-family-display: var(--cirth-font-family-sans);
2499
- --cirth-font-size-xs: .75rem;
2500
- --cirth-font-size-sm: .875rem;
2501
- --cirth-font-size-md: 1rem;
2502
- --cirth-font-size-lg: 1.125rem;
2503
- --cirth-font-size-xl: 1.25rem;
2504
- --cirth-font-size-2xl: 1.425rem;
2505
- --cirth-font-size-3xl: 1.6rem;
2506
- --cirth-font-size-4xl: 1.8rem;
2507
- --cirth-font-size-5xl: 2rem;
2508
- --cirth-font-size-6xl: 2.3rem;
2509
- --cirth-font-weight-light: 300;
2510
- --cirth-font-weight-regular: 400;
2511
- --cirth-font-weight-medium: 500;
2512
- --cirth-font-weight-semibold: 600;
2513
- --cirth-font-weight-bold: 700;
2514
- --cirth-line-height-none: 1;
2515
- --cirth-line-height-tight: 1.125;
2516
- --cirth-line-height-snug: 1.25;
2517
- --cirth-line-height-normal: 1.5;
2518
- --cirth-line-height-relaxed: 1.625;
2519
- --cirth-line-height-loose: 2;
2520
- --cirth-letter-spacing-tight: 0;
2521
- --cirth-letter-spacing-normal: 0;
2522
- --cirth-letter-spacing-wide: .025em;
2523
- --cirth-space-0: 0;
2524
- --cirth-space-1: .25rem;
2525
- --cirth-space-2: .5rem;
2526
- --cirth-space-3: .75rem;
2527
- --cirth-space-4: 1rem;
2528
- --cirth-space-5: 1.25rem;
2529
- --cirth-space-6: 1.5rem;
2530
- --cirth-space-8: 2rem;
2531
- --cirth-space-10: 2.5rem;
2532
- --cirth-space-12: 3rem;
2533
- --cirth-space-16: 4rem;
2534
- --cirth-space-20: 5rem;
2535
- --cirth-space-24: 6rem;
2536
- --cirth-size-0: 0;
2537
- --cirth-size-1: .25rem;
2538
- --cirth-size-2: .5rem;
2539
- --cirth-size-3: .75rem;
2540
- --cirth-size-4: 1rem;
2541
- --cirth-size-5: 1.25rem;
2542
- --cirth-size-6: 1.5rem;
2543
- --cirth-size-8: 2rem;
2544
- --cirth-size-10: 2.5rem;
2545
- --cirth-size-12: 3rem;
2546
- --cirth-size-16: 4rem;
2547
- --cirth-size-20: 5rem;
2548
- --cirth-size-24: 6rem;
2549
- --cirth-radius-none: 0;
2550
- --cirth-radius-xs: .125rem;
2551
- --cirth-radius-sm: .25rem;
2552
- --cirth-radius-md: .375rem;
2553
- --cirth-radius-lg: .5rem;
2554
- --cirth-radius-xl: .75rem;
2555
- --cirth-radius-2xl: 1rem;
2556
- --cirth-radius-pill: 9999px;
2557
- --cirth-border-width-0: 0;
2558
- --cirth-border-width-1: .0625rem;
2559
- --cirth-border-width-2: .125rem;
2560
- --cirth-border-width-4: .25rem;
2561
- --cirth-outline-width-1: .0625rem;
2562
- --cirth-outline-width-2: .125rem;
2563
- --cirth-outline-width-4: .25rem;
2564
- --cirth-shadow-none: none;
2565
- --cirth-shadow-xs: 0 .0625rem .125rem rgba(0, 0, 0, .05);
2566
- --cirth-shadow-sm: 0 .0625rem .1875rem rgba(0, 0, 0, .1),
2567
- 0 .0625rem .125rem rgba(0, 0, 0, .06);
2568
- --cirth-shadow-md: 0 .25rem .375rem rgba(0, 0, 0, .07),
2569
- 0 .125rem .25rem rgba(0, 0, 0, .06);
2570
- --cirth-shadow-lg: 0 .625rem .9375rem rgba(0, 0, 0, .1),
2571
- 0 .25rem .375rem rgba(0, 0, 0, .05);
2572
- --cirth-shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, .1),
2573
- 0 .625rem .625rem rgba(0, 0, 0, .04);
2574
- --cirth-shadow-inner: inset 0 .125rem .25rem rgba(0, 0, 0, .06);
2575
- --cirth-duration-instant: 0s;
2576
- --cirth-duration-fast: .1s;
2577
- --cirth-duration-normal: .2s;
2578
- --cirth-duration-slow: .3s;
2579
- --cirth-duration-slower: .5s;
2580
- --cirth-ease-linear: linear;
2581
- --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
2582
- --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2583
- --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2584
- --cirth-opacity-disabled: .5;
2585
- --cirth-opacity-muted: .72;
2586
- --cirth-opacity-overlay: .75;
2587
- --cirth-z-index-dropdown: 1000;
2588
- --cirth-z-index-sticky: 1020;
2589
- --cirth-z-index-fixed: 1030;
2590
- --cirth-z-index-modal-backdrop: 1040;
2591
- --cirth-z-index-modal: 1050;
2592
- --cirth-z-index-tooltip: 1070;
2593
- }
2594
-
2595
- :host {
1867
+ :root, :host {
2596
1868
  --cirth-color-black: #000;
2597
1869
  --cirth-color-white: #fff;
2598
1870
  --cirth-color-transparent: transparent;
2599
1871
  --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";
1872
+ --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1873
+ --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
1874
+ "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2604
1875
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2605
1876
  --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);
1877
+ monospace, var(--cirth-font-family-emoji);
1878
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2608
1879
  --cirth-font-size-xs: .75rem;
2609
1880
  --cirth-font-size-sm: .875rem;
2610
1881
  --cirth-font-size-md: 1rem;
@@ -2620,15 +1891,14 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2620
1891
  --cirth-font-weight-medium: 500;
2621
1892
  --cirth-font-weight-semibold: 600;
2622
1893
  --cirth-font-weight-bold: 700;
1894
+ --cirth-letter-spacing-tight: -.02em;
1895
+ --cirth-letter-spacing-snug: -.01em;
2623
1896
  --cirth-line-height-none: 1;
2624
1897
  --cirth-line-height-tight: 1.125;
2625
1898
  --cirth-line-height-snug: 1.25;
2626
1899
  --cirth-line-height-normal: 1.5;
2627
1900
  --cirth-line-height-relaxed: 1.625;
2628
1901
  --cirth-line-height-loose: 2;
2629
- --cirth-letter-spacing-tight: 0;
2630
- --cirth-letter-spacing-normal: 0;
2631
- --cirth-letter-spacing-wide: .025em;
2632
1902
  --cirth-space-0: 0;
2633
1903
  --cirth-space-1: .25rem;
2634
1904
  --cirth-space-2: .5rem;
@@ -2670,17 +1940,6 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2670
1940
  --cirth-outline-width-1: .0625rem;
2671
1941
  --cirth-outline-width-2: .125rem;
2672
1942
  --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
1943
  --cirth-duration-instant: 0s;
2685
1944
  --cirth-duration-fast: .1s;
2686
1945
  --cirth-duration-normal: .2s;
@@ -2699,74 +1958,28 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2699
1958
  --cirth-z-index-modal-backdrop: 1040;
2700
1959
  --cirth-z-index-modal: 1050;
2701
1960
  --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);
1961
+ --cirth-font-family: var(--cirth-font-family-sans);
2754
1962
  --cirth-line-height: var(--cirth-line-height-normal);
2755
1963
  --cirth-font-weight: var(--cirth-font-weight-regular);
2756
1964
  --cirth-font-size: 100%;
2757
- --cirth-text-underline-offset: .1rem;
2758
- --cirth-border-radius: var(--cirth-radius-sm);
1965
+ --cirth-text-underline-offset: .15em;
1966
+ --cirth-border-radius: var(--cirth-radius-lg);
1967
+ --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
1968
+ --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
1969
+ var(--cirth-radius-sm));
1970
+ --cirth-code-border-radius: min(var(--cirth-border-radius),
1971
+ var(--cirth-radius-sm));
2759
1972
  --cirth-border-width: var(--cirth-border-width-1);
2760
1973
  --cirth-outline-width: var(--cirth-outline-width-2);
2761
- --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-in-out);
1974
+ --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2762
1975
  --cirth-spacing: var(--cirth-space-4);
2763
1976
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
2764
1977
  --cirth-block-spacing-vertical: var(--cirth-spacing);
2765
1978
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
2766
- --cirth-form-element-spacing-vertical: var(--cirth-space-3);
1979
+ --cirth-form-element-spacing-vertical: var(--cirth-space-2);
2767
1980
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
2768
1981
  --cirth-form-label-font-weight: var(--cirth-font-weight);
2769
- --cirth-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
1982
+ --cirth-group-box-shadow: 0 0 0 #0000;
2770
1983
  --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
2771
1984
  var(--cirth-primary-focus);
2772
1985
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
@@ -2779,62 +1992,12 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
2779
1992
  --cirth-nav-breadcrumb-divider: ">";
2780
1993
  --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2781
1994
  --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
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
- }
1995
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
1996
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
1997
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
1998
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
1999
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 146, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
2000
+ --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 146, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
2838
2001
  }
2839
2002
 
2840
2003
  a {
@@ -2845,44 +2008,57 @@ small {
2845
2008
  --cirth-font-size: .875em;
2846
2009
  }
2847
2010
 
2848
- h1, h2, h3, h4, h5, h6 {
2011
+ h1, h2, h3 {
2849
2012
  --cirth-font-weight: var(--cirth-font-weight-bold);
2850
2013
  }
2851
2014
 
2015
+ h4, h5, h6 {
2016
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2017
+ }
2018
+
2852
2019
  h1 {
2853
- --cirth-font-size: var(--cirth-font-size-5xl);
2020
+ --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2854
2021
  --cirth-line-height: var(--cirth-line-height-tight);
2022
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2855
2023
  --cirth-typography-spacing-top: var(--cirth-space-12);
2856
2024
  }
2857
2025
 
2858
2026
  h2 {
2859
- --cirth-font-size: 1.75rem;
2027
+ --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2860
2028
  --cirth-line-height: 1.15;
2861
- --cirth-typography-spacing-top: 2.625rem;
2029
+ --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2030
+ --cirth-typography-spacing-top: var(--cirth-space-12);
2862
2031
  }
2863
2032
 
2864
2033
  h3 {
2865
- --cirth-font-size: 1.5rem;
2866
- --cirth-line-height: 1.175;
2867
- --cirth-typography-spacing-top: 2.25rem;
2034
+ --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2035
+ --cirth-line-height: 1.2;
2036
+ --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2037
+ --cirth-typography-spacing-top: var(--cirth-space-10);
2868
2038
  }
2869
2039
 
2870
2040
  h4 {
2871
2041
  --cirth-font-size: var(--cirth-font-size-xl);
2872
- --cirth-line-height: 1.2;
2873
- --cirth-typography-spacing-top: 1.874rem;
2042
+ --cirth-line-height: var(--cirth-line-height-snug);
2043
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2874
2044
  }
2875
2045
 
2876
2046
  h5 {
2877
2047
  --cirth-font-size: var(--cirth-font-size-lg);
2878
- --cirth-line-height: 1.225;
2879
- --cirth-typography-spacing-top: 1.6875rem;
2048
+ --cirth-line-height: var(--cirth-line-height-snug);
2049
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2880
2050
  }
2881
2051
 
2882
2052
  h6 {
2883
2053
  --cirth-font-size: var(--cirth-font-size-md);
2884
2054
  --cirth-line-height: var(--cirth-line-height-snug);
2885
- --cirth-typography-spacing-top: var(--cirth-space-6);
2055
+ --cirth-typography-spacing-top: var(--cirth-space-8);
2056
+ }
2057
+
2058
+ article {
2059
+ --cirth-border-radius: var(--cirth-card-border-radius);
2060
+ --cirth-block-spacing-vertical: var(--cirth-space-6);
2061
+ --cirth-block-spacing-horizontal: var(--cirth-space-6);
2886
2062
  }
2887
2063
 
2888
2064
  thead th, thead td, tfoot th, tfoot td {
@@ -2891,33 +2067,44 @@ thead th, thead td, tfoot th, tfoot td {
2891
2067
  }
2892
2068
 
2893
2069
  pre, code, kbd, samp {
2894
- --cirth-font-family: var(--cirth-font-family-monospace);
2070
+ --cirth-font-family: var(--cirth-font-family-mono);
2895
2071
  }
2896
2072
 
2897
- kbd {
2898
- --cirth-font-weight: bolder;
2073
+ code, kbd, samp {
2074
+ --cirth-border-radius: var(--cirth-code-border-radius);
2899
2075
  }
2900
2076
 
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);
2077
+ kbd {
2078
+ --cirth-font-weight: bolder;
2903
2079
  }
2904
2080
 
2905
- :where(select, textarea) {
2081
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2906
2082
  --cirth-outline-width: var(--cirth-outline-width-1);
2083
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2907
2084
  }
2908
2085
 
2909
2086
  [type="search"] {
2910
2087
  --cirth-border-radius: var(--cirth-radius-pill);
2911
2088
  }
2912
2089
 
2913
- [type="checkbox"] {
2914
- --cirth-border-width: var(--cirth-border-width-2);
2090
+ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2091
+ --cirth-font-weight: var(--cirth-font-weight-semibold);
2092
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2093
+ --cirth-form-element-spacing-horizontal: var(--cirth-space-5);
2915
2094
  }
2916
2095
 
2917
- [type="radio"] {
2096
+ [type="file"] {
2097
+ --cirth-line-height: var(--cirth-line-height-relaxed);
2098
+ }
2099
+
2100
+ [type="checkbox"], [type="radio"] {
2918
2101
  --cirth-border-width: var(--cirth-border-width-2);
2919
2102
  }
2920
2103
 
2104
+ [type="checkbox"] {
2105
+ --cirth-border-radius: var(--cirth-checkbox-border-radius);
2106
+ }
2107
+
2921
2108
  [type="checkbox"][role="switch"] {
2922
2109
  --cirth-border-width: .1875rem;
2923
2110
  }
@@ -2926,217 +2113,95 @@ input:not(:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"
2926
2113
  --cirth-border-radius: var(--cirth-radius-pill);
2927
2114
  }
2928
2115
 
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"] {
2938
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2939
- }
2940
-
2941
- [role="group"] [type="submit"] {
2942
- --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2943
- }
2944
-
2945
- [role="group"] [type="button"] {
2116
+ [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="button"], [role="group"] [role="button"] {
2946
2117
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2947
2118
  }
2948
2119
 
2949
- details summary[role="button"]:after {
2120
+ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2950
2121
  filter: brightness(0) invert();
2951
2122
  }
2952
2123
 
2953
- [aria-busy="true"]:not(:is(input, select, textarea)):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2954
- filter: brightness(0) invert();
2955
- }
2956
-
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"])) {
2124
+ [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
3060
2125
  --lightningcss-light: initial;
3061
2126
  --lightningcss-dark: ;
3062
2127
  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;
2128
+ --cirth-background-color: oklch(100% 0 0);
2129
+ --cirth-color: oklch(35.3% .021 264);
2130
+ --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2131
+ --cirth-muted-color: oklch(52.7% .032 264);
2132
+ --cirth-muted-border-color: oklch(93.85% .003 264);
2133
+ --cirth-primary: oklch(52.7% .097 69.35);
2134
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3070
2135
  --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;
2136
+ --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2137
+ --cirth-primary-hover: oklch(44% .081 69.35);
2138
+ --cirth-primary-hover-background: oklch(48.3% .089 69.35);
3074
2139
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3075
2140
  --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;
2141
+ --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2142
+ --cirth-primary-inverse: oklch(100% 0 0);
2143
+ --cirth-secondary: oklch(52.7% .032 264);
2144
+ --cirth-secondary-background: oklch(48.3% .03 264);
3080
2145
  --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;
2146
+ --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2147
+ --cirth-secondary-hover: oklch(44% .028 264);
2148
+ --cirth-secondary-hover-background: oklch(44% .028 264);
3084
2149
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3085
2150
  --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;
2151
+ --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2152
+ --cirth-secondary-inverse: oklch(100% 0 0);
2153
+ --cirth-contrast: oklch(22.3% .006 264);
2154
+ --cirth-contrast-background: oklch(22.3% .006 264);
3090
2155
  --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;
2156
+ --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2157
+ --cirth-contrast-hover: oklch(0% 0 0);
2158
+ --cirth-contrast-hover-background: oklch(0% 0 0);
3094
2159
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3095
2160
  --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;
2161
+ --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2162
+ --cirth-contrast-inverse: oklch(100% 0 0);
2163
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(65.7% .03 264 / .01698), .0335rem .067rem .402rem oklch(65.7% .03 264 / .024), .0625rem .125rem .75rem oklch(65.7% .03 264 / .03), .1125rem .225rem 1.35rem oklch(65.7% .03 264 / .036), .2085rem .417rem 2.502rem oklch(65.7% .03 264 / .04302), .5rem 1rem 6rem oklch(65.7% .03 264 / .06), 0 0 0 .0625rem oklch(65.7% .03 264 / .015);
2164
+ --cirth-h1-color: oklch(31% .016 264);
2165
+ --cirth-h2-color: oklch(35.3% .021 264);
2166
+ --cirth-h3-color: oklch(39.7% .025 264);
2167
+ --cirth-h4-color: oklch(44% .028 264);
2168
+ --cirth-h5-color: oklch(48.3% .03 264);
2169
+ --cirth-h6-color: oklch(52.7% .032 264);
2170
+ --cirth-mark-background-color: oklch(93% .05 78);
2171
+ --cirth-mark-color: oklch(18% 0 264);
2172
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2173
+ --cirth-del-color: oklch(35.3% .122 29.73);
3109
2174
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3110
2175
  --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);
2176
+ --cirth-button-box-shadow: 0 0 0 #0000;
2177
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3113
2178
  --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;
2179
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2180
+ --cirth-code-background-color: oklch(97% 0 288);
2181
+ --cirth-code-color: oklch(52.7% .032 264);
3117
2182
  --cirth-code-kbd-background-color: var(--cirth-color);
3118
2183
  --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;
2184
+ --cirth-form-element-background-color: oklch(99% 0 336);
2185
+ --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2186
+ --cirth-form-element-border-color: oklch(65.7% .03 264);
2187
+ --cirth-form-element-color: oklch(26.7% .011 264);
3123
2188
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
3124
- --cirth-form-element-active-background-color: #fff;
2189
+ --cirth-form-element-active-background-color: oklch(100% 0 0);
3125
2190
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3126
2191
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3127
2192
  --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;
2193
+ --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2194
+ --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
3130
2195
  --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;
2196
+ --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2197
+ --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
3133
2198
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3134
- --cirth-switch-background-color: #bfc7d9;
2199
+ --cirth-switch-background-color: oklch(61.3% .032 264);
3135
2200
  --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;
2201
+ --cirth-switch-color: oklch(100% 0 0);
2202
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2203
+ --cirth-range-border-color: oklch(91.7% .006 264);
2204
+ --cirth-range-active-border-color: oklch(83% .016 264);
3140
2205
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3141
2206
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3142
2207
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3147,213 +2212,104 @@ details summary[role="button"]:after {
3147
2212
  --cirth-card-background-color: var(--cirth-background-color);
3148
2213
  --cirth-card-border-color: var(--cirth-muted-border-color);
3149
2214
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3150
- --cirth-card-sectioning-background-color: #fbfcfc;
2215
+ --cirth-card-sectioning-background-color: oklch(99% 0 336);
3151
2216
  --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;
2217
+ --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2218
+ --cirth-progress-background-color: oklch(91.7% .006 264);
2219
+ --cirth-progress-border-color: oklch(65.7% .03 264);
3154
2220
  --cirth-progress-color: var(--cirth-primary-background);
3155
2221
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3156
2222
  --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);
2223
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(40, 124, 87)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2224
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3163
2225
  }
3164
2226
 
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"]) {
2227
+ [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3170
2228
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3171
2229
  }
3172
2230
 
3173
2231
  @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])) {
2232
+ :root:not([data-theme]), :host(:not([data-theme])) {
3277
2233
  --lightningcss-light: ;
3278
2234
  --lightningcss-dark: initial;
3279
2235
  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;
2236
+ --cirth-background-color: oklch(20.15% .003 264);
2237
+ --cirth-color: oklch(83% .016 264);
2238
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2239
+ --cirth-muted-color: oklch(61.3% .032 264);
2240
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2241
+ --cirth-primary: oklch(70% .129 69.35);
2242
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3287
2243
  --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;
2244
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2245
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2246
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
3291
2247
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3292
2248
  --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;
2249
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2250
+ --cirth-primary-inverse: oklch(100% 0 0);
2251
+ --cirth-secondary: oklch(70% .028 264);
2252
+ --cirth-secondary-background: oklch(48.3% .03 264);
3297
2253
  --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;
2254
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2255
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2256
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
3301
2257
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3302
2258
  --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;
2259
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2260
+ --cirth-secondary-inverse: oklch(100% 0 0);
2261
+ --cirth-contrast: oklch(91.7% .006 264);
2262
+ --cirth-contrast-background: oklch(96% 0 264);
3307
2263
  --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;
2264
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2265
+ --cirth-contrast-hover: oklch(100% 0 0);
2266
+ --cirth-contrast-hover-background: oklch(100% 0 0);
3311
2267
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3312
2268
  --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;
2269
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2270
+ --cirth-contrast-inverse: oklch(0% 0 0);
2271
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2272
+ --cirth-h1-color: oklch(96% 0 264);
2273
+ --cirth-h2-color: oklch(91.7% .006 264);
2274
+ --cirth-h3-color: oklch(83% .016 264);
2275
+ --cirth-h4-color: oklch(78.7% .021 264);
2276
+ --cirth-h5-color: oklch(74.3% .025 264);
2277
+ --cirth-h6-color: oklch(65.7% .03 264);
2278
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2279
+ --cirth-mark-color: oklch(100% 0 0);
2280
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2281
+ --cirth-del-color: oklch(78.7% .106 29.73);
3326
2282
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3327
2283
  --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);
2284
+ --cirth-button-box-shadow: 0 0 0 #0000;
2285
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3330
2286
  --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;
2287
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2288
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2289
+ --cirth-code-color: oklch(65.7% .03 264);
3334
2290
  --cirth-code-kbd-background-color: var(--cirth-color);
3335
2291
  --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;
2292
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2293
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2294
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2295
+ --cirth-form-element-color: oklch(91.7% .006 264);
2296
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2297
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
3342
2298
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3343
2299
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3344
2300
  --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;
2301
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2302
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
3347
2303
  --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;
2304
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2305
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
3350
2306
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3351
- --cirth-switch-background-color: #333c4e;
2307
+ --cirth-switch-background-color: oklch(52.7% .032 264);
3352
2308
  --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;
2309
+ --cirth-switch-color: oklch(100% 0 0);
2310
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2311
+ --cirth-range-border-color: oklch(26.7% .011 264);
2312
+ --cirth-range-active-border-color: oklch(31% .016 264);
3357
2313
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3358
2314
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3359
2315
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3361,25 +2317,22 @@ details summary[role="button"]:after {
3361
2317
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3362
2318
  --cirth-accordion-close-summary-color: var(--cirth-color);
3363
2319
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3364
- --cirth-card-background-color: #181c25;
2320
+ --cirth-card-background-color: oklch(22.3% .006 264);
3365
2321
  --cirth-card-border-color: var(--cirth-card-background-color);
3366
2322
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3367
- --cirth-card-sectioning-background-color: #1a1f28;
2323
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
3368
2324
  --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);
2325
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2326
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2327
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2328
+ --cirth-progress-color: oklch(61.3% .113 69.35);
3372
2329
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3373
2330
  --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);
2331
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2332
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3380
2333
  }
3381
2334
 
3382
- :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2335
+ :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3383
2336
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3384
2337
  }
3385
2338
  }
@@ -3388,83 +2341,83 @@ details summary[role="button"]:after {
3388
2341
  --lightningcss-light: ;
3389
2342
  --lightningcss-dark: initial;
3390
2343
  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;
2344
+ --cirth-background-color: oklch(20.15% .003 264);
2345
+ --cirth-color: oklch(83% .016 264);
2346
+ --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2347
+ --cirth-muted-color: oklch(61.3% .032 264);
2348
+ --cirth-muted-border-color: oklch(26.7% .011 264);
2349
+ --cirth-primary: oklch(70% .129 69.35);
2350
+ --cirth-primary-background: oklch(52.7% .097 69.35);
3398
2351
  --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;
2352
+ --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2353
+ --cirth-primary-hover: oklch(78.7% .146 69.35);
2354
+ --cirth-primary-hover-background: oklch(57% .105 69.35);
3402
2355
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
3403
2356
  --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;
2357
+ --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2358
+ --cirth-primary-inverse: oklch(100% 0 0);
2359
+ --cirth-secondary: oklch(70% .028 264);
2360
+ --cirth-secondary-background: oklch(48.3% .03 264);
3408
2361
  --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;
2362
+ --cirth-secondary-underline: oklch(70% .028 264 / .5);
2363
+ --cirth-secondary-hover: oklch(78.7% .021 264);
2364
+ --cirth-secondary-hover-background: oklch(52.7% .032 264);
3412
2365
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
3413
2366
  --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;
2367
+ --cirth-secondary-focus: oklch(70% .028 264 / .7);
2368
+ --cirth-secondary-inverse: oklch(100% 0 0);
2369
+ --cirth-contrast: oklch(91.7% .006 264);
2370
+ --cirth-contrast-background: oklch(96% 0 264);
3418
2371
  --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;
2372
+ --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2373
+ --cirth-contrast-hover: oklch(100% 0 0);
2374
+ --cirth-contrast-hover-background: oklch(100% 0 0);
3422
2375
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
3423
2376
  --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;
2377
+ --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2378
+ --cirth-contrast-inverse: oklch(0% 0 0);
2379
+ --cirth-box-shadow: .0145rem .029rem .174rem oklch(9% 0 312 / .01698), .0335rem .067rem .402rem oklch(9% 0 312 / .024), .0625rem .125rem .75rem oklch(9% 0 312 / .03), .1125rem .225rem 1.35rem oklch(9% 0 312 / .036), .2085rem .417rem 2.502rem oklch(9% 0 312 / .04302), .5rem 1rem 6rem oklch(9% 0 312 / .06), 0 0 0 .0625rem oklch(9% 0 312 / .015);
2380
+ --cirth-h1-color: oklch(96% 0 264);
2381
+ --cirth-h2-color: oklch(91.7% .006 264);
2382
+ --cirth-h3-color: oklch(83% .016 264);
2383
+ --cirth-h4-color: oklch(78.7% .021 264);
2384
+ --cirth-h5-color: oklch(74.3% .025 264);
2385
+ --cirth-h6-color: oklch(65.7% .03 264);
2386
+ --cirth-mark-background-color: oklch(35.3% .063 78);
2387
+ --cirth-mark-color: oklch(100% 0 0);
2388
+ --cirth-ins-color: oklch(78.7% .15 160.59);
2389
+ --cirth-del-color: oklch(78.7% .106 29.73);
3437
2390
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
3438
2391
  --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);
2392
+ --cirth-button-box-shadow: 0 0 0 #0000;
2393
+ --cirth-button-hover-box-shadow: 0 0 0 #0000;
3441
2394
  --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;
2395
+ --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2396
+ --cirth-code-background-color: oklch(23.4% .00725 264);
2397
+ --cirth-code-color: oklch(65.7% .03 264);
3445
2398
  --cirth-code-kbd-background-color: var(--cirth-color);
3446
2399
  --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;
2400
+ --cirth-form-element-background-color: oklch(24.5% .0085 264);
2401
+ --cirth-form-element-selected-background-color: oklch(31% .016 264);
2402
+ --cirth-form-element-border-color: oklch(52.7% .032 264);
2403
+ --cirth-form-element-color: oklch(91.7% .006 264);
2404
+ --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2405
+ --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
3453
2406
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
3454
2407
  --cirth-form-element-focus-color: var(--cirth-primary-border);
3455
2408
  --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;
2409
+ --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2410
+ --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
3458
2411
  --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;
2412
+ --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2413
+ --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
3461
2414
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
3462
- --cirth-switch-background-color: #333c4e;
2415
+ --cirth-switch-background-color: oklch(52.7% .032 264);
3463
2416
  --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;
2417
+ --cirth-switch-color: oklch(100% 0 0);
2418
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2419
+ --cirth-range-border-color: oklch(26.7% .011 264);
2420
+ --cirth-range-active-border-color: oklch(31% .016 264);
3468
2421
  --cirth-range-thumb-border-color: var(--cirth-background-color);
3469
2422
  --cirth-range-thumb-color: var(--cirth-secondary-background);
3470
2423
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
@@ -3472,36 +2425,25 @@ details summary[role="button"]:after {
3472
2425
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
3473
2426
  --cirth-accordion-close-summary-color: var(--cirth-color);
3474
2427
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
3475
- --cirth-card-background-color: #181c25;
2428
+ --cirth-card-background-color: oklch(22.3% .006 264);
3476
2429
  --cirth-card-border-color: var(--cirth-card-background-color);
3477
2430
  --cirth-card-box-shadow: var(--cirth-box-shadow);
3478
- --cirth-card-sectioning-background-color: #1a1f28;
2431
+ --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
3479
2432
  --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);
2433
+ --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2434
+ --cirth-progress-background-color: oklch(26.7% .011 264);
2435
+ --cirth-progress-border-color: oklch(52.7% .032 264);
2436
+ --cirth-progress-color: oklch(61.3% .113 69.35);
3483
2437
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
3484
2438
  --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");
2439
+ --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(75, 215, 153)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2440
+ --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
3487
2441
  }
3488
2442
 
3489
2443
  [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
3490
2444
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
3491
2445
  }
3492
2446
 
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"] {
2447
+ progress, [type="checkbox"], [type="radio"], [type="range"] {
3506
2448
  accent-color: var(--cirth-primary);
3507
2449
  }