.nfc-site-menu .nfc-site-menu-trigger[hidden] {
    display: none;
}

.nfc-site-menu-trigger,
.nfc-site-drawer-header button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border, #343434);
    border-radius: 8px;
    background: var(--black2, #121212);
    color: var(--white, #fff);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}

.nfc-site-menu .nfc-site-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    margin: 0;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
    width: min(88vw, 320px);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
    box-sizing: border-box;
    border: 0;
    background: var(--black2, #161616);
    color: var(--white, #fff);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.nfc-site-drawer::backdrop {
    background: #0009;
}

.nfc-site-menu .nfc-site-drawer nav {
    display: block;
}

.nfc-site-drawer .nfc-site-drawer-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--border, #343434);
    background: var(--black2, #161616);
}

.nfc-site-drawer-header button {
    justify-content: center;
    font-size: 1.35rem;
}

.nfc-site-drawer .nfc-site-drawer-group {
    padding: 8px 0;
}

.nfc-site-drawer-group + .nfc-site-drawer-group {
    border-top: 1px solid var(--border, #343434);
}

.nfc-site-drawer .nfc-site-drawer-group p {
    margin: 5px 10px;
    color: var(--g2, #bbb);
    font-size: .78rem;
}

.nfc-site-drawer .nfc-site-drawer-group a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 8px;
    color: inherit;
    line-height: 1.3;
}

.nfc-site-drawer-group i {
    text-align: center;
    color: var(--orange, #f64202);
}

.nfc-site-drawer-group a:hover,
.nfc-site-drawer-group a[aria-current] {
    background: var(--black3, #262626);
}

.nfc-site-menu :focus-visible {
    outline: 2px solid var(--orange, #f64202);
    outline-offset: 2px;
}

.nfc-site-menu-inline .nfc-site-drawer {
    display: block;
    position: static;
    width: 100%;
    height: auto;
}

.nfc-site-menu-inline .nfc-site-drawer-header form {
    display: none;
}

.nfc-site-menu-individual,
.nfc-site-menu-business {
    display: none;
}

@media (max-width: 900px) {
    .nfc-site-menu-individual {
        display: flex;
    }

    .dash-sidebar,
    .dash-mobile-nav {
        display: none !important;
    }

    .dash-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .nfc-site-menu-business {
        display: flex;
    }

    .co-sidebar,
    .co-mobile-nav {
        display: none !important;
    }

    .co-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.nfc-site-menu-individual,
.nfc-site-menu-business {
    position: sticky;
    top: 0;
    z-index: 25;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--border, #343434);
    background: var(--black2, #161616);
    color: var(--white, #fff);
}

.nfc-site-menu-caption {
    font-weight: 700;
}

@media print {
    .nfc-site-menu {
        display: none !important;
    }
}
