@namespace html url("http://www.w3.org/1999/xhtml");
@namespace svg url("http://www.w3.org/2000/svg");

@media screen and (forced-colors: none) {
  :root { --ur-ivory: #faf5e9; }
  body { --ur-action-ink: var(--ur-ivory); }
  body.lx-member main.lx section#formular.lx-join { --ink: var(--ur-ivory); }
  body.lx-member main.lx .lx-actions a#ur-join-start:any-link,
  body.lx-member main.lx section#formular.lx-join #membershipForm .actions :is(button.btn:enabled,a.btn.secondary) {
    color: var(--ur-ivory) !important;
    -webkit-text-fill-color: var(--ur-ivory) !important;
  }
  #ur-formular-230 a.ur35-action > span {
    -webkit-text-fill-color: var(--ur-ivory) !important;
  }
  #hmSvg.hm-svg svg|text.lbl.on-dark {
    fill: var(--ur-ivory) !important;
  }
  :where(svg|text, svg|tspan):is([fill="white" i], [fill="#fff" i], [fill="#ffffff" i]) {
    fill: var(--ur-ivory);
  }
  /*
   * Work on the glyph paint. A component can use currentColor for its text,
   * border, SVG artwork and focus ring independently of this rule.
   * The switch is 1 for whites (all channels >= 236, spread <= 18), else 0.
   * Relative rgb() carries through the original alpha, including translucent labels.
   */
  @supports (-webkit-text-fill-color: rgb(from currentColor calc(r + (250 - r) * clamp(0, min(r, g, b) - 235, 1)) g b)) {
    :root {
      --ur-white-ink: calc(clamp(0, min(r, g, b) - 235, 1) * clamp(0, 19 - (max(r, g, b) - min(r, g, b)), 1));
      --ur-text-paint: rgb(from currentColor
        calc(r + (250 - r) * var(--ur-white-ink))
        calc(g + (245 - g) * var(--ur-white-ink))
        calc(b + (233 - b) * var(--ur-white-ink)) / alpha);
    }
    :where(html|*),
    :where(html|*)::before,
    :where(html|*)::after,
    :where(html|input, html|textarea)::placeholder,
    :where(html|li)::marker {
      -webkit-text-fill-color: var(--ur-text-paint);
    }
    ::selection { -webkit-text-fill-color: currentColor; }
  }
  @supports not (-webkit-text-fill-color: rgb(from currentColor calc(r + (250 - r) * clamp(0, min(r, g, b) - 235, 1)) g b)) {
    body.ur-public-palette #site-header :is(nav a,.nav-link,.menu-btn),
    body.ur-public-palette main :is(p,li,dt,dd,figcaption),
    body#ur-home :is(.hero p,.linkline,#ur-newsletter-block label),
    body #urFooter :is(nav a,.foot-links a),
    .ur-tax-paper .site-foot :is(address,a), .ur-tax-paper #taxform button.action {
      color: var(--ur-ivory);
    }
  }
}
