/* Start custom CSS *//* Light theme for questionnaire forms only (design system 2.0.0: forms open light, moon / sun toggle). CSS exception (standards §6): Elementor variables hold one value; light values from tokens.json modes. */
:root.mj-theme--light {
  --background: #FFFFFF; --surface: #F5F5F5; --border: #D4D4D4; --border-strong: #8F8F8F;
  --text: #0A0A0A; --text-muted: #6B6B6B; --text-subtle: #8F8F8F; --text-disabled: #B3B3B3;
  --action: #000000; --on-action: #FFFFFF; --focus: #000000;
  --error: #C4251B; --success: #067647; --overlay: rgba(255, 255, 255, 0.6);
  /* Old name still in use: point it at the 2.0.0 value (others retired 2026-10-23). */
  --text-secondary: #6B6B6B;
  color-scheme: light;
}
:root:not(.mj-theme--light) { color-scheme: dark; }
body { background-color: var(--background); }

/* Selected radio = ring with a 10 px dot; focus = 1 px colour change, no ring (shape step). CSS exception (standards §6): Elementor classes do not support :checked or :focus-visible; Elementor's own inner dot is hidden. */
body .elementor .mj-radio:checked { border-color: var(--action); background-color: transparent; box-shadow: inset 0 0 0 4px var(--background), inset 0 0 0 10px var(--action); }
body .elementor .mj-checkbox:checked { border-color: var(--action); background-color: var(--action); }
body .elementor .mj-radio::before { display: none; }
body .elementor .mj-radio:focus-visible, body .elementor .mj-checkbox:focus-visible { outline: none; border-color: var(--focus); }

/* File upload button: the standard pseudo-element is in the Custom Code snippet (Elementor rewrites a keyword and strips backslashes in page CSS). */
.mj-field::-webkit-file-upload-button {
  font-family: var(--font-body); font-size: var(--size-sm); font-weight: 500; color: var(--text); background: transparent;
  border: 1px solid var(--border-strong); border-radius: 0; padding: var(--space-xs) var(--space-sm); margin-inline-end: var(--space-sm); cursor: pointer;
}
.mj-field::-webkit-file-upload-button:hover { border-color: var(--text); }/* End custom CSS */