.app-topbar {
    background:
        linear-gradient(135deg, rgba(8, 28, 58, 0.97), rgba(11, 53, 106, 0.93)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 32%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(7, 23, 48, 0.18);
}

.topbar-brand-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 12px;
    padding-bottom: 12px;
}

.topbar-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #f8fafc, #dbeafe);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.topbar-brand-initial {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0f3d75;
}

.topbar-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-brand-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.topbar-brand-title {
    color: #fff;
    text-decoration: none;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.topbar-brand-title:hover {
    color: #fff;
}

.topnav {
    background: #ffffff;
    border-bottom: 1px solid #dbe4f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.topnav .navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.topnav .navbar-nav.me-auto {
    gap: 0.45rem;
}

.topnav .navbar-nav .nav-link {
    border-radius: 12px;
    padding: 0.72rem 1rem;
    color: #475569;
    font-weight: 600;
    transition: all 0.18s ease;
}

.topnav .navbar-nav .nav-link i {
    color: #64748b;
    transition: color 0.18s ease;
}

.topnav .navbar-nav .nav-link:hover,
.topnav .navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0f3d75;
}

.topnav .navbar-nav .nav-link:hover i,
.topnav .navbar-nav .nav-link.active i {
    color: #0f3d75;
}

.year-filter-trigger {
    min-width: 190px;
    justify-content: space-between;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    border-radius: 5px;
    padding: 0.72rem 0.95rem;
    color: #0f172a;
}

.year-filter-trigger:hover,
.year-filter-trigger.show {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0f3d75;
}

.year-filter-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.year-filter-value {
    font-weight: 700;
    color: #0f172a;
}

.topnav .dropdown-menu {
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    padding: 0.65rem;
}

.topnav .dropdown-item {
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}

.topnav .dropdown-item.active,
.topnav .dropdown-item:active {
    background: #eff6ff;
    color: #0f3d75;
}

@media (max-width: 991.98px) {
    .topbar-brand-shell {
        min-height: 68px;
        padding-left: 8px;
    }

    .topbar-brand-title {
        font-size: 1.05rem;
    }

    .topnav .navbar {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .topnav .navbar-collapse {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        border-top: 1px solid #e2e8f0;
    }

    .topnav .navbar-nav.me-auto {
        gap: 0.25rem;
    }

    .topnav .navbar-nav.ms-auto {
        margin-top: 0.75rem;
    }

    .year-filter-trigger {
        width: 100%;
    }
}
