@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.
@@ -294,7 +294,7 @@
294
294
  }
295
295
 
296
296
  .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
297
- -webkit-appearance: button;
297
+ appearance: auto;
298
298
  }
299
299
 
300
300
  .cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
@@ -303,7 +303,7 @@
303
303
  --cirth-color: var(--cirth-primary-inverse);
304
304
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
305
305
  max-width: 100%;
306
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
306
+ 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);
307
307
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
308
308
  border: var(--cirth-border-width) solid var(--cirth-border-color);
309
309
  border-radius: var(--cirth-border-radius);
@@ -328,7 +328,7 @@
328
328
  --cirth-color: var(--cirth-primary-inverse);
329
329
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
330
330
  max-width: 100%;
331
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
331
+ 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);
332
332
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
333
333
  border: var(--cirth-border-width) solid var(--cirth-border-color);
334
334
  border-radius: var(--cirth-border-radius);
@@ -457,37 +457,92 @@
457
457
  }
458
458
 
459
459
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline, .cirth [type="reset"].outline {
460
+ --cirth-background-color: var(--cirth-canvas);
461
+ }
462
+
463
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost, .cirth [type="reset"].ghost {
460
464
  --cirth-background-color: transparent;
465
+ --cirth-box-shadow: none;
466
+ }
467
+
468
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline, .cirth [type="reset"].outline {
461
469
  --cirth-color: var(--cirth-primary);
462
470
  --cirth-border-color: var(--cirth-primary);
463
471
  }
464
472
 
465
473
  .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
466
- --cirth-background-color: transparent;
474
+ --cirth-background-color: color-mix(in oklch,
475
+ var(--cirth-primary) 12%,
476
+ var(--cirth-canvas));
467
477
  --cirth-color: var(--cirth-primary-hover);
468
478
  --cirth-border-color: var(--cirth-primary-hover);
469
479
  }
470
480
 
471
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, .cirth [type="reset"].outline {
481
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary, .cirth [type="reset"].outline.secondary {
472
482
  --cirth-color: var(--cirth-secondary);
473
483
  --cirth-border-color: var(--cirth-secondary);
474
484
  }
475
485
 
476
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
486
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
487
+ --cirth-background-color: color-mix(in oklch,
488
+ var(--cirth-secondary) 12%,
489
+ var(--cirth-canvas));
477
490
  --cirth-color: var(--cirth-secondary-hover);
478
491
  --cirth-border-color: var(--cirth-secondary-hover);
479
492
  }
480
493
 
481
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast {
494
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast, .cirth [type="reset"].outline.contrast {
482
495
  --cirth-color: var(--cirth-contrast);
483
496
  --cirth-border-color: var(--cirth-contrast);
484
497
  }
485
498
 
486
- .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
499
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].outline.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
500
+ --cirth-background-color: color-mix(in oklch,
501
+ var(--cirth-contrast) 12%,
502
+ var(--cirth-canvas));
487
503
  --cirth-color: var(--cirth-contrast-hover);
488
504
  --cirth-border-color: var(--cirth-contrast-hover);
489
505
  }
490
506
 
507
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost, .cirth [type="reset"].ghost {
508
+ --cirth-color: var(--cirth-primary);
509
+ --cirth-border-color: transparent;
510
+ }
511
+
512
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].ghost:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
513
+ --cirth-background-color: color-mix(in oklch,
514
+ var(--cirth-primary) 12%,
515
+ transparent);
516
+ --cirth-color: var(--cirth-primary-hover);
517
+ --cirth-border-color: transparent;
518
+ }
519
+
520
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary, .cirth [type="reset"].ghost.secondary {
521
+ --cirth-color: var(--cirth-secondary);
522
+ --cirth-border-color: transparent;
523
+ }
524
+
525
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].ghost.secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
526
+ --cirth-background-color: color-mix(in oklch,
527
+ var(--cirth-secondary) 12%,
528
+ transparent);
529
+ --cirth-color: var(--cirth-secondary-hover);
530
+ --cirth-border-color: transparent;
531
+ }
532
+
533
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast, .cirth [type="reset"].ghost.contrast {
534
+ --cirth-color: var(--cirth-contrast);
535
+ --cirth-border-color: transparent;
536
+ }
537
+
538
+ .cirth :is(button, [type="submit"], [type="button"], [role="button"]).ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [type="reset"].ghost.contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
539
+ --cirth-background-color: color-mix(in oklch,
540
+ var(--cirth-contrast) 12%,
541
+ transparent);
542
+ --cirth-color: var(--cirth-contrast-hover);
543
+ --cirth-border-color: transparent;
544
+ }
545
+
491
546
  .cirth :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled], .cirth :where(fieldset[disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
492
547
  opacity: var(--cirth-opacity-disabled);
493
548
  pointer-events: none;
@@ -566,7 +621,9 @@
566
621
  }
567
622
 
568
623
  .cirth code, .cirth kbd, .cirth samp {
624
+ max-inline-size: 100%;
569
625
  padding: var(--cirth-space-1) var(--cirth-space-2);
626
+ overflow-wrap: anywhere;
570
627
  display: inline-block;
571
628
  }
572
629
 
@@ -640,7 +697,7 @@
640
697
  }
641
698
 
642
699
  .cirth [type="search"] {
643
- -webkit-appearance: textfield;
700
+ appearance: textfield;
644
701
  outline-offset: -2px;
645
702
  }
646
703
 
@@ -649,7 +706,7 @@
649
706
  }
650
707
 
651
708
  .cirth ::file-selector-button {
652
- -webkit-appearance: button;
709
+ appearance: auto;
653
710
  font: inherit;
654
711
  }
655
712
 
@@ -663,11 +720,11 @@
663
720
  }
664
721
 
665
722
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
666
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
723
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
667
724
  }
668
725
 
669
726
  .cirth select, .cirth textarea {
670
- min-block-size: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
727
+ 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);
671
728
  }
672
729
 
673
730
  .cirth fieldset {
@@ -721,6 +778,12 @@
721
778
  --cirth-border-color: var(--cirth-form-element-active-border-color);
722
779
  }
723
780
 
781
+ .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="file"], [readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]), .cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, [disabled], [aria-invalid]) {
782
+ --cirth-border-color: color-mix(in oklch,
783
+ var(--cirth-form-element-border-color) 65%,
784
+ var(--cirth-color));
785
+ }
786
+
724
787
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
725
788
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
726
789
  var(--cirth-form-element-focus-color);
@@ -739,7 +802,7 @@
739
802
  .cirth :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)) {
740
803
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
741
804
  background-position: center right var(--cirth-space-3);
742
- background-size: var(--cirth-size-4) auto;
805
+ background-size: var(--cirth-font-size-md) auto;
743
806
  background-repeat: no-repeat;
744
807
  }
745
808
 
@@ -798,7 +861,7 @@
798
861
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
799
862
  background-image: var(--cirth-icon-chevron);
800
863
  background-position: center right var(--cirth-space-3);
801
- background-size: var(--cirth-size-4) auto;
864
+ background-size: var(--cirth-font-size-md) auto;
802
865
  background-repeat: no-repeat;
803
866
  }
804
867
 
@@ -821,11 +884,11 @@
821
884
  }
822
885
 
823
886
  .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
824
- --cirth-icon-height: calc(var(--cirth-size-4) * var(--cirth-line-height) +
887
+ --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
825
888
  var(--cirth-form-element-spacing-vertical) * 2 +
826
889
  var(--cirth-border-width) * 2);
827
890
  background-position: top right var(--cirth-space-3);
828
- background-size: var(--cirth-size-4) var(--cirth-icon-height);
891
+ background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
829
892
  }
830
893
 
831
894
  .cirth :where(input, select, textarea, fieldset, .row) + small {
@@ -867,10 +930,6 @@
867
930
  .cirth [type="checkbox"]:checked, .cirth [type="checkbox"]:checked:active, .cirth [type="checkbox"]:checked:focus, .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
868
931
  --cirth-background-color: var(--cirth-primary-background);
869
932
  --cirth-border-color: var(--cirth-primary-border);
870
- background-image: var(--cirth-icon-checkbox);
871
- background-position: center;
872
- background-repeat: no-repeat;
873
- background-size: .9em;
874
933
  }
875
934
 
876
935
  .cirth [type="checkbox"] ~ label, .cirth [type="radio"] ~ label {
@@ -883,13 +942,34 @@
883
942
  margin-inline-end: 1em;
884
943
  }
885
944
 
886
- .cirth [type="checkbox"]:indeterminate {
945
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
946
+ background-color: var(--cirth-primary-inverse);
947
+ content: "";
948
+ width: 100%;
949
+ height: 100%;
950
+ display: block;
951
+ mask-position: center;
952
+ mask-size: .9em;
953
+ mask-repeat: no-repeat;
954
+ }
955
+
956
+ @media (forced-colors: active) {
957
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
958
+ background-color: canvastext;
959
+ }
960
+ }
961
+
962
+ .cirth [type="checkbox"]:not([role="switch"]):checked:before {
963
+ mask-image: var(--cirth-icon-checkbox);
964
+ }
965
+
966
+ .cirth [type="checkbox"]:not([role="switch"]):indeterminate {
887
967
  --cirth-background-color: var(--cirth-primary-background);
888
968
  --cirth-border-color: var(--cirth-primary-border);
889
- background-image: var(--cirth-icon-minus);
890
- background-position: center;
891
- background-repeat: no-repeat;
892
- background-size: .9em;
969
+ }
970
+
971
+ .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
972
+ mask-image: var(--cirth-icon-minus);
893
973
  }
894
974
 
895
975
  .cirth [type="radio"] {
@@ -898,7 +978,6 @@
898
978
 
899
979
  .cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
900
980
  --cirth-background-color: var(--cirth-primary-inverse);
901
- background-image: none;
902
981
  border-width: .42em;
903
982
  }
904
983
 
@@ -936,7 +1015,6 @@
936
1015
  .cirth [type="checkbox"][role="switch"]:checked {
937
1016
  --cirth-background-color: var(--cirth-switch-checked-background-color);
938
1017
  --cirth-border-color: var(--cirth-switch-checked-background-color);
939
- background-image: none;
940
1018
  }
941
1019
 
942
1020
  .cirth [type="checkbox"][role="switch"]:checked:before {
@@ -983,7 +1061,7 @@
983
1061
 
984
1062
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
985
1063
  --cirth-icon-position: var(--cirth-space-3);
986
- --cirth-icon-width: var(--cirth-size-4);
1064
+ --cirth-icon-width: var(--cirth-font-size-md);
987
1065
  min-width: 0;
988
1066
  background-image: var(--cirth-icon-date);
989
1067
  background-position: center right var(--cirth-icon-position);
@@ -1166,7 +1244,7 @@
1166
1244
  }
1167
1245
 
1168
1246
  .cirth details summary {
1169
- line-height: var(--cirth-size-4);
1247
+ line-height: var(--cirth-font-size-md);
1170
1248
  cursor: pointer;
1171
1249
  transition: color var(--cirth-transition);
1172
1250
  list-style-type: none;
@@ -1185,18 +1263,28 @@
1185
1263
  }
1186
1264
 
1187
1265
  .cirth details summary:after {
1188
- width: var(--cirth-size-4);
1189
- height: var(--cirth-size-4);
1266
+ width: var(--cirth-font-size-md);
1267
+ height: var(--cirth-font-size-md);
1190
1268
  float: right;
1191
- background-image: var(--cirth-icon-chevron);
1192
- background-position: 100%;
1193
- background-size: var(--cirth-size-4) auto;
1194
- content: "";
1195
- transition: transform var(--cirth-transition);
1196
- background-repeat: no-repeat;
1269
+ background-color: var(--cirth-muted-color);
1270
+ mask-image: var(--cirth-icon-chevron);
1271
+ mask-position: 100%;
1272
+ mask-size: var(--cirth-font-size-md) auto;
1197
1273
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
1198
1274
  display: block;
1199
1275
  transform: rotate(-90deg);
1276
+ mask-repeat: no-repeat;
1277
+ }
1278
+
1279
+ @media (forced-colors: active) {
1280
+ .cirth details summary:after {
1281
+ background-color: canvastext;
1282
+ }
1283
+ }
1284
+
1285
+ .cirth details summary:after {
1286
+ content: "";
1287
+ transition: transform var(--cirth-transition);
1200
1288
  }
1201
1289
 
1202
1290
  .cirth details summary:focus {
@@ -1219,7 +1307,7 @@
1219
1307
  }
1220
1308
 
1221
1309
  .cirth details summary[role="button"]:after {
1222
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1310
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1223
1311
  }
1224
1312
 
1225
1313
  .cirth details[open] > summary {
@@ -1279,17 +1367,27 @@
1279
1367
  }
1280
1368
 
1281
1369
  .cirth details.dropdown > summary:after, .cirth details.dropdown > button:after, .cirth details.dropdown > a:after {
1282
- width: var(--cirth-size-4);
1283
- height: calc(var(--cirth-size-4) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1370
+ width: var(--cirth-font-size-md);
1371
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height, var(--cirth-line-height-normal)));
1284
1372
  float: right;
1285
1373
  transform: rotate(0deg) translateX(calc(var(--cirth-form-element-spacing-horizontal) - var(--cirth-space-3)));
1286
- background-image: var(--cirth-icon-chevron);
1287
- background-position: 100%;
1288
- background-size: var(--cirth-size-4) auto;
1289
- content: "";
1290
- background-repeat: no-repeat;
1374
+ background-color: var(--cirth-muted-color);
1375
+ mask-image: var(--cirth-icon-chevron);
1376
+ mask-position: 100%;
1377
+ mask-size: var(--cirth-font-size-md) auto;
1291
1378
  margin-inline-start: var(--cirth-space-1);
1292
1379
  display: block;
1380
+ mask-repeat: no-repeat;
1381
+ }
1382
+
1383
+ @media (forced-colors: active) {
1384
+ .cirth details.dropdown > summary:after, .cirth details.dropdown > button:after, .cirth details.dropdown > a:after {
1385
+ background-color: canvastext;
1386
+ }
1387
+ }
1388
+
1389
+ .cirth details.dropdown > summary:after, .cirth details.dropdown > button:after, .cirth details.dropdown > a:after {
1390
+ content: "";
1293
1391
  }
1294
1392
 
1295
1393
  .cirth nav details.dropdown {
@@ -1297,7 +1395,7 @@
1297
1395
  }
1298
1396
 
1299
1397
  .cirth details.dropdown > summary:not([role]) {
1300
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1398
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
1301
1399
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
1302
1400
  border: var(--cirth-border-width) solid var(--cirth-form-element-border-color);
1303
1401
  border-radius: var(--cirth-border-radius);
@@ -1345,7 +1443,7 @@
1345
1443
  }
1346
1444
 
1347
1445
  .cirth nav details.dropdown > summary:not([role]) {
1348
- height: calc(var(--cirth-size-4) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1446
+ height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-nav-link-spacing-vertical) * 2);
1349
1447
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1350
1448
  }
1351
1449
 
@@ -1393,11 +1491,9 @@
1393
1491
  margin: calc(var(--cirth-form-element-spacing-vertical) * -.5) calc(var(--cirth-form-element-spacing-horizontal) * -1);
1394
1492
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1395
1493
  color: var(--cirth-dropdown-color);
1396
- text-overflow: ellipsis;
1397
1494
  border-radius: 0;
1398
1495
  text-decoration: none;
1399
1496
  display: block;
1400
- overflow: hidden;
1401
1497
  }
1402
1498
 
1403
1499
  .cirth details.dropdown > summary + ul li a:hover, .cirth details.dropdown > summary + ul li a:focus, .cirth details.dropdown > summary + ul li a:active, .cirth details.dropdown > summary + ul li a:focus-visible, .cirth details.dropdown > summary + ul li a[aria-current]:not([aria-current="false"]) {
@@ -1498,7 +1594,7 @@
1498
1594
  z-index: 2;
1499
1595
  }
1500
1596
 
1501
- :is(.cirth [role="search"] > :has( + small:last-child), .cirth .group > :has( + small:last-child)) {
1597
+ .cirth [role="search"] > :has( + small:last-child), .cirth .group > :has( + small:last-child) {
1502
1598
  border-start-end-radius: var(--cirth-border-radius);
1503
1599
  border-end-end-radius: var(--cirth-border-radius);
1504
1600
  }
@@ -1511,78 +1607,27 @@
1511
1607
  width: auto;
1512
1608
  }
1513
1609
 
1514
- @supports selector(:has(*)) {
1515
- :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus)) {
1516
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1517
- }
1518
-
1519
- :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1520
- border-color: #0000;
1521
- }
1522
-
1523
- :is(.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus)) {
1524
- --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1525
- }
1526
-
1527
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1528
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1529
- var(--cirth-primary-border);
1530
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1531
- var(--cirth-primary-hover-border);
1532
- }
1533
-
1534
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1535
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1536
- var(--cirth-primary-border);
1537
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1538
- var(--cirth-primary-hover-border);
1539
- }
1540
-
1541
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1542
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1543
- var(--cirth-primary-border);
1544
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1545
- var(--cirth-primary-hover-border);
1546
- }
1547
-
1548
- .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1549
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1550
- var(--cirth-primary-border);
1551
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1552
- var(--cirth-primary-hover-border);
1553
- }
1554
-
1555
- .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button {
1556
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1557
- var(--cirth-primary-border);
1558
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1559
- var(--cirth-primary-hover-border);
1560
- }
1610
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
1611
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1612
+ }
1561
1613
 
1562
- .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"] {
1563
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1564
- var(--cirth-primary-border);
1565
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1566
- var(--cirth-primary-hover-border);
1567
- }
1614
+ .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth .group:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
1615
+ border-color: #0000;
1616
+ }
1568
1617
 
1569
- .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"] {
1570
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1571
- var(--cirth-primary-border);
1572
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1573
- var(--cirth-primary-hover-border);
1574
- }
1618
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) {
1619
+ --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
1620
+ }
1575
1621
 
1576
- .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1577
- --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1578
- var(--cirth-primary-border);
1579
- --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1580
- var(--cirth-primary-hover-border);
1581
- }
1622
+ .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"], .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .cirth .group:has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
1623
+ --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
1624
+ var(--cirth-primary-border);
1625
+ --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
1626
+ var(--cirth-primary-hover-border);
1627
+ }
1582
1628
 
1583
- .cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth .group button:focus, .cirth .group [type="submit"]:focus, .cirth .group [type="reset"]:focus, .cirth .group [type="button"]:focus, .cirth .group [role="button"]:focus {
1584
- box-shadow: none;
1585
- }
1629
+ .cirth [role="search"] button:focus, .cirth [role="search"] [type="submit"]:focus, .cirth [role="search"] [type="reset"]:focus, .cirth [role="search"] [type="button"]:focus, .cirth [role="search"] [role="button"]:focus, .cirth .group button:focus, .cirth .group [type="submit"]:focus, .cirth .group [type="reset"]:focus, .cirth .group [type="button"]:focus, .cirth .group [role="button"]:focus {
1630
+ box-shadow: none;
1586
1631
  }
1587
1632
 
1588
1633
  .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
@@ -1590,32 +1635,20 @@
1590
1635
  border-end-start-radius: var(--cirth-radius-pill);
1591
1636
  }
1592
1637
 
1593
- .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])) {
1638
+ .cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-last-child(1 of :not([hidden], input[type="hidden"])), .cirth [role="search"] > :has( + small:last-child) {
1594
1639
  border-start-end-radius: var(--cirth-radius-pill);
1595
1640
  border-end-end-radius: var(--cirth-radius-pill);
1596
1641
  }
1597
1642
 
1598
- .cirth [role="search"] > :has( + small:last-child) {
1599
- border-start-end-radius: var(--cirth-radius-pill);
1600
- border-end-end-radius: var(--cirth-radius-pill);
1601
- }
1602
-
1603
- .cirth [aria-busy="true"]:not(input, select, textarea, html, form) {
1604
- white-space: nowrap;
1605
- }
1606
-
1607
1643
  .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
1608
1644
  content: "";
1609
1645
  vertical-align: -.125em;
1610
1646
  width: 1em;
1611
1647
  height: 1em;
1612
- -webkit-mask-image: var(--cirth-icon-loading);
1613
1648
  mask-image: var(--cirth-icon-loading);
1614
1649
  background-color: currentColor;
1615
1650
  display: inline-block;
1616
- -webkit-mask-size: 1em;
1617
1651
  mask-size: 1em;
1618
- -webkit-mask-repeat: no-repeat;
1619
1652
  mask-repeat: no-repeat;
1620
1653
  }
1621
1654
 
@@ -1633,10 +1666,6 @@
1633
1666
  text-align: center;
1634
1667
  }
1635
1668
 
1636
- .cirth :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[aria-busy="true"] {
1637
- white-space: normal;
1638
- }
1639
-
1640
1669
  .cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1641
1670
  background-image: var(--cirth-icon-loading);
1642
1671
  background-position: center left var(--cirth-form-element-spacing-horizontal);
@@ -1649,14 +1678,10 @@
1649
1678
  background-position: center right var(--cirth-form-element-spacing-horizontal);
1650
1679
  }
1651
1680
 
1652
- .cirth button[aria-busy="true"], .cirth [type="submit"][aria-busy="true"], .cirth [type="button"][aria-busy="true"], .cirth [type="reset"][aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
1653
- pointer-events: none;
1654
- }
1655
-
1656
1681
  .cirth meter {
1657
1682
  appearance: none;
1658
1683
  width: 100%;
1659
- height: var(--cirth-size-2);
1684
+ height: var(--cirth-space-2);
1660
1685
  margin-bottom: calc(var(--cirth-spacing) * .5);
1661
1686
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1662
1687
  border-radius: var(--cirth-border-radius);
@@ -1760,7 +1785,7 @@
1760
1785
  }
1761
1786
 
1762
1787
  .cirth dialog > article > header .close, .cirth dialog > article > header :is(a, button)[rel="prev"] {
1763
- 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);
1788
+ 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);
1764
1789
  float: right;
1765
1790
  margin-inline-start: var(--cirth-spacing);
1766
1791
  padding: 0;
@@ -1779,23 +1804,37 @@
1779
1804
  }
1780
1805
 
1781
1806
  .cirth dialog > article .close, .cirth dialog > article :is(a, button)[rel="prev"] {
1782
- 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);
1783
- 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);
1784
- 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));
1785
- 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);
1786
- 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));
1787
- background-image: var(--cirth-icon-close);
1788
- background-position: center;
1789
- background-size: auto var(--cirth-size-4);
1807
+ 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);
1808
+ 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);
1809
+ 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));
1810
+ 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);
1811
+ 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));
1790
1812
  opacity: .5;
1791
1813
  transition: opacity var(--cirth-transition);
1792
1814
  background-color: #0000;
1793
- background-repeat: no-repeat;
1794
1815
  border: none;
1795
1816
  margin-inline-start: auto;
1796
1817
  display: block;
1797
1818
  }
1798
1819
 
1820
+ .cirth dialog > article .close:before, .cirth dialog > article :is(a, button)[rel="prev"]:before {
1821
+ background-color: var(--cirth-muted-color);
1822
+ content: "";
1823
+ width: 100%;
1824
+ height: 100%;
1825
+ mask-image: var(--cirth-icon-close);
1826
+ mask-position: center;
1827
+ mask-size: auto var(--cirth-font-size-md);
1828
+ display: block;
1829
+ mask-repeat: no-repeat;
1830
+ }
1831
+
1832
+ @media (forced-colors: active) {
1833
+ .cirth dialog > article .close:before, .cirth dialog > article :is(a, button)[rel="prev"]:before {
1834
+ background-color: canvastext;
1835
+ }
1836
+ }
1837
+
1799
1838
  .cirth dialog > article .close:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
1800
1839
  opacity: 1;
1801
1840
  }
@@ -1861,7 +1900,7 @@
1861
1900
 
1862
1901
  .cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
1863
1902
  height: auto;
1864
- min-block-size: var(--cirth-size-6);
1903
+ min-block-size: var(--cirth-space-6);
1865
1904
  margin-inline: inherit;
1866
1905
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1867
1906
  margin-bottom: 0;
@@ -1949,7 +1988,7 @@
1949
1988
  vertical-align: baseline;
1950
1989
  appearance: none;
1951
1990
  width: 100%;
1952
- height: var(--cirth-size-2);
1991
+ height: var(--cirth-space-2);
1953
1992
  margin-bottom: calc(var(--cirth-spacing) * .5);
1954
1993
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
1955
1994
  border-radius: var(--cirth-border-radius);
@@ -2063,27 +2102,23 @@
2063
2102
  }
2064
2103
 
2065
2104
  .cirth {
2066
- --cirth-color-black: #000;
2067
- --cirth-color-white: #fff;
2068
- --cirth-color-transparent: transparent;
2069
- --cirth-color-current: currentColor;
2070
2105
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2071
2106
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
2072
2107
  "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
2073
2108
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
2074
2109
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2075
2110
  monospace, var(--cirth-font-family-emoji);
2076
- --cirth-font-family-display: var(--cirth-font-family-serif);
2077
2111
  --cirth-font-size-xs: .75rem;
2078
2112
  --cirth-font-size-sm: .875rem;
2079
2113
  --cirth-font-size-md: 1rem;
2080
2114
  --cirth-font-size-lg: 1.125rem;
2081
2115
  --cirth-font-size-xl: 1.25rem;
2082
- --cirth-font-size-2xl: 1.425rem;
2083
- --cirth-font-size-3xl: 1.6rem;
2084
- --cirth-font-size-4xl: 1.8rem;
2085
- --cirth-font-size-5xl: 2rem;
2086
- --cirth-font-size-6xl: 2.3rem;
2116
+ --cirth-font-size-2xl: 1.5rem;
2117
+ --cirth-font-size-3xl: 1.75rem;
2118
+ --cirth-font-size-4xl: 2rem;
2119
+ --cirth-font-size-5xl: 2.25rem;
2120
+ --cirth-font-size-6xl: 2.75rem;
2121
+ --cirth-font-size-7xl: 3.5rem;
2087
2122
  --cirth-font-weight-light: 300;
2088
2123
  --cirth-font-weight-regular: 400;
2089
2124
  --cirth-font-weight-medium: 500;
@@ -2110,19 +2145,6 @@
2110
2145
  --cirth-space-16: 4rem;
2111
2146
  --cirth-space-20: 5rem;
2112
2147
  --cirth-space-24: 6rem;
2113
- --cirth-size-0: 0;
2114
- --cirth-size-1: .25rem;
2115
- --cirth-size-2: .5rem;
2116
- --cirth-size-3: .75rem;
2117
- --cirth-size-4: 1rem;
2118
- --cirth-size-5: 1.25rem;
2119
- --cirth-size-6: 1.5rem;
2120
- --cirth-size-8: 2rem;
2121
- --cirth-size-10: 2.5rem;
2122
- --cirth-size-12: 3rem;
2123
- --cirth-size-16: 4rem;
2124
- --cirth-size-20: 5rem;
2125
- --cirth-size-24: 6rem;
2126
2148
  --cirth-radius-none: 0;
2127
2149
  --cirth-radius-xs: .125rem;
2128
2150
  --cirth-radius-sm: .25rem;
@@ -2135,9 +2157,6 @@
2135
2157
  --cirth-border-width-1: .0625rem;
2136
2158
  --cirth-border-width-2: .125rem;
2137
2159
  --cirth-border-width-4: .25rem;
2138
- --cirth-outline-width-1: .0625rem;
2139
- --cirth-outline-width-2: .125rem;
2140
- --cirth-outline-width-4: .25rem;
2141
2160
  --cirth-duration-instant: 0s;
2142
2161
  --cirth-duration-fast: .1s;
2143
2162
  --cirth-duration-normal: .2s;
@@ -2148,7 +2167,6 @@
2148
2167
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
2149
2168
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
2150
2169
  --cirth-opacity-disabled: .5;
2151
- --cirth-opacity-muted: .72;
2152
2170
  --cirth-opacity-overlay: .75;
2153
2171
  --cirth-z-index-dropdown: 1000;
2154
2172
  --cirth-z-index-sticky: 1020;
@@ -2156,6 +2174,7 @@
2156
2174
  --cirth-z-index-modal-backdrop: 1040;
2157
2175
  --cirth-z-index-modal: 1050;
2158
2176
  --cirth-font-family: var(--cirth-font-family-sans);
2177
+ --cirth-font-family-display: var(--cirth-font-family-serif);
2159
2178
  --cirth-line-height: var(--cirth-line-height-normal);
2160
2179
  --cirth-font-weight: var(--cirth-font-weight-regular);
2161
2180
  --cirth-font-size: 100%;
@@ -2167,7 +2186,8 @@
2167
2186
  --cirth-code-border-radius: min(var(--cirth-border-radius),
2168
2187
  var(--cirth-radius-sm));
2169
2188
  --cirth-border-width: var(--cirth-border-width-1);
2170
- --cirth-outline-width: var(--cirth-outline-width-2);
2189
+ --cirth-outline-width: var(--cirth-border-width-2);
2190
+ --cirth-background-color: var(--cirth-canvas);
2171
2191
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
2172
2192
  --cirth-spacing: var(--cirth-space-4);
2173
2193
  --cirth-typography-spacing-vertical: var(--cirth-space-4);
@@ -2198,13 +2218,9 @@
2198
2218
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
2199
2219
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
2200
2220
  --cirth-nav-breadcrumb-divider: ">";
2201
- --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");
2202
- --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");
2203
- --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");
2204
- --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");
2205
- --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");
2206
- --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");
2207
- --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");
2221
+ --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");
2222
+ --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");
2223
+ --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");
2208
2224
  --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");
2209
2225
  }
2210
2226
 
@@ -2226,21 +2242,27 @@
2226
2242
  }
2227
2243
 
2228
2244
  .cirth h1 {
2229
- --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2245
+ --cirth-font-size: clamp(var(--cirth-font-size-5xl),
2246
+ 1.7rem + 2.2vw,
2247
+ var(--cirth-font-size-7xl));
2230
2248
  --cirth-line-height: var(--cirth-line-height-tight);
2231
2249
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2232
2250
  --cirth-typography-spacing-top: var(--cirth-space-12);
2233
2251
  }
2234
2252
 
2235
2253
  .cirth h2 {
2236
- --cirth-font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
2254
+ --cirth-font-size: clamp(var(--cirth-font-size-2xl),
2255
+ 1.3rem + 1vw,
2256
+ var(--cirth-font-size-4xl));
2237
2257
  --cirth-line-height: 1.15;
2238
2258
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2239
2259
  --cirth-typography-spacing-top: var(--cirth-space-12);
2240
2260
  }
2241
2261
 
2242
2262
  .cirth h3 {
2243
- --cirth-font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
2263
+ --cirth-font-size: clamp(var(--cirth-font-size-xl),
2264
+ 1.15rem + .5vw,
2265
+ var(--cirth-font-size-2xl));
2244
2266
  --cirth-line-height: 1.2;
2245
2267
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
2246
2268
  --cirth-typography-spacing-top: var(--cirth-space-10);
@@ -2288,7 +2310,7 @@
2288
2310
  }
2289
2311
 
2290
2312
  .cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), .cirth :where(select, textarea) {
2291
- --cirth-outline-width: var(--cirth-outline-width-1);
2313
+ --cirth-outline-width: var(--cirth-border-width-1);
2292
2314
  --cirth-line-height: var(--cirth-line-height-relaxed);
2293
2315
  }
2294
2316
 
@@ -2323,18 +2345,18 @@
2323
2345
  }
2324
2346
 
2325
2347
  .cirth details.dropdown summary:not([role="button"]) {
2326
- --cirth-outline-width: var(--cirth-outline-width-1);
2348
+ --cirth-outline-width: var(--cirth-border-width-1);
2327
2349
  }
2328
2350
 
2329
2351
  .cirth nav details.dropdown summary:focus-visible {
2330
- --cirth-outline-width: var(--cirth-outline-width-2);
2352
+ --cirth-outline-width: var(--cirth-border-width-2);
2331
2353
  }
2332
2354
 
2333
2355
  .cirth [role="search"] {
2334
2356
  --cirth-border-radius: var(--cirth-radius-pill);
2335
2357
  }
2336
2358
 
2337
- :is(.cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus)) {
2359
+ .cirth [role="search"]:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus), .cirth .group:has(button.secondary:focus, [type="submit"].secondary:focus, [type="button"].secondary:focus, [role="button"].secondary:focus) {
2338
2360
  --cirth-group-box-shadow-focus-with-button: 0
2339
2361
  0
2340
2362
  0
@@ -2342,7 +2364,7 @@
2342
2364
  var(--cirth-secondary-focus);
2343
2365
  }
2344
2366
 
2345
- :is(.cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus)) {
2367
+ .cirth [role="search"]:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus), .cirth .group:has(button.contrast:focus, [type="submit"].contrast:focus, [type="button"].contrast:focus, [role="button"].contrast:focus) {
2346
2368
  --cirth-group-box-shadow-focus-with-button: 0
2347
2369
  0
2348
2370
  0
@@ -2358,112 +2380,133 @@
2358
2380
  filter: brightness(0) invert();
2359
2381
  }
2360
2382
 
2383
+ .cirth {
2384
+ --cirth-canvas: light-dark(oklch(97.4% .004 69.35), oklch(20.15% .003 264));
2385
+ --cirth-color: light-dark(oklch(35.3% .021 264), oklch(83% .016 264));
2386
+ --cirth-text-selection-color: light-dark(oklch(65.7% .121 69.35 / .25), oklch(70% .129 69.35 / .1875));
2387
+ --cirth-muted-color: light-dark(oklch(52.7% .032 264), oklch(61.3% .032 264));
2388
+ --cirth-muted-border-color: light-dark(oklch(93.85% .003 264), oklch(26.7% .011 264));
2389
+ --cirth-error: light-dark(oklch(44% .151 29.73), oklch(74.3% .133 29.73));
2390
+ --cirth-success: light-dark(oklch(52.7% .1 160.59), oklch(65.7% .125 160.59));
2391
+ --cirth-warning: light-dark(oklch(48.3% .086 78), oklch(70% .124 78));
2392
+ --cirth-primary: light-dark(oklch(52.7% .097 69.35), oklch(70% .129 69.35));
2393
+ --cirth-secondary: light-dark(oklch(52.7% .032 264), oklch(70% .028 264));
2394
+ --cirth-secondary-underline: light-dark(oklch(52.7% .032 264 / .5), oklch(70% .028 264 / .5));
2395
+ --cirth-secondary-hover: light-dark(oklch(44% .028 264), oklch(78.7% .021 264));
2396
+ --cirth-secondary-hover-background: light-dark(oklch(44% .028 264), oklch(52.7% .032 264));
2397
+ --cirth-secondary-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(70% .028 264 / .7));
2398
+ --cirth-contrast: light-dark(oklch(22.3% .006 264), oklch(91.7% .006 264));
2399
+ --cirth-contrast-background: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2400
+ --cirth-contrast-underline: light-dark(oklch(22.3% .006 264 / .5), oklch(91.7% .006 264 / .5));
2401
+ --cirth-contrast-hover: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2402
+ --cirth-contrast-hover-background: light-dark(oklch(0% 0 0), oklch(100% 0 0));
2403
+ --cirth-contrast-focus: light-dark(oklch(48.3% .03 264 / .7), oklch(87.3% .011 264 / .5));
2404
+ --cirth-contrast-inverse: light-dark(oklch(100% 0 0), oklch(0% 0 0));
2405
+ --cirth-link-visited-color: light-dark(oklch(48.3% .03 264), oklch(65.7% .03 264));
2406
+ --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),
2407
+ .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));
2408
+ --cirth-h1-color: light-dark(oklch(22.3% .006 264), oklch(96% 0 264));
2409
+ --cirth-h2-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2410
+ --cirth-h3-color: light-dark(oklch(31% .016 264), oklch(83% .016 264));
2411
+ --cirth-h4-color: light-dark(oklch(35.3% .021 264), oklch(78.7% .021 264));
2412
+ --cirth-h5-color: light-dark(oklch(39.7% .025 264), oklch(74.3% .025 264));
2413
+ --cirth-h6-color: light-dark(oklch(44% .028 264), oklch(65.7% .03 264));
2414
+ --cirth-mark-color: light-dark(oklch(18% 0 264), oklch(100% 0 0));
2415
+ --cirth-code-background-color: light-dark(oklch(97% 0 288), oklch(23.4% .00725 264));
2416
+ --cirth-code-color: light-dark(oklch(52.7% .032 264), oklch(65.7% .03 264));
2417
+ --cirth-form-element-background-color: light-dark(oklch(99% 0 336), oklch(24.5% .0085 264));
2418
+ --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .006 264), oklch(31% .016 264));
2419
+ --cirth-form-element-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2420
+ --cirth-form-element-color: light-dark(oklch(26.7% .011 264), oklch(91.7% .006 264));
2421
+ --cirth-form-element-active-background-color: light-dark(oklch(100% 0 0), oklch(23.4% .00725 264));
2422
+ --cirth-switch-background-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2423
+ --cirth-range-border-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2424
+ --cirth-range-active-border-color: light-dark(oklch(83% .016 264), oklch(31% .016 264));
2425
+ --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2426
+ --cirth-card-sectioning-background-color: light-dark(oklch(99% 0 336), oklch(23.4% .00725 264));
2427
+ --cirth-dropdown-background-color: light-dark(oklch(100% 0 0), oklch(22.3% .006 264));
2428
+ --cirth-dropdown-border-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2429
+ --cirth-dropdown-hover-background-color: light-dark(oklch(96% 0 264), oklch(26.7% .011 264));
2430
+ --cirth-progress-background-color: light-dark(oklch(91.7% .006 264), oklch(26.7% .011 264));
2431
+ --cirth-progress-border-color: light-dark(oklch(61.3% .032 264), oklch(52.7% .032 264));
2432
+ }
2433
+
2361
2434
  .cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
2362
- --lightningcss-light: initial;
2363
- --lightningcss-dark: ;
2364
2435
  color-scheme: light;
2365
- --cirth-background-color: oklch(97.4% .004 69.35);
2366
- --cirth-color: oklch(35.3% .021 264);
2367
- --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2368
- --cirth-muted-color: oklch(52.7% .032 264);
2369
- --cirth-muted-border-color: oklch(93.85% .003 264);
2370
- --cirth-primary: oklch(52.7% .097 69.35);
2371
- --cirth-primary-background: oklch(52.7% .097 69.35);
2436
+ --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
2437
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
2438
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
2439
+ --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
2440
+ --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
2441
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
2442
+ --cirth-success-active: var(--cirth-success);
2443
+ --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
2444
+ --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
2445
+ --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
2446
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
2447
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
2448
+ --cirth-primary-background: var(--cirth-primary);
2372
2449
  --cirth-primary-border: var(--cirth-primary-background);
2373
- --cirth-primary-underline: oklch(52.7% .097 69.35 / .5);
2374
- --cirth-primary-hover: oklch(44% .081 69.35);
2375
- --cirth-primary-hover-background: oklch(48.3% .089 69.35);
2450
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2451
+ --cirth-primary-hover: color-mix(in oklch, var(--cirth-primary) 83.5%, black);
2452
+ --cirth-primary-hover-background: color-mix(in oklch,
2453
+ var(--cirth-primary) 91.7%,
2454
+ black);
2376
2455
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2377
2456
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2378
- --cirth-primary-focus: oklch(52.7% .097 69.35 / .75);
2457
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
2379
2458
  --cirth-primary-inverse: oklch(100% 0 0);
2380
- --cirth-secondary: oklch(52.7% .032 264);
2381
2459
  --cirth-secondary-background: oklch(48.3% .03 264);
2382
2460
  --cirth-secondary-border: var(--cirth-secondary-background);
2383
- --cirth-secondary-underline: oklch(52.7% .032 264 / .5);
2384
- --cirth-secondary-hover: oklch(44% .028 264);
2385
- --cirth-secondary-hover-background: oklch(44% .028 264);
2386
2461
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2387
2462
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2388
- --cirth-secondary-focus: oklch(48.3% .03 264 / .7);
2389
2463
  --cirth-secondary-inverse: oklch(100% 0 0);
2390
- --cirth-contrast: oklch(22.3% .006 264);
2391
- --cirth-contrast-background: oklch(22.3% .006 264);
2392
2464
  --cirth-contrast-border: var(--cirth-contrast-background);
2393
- --cirth-contrast-underline: oklch(22.3% .006 264 / .5);
2394
- --cirth-contrast-hover: oklch(0% 0 0);
2395
- --cirth-contrast-hover-background: oklch(0% 0 0);
2396
2465
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2397
2466
  --cirth-contrast-hover-underline: var(--cirth-secondary-hover);
2398
- --cirth-contrast-focus: oklch(48.3% .03 264 / .7);
2399
- --cirth-contrast-inverse: oklch(100% 0 0);
2400
- --cirth-link-visited-color: oklch(48.3% .03 264);
2401
- --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);
2402
- --cirth-h1-color: oklch(22.3% .006 264);
2403
- --cirth-h2-color: oklch(26.7% .011 264);
2404
- --cirth-h3-color: oklch(31% .016 264);
2405
- --cirth-h4-color: oklch(35.3% .021 264);
2406
- --cirth-h5-color: oklch(39.7% .025 264);
2407
- --cirth-h6-color: oklch(44% .028 264);
2408
- --cirth-mark-background-color: oklch(93% .05 78);
2409
- --cirth-mark-color: oklch(18% 0 264);
2410
- --cirth-ins-color: oklch(35.3% .067 160.59);
2411
- --cirth-del-color: oklch(35.3% .122 29.73);
2467
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2468
+ --cirth-ins-color: var(--cirth-success-text);
2469
+ --cirth-del-color: var(--cirth-error-text);
2412
2470
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2413
2471
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2414
2472
  --cirth-button-box-shadow: 0 0 0 #0000;
2415
2473
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2416
2474
  --cirth-table-border-color: var(--cirth-muted-border-color);
2417
2475
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2418
- --cirth-code-background-color: oklch(97% 0 288);
2419
- --cirth-code-color: oklch(52.7% .032 264);
2420
2476
  --cirth-code-kbd-background-color: var(--cirth-color);
2421
2477
  --cirth-code-kbd-color: var(--cirth-background-color);
2422
- --cirth-form-element-background-color: oklch(99% 0 336);
2423
- --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2424
- --cirth-form-element-border-color: oklch(61.3% .032 264);
2425
- --cirth-form-element-color: oklch(26.7% .011 264);
2426
2478
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2427
- --cirth-form-element-active-background-color: oklch(100% 0 0);
2428
2479
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2429
2480
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2430
2481
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2431
- --cirth-form-element-invalid-border-color: oklch(65.7% .196 29.73);
2432
- --cirth-form-element-invalid-active-border-color: oklch(52.7% .181 29.73);
2482
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2483
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2433
2484
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2434
- --cirth-form-element-valid-border-color: oklch(61.3% .117 160.59);
2435
- --cirth-form-element-valid-active-border-color: oklch(52.7% .1 160.59);
2485
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2486
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2436
2487
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2437
- --cirth-switch-background-color: oklch(61.3% .032 264);
2488
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2438
2489
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2439
2490
  --cirth-switch-color: var(--cirth-primary-inverse);
2440
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2441
- --cirth-range-border-color: oklch(91.7% .006 264);
2442
- --cirth-range-active-border-color: oklch(83% .016 264);
2443
2491
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2444
2492
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2445
2493
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2446
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2447
2494
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2448
2495
  --cirth-accordion-close-summary-color: var(--cirth-color);
2449
2496
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2450
- --cirth-card-background-color: oklch(100% 0 0);
2451
2497
  --cirth-card-border-color: var(--cirth-muted-border-color);
2452
2498
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2453
- --cirth-card-sectioning-background-color: oklch(99% 0 336);
2454
- --cirth-dropdown-background-color: oklch(100% 0 0);
2455
- --cirth-dropdown-border-color: oklch(96% 0 264);
2456
2499
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2457
2500
  --cirth-dropdown-color: var(--cirth-color);
2458
- --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2459
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2460
2501
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2461
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2462
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2463
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2464
- --cirth-progress-background-color: oklch(91.7% .006 264);
2465
- --cirth-progress-border-color: oklch(61.3% .032 264);
2502
+ --cirth-meter-optimum-color: var(--cirth-success);
2503
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2504
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2466
2505
  --cirth-progress-color: var(--cirth-primary-background);
2506
+ --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");
2507
+ --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");
2508
+ --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");
2509
+ --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");
2467
2510
  --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");
2468
2511
  --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");
2469
2512
  }
@@ -2474,111 +2517,83 @@
2474
2517
 
2475
2518
  @media only screen and (prefers-color-scheme: dark) {
2476
2519
  .cirth:where(:not([data-theme])) {
2477
- --lightningcss-light: ;
2478
- --lightningcss-dark: initial;
2479
2520
  color-scheme: dark;
2480
- --cirth-background-color: oklch(20.15% .003 264);
2481
- --cirth-color: oklch(83% .016 264);
2482
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2483
- --cirth-muted-color: oklch(61.3% .032 264);
2484
- --cirth-muted-border-color: oklch(26.7% .011 264);
2485
- --cirth-primary: oklch(70% .129 69.35);
2486
- --cirth-primary-background: oklch(52.7% .097 69.35);
2521
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2522
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2523
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2524
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2525
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2526
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2527
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2528
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2529
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2530
+ --cirth-warning-border: var(--cirth-warning);
2531
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2532
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2533
+ --cirth-primary-background: color-mix(in oklch,
2534
+ var(--cirth-primary) 75.2%,
2535
+ black);
2487
2536
  --cirth-primary-border: var(--cirth-primary-background);
2488
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2489
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2490
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2537
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2538
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2539
+ --cirth-primary-hover-background: color-mix(in oklch,
2540
+ var(--cirth-primary) 81.4%,
2541
+ black);
2491
2542
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2492
2543
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2493
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2544
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2494
2545
  --cirth-primary-inverse: oklch(100% 0 0);
2495
- --cirth-secondary: oklch(70% .028 264);
2496
2546
  --cirth-secondary-background: oklch(48.3% .03 264);
2497
2547
  --cirth-secondary-border: var(--cirth-secondary-background);
2498
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2499
- --cirth-secondary-hover: oklch(78.7% .021 264);
2500
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2501
2548
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2502
2549
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2503
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2504
2550
  --cirth-secondary-inverse: oklch(100% 0 0);
2505
- --cirth-contrast: oklch(91.7% .006 264);
2506
- --cirth-contrast-background: oklch(96% 0 264);
2507
2551
  --cirth-contrast-border: var(--cirth-contrast-background);
2508
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2509
- --cirth-contrast-hover: oklch(100% 0 0);
2510
- --cirth-contrast-hover-background: oklch(100% 0 0);
2511
2552
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2512
2553
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2513
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2514
- --cirth-contrast-inverse: oklch(0% 0 0);
2515
- --cirth-link-visited-color: oklch(65.7% .03 264);
2516
- --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);
2517
- --cirth-h1-color: oklch(96% 0 264);
2518
- --cirth-h2-color: oklch(91.7% .006 264);
2519
- --cirth-h3-color: oklch(83% .016 264);
2520
- --cirth-h4-color: oklch(78.7% .021 264);
2521
- --cirth-h5-color: oklch(74.3% .025 264);
2522
- --cirth-h6-color: oklch(65.7% .03 264);
2523
- --cirth-mark-background-color: oklch(35.3% .063 78);
2524
- --cirth-mark-color: oklch(100% 0 0);
2525
- --cirth-ins-color: oklch(78.7% .15 160.59);
2526
- --cirth-del-color: oklch(78.7% .106 29.73);
2554
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2555
+ --cirth-ins-color: var(--cirth-success-text);
2556
+ --cirth-del-color: var(--cirth-error-text);
2527
2557
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2528
2558
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2529
2559
  --cirth-button-box-shadow: 0 0 0 #0000;
2530
2560
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2531
2561
  --cirth-table-border-color: var(--cirth-muted-border-color);
2532
2562
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2533
- --cirth-code-background-color: oklch(23.4% .00725 264);
2534
- --cirth-code-color: oklch(65.7% .03 264);
2535
2563
  --cirth-code-kbd-background-color: var(--cirth-color);
2536
2564
  --cirth-code-kbd-color: var(--cirth-background-color);
2537
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2538
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2539
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2540
- --cirth-form-element-color: oklch(91.7% .006 264);
2541
2565
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2542
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2543
2566
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2544
2567
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2545
2568
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2546
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2547
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2569
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2570
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2548
2571
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2549
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2550
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2572
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2573
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2551
2574
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2552
- --cirth-switch-background-color: oklch(52.7% .032 264);
2575
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2553
2576
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2554
2577
  --cirth-switch-color: var(--cirth-primary-inverse);
2555
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2556
- --cirth-range-border-color: oklch(26.7% .011 264);
2557
- --cirth-range-active-border-color: oklch(31% .016 264);
2558
2578
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2559
2579
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2560
2580
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2561
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2562
2581
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2563
2582
  --cirth-accordion-close-summary-color: var(--cirth-color);
2564
2583
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2565
- --cirth-card-background-color: oklch(22.3% .006 264);
2566
2584
  --cirth-card-border-color: var(--cirth-card-background-color);
2567
2585
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2568
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2569
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2570
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2571
2586
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2572
2587
  --cirth-dropdown-color: var(--cirth-color);
2573
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2574
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2575
2588
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2576
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2577
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2578
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2579
- --cirth-progress-background-color: oklch(26.7% .011 264);
2580
- --cirth-progress-border-color: oklch(52.7% .032 264);
2589
+ --cirth-meter-optimum-color: var(--cirth-success);
2590
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2591
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2581
2592
  --cirth-progress-color: oklch(61.3% .113 69.35);
2593
+ --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");
2594
+ --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");
2595
+ --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");
2596
+ --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");
2582
2597
  --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");
2583
2598
  --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");
2584
2599
  }
@@ -2593,111 +2608,83 @@
2593
2608
  }
2594
2609
 
2595
2610
  .cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
2596
- --lightningcss-light: ;
2597
- --lightningcss-dark: initial;
2598
2611
  color-scheme: dark;
2599
- --cirth-background-color: oklch(20.15% .003 264);
2600
- --cirth-color: oklch(83% .016 264);
2601
- --cirth-text-selection-color: oklch(70% .129 69.35 / .1875);
2602
- --cirth-muted-color: oklch(61.3% .032 264);
2603
- --cirth-muted-border-color: oklch(26.7% .011 264);
2604
- --cirth-primary: oklch(70% .129 69.35);
2605
- --cirth-primary-background: oklch(52.7% .097 69.35);
2612
+ --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2613
+ --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
2614
+ --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
2615
+ --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
2616
+ --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2617
+ --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
2618
+ --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
2619
+ --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
2620
+ --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2621
+ --cirth-warning-border: var(--cirth-warning);
2622
+ --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
2623
+ --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
2624
+ --cirth-primary-background: color-mix(in oklch,
2625
+ var(--cirth-primary) 75.2%,
2626
+ black);
2606
2627
  --cirth-primary-border: var(--cirth-primary-background);
2607
- --cirth-primary-underline: oklch(70% .129 69.35 / .5);
2608
- --cirth-primary-hover: oklch(78.7% .146 69.35);
2609
- --cirth-primary-hover-background: oklch(57% .105 69.35);
2628
+ --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
2629
+ --cirth-primary-hover: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
2630
+ --cirth-primary-hover-background: color-mix(in oklch,
2631
+ var(--cirth-primary) 81.4%,
2632
+ black);
2610
2633
  --cirth-primary-hover-border: var(--cirth-primary-hover-background);
2611
2634
  --cirth-primary-hover-underline: var(--cirth-primary-hover);
2612
- --cirth-primary-focus: oklch(70% .129 69.35 / .7);
2635
+ --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 70%);
2613
2636
  --cirth-primary-inverse: oklch(100% 0 0);
2614
- --cirth-secondary: oklch(70% .028 264);
2615
2637
  --cirth-secondary-background: oklch(48.3% .03 264);
2616
2638
  --cirth-secondary-border: var(--cirth-secondary-background);
2617
- --cirth-secondary-underline: oklch(70% .028 264 / .5);
2618
- --cirth-secondary-hover: oklch(78.7% .021 264);
2619
- --cirth-secondary-hover-background: oklch(52.7% .032 264);
2620
2639
  --cirth-secondary-hover-border: var(--cirth-secondary-hover-background);
2621
2640
  --cirth-secondary-hover-underline: var(--cirth-secondary-hover);
2622
- --cirth-secondary-focus: oklch(70% .028 264 / .7);
2623
2641
  --cirth-secondary-inverse: oklch(100% 0 0);
2624
- --cirth-contrast: oklch(91.7% .006 264);
2625
- --cirth-contrast-background: oklch(96% 0 264);
2626
2642
  --cirth-contrast-border: var(--cirth-contrast-background);
2627
- --cirth-contrast-underline: oklch(91.7% .006 264 / .5);
2628
- --cirth-contrast-hover: oklch(100% 0 0);
2629
- --cirth-contrast-hover-background: oklch(100% 0 0);
2630
2643
  --cirth-contrast-hover-border: var(--cirth-contrast-hover-background);
2631
2644
  --cirth-contrast-hover-underline: var(--cirth-contrast-hover);
2632
- --cirth-contrast-focus: oklch(87.3% .011 264 / .5);
2633
- --cirth-contrast-inverse: oklch(0% 0 0);
2634
- --cirth-link-visited-color: oklch(65.7% .03 264);
2635
- --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);
2636
- --cirth-h1-color: oklch(96% 0 264);
2637
- --cirth-h2-color: oklch(91.7% .006 264);
2638
- --cirth-h3-color: oklch(83% .016 264);
2639
- --cirth-h4-color: oklch(78.7% .021 264);
2640
- --cirth-h5-color: oklch(74.3% .025 264);
2641
- --cirth-h6-color: oklch(65.7% .03 264);
2642
- --cirth-mark-background-color: oklch(35.3% .063 78);
2643
- --cirth-mark-color: oklch(100% 0 0);
2644
- --cirth-ins-color: oklch(78.7% .15 160.59);
2645
- --cirth-del-color: oklch(78.7% .106 29.73);
2645
+ --cirth-mark-background-color: var(--cirth-warning-surface);
2646
+ --cirth-ins-color: var(--cirth-success-text);
2647
+ --cirth-del-color: var(--cirth-error-text);
2646
2648
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
2647
2649
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
2648
2650
  --cirth-button-box-shadow: 0 0 0 #0000;
2649
2651
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
2650
2652
  --cirth-table-border-color: var(--cirth-muted-border-color);
2651
2653
  --cirth-table-row-stripped-background-color: oklch(57% .032 264 / .0375);
2652
- --cirth-code-background-color: oklch(23.4% .00725 264);
2653
- --cirth-code-color: oklch(65.7% .03 264);
2654
2654
  --cirth-code-kbd-background-color: var(--cirth-color);
2655
2655
  --cirth-code-kbd-color: var(--cirth-background-color);
2656
- --cirth-form-element-background-color: oklch(24.5% .0085 264);
2657
- --cirth-form-element-selected-background-color: oklch(31% .016 264);
2658
- --cirth-form-element-border-color: oklch(52.7% .032 264);
2659
- --cirth-form-element-color: oklch(91.7% .006 264);
2660
2656
  --cirth-form-element-placeholder-color: oklch(65.7% .03 264);
2661
- --cirth-form-element-active-background-color: oklch(23.4% .00725 264);
2662
2657
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
2663
2658
  --cirth-form-element-focus-color: var(--cirth-primary-border);
2664
2659
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
2665
- --cirth-form-element-invalid-border-color: oklch(70% .163 29.73);
2666
- --cirth-form-element-invalid-active-border-color: oklch(78.7% .106 29.73);
2660
+ --cirth-form-element-invalid-border-color: var(--cirth-error-border);
2661
+ --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
2667
2662
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
2668
- --cirth-form-element-valid-border-color: oklch(70% .133 160.59);
2669
- --cirth-form-element-valid-active-border-color: oklch(78.7% .15 160.59);
2663
+ --cirth-form-element-valid-border-color: var(--cirth-success-border);
2664
+ --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
2670
2665
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
2671
- --cirth-switch-background-color: oklch(52.7% .032 264);
2666
+ --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2672
2667
  --cirth-switch-checked-background-color: var(--cirth-primary-background);
2673
2668
  --cirth-switch-color: var(--cirth-primary-inverse);
2674
- --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
2675
- --cirth-range-border-color: oklch(26.7% .011 264);
2676
- --cirth-range-active-border-color: oklch(31% .016 264);
2677
2669
  --cirth-range-thumb-border-color: var(--cirth-background-color);
2678
2670
  --cirth-range-thumb-color: var(--cirth-secondary-background);
2679
2671
  --cirth-range-thumb-active-color: var(--cirth-primary-background);
2680
- --cirth-accordion-border-color: var(--cirth-muted-border-color);
2681
2672
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2682
2673
  --cirth-accordion-close-summary-color: var(--cirth-color);
2683
2674
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2684
- --cirth-card-background-color: oklch(22.3% .006 264);
2685
2675
  --cirth-card-border-color: var(--cirth-card-background-color);
2686
2676
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2687
- --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2688
- --cirth-dropdown-background-color: oklch(22.3% .006 264);
2689
- --cirth-dropdown-border-color: oklch(26.7% .011 264);
2690
2677
  --cirth-dropdown-box-shadow: var(--cirth-box-shadow);
2691
2678
  --cirth-dropdown-color: var(--cirth-color);
2692
- --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2693
- --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2694
2679
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2695
- --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2696
- --cirth-meter-suboptimum-color: oklch(70% .124 78);
2697
- --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2698
- --cirth-progress-background-color: oklch(26.7% .011 264);
2699
- --cirth-progress-border-color: oklch(52.7% .032 264);
2680
+ --cirth-meter-optimum-color: var(--cirth-success);
2681
+ --cirth-meter-suboptimum-color: var(--cirth-warning);
2682
+ --cirth-meter-even-less-good-color: var(--cirth-error);
2700
2683
  --cirth-progress-color: oklch(61.3% .113 69.35);
2684
+ --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");
2685
+ --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");
2686
+ --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");
2687
+ --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");
2701
2688
  --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");
2702
2689
  --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");
2703
2690
  }
@@ -2728,6 +2715,10 @@
2728
2715
  --cirth-code-color: oklch(35.3% .021 264);
2729
2716
  --cirth-link-visited-color: oklch(35.3% .021 264);
2730
2717
  --cirth-muted-border-color: oklch(57% .032 264);
2718
+ --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");
2719
+ --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");
2720
+ --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");
2721
+ --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");
2731
2722
  --cirth-form-element-border-color: oklch(39.7% .025 264);
2732
2723
  --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2733
2724
  --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
@@ -2758,6 +2749,10 @@
2758
2749
  --cirth-h5-color: var(--cirth-color);
2759
2750
  --cirth-h6-color: var(--cirth-color);
2760
2751
  --cirth-muted-color: oklch(78.7% .021 264);
2752
+ --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");
2753
+ --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");
2754
+ --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");
2755
+ --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");
2761
2756
  --cirth-secondary: oklch(78.7% .021 264);
2762
2757
  --cirth-code-color: oklch(83% .016 264);
2763
2758
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2768,6 +2763,8 @@
2768
2763
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2769
2764
  --cirth-primary: oklch(78.7% .146 69.35);
2770
2765
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2766
+ --cirth-primary-background: oklch(44% .081 69.35);
2767
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2771
2768
  --cirth-primary-underline: var(--cirth-primary);
2772
2769
  --cirth-secondary-underline: var(--cirth-secondary);
2773
2770
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2793,6 +2790,10 @@
2793
2790
  --cirth-h5-color: var(--cirth-color);
2794
2791
  --cirth-h6-color: var(--cirth-color);
2795
2792
  --cirth-muted-color: oklch(78.7% .021 264);
2793
+ --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");
2794
+ --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");
2795
+ --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");
2796
+ --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");
2796
2797
  --cirth-secondary: oklch(78.7% .021 264);
2797
2798
  --cirth-code-color: oklch(83% .016 264);
2798
2799
  --cirth-link-visited-color: oklch(78.7% .021 264);
@@ -2803,6 +2804,8 @@
2803
2804
  --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2804
2805
  --cirth-primary: oklch(78.7% .146 69.35);
2805
2806
  --cirth-primary-hover: oklch(87.3% .082 69.35);
2807
+ --cirth-primary-background: oklch(44% .081 69.35);
2808
+ --cirth-primary-hover-background: oklch(39.7% .073 69.35);
2806
2809
  --cirth-primary-underline: var(--cirth-primary);
2807
2810
  --cirth-secondary-underline: var(--cirth-secondary);
2808
2811
  --cirth-contrast-underline: var(--cirth-contrast);
@@ -2817,133 +2820,3 @@
2817
2820
  --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2818
2821
  }
2819
2822
  }
2820
-
2821
- @media print {
2822
- .cirth {
2823
- --cirth-print-color: oklch(0% 0 0);
2824
- --cirth-print-muted-color: oklch(48.3% .03 264);
2825
- --cirth-print-border-color: oklch(61.3% .032 264);
2826
- color: var(--cirth-print-color);
2827
- --lightningcss-light: initial;
2828
- --lightningcss-dark: ;
2829
- --lightningcss-light: initial;
2830
- --lightningcss-dark: ;
2831
- color-scheme: light;
2832
- --cirth-color: var(--cirth-print-color);
2833
- --cirth-h1-color: var(--cirth-print-color);
2834
- --cirth-h2-color: var(--cirth-print-color);
2835
- --cirth-h3-color: var(--cirth-print-color);
2836
- --cirth-h4-color: var(--cirth-print-color);
2837
- --cirth-h5-color: var(--cirth-print-color);
2838
- --cirth-h6-color: var(--cirth-print-color);
2839
- --cirth-code-color: var(--cirth-print-color);
2840
- --cirth-code-kbd-color: var(--cirth-print-color);
2841
- --cirth-form-element-color: var(--cirth-print-color);
2842
- --cirth-muted-color: var(--cirth-print-muted-color);
2843
- --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2844
- --cirth-primary: var(--cirth-print-color);
2845
- --cirth-primary-hover: var(--cirth-print-color);
2846
- --cirth-primary-underline: var(--cirth-print-color);
2847
- --cirth-secondary: var(--cirth-print-color);
2848
- --cirth-secondary-underline: var(--cirth-print-color);
2849
- --cirth-contrast: var(--cirth-print-color);
2850
- --cirth-contrast-underline: var(--cirth-print-color);
2851
- --cirth-link-visited-color: var(--cirth-print-color);
2852
- --cirth-muted-border-color: var(--cirth-print-border-color);
2853
- --cirth-form-element-border-color: var(--cirth-print-border-color);
2854
- --cirth-box-shadow: none;
2855
- --cirth-card-box-shadow: none;
2856
- --cirth-card-background-color: transparent;
2857
- --cirth-card-sectioning-background-color: transparent;
2858
- --cirth-code-background-color: transparent;
2859
- --cirth-code-kbd-background-color: transparent;
2860
- --cirth-form-element-background-color: transparent;
2861
- --cirth-form-element-active-background-color: transparent;
2862
- --cirth-table-row-stripped-background-color: transparent;
2863
- --cirth-modal-overlay-background-color: transparent;
2864
- --cirth-dropdown-background-color: transparent;
2865
- --cirth-dropdown-box-shadow: none;
2866
- --cirth-ins-color: oklch(35.3% .067 160.59);
2867
- --cirth-del-color: oklch(35.3% .122 29.73);
2868
- --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2869
- --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2870
- --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2871
- background: none;
2872
- }
2873
-
2874
- .cirth kbd {
2875
- border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2876
- }
2877
-
2878
- .cirth :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2879
- border-color: var(--cirth-print-border-color);
2880
- box-shadow: none;
2881
- color: var(--cirth-print-color);
2882
- background: none;
2883
- }
2884
-
2885
- .cirth [type="file"]::file-selector-button {
2886
- border-color: var(--cirth-print-border-color);
2887
- box-shadow: none;
2888
- color: var(--cirth-print-color);
2889
- background: none;
2890
- }
2891
-
2892
- .cirth :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2893
- -webkit-print-color-adjust: exact;
2894
- print-color-adjust: exact;
2895
- }
2896
-
2897
- .cirth a[href^="http"]:not([role="button"], nav a):after {
2898
- content: " (" attr(href) ")";
2899
- color: var(--cirth-print-muted-color);
2900
- font-size: var(--cirth-font-size-sm);
2901
- word-break: break-all;
2902
- }
2903
-
2904
- .cirth thead {
2905
- display: table-header-group;
2906
- }
2907
-
2908
- .cirth tfoot {
2909
- display: table-footer-group;
2910
- }
2911
-
2912
- .cirth tr {
2913
- break-inside: avoid;
2914
- }
2915
-
2916
- .cirth pre {
2917
- white-space: pre-wrap;
2918
- overflow: visible;
2919
- }
2920
-
2921
- .cirth .overflow-auto {
2922
- overflow: visible;
2923
- }
2924
-
2925
- .cirth dialog {
2926
- backdrop-filter: none;
2927
- min-width: 0;
2928
- min-height: 0;
2929
- position: static;
2930
- }
2931
-
2932
- .cirth dialog > article {
2933
- max-height: none;
2934
- overflow: visible;
2935
- }
2936
-
2937
- .cirth :is(h1, h2, h3, h4, h5, h6) {
2938
- break-after: avoid;
2939
- }
2940
-
2941
- .cirth :is(figure, img) {
2942
- break-inside: avoid;
2943
- }
2944
-
2945
- .cirth :is(blockquote, li, p) {
2946
- orphans: 3;
2947
- widows: 3;
2948
- }
2949
- }