.hasSystemHeader {
    padding-top: var(--perfect-picker-header-height);
}

.systemHeader {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    gap: 0;
    padding: 0;
    white-space: nowrap;
}

.systemHeader + .appShell {
    min-height: calc(100vh - var(--perfect-picker-header-height));
}

.hasSystemHeader .appShell .sidebar {
    top: var(--perfect-picker-header-height);
}

.hasSystemHeader .appShell .mainArea {
    min-height: calc(100vh - var(--perfect-picker-header-height));
    padding-top: 0;
}

.hasSystemHeader .appShell .sidebarOverlay {
    inset: var(--perfect-picker-header-height) 0 0;
}

.sidebarUtility {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 7px;
    border-bottom: 1px solid var(--line);
}

.sidebarUtilityLabel {
    padding-left: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.sidebarUtility .menuToggle {
    margin-left: auto;
}

.is-nav-collapsed .sidebarUtilityLabel {
    display: none;
}

.systemBrand {
    display: flex;
    min-width: 310px;
    height: 100%;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
}

.systemBrandTagline {
    color: #969696;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.systemHeaderNav {
    align-self: stretch;
    gap: 0;
}

.systemHeaderNav a,
.systemHeaderNav .systemHeaderPending {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 22px;
    color: #f1f1f1;
    border-right: 1px solid #414141;
    border-left: 1px solid #1d1d1d;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.systemHeaderNav a:hover,
.systemHeaderNav a[aria-current="page"] {
    color: #fff;
    background: #49314a;
}

.systemHeaderNav a[aria-current="page"] {
    box-shadow: inset 0 -4px #f126dc;
}

.systemHeaderPending {
    cursor: default;
}

.systemHeaderStatus {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    padding: 0 16px;
    color: #aaa;
    font-size: 11px;
}

.systemHeaderStatus time {
    padding: 5px 9px;
    color: #f2f2f2;
    border: 1px solid #777;
    font-family: Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
}

@media (max-width: 1240px) {
    .systemHeader {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .systemBrand {
        min-width: 250px;
    }

    .systemHeaderNav a,
    .systemHeaderNav .systemHeaderPending {
        padding: 0 16px;
    }

    .systemHeaderStatus {
        padding-right: 20px;
    }
}

@media (max-width: 720px) {
    .systemBrand {
        min-width: auto;
        padding: 0 13px;
    }

    .systemBrandTagline,
    .systemHeaderStatus span {
        display: none;
    }

    .systemHeaderNav a,
    .systemHeaderNav .systemHeaderPending {
        padding: 0 13px;
        font-size: 12px;
    }

    .systemHeaderStatus {
        padding: 0 12px;
    }
}
