.pr-top-nav-shell {
    position: relative;
    z-index: 1030;
    margin: 0 0 16px;
    background: #fff;
    border-bottom: 1px solid #d8e0e8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.pr-top-nav {
    width: 100%;
    color: #fff;
}

.pr-nav-mainbar {
    background: #247eae;
}

.pr-nav-main-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 18px;
}

.pr-nav-brand {
    align-self: center;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 5px 2px;
    text-decoration: none;
}

.pr-nav-brand img {
    display: block;
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 3px 5px rgba(0, 41, 76, .28));
}

.pr-main-links {
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.pr-main-links::-webkit-scrollbar {
    display: none;
}

.pr-main-link {
    position: relative;
    min-width: 72px;
    min-height: 76px;
    padding: 8px 10px 7px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, .91);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.pr-main-link:hover,
.pr-main-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.pr-main-link.active {
    color: #fff;
    background: rgba(0, 48, 82, .27);
}

.pr-main-link.active::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #fff;
    content: "";
}

.pr-main-booking-create {
    min-width: 92px;
    color: #fff;
    background: #119447;
    box-shadow: inset -1px 0 rgba(0, 0, 0, .08), inset 1px 0 rgba(255, 255, 255, .12);
}

.pr-main-booking-create:hover,
.pr-main-booking-create:focus-visible {
    color: #fff;
    background: #0b7f3b;
}

.pr-main-booking-create .pr-nav-icon {
    stroke-width: 2.2;
}

.pr-nav-icon {
    width: 26px;
    height: 26px;
    display: block;
    flex: 0 0 auto;
}

.pr-nav-tools {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.pr-nav-tools .btn {
    min-height: 42px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.pr-nav-tools .btn-outline-primary,
.pr-nav-tools .btn-outline-light,
.pr-nav-tools .btn-outline-secondary,
.pr-nav-tools .btn-outline-warning {
    color: #fff;
    border-color: rgba(255, 255, 255, .52);
    background: transparent;
}

.pr-nav-tools .btn-outline-primary:hover,
.pr-nav-tools .btn-outline-light:hover,
.pr-nav-tools .btn-outline-secondary:hover,
.pr-nav-tools .btn-outline-warning:hover,
.pr-nav-tools .btn.show {
    color: #fff;
    border-color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .14);
}

.pr-nav-utility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
}

.pr-nav-notifications {
    width: 44px;
    padding: 0;
}

.pr-nav-notifications .pr-nav-icon,
.pr-nav-sync .pr-nav-icon {
    width: 21px;
    height: 21px;
}

.pr-nav-status {
    padding: 8px 12px;
}

.pr-nav-profile {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: auto;
    min-width: 0;
    max-width: 250px;
    padding: 3px 7px 3px 4px;
}

.pr-nav-profile .employee-avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
}

.pr-nav-profile .nav-profile-name {
    min-width: 0;
    max-width: 172px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pr-profile-menu {
    width: min(360px, calc(100vw - 24px));
    padding: 8px;
    border: 0;
    border-radius: 14px;
}

.pr-profile-menu .dropdown-header {
    padding: 10px 12px 7px;
    color: #475467;
    white-space: normal;
}

.pr-profile-list {
    max-height: 320px;
    overflow-y: auto;
}

.pr-profile-switch-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 54px;
    padding: 7px 10px;
    border-radius: 10px;
    white-space: normal;
}

.pr-profile-switch-item:disabled {
    color: inherit;
    background: #f4f7fa;
    opacity: .72;
}

.pr-profile-switch-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.pr-profile-switch-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pr-profile-switch-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-profile-switch-copy small {
    margin-top: 3px;
    color: #667085;
}

.quick-profile-modal .modal-content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .22);
}

.pr-nav-tools .dropdown-menu {
    z-index: 1080;
    font-size: 15px;
}

.pr-nav-subbar {
    min-height: 46px;
    background: #fff;
    color: #263746;
}

.pr-sub-links {
    min-height: 46px;
    display: flex;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    white-space: nowrap;
}

.pr-sub-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 15px 9px;
    color: #31536d;
    font-size: 15px;
    line-height: 1.1;
    text-decoration: none;
}

.pr-sub-link:hover,
.pr-sub-link:focus-visible {
    color: #0b6ea8;
    background: #f1f7fb;
}

.pr-sub-link.active {
    color: #075f94;
    font-weight: 700;
}

.pr-sub-link.active::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #167bb5;
    content: "";
}

.pr-sub-link-accent::before {
    margin-right: 5px;
    color: #118449;
    font-size: 20px;
    font-weight: 400;
    content: "+";
}

.pr-top-nav-shell + .container,
.pr-top-nav-shell + .container-fluid {
    scroll-margin-top: 125px;
}

@media (max-width: 1540px) {
    .pr-nav-main-row {
        min-height: 68px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .pr-nav-brand img {
        width: 44px;
        height: 44px;
    }

    .pr-main-links {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        border-top: 0;
    }

    .pr-main-link {
        min-width: 58px;
        min-height: 68px;
        flex: 1 1 0;
        flex-direction: column;
        gap: 4px;
        padding: 7px 3px 6px;
        font-size: 13px;
        text-align: center;
        white-space: normal;
    }

    .pr-main-booking-create {
        min-width: 64px;
    }

    .pr-main-link .pr-nav-icon {
        width: 24px;
        height: 24px;
    }

    .pr-nav-tools {
        gap: 4px;
    }

    .pr-nav-tools .btn {
        font-size: 14px;
    }

    .pr-nav-utility-label,
    .pr-nav-profile .nav-profile-name {
        display: none;
    }

    .pr-nav-sync {
        width: 44px;
        padding: 0;
    }

    .pr-nav-status {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pr-nav-profile {
        width: 48px;
        padding-right: 4px;
    }
}

@media (max-width: 1200px) {
    .pr-nav-main-row {
        min-height: 60px;
        gap: 6px;
    }

    .pr-nav-brand img {
        width: 38px;
        height: 38px;
    }

    .pr-main-link {
        min-width: 44px;
        min-height: 60px;
        padding: 6px 2px;
    }

    .pr-main-link-label {
        display: none;
    }

    .pr-main-link .pr-nav-icon {
        width: 24px;
        height: 24px;
    }

    .pr-main-booking-create {
        min-width: 48px;
    }

    .pr-nav-tools .btn {
        min-height: 38px;
    }

    .pr-nav-notifications,
    .pr-nav-sync {
        width: 40px;
    }

    .pr-nav-status {
        max-width: 84px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .pr-nav-profile {
        width: 44px;
    }

    .pr-nav-profile .employee-avatar {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 650px) {
    .pr-top-nav-shell {
        margin-bottom: 10px;
    }

    .pr-nav-main-row {
        min-height: 54px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 4px;
    }

    .pr-nav-brand img {
        width: 34px;
        height: 34px;
    }

    .pr-nav-tools {
        gap: 4px;
    }

    .pr-nav-tools .pr-nav-status {
        width: 42px;
        max-width: 42px;
        padding-right: 4px;
        padding-left: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0;
    }

    .pr-nav-tools .pr-nav-status::before {
        width: 10px;
        height: 10px;
        display: inline-block;
        border: 2px solid rgba(255, 255, 255, .85);
        border-radius: 50%;
        background: currentColor;
        content: "";
    }

    .pr-nav-notifications,
    .pr-nav-sync {
        width: 38px;
        padding: 0;
    }

    .pr-nav-profile {
        width: 42px;
        padding-right: 4px;
    }

    .pr-main-link {
        min-width: 42px;
        min-height: 54px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .pr-sub-link {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 14px;
    }
}

@media (max-width: 430px) {
    .pr-nav-main-row {
        gap: 3px;
    }

    .pr-nav-brand img {
        width: 31px;
        height: 31px;
    }

    .pr-nav-tools {
        gap: 2px;
    }

    .pr-nav-notifications,
    .pr-nav-sync {
        width: 36px;
    }

    .pr-nav-tools .pr-nav-status {
        width: 38px;
        max-width: 38px;
    }

    .pr-nav-profile {
        width: 40px;
    }
}
