.staffTopbar {
    min-height: 62px;
    padding: 9px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #111;
    color: #fff;
    border-bottom: 1px solid #252525;
    position: sticky;
    top: 0;
    z-index: 40;
}

.staffTopbarLeft {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.staffMenuButton {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid #363636;
    border-radius: 12px;
    background: #1d1d1d;
    color: #fff;
    font-size: 23px;
    line-height: 1;
}

.staffMenuButton:hover {
    background: #282828;
}

.staffTopbarBrand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.staffTopbarBrand .logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.staffTopbarCopy {
    min-width: 0;
}

.staffTopbarCopy strong,
.staffTopbarCopy span {
    display: block;
}

.staffTopbarCopy strong {
    font-size: 13px;
    letter-spacing: .04em;
}

.staffTopbarCopy span {
    margin-top: 2px;
    max-width: 210px;
    overflow: hidden;
    color: #aaa;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staffCurrentView {
    color: #ddd;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.staffMenuBackdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgba(0, 0, 0, .44);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.staffMenuDrawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 49;
    width: min(340px, 88vw);
    display: flex;
    flex-direction: column;
    background: #181818;
    color: #fff;
    box-shadow: 18px 0 50px rgba(0, 0, 0, .28);
    transform: translateX(-102%);
    transition: transform .2s ease;
}

body.staffMenuOpen {
    overflow: hidden;
}

body.staffMenuOpen .staffMenuBackdrop {
    opacity: 1;
    pointer-events: auto;
}

body.staffMenuOpen .staffMenuDrawer {
    transform: translateX(0);
}

.staffMenuHead {
    padding: 19px 17px 15px;
    border-bottom: 1px solid #2d2d2d;
}

.staffMenuBrand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.staffMenuBrand .logo {
    width: 45px;
    height: 45px;
}

.staffMenuBrand strong,
.staffMenuBrand span {
    display: block;
}

.staffMenuBrand span {
    margin-top: 3px;
    color: #9e9e9e;
    font-size: 12px;
}

.staffMenuProfile {
    margin-top: 14px;
    padding: 11px 12px;
    border: 1px solid #303030;
    border-radius: 11px;
    background: #202020;
}

.staffMenuProfile strong,
.staffMenuProfile span {
    display: block;
}

.staffMenuProfile span {
    margin-top: 3px;
    color: #aaa;
    font-size: 12px;
}

.staffMenuNav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 10px;
}

.staffNavSection {
    padding: 13px 11px 6px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
}

.staffNavItem,
.staffLogout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 12px 13px;
    color: #ececec;
    text-align: left;
    font-weight: 750;
}

.staffNavItem:hover,
.staffNavItem.active {
    background: #292929;
}

.staffNavItem.active {
    box-shadow: inset 3px 0 0 var(--o);
}

.staffNavIcon {
    width: 27px;
    flex: 0 0 27px;
    color: var(--o);
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}

.staffMenuFooter {
    padding: 10px;
    border-top: 1px solid #2d2d2d;
}

.staffLogout {
    color: #ffb9b9;
}

.staffLogout:hover {
    background: #351f1f;
}

@media (max-width: 620px) {
    .staffTopbar {
        min-height: 58px;
        padding: 8px 10px;
    }

    .staffMenuButton {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .staffTopbarBrand .logo {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .staffTopbarCopy strong {
        font-size: 12px;
    }

    .staffTopbarCopy span,
    .staffCurrentView {
        display: none;
    }

    .staffMenuDrawer {
        width: min(330px, 90vw);
    }

    main {
        padding: 12px;
    }
}
