.cal-toolbar {
    max-width: 660px;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #f8f9fa;
    padding: 0.6rem 0.75rem;
}
.cal-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.cal-toolbar-row + .cal-toolbar-row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}
.cal-toolbar-sep {
    width: 1px;
    height: 24px;
    background: #ced4da;
}
.year-nav-arrows {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.year-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 0.375rem;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
    border: 1px solid transparent;
}
.year-nav-arrow:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-color: #007bff;
}
.year-nav-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.year-nav-input {
    width: 4.5rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.15rem 0.2rem;
    background: #fff;
    color: #212529;
    -moz-appearance: textfield;
    appearance: textfield;
}
.year-nav-input::-webkit-inner-spin-button,
.year-nav-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.year-nav-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,.2);
}
.year-nav-decades {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}
.year-pill {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 1rem;
    text-decoration: none;
    color: #495057;
    background: #e0e3e6;
    transition: background 0.15s, color 0.15s;
}
.year-pill:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}
.year-pill.active {
    background: #007bff;
    color: #fff;
    font-weight: 700;
    cursor: default;
}
.decade-jump {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #007bff;
    background: transparent;
    border: 1px solid #007bff;
    border-radius: 1rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.decade-jump:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 575.98px) {
    .cal-toolbar-row {
        flex-direction: column;
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    .year-pill {
        padding: 0.25rem 0.55rem;
        font-size: 0.82rem;
    }
}
/* Monthly toolbar additions */
.month-nav-arrows {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.month-nav-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    padding: 0 0.2rem;
    white-space: nowrap;
    text-align: center;
}
.month-nav-months {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}
