.period-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.period-nav__label-static {
    font-size: 0.9rem;
    color: var(--ademi-text-muted);
    white-space: nowrap;
    margin-right: 0.15rem;
}

.period-nav__pills {
    display: flex;
    gap: 0.4rem;
}

.period-nav__gran-btn {
    background: var(--ademi-card-bg);
    border: 1px solid var(--ademi-accent);
    color: var(--ademi-accent);
    border-radius: 6px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

    .period-nav__gran-btn.active,
    .period-nav__gran-btn:hover {
        background: var(--ademi-accent);
        color: #fff;
    }

.period-nav__chevron {
    background: var(--ademi-card-bg);
    border: 1px solid var(--ademi-accent);
    color: var(--ademi-accent);
    border-radius: 6px;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

    .period-nav__chevron:hover {
        background: var(--ademi-accent);
        color: #fff;
    }

.period-nav__range {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ademi-text-muted);
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

    .period-nav__range:hover {
        background-color: var(--ademi-accent-soft);
        color: var(--ademi-accent);
    }

.period-nav__hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.period-nav__custom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.period-nav__custom-input {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
}

.period-nav__custom-arrow {
    color: var(--ademi-text-muted);
    font-size: 0.9rem;
}
