html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #f4f6fb;
    font-family: Microsoft YaHei, PingFang SC, sans-serif;
}

#app {
    min-height: 100vh;
}

.login-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.personSearch,
.crptSearch {
    cursor: pointer;
}

.personSearch.active,
.crptSearch.active {
    border-bottom-color: #3062f7;
}

.personSearch.active a,
.crptSearch.active a {
    color: #3a416f;
}

.personSearch:not(.active),
.crptSearch:not(.active) {
    border-bottom-color: #eaeef1;
}

.personSearch:not(.active) a,
.crptSearch:not(.active) a {
    color: #babdcb;
}

.legacy-captcha {
    cursor: pointer;
    width: 76px;
    height: 32px;
    border-radius: 3px;
}

.annex-link {
    color: #3062f7;
    text-decoration: none;
    font-size: 14px;
}

.annex-link:hover {
    text-decoration: underline;
}

.beian-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #a0a2ad;
    line-height: 20px;
}

.login-foot-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.login-foot-inline > span {
    color: #a0a2ad;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    display: inline !important;
}

.beian-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-image: url("/resources/component/system/images/login/logo01.dd7ff50e.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    flex: 0 0 20px;
}

.login_foot .beian-icon {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin: 0 5px 0 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background: url("/resources/component/system/images/login/logo01.dd7ff50e.png") no-repeat center center !important;
    background-size: contain !important;
}

.icp-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    background-image: url("/resources/component/system/images/login/bg_logo.2ce2f33d.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    flex: 0 0 18px;
}

.login_foot .icp-icon {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 5px 0 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background: url("/resources/component/system/images/login/bg_logo.2ce2f33d.png") no-repeat center center !important;
    background-size: contain !important;
}

.rightDiv table td input {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.rightDiv table td input:hover,
.rightDiv table td input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.div_input {
    transition: border-color 0.15s ease;
}

.div_input:focus-within {
    border: 1px solid #4c90f1 !important;
}

.loginBtn {
    position: relative;
    user-select: none;
}

.loginBtn:active {
    background-color: #335fe3 !important;
}

.loginBtn.loading {
    pointer-events: none;
    color: transparent !important;
}

.loginBtn.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #ffffff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    margin-top: -9px;
    animation: legacy-spin 0.75s linear infinite;
}

.legacy-main {
    padding: 10px;
    min-height: 100vh;
    overflow: auto;
}

.legacy-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eaeff9;
    border: 1px solid #d7d7d7;
    padding: 14px 14px;
    margin-bottom: 10px;
}

.legacy-title {
    display: flex;
    align-items: center;
}

.legacy-title-img {
    height: 38px;
    width: auto;
    display: block;
}

.legacy-user {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 14px;
    color: #444;
}

.legacy-user-trigger {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #222;
    padding: 0 12px 0 0;
}

.legacy-user-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.legacy-user-name {
    font-size: 15px;
}

.legacy-user-arrow {
    color: #888;
    font-size: 11px;
    margin-left: 4px;
}

.legacy-relogin {
    display: block;
    color: #2f65d8;
    text-decoration: none;
    margin-left: 0;
    border-left: none;
    padding: 8px 14px;
    line-height: 20px;
    white-space: nowrap;
}

.legacy-relogin:hover {
    background: #f3f7ff;
    text-decoration: none;
}

.legacy-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 108px;
    background: #fff;
    border: 1px solid #d4dbea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1200;
}

.legacy-panel {
    background: #fff;
    border: 1px solid #d7d7d7;
    margin-bottom: 10px;
}

.legacy-panel-title {
    background: linear-gradient(#f7f7f7, #ececec);
    border-bottom: 1px solid #d7d7d7;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 700;
    color: #3c3c3c;
}

.legacy-form {
    padding: 10px 12px;
}

.legacy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.legacy-row label {
    font-size: 13px;
    color: #333;
    min-width: 78px;
    text-align: right;
}

.legacy-row .query-label {
    width: auto;
    min-width: 0;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.legacy-row .query-label::after {
    content: ":";
    margin-left: 2px;
    margin-right: 10px;
}

.legacy-row.enterprise-query-row {
    display: grid;
    grid-template-columns: repeat(3, 420px);
    justify-content: flex-start;
    column-gap: 26px;
    row-gap: 8px;
    align-items: center;
}

.legacy-row.enterprise-query-row .query-col {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    width: 420px;
    min-width: 420px;
}

.legacy-row.enterprise-query-row .query-col:not(.query-col-date) input,
.legacy-row.enterprise-query-row .query-col select {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 0;
}

.legacy-row.enterprise-query-row .query-col-date {
    white-space: nowrap;
}

.legacy-row.enterprise-query-row .query-col-date .date-range {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
}

.legacy-row.enterprise-query-row .query-col-date .legacy-date-input {
    width: auto;
    min-width: 0 !important;
    max-width: none;
    flex: 1 1 0;
}

.legacy-row.enterprise-query-row .query-col-date .legacy-date-input:first-of-type {
    margin-left: 0;
}

.legacy-row.enterprise-query-row .query-col-date span {
    margin: 0 8px;
}

.legacy-row input,
.legacy-row select {
    height: 30px;
    border: 1px solid #c4c4c4;
    padding: 0 6px;
    min-width: 150px;
    border-radius: 2px;
    outline: none;
    background: #fff;
}

.legacy-date-input {
    width: 132px;
    min-width: 132px !important;
    cursor: pointer;
}

.legacy-row input:focus,
.legacy-row select:focus {
    border-color: #4c90f1;
}

.group-picker-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.group-picker-wrap input {
    width: 590px;
    max-width: 68vw;
}

.legacy-row.enterprise-query-row.enterprise-group-row .enterprise-group-col {
    grid-column: 1 / span 2;
    width: 866px;
    min-width: 866px;
}

.legacy-row.enterprise-query-row.enterprise-group-row .enterprise-group-col .group-picker-wrap {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    gap: 6px;
}

.legacy-row.enterprise-query-row.enterprise-group-row .enterprise-group-col .group-picker-wrap input {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
}

.legacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.enterprise-actions {
    gap: 24px;
    margin-left: 113px;
}

.download-progress-wrap {
    margin-left: 113px;
    min-width: 460px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 30px;
}

.download-progress-title {
    font-size: 13px;
    color: #2f3a56;
    white-space: nowrap;
}

.download-progress-track {
    width: 220px;
    height: 12px;
    border: 1px solid #b8c6e9;
    background: #edf2ff;
    border-radius: 8px;
    overflow: hidden;
}

.download-progress-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #6f8ff5, #2f65d8);
    transition: width 0.35s ease;
}

.download-progress-inner.success {
    background: linear-gradient(90deg, #53bf83, #2d9c60);
}

.download-progress-inner.failed {
    background: linear-gradient(90deg, #eb5757, #cf2f2f);
}

.download-progress-text {
    min-width: 160px;
    font-size: 12px;
    color: #59647f;
    white-space: nowrap;
}

.legacy-btn {
    position: relative;
    height: 30px;
    min-width: 92px;
    padding: 0 10px;
    border: 1px solid #8f8f8f;
    background: linear-gradient(#ffffff, #f0f0f0);
    border-radius: 2px;
    cursor: pointer;
    color: #333;
    transition: all 0.15s ease;
}

.search-btn {
    width: 120px;
}

.legacy-btn:hover:not(:disabled) {
    border-color: #6f6f6f;
    background: linear-gradient(#ffffff, #e7e7e7);
}

.legacy-btn:active:not(:disabled) {
    background: linear-gradient(#e0e0e0, #f5f5f5);
    border-color: #5f5f5f;
    transform: translateY(1px);
}

.legacy-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.legacy-btn.mini {
    height: 28px;
    min-width: 66px;
    padding: 0 8px;
}

.legacy-btn-primary {
    color: #fff;
    border-color: #3f6fd7;
    background: linear-gradient(#5e87fd, #3f6fd7);
}

.legacy-btn-primary:hover:not(:disabled) {
    border-color: #2f5ec8;
    background: linear-gradient(#4d79f2, #2f5ec8);
}

.legacy-btn-primary:active:not(:disabled) {
    background: linear-gradient(#2f5ec8, #4d79f2);
}

.legacy-btn.is-loading {
    pointer-events: none;
    color: transparent !important;
}

.legacy-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: rgba(0, 0, 0, 0.7);
    left: 50%;
    top: 50%;
    margin-left: -7.5px;
    margin-top: -7.5px;
    animation: legacy-spin 0.75s linear infinite;
}

.legacy-btn-primary.is-loading::after {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

.legacy-table-wrap {
    width: 100%;
    max-height: 46vh;
    overflow: auto;
    border: 1px solid #d7d7d7;
}

.legacy-table-wrap-personal {
    max-height: none;
    overflow: visible;
}

.legacy-table {
    width: 100%;
    min-width: 2100px;
    border-collapse: collapse;
}

.legacy-table-personal {
    min-width: 0;
    table-layout: fixed;
}

.legacy-table-personal .w-bhkcod {
    width: 12%;
    min-width: 0;
}

.legacy-table-personal .w-name {
    width: 8%;
    min-width: 0;
}

.legacy-table-personal .w-sex {
    width: 5%;
    min-width: 0;
}

.legacy-table-personal .w-age {
    width: 5%;
    min-width: 0;
}

.legacy-table-personal .w-date {
    width: 10%;
    min-width: 0;
}

.legacy-table-personal .w-p-group {
    width: 16%;
    min-width: 0;
}

.legacy-table-personal .w-p-conclusion {
    width: 30%;
    min-width: 0;
}

.legacy-table-personal .w-op {
    width: 14%;
    min-width: 0;
}

.legacy-table-personal .p-op {
    white-space: normal;
}

.legacy-table th,
.legacy-table td {
    border: 1px solid #d9d9d9;
    font-size: 13px;
    line-height: 1.3;
    padding: 8px 8px;
    vertical-align: middle;
    color: #333;
    min-height: 35px;
}

.legacy-table th {
    background: #f3f3f3;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
}

.legacy-table td {
    text-align: center;
    background: #fff;
}

.legacy-table tbody tr:nth-child(even) td {
    background: #fcfffe;
}

.legacy-table tbody tr:hover td {
    background: #e8f1ff !important;
}

.legacy-table tbody tr.row-selected td {
    background: #2f65d8 !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.legacy-table tbody tr.row-selected td a {
    color: #ffffff !important;
}

.legacy-table tbody tr.row-selected td .split-line {
    color: rgba(255, 255, 255, 0.75) !important;
}

.legacy-table tbody tr.row-active td {
    box-shadow: none !important;
    border-color: transparent !important;
}

.legacy-table tbody tr:focus td,
.legacy-table tbody tr:active td,
.legacy-table tbody td:focus {
    outline: none !important;
    box-shadow: none !important;
}

.legacy-table a {
    color: #2f65d8;
    text-decoration: none;
}

.legacy-table a:hover {
    text-decoration: underline;
}

.legacy-table a:active {
    color: #1f4eb2;
}

.legacy-table a.is-link-loading {
    pointer-events: none;
    color: #8fa7de;
    position: relative;
    padding-left: 14px;
    text-decoration: none !important;
}

.legacy-relogin.is-link-loading {
    pointer-events: none;
    color: #8fa7de;
    position: relative;
    padding-left: 14px;
}

.legacy-relogin.is-link-loading::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(47, 101, 216, 0.3);
    border-top-color: #2f65d8;
    left: 0;
    top: 50%;
    margin-top: -4.5px;
    animation: legacy-spin 0.75s linear infinite;
}

.legacy-table a.is-link-loading::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(47, 101, 216, 0.3);
    border-top-color: #2f65d8;
    left: 0;
    top: 50%;
    margin-top: -4.5px;
    animation: legacy-spin 0.75s linear infinite;
}

.w-choose {
    min-width: 56px;
    white-space: nowrap;
}

.w-bhkcod {
    min-width: 110px;
    white-space: nowrap;
}

.w-idc {
    min-width: 138px;
    white-space: nowrap;
}

.w-name {
    min-width: 80px;
    white-space: nowrap;
}

.w-sex {
    min-width: 56px;
    white-space: nowrap;
}

.w-age {
    min-width: 56px;
    white-space: nowrap;
}

.w-dept {
    min-width: 160px;
    white-space: nowrap;
}

.w-workno {
    min-width: 96px;
    white-space: nowrap;
}

.w-worksta {
    min-width: 92px;
    white-space: nowrap;
}

.w-factor {
    min-width: 120px;
    white-space: nowrap;
}

.w-years {
    min-width: 96px;
    white-space: nowrap;
}

.w-date {
    min-width: 110px;
    white-space: nowrap;
}

.w-result {
    min-width: 220px;
}

.w-adv {
    min-width: 220px;
}

.w-group {
    min-width: 200px;
}

.w-conclusion {
    min-width: 250px;
}

.w-op {
    min-width: 132px;
    white-space: nowrap;
}

.w-op a {
    display: inline-block;
}

.no-wrap {
    white-space: nowrap;
}

.split-line {
    color: #999;
    margin: 0 4px;
}

.cell-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: normal;
    text-align: inherit;
    margin: 0 auto;
    max-width: 100%;
}

.empty-cell {
    color: #808080;
    text-align: center;
    padding: 14px 0;
}

.legacy-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #d7d7d7;
    font-size: 13px;
    color: #444;
}

.disabled-link {
    color: #b2b2b2 !important;
    pointer-events: none;
    text-decoration: none !important;
}

.group-dialog-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.group-dialog {
    width: min(760px, 96vw);
    max-height: 86vh;
    background: #fff;
    border: 1px solid #bcbcbc;
    display: flex;
    flex-direction: column;
}

.group-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #d7d7d7;
    background: linear-gradient(#f7f7f7, #ececec);
    font-weight: 700;
}

.group-dialog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e2e2;
}

.group-dialog-toolbar input {
    width: 260px;
    height: 30px;
    border: 1px solid #c4c4c4;
    border-radius: 2px;
    padding: 0 8px;
}

.group-dialog-body {
    padding: 10px 12px;
    overflow: auto;
}

.group-dialog-body .legacy-table {
    min-width: 560px;
}

.group-dialog-footer {
    padding: 10px 12px;
    border-top: 1px solid #e2e2e2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.detail-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px;
    overflow: auto;
}

.detail-dialog {
    width: min(1800px, 98vw);
    max-height: none;
    background: #fff;
    border: 1px solid #bcbcbc;
    display: flex;
    flex-direction: column;
}

.detail-header {
    padding: 10px 12px;
    border-bottom: 1px solid #d7d7d7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(#f7f7f7, #ececec);
    font-size: 15px;
    font-weight: 700;
}

.detail-body {
    padding: 10px;
    overflow: visible;
}

.detail-body .legacy-table {
    min-width: 0;
    table-layout: fixed;
}

.detail-body .legacy-table th,
.detail-body .legacy-table td {
    font-size: 12px;
    padding: 6px 5px;
    line-height: 1.2;
    word-break: break-all;
}

.detail-panel {
    border: 1px solid #d7d7d7;
    margin-bottom: 10px;
}

.detail-title {
    padding: 8px 10px;
    border-bottom: 1px solid #d7d7d7;
    background: #f8f8f8;
    font-size: 14px;
    font-weight: 700;
}

.detail-kv {
    width: 100%;
    border-collapse: collapse;
}

.detail-kv td {
    border: 1px solid #e0e0e0;
    padding: 6px 6px;
    font-size: 12px;
    color: #333;
}

.detail-kv td:nth-child(odd) {
    width: 110px;
    background: #f7f7f7;
    text-align: right;
    font-weight: 700;
}

.person-photo-cell {
    width: 136px !important;
    text-align: center !important;
    background: #fff !important;
}

.person-photo {
    width: 127px;
    max-height: 150px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.abnormal-text {
    color: #d2342f;
}

.result-sign {
    color: #d2342f;
    font-weight: 700;
    margin-left: 4px;
}

.group-conclusion-title {
    font-weight: 700;
    color: #000;
}

.group-conclusion-text {
    text-align: left !important;
    padding-left: 12px !important;
}

.legacy-toast {
    position: fixed;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #f8fbff, #eef4ff);
    color: #2f3a56;
    border: 2px solid #8bb5ff;
    border-left: 8px solid #2f65d8;
    padding: 14px 22px;
    border-radius: 6px;
    z-index: 3000;
    font-size: 15px;
    box-shadow: 0 8px 22px rgba(47, 101, 216, 0.24);
    max-width: 80vw;
    min-width: 320px;
    text-align: center;
}

.confirm-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 3050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-dialog {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.confirm-title {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2f3a56;
    border-bottom: 1px solid #e6eaf3;
    background: linear-gradient(180deg, #f8fbff, #f1f5ff);
}

.confirm-text {
    padding: 20px 16px;
    color: #2f3a56;
    font-size: 14px;
}

.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 16px 14px;
}

.offline-download-dialog {
    width: min(460px, 92vw);
}

.offline-download-text {
    line-height: 1.8;
    font-size: 15px;
}

.global-loading-mask {
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 38, 0.36);
    z-index: 3040;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
}

.global-loading-card {
    min-width: 220px;
    max-width: 85vw;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(24, 34, 62, 0.94);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.global-loading-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-top-color: #ffffff;
    animation: legacy-spin 0.8s linear infinite;
}

.global-loading-text {
    font-size: 14px;
    letter-spacing: 0.2px;
}

@keyframes legacy-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .legacy-row label {
        min-width: 68px;
    }

    .legacy-row input,
    .legacy-row select {
        min-width: 120px;
    }

    .group-picker-wrap input {
        width: 360px;
    }
}

@media (max-width: 900px) {
    .legacy-topbar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .legacy-title-img {
        height: 30px;
    }

    .legacy-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .legacy-row label {
        text-align: left;
        min-width: auto;
    }

    .legacy-actions {
        flex-wrap: wrap;
    }

    .group-picker-wrap {
        width: 100%;
    }

    .group-picker-wrap input {
        width: calc(100vw - 120px);
        max-width: none;
    }

    .detail-dialog {
        width: 100%;
        max-height: 92vh;
    }

    .legacy-toast {
        top: 64px;
        max-width: 92vw;
    }
}

@media (max-height: 900px) {
    .legacy-table-wrap {
        max-height: 40vh;
    }
}

@media (max-height: 760px) {
    .legacy-table-wrap {
        max-height: 34vh;
    }
}
