@cirthcss/cirth 0.12.0 → 0.14.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.
package/dist/cirth.css CHANGED
@@ -297,7 +297,7 @@ button {
297
297
  }
298
298
 
299
299
  button, [type="submit"], [type="reset"], [type="button"] {
300
- -webkit-appearance: button;
300
+ appearance: auto;
301
301
  }
302
302
 
303
303
  button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
@@ -306,7 +306,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
306
306
  --cirth-color: var(--cirth-primary-inverse);
307
307
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
308
308
  max-width: 100%;
309
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
309
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
310
310
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
311
311
  border: var(--cirth-border-width) solid var(--cirth-border-color);
312
312
  border-radius: var(--cirth-border-radius);
@@ -331,7 +331,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
331
331
  --cirth-color: var(--cirth-primary-inverse);
332
332
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
333
333
  max-width: 100%;
334
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
334
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
335
335
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
336
336
  border: var(--cirth-border-width) solid var(--cirth-border-color);
337
337
  border-radius: var(--cirth-border-radius);
@@ -460,37 +460,92 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
460
460
  }
461
461
 
462
462
  :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
463
+ --cirth-background-color: var(--cirth-canvas);
464
+ }
465
+
466
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost, [type="reset"].ghost {
463
467
  --cirth-background-color: transparent;
468
+ --cirth-box-shadow: none;
469
+ }
470
+
471
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline, [type="reset"].outline {
464
472
  --cirth-color: var(--cirth-primary);
465
473
  --cirth-border-color: var(--cirth-primary);
466
474
  }
467
475
 
468
476
  :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
469
- --cirth-background-color: transparent;
477
+ --cirth-background-color: color-mix(in oklch,
478
+ var(--cirth-primary) 12%,
479
+ var(--cirth-canvas));
470
480
  --cirth-color: var(--cirth-primary-hover);
471
481
  --cirth-border-color: var(--cirth-primary-hover);
472
482
  }
473
483
 
474
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline {
484
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, [type="reset"].outline.secondary {
475
485
  --cirth-color: var(--cirth-secondary);
476
486
  --cirth-border-color: var(--cirth-secondary);
477
487
  }
478
488
 
479
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
489
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
490
+ --cirth-background-color: color-mix(in oklch,
491
+ var(--cirth-secondary) 12%,
492
+ var(--cirth-canvas));
480
493
  --cirth-color: var(--cirth-secondary-hover);
481
494
  --cirth-border-color: var(--cirth-secondary-hover);
482
495
  }
483
496
 
484
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast {
497
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast, [type="reset"].outline.contrast {
485
498
  --cirth-color: var(--cirth-contrast);
486
499
  --cirth-border-color: var(--cirth-contrast);
487
500
  }
488
501
 
489
- :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
502
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
503
+ --cirth-background-color: color-mix(in oklch,
504
+ var(--cirth-contrast) 12%,
505
+ var(--cirth-canvas));
490
506
  --cirth-color: var(--cirth-contrast-hover);
491
507
  --cirth-border-color: var(--cirth-contrast-hover);
492
508
  }
493
509
 
510
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost, [type="reset"].ghost {
511
+ --cirth-color: var(--cirth-primary);
512
+ --cirth-border-color: transparent;
513
+ }
514
+
515
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
516
+ --cirth-background-color: color-mix(in oklch,
517
+ var(--cirth-primary) 12%,
518
+ transparent);
519
+ --cirth-color: var(--cirth-primary-hover);
520
+ --cirth-border-color: transparent;
521
+ }
522
+
523
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary, [type="reset"].ghost.secondary {
524
+ --cirth-color: var(--cirth-secondary);
525
+ --cirth-border-color: transparent;
526
+ }
527
+
528
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
529
+ --cirth-background-color: color-mix(in oklch,
530
+ var(--cirth-secondary) 12%,
531
+ transparent);
532
+ --cirth-color: var(--cirth-secondary-hover);
533
+ --cirth-border-color: transparent;
534
+ }
535
+
536
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast, [type="reset"].ghost.contrast {
537
+ --cirth-color: var(--cirth-contrast);
538
+ --cirth-border-color: transparent;
539
+ }
540
+
541
+ :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), [type="reset"].ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
542
+ --cirth-background-color: color-mix(in oklch,
543
+ var(--cirth-contrast) 12%,
544
+ transparent);
545
+ --cirth-color: var(--cirth-contrast-hover);
546
+ --cirth-border-color: transparent;
547
+ }
548
+
494
549
  :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
495
550
  opacity: var(--cirth-opacity-disabled);
496
551
  pointer-events: none;
@@ -569,7 +624,9 @@ pre, code, kbd, samp {
569
624
  }
570
625
 
571
626
  code, kbd, samp {
627
+ max-inline-size: 100%;
572
628
  padding: var(--cirth-space-1) var(--cirth-space-2);
629
+ overflow-wrap: anywhere;
573
630
  display: inline-block;
574
631
  }
575
632
 
@@ -643,7 +700,7 @@ legend {
643
700
  }
644
701
 
645
702
  [type="search"] {
646
- -webkit-appearance: textfield;
703
+ appearance: textfield;
647
704
  outline-offset: -2px;
648
705
  }
649
706
 
@@ -652,7 +709,7 @@ legend {
652
709
  }
653
710
 
654
711
  ::file-selector-button {
655
- -webkit-appearance: button;
712
+ appearance: auto;
656
713
  font: inherit;
657
714
  }
658
715
 
@@ -666,11 +723,11 @@ legend {
666
723
  }
667
724
 
668
725
  input:not([type="checkbox"], [type="radio"], [type="range"]) {
669
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
726
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
670
727
  }
671
728
 
672
729
  select, textarea {
673
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
730
+ min-block-size: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
674
731
  }
675
732
 
676
733
  fieldset {
@@ -724,6 +781,12 @@ input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [re
724
781
  --cirth-border-color: var(--cirth-form-element-active-border-color);
725
782
  }
726
783
 
784
+ input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]), :where(select, textarea):not([readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]) {
785
+ --cirth-border-color: color-mix(in oklch,
786
+ var(--cirth-form-element-border-color) 65%,
787
+ var(--cirth-color));
788
+ }
789
+
727
790
  input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, :where(select, textarea):not([readonly]):focus {
728
791
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
729
792
  var(--cirth-form-element-focus-color);
@@ -742,7 +805,7 @@ label[aria-disabled="true"] input[disabled] {
742
805
  :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"]):is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
743
806
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
744
807
  background-position: center right var(--cirth-space-3);
745
- background-size: var(--cirth-size-4) auto;
808
+ background-size: var(--cirth-font-size-md) auto;
746
809
  background-repeat: no-repeat;
747
810
  }
748
811
 
@@ -801,7 +864,7 @@ select:not([multiple], [size]) {
801
864
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
802
865
  background-image: var(--cirth-icon-chevron);
803
866
  background-position: center right var(--cirth-space-3);
804
- background-size: var(--cirth-size-4) auto;
867
+ background-size: var(--cirth-font-size-md) auto;
805
868
  background-repeat: no-repeat;
806
869
  }
807
870
 
@@ -824,11 +887,11 @@ textarea:not([rows]) {
824
887
  }
825
888
 
826
889
  textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
827
- --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
890
+ --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
828
891
  var(--cirth-form-element-spacing-vertical) * 2 +
829
892
  var(--cirth-border-width) * 2);
830
893
  background-position: top right var(--cirth-space-3);
831
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
894
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
832
895
  }
833
896
 
834
897
  :where(input, select, textarea, fieldset, .row) + small {
@@ -870,10 +933,6 @@ label:has([type="checkbox"], [type="radio"]) {
870
933
  [type="checkbox"]:checked, [type="checkbox"]:checked:active, [type="checkbox"]:checked:focus, [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
871
934
  --cirth-background-color: var(--cirth-primary-background);
872
935
  --cirth-border-color: var(--cirth-primary-border);
873
- background-image: var(--cirth-icon-checkbox);
874
- background-position: center;
875
- background-repeat: no-repeat;
876
- background-size: .9em;
877
936
  }
878
937
 
879
938
  [type="checkbox"] ~ label, [type="radio"] ~ label {
@@ -886,13 +945,34 @@ label:has([type="checkbox"], [type="radio"]) {
886
945
  margin-inline-end: 1em;
887
946
  }
888
947
 
889
- [type="checkbox"]:indeterminate {
948
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
949
+ background-color: var(--cirth-primary-inverse);
950
+ content: "";
951
+ width: 100%;
952
+ height: 100%;
953
+ display: block;
954
+ mask-position: center;
955
+ mask-size: .9em;
956
+ mask-repeat: no-repeat;
957
+ }
958
+
959
+ @media (forced-colors: active) {
960
+ [type="checkbox"]:not([role="switch"]):checked:before, [type="checkbox"]:not([role="switch"]):indeterminate:before {
961
+ background-color: canvastext;
962
+ }
963
+ }
964
+
965
+ [type="checkbox"]:not([role="switch"]):checked:before {
966
+ mask-image: var(--cirth-icon-checkbox);
967
+ }
968
+
969
+ [type="checkbox"]:not([role="switch"]):indeterminate {
890
970
  --cirth-background-color: var(--cirth-primary-background);
891
971
  --cirth-border-color: var(--cirth-primary-border);
892
- background-image: var(--cirth-icon-minus);
893
- background-position: center;
894
- background-repeat: no-repeat;
895
- background-size: .9em;
972
+ }
973
+
974
+ [type="checkbox"]:not([role="switch"]):indeterminate:before {
975
+ mask-image: var(--cirth-icon-minus);
896
976
  }
897
977
 
898
978
  [type="radio"] {
@@ -901,7 +981,6 @@ label:has([type="checkbox"], [type="radio"]) {
901
981
 
902
982
  [type="radio"]:checked, [type="radio"]:checked:active, [type="radio"]:checked:focus {
903
983
  --cirth-background-color: var(--cirth-primary-inverse);
904
- background-image: none;
905
984
  border-width: .42em;
906
985
  }
907
986
 
@@ -939,7 +1018,6 @@ label:has([type="checkbox"], [type="radio"]) {
939
1018
  [type="checkbox"][role="switch"]:checked {
940
1019
  --cirth-background-color: var(--cirth-switch-checked-background-color);
941
1020
  --cirth-border-color: var(--cirth-switch-checked-background-color);
942
- background-image: none;
943
1021
  }
944
1022
 
945
1023
  [type="checkbox"][role="switch"]:checked:before {
@@ -986,7 +1064,7 @@ label:has([type="checkbox"], [type="radio"]) {
986
1064
 
987
1065
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
988
1066
  --cirth-icon-position: var(--cirth-space-3);
989
- --cirth-icon-width: var(--cirth-size-4);
1067
+ --cirth-icon-width: var(--cirth-font-size-md);
990
1068
  min-width: 0;
991
1069
  background-image: var(--cirth-icon-date);
992
1070
  background-position: center right var(--cirth-icon-position);
@@ -1169,7 +1247,7 @@ details {
1169
1247
  }
1170
1248
 
1171
1249
  details summary {
1172
- line-height: var(--cirth-size-4);
1250
+ line-height: var(--cirth-font-size-md);
1173
1251
  cursor: pointer;
1174
1252
  transition: color var(--cirth-transition);
1175
1253
  list-style-type: none;
@@ -1188,18 +1266,28 @@ details summary::marker {
1188
1266
  }
1189
1267
 
1190
1268
  details summary:after {
1191
- width: var(--cirth-size-4);
1192
- height: var(--cirth-size-4);
1269
+ width: var(--cirth-font-size-md);
1270
+ height: var(--cirth-font-size-md);
1193
1271
  float: right;
1194
- background-image: var(--cirth-icon-chevron);
1195
- background-position: 100%;
1196
- background-size: var(--cirth-size-4) auto;
1197
- content: "";
1198
- transition: transform var(--cirth-transition);
1199
- background-repeat: no-repeat;
1272
+ background-color: var(--cirth-muted-color);
1273
+ mask-image: var(--cirth-icon-chevron);
1274
+ mask-position: 100%;
1275
+ mask-size: var(--cirth-font-size-md) auto;
1200
1276
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1201
1277
  display: block;
1202
1278
  transform: rotate(-90deg);
1279
+ mask-repeat: no-repeat;
1280
+ }
1281
+
1282
+ @media (forced-colors: active) {
1283
+ details summary:after {
1284
+ background-color: canvastext;
1285
+ }
1286
+ }
1287
+
1288
+ details summary:after {
1289
+ content: "";
1290
+ transition: transform var(--cirth-transition);
1203
1291
  }
1204
1292
 
1205
1293
  details summary:focus {
@@ -1222,7 +1310,7 @@ details summary[role="button"] {
1222
1310
  }
1223
1311
 
1224
1312
  details summary[role="button"]:after {
1225
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1313
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1226
1314
  }
1227
1315
 
1228
1316
  details[open] > summary {
@@ -1282,17 +1370,27 @@ details.dropdown {
1282
1370
  }
1283
1371
 
1284
1372
  details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1285
- width: var(--cirth-size-4);
1286
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1373
+ width: var(--cirth-font-size-md);
1374
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1287
1375
  float: right;
1288
1376
  transform: rotate(0deg) translateX(calc(var(--cirth-form-element-spacing-horizontal) - var(--cirth-space-3)));
1289
- background-image: var(--cirth-icon-chevron);
1290
- background-position: 100%;
1291
- background-size: var(--cirth-size-4) auto;
1292
- content: "";
1293
- background-repeat: no-repeat;
1377
+ background-color: var(--cirth-muted-color);
1378
+ mask-image: var(--cirth-icon-chevron);
1379
+ mask-position: 100%;
1380
+ mask-size: var(--cirth-font-size-md) auto;
1294
1381
  margin-inline-start: var(--cirth-space-1);
1295
1382
  display: block;
1383
+ mask-repeat: no-repeat;
1384
+ }
1385
+
1386
+ @media (forced-colors: active) {
1387
+ details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1388
+ background-color: canvastext;
1389
+ }
1390
+ }
1391
+
1392
+ details.dropdown > summary:after, details.dropdown > button:after, details.dropdown > a:after {
1393
+ content: "";
1296
1394
  }
1297
1395
 
1298
1396
  nav details.dropdown {
@@ -1300,7 +1398,7 @@ nav details.dropdown {
1300
1398
  }
1301
1399
 
1302
1400
  details.dropdown > summary:not([role]) {
1303
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1401
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1304
1402
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1305
1403
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1306
1404
  border-radius: var(--cirth-border-radius);
@@ -1348,7 +1446,7 @@ nav details.dropdown > summary:after {
1348
1446
  }
1349
1447
 
1350
1448
  nav details.dropdown > summary:not([role]) {
1351
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1449
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1352
1450
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1353
1451
  }
1354
1452
 
@@ -1396,11 +1494,9 @@ details.dropdown > summary + ul li a {
1396
1494
  margin: calc(var(--cirth-form-element-spacing-vertical) * -.5) calc(var(--cirth-form-element-spacing-horizontal) * -1);
1397
1495
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1398
1496
  color: var(--cirth-dropdown-color);
1399
- text-overflow: ellipsis;
1400
1497
  border-radius: 0;
1401
1498
  text-decoration: none;
1402
1499
  display: block;
1403
- overflow: hidden;
1404
1500
  }
1405
1501
 
1406
1502
  details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a:focus-visible, details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
@@ -1501,7 +1597,7 @@ label > details.dropdown {
1501
1597
  z-index: 2;
1502
1598
  }
1503
1599
 
1504
- :is([role="search"] > :has( + small:last-child), .group > :has( + small:last-child)) {
1600
+ [role="search"] > :has( + small:last-child), .group > :has( + small:last-child) {
1505
1601
  border-start-end-radius: var(--cirth-border-radius);
1506
1602
  border-end-end-radius: var(--cirth-border-radius);
1507
1603
  }
@@ -1514,78 +1610,27 @@ label > details.dropdown {
1514
1610
  width: auto;
1515
1611
  }
1516
1612
 
1517
- @supports selector(:has(*)) {
1518
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1519
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1520
- }
1521
-
1522
- :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1523
- border-color: #0000;
1524
- }
1525
-
1526
- :is([role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1527
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1528
- }
1529
-
1530
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1531
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1532
- var(--cirth-primary-border);
1533
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1534
- var(--cirth-primary-hover-border);
1535
- }
1536
-
1537
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1538
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1539
- var(--cirth-primary-border);
1540
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1541
- var(--cirth-primary-hover-border);
1542
- }
1543
-
1544
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1545
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1546
- var(--cirth-primary-border);
1547
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1548
- var(--cirth-primary-hover-border);
1549
- }
1550
-
1551
- [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1552
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1553
- var(--cirth-primary-border);
1554
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1555
- var(--cirth-primary-hover-border);
1556
- }
1557
-
1558
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1559
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1560
- var(--cirth-primary-border);
1561
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1562
- var(--cirth-primary-hover-border);
1563
- }
1613
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1614
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1615
+ }
1564
1616
 
1565
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1566
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1567
- var(--cirth-primary-border);
1568
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1569
- var(--cirth-primary-hover-border);
1570
- }
1617
+ [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1618
+ border-color: #0000;
1619
+ }
1571
1620
 
1572
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1573
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1574
- var(--cirth-primary-border);
1575
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1576
- var(--cirth-primary-hover-border);
1577
- }
1621
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1622
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1623
+ }
1578
1624
 
1579
- .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1580
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1581
- var(--cirth-primary-border);
1582
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1583
- var(--cirth-primary-hover-border);
1584
- }
1625
+ [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1626
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1627
+ var(--cirth-primary-border);
1628
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1629
+ var(--cirth-primary-hover-border);
1630
+ }
1585
1631
 
1586
- [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, .group button:focus, .group [type="submit"]:focus, .group [type="reset"]:focus, .group [type="button"]:focus, .group [role="button"]:focus {
1587
- box-shadow: none;
1588
- }
1632
+ [role="search"] button:focus, [role="search"] [type="submit"]:focus, [role="search"] [type="reset"]:focus, [role="search"] [type="button"]:focus, [role="search"] [role="button"]:focus, .group button:focus, .group [type="submit"]:focus, .group [type="reset"]:focus, .group [type="button"]:focus, .group [role="button"]:focus {
1633
+ box-shadow: none;
1589
1634
  }
1590
1635
 
1591
1636
  [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1593,32 +1638,20 @@ label > details.dropdown {
1593
1638
  border-end-start-radius: var(--cirth-radius-pill);
1594
1639
  }
1595
1640
 
1596
- [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1597
- border-start-end-radius: var(--cirth-radius-pill);
1598
- border-end-end-radius: var(--cirth-radius-pill);
1599
- }
1600
-
1601
- [role="search"] > :has( + small:last-child) {
1641
+ [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])), [role="search"] > :has( + small:last-child) {
1602
1642
  border-start-end-radius: var(--cirth-radius-pill);
1603
1643
  border-end-end-radius: var(--cirth-radius-pill);
1604
1644
  }
1605
1645
 
1606
- [aria-busy="true"]:not(input, select, textarea, html, form) {
1607
- white-space: nowrap;
1608
- }
1609
-
1610
1646
  [aria-busy="true"]:not(input, select, textarea, html, form):before {
1611
1647
  content: "";
1612
1648
  vertical-align: -.125em;
1613
1649
  width: 1em;
1614
1650
  height: 1em;
1615
- -webkit-mask-image: var(--cirth-icon-loading);
1616
1651
  mask-image: var(--cirth-icon-loading);
1617
1652
  background-color: currentColor;
1618
1653
  display: inline-block;
1619
- -webkit-mask-size: 1em;
1620
1654
  mask-size: 1em;
1621
- -webkit-mask-repeat: no-repeat;
1622
1655
  mask-repeat: no-repeat;
1623
1656
  }
1624
1657
 
@@ -1636,10 +1669,6 @@ label > details.dropdown {
1636
1669
  text-align: center;
1637
1670
  }
1638
1671
 
1639
- :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[aria-busy="true"] {
1640
- white-space: normal;
1641
- }
1642
-
1643
1672
  input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1644
1673
  background-image: var(--cirth-icon-loading);
1645
1674
  background-position: center left var(--cirth-form-element-spacing-horizontal);
@@ -1652,14 +1681,10 @@ input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1652
1681
  background-position: center right var(--cirth-form-element-spacing-horizontal);
1653
1682
  }
1654
1683
 
1655
- 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"] {
1656
- pointer-events: none;
1657
- }
1658
-
1659
1684
  meter {
1660
1685
  appearance: none;
1661
1686
  width: 100%;
1662
- height: var(--cirth-size-2);
1687
+ height: var(--cirth-space-2);
1663
1688
  margin-bottom: calc(var(--cirth-spacing) * .5);
1664
1689
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1665
1690
  border-radius: var(--cirth-border-radius);
@@ -1763,7 +1788,7 @@ dialog > article > header > * {
1763
1788
  }
1764
1789
 
1765
1790
  dialog > article > header .close, dialog > article > header :is(a, button)[rel="prev"] {
1766
- margin: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
1791
+ margin: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
1767
1792
  float: right;
1768
1793
  margin-inline-start: var(--cirth-spacing);
1769
1794
  padding: 0;
@@ -1782,23 +1807,37 @@ dialog > article > footer button:not(:first-of-type), dialog > article > footer
1782
1807
  }
1783
1808
 
1784
1809
  dialog > article .close, dialog > article :is(a, button)[rel="prev"] {
1785
- width: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1786
- height: calc(var(--cirth-size-4) + calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * 2);
1787
- margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1788
- margin-right: calc(calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2) * -1);
1789
- margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-size-4)) / 2));
1790
- background-image: var(--cirth-icon-close);
1791
- background-position: center;
1792
- background-size: auto var(--cirth-size-4);
1810
+ width: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
1811
+ height: calc(var(--cirth-font-size-md) + calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * 2);
1812
+ margin-top: calc(var(--cirth-spacing) * -1 - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
1813
+ margin-right: calc(calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2) * -1);
1814
+ margin-bottom: calc(var(--cirth-spacing) - calc((var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2 - var(--cirth-font-size-md)) / 2));
1793
1815
  opacity: .5;
1794
1816
  transition: opacity var(--cirth-transition);
1795
1817
  background-color: #0000;
1796
- background-repeat: no-repeat;
1797
1818
  border: none;
1798
1819
  margin-inline-start: auto;
1799
1820
  display: block;
1800
1821
  }
1801
1822
 
1823
+ dialog > article .close:before, dialog > article :is(a, button)[rel="prev"]:before {
1824
+ background-color: var(--cirth-muted-color);
1825
+ content: "";
1826
+ width: 100%;
1827
+ height: 100%;
1828
+ mask-image: var(--cirth-icon-close);
1829
+ mask-position: center;
1830
+ mask-size: auto var(--cirth-font-size-md);
1831
+ display: block;
1832
+ mask-repeat: no-repeat;
1833
+ }
1834
+
1835
+ @media (forced-colors: active) {
1836
+ dialog > article .close:before, dialog > article :is(a, button)[rel="prev"]:before {
1837
+ background-color: canvastext;
1838
+ }
1839
+ }
1840
+
1802
1841
  dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1803
1842
  opacity: 1;
1804
1843
  }
@@ -1868,7 +1907,7 @@ nav li .group, nav li [role="search"] {
1868
1907
 
1869
1908
  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 {
1870
1909
  height: auto;
1871
- min-block-size: var(--cirth-size-6);
1910
+ min-block-size: var(--cirth-space-6);
1872
1911
  margin-inline: inherit;
1873
1912
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1874
1913
  margin-bottom: 0;
@@ -1956,7 +1995,7 @@ progress {
1956
1995
  vertical-align: baseline;
1957
1996
  appearance: none;
1958
1997
  width: 100%;
1959
- height: var(--cirth-size-2);
1998
+ height: var(--cirth-space-2);
1960
1999
  margin-bottom: calc(var(--cirth-spacing) * .5);
1961
2000
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1962
2001
  border-radius: var(--cirth-border-radius);
@@ -2070,27 +2109,23 @@ progress::-moz-progress-bar {
2070
2109
  }
2071
2110
 
2072
2111
  :root, :host {
2073
- --cirth-color-black: #000;
2074
- --cirth-color-white: #fff;
2075
- --cirth-color-transparent: transparent;
2076
- --cirth-color-current: currentColor;
2077
2112
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2078
2113
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2079
2114
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2080
2115
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2081
2116
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2082
2117
  monospace, var(--cirth-font-family-emoji);
2083
- --cirth-font-family-display: var(--cirth-font-family-serif);
2084
2118
  --cirth-font-size-xs: .75rem;
2085
2119
  --cirth-font-size-sm: .875rem;
2086
2120
  --cirth-font-size-md: 1rem;
2087
2121
  --cirth-font-size-lg: 1.125rem;
2088
2122
  --cirth-font-size-xl: 1.25rem;
2089
- --cirth-font-size-2xl: 1.425rem;
2090
- --cirth-font-size-3xl: 1.6rem;
2091
- --cirth-font-size-4xl: 1.8rem;
2092
- --cirth-font-size-5xl: 2rem;
2093
- --cirth-font-size-6xl: 2.3rem;
2123
+ --cirth-font-size-2xl: 1.5rem;
2124
+ --cirth-font-size-3xl: 1.75rem;
2125
+ --cirth-font-size-4xl: 2rem;
2126
+ --cirth-font-size-5xl: 2.25rem;
2127
+ --cirth-font-size-6xl: 2.75rem;
2128
+ --cirth-font-size-7xl: 3.5rem;
2094
2129
  --cirth-font-weight-light: 300;
2095
2130
  --cirth-font-weight-regular: 400;
2096
2131
  --cirth-font-weight-medium: 500;
@@ -2117,19 +2152,6 @@ progress::-moz-progress-bar {
2117
2152
  --cirth-space-16: 4rem;
2118
2153
  --cirth-space-20: 5rem;
2119
2154
  --cirth-space-24: 6rem;
2120
- --cirth-size-0: 0;
2121
- --cirth-size-1: .25rem;
2122
- --cirth-size-2: .5rem;
2123
- --cirth-size-3: .75rem;
2124
- --cirth-size-4: 1rem;
2125
- --cirth-size-5: 1.25rem;
2126
- --cirth-size-6: 1.5rem;
2127
- --cirth-size-8: 2rem;
2128
- --cirth-size-10: 2.5rem;
2129
- --cirth-size-12: 3rem;
2130
- --cirth-size-16: 4rem;
2131
- --cirth-size-20: 5rem;
2132
- --cirth-size-24: 6rem;
2133
2155
  --cirth-radius-none: 0;
2134
2156
  --cirth-radius-xs: .125rem;
2135
2157
  --cirth-radius-sm: .25rem;
@@ -2142,9 +2164,6 @@ progress::-moz-progress-bar {
2142
2164
  --cirth-border-width-1: .0625rem;
2143
2165
  --cirth-border-width-2: .125rem;
2144
2166
  --cirth-border-width-4: .25rem;
2145
- --cirth-outline-width-1: .0625rem;
2146
- --cirth-outline-width-2: .125rem;
2147
- --cirth-outline-width-4: .25rem;
2148
2167
  --cirth-duration-instant: 0s;
2149
2168
  --cirth-duration-fast: .1s;
2150
2169
  --cirth-duration-normal: .2s;
@@ -2155,7 +2174,6 @@ progress::-moz-progress-bar {
2155
2174
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2156
2175
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2157
2176
  --cirth-opacity-disabled: .5;
2158
- --cirth-opacity-muted: .72;
2159
2177
  --cirth-opacity-overlay: .75;
2160
2178
  --cirth-z-index-dropdown: 1000;
2161
2179
  --cirth-z-index-sticky: 1020;
@@ -2163,6 +2181,7 @@ progress::-moz-progress-bar {
2163
2181
  --cirth-z-index-modal-backdrop: 1040;
2164
2182
  --cirth-z-index-modal: 1050;
2165
2183
  --cirth-font-family: var(--cirth-font-family-sans);
2184
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2166
2185
  --cirth-line-height: var(--cirth-line-height-normal);
2167
2186
  --cirth-font-weight: var(--cirth-font-weight-regular);
2168
2187
  --cirth-font-size: 100%;
@@ -2174,7 +2193,8 @@ progress::-moz-progress-bar {
2174
2193
  --cirth-code-border-radius: min(var(--cirth-border-radius),
2175
2194
  var(--cirth-radius-sm));
2176
2195
  --cirth-border-width: var(--cirth-border-width-1);
2177
- --cirth-outline-width: var(--cirth-outline-width-2);
2196
+ --cirth-outline-width: var(--cirth-border-width-2);
2197
+ --cirth-background-color: var(--cirth-canvas);
2178
2198
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2179
2199
  --cirth-spacing: var(--cirth-space-4);
2180
2200
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -2205,13 +2225,9 @@ progress::-moz-progress-bar {
2205
2225
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2206
2226
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2207
2227
  --cirth-nav-breadcrumb-divider: ">";
2208
- --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2209
- --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2210
- --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2211
- --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2212
- --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2213
- --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2214
- --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2228
+ --cirth-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' 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");
2229
+ --cirth-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' 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");
2230
+ --cirth-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' 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");
2215
2231
  --cirth-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' 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");
2216
2232
  }
2217
2233
 
@@ -2233,21 +2249,27 @@ h4, h5, h6 {
2233
2249
  }
2234
2250
 
2235
2251
  h1 {
2236
- --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2252
+ --cirth-font-size: clamp(var(--cirth-font-size-5xl),
2253
+ 1.7rem + 2.2vw,
2254
+ var(--cirth-font-size-7xl));
2237
2255
  --cirth-line-height: var(--cirth-line-height-tight);
2238
2256
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2239
2257
  --cirth-typography-spacing-top: var(--cirth-space-12);
2240
2258
  }
2241
2259
 
2242
2260
  h2 {
2243
- --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2261
+ --cirth-font-size: clamp(var(--cirth-font-size-2xl),
2262
+ 1.3rem + 1vw,
2263
+ var(--cirth-font-size-4xl));
2244
2264
  --cirth-line-height: 1.15;
2245
2265
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2246
2266
  --cirth-typography-spacing-top: var(--cirth-space-12);
2247
2267
  }
2248
2268
 
2249
2269
  h3 {
2250
- --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2270
+ --cirth-font-size: clamp(var(--cirth-font-size-xl),
2271
+ 1.15rem + .5vw,
2272
+ var(--cirth-font-size-2xl));
2251
2273
  --cirth-line-height: 1.2;
2252
2274
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2253
2275
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -2295,7 +2317,7 @@ kbd {
2295
2317
  }
2296
2318
 
2297
2319
  input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :where(select, textarea) {
2298
- --cirth-outline-width: var(--cirth-outline-width-1);
2320
+ --cirth-outline-width: var(--cirth-border-width-1);
2299
2321
  --cirth-line-height: var(--cirth-line-height-relaxed);
2300
2322
  }
2301
2323
 
@@ -2330,18 +2352,18 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2330
2352
  }
2331
2353
 
2332
2354
  details.dropdown summary:not([role="button"]) {
2333
- --cirth-outline-width: var(--cirth-outline-width-1);
2355
+ --cirth-outline-width: var(--cirth-border-width-1);
2334
2356
  }
2335
2357
 
2336
2358
  nav details.dropdown summary:focus-visible {
2337
- --cirth-outline-width: var(--cirth-outline-width-2);
2359
+ --cirth-outline-width: var(--cirth-border-width-2);
2338
2360
  }
2339
2361
 
2340
2362
  [role="search"] {
2341
2363
  --cirth-border-radius: var(--cirth-radius-pill);
2342
2364
  }
2343
2365
 
2344
- :is([role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2366
+ [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
2345
2367
  --cirth-group-box-shadow-focus-with-button: 0
2346
2368
  0
2347
2369
  0
@@ -2349,7 +2371,7 @@ nav details.dropdown summary:focus-visible {
2349
2371
  var(--cirth-secondary-focus);
2350
2372
  }
2351
2373
 
2352
- :is([role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2374
+ [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
2353
2375
  --cirth-group-box-shadow-focus-with-button: 0
2354
2376
  0
2355
2377
  0
@@ -2365,112 +2387,133 @@ details summary[role="button"]:not(.outline):after {
2365
2387
  filter: brightness(0) invert();
2366
2388
  }
2367
2389
 
2390
+ :root, :host {
2391
+ --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
2392
+ --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
2393
+ --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
2394
+ --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
2395
+ --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
2396
+ --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
2397
+ --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
2398
+ --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
2399
+ --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
2400
+ --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
2401
+ --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
2402
+ --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
2403
+ --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
2404
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
2405
+ --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
2406
+ --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2407
+ --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
2408
+ --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2409
+ --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2410
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
2411
+ --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
2412
+ --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
2413
+ --cirth-box-shadow: light-dark(.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),
2414
+ .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));
2415
+ --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2416
+ --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2417
+ --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
2418
+ --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
2419
+ --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
2420
+ --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
2421
+ --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
2422
+ --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2423
+ --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2424
+ --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2425
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2426
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2427
+ --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2428
+ --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2429
+ --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2430
+ --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2431
+ --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2432
+ --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2433
+ --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2434
+ --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2435
+ --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2436
+ --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2437
+ --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2438
+ --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2439
+ }
2440
+
2368
2441
  :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2369
- --lightningcss-light: initial;
2370
- --lightningcss-dark: ;
2371
2442
  color-scheme: light;
2372
- --cirth-background-color: oklch(97.4% .004 69.35);
2373
- --cirth-color: oklch(35.3% .021 264);
2374
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2375
- --cirth-muted-color: oklch(52.7% .032 264);
2376
- --cirth-muted-border-color: oklch(93.85% .003 264);
2377
- --cirth-primary: oklch(52.7% .097 69.35);
2378
- --cirth-primary-background: oklch(52.7% .097 69.35);
2443
+ --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
2444
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
2445
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
2446
+ --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
2447
+ --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
2448
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
2449
+ --cirth-success-active: var(--cirth-success);
2450
+ --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
2451
+ --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
2452
+ --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
2453
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
2454
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
2455
+ --cirth-primary-background: var(--cirth-primary);
2379
2456
  --cirth-primary-border: var(--cirth-primary-background);
2380
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2381
- --cirth-primary-hover: oklch(44% .081 69.35);
2382
- --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2457
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2458
+ --cirth-primary-hover: color-mix(in oklch, var(--cirth-primary) 83.5%, black);
2459
+ --cirth-primary-hover-background: color-mix(in oklch,
2460
+ var(--cirth-primary) 91.7%,
2461
+ black);
2383
2462
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2384
2463
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2385
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2464
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2386
2465
  --cirth-primary-inverse: oklch(100% 0 0);
2387
- --cirth-secondary: oklch(52.7% .032 264);
2388
2466
  --cirth-secondary-background: oklch(48.3% .03 264);
2389
2467
  --cirth-secondary-border: var(--cirth-secondary-background);
2390
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2391
- --cirth-secondary-hover: oklch(44% .028 264);
2392
- --cirth-secondary-hover-background: oklch(44% .028 264);
2393
2468
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2394
2469
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2395
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2396
2470
  --cirth-secondary-inverse: oklch(100% 0 0);
2397
- --cirth-contrast: oklch(22.3% .006 264);
2398
- --cirth-contrast-background: oklch(22.3% .006 264);
2399
2471
  --cirth-contrast-border: var(--cirth-contrast-background);
2400
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2401
- --cirth-contrast-hover: oklch(0% 0 0);
2402
- --cirth-contrast-hover-background: oklch(0% 0 0);
2403
2472
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2404
2473
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2405
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2406
- --cirth-contrast-inverse: oklch(100% 0 0);
2407
- --cirth-link-visited-color: oklch(48.3% .03 264);
2408
- --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);
2409
- --cirth-h1-color: oklch(22.3% .006 264);
2410
- --cirth-h2-color: oklch(26.7% .011 264);
2411
- --cirth-h3-color: oklch(31% .016 264);
2412
- --cirth-h4-color: oklch(35.3% .021 264);
2413
- --cirth-h5-color: oklch(39.7% .025 264);
2414
- --cirth-h6-color: oklch(44% .028 264);
2415
- --cirth-mark-background-color: oklch(93% .05 78);
2416
- --cirth-mark-color: oklch(18% 0 264);
2417
- --cirth-ins-color: oklch(35.3% .067 160.59);
2418
- --cirth-del-color: oklch(35.3% .122 29.73);
2474
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2475
+ --cirth-ins-color: var(--cirth-success-text);
2476
+ --cirth-del-color: var(--cirth-error-text);
2419
2477
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2420
2478
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2421
2479
  --cirth-button-box-shadow: 0 0 0 #0000;
2422
2480
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2423
2481
  --cirth-table-border-color: var(--cirth-muted-border-color);
2424
2482
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2425
- --cirth-code-background-color: oklch(97% 0 288);
2426
- --cirth-code-color: oklch(52.7% .032 264);
2427
2483
  --cirth-code-kbd-background-color: var(--cirth-color);
2428
2484
  --cirth-code-kbd-color: var(--cirth-background-color);
2429
- --cirth-form-element-background-color: oklch(99% 0 336);
2430
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2431
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2432
- --cirth-form-element-color: oklch(26.7% .011 264);
2433
2485
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2434
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2435
2486
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2436
2487
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2437
2488
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2438
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2439
- --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2489
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2490
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2440
2491
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2441
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2442
- --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2492
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2493
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2443
2494
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2444
- --cirth-switch-background-color: oklch(61.3% .032 264);
2495
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2445
2496
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2446
2497
  --cirth-switch-color: var(--cirth-primary-inverse);
2447
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2448
- --cirth-range-border-color: oklch(91.7% .006 264);
2449
- --cirth-range-active-border-color: oklch(83% .016 264);
2450
2498
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2451
2499
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2452
2500
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2453
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2454
2501
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2455
2502
  --cirth-accordion-close-summary-color: var(--cirth-color);
2456
2503
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2457
- --cirth-card-background-color: oklch(100% 0 0);
2458
2504
  --cirth-card-border-color: var(--cirth-muted-border-color);
2459
2505
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2460
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2461
- --cirth-dropdown-background-color: oklch(100% 0 0);
2462
- --cirth-dropdown-border-color: oklch(96% 0 264);
2463
2506
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2464
2507
  --cirth-dropdown-color: var(--cirth-color);
2465
- --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2466
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2467
2508
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2468
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2469
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2470
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2471
- --cirth-progress-background-color: oklch(91.7% .006 264);
2472
- --cirth-progress-border-color: oklch(61.3% .032 264);
2509
+ --cirth-meter-optimum-color: var(--cirth-success);
2510
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2511
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2473
2512
  --cirth-progress-color: var(--cirth-primary-background);
2513
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' 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");
2514
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' 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");
2515
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' 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");
2516
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(98, 107, 126)' 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");
2474
2517
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2475
2518
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2476
2519
  }
@@ -2481,111 +2524,83 @@ details summary[role="button"]:not(.outline):after {
2481
2524
 
2482
2525
  @media only screen and (prefers-color-scheme: dark) {
2483
2526
  :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2484
- --lightningcss-light: ;
2485
- --lightningcss-dark: initial;
2486
2527
  color-scheme: dark;
2487
- --cirth-background-color: oklch(20.15% .003 264);
2488
- --cirth-color: oklch(83% .016 264);
2489
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2490
- --cirth-muted-color: oklch(61.3% .032 264);
2491
- --cirth-muted-border-color: oklch(26.7% .011 264);
2492
- --cirth-primary: oklch(70% .129 69.35);
2493
- --cirth-primary-background: oklch(52.7% .097 69.35);
2528
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2529
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2530
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2531
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2532
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2533
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2534
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2535
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2536
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2537
+ --cirth-warning-border: var(--cirth-warning);
2538
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2539
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2540
+ --cirth-primary-background: color-mix(in oklch,
2541
+ var(--cirth-primary) 75.2%,
2542
+ black);
2494
2543
  --cirth-primary-border: var(--cirth-primary-background);
2495
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2496
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2497
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2544
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2545
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2546
+ --cirth-primary-hover-background: color-mix(in oklch,
2547
+ var(--cirth-primary) 81.4%,
2548
+ black);
2498
2549
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2499
2550
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2500
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2551
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2501
2552
  --cirth-primary-inverse: oklch(100% 0 0);
2502
- --cirth-secondary: oklch(70% .028 264);
2503
2553
  --cirth-secondary-background: oklch(48.3% .03 264);
2504
2554
  --cirth-secondary-border: var(--cirth-secondary-background);
2505
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2506
- --cirth-secondary-hover: oklch(78.7% .021 264);
2507
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2508
2555
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2509
2556
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2510
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2511
2557
  --cirth-secondary-inverse: oklch(100% 0 0);
2512
- --cirth-contrast: oklch(91.7% .006 264);
2513
- --cirth-contrast-background: oklch(96% 0 264);
2514
2558
  --cirth-contrast-border: var(--cirth-contrast-background);
2515
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2516
- --cirth-contrast-hover: oklch(100% 0 0);
2517
- --cirth-contrast-hover-background: oklch(100% 0 0);
2518
2559
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2519
2560
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2520
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2521
- --cirth-contrast-inverse: oklch(0% 0 0);
2522
- --cirth-link-visited-color: oklch(65.7% .03 264);
2523
- --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);
2524
- --cirth-h1-color: oklch(96% 0 264);
2525
- --cirth-h2-color: oklch(91.7% .006 264);
2526
- --cirth-h3-color: oklch(83% .016 264);
2527
- --cirth-h4-color: oklch(78.7% .021 264);
2528
- --cirth-h5-color: oklch(74.3% .025 264);
2529
- --cirth-h6-color: oklch(65.7% .03 264);
2530
- --cirth-mark-background-color: oklch(35.3% .063 78);
2531
- --cirth-mark-color: oklch(100% 0 0);
2532
- --cirth-ins-color: oklch(78.7% .15 160.59);
2533
- --cirth-del-color: oklch(78.7% .106 29.73);
2561
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2562
+ --cirth-ins-color: var(--cirth-success-text);
2563
+ --cirth-del-color: var(--cirth-error-text);
2534
2564
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2535
2565
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2536
2566
  --cirth-button-box-shadow: 0 0 0 #0000;
2537
2567
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2538
2568
  --cirth-table-border-color: var(--cirth-muted-border-color);
2539
2569
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2540
- --cirth-code-background-color: oklch(23.4% .00725 264);
2541
- --cirth-code-color: oklch(65.7% .03 264);
2542
2570
  --cirth-code-kbd-background-color: var(--cirth-color);
2543
2571
  --cirth-code-kbd-color: var(--cirth-background-color);
2544
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2545
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2546
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2547
- --cirth-form-element-color: oklch(91.7% .006 264);
2548
2572
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2549
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2550
2573
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2551
2574
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2552
2575
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2553
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2554
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2576
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2577
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2555
2578
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2556
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2557
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2579
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2580
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2558
2581
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2559
- --cirth-switch-background-color: oklch(52.7% .032 264);
2582
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2560
2583
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2561
2584
  --cirth-switch-color: var(--cirth-primary-inverse);
2562
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2563
- --cirth-range-border-color: oklch(26.7% .011 264);
2564
- --cirth-range-active-border-color: oklch(31% .016 264);
2565
2585
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2566
2586
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2567
2587
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2568
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2569
2588
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2570
2589
  --cirth-accordion-close-summary-color: var(--cirth-color);
2571
2590
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2572
- --cirth-card-background-color: oklch(22.3% .006 264);
2573
2591
  --cirth-card-border-color: var(--cirth-card-background-color);
2574
2592
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2575
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2576
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2577
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2578
2593
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2579
2594
  --cirth-dropdown-color: var(--cirth-color);
2580
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2581
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2582
2595
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2583
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2584
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2585
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2586
- --cirth-progress-background-color: oklch(26.7% .011 264);
2587
- --cirth-progress-border-color: oklch(52.7% .032 264);
2596
+ --cirth-meter-optimum-color: var(--cirth-success);
2597
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2598
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2588
2599
  --cirth-progress-color: oklch(61.3% .113 69.35);
2600
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2601
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2602
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2603
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2589
2604
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2590
2605
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2591
2606
  }
@@ -2600,111 +2615,83 @@ details summary[role="button"]:not(.outline):after {
2600
2615
  }
2601
2616
 
2602
2617
  :where([data-theme="dark"]) {
2603
- --lightningcss-light: ;
2604
- --lightningcss-dark: initial;
2605
2618
  color-scheme: dark;
2606
- --cirth-background-color: oklch(20.15% .003 264);
2607
- --cirth-color: oklch(83% .016 264);
2608
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2609
- --cirth-muted-color: oklch(61.3% .032 264);
2610
- --cirth-muted-border-color: oklch(26.7% .011 264);
2611
- --cirth-primary: oklch(70% .129 69.35);
2612
- --cirth-primary-background: oklch(52.7% .097 69.35);
2619
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2620
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2621
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2622
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2623
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2624
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2625
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2626
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2627
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2628
+ --cirth-warning-border: var(--cirth-warning);
2629
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2630
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2631
+ --cirth-primary-background: color-mix(in oklch,
2632
+ var(--cirth-primary) 75.2%,
2633
+ black);
2613
2634
  --cirth-primary-border: var(--cirth-primary-background);
2614
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2615
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2616
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2635
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2636
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2637
+ --cirth-primary-hover-background: color-mix(in oklch,
2638
+ var(--cirth-primary) 81.4%,
2639
+ black);
2617
2640
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2618
2641
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2619
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2642
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2620
2643
  --cirth-primary-inverse: oklch(100% 0 0);
2621
- --cirth-secondary: oklch(70% .028 264);
2622
2644
  --cirth-secondary-background: oklch(48.3% .03 264);
2623
2645
  --cirth-secondary-border: var(--cirth-secondary-background);
2624
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2625
- --cirth-secondary-hover: oklch(78.7% .021 264);
2626
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2627
2646
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2628
2647
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2629
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2630
2648
  --cirth-secondary-inverse: oklch(100% 0 0);
2631
- --cirth-contrast: oklch(91.7% .006 264);
2632
- --cirth-contrast-background: oklch(96% 0 264);
2633
2649
  --cirth-contrast-border: var(--cirth-contrast-background);
2634
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2635
- --cirth-contrast-hover: oklch(100% 0 0);
2636
- --cirth-contrast-hover-background: oklch(100% 0 0);
2637
2650
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2638
2651
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2639
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2640
- --cirth-contrast-inverse: oklch(0% 0 0);
2641
- --cirth-link-visited-color: oklch(65.7% .03 264);
2642
- --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);
2643
- --cirth-h1-color: oklch(96% 0 264);
2644
- --cirth-h2-color: oklch(91.7% .006 264);
2645
- --cirth-h3-color: oklch(83% .016 264);
2646
- --cirth-h4-color: oklch(78.7% .021 264);
2647
- --cirth-h5-color: oklch(74.3% .025 264);
2648
- --cirth-h6-color: oklch(65.7% .03 264);
2649
- --cirth-mark-background-color: oklch(35.3% .063 78);
2650
- --cirth-mark-color: oklch(100% 0 0);
2651
- --cirth-ins-color: oklch(78.7% .15 160.59);
2652
- --cirth-del-color: oklch(78.7% .106 29.73);
2652
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2653
+ --cirth-ins-color: var(--cirth-success-text);
2654
+ --cirth-del-color: var(--cirth-error-text);
2653
2655
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2654
2656
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2655
2657
  --cirth-button-box-shadow: 0 0 0 #0000;
2656
2658
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2657
2659
  --cirth-table-border-color: var(--cirth-muted-border-color);
2658
2660
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2659
- --cirth-code-background-color: oklch(23.4% .00725 264);
2660
- --cirth-code-color: oklch(65.7% .03 264);
2661
2661
  --cirth-code-kbd-background-color: var(--cirth-color);
2662
2662
  --cirth-code-kbd-color: var(--cirth-background-color);
2663
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2664
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2665
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2666
- --cirth-form-element-color: oklch(91.7% .006 264);
2667
2663
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2668
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2669
2664
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2670
2665
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2671
2666
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2672
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2673
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2667
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2668
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2674
2669
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2675
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2676
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2670
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2671
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2677
2672
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2678
- --cirth-switch-background-color: oklch(52.7% .032 264);
2673
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2679
2674
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2680
2675
  --cirth-switch-color: var(--cirth-primary-inverse);
2681
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2682
- --cirth-range-border-color: oklch(26.7% .011 264);
2683
- --cirth-range-active-border-color: oklch(31% .016 264);
2684
2676
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2685
2677
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2686
2678
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2687
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2688
2679
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2689
2680
  --cirth-accordion-close-summary-color: var(--cirth-color);
2690
2681
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2691
- --cirth-card-background-color: oklch(22.3% .006 264);
2692
2682
  --cirth-card-border-color: var(--cirth-card-background-color);
2693
2683
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2694
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2695
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2696
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2697
2684
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2698
2685
  --cirth-dropdown-color: var(--cirth-color);
2699
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2700
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2701
2686
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2702
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2703
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2704
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2705
- --cirth-progress-background-color: oklch(26.7% .011 264);
2706
- --cirth-progress-border-color: oklch(52.7% .032 264);
2687
+ --cirth-meter-optimum-color: var(--cirth-success);
2688
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2689
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2707
2690
  --cirth-progress-color: oklch(61.3% .113 69.35);
2691
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2692
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2693
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2694
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(122, 132, 152)' 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");
2708
2695
  --cirth-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2709
2696
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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");
2710
2697
  }
@@ -2735,6 +2722,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2735
2722
  --cirth-code-color: oklch(35.3% .021 264);
2736
2723
  --cirth-link-visited-color: oklch(35.3% .021 264);
2737
2724
  --cirth-muted-border-color: oklch(57% .032 264);
2725
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' 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");
2726
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' 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");
2727
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' 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");
2728
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(64, 71, 85)' 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");
2738
2729
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2739
2730
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2740
2731
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2765,6 +2756,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2765
2756
  --cirth-h5-color: var(--cirth-color);
2766
2757
  --cirth-h6-color: var(--cirth-color);
2767
2758
  --cirth-muted-color: oklch(78.7% .021 264);
2759
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2760
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2761
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2762
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2768
2763
  --cirth-secondary: oklch(78.7% .021 264);
2769
2764
  --cirth-code-color: oklch(83% .016 264);
2770
2765
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2775,6 +2770,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2775
2770
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2776
2771
  --cirth-primary: oklch(78.7% .146 69.35);
2777
2772
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2773
+ --cirth-primary-background: oklch(44% .081 69.35);
2774
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2778
2775
  --cirth-primary-underline: var(--cirth-primary);
2779
2776
  --cirth-secondary-underline: var(--cirth-secondary);
2780
2777
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2800,6 +2797,10 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2800
2797
  --cirth-h5-color: var(--cirth-color);
2801
2798
  --cirth-h6-color: var(--cirth-color);
2802
2799
  --cirth-muted-color: oklch(78.7% .021 264);
2800
+ --cirth-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2801
+ --cirth-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2802
+ --cirth-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2803
+ --cirth-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(179, 186, 200)' 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");
2803
2804
  --cirth-secondary: oklch(78.7% .021 264);
2804
2805
  --cirth-code-color: oklch(83% .016 264);
2805
2806
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2810,6 +2811,8 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2810
2811
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2811
2812
  --cirth-primary: oklch(78.7% .146 69.35);
2812
2813
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2814
+ --cirth-primary-background: oklch(44% .081 69.35);
2815
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2813
2816
  --cirth-primary-underline: var(--cirth-primary);
2814
2817
  --cirth-secondary-underline: var(--cirth-secondary);
2815
2818
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2824,141 +2827,3 @@ progress, [type="checkbox"], [type="radio"], [type="range"] {
2824
2827
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2825
2828
  }
2826
2829
  }
2827
-
2828
- @media print {
2829
- :root, :host {
2830
- --cirth-print-color: oklch(0% 0 0);
2831
- --cirth-print-muted-color: oklch(48.3% .03 264);
2832
- --cirth-print-border-color: oklch(61.3% .032 264);
2833
- }
2834
-
2835
- html {
2836
- --lightningcss-light: initial;
2837
- --lightningcss-dark: ;
2838
- color-scheme: light;
2839
- background: none;
2840
- }
2841
-
2842
- body {
2843
- color: var(--cirth-print-color);
2844
- --lightningcss-light: initial;
2845
- --lightningcss-dark: ;
2846
- color-scheme: light;
2847
- --cirth-color: var(--cirth-print-color);
2848
- --cirth-h1-color: var(--cirth-print-color);
2849
- --cirth-h2-color: var(--cirth-print-color);
2850
- --cirth-h3-color: var(--cirth-print-color);
2851
- --cirth-h4-color: var(--cirth-print-color);
2852
- --cirth-h5-color: var(--cirth-print-color);
2853
- --cirth-h6-color: var(--cirth-print-color);
2854
- --cirth-code-color: var(--cirth-print-color);
2855
- --cirth-code-kbd-color: var(--cirth-print-color);
2856
- --cirth-form-element-color: var(--cirth-print-color);
2857
- --cirth-muted-color: var(--cirth-print-muted-color);
2858
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2859
- --cirth-primary: var(--cirth-print-color);
2860
- --cirth-primary-hover: var(--cirth-print-color);
2861
- --cirth-primary-underline: var(--cirth-print-color);
2862
- --cirth-secondary: var(--cirth-print-color);
2863
- --cirth-secondary-underline: var(--cirth-print-color);
2864
- --cirth-contrast: var(--cirth-print-color);
2865
- --cirth-contrast-underline: var(--cirth-print-color);
2866
- --cirth-link-visited-color: var(--cirth-print-color);
2867
- --cirth-muted-border-color: var(--cirth-print-border-color);
2868
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2869
- --cirth-box-shadow: none;
2870
- --cirth-card-box-shadow: none;
2871
- --cirth-card-background-color: transparent;
2872
- --cirth-card-sectioning-background-color: transparent;
2873
- --cirth-code-background-color: transparent;
2874
- --cirth-code-kbd-background-color: transparent;
2875
- --cirth-form-element-background-color: transparent;
2876
- --cirth-form-element-active-background-color: transparent;
2877
- --cirth-table-row-stripped-background-color: transparent;
2878
- --cirth-modal-overlay-background-color: transparent;
2879
- --cirth-dropdown-background-color: transparent;
2880
- --cirth-dropdown-box-shadow: none;
2881
- --cirth-ins-color: oklch(35.3% .067 160.59);
2882
- --cirth-del-color: oklch(35.3% .122 29.73);
2883
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2884
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2885
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2886
- background: none;
2887
- }
2888
-
2889
- kbd {
2890
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2891
- }
2892
-
2893
- :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2894
- border-color: var(--cirth-print-border-color);
2895
- box-shadow: none;
2896
- color: var(--cirth-print-color);
2897
- background: none;
2898
- }
2899
-
2900
- [type="file"]::file-selector-button {
2901
- border-color: var(--cirth-print-border-color);
2902
- box-shadow: none;
2903
- color: var(--cirth-print-color);
2904
- background: none;
2905
- }
2906
-
2907
- :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2908
- -webkit-print-color-adjust: exact;
2909
- print-color-adjust: exact;
2910
- }
2911
-
2912
- a[href^="http"]:not([role="button"], nav a):after {
2913
- content: " (" attr(href) ")";
2914
- color: var(--cirth-print-muted-color);
2915
- font-size: var(--cirth-font-size-sm);
2916
- word-break: break-all;
2917
- }
2918
-
2919
- thead {
2920
- display: table-header-group;
2921
- }
2922
-
2923
- tfoot {
2924
- display: table-footer-group;
2925
- }
2926
-
2927
- tr {
2928
- break-inside: avoid;
2929
- }
2930
-
2931
- pre {
2932
- white-space: pre-wrap;
2933
- overflow: visible;
2934
- }
2935
-
2936
- .overflow-auto {
2937
- overflow: visible;
2938
- }
2939
-
2940
- dialog {
2941
- backdrop-filter: none;
2942
- min-width: 0;
2943
- min-height: 0;
2944
- position: static;
2945
- }
2946
-
2947
- dialog > article {
2948
- max-height: none;
2949
- overflow: visible;
2950
- }
2951
-
2952
- :is(h1, h2, h3, h4, h5, h6) {
2953
- break-after: avoid;
2954
- }
2955
-
2956
- :is(figure, img) {
2957
- break-inside: avoid;
2958
- }
2959
-
2960
- :is(blockquote, li, p) {
2961
- orphans: 3;
2962
- widows: 3;
2963
- }
2964
- }