﻿div.entityList,
div.entityListIssues {
    --entityList-brand: #002e5f;
    --entityList-brand-hover: #0b4485;
    --entityList-accent: #2b6cb0;
    --entityList-accent-bg: #e8f0fa;
    --entityList-border: #e5e9ef;
    --entityList-border-strong: #c3cad4;
    --entityList-muted: #5b6776;
    --entityList-hover: #f1f4f8;
    --entityList-header-bg: #f3f6fa;
    --entityList-danger: #c53030;
    font-size: 13px;
    color: #1f2937;
}

    div.entityList [hidden] {
        display: none !important;
    }

    /* :where keeps specificity at zero, so a button's own class wins */
    :where(div.entityList button) {
        font: inherit;
    }

.entityListIcon {
    display: inline-flex;
    flex: none;
}

div.entityListToolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}

label.entityListSearch {
    display: flex;
    flex: 1 1 200px;
    min-width: 220px;
    max-width: 320px;
    align-items: center;
    gap: 6px;
    height: 32px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--entityList-muted);
    cursor: text;
}

    label.entityListSearch:focus-within {
        border-color: var(--entityList-accent);
        box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.18);
    }

    label.entityListSearch input {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0;
        border: 0;
        outline: none;
        background: transparent;
        font: inherit;
        font-size: 13px;
        color: #1f2937;
    }

select.entityListSort,
select.entityListBulkMore,
label.entityListPagerIpp select {
    height: 32px;
    box-sizing: border-box;
    padding: 0 8px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 6px;
    background-color: #ffffff;
    font: inherit;
    font-size: 13px;
    color: #1f2937;
    cursor: pointer;
}

    select.entityListSort:focus-visible,
    select.entityListBulkMore:focus-visible,
    label.entityListPagerIpp select:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: 1px;
    }

button.entityListToggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--entityList-muted);
    font-size: 13px;
    cursor: pointer;
}

    button.entityListToggle:hover {
        background-color: var(--entityList-hover);
    }

    button.entityListToggle.entityListToggle_on {
        border-color: #e3b341;
        background-color: #fff8e6;
        color: #7a5200;
    }

        button.entityListToggle.entityListToggle_on svg path {
            fill: #f0b429;
            stroke: #c98a00;
        }

span.entityListSwitch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    span.entityListSwitch label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--entityList-muted);
        cursor: pointer;
        white-space: nowrap;
    }

span.entityListToolbarEnd {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.entityListButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--entityList-brand);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

    a.entityListButton:link,
    a.entityListButton:visited {
        color: var(--entityList-brand);
        text-decoration: none;
    }

    .entityListButton:hover {
        border-color: #8d97a5;
        background-color: var(--entityList-hover);
    }

    .entityListButton:focus-visible,
    button.entityListToggle:focus-visible,
    button.entityListLetter:focus-visible,
    button.entityListChip:focus-visible,
    button.entityListLink:focus-visible,
    button.entityListIconButton:focus-visible,
    button.entityListStar:focus-visible,
    button.entityListPage:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: 2px;
    }

    .entityListButton.entityListButton_primary {
        border-color: var(--entityList-brand);
        background-color: var(--entityList-brand);
        color: #ffffff;
    }

        .entityListButton.entityListButton_primary:hover {
            border-color: var(--entityList-brand-hover);
            background-color: var(--entityList-brand-hover);
        }

    .entityListButton.entityListButton_accent {
        border-color: #cc0066;
        background-color: #e50073;
        color: #ffffff;
    }

        .entityListButton.entityListButton_accent:hover {
            border-color: #b3005a;
            background-color: #cc0066;
        }

    .entityListButton.entityListButton_danger {
        border-color: #f0b4b4;
        color: var(--entityList-danger);
    }

        .entityListButton.entityListButton_danger:hover {
            border-color: var(--entityList-danger);
            background-color: #fdf0f0;
        }

button.entityListLink {
    padding: 0;
    border: 0;
    background: none;
    color: var(--entityList-accent);
    font-size: 13px;
    cursor: pointer;
}

    button.entityListLink:hover {
        text-decoration: underline;
    }

button.entityListIconButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--entityList-muted);
    cursor: pointer;
}

    button.entityListIconButton:hover {
        background-color: #e5e9ef;
        color: var(--entityList-brand);
    }

div.entityListFilters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

div.entityListLetters {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

button.entityListLetter {
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    border: 0;
    border-radius: 4px;
    background: none;
    color: var(--entityList-muted);
    font-size: 12px;
    cursor: pointer;
}

    button.entityListLetter:hover {
        background-color: var(--entityList-hover);
        color: var(--entityList-brand);
    }

    button.entityListLetter.entityListLetter_on {
        background-color: var(--entityList-brand);
        color: #ffffff;
    }

    button.entityListLetter:first-child {
        padding: 0 8px;
        margin-right: 6px;
    }

div.entityListChips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

button.entityListChip {
    height: 26px;
    padding: 0 12px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 13px;
    background-color: #ffffff;
    color: #4b5563;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

    button.entityListChip:hover {
        background-color: var(--entityList-hover);
    }

    button.entityListChip.entityListChip_on {
        border-color: var(--entityList-brand);
        background-color: var(--entityList-brand);
        color: #ffffff;
    }

div.entityListFilterSummary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 8px;
    color: var(--entityList-muted);
}

div.entityListBulkBar {
    display: none;
    position: absolute;
    top: 0;
    left: 36px;
    right: 0;
    z-index: 1;
    height: 40px;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    padding: 0 4px 0 8px;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--entityList-accent-bg);
}

    div.entityListBulkBar.entityListBulkBar_open {
        display: flex;
    }

span.entityListBulkCount {
    color: var(--entityList-brand);
    font-weight: 600;
    white-space: nowrap;
}

span.entityListBulkButtons {
    display: inline-flex;
    gap: 6px;
    margin-left: auto;
    min-width: 0;
}

div.entityListBulkBar button.entityListLink {
    white-space: nowrap;
}

    span.entityListBulkButtons .entityListButton,
    span.entityListBulkButtons select {
        height: 28px;
    }

div.entityListScroll {
    position: relative;
}

table.entityListTable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

    table.entityListTable th {
        height: 40px; /* the bulk bar covers it exactly */
        box-sizing: border-box;
        padding: 0 8px;
        border-bottom: 1px solid var(--entityList-border-strong);
        background-color: var(--entityList-header-bg);
        color: var(--entityList-muted);
        font-size: 12px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
    }

    table.entityListTable td {
        height: 31px;
        padding: 4px 8px;
        border-bottom: 1px solid var(--entityList-border);
        background: none;
        vertical-align: middle;
    }

tr.entityListRow:hover td {
    background-color: #f7f9fb;
}

tr.entityListRow.entityListRow_selected td {
    background-color: var(--entityList-accent-bg);
}

div.entityList_page tr.entityListRow.entityListRow_active td {
    background-color: #d6ffc0;
    cursor: pointer;
}

div.entityList_page tr.entityListRow:focus {
    outline: none;
}

div.entityList_page tr.entityListRow:focus-visible {
    outline: 2px solid #1f6fb5;
    outline-offset: -2px;
}

table.entityListTable .entityListCol_select,
table.entityListTable .entityListCol_favorite {
    width: 28px;
    padding-right: 0;
    text-align: center;
}

table.entityListTable .entityListCol_select input {
    margin: 0;
    display: block;
    cursor: pointer;
}

table.entityListTable .entityListCol_code {
    width: 110px;
    color: var(--entityList-muted);
}

table.entityListTable .entityListCol_company {
    width: 160px;
    color: var(--entityList-muted);
}

table.entityListTable .entityListCol_flights {
    width: 190px;
}

table.entityListTable .entityListCol_actions {
    width: 64px;
    text-align: right;
    white-space: nowrap;
}

span.entityListActions {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

button.entityListRowAction {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: none;
    color: #2f6496;
    cursor: pointer;
    transition: background-color .12s, color .12s;
}

    button.entityListRowAction:hover {
        background-color: #bcd6ea;
        color: #1c4a75;
    }

    button.entityListRowAction:focus-visible {
        outline: 2px solid #1f6fb5;
        outline-offset: 1px;
    }

    button.entityListRowAction::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 18px;
        height: 18px;
        background-color: currentColor;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

.entityListRowAction_edit::before,
.entityListMenuIcon_edit::before {
    -webkit-mask-image: url(../RowActions/edit.svg);
    mask-image: url(../RowActions/edit.svg);
}

.entityListMenuIcon_report::before {
    -webkit-mask-image: url(../RowActions/report.svg);
    mask-image: url(../RowActions/report.svg);
}

.entityListMenuIcon_delete::before {
    -webkit-mask-image: url(../RowActions/delete.svg);
    mask-image: url(../RowActions/delete.svg);
}

div.entityList_page tr.entityListRow_active button.entityListRowAction_edit {
    background-color: #2f6496;
    color: #ffffff;
}

    div.entityList_page tr.entityListRow_active button.entityListRowAction_edit:hover {
        background-color: #1c4a75;
        color: #ffffff;
    }

table.entityListTable .entityListCol_invite {
    width: 90px;
    white-space: nowrap;
}

    table.entityListTable .entityListCol_invite .entityListButton {
        margin-left: -11px; /* the text lines up with the column header (padding and border) */
        border-color: transparent;
        background-color: transparent;
        font-weight: 600;
    }

        table.entityListTable .entityListCol_invite .entityListButton:hover {
            border-color: var(--entityList-border-strong);
            background-color: #ffffff;
        }

.entityListButton.entityListButton_small {
    height: 26px;
    padding: 0 10px;
    font-size: 12px;
}

a.entityListAvatar {
    cursor: zoom-in;
}

    a.entityListAvatar:link,
    a.entityListAvatar:visited {
        color: var(--entityList-brand);
        text-decoration: none;
    }

    a.entityListAvatar:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: 2px;
    }

button.entityListStar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #aab3bf;
    cursor: pointer;
    vertical-align: middle;
}

    button.entityListStar:hover {
        color: #c98a00;
    }

    button.entityListStar.entityListStar_on {
        color: #c98a00;
    }

        button.entityListStar.entityListStar_on svg path {
            fill: #f0b429;
        }

span.entityListNameCell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.entityListAvatar {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e3ebf5;
    color: var(--entityList-brand);
    font-size: 11px;
    font-weight: 600;
}

    .entityListAvatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.entityListName {
    overflow: hidden;
    color: #1f2937;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

img.entityListLogo {
    display: block;
    max-width: 127px;
    height: 20px;
    object-fit: contain;
    object-position: left center;
}

span.entityListFlights {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

a.entityListPill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
}

    a.entityListPill:focus-visible {
        text-decoration: underline;
    }

    a.entityListPill.entityListPill_logged,
    a.entityListPill.entityListPill_logged:link,
    a.entityListPill.entityListPill_logged:visited {
        background-color: #e8f0fa;
        color: #1d4f8a;
    }

    a.entityListPill.entityListPill_scheduled,
    a.entityListPill.entityListPill_scheduled:link,
    a.entityListPill.entityListPill_scheduled:visited {
        background-color: #e6f4ea;
        color: #1e6b34;
    }

    a.entityListPill.entityListPill_logged:hover {
        background-color: #d3e3f6;
    }

    a.entityListPill.entityListPill_scheduled:hover {
        background-color: #cfe9d7;
    }

table.entityListTable tr.entityListSectionRow td {
    height: auto;
    padding: 10px 8px 6px 8px;
    border-bottom: 1px solid var(--entityList-border-strong);
    color: var(--entityList-muted);
    font-size: 12px;
    font-weight: 600;
}

table.entityListTable tr.entityListRow_suggestion td {
    background-color: #fbfcfd;
    color: var(--entityList-muted);
}

    table.entityListTable tr.entityListRow_suggestion .entityListName {
        color: var(--entityList-muted);
    }

div.entityList_picker table.entityListTable tr.entityListRow_suggestion.entityListRow_highlighted td {
    background-color: var(--entityList-accent-bg);
}

button.entityListAddSuggestion {
    gap: 4px;
}

    button.entityListAddSuggestion .entityListIcon svg {
        width: 13px;
        height: 13px;
    }

table.entityListTable .entityListCol_airportCode {
    width: 48px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

table.entityListTable .entityListCol_location {
    width: 30%;
    color: var(--entityList-muted);
}

span.entityListLocation {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

img.entityListFlag {
    flex: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

span.entityListLocationText {
    overflow: hidden;
    margin-left: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entityListMenuIcon_googleEarth::before {
    -webkit-mask-image: url(../RowActions/google-earth.svg);
    mask-image: url(../RowActions/google-earth.svg);
}

.entityListMenuIcon_googleMaps::before {
    -webkit-mask-image: url(../RowActions/google-maps.svg);
    mask-image: url(../RowActions/google-maps.svg);
}

.entityListMenuIcon_info::before {
    -webkit-mask-image: url(../RowActions/info.svg);
    mask-image: url(../RowActions/info.svg);
}

div.entityListIssues {
    margin-top: 16px;
    font-size: 13px;
}

    div.entityListIssues[hidden] {
        display: none;
    }

    :where(div.entityListIssues button) {
        font: inherit;
    }

    div.entityListIssues a:link,
    div.entityListIssues a:visited,
    div.entityListIssues a:hover {
        color: var(--entityList-accent);
        font-weight: normal;
        text-decoration: none;
    }

        div.entityListIssues a:hover {
            text-decoration: underline;
        }

    div.entityListIssues p {
        margin: 0 0 6px 0;
    }

    div.entityListIssues p.entityListIssueHeading {
        font-size: 14px;
        font-weight: 600;
    }

    div.entityListIssues p.entityListIssueTitle {
        margin-top: 12px;
        font-weight: 600;
    }

    div.entityListIssues ul.entityListIssueList {
        margin: 0;
        padding-left: 20px;
    }

        div.entityListIssues ul.entityListIssueList li {
            margin: 3px 0;
        }

            div.entityListIssues ul.entityListIssueList li strong {
                margin-right: 10px;
            }

    div.entityListIssues .entityListIssueSeparator {
        margin: 0 6px;
        color: #8a94a3;
    }

    div.entityListIssues .entityListIssueMuted {
        color: #6b7280;
        font-style: italic;
    }

    div.entityListIssues button.entityListLink {
        padding: 0;
        vertical-align: baseline;
    }

div.entityListIssueAutoFix {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 4px 0;
}

div.entityListStatus {
    padding: 28px 16px;
    color: var(--entityList-muted);
    text-align: center;
}

    div.entityListStatus p {
        margin: 0 0 10px 0;
    }

    div.entityListStatus .entityListStatusTitle {
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
    }

    div.entityListStatus.entityListStatus_error {
        color: var(--entityList-danger);
    }

div.entityList.entityList_loading table.entityListTable tbody {
    opacity: 0.55;
    transition: opacity 0.15s 0.15s;
}

div.entityList_page {
    margin-bottom: 24px;
}

div.entityListPager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding-top: 10px;
    color: var(--entityList-muted);
}

span.entityListPagerPages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

button.entityListPage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--entityList-brand);
    font-size: 13px;
    cursor: pointer;
}

    button.entityListPage:hover:enabled {
        background-color: var(--entityList-hover);
    }

    button.entityListPage:disabled {
        color: #c3cad4;
        cursor: default;
    }

    button.entityListPage.entityListPage_on {
        background-color: var(--entityList-brand);
        color: #ffffff;
        font-weight: 600;
    }

span.entityListPageGap {
    padding: 0 4px;
}

label.entityListPagerIpp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    label.entityListPagerIpp select {
        height: 28px;
    }

div.entityList_picker {
    padding: 14px 16px 0 16px;
}

    div.entityList_picker div.entityListScroll {
        height: min(420px, calc(100vh - 300px));
        min-height: 200px;
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0 -16px;
        padding: 0 16px;
        border-top: 1px solid var(--entityList-border);
    }

    div.entityList_picker table.entityListTable thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    div.entityList_picker tr.entityListRow {
        cursor: pointer;
    }

        div.entityList_picker tr.entityListRow:hover td {
            background: none;
        }

        div.entityList_picker tr.entityListRow.entityListRow_highlighted td {
            background-color: var(--entityList-accent-bg);
        }

div.entityListBody {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

div.entityListSide {
    flex: 0 0 250px;
    min-width: 0;
}

div.entityList_page div.entityListSide {
    position: sticky;
    top: 8px;
}

div.entityListMain {
    flex: 1 1 auto;
    min-width: 0;
}

div.entityListTree {
    display: flex;
    flex-direction: column;
    max-height: min(640px, calc(100vh - 240px));
    overflow: hidden;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 8px;
    background-color: #fff;
}

p.entityListTreeStatus {
    margin: 0;
    padding: 16px 12px;
    color: var(--entityList-muted);
}

button.entityListTreeSection, div.entityListTreeSection {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px 8px 8px;
    border: 0;
    border-bottom: 1px solid var(--entityList-border);
    background-color: var(--entityList-header-bg);
    color: var(--entityList-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

    div.entityListTreeSection {
        padding-left: 12px;
        cursor: default;
    }

    button.entityListTreeSection {
        background-color: #fff;
        color: #1f2937;
        font-size: 13px;
        font-weight: 600;
    }

        button.entityListTreeSection .entityListIcon {
            color: var(--entityList-muted);
        }

    button.entityListTreeSection:hover {
        background-color: var(--entityList-hover);
        color: var(--entityList-brand);
    }

    button.entityListTreeSection:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: -2px;
    }

    button.entityListTreeSection .entityListIcon {
        flex: none;
        display: inline-flex;
    }

        button.entityListTreeSection .entityListIcon svg {
            width: 14px;
            height: 14px;
            transition: transform 0.12s;
        }

    button.entityListTreeSection.entityListTreeSection_open .entityListIcon svg {
        transform: rotate(90deg);
    }

    button.entityListTreeSection.entityListTreeSection_open {
        background-color: #d4e4f5;
        box-shadow: inset 3px 0 0 var(--entityList-accent);
        color: var(--entityList-brand);
        font-weight: 600;
        cursor: default;
    }

        button.entityListTreeSection.entityListTreeSection_open .entityListIcon {
            color: var(--entityList-brand);
        }

div.entityListTreeBody {
    flex: 1 1 auto;
    min-height: 120px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 0;
    border-bottom: 1px solid var(--entityList-border);
}

ul.entityListTreeNodes {
    margin: 0;
    padding: 0;
    list-style: none;
}

div.entityListTreeRow {
    display: flex;
    align-items: center;
    padding-right: 6px;
}

.entityListTreeToggle {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 26px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--entityList-muted);
}

button.entityListTreeToggle {
    cursor: pointer;
}

    button.entityListTreeToggle:hover {
        color: var(--entityList-brand);
    }

    button.entityListTreeToggle svg {
        width: 14px;
        height: 14px;
        transition: transform 0.12s;
    }

li.entityListTreeItem_open > div.entityListTreeRow > button.entityListTreeToggle svg {
    transform: rotate(90deg);
}

button.entityListTreeNode {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 4px 6px;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
}

    button.entityListTreeNode span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    button.entityListTreeNode:hover {
        background-color: var(--entityList-hover);
    }

    button.entityListTreeNode:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: -2px;
    }

    button.entityListTreeNode.entityListTreeNode_on {
        background-color: var(--entityList-accent-bg);
        color: var(--entityList-brand);
        font-weight: 600;
    }

img.entityListTreeFlag {
    flex: none;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

button.entityListTreeNode.entityListTreeNode_muted:not(.entityListTreeNode_on) {
    color: var(--entityList-muted);
}

div.entityListTreeFooter {
    flex: none;
    padding: 6px 10px;
    background-color: var(--entityList-header-bg);
    font-size: 12px;
}

    div.entityListTreeFooter label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--entityList-muted);
        cursor: pointer;
    }

div.entityListCharacteristics {
    margin-top: 12px;
    padding: 10px 12px 12px 12px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 8px;
    background-color: #fff;
}

p.entityListCharacteristicsTitle {
    margin: 0;
    color: var(--entityList-brand);
    font-weight: 600;
}

p.entityListCharacteristicsHint {
    margin: 2px 0 4px 0;
    color: var(--entityList-muted);
    font-size: 12px;
}

div.entityListCharacteristicChips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 8px 0;
}

span.entityListCharacteristicChip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0 2px 0 8px;
    border-radius: 12px;
    background-color: var(--entityList-accent-bg);
    color: #1d4f8a;
    font-size: 12px;
    line-height: 22px;
}

    span.entityListCharacteristicChip > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

button.entityListCharacteristicRemove {
    flex: none;
    width: 20px;
    height: 20px;
    margin-left: 2px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--entityList-muted);
    font-size: 15px;
    line-height: 20px;
    cursor: pointer;
}

    button.entityListCharacteristicRemove:hover {
        background-color: #d3e3f6;
        color: var(--entityList-brand);
    }

    button.entityListCharacteristicRemove:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: 0;
    }

select.entityListCharacteristicAdd {
    width: 100%;
    height: 28px;
    margin-top: 4px;
    padding: 0 4px;
    border: 1px solid var(--entityList-border-strong);
    border-radius: 6px;
    background-color: #fff;
    color: var(--entityList-muted);
    font: inherit;
}

    select.entityListCharacteristicAdd option {
        color: #1f2937;
    }

    select.entityListCharacteristicAdd:focus-visible {
        outline: 2px solid var(--entityList-accent);
        outline-offset: 1px;
    }

span.aircraftListRegistration {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

span.aircraftListNoFlag {
    flex: none;
    width: 20px;
}

.entityListName.aircraftListNoRegistration {
    color: var(--entityList-muted);
    font-weight: 400;
    font-style: italic;
}

span.aircraftListTag {
    flex: none;
    padding: 0 6px;
    border-radius: 8px;
    background-color: #eef1f5;
    color: var(--entityList-muted);
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
}

button.aircraftListWarning {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #b45309;
    cursor: pointer;
}

    button.aircraftListWarning:hover:enabled {
        background-color: #fef3c7;
    }

    button.aircraftListWarning:disabled {
        cursor: default;
    }

span.aircraftListCodes {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

span.aircraftListCode {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    span.aircraftListCode.aircraftListCode_internalcode {
        color: #1f2937;
        font-weight: 600;
    }

table.entityListTable .entityListCol_aircraftLogo {
    width: 130px;
}

table.entityListTable .entityListCol_aircraftModel {
    width: 26%;
}

table.entityListTable .entityListCol_aircraftFlights {
    width: 70px;
}

span.aircraftListCompanyName {
    display: block;
    overflow: hidden;
    color: var(--entityList-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entityListMenuIcon_warning::before {
    -webkit-mask-image: url(../RowActions/warning.svg);
    mask-image: url(../RowActions/warning.svg);
}

.entityListMenuIcon_add::before {
    -webkit-mask-image: url(../RowActions/add.svg);
    mask-image: url(../RowActions/add.svg);
}

span.aircraftTypeListModel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    min-width: 0;
}

    span.aircraftTypeListModel .entityListName {
        white-space: normal;
        overflow-wrap: anywhere;
    }

table.entityListTable .entityListCol_aircraftTypeAircraft {
    width: 90px;
}

a.entityListPill.aircraftTypeListAircraftPill,
a.entityListPill.aircraftTypeListAircraftPill:link,
a.entityListPill.aircraftTypeListAircraftPill:visited {
    background-color: #eef1f5;
    color: #3d4a5a;
}

    a.entityListPill.aircraftTypeListAircraftPill:hover {
        background-color: #e1e6ed;
    }

div.entityListIssues span.aircraftListIssueName {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    margin-right: 8px;
}

div.entityListIssues p.aircraftListIssueNote {
    margin: 0 0 4px 0;
    color: var(--entityList-muted);
}

div.entityList_picker.entityList_withSide div.entityListScroll {
    margin: 0;
    padding: 0;
    border-top: 0;
}

div.entityList_picker div.entityListTree {
    height: calc(min(420px, calc(100vh - 300px)) + 2px);
    min-height: 200px;
    max-height: none;
}

nav.entityListPageTabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e9ef;
    font-size: 13px;
}

a.entityListPageTab,
a.entityListPageTab:link,
a.entityListPageTab:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -1px;
    padding: 6px 2px 8px 2px;
    border-bottom: 2px solid transparent;
    color: #5b6776;
    text-decoration: none;
    white-space: nowrap;
}

    a.entityListPageTab:hover {
        border-bottom-color: #c3cad4;
        color: #002e5f;
    }

    a.entityListPageTab:focus-visible {
        outline: 2px solid #2b6cb0;
        outline-offset: 2px;
        border-radius: 2px;
    }

    a.entityListPageTab.entityListPageTab_on {
        border-bottom-color: #002e5f;
        color: #002e5f;
        font-weight: 600;
        cursor: default;
    }

span.entityListPageTabCount {
    min-width: 20px;
    padding: 0 7px;
    border-radius: 9px;
    background-color: #eef1f5;
    color: #5b6776;
    font-size: 11px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}

a.entityListPageTab_on span.entityListPageTabCount {
    background-color: #e8f0fa;
    color: #1d4f8a;
}

div.aircraftListLegal {
    margin-top: 12px;
    color: #9aa3ae;
    font-size: 10px;
}

@media (max-width: 720px) {
    div.entityListBody {
        flex-direction: column;
        align-items: stretch;
    }

    div.entityListSide,
    div.entityList_page div.entityListSide {
        position: static;
        flex: none;
    }

    div.entityListTree,
    div.entityList_picker div.entityListTree {
        height: auto;
        max-height: 260px;
        min-height: 0;
    }

    table.entityListTable .entityListCol_aircraftOperator,
    table.entityListTable .entityListCol_aircraftFlights,
    table.entityListTable .entityListCol_aircraftTypeAircraft {
        display: none;
    }

    span.entityListBulkButtons .entityListButton,
    div.entityListBulkBar button.entityListLink {
        display: none;
    }

    span.entityListBulkButtons.entityListBulkButtons_all .entityListButton {
        display: inline-flex;
    }

    table.entityListTable .entityListCol_code,
    table.entityListTable .entityListCol_flights,
    table.entityListTable .entityListCol_airportCodeMore {
        display: none;
    }

    label.entityListSearch {
        max-width: none;
        flex-basis: 100%;
    }

    span.entityListToolbarEnd {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    table.entityListTable .entityListCol_aircraftLogo {
        display: none;
    }

    table.entityListTable .entityListCol_company,
    table.entityListTable .entityListCol_location {
        display: none;
    }
}

table.entityListTable .entityListCol_milestoneAgency {
    width: 130px;
    color: var(--entityList-muted);
}

table.entityListTable .entityListCol_milestoneDate {
    width: 100px;
    white-space: nowrap;
}

table.entityListTable .entityListCol_milestoneExpiration {
    width: 230px;
}

table.entityListTable .entityListCol_milestoneScans {
    width: 70px;
    white-space: nowrap;
}

table.entityListTable .entityListCol_milestoneDashboard {
    width: 80px;
    text-align: center;
}

div.entityListFilterRow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 28px;
}

select.entityListSort.milestoneListFilterSelect {
    max-width: 220px;
    height: 26px;
    border-radius: 13px;
    font-size: 12px;
}

    select.entityListSort.milestoneListFilterSelect[hidden] {
        display: none;
    }

    select.entityListSort.milestoneListFilterSelect.milestoneListFilterSelect_on {
        border-color: var(--entityList-brand);
        background-color: var(--entityList-accent-bg);
        color: var(--entityList-brand);
        font-weight: 600;
    }

span.milestoneListName {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

span.milestoneListDescription {
    overflow: hidden;
    color: var(--entityList-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span.entityListExpiration {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
}

span.entityListExpirationDate {
    white-space: nowrap;
}

span.entityListExpirationTag {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    span.entityListExpirationTag.entityListExpirationTag_current {
        background: #e3f4e6;
        color: #1c6b2c;
    }

    span.entityListExpirationTag.entityListExpirationTag_soon {
        background: #fdf0d2;
        color: #8a5a00;
    }

    span.entityListExpirationTag.entityListExpirationTag_expired {
        background: #fde4e2;
        color: #a3231b;
    }

button.milestoneListDashboard {
    display: inline-flex;
    padding: 2px;
    border: 0;
    border-radius: 4px;
    background: none;
    cursor: pointer;
}

    button.milestoneListDashboard:focus-visible {
        outline: 2px solid #1f6fb5;
        outline-offset: 1px;
    }

@media (max-width: 900px) {
    table.entityListTable .entityListCol_milestoneScans,
    table.entityListTable .entityListCol_milestoneDashboard {
        display: none;
    }

    table.entityListTable .entityListCol_milestoneExpiration {
        width: 120px;
    }
}

@media (max-width: 600px) {
    table.entityListTable .entityListCol_milestoneAgency {
        display: none;
    }
}

div.entityList_picker div.entityListScroll:focus {
    outline: none;
}

span.flightListDate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--entityList-muted);
    font-size: 13px;
    white-space: nowrap;
}

    span.flightListDate input {
        height: 32px;
        width: 130px;
        box-sizing: border-box;
        padding: 0 8px;
        border: 1px solid var(--entityList-border-strong);
        border-radius: 6px;
        background-color: #ffffff;
        color: #1f2937;
        font: inherit;
        font-size: 13px;
        cursor: pointer;
    }

        span.flightListDate input:focus-visible {
            outline: 2px solid var(--entityList-accent);
            outline-offset: 1px;
        }

table.entityListTable .entityListCol_flightDate {
    width: 110px;
    white-space: nowrap;
}

table.entityListTable .entityListCol_flightType,
table.entityListTable .entityListCol_flightRegistration {
    width: 130px;
    color: var(--entityList-muted);
}

@media (max-width: 600px) {
    table.entityListTable .entityListCol_flightType {
        display: none;
    }
}

table.entityListTable .entityListCol_medicalAgency {
    width: 130px;
    color: var(--entityList-muted);
}

table.entityListTable .entityListCol_medicalDate {
    width: 150px;
    white-space: nowrap;
}

table.entityListTable .entityListCol_medicalExpiration {
    width: 290px;
}

table.entityListTable .entityListCol_medicalScans {
    width: 70px;
    white-space: nowrap;
}

span.medicalListDate {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

span.medicalListExamined {
    color: var(--entityList-muted);
    font-size: 12px;
}

span.medicalListExpirations {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

span.medicalListClass {
    flex: none;
    width: 20px;
    border-radius: 4px;
    background-color: var(--entityList-accent-bg);
    color: var(--entityList-brand);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    cursor: default;
}

span.entityListExpirationTag.medicalListExpirationTag_unknown {
    background: #eceff3;
    color: #4b5563;
}

div.medicalListSummary {
    margin-bottom: 14px;
    padding: 2px 12px 10px 12px;
    border: 1px solid #e5e9ef;
    border-radius: 8px;
    background-color: #f8fafc;
}

    div.medicalListSummary[hidden],
    div.medicalListSummary [hidden] {
        display: none;
    }

    div.medicalListSummaryTiles {
        display: flow-root;
    }

        div.medicalListSummaryTiles div[style*="clear"] {
            height: 0;
            font-size: 0;
            line-height: 0;
        }

label.medicalListSummarySwitch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #5b6776;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 900px) {
    table.entityListTable .entityListCol_medicalScans {
        display: none;
    }

    table.entityListTable .entityListCol_medicalExpiration {
        width: 150px;
    }
}

@media (max-width: 600px) {
    table.entityListTable .entityListCol_medicalAgency {
        display: none;
    }
}

table.entityListTable .entityListCol_importAlias {
    width: 24%;
}

span.importAliasListAlias {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

span.importAliasListAliasText {
    overflow: hidden;
    color: #1f2937;
    font-family: Consolas, "Courier New", monospace;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: pre;
}

span.importAliasListArrow {
    flex: none;
    margin-left: auto;
    color: #9aa5b1;
}

table.entityListTable .entityListCol_importAliasRecord .entityListName {
    display: block;
}

table.entityListTable .entityListCol_connectionStatus {
    width: 150px;
}

table.entityListTable .entityListCol_connectionAction {
    width: 120px;
    text-align: right;
}

span.connectionListName {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

span.connectionListEmail {
    overflow: hidden;
    color: var(--entityList-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span.connectionListTag {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    span.connectionListTag.connectionListTag_connected {
        background: #e3f4e6;
        color: #1c6b2c;
    }

    span.connectionListTag.connectionListTag_waitingForMe {
        background: #fdf0d2;
        color: #8a5a00;
    }

    span.connectionListTag.connectionListTag_waitingForThem {
        background: #edf0f4;
        color: #4b5563;
    }

.entityListMenuIcon_accept::before {
    -webkit-mask-image: url(../RowActions/accept.svg);
    mask-image: url(../RowActions/accept.svg);
}

.entityListMenuIcon_logbook::before {
    -webkit-mask-image: url(../RowActions/logbook.svg);
    mask-image: url(../RowActions/logbook.svg);
}

.page-inner-header + .entityList {
    margin-top: 12px;
}

.entityListMenuIcon_logIt::before {
    -webkit-mask-image: url(../RowActions/log-it.svg);
    mask-image: url(../RowActions/log-it.svg);
}

table.entityListTable .entityListCol_scheduleId {
    width: 60px;
    color: var(--entityList-muted);
    font-variant-numeric: tabular-nums;
}

table.entityListTable .entityListCol_schedulePeriod {
    width: 200px;
    white-space: nowrap;
}

table.entityListTable .entityListCol_scheduleFlights {
    width: 250px;
}

table.entityListTable .entityListCol_scheduleRaw {
    width: 100px;
}

table.entityListTable .entityListCol_scheduleImported {
    width: 120px;
}

span.scheduleListSource,
span.scheduleListImported {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

span.scheduleListSourceNames {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

span.scheduleListDescription {
    color: #1f2937;
}

span.scheduleListMuted {
    color: var(--entityList-muted);
    font-size: 12px;
}

span.scheduleListRawHeader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

img.scheduleListButtonIcon {
    width: 16px;
    height: 16px;
}

span.scheduleListFlights {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.entityListButton.scheduleListToLog {
    gap: 4px;
    height: 22px;
    padding: 0 8px;
}

@media (max-width: 900px) {
    table.entityListTable .entityListCol_scheduleId,
    table.entityListTable .entityListCol_scheduleImported {
        display: none;
    }
}

@media (max-width: 600px) {
    table.entityListTable .entityListCol_scheduleRaw {
        display: none;
    }
}

table.entityListTable .entityListCol_faa8710Pdf {
    width: 100px;
    text-align: right;
}

span.faa8710ListGenerated {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

span.faa8710ListTime,
span.widgetListMuted {
    color: var(--entityList-muted);
    font-size: 12px;
}

table.entityListTable .entityListCol_widgetImage {
    width: 410px;
}

a.widgetListImage {
    display: inline-block;
    line-height: 0;
}

    a.widgetListImage img {
        max-width: 400px;
        max-height: 80px;
        border-radius: 4px;
    }

table.entityListTable .entityListCol_widgetLinks {
    width: 100px;
    text-align: right;
}
