/* Shared checkbox control. Native inputs retain keyboard and form semantics. */
body input[type="checkbox"]:not([role="switch"]):not([hidden]){
 appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;
 display:inline-grid!important;place-content:center;flex:0 0 22px!important;
 width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;
 margin:0!important;padding:0!important;vertical-align:middle;
 border:1.5px solid #94b5a2!important;border-radius:6px!important;background:#fff!important;
 box-shadow:none!important;cursor:pointer;accent-color:#47785a;
}
body input[type="checkbox"]:not([role="switch"]):not([hidden])::before{
 content:"";display:block;width:5px;height:10px;margin:0;
 border:solid #fff;border-width:0 2px 2px 0;
 transform:translateY(-1px) rotate(45deg);opacity:0;
}
body input[type="checkbox"]:not([role="switch"]):checked,
body input[type="checkbox"]:not([role="switch"]):indeterminate{background:#47785a!important;border-color:#47785a!important}
body input[type="checkbox"]:not([role="switch"]):checked::before{opacity:1}
body input[type="checkbox"]:not([role="switch"]):indeterminate::before{width:10px;height:0;border:0;border-top:2px solid #fff;transform:none;opacity:1}
body input[type="checkbox"]:not([role="switch"]):hover:not(:disabled){border-color:#47785a!important}
body input[type="checkbox"]:not([role="switch"]):focus-visible{outline:3px solid #a8cdb7!important;outline-offset:3px!important}
body input[type="checkbox"]:not([role="switch"]):disabled{opacity:.5;cursor:not-allowed}
body label:has(>input[type="checkbox"]:not([role="switch"]):not([hidden])){
 display:flex!important;align-items:flex-start!important;gap:12px!important;cursor:pointer;line-height:1.6;
}
body label:has(>input[type="checkbox"]:not([role="switch"]))>input{margin-top:2px!important}
body label:has(>input[type="checkbox"]:disabled){cursor:default}
body :is(p,.registration-field,.agent-check):has(>label+input[type="checkbox"]){
 display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:8px 12px!important;align-items:start;
}
body :is(p,.registration-field,.agent-check):has(>label+input[type="checkbox"])>input[type="checkbox"]{grid-column:1;grid-row:1;margin-top:2px!important}
body :is(p,.registration-field,.agent-check):has(>label+input[type="checkbox"])>label{grid-column:2;grid-row:1;width:auto!important;margin:0!important;line-height:1.6;cursor:pointer}
body :is(p,.registration-field,.agent-check):has(>label+input[type="checkbox"])>:is(.helptext,.help){grid-column:2}
body .agent-check:has(>input[type="checkbox"]+label){display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px 12px;align-items:start}
body .agent-check>label{margin:0;cursor:pointer}
body .agent-check>:is(.helptext,.help){grid-column:2}
@media(forced-colors:active){
 body input[type="checkbox"]:not([role="switch"]):not([hidden]){appearance:auto!important;-webkit-appearance:auto!important}
 body input[type="checkbox"]:not([role="switch"])::before{display:none!important}
}