.legacy-org-table { table-layout: fixed; }
.legacy-org-table th,
.legacy-org-table td { overflow: hidden; }
.legacy-org-name-cell { padding: 5px 8px !important; white-space: normal !important; }
.legacy-org-name {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}
.legacy-org-logo {
    display: flex;
    flex: 0 0 92px;
    width: 92px;
    height: 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.legacy-org-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 92px;
    max-height: 42px;
    object-fit: contain;
}
.legacy-org-title {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .legacy-org-table {
        display: table !important;
        table-layout: auto;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        overflow: visible;
        white-space: normal;
    }
    .legacy-org-table > thead {
        display: table-header-group !important;
    }
    .legacy-org-table > tbody {
        display: table-row-group !important;
    }
    .legacy-org-table > thead > tr,
    .legacy-org-table > tbody > tr {
        display: table-row !important;
    }
    .legacy-org-table > thead > tr > th,
    .legacy-org-table > tbody > tr > td {
        display: table-cell;
    }
    .legacy-org-table th:first-child { width: 36px !important; }
    .legacy-org-table th:nth-child(3) { width: 54px !important; }
    .legacy-org-table th:nth-child(4),
    .legacy-org-table td:nth-child(4) {
        display: none;
        width: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .legacy-org-table th:last-child { width: 65px !important; }
    .legacy-org-logo { flex-basis: 68px; width: 68px; height: 38px; }
    .legacy-org-logo img { max-width: 68px; max-height: 38px; }
    .legacy-org-name { gap: 5px; }
    .legacy-org-title { font-size: 12px; }
}

@media (max-width: 420px) {
    .legacy-org-logo { flex-basis: 54px; width: 54px; height: 34px; }
    .legacy-org-logo img { max-width: 54px; max-height: 34px; }
}
