.cirth, .cirth *, .cirth :before, .cirth :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

.cirth:before, .cirth:after, .cirth :before, .cirth :after {
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
}

.cirth {
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--cirth-background-color);
  color: var(--cirth-color);
  font-weight: var(--cirth-font-weight);
  font-size: var(--cirth-font-size);
  line-height: var(--cirth-line-height);
  font-family: var(--cirth-font-family);
  text-underline-offset: var(--cirth-text-underline-offset);
  text-rendering: optimizelegibility;
  overflow-wrap: break-word;
  tab-size: 4;
  width: 100%;
  margin: 0;
}

.cirth main {
  display: block;
}

.cirth > header, .cirth > main, .cirth > footer {
  grid-template-columns: [full-start] minmax(var(--cirth-container-gutter), 1fr) [content-start] minmax(0, var(--cirth-container-max-width)) [content-end] minmax(var(--cirth-container-gutter), 1fr) [full-end];
  padding-block: var(--cirth-block-spacing-vertical);
  display: grid;
}

.cirth > header > *, .cirth > main > *, .cirth > footer > * {
  grid-column: content;
}

.cirth section {
  margin-bottom: var(--cirth-block-spacing-vertical);
}

.cirth main > section + section {
  margin-block-start: var(--cirth-space-8);
}

.cirth b, .cirth strong {
  font-weight: bolder;
}

.cirth sub, .cirth sup {
  vertical-align: baseline;
  font-size: .75em;
  line-height: 0;
  position: relative;
}

.cirth sub {
  bottom: -.25em;
}

.cirth sup {
  top: -.5em;
}

.cirth address, .cirth blockquote, .cirth dl, .cirth ol, .cirth p, .cirth pre, .cirth table, .cirth ul {
  margin-block: 0 var(--cirth-typography-spacing-vertical);
  color: var(--cirth-color);
  font-style: normal;
}

.cirth p {
  text-wrap: pretty;
}

.cirth h1, .cirth h2, .cirth h3, .cirth h4, .cirth h5, .cirth h6 {
  margin-block: 0 calc(var(--cirth-typography-spacing-vertical) * .5);
  color: var(--cirth-color);
  font-weight: var(--cirth-font-weight);
  font-size: var(--cirth-font-size);
  line-height: var(--cirth-line-height);
  font-family: var(--cirth-font-family-display);
  letter-spacing: var(--cirth-letter-spacing, normal);
  text-wrap: balance;
}

.cirth h1 {
  --cirth-color: var(--cirth-h1-color);
}

.cirth h2 {
  --cirth-color: var(--cirth-h2-color);
}

.cirth h3 {
  --cirth-color: var(--cirth-h3-color);
}

.cirth h4 {
  --cirth-color: var(--cirth-h4-color);
}

.cirth h5 {
  --cirth-color: var(--cirth-h5-color);
}

.cirth h6 {
  --cirth-color: var(--cirth-h6-color);
}

.cirth :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--cirth-typography-spacing-top);
}

.cirth hgroup {
  margin-bottom: var(--cirth-typography-spacing-vertical);
}

.cirth hgroup > * {
  margin-block: 0;
}

.cirth hgroup > :not(:first-child):last-child {
  --cirth-color: var(--cirth-muted-color);
  --cirth-font-weight: unset;
  font-size: var(--cirth-font-size-md);
}

.cirth :where(ol, ul) li {
  margin-bottom: calc(var(--cirth-typography-spacing-vertical) * .25);
}

.cirth :is(dl, ol, ul) :is(dl, ol, ul) {
  margin: 0;
  margin-top: calc(var(--cirth-typography-spacing-vertical) * .25);
}

.cirth ul li {
  list-style: square;
}

.cirth dt {
  font-weight: var(--cirth-font-weight-semibold);
}

.cirth dd {
  margin-inline-start: 0;
}

.cirth dl > dd + dt {
  margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
}

.cirth mark {
  padding: 0 var(--cirth-space-1);
  background-color: var(--cirth-mark-background-color);
  color: var(--cirth-mark-color);
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (forced-colors: active) {
  .cirth mark {
    color: marktext;
    background-color: mark;
  }
}

.cirth blockquote {
  margin: var(--cirth-typography-spacing-vertical) 0;
  padding: var(--cirth-spacing);
  border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
  border-inline-end: none;
}

.cirth blockquote > :last-child, .cirth blockquote > :has( + footer) {
  margin-bottom: 0;
}

.cirth blockquote footer {
  margin-top: calc(var(--cirth-typography-spacing-vertical) * .5);
  color: var(--cirth-blockquote-footer-color);
}

.cirth abbr[title] {
  border-bottom: var(--cirth-border-width-1) dotted;
  cursor: help;
  text-decoration: none;
}

.cirth ins {
  color: var(--cirth-ins-color);
  text-decoration: none;
}

.cirth del {
  color: var(--cirth-del-color);
}

.cirth ::selection {
  background-color: var(--cirth-text-selection-color);
}

.cirth :where(a:not([role="button"])), .cirth [role="link"] {
  --cirth-color: var(--cirth-primary-text);
  --cirth-background-color: transparent;
  --cirth-underline: var(--cirth-primary-underline);
  background-color: var(--cirth-background-color);
  color: var(--cirth-color);
  -webkit-text-decoration: var(--cirth-text-decoration);
  text-decoration: var(--cirth-text-decoration);
  -webkit-text-decoration-color: var(--cirth-underline);
  text-decoration-color: var(--cirth-underline);
  transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
  outline: none;
}

.cirth :where(a:not([role="button"])):is([aria-current]:not([aria-current="false"]), :hover, :active, :focus), .cirth [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
  --cirth-color: var(--cirth-primary-active);
  --cirth-underline: var(--cirth-primary-underline-active);
  --cirth-text-decoration: underline;
}

.cirth :where(a:not([role="button"])):focus-visible, .cirth [role="link"]:focus-visible {
  box-shadow: 0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
  outline: var(--cirth-outline-width) solid transparent;
}

.cirth :where(a:not([role="button"])):visited:not([aria-current]:not([aria-current="false"]), :hover, :active, :focus, nav a, :has(article)) {
  color: var(--cirth-link-visited-color);
}

.cirth :where(a:not([role="button"])):has(article) {
  --cirth-color: inherit;
}

.cirth a[role="button"] {
  display: inline-block;
}

.cirth button {
  text-transform: none;
  margin: 0;
  font-family: inherit;
}

.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
  appearance: auto;
}

.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
  --cirth-background-color: var(--cirth-primary-surface);
  --cirth-border-color: var(--cirth-primary-border);
  --cirth-color: var(--cirth-primary-on-surface);
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
  max-width: 100%;
  min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
  border: var(--cirth-border-width) solid var(--cirth-border-color);
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-background-color);
  box-shadow: var(--cirth-box-shadow);
  color: var(--cirth-color);
  font-weight: var(--cirth-font-weight);
  font-size: var(--cirth-font-size-md);
  line-height: var(--cirth-line-height);
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
  outline: none;
  text-decoration: none;
}

.cirth [type="file"]::file-selector-button {
  --cirth-background-color: var(--cirth-primary-surface);
  --cirth-border-color: var(--cirth-primary-border);
  --cirth-color: var(--cirth-primary-on-surface);
  --cirth-box-shadow: var(--cirth-button-box-shadow, 0 0 0 #0000);
  max-width: 100%;
  min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
  border: var(--cirth-border-width) solid var(--cirth-border-color);
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-background-color);
  box-shadow: var(--cirth-box-shadow);
  color: var(--cirth-color);
  font-weight: var(--cirth-font-weight);
  font-size: var(--cirth-font-size-md);
  line-height: var(--cirth-line-height);
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
  outline: none;
  text-decoration: none;
}

.cirth button[aria-current]:not([aria-current="false"]), .cirth button:is(:hover, :active, :focus), .cirth [type="submit"][aria-current]:not([aria-current="false"]), .cirth [type="submit"]:is(:hover, :active, :focus), .cirth [type="reset"][aria-current]:not([aria-current="false"]), .cirth [type="reset"]:is(:hover, :active, :focus), .cirth [type="button"][aria-current]:not([aria-current="false"]), .cirth [type="button"]:is(:hover, :active, :focus), .cirth [role="button"][aria-current]:not([aria-current="false"]), .cirth [role="button"]:is(:hover, :active, :focus) {
  --cirth-background-color: var(--cirth-primary-surface-active);
  --cirth-border-color: var(--cirth-primary-border-active);
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
  --cirth-color: var(--cirth-primary-on-surface);
}

.cirth [type="file"]::file-selector-button:is() {
  --cirth-background-color: var(--cirth-primary-surface-active);
  --cirth-border-color: var(--cirth-primary-border-active);
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
  --cirth-color: var(--cirth-primary-on-surface);
}

.cirth [type="file"]::file-selector-button:is(:hover, :active, :focus) {
  --cirth-background-color: var(--cirth-primary-surface-active);
  --cirth-border-color: var(--cirth-primary-border-active);
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000);
  --cirth-color: var(--cirth-primary-on-surface);
}

.cirth button:active, .cirth [type="submit"]:active, .cirth [type="reset"]:active, .cirth [type="button"]:active, .cirth [role="button"]:active {
  background-image: linear-gradient(#0000001f 0 0);
}

.cirth [type="file"]::file-selector-button:active {
  background-image: linear-gradient(#0000001f 0 0);
}

.cirth button:focus-visible, .cirth button[aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="submit"]:focus-visible, .cirth [type="submit"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="reset"]:focus-visible, .cirth [type="reset"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [type="button"]:focus-visible, .cirth [type="button"][aria-current]:not([aria-current="false"]):focus-visible, .cirth [role="button"]:focus-visible, .cirth [role="button"][aria-current]:not([aria-current="false"]):focus-visible {
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
    0 0 0 var(--cirth-outline-width) var(--cirth-primary-focus);
  outline: var(--cirth-outline-width) solid transparent;
}

.cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"] {
  margin-bottom: var(--cirth-spacing);
}

.cirth [type="reset"] {
  --cirth-background-color: var(--cirth-secondary-surface);
  --cirth-border-color: var(--cirth-secondary-border);
  --cirth-color: var(--cirth-secondary-on-surface);
  cursor: pointer;
}

.cirth [type="file"]::file-selector-button {
  --cirth-background-color: var(--cirth-secondary-surface);
  --cirth-border-color: var(--cirth-secondary-border);
  --cirth-color: var(--cirth-secondary-on-surface);
  cursor: pointer;
}

.cirth [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
  --cirth-background-color: var(--cirth-secondary-surface-active);
  --cirth-border-color: var(--cirth-secondary-border-active);
  --cirth-color: var(--cirth-secondary-on-surface);
}

.cirth [type="file"]::file-selector-button:is(:hover, :active, :focus) {
  --cirth-background-color: var(--cirth-secondary-surface-active);
  --cirth-border-color: var(--cirth-secondary-border-active);
  --cirth-color: var(--cirth-secondary-on-surface);
}

.cirth [type="reset"]:focus-visible {
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
    0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
}

.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"]) {
  opacity: var(--cirth-opacity-disabled);
  pointer-events: none;
}

.cirth form:has(:user-invalid) :is(button:not([type="button"], [type="reset"]), [type="submit"]) {
  filter: grayscale();
}

.cirth :where(table) {
  border-collapse: collapse;
  text-indent: 0;
  border-color: currentColor;
  width: 100%;
}

.cirth caption {
  color: var(--cirth-muted-color);
  font-size: var(--cirth-font-size-sm);
  line-height: var(--cirth-line-height-normal);
  text-align: start;
  padding-block-end: calc(var(--cirth-spacing) * .5);
}

.cirth th, .cirth td {
  padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
  border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
  font-weight: var(--cirth-font-weight);
  font-variant-numeric: tabular-nums;
  text-align: start;
}

.cirth tfoot th, .cirth tfoot td {
  border-top: var(--cirth-border-width) solid var(--cirth-table-border-color);
  border-bottom: 0;
}

.cirth :where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

.cirth :where(iframe) {
  border-style: none;
}

.cirth img {
  max-width: 100%;
}

.cirth img:where(:not([height]), [width][height]) {
  height: auto;
}

.cirth :where(svg:not([fill])) {
  fill: currentColor;
}

.cirth pre, .cirth code, .cirth kbd, .cirth samp {
  font-size: .875em;
  font-family: var(--cirth-font-family);
}

.cirth pre code, .cirth pre samp {
  font-size: inherit;
  font-family: inherit;
}

.cirth pre {
  overflow: auto;
}

.cirth pre, .cirth code, .cirth kbd, .cirth samp {
  border-radius: var(--cirth-border-radius);
  background: var(--cirth-code-background-color);
  color: var(--cirth-code-color);
  font-weight: var(--cirth-font-weight);
  line-height: initial;
}

.cirth code, .cirth kbd, .cirth samp {
  max-inline-size: 100%;
  padding: var(--cirth-space-1) var(--cirth-space-2);
  overflow-wrap: anywhere;
  display: inline-block;
}

.cirth pre {
  margin-bottom: var(--cirth-spacing);
  border: var(--cirth-border-width) solid var(--cirth-card-border-color);
  display: block;
  overflow-x: auto;
}

.cirth pre:focus-visible {
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
}

.cirth pre > code, .cirth pre > samp {
  padding: var(--cirth-spacing);
  line-height: var(--cirth-line-height);
  background: none;
  display: block;
}

.cirth kbd {
  background-color: var(--cirth-code-kbd-background-color);
  color: var(--cirth-code-kbd-color);
  vertical-align: baseline;
}

.cirth var {
  color: var(--cirth-code-color);
  font-size: .875em;
  font-style: italic;
  font-family: var(--cirth-font-family);
}

.cirth figure {
  margin: 0;
  padding: 0;
  display: block;
}

.cirth figure figcaption {
  padding: calc(var(--cirth-spacing) * .5) 0;
  color: var(--cirth-muted-color);
  font-size: var(--cirth-font-size-sm);
  line-height: var(--cirth-line-height-normal);
}

.cirth hr {
  height: 0;
  margin: var(--cirth-typography-spacing-vertical) 0;
  border: 0;
  border-top: var(--cirth-border-width-1) solid var(--cirth-muted-border-color);
  color: inherit;
}

.cirth [hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.cirth input, .cirth optgroup, .cirth select, .cirth textarea {
  font-size: var(--cirth-font-size-md);
  line-height: var(--cirth-line-height);
  letter-spacing: inherit;
  margin: 0;
  font-family: inherit;
}

.cirth legend {
  padding: 0;
}

.cirth ::-webkit-inner-spin-button {
  height: auto;
}

.cirth ::-webkit-outer-spin-button {
  height: auto;
}

.cirth [type="search"] {
  appearance: textfield;
  outline-offset: -2px;
}

.cirth [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.cirth ::file-selector-button {
  appearance: auto;
  font: inherit;
}

.cirth :-moz-ui-invalid {
  box-shadow: none;
}

.cirth [type="file"], .cirth [type="range"] {
  border-width: 0;
  padding: 0;
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"]) {
  height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
}

.cirth select, .cirth textarea {
  min-block-size: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
}

.cirth fieldset {
  width: 100%;
  margin: 0;
  margin-bottom: var(--cirth-spacing);
  border: 0;
  padding: 0;
}

.cirth label, .cirth fieldset legend {
  margin-bottom: calc(var(--cirth-spacing) * .5);
  color: var(--cirth-color);
  font-weight: var(--cirth-form-label-font-weight, var(--cirth-font-weight));
  display: block;
}

.cirth input:not([type="checkbox"], [type="radio"], [size]), .cirth button[type="submit"], .cirth select, .cirth textarea {
  width: 100%;
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth select, .cirth textarea {
  appearance: none;
  padding: var(--cirth-form-element-spacing-vertical) var(--cirth-form-element-spacing-horizontal);
}

.cirth input, .cirth select, .cirth textarea {
  --cirth-background-color: var(--cirth-form-element-background-color);
  --cirth-border-color: var(--cirth-form-element-border-color);
  --cirth-color: var(--cirth-form-element-color);
  --cirth-box-shadow: none;
  border: var(--cirth-border-width) solid var(--cirth-border-color);
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-background-color);
  box-shadow: var(--cirth-box-shadow);
  color: var(--cirth-color);
  font-weight: var(--cirth-font-weight);
  transition: background-color var(--cirth-transition), border-color var(--cirth-transition), color var(--cirth-transition), box-shadow var(--cirth-transition);
  outline: none;
}

.cirth :where(input, textarea)[readonly] {
  background-color: var(--cirth-card-sectioning-background-color);
  border-style: dashed;
}

.cirth input[type="number"][readonly] {
  appearance: textfield;
}

.cirth input[type="number"][readonly]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cirth input[type="number"][readonly]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
  --cirth-background-color: var(--cirth-form-element-active-background-color);
}

.cirth input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]):is(:active, :focus), .cirth :where(select, textarea):not([readonly]):is(:active, :focus) {
  --cirth-border-color: var(--cirth-form-element-active-border-color);
}

@media (hover: hover) and (pointer: fine) {
  .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], :user-invalid) {
    --cirth-border-color: color-mix(in oklch,
      var(--cirth-form-element-border-color) 65%,
      var(--cirth-color));
  }

  .cirth :where(select, textarea):not([readonly]):hover:not(:active, :focus, :disabled, [aria-invalid], :user-invalid) {
    --cirth-border-color: color-mix(in oklch,
      var(--cirth-form-element-border-color) 65%,
      var(--cirth-color));
  }
}

.cirth input:not([type="submit"], [type="button"], [type="reset"], [type="range"], [type="file"], [readonly]):focus, .cirth :where(select, textarea):not([readonly]):focus {
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
    var(--cirth-form-element-focus-color);
  outline: var(--cirth-outline-width) solid transparent;
}

.cirth input:not([type="submit"], [type="button"], [type="reset"])[disabled], .cirth select[disabled], .cirth textarea[disabled], .cirth label[aria-disabled="true"], .cirth :where(fieldset[disabled]) :is(input:not([type="submit"], [type="button"], [type="reset"]), select, textarea) {
  opacity: var(--cirth-form-element-disabled-opacity);
  pointer-events: none;
}

.cirth label[aria-disabled="true"] input[disabled] {
  opacity: 1;
}

.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)) {
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
  background-position: center right var(--cirth-space-3);
  background-size: var(--cirth-font-size-md) auto;
  background-repeat: no-repeat;
}

.cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid="false"]:not(select) {
  background-image: var(--cirth-icon-valid);
}

.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="true"], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)):not(select) {
  background-image: var(--cirth-icon-invalid);
}

.cirth :where(input, select, textarea)[aria-invalid="false"] {
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
}

.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
  --cirth-border-color: var(--cirth-form-element-valid-active-border-color);
}

.cirth :where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus):not([type="checkbox"], [type="radio"]) {
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
    var(--cirth-form-element-valid-focus-color);
}

.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
}

.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)):is(:active, :focus) {
  --cirth-border-color: var(--cirth-form-element-invalid-active-border-color);
}

.cirth :where(input, select, textarea):is([aria-invalid="true"], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)):is(:active, :focus):not([type="checkbox"], [type="radio"]) {
  --cirth-box-shadow: 0 0 0 var(--cirth-outline-width)
    var(--cirth-form-element-invalid-focus-color);
}

[dir="rtl"] .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
  background-position: center left var(--cirth-space-3);
}

[dir="rtl"] .cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
  background-position: top left var(--cirth-space-3);
}

.cirth input::placeholder, .cirth textarea::placeholder, .cirth select:invalid {
  color: var(--cirth-form-element-placeholder-color);
  opacity: 1;
}

.cirth input:not([type="checkbox"], [type="radio"]), .cirth select, .cirth textarea {
  margin-bottom: var(--cirth-spacing);
}

.cirth select:not([multiple], [size]) {
  padding-inline: var(--cirth-form-element-spacing-horizontal) calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
  background-image: var(--cirth-icon-chevron);
  background-position: center right var(--cirth-space-3);
  background-size: var(--cirth-font-size-md) auto;
  background-repeat: no-repeat;
}

.cirth select[multiple] option:checked {
  background: var(--cirth-form-element-selected-background-color);
  color: var(--cirth-form-element-color);
}

[dir="rtl"] .cirth select:not([multiple], [size]) {
  background-position: center left var(--cirth-space-3);
}

.cirth textarea {
  resize: vertical;
  display: block;
}

.cirth textarea:not([rows]) {
  min-block-size: calc(4lh + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
}

.cirth textarea:is([aria-invalid], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) {
  --cirth-icon-height: calc(var(--cirth-font-size-md) * var(--cirth-line-height) +
      var(--cirth-form-element-spacing-vertical) * 2 +
      (var(--cirth-border-width) * 2));
  background-position: top right var(--cirth-space-3);
  background-size: var(--cirth-font-size-md) var(--cirth-icon-height);
}

.cirth :where(input, select, textarea, fieldset) + small {
  width: 100%;
  margin-top: calc(var(--cirth-spacing) * -.75);
  margin-bottom: var(--cirth-spacing);
  color: var(--cirth-muted-color);
  display: block;
}

.cirth :where(input, select, textarea, fieldset)[aria-invalid="false"] + small {
  color: var(--cirth-ins-color);
}

.cirth :where(input, select, textarea, fieldset):is([aria-invalid="true"], :user-invalid:not([aria-invalid], [type="range"]):not(select:focus)) + small {
  color: var(--cirth-del-color);
}

.cirth label > :where(input, select, textarea) {
  margin-top: calc(var(--cirth-spacing) * .25);
}

.cirth label:has([type="checkbox"], [type="radio"]) {
  cursor: pointer;
  width: fit-content;
}

.cirth [type="checkbox"], .cirth [type="radio"] {
  appearance: none;
  margin-top: -.125em;
  border-width: var(--cirth-border-width);
  vertical-align: middle;
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  margin-inline-end: .5em;
}

.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 {
  --cirth-background-color: var(--cirth-primary-surface);
  --cirth-border-color: var(--cirth-primary-border);
}

.cirth [type="checkbox"] ~ label, .cirth [type="radio"] ~ label {
  cursor: pointer;
  margin-bottom: 0;
  display: inline-block;
}

.cirth [type="checkbox"] ~ label:not(:last-of-type), .cirth [type="radio"] ~ label:not(:last-of-type) {
  margin-inline-end: 1em;
}

.cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
  background-color: var(--cirth-primary-on-surface);
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  mask-position: center;
  mask-size: .9em;
  mask-repeat: no-repeat;
}

@media (forced-colors: active) {
  .cirth [type="checkbox"]:not([role="switch"]):checked:before, .cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
    background-color: canvastext;
  }
}

.cirth [type="checkbox"]:not([role="switch"]):checked:before {
  mask-image: var(--cirth-icon-checkbox);
}

.cirth [type="checkbox"]:not([role="switch"]):indeterminate {
  --cirth-background-color: var(--cirth-primary-surface);
  --cirth-border-color: var(--cirth-primary-border);
}

.cirth [type="checkbox"]:not([role="switch"]):indeterminate:before {
  mask-image: var(--cirth-icon-minus);
}

.cirth [type="radio"] {
  border-radius: 50%;
}

.cirth [type="radio"]:checked, .cirth [type="radio"]:checked:active, .cirth [type="radio"]:checked:focus {
  --cirth-background-color: var(--cirth-primary-on-surface);
  border-width: .42em;
}

.cirth [type="checkbox"][role="switch"] {
  --cirth-background-color: var(--cirth-switch-background-color);
  --cirth-color: var(--cirth-switch-color);
  border: var(--cirth-border-width) solid var(--cirth-border-color);
  background-color: var(--cirth-background-color);
  border-radius: 1.5em;
  width: 2.7em;
  height: 1.5em;
  line-height: 1.5em;
}

.cirth [type="checkbox"][role="switch"]:not([aria-invalid]) {
  --cirth-border-color: var(--cirth-switch-background-color);
}

.cirth [type="checkbox"][role="switch"]:before {
  aspect-ratio: 1;
  background-color: var(--cirth-color);
  height: 100%;
  box-shadow: var(--cirth-switch-thumb-box-shadow);
  content: "";
  transition: margin var(--cirth-duration-fast) var(--cirth-ease-in-out);
  border-radius: 50%;
  display: block;
}

.cirth [type="checkbox"][role="switch"]:focus {
  --cirth-background-color: var(--cirth-switch-background-color);
  --cirth-border-color: var(--cirth-switch-background-color);
}

.cirth [type="checkbox"][role="switch"]:checked {
  --cirth-background-color: var(--cirth-switch-checked-background-color);
  --cirth-border-color: var(--cirth-switch-checked-background-color);
}

.cirth [type="checkbox"][role="switch"]:checked:before {
  margin-inline-start: 1.2em;
}

.cirth [type="checkbox"][role="switch"][disabled] {
  --cirth-background-color: var(--cirth-border-color);
}

.cirth [type="checkbox"][aria-invalid="false"]:checked, .cirth [type="checkbox"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][aria-invalid="false"]:checked:focus, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
  --cirth-background-color: var(--cirth-form-element-valid-border-color);
}

.cirth [type="checkbox"]:checked[aria-invalid="true"], .cirth [type="checkbox"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"]:checked:focus[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
  --cirth-background-color: var(--cirth-form-element-invalid-border-color);
}

.cirth [type="checkbox"][aria-invalid="false"]:checked, .cirth [type="checkbox"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][aria-invalid="false"]:checked:focus, .cirth [type="radio"][aria-invalid="false"]:checked, .cirth [type="radio"][aria-invalid="false"]:checked:active, .cirth [type="radio"][aria-invalid="false"]:checked:focus, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:active, .cirth [type="checkbox"][role="switch"][aria-invalid="false"]:checked:focus {
  --cirth-border-color: var(--cirth-form-element-valid-border-color);
}

.cirth [type="checkbox"]:checked[aria-invalid="true"], .cirth [type="checkbox"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"]:checked:focus[aria-invalid="true"], .cirth [type="radio"]:checked[aria-invalid="true"], .cirth [type="radio"]:checked:active[aria-invalid="true"], .cirth [type="radio"]:checked:focus[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:active[aria-invalid="true"], .cirth [type="checkbox"][role="switch"]:checked:focus[aria-invalid="true"] {
  --cirth-border-color: var(--cirth-form-element-invalid-border-color);
}

.cirth [type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.cirth [type="color"]::-moz-focus-inner {
  padding: 0;
}

.cirth [type="color"]::-webkit-color-swatch {
  border-radius: calc(var(--cirth-border-radius) * .5);
  border: 0;
}

.cirth [type="color"]::-moz-color-swatch {
  border-radius: calc(var(--cirth-border-radius) * .5);
  border: 0;
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
  --cirth-icon-position: var(--cirth-space-3);
  --cirth-icon-width: var(--cirth-font-size-md);
  min-width: 0;
  background-image: var(--cirth-icon-date);
  background-position: center right var(--cirth-icon-position);
  background-size: var(--cirth-icon-width) auto;
  background-repeat: no-repeat;
  padding-inline-end: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
  background-image: var(--cirth-icon-time);
}

.cirth ::-webkit-date-and-time-value {
  text-align: inherit;
}

.cirth ::-webkit-datetime-edit {
  padding-block: 0;
}

.cirth [type="date"]::-webkit-calendar-picker-indicator {
  width: var(--cirth-icon-width);
  margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
  opacity: 0;
}

.cirth [type="datetime-local"]::-webkit-calendar-picker-indicator {
  width: var(--cirth-icon-width);
  margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
  opacity: 0;
}

.cirth [type="month"]::-webkit-calendar-picker-indicator {
  width: var(--cirth-icon-width);
  margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
  opacity: 0;
}

.cirth [type="time"]::-webkit-calendar-picker-indicator {
  width: var(--cirth-icon-width);
  margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
  opacity: 0;
}

.cirth [type="week"]::-webkit-calendar-picker-indicator {
  width: var(--cirth-icon-width);
  margin-inline: var(--cirth-icon-position) calc(var(--cirth-icon-width) * -1);
  opacity: 0;
}

@supports not selector(::-webkit-calendar-picker-indicator) {
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"]) {
    color: #0000;
    -webkit-text-fill-color: var(--cirth-form-element-color);
  }
}

[dir="rtl"] .cirth :is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
  background-position: center left var(--cirth-icon-position);
  text-align: right;
}

.cirth [type="file"] {
  --cirth-color: var(--cirth-muted-color);
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) 0;
  background: none;
  border: 0;
  border-radius: 0;
  margin-inline-start: calc(var(--cirth-outline-width) * -1);
  padding-inline-start: var(--cirth-outline-width);
}

.cirth [type="file"]::file-selector-button {
  min-block-size: 0;
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
  margin-inline-end: calc(var(--cirth-spacing) / 2);
}

.cirth [type="file"]:is(:hover, :active, :focus)::file-selector-button {
  --cirth-background-color: var(--cirth-secondary-surface-active);
  --cirth-border-color: var(--cirth-secondary-border-active);
}

.cirth [type="file"]:focus::file-selector-button {
  --cirth-box-shadow: var(--cirth-button-hover-box-shadow, 0 0 0 #0000),
    0 0 0 var(--cirth-outline-width) var(--cirth-secondary-focus);
}

.cirth [type="range"] {
  appearance: none;
  width: 100%;
  height: max(2.75rem, var(--cirth-font-size-md) * var(--cirth-line-height) + var(--cirth-form-element-spacing-vertical) * 2 + var(--cirth-border-width) * 2);
  background: none;
}

.cirth [type="range"]::-webkit-slider-runnable-track {
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-range-border-color);
  width: 100%;
  height: .375rem;
  transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
}

.cirth [type="range"]::-moz-range-track {
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-range-border-color);
  width: 100%;
  height: .375rem;
  transition: background-color var(--cirth-transition), box-shadow var(--cirth-transition);
}

.cirth [type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
  background-color: var(--cirth-range-thumb-color);
  cursor: pointer;
  width: 1.25rem;
  height: 1.25rem;
  transition: background-color var(--cirth-transition), transform var(--cirth-transition);
  border-radius: 50%;
  margin-top: -.4375rem;
}

.cirth [type="range"]::-moz-range-thumb {
  border: var(--cirth-border-width-2) solid var(--cirth-range-thumb-border-color);
  background-color: var(--cirth-range-thumb-color);
  cursor: pointer;
  width: 1.25rem;
  height: 1.25rem;
  transition: background-color var(--cirth-transition), transform var(--cirth-transition);
  border-radius: 50%;
  margin-top: -.4375rem;
}

.cirth [type="range"]:active, .cirth [type="range"]:focus-within {
  --cirth-range-border-color: var(--cirth-range-active-border-color);
  --cirth-range-thumb-color: var(--cirth-range-thumb-active-color);
}

@media (hover: hover) and (pointer: fine) {
  .cirth [type="range"]:hover:not(:active, :focus, :disabled) {
    --cirth-range-border-color: var(--cirth-range-active-border-color);
    --cirth-range-thumb-color: var(--cirth-secondary-active);
  }
}

.cirth [type="range"]:focus-visible {
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
  outline-offset: var(--cirth-space-1);
}

.cirth [type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.25);
}

.cirth [type="range"]:active::-moz-range-thumb {
  transform: scale(1.25);
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
  background-image: var(--cirth-icon-search);
  background-position: center left var(--cirth-form-element-spacing-horizontal);
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
  background-position: center left var(--cirth-form-element-spacing-horizontal), center right var(--cirth-space-3);
  padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="false"] {
  background-image: var(--cirth-icon-search), var(--cirth-icon-valid);
}

.cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid="true"] {
  background-image: var(--cirth-icon-search), var(--cirth-icon-invalid);
}

[dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"] {
  background-position: center right var(--cirth-form-element-spacing-horizontal);
}

[dir="rtl"] .cirth :where(input):not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="search"][aria-invalid] {
  background-position: center right var(--cirth-form-element-spacing-horizontal), center left var(--cirth-space-3);
}

.cirth details {
  margin-bottom: var(--cirth-spacing);
}

.cirth details summary {
  line-height: var(--cirth-line-height-normal);
  cursor: pointer;
  transition: color var(--cirth-transition);
  list-style-type: none;
}

@media (hover: hover) and (pointer: fine) {
  .cirth details summary:hover:not([role]) {
    color: var(--cirth-accordion-active-summary-color);
  }
}

.cirth details summary:not([role]) {
  color: var(--cirth-accordion-close-summary-color);
}

.cirth details summary::-webkit-details-marker {
  display: none;
}

.cirth details summary::marker {
  display: none;
}

.cirth details summary:after {
  width: 1em;
  height: 1lh;
  float: right;
  mask-image: var(--cirth-icon-chevron);
  background-color: currentColor;
  margin-inline-start: calc(var(--cirth-spacing, var(--cirth-space-4)) * .5);
  display: block;
  transform: rotate(0);
  mask-position: 100%;
  mask-size: 1em;
  mask-repeat: no-repeat;
}

@media (forced-colors: active) {
  .cirth details summary:after {
    background-color: canvastext;
  }
}

.cirth details summary:after {
  content: "";
  transition: transform var(--cirth-transition);
}

.cirth details summary:focus {
  outline: none;
}

.cirth details summary:focus:not([role]) {
  color: var(--cirth-accordion-active-summary-color);
}

.cirth details summary:focus-visible:not([role]) {
  outline: var(--cirth-outline-width) solid var(--cirth-primary-focus);
  outline-offset: var(--cirth-space-1);
  color: var(--cirth-accordion-active-summary-color);
}

.cirth details summary[role="button"] {
  text-align: start;
  width: 100%;
}

.cirth details[open] > summary {
  margin-bottom: var(--cirth-space-2);
}

.cirth details[open] > summary:not([role]):not(:focus, :hover) {
  color: var(--cirth-accordion-open-summary-color);
}

.cirth details[open] > summary:after {
  transform: rotate(180deg);
}

.cirth details {
  border-block-end: var(--cirth-border-width) solid var(--cirth-muted-border-color);
}

.cirth details > summary {
  min-block-size: 2.75rem;
  padding-block: var(--cirth-space-2);
  font-weight: var(--cirth-font-weight-semibold);
}

.cirth details[open] {
  padding-block-end: var(--cirth-space-4);
}

.cirth details > :last-child:not(summary) {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  @supports selector(::details-content) {
    .cirth details::details-content {
      block-size: 0;
      transition: block-size var(--cirth-transition), content-visibility var(--cirth-transition) allow-discrete;
      interpolate-size: allow-keywords;
      overflow: hidden;
    }

    .cirth details[open]::details-content {
      block-size: auto;
    }
  }
}

[dir="rtl"] .cirth details summary:after {
  float: left;
}

.cirth article {
  margin-bottom: var(--cirth-block-spacing-vertical);
  padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
  border: var(--cirth-border-width) solid var(--cirth-card-border-color);
  border-radius: var(--cirth-card-border-radius);
  background: var(--cirth-card-background-color);
  box-shadow: var(--cirth-card-box-shadow);
}

.cirth article > :last-child:not(header, footer), .cirth article > :is(header, footer) > :last-child {
  margin-bottom: 0;
}

.cirth article > :is(header, footer) :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
}

.cirth article > header, .cirth article > footer {
  margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
  padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
  background-color: var(--cirth-card-sectioning-background-color);
}

.cirth article > header {
  margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
  margin-bottom: var(--cirth-block-spacing-vertical);
  border-bottom: var(--cirth-border-width) solid var(--cirth-card-border-color);
  border-top-right-radius: var(--cirth-card-border-radius);
  border-top-left-radius: var(--cirth-card-border-radius);
}

.cirth article > footer {
  margin-top: var(--cirth-block-spacing-vertical);
  margin-bottom: calc(var(--cirth-block-spacing-vertical) * -1);
  border-top: var(--cirth-border-width) solid var(--cirth-card-border-color);
  border-bottom-right-radius: var(--cirth-card-border-radius);
  border-bottom-left-radius: var(--cirth-card-border-radius);
}

.cirth [role="search"], .cirth [role="group"]:not(fieldset) {
  width: 100%;
  margin-bottom: var(--cirth-spacing);
  border-radius: var(--cirth-border-radius);
  box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
  vertical-align: middle;
  transition: box-shadow var(--cirth-transition);
  flex-wrap: wrap;
  display: inline-flex;
  position: relative;
}

.cirth [role="search"] > small, .cirth [role="group"]:not(fieldset) > small {
  margin-top: calc(var(--cirth-spacing) * .25);
  flex: 0 0 100%;
  order: 1;
  margin-bottom: 0;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]), .cirth [role="search"] input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]), .cirth [role="search"] select:not([hidden]), .cirth [role="group"]:not(fieldset) > :not([hidden], input[type="hidden"]), .cirth [role="group"]:not(fieldset) input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]), .cirth [role="group"]:not(fieldset) select:not([hidden]) {
  flex: auto;
  margin-bottom: 0;
  position: relative;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]):is(input, select, textarea), .cirth [role="search"] input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:not([hidden]):is(input, select, textarea), .cirth [role="group"]:not(fieldset) > :not([hidden], input[type="hidden"]):is(input, select, textarea), .cirth [role="group"]:not(fieldset) input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):is(input, select, textarea), .cirth [role="group"]:not(fieldset) select:not([hidden]):is(input, select, textarea) {
  flex: 99;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] select:not([hidden]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) > :not([hidden], input[type="hidden"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) select:not([hidden]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))) {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  margin-inline-start: 0;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] select:not([hidden]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) > :not([hidden], input[type="hidden"]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) select:not([hidden]):not(:nth-last-child(1 of :not([hidden], input[type="hidden"]))) {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]):focus, .cirth [role="search"] input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):focus, .cirth [role="search"] select:not([hidden]):focus, .cirth [role="group"]:not(fieldset) > :not([hidden], input[type="hidden"]):focus, .cirth [role="group"]:not(fieldset) input:not([hidden], [type="checkbox"], [type="hidden"], [type="radio"]):focus, .cirth [role="group"]:not(fieldset) select:not([hidden]):focus {
  z-index: 2;
}

.cirth [role="search"] > :has( + small:last-child), .cirth [role="group"]:not(fieldset) > :has( + small:last-child) {
  border-start-end-radius: var(--cirth-border-radius);
  border-end-end-radius: var(--cirth-border-radius);
}

.cirth [role="search"] button:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] [type="submit"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] [type="reset"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] [type="button"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] [role="button"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="search"] select:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) button:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) [type="submit"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) [type="reset"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) [type="button"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) [role="button"]:not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) input:not([type="checkbox"], [type="radio"]):not(:nth-child(1 of :not([hidden], input[type="hidden"]))), .cirth [role="group"]:not(fieldset) select:not(:nth-child(1 of :not([hidden], input[type="hidden"]))) {
  margin-inline-start: calc(var(--cirth-border-width) * -1);
}

.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"]:not(fieldset) button, .cirth [role="group"]:not(fieldset) [type="submit"], .cirth [role="group"]:not(fieldset) [type="reset"], .cirth [role="group"]:not(fieldset) [type="button"], .cirth [role="group"]:not(fieldset) [role="button"] {
  width: auto;
}

.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus), .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) {
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
}

.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 [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="group"]:not(fieldset):has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]) {
  border-color: #0000;
}

.cirth [role="search"]:has(input:not([type="submit"], [type="button"]):focus, select:focus), .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) {
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-input);
}

.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 [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) button, .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="submit"], .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [type="button"], .cirth [role="group"]:not(fieldset):has(input:not([type="submit"], [type="button"]):focus, select:focus) [role="button"] {
  --cirth-button-box-shadow: 0 0 0 var(--cirth-border-width)
    var(--cirth-primary-border);
  --cirth-button-hover-box-shadow: 0 0 0 var(--cirth-border-width)
    var(--cirth-primary-border-active);
}

.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 [role="group"]:not(fieldset) button:focus, .cirth [role="group"]:not(fieldset) [type="submit"]:focus, .cirth [role="group"]:not(fieldset) [type="reset"]:focus, .cirth [role="group"]:not(fieldset) [type="button"]:focus, .cirth [role="group"]:not(fieldset) [role="button"]:focus {
  box-shadow: none;
}

.cirth [role="search"] > :not([hidden], input[type="hidden"]):nth-child(1 of :not([hidden], input[type="hidden"])) {
  border-start-start-radius: var(--cirth-radius-pill);
  border-end-start-radius: var(--cirth-radius-pill);
}

.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) {
  border-start-end-radius: var(--cirth-radius-pill);
  border-end-end-radius: var(--cirth-radius-pill);
}

.cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
  content: "";
  vertical-align: -.125em;
  width: 1em;
  height: 1em;
  mask-image: var(--cirth-icon-loading);
  background-color: currentColor;
  display: inline-block;
  mask-size: 1em;
  mask-repeat: no-repeat;
}

@media (forced-colors: active) {
  .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
    background-color: canvastext;
  }
}

.cirth [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
  margin-inline-end: calc(var(--cirth-spacing) * .5);
}

.cirth [aria-busy="true"]:not(input, select, textarea, html, form):empty {
  text-align: center;
}

.cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
  background-image: var(--cirth-icon-loading);
  background-position: center left var(--cirth-form-element-spacing-horizontal);
  background-repeat: no-repeat;
  background-size: 1em;
  padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1em + var(--cirth-spacing) * .5);
}

[dir="rtl"] .cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
  background-position: center right var(--cirth-form-element-spacing-horizontal);
}

.cirth meter {
  appearance: none;
  width: 100%;
  height: var(--cirth-space-2);
  margin-bottom: calc(var(--cirth-spacing) * .5);
  border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
  border-radius: var(--cirth-border-radius);
  background: var(--cirth-meter-background-color);
  display: inline-block;
  overflow: hidden;
}

.cirth meter::-webkit-meter-bar {
  background: none;
}

.cirth meter::-webkit-meter-inner-element {
  display: flex;
}

.cirth meter::-webkit-meter-optimum-value {
  background: var(--cirth-meter-optimum-color);
}

.cirth meter::-webkit-meter-suboptimum-value {
  background: var(--cirth-meter-suboptimum-color);
}

.cirth meter::-webkit-meter-even-less-good-value {
  background: var(--cirth-meter-even-less-good-color);
}

.cirth meter::-moz-meter-bar {
  background: var(--cirth-meter-optimum-color);
}

.cirth meter:-moz-meter-sub-optimum::-moz-meter-bar {
  background: var(--cirth-meter-suboptimum-color);
}

.cirth meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
  background: var(--cirth-meter-even-less-good-color);
}

.cirth dialog {
  opacity: 0;
  transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
  z-index: var(--cirth-z-index-modal);
  width: inherit;
  min-width: 100%;
  height: inherit;
  min-height: 100%;
  backdrop-filter: var(--cirth-modal-overlay-backdrop-filter);
  background-color: var(--cirth-modal-overlay-background-color);
  color: var(--cirth-color);
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
  position: fixed;
  inset: 0;
}

.cirth dialog[open] {
  opacity: 1;
}

@starting-style {
  .cirth dialog[open] {
    opacity: 0;
  }
}

@starting-style {
  .cirth dialog[open] > article {
    opacity: 0;
    transform: translateY(-.5rem);
  }
}

.cirth dialog > article {
  transition: opacity var(--cirth-transition), transform var(--cirth-transition);
  width: min(100% - var(--cirth-spacing) * 2, var(--cirth-modal-max-width));
  max-height: calc(100vh - var(--cirth-spacing) * 2);
  max-height: calc(100dvh - var(--cirth-spacing) * 2);
  margin: var(--cirth-spacing);
  overflow: auto;
}

.cirth dialog > article > header > * {
  margin-bottom: 0;
}

.cirth dialog > article > header :is(a, button)[rel="prev"] {
  margin: calc(calc((max(2.75rem, 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);
  float: right;
  margin-inline-start: var(--cirth-spacing);
  padding: 0;
}

.cirth dialog > article > footer {
  text-align: end;
}

.cirth dialog > article > footer button, .cirth dialog > article > footer [role="button"] {
  margin-bottom: 0;
}

.cirth dialog > article > footer button:not(:first-of-type), .cirth dialog > article > footer [role="button"]:not(:first-of-type) {
  margin-inline-start: calc(var(--cirth-spacing) * .5);
}

.cirth dialog > article :is(a, button)[rel="prev"] {
  width: calc(var(--cirth-font-size-md) + calc((max(2.75rem, 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);
  height: calc(var(--cirth-font-size-md) + calc((max(2.75rem, 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);
  margin-top: calc(var(--cirth-spacing) * -1 - calc((max(2.75rem, 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));
  margin-right: calc(calc((max(2.75rem, 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);
  margin-bottom: calc(var(--cirth-spacing) - calc((max(2.75rem, 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));
  opacity: .5;
  transition: opacity var(--cirth-transition);
  background-color: #0000;
  border: none;
  margin-inline-start: auto;
  display: block;
}

.cirth dialog > article :is(a, button)[rel="prev"]:before {
  background-color: var(--cirth-muted-color);
  content: "";
  width: 100%;
  height: 100%;
  mask-image: var(--cirth-icon-close);
  mask-position: center;
  mask-size: auto var(--cirth-font-size-md);
  display: block;
  mask-repeat: no-repeat;
}

@media (forced-colors: active) {
  .cirth dialog > article :is(a, button)[rel="prev"]:before {
    background-color: canvastext;
  }
}

.cirth dialog > article :is(a, button)[rel="prev"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
  opacity: 1;
}

.cirth dialog:not([open]), .cirth dialog[open="false"] {
  display: none;
}

[dir="rtl"] .cirth dialog > article > header :is(a, button)[rel="prev"] {
  float: left;
}

.cirth :where(nav li):before {
  content: "​";
  position: absolute;
}

.cirth nav, .cirth nav :is(ol, ul) {
  display: flex;
}

.cirth nav {
  justify-content: space-between;
  overflow: visible;
}

.cirth nav ol, .cirth nav ul {
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.cirth nav ol:first-of-type, .cirth nav ul:first-of-type {
  margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
}

.cirth nav ol:last-of-type, .cirth nav ul:last-of-type {
  margin-inline-end: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
}

.cirth nav li {
  padding: var(--cirth-nav-element-spacing-vertical) var(--cirth-nav-element-spacing-horizontal);
  margin: 0;
  display: inline-block;
}

.cirth nav li :where(a:not([role="button"]), [role="link"]) {
  --cirth-color: inherit;
  margin-block: calc(var(--cirth-nav-link-spacing-vertical) * -1);
  margin-inline: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
  padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
  border-block-end: var(--cirth-border-width-2) solid transparent;
  border-radius: var(--cirth-border-radius);
  display: inline-block;
}

.cirth nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
  text-decoration: none;
}

.cirth nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
  --cirth-color: inherit;
  --cirth-text-decoration: none;
  border-block-end-color: var(--cirth-primary-border);
  border-radius: 0;
}

.cirth nav li [role="group"]:not(fieldset), .cirth nav li [role="search"] {
  width: auto;
  margin-bottom: 0;
}

.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 {
  height: auto;
  min-block-size: var(--cirth-space-10);
  margin-inline: inherit;
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
  margin-bottom: 0;
}

.cirth nav[aria-label="breadcrumb"] {
  justify-content: start;
  align-items: center;
}

.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:first-child) {
  margin-inline-start: var(--cirth-nav-link-spacing-horizontal);
}

.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li a {
  margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) 0;
  margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
}

.cirth nav[aria-label="breadcrumb"] :is(ol, ul) li:not(:last-child):after {
  width: calc(var(--cirth-nav-link-spacing-horizontal) * 4);
  margin: 0 calc(var(--cirth-nav-link-spacing-horizontal) * -1);
  content: var(--cirth-nav-breadcrumb-divider);
  color: var(--cirth-muted-color);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  position: absolute;
}

.cirth nav[aria-label="breadcrumb"] a[aria-current]:not([aria-current="false"]) {
  color: inherit;
  pointer-events: none;
  background-color: #0000;
  border-block-end-color: #0000;
  text-decoration: none;
}

.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav {
  --cirth-nav-element-spacing-vertical: var(--cirth-space-2);
  flex-wrap: wrap;
  align-items: center;
}

.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]) {
  --cirth-color: var(--cirth-muted-color);
  --cirth-text-decoration: none;
  border-block-end: 0;
  border-radius: 0;
}

.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is(:hover, :focus, :active) {
  --cirth-color: color-mix(in oklch,
    var(--cirth-muted-color),
    var(--cirth-contrast-text));
}

.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"]):is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
  --cirth-color: var(--cirth-contrast-text);
  font-weight: var(--cirth-font-weight-semibold);
}

.cirth header:not(:is(article, aside, dialog, figure, li, nav, section, td) *) > nav li :where(a:not([role="button"]), [role="link"])[aria-disabled="true"] {
  --cirth-color: color-mix(in oklch,
    var(--cirth-muted-color) 55%,
    transparent);
  pointer-events: none;
}

.cirth aside nav {
  --cirth-nav-element-spacing-horizontal: 0;
  display: block;
}

.cirth aside nav ol, .cirth aside nav ul, .cirth aside nav li {
  display: block;
}

.cirth aside nav li {
  padding: calc(var(--cirth-nav-element-spacing-vertical) * .5) 0;
}

.cirth aside nav li a {
  border-inline-start: var(--cirth-border-width-2) solid transparent;
  display: block;
}

.cirth aside nav li a:is([aria-current]:not([aria-current="false"]), [aria-selected="true"]) {
  border-block-end-color: #0000;
  border-inline-start-color: var(--cirth-primary-border);
}

.cirth aside nav li [role="button"] {
  margin: inherit;
}

.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog) {
  --cirth-popover-display: block;
  display: none;
}

.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
  display: var(--cirth-popover-display);
  max-width: var(--cirth-popover-max-width);
  padding: var(--cirth-space-2) var(--cirth-space-3);
  border: var(--cirth-border-width) solid var(--cirth-popover-border-color);
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-popover-background-color);
  box-shadow: var(--cirth-popover-box-shadow);
  color: var(--cirth-popover-color);
  margin: auto;
  inset: 0;
}

.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open > :last-child {
  margin-bottom: 0;
}

.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
  transition: opacity var(--cirth-transition), display var(--cirth-transition) allow-discrete, overlay var(--cirth-transition) allow-discrete;
}

@starting-style {
  .cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):popover-open {
    opacity: 0;
  }
}

.cirth :is([popover=""], [popover="auto"], [popover="hint"]):not(dialog):not(:popover-open) {
  opacity: 0;
}

.cirth progress {
  vertical-align: baseline;
  appearance: none;
  width: 100%;
  height: var(--cirth-space-2);
  margin-bottom: calc(var(--cirth-spacing) * .5);
  border: var(--cirth-border-width-1) solid var(--cirth-progress-border-color);
  border-radius: var(--cirth-border-radius);
  background-color: var(--cirth-progress-background-color);
  display: inline-block;
  overflow: hidden;
}

.cirth progress::-webkit-progress-bar {
  border-radius: var(--cirth-border-radius);
  background: none;
}

.cirth progress[value]::-webkit-progress-value {
  background-color: var(--cirth-progress-color);
  transition: inline-size var(--cirth-transition);
}

.cirth progress::-moz-progress-bar {
  background-color: var(--cirth-progress-color);
}

@media (prefers-reduced-motion: no-preference) {
  .cirth progress:indeterminate {
    background: var(--cirth-progress-background-color) linear-gradient(to right, var(--cirth-progress-color) 30%, var(--cirth-progress-background-color) 30%) top left/150% 150% no-repeat;
    animation: 1s linear infinite progress-indeterminate;
  }

  .cirth progress:indeterminate[value]::-webkit-progress-value {
    background-color: #0000;
  }

  .cirth progress:indeterminate::-moz-progress-bar {
    background-color: #0000;
  }

  [dir="rtl"] .cirth progress:indeterminate {
    animation-direction: reverse;
  }
}

@keyframes progress-indeterminate {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.cirth [aria-controls] {
  cursor: pointer;
}

.cirth [aria-disabled="true"], .cirth [disabled] {
  cursor: not-allowed;
}

.cirth [aria-hidden="false"][hidden] {
  display: initial;
}

.cirth [aria-hidden="false"][hidden]:not(:focus) {
  clip-path: inset(50%);
  position: absolute;
}

.cirth [dir="rtl"] {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .cirth :not([aria-busy="true"]), .cirth :not([aria-busy="true"]):before, .cirth :not([aria-busy="true"]):after {
    background-attachment: initial;
    scroll-behavior: auto;
    transition-delay: var(--cirth-duration-instant);
    transition-duration: var(--cirth-duration-instant);
    --cirth-transition: var(--cirth-duration-instant) var(--cirth-ease-out);
    animation-duration: 1ms;
    animation-iteration-count: 1;
    animation-delay: -1ms;
  }
}

.cirth {
  --cirth-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --cirth-font-family-sans: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
    "Helvetica Neue", sans-serif, var(--cirth-font-family-emoji);
  --cirth-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --cirth-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
    monospace, var(--cirth-font-family-emoji);
  --cirth-font-size-xs: .75rem;
  --cirth-font-size-sm: .875rem;
  --cirth-font-size-md: 1rem;
  --cirth-font-size-lg: 1.125rem;
  --cirth-font-size-xl: 1.25rem;
  --cirth-font-size-2xl: 1.5rem;
  --cirth-font-size-3xl: 1.75rem;
  --cirth-font-size-4xl: 2rem;
  --cirth-font-size-5xl: 2.25rem;
  --cirth-font-size-6xl: 2.75rem;
  --cirth-font-size-7xl: 3.5rem;
  --cirth-font-weight-light: 300;
  --cirth-font-weight-regular: 400;
  --cirth-font-weight-medium: 500;
  --cirth-font-weight-semibold: 600;
  --cirth-font-weight-bold: 700;
  --cirth-letter-spacing-tight: -.03em;
  --cirth-letter-spacing-snug: -.01em;
  --cirth-line-height-none: 1;
  --cirth-line-height-tight: 1.125;
  --cirth-line-height-snug: 1.25;
  --cirth-line-height-normal: 1.5;
  --cirth-line-height-relaxed: 1.625;
  --cirth-line-height-loose: 2;
  --cirth-space-0: 0;
  --cirth-space-1: .25rem;
  --cirth-space-2: .5rem;
  --cirth-space-3: .75rem;
  --cirth-space-4: 1rem;
  --cirth-space-5: 1.25rem;
  --cirth-space-6: 1.5rem;
  --cirth-space-8: 2rem;
  --cirth-space-10: 2.5rem;
  --cirth-space-12: 3rem;
  --cirth-space-16: 4rem;
  --cirth-space-20: 5rem;
  --cirth-space-24: 6rem;
  --cirth-radius-none: 0;
  --cirth-radius-xs: .125rem;
  --cirth-radius-sm: .25rem;
  --cirth-radius-md: .375rem;
  --cirth-radius-lg: .5rem;
  --cirth-radius-xl: .75rem;
  --cirth-radius-2xl: 1rem;
  --cirth-radius-pill: 9999px;
  --cirth-border-width-0: 0;
  --cirth-border-width-1: .0625rem;
  --cirth-border-width-2: .125rem;
  --cirth-border-width-4: .25rem;
  --cirth-duration-instant: 0s;
  --cirth-duration-fast: .1s;
  --cirth-duration-normal: .2s;
  --cirth-duration-slow: .3s;
  --cirth-duration-slower: .5s;
  --cirth-ease-linear: linear;
  --cirth-ease-in: cubic-bezier(.4, 0, 1, 1);
  --cirth-ease-out: cubic-bezier(0, 0, .2, 1);
  --cirth-ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --cirth-opacity-disabled: .5;
  --cirth-opacity-overlay: .75;
  --cirth-z-index-dropdown: 1000;
  --cirth-z-index-sticky: 1020;
  --cirth-z-index-fixed: 1030;
  --cirth-z-index-modal-backdrop: 1040;
  --cirth-z-index-modal: 1050;
  --cirth-font-family: var(--cirth-font-family-sans);
  --cirth-font-family-display: var(--cirth-font-family-sans);
  --cirth-line-height: var(--cirth-line-height-normal);
  --cirth-font-weight: var(--cirth-font-weight-regular);
  --cirth-font-size: 100%;
  --cirth-text-underline-offset: .15em;
  --cirth-border-radius: var(--cirth-radius-sm);
  --cirth-card-border-radius: calc(var(--cirth-border-radius) * 1.5);
  --cirth-checkbox-border-radius: min(var(--cirth-border-radius),
    var(--cirth-radius-sm));
  --cirth-code-border-radius: min(var(--cirth-border-radius),
    var(--cirth-radius-sm));
  --cirth-border-width: var(--cirth-border-width-1);
  --cirth-outline-width: var(--cirth-border-width-2);
  --cirth-background-color: var(--cirth-canvas);
  --cirth-transition: var(--cirth-duration-normal) var(--cirth-ease-out);
  --cirth-spacing: var(--cirth-space-4);
  --cirth-typography-spacing-vertical: var(--cirth-spacing);
  --cirth-block-spacing-vertical: var(--cirth-spacing);
  --cirth-block-spacing-horizontal: var(--cirth-spacing);
  --cirth-container-gutter: clamp(var(--cirth-space-4),
    4%,
    var(--cirth-space-12));
  --cirth-container-max-width: 60rem;
  --cirth-form-element-spacing-vertical: var(--cirth-space-2);
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
  --cirth-form-label-font-weight: var(--cirth-font-weight-medium);
  --cirth-group-box-shadow: 0 0 0 #0000;
  --cirth-group-box-shadow-focus-with-button: 0 0 0 var(--cirth-outline-width)
    var(--cirth-primary-focus);
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
    var(--cirth-form-element-border-color);
  --cirth-card-box-shadow: none;
  --cirth-meter-background-color: var(--cirth-progress-background-color);
  --cirth-meter-border-color: var(--cirth-progress-border-color);
  --cirth-popover-border-color: var(--cirth-muted-border-color);
  --cirth-popover-color: var(--cirth-ink);
  --cirth-popover-box-shadow: var(--cirth-box-shadow);
  --cirth-popover-max-width: min(30rem, 100% - var(--cirth-spacing) * 2);
  --cirth-modal-max-width: 43.75rem;
  --cirth-modal-overlay-backdrop-filter: blur(.375rem);
  --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
  --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
  --cirth-nav-link-spacing-vertical: var(--cirth-space-2);
  --cirth-nav-link-spacing-horizontal: var(--cirth-space-2);
  --cirth-nav-breadcrumb-divider: ">";
  --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");
  --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");
  --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");
  --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(142, 144, 161)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
}

.cirth :focus-visible {
  transition-duration: var(--cirth-duration-instant);
}

.cirth a {
  --cirth-text-decoration: underline;
}

.cirth small {
  --cirth-font-size: .875em;
  font-size: var(--cirth-font-size);
}

.cirth h1, .cirth h2, .cirth h3 {
  --cirth-font-weight: var(--cirth-font-weight-bold);
}

.cirth h4, .cirth h5, .cirth h6 {
  --cirth-font-weight: var(--cirth-font-weight-semibold);
}

.cirth h1, .cirth h2 {
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
}

.cirth h3, .cirth h4 {
  --cirth-letter-spacing: var(--cirth-letter-spacing-snug);
}

.cirth h1 {
  --cirth-font-size: clamp(var(--cirth-font-size-3xl),
    1.31rem + 1.8vw,
    var(--cirth-font-size-6xl));
  --cirth-line-height: var(--cirth-line-height-tight);
  --cirth-typography-spacing-top: var(--cirth-space-12);
}

.cirth h2 {
  --cirth-font-size: clamp(var(--cirth-font-size-2xl),
    1.28rem + .9vw,
    var(--cirth-font-size-4xl));
  --cirth-line-height: var(--cirth-line-height-snug);
  --cirth-typography-spacing-top: var(--cirth-space-12);
}

.cirth h3 {
  --cirth-font-size: clamp(var(--cirth-font-size-xl),
    1.14rem + .45vw,
    var(--cirth-font-size-2xl));
  --cirth-line-height: var(--cirth-line-height-snug);
  --cirth-typography-spacing-top: var(--cirth-space-10);
}

.cirth h4 {
  --cirth-font-size: var(--cirth-font-size-xl);
  --cirth-line-height: var(--cirth-line-height-snug);
  --cirth-typography-spacing-top: var(--cirth-space-8);
}

.cirth h5 {
  --cirth-font-size: var(--cirth-font-size-lg);
  --cirth-line-height: var(--cirth-line-height-snug);
  --cirth-typography-spacing-top: var(--cirth-space-8);
}

.cirth h6 {
  --cirth-font-size: var(--cirth-font-size-md);
  --cirth-line-height: var(--cirth-line-height-snug);
  --cirth-typography-spacing-top: var(--cirth-space-8);
}

.cirth article {
  --cirth-block-spacing-vertical: var(--cirth-space-5);
  --cirth-block-spacing-horizontal: var(--cirth-space-5);
}

.cirth thead th, .cirth thead td, .cirth tfoot th, .cirth tfoot td {
  --cirth-font-weight: var(--cirth-font-weight-semibold);
}

.cirth pre, .cirth code, .cirth kbd, .cirth samp, .cirth var {
  --cirth-font-family: var(--cirth-font-family-mono);
}

.cirth code, .cirth kbd, .cirth samp {
  --cirth-border-radius: var(--cirth-code-border-radius);
}

.cirth kbd {
  --cirth-font-weight: bolder;
}

.cirth [type="search"] {
  --cirth-border-radius: var(--cirth-radius-pill);
}

.cirth [role="group"]:not(fieldset) [type="search"] {
  --cirth-border-radius: inherit;
}

.cirth button, .cirth [type="submit"], .cirth [type="reset"], .cirth [type="button"], .cirth [role="button"] {
  --cirth-font-weight: var(--cirth-font-weight-semibold);
  --cirth-form-element-spacing-horizontal: var(--cirth-space-4);
}

.cirth [type="checkbox"], .cirth [type="radio"] {
  --cirth-border-width: var(--cirth-border-width-2);
}

.cirth [type="checkbox"] {
  --cirth-border-radius: var(--cirth-checkbox-border-radius);
}

.cirth [type="checkbox"][role="switch"] {
  --cirth-border-width: .1875rem;
}

.cirth [role="search"] {
  --cirth-border-radius: var(--cirth-radius-pill);
}

.cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"]:not(fieldset) button, .cirth [role="group"]:not(fieldset) [type="submit"], .cirth [role="group"]:not(fieldset) [type="button"], .cirth [role="group"]:not(fieldset) [role="button"] {
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
}

.cirth details summary[role="button"]:after {
  filter: brightness(0) invert();
}

.cirth {
  --cirth-canvas: light-dark(oklch(97.3% .006 44), oklch(20.15% .0225 280));
  --cirth-ink: light-dark(oklch(35.3% .027 280), oklch(83% .011 280));
  --cirth-color: var(--cirth-ink);
  --cirth-muted-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
  --cirth-muted-border-color: light-dark(oklch(93.85% .002 280), oklch(26.7% .025 280));
  --cirth-error: light-dark(oklch(44% .151 22), oklch(74.3% .133 22));
  --cirth-success: light-dark(oklch(52.7% .115 153), oklch(65.7% .144 153));
  --cirth-warning: light-dark(oklch(48.3% .084 89.5), oklch(70% .122 89.5));
  --cirth-primary: light-dark(oklch(52.7% .107 44), oklch(65.7% .134 44));
  --cirth-secondary-text: light-dark(oklch(52.7% .031 280), oklch(70% .021 280));
  --cirth-secondary-underline: light-dark(oklch(52.7% .031 280 / .5), oklch(70% .021 280 / .5));
  --cirth-secondary-active: light-dark(oklch(44% .029 280), oklch(78.7% .014 280));
  --cirth-secondary-surface-active: light-dark(oklch(44% .029 280), oklch(52.7% .031 280));
  --cirth-secondary-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(70% .021 280 / .7));
  --cirth-contrast-text: light-dark(oklch(22.3% .023 280), oklch(91.7% .004 280));
  --cirth-contrast-surface: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
  --cirth-contrast-underline: light-dark(oklch(22.3% .023 280 / .5), oklch(91.7% .004 280 / .5));
  --cirth-contrast-active: light-dark(oklch(0% 0 0), oklch(100% 0 0));
  --cirth-contrast-surface-active: light-dark(oklch(0% 0 0), oklch(100% 0 0));
  --cirth-contrast-focus: light-dark(oklch(48.3% .03 280 / .7), oklch(87.3% .007 280 / .5));
  --cirth-contrast-on-surface: light-dark(oklch(100% 0 0), oklch(0% 0 0));
  --cirth-link-visited-color: light-dark(oklch(48.3% 0 280), oklch(65.7% 0 280));
  --cirth-box-shadow: light-dark(.0145rem .029rem .174rem oklch(65.7% .025 280 / .01698), .0335rem .067rem .402rem oklch(65.7% .025 280 / .024), .0625rem .125rem .75rem oklch(65.7% .025 280 / .03), .1125rem .225rem 1.35rem oklch(65.7% .025 280 / .036), .2085rem .417rem 2.502rem oklch(65.7% .025 280 / .04302), .5rem 1rem 6rem oklch(65.7% .025 280 / .06), 0 0 0 .0625rem oklch(65.7% .025 280 / .015),
    .0145rem .029rem .174rem oklch(9% .011 280 / .01698), .0335rem .067rem .402rem oklch(9% .011 280 / .024), .0625rem .125rem .75rem oklch(9% .011 280 / .03), .1125rem .225rem 1.35rem oklch(9% .011 280 / .036), .2085rem .417rem 2.502rem oklch(9% .011 280 / .04302), .5rem 1rem 6rem oklch(9% .011 280 / .06), 0 0 0 .0625rem oklch(9% .011 280 / .015));
  --cirth-h1-color: light-dark(oklch(22.3% .023 280), oklch(96% 0 280));
  --cirth-h2-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
  --cirth-h3-color: light-dark(oklch(31% .026 280), oklch(83% .011 280));
  --cirth-h4-color: light-dark(oklch(35.3% .027 280), oklch(78.7% .014 280));
  --cirth-h5-color: light-dark(oklch(39.7% .028 280), oklch(74.3% .018 280));
  --cirth-h6-color: light-dark(oklch(44% .029 280), oklch(65.7% .025 280));
  --cirth-mark-color: light-dark(oklch(18% .022 280), oklch(100% 0 0));
  --cirth-code-color: light-dark(oklch(52.7% .031 280), oklch(65.7% .025 280));
  --cirth-form-element-selected-background-color: light-dark(oklch(91.7% .004 280), oklch(31% .026 280));
  --cirth-form-element-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
  --cirth-form-element-color: light-dark(oklch(26.7% .025 280), oklch(91.7% .004 280));
  --cirth-switch-background-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
  --cirth-range-border-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
  --cirth-range-active-border-color: light-dark(oklch(83% .011 280), oklch(31% .026 280));
  --cirth-progress-background-color: light-dark(oklch(91.7% .004 280), oklch(26.7% .025 280));
  --cirth-progress-border-color: light-dark(oklch(61.3% .028 280), oklch(52.7% .031 280));
}

.cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
  color-scheme: light;
  --cirth-error-text: color-mix(in oklch, var(--cirth-error) 80.2%, black);
  --cirth-error-border: oklch(from var(--cirth-error) calc(l * 1.493) calc(c * 1.298) h);
  --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.198) calc(c * 1.199) h);
  --cirth-error-surface: oklch(from var(--cirth-error) 93% .05 h);
  --cirth-success-text: color-mix(in oklch, var(--cirth-success) 67%, black);
  --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.163) calc(c * 1.17) h);
  --cirth-success-active: var(--cirth-success);
  --cirth-success-surface: oklch(from var(--cirth-success) 93% .05 h);
  --cirth-warning-text: color-mix(in oklch, var(--cirth-warning) 73.1%, black);
  --cirth-warning-border: oklch(from var(--cirth-warning) calc(l * 1.269) calc(c * 1.267) h);
  --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.091) calc(c * 1.081) h);
  --cirth-warning-surface: oklch(from var(--cirth-warning) 93% .05 h);
  --cirth-primary-text: var(--cirth-primary);
  --cirth-primary-surface: var(--cirth-primary);
  --cirth-primary-border: var(--cirth-primary-surface);
  --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
  --cirth-primary-active: color-mix(in oklch,
    var(--cirth-primary) 83.5%,
    black);
  --cirth-primary-surface-active: color-mix(in oklch,
    var(--cirth-primary) 91.7%,
    black);
  --cirth-primary-border-active: var(--cirth-primary-surface-active);
  --cirth-primary-underline-active: var(--cirth-primary-active);
  --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 75%);
  --cirth-primary-on-surface: oklch(100% 0 0);
  --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.247) c h / 25%);
  --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .019) c h);
  --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .009) c h);
  --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
  --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .018) c h);
  --cirth-form-element-active-background-color: var(--cirth-canvas);
  --cirth-dropdown-background-color: var(--cirth-card-background-color);
  --cirth-popover-background-color: var(--cirth-card-background-color);
  --cirth-secondary-surface: oklch(48.3% .03 280);
  --cirth-secondary-border: var(--cirth-secondary-surface);
  --cirth-secondary-border-active: var(--cirth-secondary-surface-active);
  --cirth-secondary-underline-active: var(--cirth-secondary-active);
  --cirth-secondary-on-surface: oklch(100% 0 0);
  --cirth-contrast-border: var(--cirth-contrast-surface);
  --cirth-contrast-border-active: var(--cirth-contrast-surface-active);
  --cirth-contrast-underline-active: var(--cirth-secondary-active);
  --cirth-mark-background-color: color-mix(in oklab,
    var(--cirth-primary) 18%,
    var(--cirth-canvas));
  --cirth-ins-color: var(--cirth-success-text);
  --cirth-del-color: var(--cirth-error-text);
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
  --cirth-button-box-shadow: 0 0 0 #0000;
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
  --cirth-table-border-color: var(--cirth-card-border-color);
  --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
  --cirth-code-kbd-background-color: var(--cirth-ink);
  --cirth-code-kbd-color: var(--cirth-background-color);
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
  --cirth-form-element-invalid-border-color: var(--cirth-error-border);
  --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
  --cirth-form-element-valid-border-color: var(--cirth-success-border);
  --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
  --cirth-switch-checked-background-color: var(--cirth-primary-surface);
  --cirth-switch-color: var(--cirth-primary-on-surface);
  --cirth-range-thumb-border-color: var(--cirth-background-color);
  --cirth-range-thumb-color: var(--cirth-secondary-text);
  --cirth-range-thumb-active-color: var(--cirth-primary-surface);
  --cirth-accordion-active-summary-color: var(--cirth-primary-active);
  --cirth-accordion-close-summary-color: var(--cirth-ink);
  --cirth-accordion-open-summary-color: var(--cirth-ink);
  --cirth-card-border-color: color-mix(in oklab,
    var(--cirth-form-element-border-color) 38%,
    oklch(from var(--cirth-card-background-color) l 0 h));
  --cirth-modal-overlay-background-color: oklch(93.85% .002 280deg / var(--cirth-opacity-overlay));
  --cirth-meter-optimum-color: var(--cirth-success);
  --cirth-meter-suboptimum-color: var(--cirth-warning);
  --cirth-meter-even-less-good-color: var(--cirth-error);
  --cirth-progress-color: var(--cirth-primary-surface);
  --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(103, 105, 125)' 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");
  --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(103, 105, 125)' 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");
  --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(103, 105, 125)' 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");
  --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(103, 105, 125)' 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");
  --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, 126, 74)' 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");
  --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, 44, 56)' 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");
}

@media only screen and (prefers-color-scheme: dark) {
  .cirth:where(:not([data-theme])) {
    color-scheme: dark;
    --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
    --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
    --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
    --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
    --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
    --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
    --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
    --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
    --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
    --cirth-warning-border: var(--cirth-warning);
    --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
    --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
    --cirth-primary-text: var(--cirth-primary);
    --cirth-primary-surface: color-mix(in oklch,
      var(--cirth-primary) 75.2%,
      black);
    --cirth-primary-border: var(--cirth-primary-surface);
    --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
    --cirth-primary-active: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
    --cirth-primary-surface-active: color-mix(in oklch,
      var(--cirth-primary) 72%,
      black);
    --cirth-primary-border-active: var(--cirth-primary-surface-active);
    --cirth-primary-underline-active: var(--cirth-primary-active);
    --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
    --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
    --cirth-primary-on-surface: oklch(100% 0 0);
    --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
    --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
    --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
    --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
    --cirth-form-element-active-background-color: var(--cirth-canvas);
    --cirth-dropdown-background-color: var(--cirth-card-background-color);
    --cirth-popover-background-color: var(--cirth-card-background-color);
    --cirth-secondary-surface: oklch(48.3% .03 280);
    --cirth-secondary-border: var(--cirth-secondary-surface);
    --cirth-secondary-border-active: var(--cirth-secondary-surface-active);
    --cirth-secondary-underline-active: var(--cirth-secondary-active);
    --cirth-secondary-on-surface: oklch(100% 0 0);
    --cirth-contrast-border: var(--cirth-contrast-surface);
    --cirth-contrast-border-active: var(--cirth-contrast-surface-active);
    --cirth-contrast-underline-active: var(--cirth-contrast-active);
    --cirth-mark-background-color: color-mix(in oklab,
      var(--cirth-primary) 24%,
      var(--cirth-canvas));
    --cirth-ins-color: var(--cirth-success-text);
    --cirth-del-color: var(--cirth-error-text);
    --cirth-blockquote-border-color: var(--cirth-muted-border-color);
    --cirth-blockquote-footer-color: var(--cirth-muted-color);
    --cirth-button-box-shadow: 0 0 0 #0000;
    --cirth-button-hover-box-shadow: 0 0 0 #0000;
    --cirth-table-border-color: var(--cirth-card-border-color);
    --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
    --cirth-code-kbd-background-color: var(--cirth-ink);
    --cirth-code-kbd-color: var(--cirth-background-color);
    --cirth-form-element-placeholder-color: oklch(65.7% .025 280);
    --cirth-form-element-active-border-color: var(--cirth-primary-border);
    --cirth-form-element-focus-color: var(--cirth-primary-focus);
    --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
    --cirth-form-element-invalid-border-color: var(--cirth-error-border);
    --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
    --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
    --cirth-form-element-valid-border-color: var(--cirth-success-border);
    --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
    --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
    --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
    --cirth-switch-checked-background-color: var(--cirth-primary-surface);
    --cirth-switch-color: var(--cirth-primary-on-surface);
    --cirth-range-thumb-border-color: var(--cirth-background-color);
    --cirth-range-thumb-color: var(--cirth-secondary-text);
    --cirth-range-thumb-active-color: var(--cirth-primary-surface);
    --cirth-accordion-active-summary-color: var(--cirth-primary-active);
    --cirth-accordion-close-summary-color: var(--cirth-ink);
    --cirth-accordion-open-summary-color: var(--cirth-ink);
    --cirth-card-border-color: color-mix(in oklab,
      var(--cirth-form-element-border-color) 46%,
      var(--cirth-card-background-color));
    --cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
    --cirth-meter-optimum-color: var(--cirth-success);
    --cirth-meter-suboptimum-color: var(--cirth-warning);
    --cirth-meter-even-less-good-color: var(--cirth-error);
    --cirth-progress-color: var(--cirth-primary-text);
    --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(142, 144, 161)' 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");
    --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(142, 144, 161)' 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");
    --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(142, 144, 161)' 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");
    --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(142, 144, 161)' 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");
    --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, 216, 131)' 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");
    --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, 158, 155)' 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");
  }
}

.cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
  color-scheme: dark;
  --cirth-error-text: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
  --cirth-error-border: oklch(from var(--cirth-error) calc(l * .942) calc(c * 1.226) h);
  --cirth-error-active: oklch(from var(--cirth-error) calc(l * 1.059) calc(c * .797) h);
  --cirth-error-surface: oklch(from var(--cirth-error) 35.3% .063 h);
  --cirth-success-text: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
  --cirth-success-border: oklch(from var(--cirth-success) calc(l * 1.065) calc(c * 1.064) h);
  --cirth-success-active: oklch(from var(--cirth-success) calc(l * 1.198) calc(c * 1.2) h);
  --cirth-success-surface: oklch(from var(--cirth-success) 35.3% .063 h);
  --cirth-warning-text: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
  --cirth-warning-border: var(--cirth-warning);
  --cirth-warning-active: oklch(from var(--cirth-warning) calc(l * 1.124) calc(c * 1.121) h);
  --cirth-warning-surface: oklch(from var(--cirth-warning) 35.3% .063 h);
  --cirth-primary-text: var(--cirth-primary);
  --cirth-primary-surface: color-mix(in oklch,
    var(--cirth-primary) 75.2%,
    black);
  --cirth-primary-border: var(--cirth-primary-surface);
  --cirth-primary-underline: oklch(from var(--cirth-primary) l c h / 50%);
  --cirth-primary-active: oklch(from var(--cirth-primary) calc(l * 1.124) calc(c * 1.132) h);
  --cirth-primary-surface-active: color-mix(in oklch,
    var(--cirth-primary) 72%,
    black);
  --cirth-primary-border-active: var(--cirth-primary-surface-active);
  --cirth-primary-underline-active: var(--cirth-primary-active);
  --cirth-primary-focus: oklch(from var(--cirth-primary) l c h / 80%);
  --cirth-text-selection-color: oklch(from var(--cirth-primary) calc(l * 1.065) c h / 18.75%);
  --cirth-primary-on-surface: oklch(100% 0 0);
  --cirth-code-background-color: oklch(from var(--cirth-canvas) calc(l - .02) c h);
  --cirth-card-sectioning-background-color: oklch(from var(--cirth-canvas) calc(l + .025) c h);
  --cirth-form-element-background-color: oklch(from var(--cirth-canvas) calc(l - .008) c h);
  --cirth-card-background-color: oklch(from var(--cirth-canvas) calc(l + .04) c h);
  --cirth-form-element-active-background-color: var(--cirth-canvas);
  --cirth-dropdown-background-color: var(--cirth-card-background-color);
  --cirth-popover-background-color: var(--cirth-card-background-color);
  --cirth-secondary-surface: oklch(48.3% .03 280);
  --cirth-secondary-border: var(--cirth-secondary-surface);
  --cirth-secondary-border-active: var(--cirth-secondary-surface-active);
  --cirth-secondary-underline-active: var(--cirth-secondary-active);
  --cirth-secondary-on-surface: oklch(100% 0 0);
  --cirth-contrast-border: var(--cirth-contrast-surface);
  --cirth-contrast-border-active: var(--cirth-contrast-surface-active);
  --cirth-contrast-underline-active: var(--cirth-contrast-active);
  --cirth-mark-background-color: color-mix(in oklab,
    var(--cirth-primary) 24%,
    var(--cirth-canvas));
  --cirth-ins-color: var(--cirth-success-text);
  --cirth-del-color: var(--cirth-error-text);
  --cirth-blockquote-border-color: var(--cirth-muted-border-color);
  --cirth-blockquote-footer-color: var(--cirth-muted-color);
  --cirth-button-box-shadow: 0 0 0 #0000;
  --cirth-button-hover-box-shadow: 0 0 0 #0000;
  --cirth-table-border-color: var(--cirth-card-border-color);
  --cirth-table-row-stripped-background-color: oklch(57% .032 280 / .0375);
  --cirth-code-kbd-background-color: var(--cirth-ink);
  --cirth-code-kbd-color: var(--cirth-background-color);
  --cirth-form-element-placeholder-color: oklch(65.7% .025 280);
  --cirth-form-element-active-border-color: var(--cirth-primary-border);
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
  --cirth-form-element-disabled-opacity: var(--cirth-opacity-disabled);
  --cirth-form-element-invalid-border-color: var(--cirth-error-border);
  --cirth-form-element-invalid-active-border-color: var(--cirth-error-active);
  --cirth-form-element-invalid-focus-color: var(--cirth-form-element-invalid-active-border-color);
  --cirth-form-element-valid-border-color: var(--cirth-success-border);
  --cirth-form-element-valid-active-border-color: var(--cirth-success-active);
  --cirth-form-element-valid-focus-color: var(--cirth-form-element-valid-active-border-color);
  --cirth-switch-thumb-box-shadow: 0 0 0 #0000;
  --cirth-switch-checked-background-color: var(--cirth-primary-surface);
  --cirth-switch-color: var(--cirth-primary-on-surface);
  --cirth-range-thumb-border-color: var(--cirth-background-color);
  --cirth-range-thumb-color: var(--cirth-secondary-text);
  --cirth-range-thumb-active-color: var(--cirth-primary-surface);
  --cirth-accordion-active-summary-color: var(--cirth-primary-active);
  --cirth-accordion-close-summary-color: var(--cirth-ink);
  --cirth-accordion-open-summary-color: var(--cirth-ink);
  --cirth-card-border-color: color-mix(in oklab,
    var(--cirth-form-element-border-color) 46%,
    var(--cirth-card-background-color));
  --cirth-modal-overlay-background-color: oklch(9% .011 280deg / var(--cirth-opacity-overlay));
  --cirth-meter-optimum-color: var(--cirth-success);
  --cirth-meter-suboptimum-color: var(--cirth-warning);
  --cirth-meter-even-less-good-color: var(--cirth-error);
  --cirth-progress-color: var(--cirth-primary-text);
  --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(142, 144, 161)' 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");
  --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(142, 144, 161)' 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");
  --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(142, 144, 161)' 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");
  --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(142, 144, 161)' 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");
  --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, 216, 131)' 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");
  --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, 158, 155)' 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");
}

.cirth progress, .cirth [type="checkbox"], .cirth [type="radio"], .cirth [type="range"] {
  accent-color: var(--cirth-primary-text);
}

@media (prefers-contrast: more) {
  .cirth:where([data-theme="light"]), .cirth :where([data-theme="light"]), .cirth:where(:not([data-theme="dark"])) {
    --cirth-ink: oklch(22.3% .023 280);
    --cirth-h1-color: var(--cirth-color);
    --cirth-h2-color: var(--cirth-color);
    --cirth-h3-color: var(--cirth-color);
    --cirth-h4-color: var(--cirth-color);
    --cirth-h5-color: var(--cirth-color);
    --cirth-h6-color: var(--cirth-color);
    --cirth-muted-color: oklch(39.7% .028 280);
    --cirth-secondary-text: oklch(39.7% .028 280);
    --cirth-code-color: oklch(35.3% .027 280);
    --cirth-link-visited-color: oklch(35.3% .027 280);
    --cirth-muted-border-color: oklch(57% .032 280);
    --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(68, 69, 86)' 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");
    --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(68, 69, 86)' 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");
    --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(68, 69, 86)' 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");
    --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(68, 69, 86)' 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");
    --cirth-form-element-border-color: oklch(39.7% .028 280);
    --cirth-form-element-invalid-border-color: oklch(48.3% .165 22);
    --cirth-form-element-valid-border-color: oklch(48.3% .106 153);
    --cirth-primary: oklch(39.7% .081 44);
    --cirth-primary-active: oklch(31% .063 44);
    --cirth-primary-underline: var(--cirth-primary);
    --cirth-secondary-underline: var(--cirth-secondary-text);
    --cirth-contrast-underline: var(--cirth-contrast-text);
    --cirth-primary-focus: oklch(48.3% .098 44);
    --cirth-secondary-focus: oklch(48.3% .03 280);
    --cirth-contrast-focus: oklch(48.3% .03 280);
    --cirth-switch-background-color: oklch(48.3% .03 280);
    --cirth-progress-border-color: oklch(48.3% .03 280);
    --cirth-meter-optimum-color: oklch(44% .096 153);
    --cirth-meter-suboptimum-color: oklch(39.7% .069 89.5);
    --cirth-meter-even-less-good-color: oklch(35.3% .121 22);
  }
}

@media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
  .cirth:where(:not([data-theme])) {
    --cirth-ink: oklch(96% 0 280);
    --cirth-h1-color: var(--cirth-color);
    --cirth-h2-color: var(--cirth-color);
    --cirth-h3-color: var(--cirth-color);
    --cirth-h4-color: var(--cirth-color);
    --cirth-h5-color: var(--cirth-color);
    --cirth-h6-color: var(--cirth-color);
    --cirth-muted-color: oklch(78.7% .014 280);
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --cirth-secondary-text: oklch(78.7% .014 280);
    --cirth-code-color: oklch(83% .011 280);
    --cirth-link-visited-color: oklch(78.7% .014 280);
    --cirth-muted-border-color: oklch(57% .032 280);
    --cirth-card-border-color: var(--cirth-muted-border-color);
    --cirth-form-element-border-color: oklch(70% .021 280);
    --cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
    --cirth-form-element-valid-border-color: oklch(78.7% .172 153);
    --cirth-primary: oklch(78.7% .092 44);
    --cirth-primary-active: oklch(87.3% .051 44);
    --cirth-primary-surface: oklch(44% .09 44);
    --cirth-primary-surface-active: oklch(39.7% .081 44);
    --cirth-primary-underline: var(--cirth-primary);
    --cirth-secondary-underline: var(--cirth-secondary-text);
    --cirth-contrast-underline: var(--cirth-contrast-text);
    --cirth-primary-focus: oklch(70% .141 44);
    --cirth-secondary-focus: oklch(70% .021 280);
    --cirth-contrast-focus: oklch(87.3% .007 280);
    --cirth-switch-background-color: oklch(65.7% .025 280);
    --cirth-progress-border-color: oklch(70% .021 280);
    --cirth-meter-optimum-color: oklch(74.3% .163 153);
    --cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
    --cirth-meter-even-less-good-color: oklch(83% .08 22);
  }
}

@media (prefers-contrast: more) {
  .cirth:where([data-theme="dark"]), .cirth :where([data-theme="dark"]) {
    --cirth-ink: oklch(96% 0 280);
    --cirth-h1-color: var(--cirth-color);
    --cirth-h2-color: var(--cirth-color);
    --cirth-h3-color: var(--cirth-color);
    --cirth-h4-color: var(--cirth-color);
    --cirth-h5-color: var(--cirth-color);
    --cirth-h6-color: var(--cirth-color);
    --cirth-muted-color: oklch(78.7% .014 280);
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --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(183, 185, 195)' 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");
    --cirth-secondary-text: oklch(78.7% .014 280);
    --cirth-code-color: oklch(83% .011 280);
    --cirth-link-visited-color: oklch(78.7% .014 280);
    --cirth-muted-border-color: oklch(57% .032 280);
    --cirth-card-border-color: var(--cirth-muted-border-color);
    --cirth-form-element-border-color: oklch(70% .021 280);
    --cirth-form-element-invalid-border-color: oklch(78.7% .105 22);
    --cirth-form-element-valid-border-color: oklch(78.7% .172 153);
    --cirth-primary: oklch(78.7% .092 44);
    --cirth-primary-active: oklch(87.3% .051 44);
    --cirth-primary-surface: oklch(44% .09 44);
    --cirth-primary-surface-active: oklch(39.7% .081 44);
    --cirth-primary-underline: var(--cirth-primary);
    --cirth-secondary-underline: var(--cirth-secondary-text);
    --cirth-contrast-underline: var(--cirth-contrast-text);
    --cirth-primary-focus: oklch(70% .141 44);
    --cirth-secondary-focus: oklch(70% .021 280);
    --cirth-contrast-focus: oklch(87.3% .007 280);
    --cirth-switch-background-color: oklch(65.7% .025 280);
    --cirth-progress-border-color: oklch(70% .021 280);
    --cirth-meter-optimum-color: oklch(74.3% .163 153);
    --cirth-meter-suboptimum-color: oklch(78.7% .137 89.5);
    --cirth-meter-even-less-good-color: oklch(83% .08 22);
  }
}
