@layer cirth {
  :root,
  :host,
  .cirth {
    --cirth-primary: light-dark(#6750a4, #d0bcff);
    --cirth-canvas: light-dark(#fef7ff, #141218);
    --cirth-ink: light-dark(#1d1b20, #e6e0e9);
    --cirth-ink-strong: var(--cirth-ink);
    --cirth-muted-color: light-dark(#49454f, #cac4d0);
    --cirth-form-element-color: var(--cirth-ink);
    --cirth-secondary-text: light-dark(#625b71, #ccc2dc);
    --cirth-secondary-active: light-dark(#4a4458, #e8def8);
    --cirth-secondary-underline: light-dark(
      rgb(98 91 113 / 50%),
      rgb(204 194 220 / 50%)
    );
    --cirth-form-element-selected-background-color: light-dark(
      #e8def8,
      #4a4458
    );
    --cirth-contrast-text: var(--cirth-ink);
    --cirth-contrast-surface: light-dark(#322f35, #e6e0e9);
    --cirth-error: light-dark(#8c1d18, #f2b8b5);
    --cirth-link-visited-color: light-dark(#545454, #969696);
    --cirth-font-family: Roboto, "Roboto Flex", var(--cirth-font-family-sans);
    --cirth-font-family-display: var(--cirth-font-family);
    --cirth-heading-font-weight: var(--cirth-font-weight-regular);
    --cirth-title-font-weight: var(--cirth-font-weight-medium);
    --cirth-display-font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5625rem);
    --cirth-border-radius: var(--cirth-radius-lg);
    --cirth-outline-width: 0.1875rem;
    --cirth-outline-offset: var(--cirth-border-width-2);
    --cirth-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    --cirth-modal-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
    --cirth-card-box-shadow: none;
    --cirth-modal-overlay-backdrop-filter: none;
    --cirth-transition: var(--cirth-duration-normal) cubic-bezier(0.2, 0, 0, 1);
  }
  :root,
  :host,
  .cirth,
  :where([data-theme]),
  .cirth [data-theme] {
    --cirth-primary-surface: var(--cirth-primary);
    --cirth-primary-on-surface: light-dark(#fff, #381e72);
    --cirth-primary-surface-active: color-mix(
      in srgb,
      var(--cirth-primary-on-surface) 8%,
      var(--cirth-primary-surface)
    );
    --cirth-primary-focus: var(--cirth-secondary-text);
    --cirth-form-element-border-color: light-dark(#79747e, #938f99);
    --cirth-muted-border-color: light-dark(#cac4d0, #49454f);
    --cirth-modal-overlay-background-color: rgb(0 0 0 / 32%);
  }
  @media (prefers-contrast: more) {
    :root,
    :host,
    .cirth {
      --cirth-primary: light-dark(#381e72, #f6edff);
      --cirth-ink: light-dark(#000, #fff);
      --cirth-secondary-text: light-dark(#332d41, #f6edff);
      --cirth-error: light-dark(#601410, #f2b8b5);
      --cirth-link-visited-color: light-dark(#474747, #c7c7c7);
    }
    :root,
    :host,
    .cirth,
    :where([data-theme]),
    .cirth [data-theme] {
      --cirth-primary-on-surface: light-dark(#fff, #000);
      --cirth-form-element-border-color: light-dark(#322f37, #f5eefa);
      --cirth-muted-border-color: light-dark(#49454f, #cac4d0);
      --cirth-form-element-invalid-border-color: var(--cirth-error);
      --cirth-switch-background-color: var(--cirth-form-element-border-color);
    }
  }
}