/* cosmoform-site: word mark in the text colour (follows light/dark mode). */
.cosmoform-brand { display: inline-flex; align-items: center; color: inherit; }
.cosmoform-logo {
  display: block;
  height: var(--cosmoform-logo-height, 1.6rem);
  aspect-ratio: 564 / 118;
  background: currentColor;
  -webkit-mask: var(--cosmoform-logo) center / contain no-repeat;
  mask: var(--cosmoform-logo) center / contain no-repeat;
}

/* Theme switch icons without Font Awesome (no CDN): the theme shows one of the three; we only draw them. */
.theme-toggle .icon { background: currentColor; -webkit-mask: var(--cf-icon) center / contain no-repeat; mask: var(--cf-icon) center / contain no-repeat; }
.theme-toggle .icon::before { content: none !important; }
.theme-toggle .icon-sun { --cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1.5v3M12 19.5v3M1.5 12h3M19.5 12h3M4.6 4.6l2.1 2.1M17.3 17.3l2.1 2.1M4.6 19.4l2.1-2.1M17.3 6.7l2.1-2.1' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.theme-toggle .icon-moon { --cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 14.6A8.5 8.5 0 0 1 9.4 3.5a8.6 8.6 0 1 0 11.1 11.1z'/%3E%3C/svg%3E"); }
.theme-toggle .icon-auto { --cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18z'/%3E%3C/svg%3E"); }

/* Footer: copyright and legal links on one line. */
#footer .cosmoform-legal a { color: inherit; }
#footer .cosmoform-legal .sep { opacity: .5; margin: 0 .5em; }
