/* Compatibility layer for the common Mercury head.php and menu.php classes. */
.shared-head-adapter {
    width: min(1440px, calc(100% - 32px));
    margin: 14px auto 0;
}
.shared-head-adapter table.h1,
.shared-head-adapter table.h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
}
.shared-head-adapter table.h1 {
    background: #fff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(30, 41, 59, .08);
    overflow: hidden;
}
.shared-head-adapter table.h2 td { padding: 0 22px !important; }
.shared-head-adapter img { max-width: 100%; object-fit: contain; }

.shared-global-navigation {
    width: min(1440px, calc(100% - 32px));
    margin: 10px auto 0;
    padding: 10px 14px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.shared-breadcrumbs {
    padding: 0 5px 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
}
.shared-breadcrumbs hr {
    height: 1px;
    margin: 8px 0 0;
    background: #e2e8f0;
    border: 0;
}
.shared-global-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    list-style: none;
}
.shared-global-tabs > li.tab {
    float: none;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    list-style: none;
}
.shared-global-tabs > li.tab > a.nonSelected,
.shared-global-tabs > li.tab > a.tabSelected {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 12px;
    color: #31408c;
    background: #f8fafc;
    border: 1px solid #dbe2ec;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    white-space: normal;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.shared-global-tabs > li.tab > a.nonSelected:hover {
    color: #fff;
    background: #31408c;
    border-color: #31408c;
}
.shared-global-tabs > li.tab.tabSelected > a.tabSelected {
    color: #fff;
    background: #31408c;
    border-color: #31408c;
}

ul.tabs.deploy-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    list-style: none;
}
li.tab-app {
    float: none;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
li.tab-app > a.nonSelected,
li.tab-app > a.tabSelected-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
li.tab-app > a.nonSelected:hover { background: #eff6ff; color: #1d4ed8; transform: translateY(-1px); }
li.tabSelected-app > a.tabSelected-app { background: #1d4ed8; color: #fff; box-shadow: 0 7px 18px rgba(29, 78, 216, .22); }

@media (max-width: 760px) {
    .shared-global-navigation { width: calc(100% - 20px); }
    .shared-global-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shared-global-tabs > li.tab > a.nonSelected,
    .shared-global-tabs > li.tab > a.tabSelected { width: 100%; }
}
