.mobile-account-link {
    display: none;
}

.logout-form {
    margin: 0;
}

.logout-link {
    border: 0;
    border-radius: 8px;
    padding: 9px 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.logout-link:hover {
    background: rgba(255, 255, 255, .14);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-links-inner {
    overflow: visible;
}

.nav-group {
    position: relative;
}

.nav-group summary {
    list-style: none;
    padding: 9px 28px 9px 11px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 11px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}

.nav-group[open] summary::after {
    top: 17px;
    transform: rotate(225deg);
}

.nav-group summary:hover,
.nav-group.active > summary,
.nav-group[open] > summary {
    background: rgba(255, 255, 255, .14);
}

.nav-group.active > summary {
    box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 30;
    display: grid;
    min-width: 210px;
    padding: 7px;
    border: 1px solid #d8e5dd;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 38px rgba(10, 43, 33, .2);
}

.nav-dropdown a {
    padding: 10px 12px;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
    background: #edf5f0;
    color: var(--primary);
    box-shadow: none;
}

@media (max-width: 720px) {
    .mobile-account-link {
        display: block;
    }

    .logout-form.mobile-account-link,
    .logout-form.mobile-account-link .logout-link {
        width: 100%;
        text-align: left;
    }

    .nav-links-inner {
        display: block;
        padding: 8px 0;
    }

    .nav-links-inner > a,
    .nav-group summary {
        display: block;
        width: 100%;
        padding: 11px 12px;
    }

    .nav-group summary::after {
        top: 15px;
        right: 14px;
    }

    .nav-group[open] summary::after {
        top: 18px;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin: 2px 0 6px 12px;
        padding: 3px 0 3px 10px;
        border: 0;
        border-left: 2px solid rgba(245, 158, 66, .7);
        border-radius: 0;
        background: transparent;
        color: #fff;
        box-shadow: none;
    }

    .nav-dropdown a {
        padding: 9px 12px;
    }

    .nav-dropdown a:hover,
    .nav-dropdown a.active {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
}
