/* Shared checkbox and radio look (7 Nov 2026, founder: sleek, not old-fashioned edges). One file per site, loaded by every page that has a tickbox.
   Uses the site's accent (--amber / --gold) and the text colour, so it follows each page's dark or light theme. Ids, names, values and JS are untouched.
   Important flags on size and padding are deliberate: a form-wide rule (input{width:100%;padding:11px 14px}) and inline styles must never stretch a tickbox. */
:root{--cbx-accent:var(--amber,var(--gold,#e8a021))}
html input[type="checkbox"]:not([data-native]),
html input[type="radio"]:not([data-native]):not(.stage-opt input){
  -webkit-appearance:none;appearance:none;box-sizing:border-box!important;
  flex:0 0 18px;display:inline-block;vertical-align:top;
  width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;
  padding:0!important;margin:2px 0 0!important;
  background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:12px 12px;
  border:1.5px solid rgba(143,163,184,.55)!important;
  border:1.5px solid color-mix(in srgb,currentColor 38%,transparent)!important;
  cursor:pointer;outline:none;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
html input[type="checkbox"]:not([data-native]){border-radius:6px!important}
html input[type="radio"]:not([data-native]):not(.stage-opt input){border-radius:50%!important}
html input[type="checkbox"]:not([data-native]):hover:not(:disabled),
html input[type="radio"]:not([data-native]):not(.stage-opt input):hover:not(:disabled){border-color:var(--cbx-accent)!important}
html input[type="checkbox"]:not([data-native]):checked{
  background-color:var(--cbx-accent);border-color:var(--cbx-accent)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l2.9 2.9 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html input[type="radio"]:not([data-native]):not(.stage-opt input):checked{
  border-color:var(--cbx-accent)!important;
  background-image:radial-gradient(circle,var(--cbx-accent) 0 38%,transparent 42%);background-size:100% 100%;
}
html input[type="checkbox"]:not([data-native]):focus-visible,
html input[type="radio"]:not([data-native]):not(.stage-opt input):focus-visible{
  box-shadow:0 0 0 2px color-mix(in srgb,var(--cbx-accent) 40%,transparent);
}
html input[type="checkbox"]:not([data-native]):disabled,
html input[type="radio"]:not([data-native]):not(.stage-opt input):disabled{opacity:.45;cursor:not-allowed}
/* pill groups centre the control with their text; the label text must be allowed to wrap */
html .plx-g input[type="checkbox"]:not([data-native]),html .rtbx-g input[type="radio"]:not([data-native]),html .rtbx-g input[type="checkbox"]:not([data-native]){margin:0!important}
label>input[type="checkbox"]:not([data-native])~span,label>input[type="checkbox"]:not([data-native])~div{min-width:0}
