.site-header {
    box-shadow: 0 10px 28px rgba(5, 14, 25, 0.18);
}

.site-navbar {
    gap: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header .navbar-collapse {
    min-width: 0;
}

.site-header .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-task-nav {
    gap: 0.25rem;
}

.site-task-nav .nav-link {
    border-radius: 999px;
    padding: 0.42rem 0.88rem;
    color: rgba(247, 251, 255, 0.88);
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-task-nav .nav-link:hover,
.site-task-nav .nav-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.site-task-nav .nav-link.active {
    color: #12263a;
    background: #f7fbff;
}

.site-search-form {
    gap: 0.5rem;
    min-width: 0;
    width: min(100%, 24rem);
    max-width: 100%;
}

.site-search-form .form-control {
    min-width: 0;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #f7fbff;
}

.site-search-form .form-control::placeholder {
    color: rgba(247, 251, 255, 0.68);
}

.site-search-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.site-search-form .btn {
    white-space: nowrap;
}

.home-briefing-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.48rem 0.88rem;
    border: 1px solid #9db7d0;
    background: linear-gradient(180deg, #ffffff 0%, #e8f1fb 100%);
    color: #123f63;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.home-briefing-chip:hover,
.home-briefing-chip:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #dceafb 100%);
    border-color: #6f97ba;
    color: #0f3654;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(17, 39, 64, 0.08);
}

.home-briefing-chip:focus-visible {
    outline: 3px solid rgba(13, 95, 143, 0.24);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .site-task-nav {
        min-width: 0;
    }

    .site-task-nav {
        flex-wrap: wrap;
    }

    .site-search-form {
        flex: 1 1 20rem;
    }
}

@media (max-width: 991.98px) {
    .site-task-nav {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .site-search-form {
        min-width: 100%;
    }

    .site-search-form .form-control {
        min-width: 0;
    }
}
