/* 历史天气下载页：月份多选布局及选中、键盘焦点状态。 */
.month-selection-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.month-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 12px;
    border: 1px solid #009688;
    border-radius: 9999px;
    color: #007f73;
    background: #fff;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.month-action-button:hover {
    color: #fff;
    background: #009688;
}

.month-action-button:focus-visible {
    outline: 2px solid #009688;
    outline-offset: 2px;
}

#month-select {
    gap: 10px;
}

#month-select label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 76px;
    padding: 8px 6px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

#month-select label:has(input:checked) {
    border-color: #009688;
    background: #e6f5f3;
}

#month-select input {
    width: 16px;
    height: 16px;
    accent-color: #009688;
}

#month-select label:has(input:focus-visible) {
    outline: 2px solid #009688;
    outline-offset: 2px;
}
