.chip-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.chip {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #4b5563;
    background: rgba(55, 65, 81, .60);
    padding: .5rem .75rem;
    font-size: .875rem;
    line-height: 1rem;
    color: #d1d5db;
    transition: all .15s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .15);
    cursor: pointer;
    user-select: none;
}

.chip:hover {
    border-color: #6b7280;
    background: #374151;
}

.chip .tick {
    opacity: 0;
    transform: scale(.75);
    transition: transform .15s ease, opacity .15s ease;
    margin-right: .5rem;
}

.chip-toggle:focus+.chip {
    outline: 2px solid rgba(245, 158, 11, .40);
    outline-offset: 2px;
}

.chip-toggle:checked+.chip {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, .15);
}

.chip-toggle:checked+.chip .tick {
    opacity: 1;
    transform: scale(1);
}