<commit_before>.label {
    background-color: #fff;
    border: 1px solid #d5d3cb;
    padding: 20px 30px;
    width: 100%;
    display: block;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;

    &:after {
        width: 32px;
        height: 32px;
        content: '';
        border: 2px solid #d5d3cb;
        border-radius: 50%;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
}

.label.checked {
    background-color: var(--main-bg-dark);

    &:after {
        background-color: #cfc487;
        border-color: #cfc487;
        background-image: url('/assets/check-mark.svg');
        background-repeat: no-repeat;
        background-position: 3px 4px;
    }
}

.input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}
<commit_msg>OwnedCrateRow: Use shared `sr-only` CSS class to hide native `<input>` element<commit_after>.label {
    background-color: #fff;
    border: 1px solid #d5d3cb;
    padding: 20px 30px;
    width: 100%;
    display: block;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;

    &:after {
        width: 32px;
        height: 32px;
        content: '';
        border: 2px solid #d5d3cb;
        border-radius: 50%;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
}

.label.checked {
    background-color: var(--main-bg-dark);

    &:after {
        background-color: #cfc487;
        border-color: #cfc487;
        background-image: url('/assets/check-mark.svg');
        background-repeat: no-repeat;
        background-position: 3px 4px;
    }
}

.input {
    composes: sr-only from '../styles/shared/a11y.module.css';
}

{'fraction_non_alphanumeric': 0.13358070500927643, 'fraction_numerical': 0.041743970315398886, 'mean_word_length': 2.055240793201133, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1677259', 'n_tokens_mistral': 798, 'n_tokens_neox': 714, 'n_words': 174}