Implement a function that corrects the capitalization of a given word based on specific rules. The function should transform the word according to the following criteria:
If the entire word is in uppercase, convert it to lowercase.
If only the first letter of the word is in lowercase and all remaining letters are uppercase, capitalize the first letter and convert the rest to lowercase.
If the word does not meet either of the above conditions, return it unchanged.
Input/Output Requirements
Input: A single string word (1 <= len(word) <= 1000), representing the word to be corrected.
Output: A string representing the corrected word according to the rules specified above.
Implementation
The solution must be written in a file called /app/solution.py. The function should be defined with the following signature:
python
def correct_caps_lock_word(word: str) -> str:
Please ensure your implementation passes various test cases to confirm the functionality meets the specified criteria.