.to-checkbox{position:relative;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none}.to-checkbox-label{color:var(--th-text-secondary)}.to-checkbox-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.to-checkbox-box{position:relative;width:1.125rem;height:1.125rem;flex-shrink:0;border-radius:.25rem;border:1px solid var(--th-border);background:var(--th-bg-elevated);display:flex;align-items:center;justify-content:center;transition:background-color .2s ease-out,border-color .2s ease-out}.to-checkbox:hover .to-checkbox-box{background:var(--th-bg-muted);border-color:var(--th-text-muted)}.to-checkbox-input:checked+.to-checkbox-box{background:#2563eb;border-color:#2563eb}.to-checkbox:hover .to-checkbox-input:checked+.to-checkbox-box{background:#3b82f6;border-color:#3b82f6}.to-checkbox-input:indeterminate+.to-checkbox-box{background:#2563eb;border-color:#2563eb}.to-checkbox-input:focus-visible+.to-checkbox-box{outline:2px solid #3b82f6;outline-offset:2px}.to-checkbox-tick,.to-checkbox-dash{position:absolute;top:50%;left:50%;width:.75rem;height:.75rem;color:#fff;pointer-events:none;transform:translate(-50%,-50%) scale(.5);opacity:0;transition:transform .2s ease-out,opacity .2s ease-out}.to-checkbox-input:checked+.to-checkbox-box .to-checkbox-tick{transform:translate(-50%,-50%) scale(1);opacity:1}.to-checkbox-input:indeterminate+.to-checkbox-box .to-checkbox-tick{transform:translate(-50%,-50%) scale(.5);opacity:0}.to-checkbox-tick-path{stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .25s ease-in-out}.to-checkbox-input:checked+.to-checkbox-box .to-checkbox-tick-path{stroke-dashoffset:0}.to-checkbox-input:indeterminate+.to-checkbox-box .to-checkbox-dash{transform:translate(-50%,-50%) scale(1);opacity:1}.to-checkbox-dash-path{stroke-dasharray:14;stroke-dashoffset:14;transition:stroke-dashoffset .25s ease-in-out}.to-checkbox-input:indeterminate+.to-checkbox-box .to-checkbox-dash-path{stroke-dashoffset:0}.to-checkbox--sm .to-checkbox-box{width:.875rem;height:.875rem;border-radius:.1875rem}.to-checkbox--sm .to-checkbox-tick,.to-checkbox--sm .to-checkbox-dash{width:.625rem;height:.625rem}
