@charset "UTF-8";

/* Shared navigation. Loaded after the legacy page styles. */
body .site-header.sidebar {
    position: sticky !important;
    top: 12px !important;
    z-index: 1003 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
    width: min(1440px, calc(100% - 48px)) !important;
    min-height: 86px !important;
    margin: 16px auto 0 !important;
    padding: 14px 22px !important;
    overflow: visible !important;
    border: 1px solid #dce8e1 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    color: #173e2e !important;
    box-shadow: 0 8px 32px rgba(21, 62, 43, 0.07) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body .site-header.sidebar::before,
body .site-header.sidebar::after {
    display: none !important;
    content: none !important;
}

body .site-header.sidebar .header-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #173e2e !important;
    text-decoration: none;
    transform: none !important;
}

body .site-header.sidebar .header-brand img {
    flex: 0 0 auto;
    width: 56px !important;
    height: 56px !important;
    object-fit: contain;
    filter: none !important;
}

body .site-header.sidebar .header-brand-copy {
    display: grid;
    gap: 2px;
    white-space: nowrap;
}

.site-header .header-brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.site-header .header-brand-copy small {
    color: #567766;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

body .site-header.sidebar #primary-nav {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    width: auto !important;
    min-width: 0;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

body .site-header.sidebar #primary-nav a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #526559 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transform: none !important;
    transition: background 0.16s ease, color 0.16s ease;
}

body .site-header.sidebar #primary-nav a::after {
    display: none !important;
    content: none !important;
}

body .site-header.sidebar #primary-nav a:hover {
    background: #f0f5f1 !important;
    color: #173e2e !important;
}

body .site-header.sidebar #primary-nav a.active {
    background: #173e2e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(23, 62, 46, 0.12);
}

body .site-header.sidebar .header-controls {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

body .site-header.sidebar .menu-toggle,
body .site-header.sidebar .profile-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: auto !important;
    gap: 8px;
    width: auto !important;
    min-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #dbe5dc !important;
    border-radius: 12px !important;
    background: #f7f9f5 !important;
    color: #173e2e !important;
    box-shadow: none !important;
    font: inherit;
    cursor: pointer;
    transform: none !important;
}

body .site-header.sidebar .menu-toggle {
    display: none !important;
}

body .site-header.sidebar .profile-toggle svg {
    display: block !important;
    flex: 0 0 auto;
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
}

body .site-header.sidebar .profile-toggle em,
body .site-header.sidebar .menu-toggle em {
    display: block !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1;
}

body .site-header.sidebar .profile-toggle:hover,
body .site-header.sidebar .menu-toggle:hover,
body .site-header.sidebar .profile-toggle.active,
body.profile-open .site-header.sidebar .profile-toggle,
body.menu-open .site-header.sidebar .menu-toggle {
    border-color: #c6d595 !important;
    background: #edf3da !important;
    color: #173e2e !important;
}

body .site-header.sidebar .header-notification-dot {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    width: 7px !important;
    height: 7px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #a6bb40 !important;
}

body .site-header.sidebar .header-notification-dot::before,
body .site-header.sidebar .header-notification-dot::after {
    display: none !important;
    content: none !important;
}

body .site-header.sidebar .mobile-profile-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 4 !important;
    display: grid !important;
    gap: 4px !important;
    width: 280px !important;
    max-width: 100%;
    max-height: calc(100dvh - 116px) !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow-y: auto !important;
    border: 1px solid #dce8e1 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(21, 62, 43, 0.12) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-6px) !important;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

body.profile-open .site-header.sidebar .mobile-profile-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

body .site-header.sidebar .header-account-heading {
    display: grid;
    gap: 3px;
    padding: 12px 12px 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid #edf1eb;
}

.site-header .header-account-heading strong {
    overflow-wrap: anywhere;
    font-size: 15px;
}

.site-header .header-account-heading small {
    color: #6b7d70;
    font-size: 12px;
}

body .site-header.sidebar .mobile-profile-menu a {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #294c39 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transform: none !important;
}

body .site-header.sidebar .mobile-profile-menu a:hover,
body .site-header.sidebar .mobile-profile-menu a.active {
    background: #edf3e7 !important;
}

body .site-header.sidebar .mobile-profile-menu .header-signout {
    margin-top: 4px;
    border-top: 1px solid #edf1eb !important;
    border-radius: 0 0 10px 10px !important;
    color: #80605a !important;
}

.site-header .header-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #edf3da;
    color: #39531d;
    font-size: 11px;
    text-align: center;
}

body .site-header a:focus-visible,
body .site-header button:focus-visible {
    outline: 3px solid #8aaa43;
    outline-offset: 3px;
}

body > .menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1002 !important;
    background: rgba(23, 47, 35, 0.12) !important;
    backdrop-filter: none !important;
}

body > .menu-backdrop[hidden] {
    display: none !important;
}

@media (max-width: 1179px) {
    body .site-header.sidebar {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 12px !important;
        min-height: 76px !important;
        padding: 10px 14px !important;
    }

    body .site-header.sidebar .header-brand img {
        width: 48px !important;
        height: 48px !important;
    }

    body .site-header.sidebar .menu-toggle {
        display: inline-flex !important;
        width: 44px !important;
        padding: 0 !important;
    }

    body .site-header.sidebar .menu-toggle em {
        display: none !important;
    }

    body .site-header.sidebar .menu-toggle span {
        position: absolute !important;
        top: 50% !important;
        left: 13px !important;
        width: 16px !important;
        height: 2px !important;
        margin: 0 !important;
        border-radius: 2px !important;
        background: currentColor !important;
        transition: transform 0.16s ease, opacity 0.16s ease;
    }

    body .site-header.sidebar .menu-toggle span:nth-child(1) { transform: translateY(-6px) !important; }
    body .site-header.sidebar .menu-toggle span:nth-child(2) { transform: translateY(-1px) !important; }
    body .site-header.sidebar .menu-toggle span:nth-child(3) { transform: translateY(4px) !important; }
    body.menu-open .site-header.sidebar .menu-toggle span:nth-child(1) { transform: translateY(-1px) rotate(45deg) !important; }
    body.menu-open .site-header.sidebar .menu-toggle span:nth-child(2) { opacity: 0 !important; }
    body.menu-open .site-header.sidebar .menu-toggle span:nth-child(3) { transform: translateY(-1px) rotate(-45deg) !important; }

    body .site-header.sidebar #primary-nav {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px !important;
        width: 100% !important;
        max-height: calc(100dvh - 116px) !important;
        padding: 10px !important;
        overflow-y: auto !important;
        border: 1px solid #dce8e1 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 16px 40px rgba(21, 62, 43, 0.12) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-6px) !important;
        transition: opacity 0.16s ease, transform 0.16s ease;
    }

    body.menu-open .site-header.sidebar #primary-nav {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    body .site-header.sidebar #primary-nav a {
        justify-content: flex-start !important;
        min-height: 48px !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {
    body .site-header.sidebar {
        top: 8px !important;
        width: calc(100% - 24px) !important;
        min-height: 70px !important;
        margin-top: 10px !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
    }

    body .site-header.sidebar .header-brand {
        gap: 7px;
    }

    body .site-header.sidebar .header-brand img {
        width: 42px !important;
        height: 42px !important;
    }

    .site-header .header-brand-copy strong {
        font-size: 14px;
        letter-spacing: -0.4px;
    }

    .site-header .header-brand-copy small {
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    body .site-header.sidebar .header-controls {
        gap: 5px;
    }

    body .site-header.sidebar .profile-toggle {
        width: 44px !important;
        padding: 0 !important;
    }

    body .site-header.sidebar .profile-toggle em {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .site-header.sidebar *,
    body .site-header.sidebar *::before,
    body .site-header.sidebar *::after {
        transition: none !important;
    }
}
