/* The shared app checkbox: approved Kader/role-selection reference.
   Existing inputs/buttons keep their roles, checked state, handlers and labels.
   Include this same file in the embedded Cloud; do not copy its styles there. */
@layer zustaende{
html body :is(.pf-haken,.ez-choice-check,.hk,.kd-hk,.ms-kader-check,.ms-sportcheck,.bt-check .kasten,.au-ck-box,.ss-selection-circle,.ss-member-check,input[type="checkbox"]){box-sizing:border-box;appearance:none;-webkit-appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 var(--sp-6);width:var(--sp-6);min-width:var(--sp-6);max-width:var(--sp-6);height:var(--sp-6);min-height:var(--sp-6);padding:0;border:1.5px solid var(--muted);border-radius:50%;background:transparent;background-image:none;box-shadow:none;color:var(--hl-ink);font-size:0;line-height:1;transition:none;vertical-align:middle}
html body input[type="checkbox"]{margin:0;cursor:pointer}
html body :is(.pf-haken,.ez-choice-check,.hk,.kd-hk,.ms-kader-check,.ms-sportcheck,.bt-check .kasten,.au-ck-box,.ss-selection-circle,.ss-member-check,input[type="checkbox"])::before{content:"";display:block;width:var(--sp-4);height:var(--sp-4);background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4 10-10' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;opacity:0}
html body :is(.pf-haken.an,.ez-choice-check.an,.hk.an,.kd-hk.an,.ms-kader-check.an,.ms-sportcheck,.bt-check.an .kasten,.au-ck.on .au-ck-box,.ss-file-select[aria-pressed="true"] .ss-selection-circle,.ss-table-all:is([aria-pressed="true"],[aria-pressed="mixed"]) .ss-selection-circle,.ss-member-row[aria-pressed="true"] .ss-member-check,input[type="checkbox"]:checked,input[type="checkbox"]:indeterminate){border-color:var(--hl);background:var(--hl);color:var(--hl-ink)}
html body :is(.pf-haken.an,.ez-choice-check.an,.hk.an,.kd-hk.an,.ms-kader-check.an,.ms-sportcheck,.bt-check.an .kasten,.au-ck.on .au-ck-box,.ss-file-select[aria-pressed="true"] .ss-selection-circle,.ss-table-all:is([aria-pressed="true"],[aria-pressed="mixed"]) .ss-selection-circle,.ss-member-row[aria-pressed="true"] .ss-member-check,input[type="checkbox"]:checked,input[type="checkbox"]:indeterminate)::before{opacity:1}
html body .ss-table-all[aria-pressed="mixed"] .ss-selection-circle::before,html body input[type="checkbox"]:indeterminate::before{mask:none;height:2px;border-radius:2px}
html body :is(.pf-haken,.ez-choice-check,.hk,.kd-hk,.ms-kader-check,.ms-sportcheck,.bt-check .kasten,.au-ck-box,.ss-selection-circle,.ss-member-check,input[type="checkbox"])>svg{display:none}
html body input[type="checkbox"]:focus-visible,html body .bt-check .kasten:focus-visible{outline:2px solid var(--klar-accent);outline-offset:3px}
html body input[type="checkbox"]:disabled{cursor:not-allowed;opacity:.45}
html body :is(button:disabled,[aria-disabled="true"]) :is(.pf-haken,.hk,.kasten,.kd-hk,.ss-member-check,.ss-selection-circle){opacity:.45}
/* Following saves the confirmed choice while temporarily locking the whole list.
   Keep those circles steady; genuinely unavailable choices remain dimmed. */
html body [data-follow-form][aria-busy="true"] button[data-follow-key]:disabled:not([aria-disabled="true"]) .pf-haken{opacity:1}
/* The complete row remains the target; standalone consent circles retain 44px hit area. */
html body .bt-check .kasten::after{content:"";position:absolute;inset:-12px}
html body .ms-sportcheck{position:absolute;top:var(--sp-2);right:var(--sp-2)}
@media(forced-colors:active){
 html body :is(.pf-haken,.ez-choice-check,.hk,.kd-hk,.ms-kader-check,.ms-sportcheck,.bt-check .kasten,.au-ck-box,.ss-selection-circle,.ss-member-check,input[type="checkbox"]){forced-color-adjust:none;border-color:ButtonText;color:ButtonText;background:Canvas}
 html body :is(.pf-haken.an,.ez-choice-check.an,.hk.an,.kd-hk.an,.ms-kader-check.an,.ms-sportcheck,.bt-check.an .kasten,.au-ck.on .au-ck-box,.ss-file-select[aria-pressed="true"] .ss-selection-circle,.ss-table-all:is([aria-pressed="true"],[aria-pressed="mixed"]) .ss-selection-circle,.ss-member-row[aria-pressed="true"] .ss-member-check,input[type="checkbox"]:checked,input[type="checkbox"]:indeterminate){border-color:Highlight;background:Highlight;color:HighlightText}
}
}
