/* BlueNova Pilot Center — AEV / phpVMS Stisla layout */

body.pilot-aev-shell {
    background: #222222;
    color: #c6c6c6;
    --pilot-sidebar-width: 250px;
    --pilot-topbar-height: 70px;
    --pilot-content-top-gap: 20px;
    --pilot-aev-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%239ec9e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Select styling: see assets/css/bn-select.css */

body.pilot-aev-sidebar-collapsed.pilot-aev-shell {
    --pilot-sidebar-width: 70px;
}

body.pilot-aev-shell .pilot-header { display: none; }

body.pilot-aev-shell .pilot-page-hero { display: none; }

body.pilot-aev-shell .alert { margin-left: var(--pilot-sidebar-width); transition: margin-left 0.25s ease; }

body.pilot-aev-shell .pilot-layout { display: block; min-height: 100vh; }

body.pilot-aev-shell .pilot-main.main-content {
    padding: calc(var(--pilot-topbar-height) + var(--pilot-content-top-gap)) 30px 32px calc(var(--pilot-sidebar-width) + 30px);
    width: 100%;
    min-height: 100vh;
    background: #222222;
    transition: padding-left 0.25s ease;
}

body.pilot-aev-shell .pilot-content { max-width: none; padding: 0; }

body.pilot-aev-shell .pilot-footer {
    background: #222;
    border-top: 1px solid #3d3d3d;
    color: #98a6ad;
    margin-left: var(--pilot-sidebar-width);
    padding-left: 30px;
    transition: margin-left 0.25s ease;
}

.navbar-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 70px;
    background: #0d1f4a;
    z-index: 800;
}

.pilot-aev-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 890;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    height: 70px;
}

.pilot-aev-navbar__left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    width: 52px;
}

.pilot-aev-topbar__center {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    padding-left: calc(var(--pilot-sidebar-width) + 12px);
    padding-right: 0;
    transition: padding-left 0.25s ease;
}

.pilot-aev-topbar__center .pilot-aev-sidebar-toggle {
    flex-shrink: 0;
    padding: 8px 10px;
    line-height: 1;
}

.pilot-aev-topbar__clock {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pilot-aev-navbar .navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.pilot-aev-navbar .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 18px;
}

.pilot-aev-navbar .nav-link:hover { color: #00cff0; }

.pilot-aev-navbar .fas,
.pilot-aev-navbar .far {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
}

.pilot-aev-navbar .far { font-weight: 400; }

.pilot-aev-navbar .fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

.pilot-aev-topbar-avatar-img {
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.pilot-aev-user-toggle {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
    line-height: 1;
}

.pilot-aev-user-greeting {
    display: inline;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.pilot-aev-user-caret {
    display: inline-block;
    flex-shrink: 0;
    font-size: 12px;
    margin-left: 0;
    opacity: 0.85;
}

.pilot-aev-navbar__right {
    grid-column: 2;
    justify-self: end;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    flex-shrink: 0;
    margin-left: 0;
    z-index: 2;
}

.pilot-aev-topbar-lang {
    display: flex;
    align-items: center;
    margin: 0 6px 0 4px;
}

.pilot-aev-topbar-lang .lang-switch--compact {
    padding: 2px;
    gap: 1px;
}

.pilot-aev-topbar-lang .lang-switch--compact a {
    min-width: 32px;
    padding: 5px 8px;
    font-size: 10px;
}

.pilot-aev-user-menu { position: relative; }

.pilot-aev-user-dropdown {
    display: none;
    position: absolute;
    right: 0; top: 100%;
    min-width: 200px;
    background: #303030;
    border: 1px solid #4b4b4b;
    border-radius: 4px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.pilot-aev-user-menu.is-open .pilot-aev-user-dropdown { display: block; }

.pilot-aev-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #c3c3c3;
    text-decoration: none;
    font-size: 14px;
}

.pilot-aev-user-dropdown .dropdown-item:hover { background: #1a6fe8; color: #fff; }

.pilot-aev-user-dropdown .pilot-aev-logout-item,
.pilot-aev-user-dropdown .pilot-aev-logout-item i {
    color: #ff6b6b !important;
}

.pilot-aev-user-dropdown .pilot-aev-logout-item:hover {
    background: rgba(255, 107, 107, 0.15);
    color: #ff8a8a !important;
}

.pilot-aev-user-dropdown .dropdown-header {
    padding: 8px 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
}

.pilot-aev-user-dropdown .dropdown-divider {
    height: 1px;
    background: #4b4b4b;
    margin: 6px 0;
}

/* ─── BlueNova Sidebar ─── */
.main-sidebar.pilot-bnv-sidebar,
.main-sidebar.pilot-aev-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(180deg, #0a1628 0%, #081428 55%, #060e20 100%);
    border-right: 1px solid rgba(0, 207, 240, 0.12);
    z-index: 880;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    transition: width 0.25s ease, left 0.25s ease;
}

/* Desktop collapsed = narrow icon rail (AEE-style) */
body.pilot-aev-sidebar-collapsed .main-sidebar.pilot-bnv-sidebar,
body.pilot-aev-sidebar-collapsed .main-sidebar.pilot-aev-sidebar {
    width: 70px;
}

body.pilot-aev-sidebar-collapsed.pilot-aev-shell .pilot-main.main-content {
    padding-left: calc(var(--pilot-sidebar-width) + 30px);
}

body.pilot-aev-sidebar-collapsed.pilot-aev-shell .pilot-footer {
    margin-left: var(--pilot-sidebar-width);
}

body.pilot-aev-sidebar-collapsed.pilot-aev-shell .alert {
    margin-left: var(--pilot-sidebar-width);
}

body.pilot-aev-sidebar-collapsed .pilot-aev-topbar__center {
    padding-left: calc(var(--pilot-sidebar-width) + 12px);
}

body.pilot-aev-sidebar-collapsed .sidebar-brand {
    padding: 12px 8px;
}

body.pilot-aev-sidebar-collapsed .pilot-bnv-sidebar__logo,
body.pilot-aev-sidebar-collapsed .pilot-aev-sidebar__logo {
    max-height: 36px;
    padding: 4px 6px;
}

body.pilot-aev-sidebar-collapsed .main-sidebar-user {
    padding: 10px 0;
}

body.pilot-aev-sidebar-collapsed .nav-profile-image .pilot-bnv-avatar-img {
    float: none;
    margin: 0 auto;
    width: 44px;
    height: 44px;
}

body.pilot-aev-sidebar-collapsed .nav-profile-info,
body.pilot-aev-sidebar-collapsed .pilot-bnv-nav__label,
body.pilot-aev-sidebar-collapsed .pilot-bnv-nav__chev,
body.pilot-aev-sidebar-collapsed .sidebar-menu .menu-header,
body.pilot-aev-sidebar-collapsed .pilot-bnv-online-empty {
    display: none !important;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu > li > a.nav-link {
    justify-content: center;
    padding: 12px 0;
}

body.pilot-aev-sidebar-collapsed .pilot-bnv-nav__icon {
    margin-right: 0;
}

body.pilot-aev-sidebar-collapsed .pilot-bnv-online-item a {
    justify-content: center;
    font-size: 0;
    padding: 10px 0;
}

body.pilot-aev-sidebar-collapsed .pilot-bnv-online-dot {
    margin: 0;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu li.dropdown {
    position: relative;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu li.dropdown > ul.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    background: #0a1628;
    border: 1px solid rgba(0, 207, 240, 0.2);
    border-radius: 0 4px 4px 0;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.35);
    z-index: 900;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu li.dropdown > ul.dropdown-menu::before {
    content: attr(data-parent-label);
    display: block;
    padding: 10px 16px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00cff0;
    border-bottom: 1px solid rgba(0, 207, 240, 0.15);
}

body.pilot-aev-sidebar-collapsed .sidebar-menu > li:not(.dropdown):not(.menu-header):not(.pilot-bnv-online-empty) > a.nav-link[data-nav-label]::after {
    content: attr(data-nav-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    background: #0a1628;
    border: 1px solid rgba(0, 207, 240, 0.25);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 4px 0 14px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 910;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu > li:not(.dropdown):not(.menu-header):hover > a.nav-link[data-nav-label]::after {
    opacity: 1;
    visibility: visible;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu > li:not(.dropdown):not(.menu-header) > a.nav-link {
    position: relative;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu li.dropdown:hover > ul.dropdown-menu,
body.pilot-aev-sidebar-collapsed .sidebar-menu li.dropdown.active > ul.dropdown-menu {
    display: block !important;
}

body.pilot-aev-sidebar-collapsed .sidebar-menu ul.dropdown-menu li a.nav-link {
    justify-content: flex-start;
    padding: 10px 16px;
}

.pilot-aev-sidebar-toggle.is-active {
    color: #00cff0;
}

.sidebar-brand {
    padding: 16px 16px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 207, 240, 0.1);
}

.pilot-bnv-sidebar__logo,
.pilot-aev-sidebar__logo {
    max-width: 100%;
    max-height: 52px;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.main-sidebar-user { width: 100%; padding: 12px 10px; border-bottom: 1px solid rgba(0, 207, 240, 0.08); }

.nav-profile-image .pilot-bnv-avatar-img {
    width: 65px;
    height: 65px;
    margin: 5px 0 0 10px;
    border-radius: 50%;
    float: left;
    object-fit: cover;
    border: 2px solid rgba(0, 207, 240, 0.35);
    background: #0a1628;
    display: block;
}

.nav-profile-image .pilot-bnv-avatar,
.nav-profile-image .pilot-aev-avatar {
    width: 60px; height: 60px;
    margin: 4px 0 0 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fe8, #00cff0);
    border: 2px solid rgba(0, 207, 240, 0.35);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
    float: left;
}

.nav-profile-info { margin-left: 5rem; margin-top: 10px; }

.nav-profile-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: block;
}

.nav-profile-link {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}

.nav-profile-link .no-margin {
    color: #b8c8ce !important;
    margin-right: 14px !important;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.nav-profile-link .no-margin i {
    font-size: 14px;
    display: inline-block;
    width: 1em;
    text-align: center;
}

.nav-profile-link .no-margin:hover { color: #00cff0 !important; }

.pilot-bnv-logout-icon,
.pilot-aev-logout-icon { color: #ff6b6b !important; }

.sidebar-menu { list-style: none; margin: 0; padding: 0 0 16px; }

.sidebar-menu .menu-header {
    padding: 16px 20px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 207, 240, 0.45);
}

.sidebar-menu > li > a.nav-link {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 44px;
    padding: 10px 36px 10px 18px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

/* Font Awesome in sidebar (local bundle) */
.pilot-bnv-sidebar .fas,
.pilot-bnv-sidebar .far,
.pilot-bnv-sidebar .fab {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.pilot-bnv-sidebar .fas,
.pilot-bnv-sidebar .fa {
    font-weight: 900;
}

.pilot-bnv-sidebar .far {
    font-weight: 400;
}

.pilot-bnv-sidebar .fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

.pilot-bnv-nav__icon {
    width: 22px;
    flex-shrink: 0;
    margin-right: 14px;
    text-align: center;
    font-size: 15px;
    opacity: 0.95;
    display: inline-block;
}

.pilot-bnv-nav__icon--sub {
    width: 18px;
    margin-right: 10px;
    font-size: 13px;
    opacity: 0.85;
}

.sidebar-menu > li > a.nav-link > .pilot-bnv-nav__label { flex: 1; }

.pilot-bnv-nav__chev {
    margin-left: auto;
    font-size: 11px;
    opacity: 0.65;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sidebar-menu li.dropdown.active > a.has-dropdown .pilot-bnv-nav__chev {
    transform: rotate(180deg);
}

.sidebar-menu li.dropdown { position: relative; }
.sidebar-menu li.dropdown > a.has-dropdown { position: relative; width: 100%; }

.sidebar-menu > li > a.nav-link:hover,
.sidebar-menu > li.active > a.nav-link {
    background: rgba(26, 111, 232, 0.28);
    color: #fff;
}

.sidebar-menu > li.active > a.nav-link .pilot-bnv-nav__icon {
    color: #00cff0;
}

/* Accent: Rules (oranje) */
.pilot-bnv-nav__link--warn,
.pilot-bnv-nav__link--warn .pilot-bnv-nav__icon { color: #ffb020 !important; }
.pilot-bnv-nav__link--warn:hover { color: #ffc04d !important; }

/* Accent: How To (BlueNova cyan) */
.pilot-bnv-nav__link--help,
.pilot-bnv-nav__link--help .pilot-bnv-nav__icon { color: #00cff0 !important; }
.pilot-bnv-nav__link--help:hover { color: #5ce9ff !important; }

.sidebar-menu ul.dropdown-menu {
    list-style: none;
    margin: 0; padding: 4px 0 8px;
    display: none;
    background: rgba(4, 12, 28, 0.85);
    border-left: 2px solid rgba(0, 207, 240, 0.25);
    margin-left: 12px;
}

.sidebar-menu li.dropdown.active > ul.dropdown-menu { display: block; }

.sidebar-menu ul.dropdown-menu li a.nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    padding: 8px 16px 8px 14px;
    font-size: 12px;
    text-decoration: none;
    min-height: 36px;
}

.sidebar-menu ul.dropdown-menu li a.nav-link:hover,
.sidebar-menu ul.dropdown-menu li.active > a.nav-link {
    color: #00cff0;
    background: rgba(0, 207, 240, 0.08);
}

.pilot-bnv-flag-img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.pilot-bnv-online-item a,
.pilot-aev-online-item a {
    display: flex;
    align-items: center;
    padding: 5px 20px 5px 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    text-decoration: none;
}

.pilot-bnv-online-item a:hover { color: #00cff0; }

.pilot-bnv-online-dot,
.pilot-aev-online-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00cff0;
    box-shadow: 0 0 6px rgba(0, 207, 240, 0.6);
    margin-right: 8px;
    flex-shrink: 0;
}

.pilot-bnv-online-empty,
.pilot-aev-online-empty {
    padding: 4px 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    list-style: none;
}

.pilot-aev-dash .card {
    background: #303030;
    border-radius: 3px;
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.03);
}

.pilot-aev-dash .card-header {
    background: #4b4b4b;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pilot-aev-dash .card-header > i[class*="fa"] {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.pilot-aev-dash .card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    flex: 1 1 auto;
    min-width: 0;
}

.pilot-aev-dash .card-header .card-header-action {
    margin-left: auto;
    flex-shrink: 0;
}

.pilot-aev-dash .btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.pilot-aev-dash .btn-primary {
    background: #1a6fe8;
    color: #fff;
    border-color: #1a6fe8;
}

.pilot-aev-dash .btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.pilot-aev-dash .btn-sm { padding: 6px 12px; font-size: 12px; }

.pilot-aev-dash .card-header.bg-info { background: #3abaf4 !important; }
.pilot-aev-dash .card-header.bg-info h4 { color: #222; }

.pilot-aev-row { display: flex; flex-wrap: wrap; margin: 0 -10px 10px; }
.pilot-aev-col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; box-sizing: border-box; }
.pilot-aev-col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 10px; box-sizing: border-box; }
.pilot-aev-col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 10px; box-sizing: border-box; }

.card-statsfpm4, .card-statstime4, .card-statsflights4, .card-statsmoney4 {
    display: flex;
    flex-direction: column;
    padding: 10px 0 0;
    height: 132px;
    min-height: 132px;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: visible;
}

.card-statsfpm4 { background: #00c0ef; }
.card-statstime4 { background: #f39c11; }
.card-statsflights4 { background: #00a75a; }
.card-statsmoney4 { background: #dc4b38; }

.card-statsfpm2, .card-statstime2, .card-statsflights2, .card-statsmoney2 {
    position: relative;
    overflow: visible;
}

.card-statsfpm2 span:after, .card-statstime2 span:after,
.card-statsflights2 span:after, .card-statsmoney2 span:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 62px;
    position: absolute;
    top: -10px; right: 23px;
    color: #000;
    opacity: .15;
    z-index: 0;
    pointer-events: none;
}

.card-statsfpm2 span:after { content: "\f018"; font-size: 80px; top: -17px; }
.card-statstime2 span:after { content: "\f4fd"; }
.card-statsflights2 span:after { content: "\f072"; }
.card-statsmoney2 span:after { content: "\f51e"; }

.card-statsfpm3, .card-statstime3, .card-statsflights3, .card-statsmoney3 {
    font-size: 13px;
    margin-top: 0;
    min-height: 28px;
    line-height: 28px;
    text-align: center;
    color: #dedede;
    display: block;
    text-decoration: none;
}

.card-statsfpm4 > a:has([class$="3"]),
.card-statstime4 > a:has([class$="3"]),
.card-statsflights4 > a:has([class$="3"]),
.card-statsmoney4 > a:has([class$="3"]) {
    margin-top: auto;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.card-statsfpm4 > .pilot-aev-stat-num,
.card-statsfpm4 > .pilot-aev-stat-unit {
    display: inline;
    vertical-align: baseline;
    white-space: nowrap;
}

.card-statsfpm4 > .pilot-aev-stat-label {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.2;
}

.card-statsfpm4 > .pilot-aev-stat-unit {
    padding-left: 4px;
}

.card-statsfpm, .card-statstime, .card-statsflights, .card-statsmoney {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.card-statsfpm > strong,
.card-statstime > strong,
.card-statsflights > strong,
.card-statsmoney > strong {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-statsfpm4 > .pilot-aev-stat-num,
.card-statsfpm4 > .pilot-aev-stat-unit,
.card-statstime4 > .pilot-aev-stat-num,
.card-statstime4 > .pilot-aev-stat-unit,
.card-statsflights4 > .pilot-aev-stat-num,
.card-statsmoney4 > .pilot-aev-stat-num {
    position: relative;
    z-index: 1;
    padding-left: 12px;
}

.card-statsfpm3 { background: #01adda; }
.card-statstime3 { background: #da8c0e; }
.card-statsflights3 { background: #009550; }
.card-statsmoney3 { background: #c84333; }

.pilot-aev-stat-label {
    font-size: 16px;
    font-weight: 600;
    margin: 2px 0 0;
    padding-left: 12px;
    position: relative;
    z-index: 1;
}

.pilot-aev-stat-num {
    display: block;
    font-weight: 900;
    font-size: 30px;
    color: #222;
    text-decoration: none;
    line-height: 1.1;
}

.pilot-aev-stat-unit { font-weight: 900; font-size: 20px; color: #222; text-decoration: none; }

.pilot-aev-news-btn {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #c3c3c3;
    border-radius: 5px;
    background: #222;
    border: 0;
    box-shadow: 0 3px 4px #292929;
    padding: 10px 14px;
    text-decoration: none;
}

.pilot-aev-news-btn__date { float: right; font-size: 11px; color: #fff; }

.contact-item {
    color: #fff;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #3d3d3d;
    margin: 0 20px;
    padding: 6px 0;
}

.contact-item2 {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #3d3d3d;
    margin: 0 20px;
    text-align: center;
    padding: 6px 0;
}

.align-right { color: #00aad4; font-weight: 600; }

.profile-widget-name { font-size: 20px; color: #fff; text-align: center; margin: 8px 0 4px; }
.profile-widget-id { font-size: 14px; color: #b8c8ce; text-align: center; }
.profile-widget-header { margin-top: 16px; text-align: center; }

.pilot-aev-profile-pic {
    width: 140px; height: 140px;
    border-radius: 50%;
    border: 5px solid #4b4b4b;
    background: linear-gradient(135deg, #1a6fe8, #00cff0);
    display: inline-grid;
    place-items: center;
    font-size: 56px;
}

.media-progressbar00 { margin: 10px 20px 8px; }

.progress-text {
    color: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
}

.pilot-aev-progress-bar {
    height: 10px;
    background: #4b4b4b;
    border-radius: 4px;
    overflow: hidden;
}

.pilot-aev-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00c0ef, #01adda);
}

.pilot-aev-rank-badge {
    display: flex;
    justify-content: center;
    padding: 12px 8px 16px;
}

.pilot-rank-insignia {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.pilot-rank-insignia__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s ease;
}

.pilot-aev-rank-badge .pilot-rank-insignia:hover .pilot-rank-insignia__img,
.pilot-aev-ranks-ladder__card:hover .pilot-rank-insignia__img {
    transform: scale(1.02);
}

.pilot-rank-insignia--trainee .pilot-rank-insignia__img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
.pilot-rank-insignia--captain .pilot-rank-insignia__img {
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}
.pilot-rank-insignia--senior .pilot-rank-insignia__img {
    filter: drop-shadow(0 2px 6px rgba(167, 139, 250, 0.2));
}

.pilot-rank-insignia figcaption {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b9c8ce;
    text-align: center;
}

.pilot-rank-insignia--xs .pilot-rank-insignia__img { width: 72px; height: 21px; }
.pilot-rank-insignia--sm .pilot-rank-insignia__img { width: 96px; height: 28px; }
.pilot-rank-insignia--md .pilot-rank-insignia__img { width: 120px; height: 35px; }
.pilot-rank-insignia--lg .pilot-rank-insignia__img { width: 150px; height: 44px; }
.pilot-rank-insignia--xl .pilot-rank-insignia__img { width: 168px; height: 49px; }

.pilot-aev-rank-badge .pilot-rank-insignia {
    width: 100%;
    max-width: 138px;
}

.pilot-aev-rankings-page__rank-pill .pilot-rank-insignia,
.pilot-aev-pilots-page__rank-pill .pilot-rank-insignia {
    flex-shrink: 0;
}

.pilot-aev-rankings-page__rank-pill,
.pilot-aev-pilots-page__rank-pill,
.pilot-aev-charter__rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pilot-aev-ranks-ladder__card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pilot-aev-rankings-page__progress-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pilot-aev-ranks-ladder__summary-item strong.pilot-aev-rankings-page__rank-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pilot-aev-map-card {
    height: 465px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pilot-aev-map-card > .card-header {
    flex-shrink: 0;
}
.pilot-aev-map-card .card-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px !important;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.pilot-aev-map-card__frame {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #0a0a0a;
}
.pilot-aev-map-card iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.pilot-aev-row--profile-map {
    align-items: flex-start;
}

.pilot-aev-dash .pilot-aev-profile-card {
    height: 465px;
    min-height: 465px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pilot-aev-dash .pilot-aev-profile-card .profile-widget-header {
    flex-shrink: 0;
}

.pilot-aev-dash .pilot-aev-profile-card .profile-widget-name,
.pilot-aev-dash .pilot-aev-profile-card .profile-widget-id,
.pilot-aev-dash .pilot-aev-profile-card .profile-widget-description {
    flex-shrink: 0;
}

.pilot-aev-dash .pilot-aev-profile-card .pilot-aev-rank-badge {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin-top: auto;
    padding-top: 8px;
    padding-bottom: 14px;
}

.pilot-aev-stats-card { min-height: 465px; height: auto; }

.pilot-aev-stats-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pilot-aev-stats-card__live {
    margin-left: auto;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #34d399;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

[data-bn-stats-live].is-live .pilot-aev-stats-card__live {
    opacity: 1;
    animation: bnPulse 2s infinite;
}

.card-hover {
    background: #303030;
    border-radius: 5px;
    min-height: 70px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-hover:hover { background: linear-gradient(135deg, #1a6fe8, #0a3d7a); }
.card-hover a { text-decoration: none; }
.card-hover .pilot-aev-quick-title { font-size: 18px; display: block; }
.card-hover .pilot-aev-quick-sub { font-size: 12px; color: #b8c8ce; display: block; }

.pilot-aev-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pilot-aev-table th { background: #4b4b4b; color: #fff; padding: 10px 12px; font-size: 11px; text-transform: uppercase; }
.pilot-aev-table td { padding: 10px 12px; border-bottom: 1px solid #3d3d3d; color: #c3c3c3; }
.pilot-aev-table tbody tr:nth-child(even) { background: #282828; }

.text-success { color: #63ed7a !important; }

.pilot-aev-table__empty { text-align: center; color: #888; padding: 24px !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pilot-aev-dash-boards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 4px;
}

.pilot-aev-dash-boards__table-wrap {
    overflow-x: auto;
}

.pilot-aev-dash-flights-table {
    min-width: 980px;
}

.pilot-aev-dash-flights-table__icon-col {
    width: 34px;
    text-align: center;
}

.pilot-aev-dash-flights-table__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #1a6fe8;
}

.pilot-aev-dash-flights-table__type--c {
    background: #2563eb;
}

.pilot-aev-dash-flights-table__type--s {
    background: #0ea5e9;
}

.pilot-aev-dash-flights-table__pilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
    text-decoration: none;
}

.pilot-aev-dash-flights-table__pilot:hover {
    color: #fff;
}

.pilot-aev-dash-flights-table__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 28px;
    border: 1px solid #4b5563;
    background: #1f2937;
}

.pilot-aev-dash-flights-table__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilot-aev-dash-flights-table__airport,
.pilot-aev-dash-flights-table__aircraft,
.pilot-aev-dash-flights-table__duration,
.pilot-aev-dash-flights-table__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pilot-aev-dash-flights-table__airport-icon--dep {
    color: #f59e0b;
}

.pilot-aev-dash-flights-table__airport-icon--arr {
    color: #22c55e;
}

.pilot-aev-dash-flights-table__fpm {
    font-weight: 700;
}

.pilot-aev-dash-flights-table__fpm.is-great {
    color: #4ade80;
}

.pilot-aev-dash-flights-table__fpm.is-good {
    color: #7dd3fc;
}

.pilot-aev-dash-flights-table__fpm.is-warn {
    color: #fbbf24;
}

.pilot-aev-dash-flights-table__fpm.is-bad {
    color: #f87171;
}

.pilot-aev-dash-flights-table__approved {
    color: #22c55e;
    font-size: 16px;
}

.pilot-aev-dash-boards__widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pilot-aev-dash-widget .card-body {
    min-height: 220px;
    padding: 0;
}

.pilot-aev-dash-widget__event {
    display: block;
    padding: 18px;
    color: #d1d5db;
    text-decoration: none;
}

.pilot-aev-dash-widget__event:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-dash-widget__event strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 15px;
}

.pilot-aev-dash-widget__event p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
}

.pilot-aev-dash-widget__event time {
    font-size: 12px;
    color: #9ca3af;
}

.pilot-aev-dash-widget__placeholder {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(26, 111, 232, 0.18),
            rgba(26, 111, 232, 0.18) 12px,
            rgba(10, 61, 122, 0.28) 12px,
            rgba(10, 61, 122, 0.28) 24px
        ),
        linear-gradient(135deg, #0f2744, #123a6d);
}

.pilot-aev-dash-widget__placeholder--ivao {
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(34, 197, 94, 0.16),
            rgba(34, 197, 94, 0.16) 12px,
            rgba(20, 83, 45, 0.28) 12px,
            rgba(20, 83, 45, 0.28) 24px
        ),
        linear-gradient(135deg, #10261a, #14532d);
}

.pilot-aev-dash-widget__placeholder-brand {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.pilot-aev-dash-widget__placeholder strong {
    font-size: 18px;
    letter-spacing: 0.08em;
    color: #fff;
}

.pilot-aev-dash-landings-table td,
.pilot-aev-dash-landings-table th {
    padding: 10px 14px;
}

@media (max-width: 1100px) {
    .pilot-aev-dash-boards__widgets {
        grid-template-columns: 1fr;
    }

    .pilot-aev-dash-community__top,
    .pilot-aev-dash-community__bottom {
        grid-template-columns: 1fr;
    }
}

.pilot-aev-dash-community {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.pilot-aev-dash-community__top,
.pilot-aev-dash-community__bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pilot-aev-dash-community__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pilot-aev-dash-community__empty {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: #9ca3af;
}

.pilot-aev-dash-top-pilot .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 260px;
    text-align: center;
}

.pilot-aev-dash-top-pilot__name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
}

.pilot-aev-dash-top-pilot__name .fa-star {
    color: #fbbf24;
    font-size: 12px;
}

.pilot-aev-dash-top-pilot__avatar {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #374151;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.pilot-aev-dash-top-pilot__avatar:hover {
    border-color: #3abaf4;
    transform: scale(1.03);
}

.pilot-aev-dash-top-pilot__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilot-aev-dash-top-pilot__miles {
    margin: 0;
    font-size: 14px;
    color: #d1d5db;
}

.pilot-aev-dash-newest-table__pilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
    text-decoration: none;
}

.pilot-aev-dash-newest-table__pilot:hover {
    color: #fff;
}

.pilot-aev-dash-newest-table td:last-child,
.pilot-aev-dash-newest-table th:last-child {
    white-space: nowrap;
}

.pilot-aev-dash-vatsim-cal__body {
    min-height: 260px;
    padding: 0;
}

.pilot-aev-dash-vatsim-cal__body iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
    background: #fff;
}

.pilot-aev-dash-vatsim-cal__fallback {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}

.pilot-aev-dash-vatsim-cal__fallback p {
    margin: 0;
    color: #9ca3af;
    max-width: 28rem;
    line-height: 1.5;
}

.pilot-aev-dash-booked__empty {
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 22px 24px;
    color: #fff;
}

.pilot-aev-dash-booked__empty strong {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

.pilot-aev-dash-booked__empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.pilot-aev-dash-booked__empty a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.pilot-aev-dash-booked-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.pilot-aev-dash-partners,
.pilot-aev-dash-networks {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 24px;
}

.pilot-aev-dash-partners__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 72px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--partner-a), var(--partner-b));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pilot-aev-dash-partners__logo span {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
}

.pilot-aev-dash-networks__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #111827;
    border: 1px solid #374151;
}

.pilot-aev-dash-networks__logo img {
    display: block;
    max-width: 160px;
    height: auto;
}

body.acars-embed .vatsim-overlay { display: none !important; }

@media (max-width: 1100px) {
    .pilot-aev-col-3, .pilot-aev-col-6 { flex: 0 0 100%; max-width: 100%; }

    .main-sidebar.pilot-bnv-sidebar,
    .main-sidebar.pilot-aev-sidebar {
        left: -250px;
        transition: left 0.25s ease, width 0.25s ease;
        z-index: 900;
    }

    body.pilot-aev-sidebar-open .main-sidebar.pilot-bnv-sidebar,
    body.pilot-aev-sidebar-open .main-sidebar.pilot-aev-sidebar { left: 0; }

    body.pilot-aev-sidebar-collapsed .main-sidebar.pilot-bnv-sidebar,
    body.pilot-aev-sidebar-collapsed .main-sidebar.pilot-aev-sidebar {
        width: 250px;
        left: -250px;
    }

    body.pilot-aev-sidebar-open.pilot-aev-sidebar-collapsed .main-sidebar.pilot-bnv-sidebar,
    body.pilot-aev-sidebar-open.pilot-aev-sidebar-collapsed .main-sidebar.pilot-aev-sidebar { left: 0; }

    body.pilot-aev-shell .pilot-main.main-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.pilot-aev-sidebar-collapsed.pilot-aev-shell .pilot-main.main-content { padding-left: 20px; }

    body.pilot-aev-shell .pilot-footer,
    body.pilot-aev-sidebar-collapsed.pilot-aev-shell .pilot-footer {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.pilot-aev-shell .alert,
    body.pilot-aev-sidebar-collapsed.pilot-aev-shell .alert { margin-left: 0; }

    .pilot-aev-navbar { padding: 12px 16px; gap: 8px; }

    .pilot-aev-topbar__center {
        margin-left: 0;
        padding-left: 12px;
        padding-right: 8px;
    }

    body.pilot-aev-sidebar-collapsed .pilot-aev-topbar__center { padding-left: 12px; }
}

/* ─── Profile page ─── */
.pilot-aev-profile-pic-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #4b4b4b;
    object-fit: cover;
    display: inline-block;
}

.pilot-aev-profile-card .pilot-aev-profile-actions {
    padding: 16px 20px 20px;
    text-align: center;
}

.pilot-aev-btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a6fe8;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.pilot-aev-btn-edit:hover { background: #1558c0; color: #fff; }

.pilot-aev-profile-stats { height: auto; min-height: 320px; }

.pilot-aev-muted { color: #888; font-size: 14px; margin: 0; }

.pilot-aev-awards-list { padding: 12px 16px; }

.pilot-aev-award-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
}

.pilot-aev-award-item i { color: #f39c11; }

.pilot-aev-alert {
    background: #8b4513;
    color: #fff;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.pilot-aev-alert--center { text-align: center; }

.pilot-aev-items-purchased {
    text-align: center;
    padding: 20px;
    min-height: 120px;
}

.pilot-aev-uniform-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.45), rgba(36, 61, 143, 0.25));
    border: 1px solid #3d3d3d;
    display: grid;
    place-items: center;
    color: #3abaf4;
    font-size: 48px;
}

.pilot-aev-items-empty { margin-top: 8px; }

.pilot-aev-profile .pilot-aev-map-card { height: 400px; }

/* ─── Edit profile / password forms ─── */
.pilot-aev-form-page .card { max-width: 100%; }

.pilot-aev-form-page--narrow .card { max-width: 560px; margin: 0 auto; }

.pilot-aev-account {
    max-width: 960px;
    margin: 0 auto;
}

.pilot-aev-account--narrow {
    max-width: 640px;
}

.pilot-aev-account__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #0d1f4a 0%, #1a3a6e 100%);
    border: 1px solid rgba(26, 111, 232, 0.35);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.pilot-aev-account__hero-main {
    min-width: 0;
}

.pilot-aev-account__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #9ed8f7;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-account__back:hover {
    color: #fff;
}

.pilot-aev-account__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.pilot-aev-account__sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    max-width: 36rem;
}

.pilot-aev-account__hero-btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

.pilot-aev-account__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pilot-aev-account__panel {
    background: #2e2e2e;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
}

.pilot-aev-account__panel-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #262626;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-account__panel-head > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(26, 111, 232, 0.18);
    color: #5eb3ff;
    font-size: 16px;
    flex-shrink: 0;
}

.pilot-aev-account__panel-head h2 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.pilot-aev-account__panel-head p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #9ca3af;
}

.pilot-aev-account__panel > .pilot-aev-account__grid,
.pilot-aev-account__panel > .pilot-aev-account__avatar-row {
    padding: 20px;
}

.pilot-aev-account__grid {
    display: grid;
    gap: 16px 18px;
}

.pilot-aev-account__grid--1 { grid-template-columns: 1fr; }
.pilot-aev-account__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pilot-aev-account__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pilot-aev-account__avatar-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pilot-aev-account__avatar-preview {
    position: relative;
    flex-shrink: 0;
}

.pilot-aev-account__avatar-preview img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(26, 111, 232, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    display: block;
}

.pilot-aev-account__avatar-badge {
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 999px;
    background: #1a6fe8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pilot-aev-account__avatar-upload {
    flex: 1;
    min-width: 220px;
}

.pilot-aev-account__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.pilot-aev-account__file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 6px;
    background: #1a6fe8;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pilot-aev-account__file-label:hover {
    background: #1558c0;
}

.pilot-aev-account__hint {
    margin: 12px 0 0;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.45;
}

.pilot-aev-account__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
}

.pilot-aev-account__airmail {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.01em;
}

.pilot-aev-account__panel--danger {
    border: 1px solid rgba(220, 75, 56, 0.28);
}

.pilot-aev-account__status-body {
    padding: 20px;
    display: grid;
    gap: 18px;
}

.pilot-aev-account__status-note {
    margin: 0;
    color: #fcd34d;
    font-size: 14px;
    line-height: 1.5;
}

.pilot-aev-account__status-form,
.pilot-aev-account__delete-form {
    display: grid;
    gap: 12px;
}

.pilot-aev-account__delete-btn {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.pilot-aev-account__delete-btn:hover {
    background: #a93226;
    border-color: #a93226;
    color: #fff;
}

.pilot-aev-account-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 10px 16px;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
}

.pilot-aev-account-banner strong {
    display: block;
    color: #fcd34d;
    margin-bottom: 4px;
}

.pilot-aev-account-banner p {
    margin: 0;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.45;
}

.pilot-aev-profile__airmail {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.pilot-aev-messages-page__field-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

.pilot-aev-password-wrap {
    position: relative;
}

.pilot-aev-password-wrap input {
    padding-right: 44px;
}

.pilot-aev-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.pilot-aev-password-toggle:hover,
.pilot-aev-password-toggle.is-visible {
    color: #5eb3ff;
    background: rgba(26, 111, 232, 0.12);
}

.pilot-aev-form-header h4 { margin: 0; font-size: 16px; }

.pilot-aev-form-header i { color: #f39c11; margin-right: 4px; }

.pilot-aev-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
    margin-top: 20px;
}

.pilot-aev-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pilot-aev-field input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #4b5563;
    border-radius: 6px;
    color: #f3f4f6;
    padding: 11px 12px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pilot-aev-field select {
    width: 100%;
}

.pilot-aev-field input::placeholder {
    color: #6b7280;
}

.pilot-aev-field input.is-readonly,
.pilot-aev-field input[readonly] {
    opacity: 0.65;
    cursor: not-allowed;
    background: #141414;
}

.pilot-aev-field input:focus {
    outline: none;
    border-color: #1a6fe8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, 0.2);
}

.pilot-aev-field select:focus {
    outline: none;
}

.pilot-aev-field--empty { visibility: hidden; }

.pilot-aev-avatar-block {
    padding-bottom: 20px;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 8px;
}

.pilot-aev-avatar-hint { font-size: 12px; color: #888; margin: 8px 0 16px; }

.pilot-aev-form-actions {
    text-align: center;
    padding: 24px 0 8px;
}

.pilot-aev-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a6fe8;
    border: none;
    padding: 11px 22px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.pilot-aev-btn-save:hover { background: #1558c0; color: #fff; }

.pilot-aev-form--password .pilot-aev-field { margin-bottom: 16px; }

.pilot-aev-icon-ivao,
.pilot-aev-icon-vatsim,
.pilot-aev-icon-callsign {
    font-style: normal;
    font-weight: 700;
    font-family: inherit;
}

@media (max-width: 900px) {
    .pilot-aev-account__grid--2,
    .pilot-aev-account__grid--3 {
        grid-template-columns: 1fr;
    }

    .pilot-aev-account__hero {
        flex-direction: column;
    }

    .pilot-aev-account__hero-btn {
        align-self: flex-start;
    }

    .pilot-aev-account__footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pilot-aev-account__footer .btn,
    .pilot-aev-account__footer .pilot-aev-btn-save {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1100px) {
    .pilot-aev-form-grid { grid-template-columns: 1fr; }
    .pilot-aev-field--empty { display: none; }
}

/* ─── Downloads hub (v2) ─── */
.pilot-aev-downloads-page { max-width: 100%; }
.pilot-aev-downloads-page .card { background: #303030; border: none; border-radius: 0 0 4px 4px; box-shadow: none; margin-bottom: 12px; overflow: hidden; }
.pilot-aev-downloads-page .card-body { background: #303030; color: #c3c3c3; }

.pilot-aev-downloads-page__header {
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    margin-bottom: 12px; padding: 12px 14px; background: #262626; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-downloads-page__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.pilot-aev-downloads-page__stat {
    min-width: 82px; padding: 8px 10px; background: #1f1f1f; border: 1px solid #3d3d3d;
    border-radius: 4px; text-align: center;
}
.pilot-aev-downloads-page__stat--locked { border-color: rgba(245, 158, 11, 0.35); background: rgba(120, 53, 15, 0.2); }
.pilot-aev-downloads-page__stat span { display: block; font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pilot-aev-downloads-page__stat strong { display: block; color: #fff; font-size: 17px; line-height: 1; }

.pilot-aev-downloads-page__search {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px;
    background: #1f1f1f; border: 1px solid #3d3d3d; border-radius: 4px; min-width: 260px;
}
.pilot-aev-downloads-page__search i { color: #888; font-size: 12px; }
.pilot-aev-downloads-page__search input {
    flex: 1; min-width: 0; border: none; background: transparent; color: #fff; font-size: 13px; outline: none;
}
.pilot-aev-downloads-page__search-btn {
    padding: 6px 10px; border: none; border-radius: 3px; background: #1a2e78; color: #fff;
    font-size: 11px; font-weight: 600; cursor: pointer;
}
.pilot-aev-downloads-page__search-btn:hover { background: #243d8f; }

.pilot-aev-downloads-page__banner {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 12px 14px;
    background: rgba(120, 53, 15, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 4px;
}
.pilot-aev-downloads-page__banner i { color: #f59e0b; margin-top: 2px; }
.pilot-aev-downloads-page__banner p { margin: 0; font-size: 13px; color: #d6d6d6; }
.pilot-aev-downloads-page__banner a { color: #3abaf4; font-weight: 600; margin-left: 4px; }

.pilot-aev-downloads-page__intro {
    display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
    margin-bottom: 12px; padding: 16px; background: linear-gradient(135deg, rgba(26, 46, 120, 0.35), rgba(36, 61, 143, 0.15));
    border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-downloads-page__intro-visual img { display: block; max-width: 140px; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4)); }
.pilot-aev-downloads-page__intro h2 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.pilot-aev-downloads-page__intro p { margin: 0; color: #b8c8ce; font-size: 13px; line-height: 1.5; }

.pilot-aev-downloads-page__category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 12px;
}
.pilot-aev-downloads-page__category-card {
    display: flex; flex-direction: column; gap: 12px; padding: 14px;
    background: #303030; border: 1px solid #3d3d3d; border-radius: 4px; text-decoration: none; color: inherit;
    transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.pilot-aev-downloads-page__category-card:hover {
    border-color: #3abaf4; background: #343434; transform: translateY(-2px); color: inherit;
}
.pilot-aev-downloads-page__category-card--aircrafts { border-top: 3px solid #3abaf4; }
.pilot-aev-downloads-page__category-card--airports { border-top: 3px solid #22c55e; }
.pilot-aev-downloads-page__category-card--liveries { border-top: 3px solid #a78bfa; }
.pilot-aev-downloads-page__category-card--smartcars { border-top: 3px solid #f59e0b; }
.pilot-aev-downloads-page__category-icon {
    width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
    background: #1f1f1f; border: 1px solid #3d3d3d; color: #3abaf4; font-size: 16px;
}
.pilot-aev-downloads-page__category-card--airports .pilot-aev-downloads-page__category-icon { color: #22c55e; }
.pilot-aev-downloads-page__category-card--liveries .pilot-aev-downloads-page__category-icon { color: #a78bfa; }
.pilot-aev-downloads-page__category-card--smartcars .pilot-aev-downloads-page__category-icon { color: #f59e0b; }
.pilot-aev-downloads-page__category-label { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pilot-aev-downloads-page__category-body p { margin: 0; font-size: 12px; color: #9a9a9a; line-height: 1.45; }
.pilot-aev-downloads-page__category-preview { display: block; margin-top: 8px; font-size: 11px; color: #3abaf4; font-weight: 600; }
.pilot-aev-downloads-page__category-foot {
    display: flex; align-items: center; justify-content: space-between; margin-top: auto;
    padding-top: 10px; border-top: 1px solid #3d3d3d;
}
.pilot-aev-downloads-page__category-count { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.04em; }
.pilot-aev-downloads-page__category-arrow { color: #3abaf4; font-size: 12px; }

.pilot-aev-downloads-page__crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
    font-size: 12px; color: #888;
}
.pilot-aev-downloads-page__crumb a { color: #3abaf4; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pilot-aev-downloads-page__crumb a:hover { color: #9ed8f7; }
.pilot-aev-downloads-page__crumb span:last-child { color: #fff; font-weight: 600; }

.pilot-aev-downloads-page__cat-head {
    display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
    margin-bottom: 12px; padding: 14px; background: #262626; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-downloads-page__cat-icon {
    width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
    background: #1a2e78; color: #fff; font-size: 18px;
}
.pilot-aev-downloads-page__cat-head h2 { margin: 0 0 4px; color: #fff; font-size: 17px; }
.pilot-aev-downloads-page__cat-head p { margin: 0; color: #9a9a9a; font-size: 12px; }
.pilot-aev-downloads-page__cat-count {
    min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px;
    background: #1a2e78; color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center;
}

.pilot-aev-downloads-page__file-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 12px;
}
.pilot-aev-downloads-page__file-card {
    display: flex; flex-direction: column; gap: 10px; padding: 14px;
    background: #303030; border: 1px solid #3d3d3d; border-radius: 4px; min-height: 180px;
}
.pilot-aev-downloads-page__file-card.is-locked { opacity: 0.82; }
.pilot-aev-downloads-page__file-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pilot-aev-downloads-page__file-icon {
    width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
    background: #1f1f1f; border: 1px solid #3d3d3d; color: #3abaf4; font-size: 14px;
}
.pilot-aev-downloads-page__file-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pilot-aev-downloads-page__badge {
    padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase;
    border: 1px solid #3d3d3d; background: #1a1a1a; color: #b8c8ce;
}
.pilot-aev-downloads-page__badge--members { border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }
.pilot-aev-downloads-page__badge--external { border-color: rgba(58, 186, 244, 0.35); color: #9ed8f7; }
.pilot-aev-downloads-page__file-card h3 { margin: 0; color: #fff; font-size: 14px; line-height: 1.3; }
.pilot-aev-downloads-page__file-card p { margin: 0; flex: 1; font-size: 12px; color: #9a9a9a; line-height: 1.45; }
.pilot-aev-downloads-page__file-actions { margin-top: auto; }
.pilot-aev-downloads-page__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 10px 12px; border-radius: 4px; background: #1a2e78; border: 1px solid #3abaf4;
    color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; transition: background 0.15s;
}
.pilot-aev-downloads-page__btn:hover { background: #243d8f; color: #fff; }
.pilot-aev-downloads-page__btn--locked { background: #2a2a2a; border-color: #3d3d3d; color: #b8c8ce; }
.pilot-aev-downloads-page__btn--locked:hover { background: #333; color: #fff; }

.pilot-aev-downloads-page__back-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px;
}
.pilot-aev-downloads-page__back,
.pilot-aev-downloads-page__reset {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-decoration: none;
}
.pilot-aev-downloads-page__back { color: #3abaf4; }
.pilot-aev-downloads-page__back:hover { color: #9ed8f7; }
.pilot-aev-downloads-page__reset { color: #888; }
.pilot-aev-downloads-page__reset:hover { color: #fff; }
.pilot-aev-downloads-page__empty { margin: 0; padding: 32px 16px; text-align: center; color: #888; font-size: 14px; }

.pilot-aev-downloads-page__panel-head {
    background: #2a2a2a !important; padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d; margin-bottom: 0 !important;
}
.pilot-aev-downloads-page__panel-head h2 { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.pilot-aev-downloads-page__quick-list { padding: 0 !important; }
.pilot-aev-downloads-page__quick-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-bottom: 1px solid #3d3d3d; background: #1f1f1f;
}
.pilot-aev-downloads-page__quick-item:nth-child(even) { background: #282828; }
.pilot-aev-downloads-page__quick-item.is-locked { opacity: 0.75; }
.pilot-aev-downloads-page__quick-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pilot-aev-downloads-page__quick-main i { color: #3abaf4; width: 18px; text-align: center; }
.pilot-aev-downloads-page__quick-main strong { display: block; color: #fff; font-size: 13px; line-height: 1.2; }
.pilot-aev-downloads-page__quick-main span { display: block; color: #888; font-size: 11px; margin-top: 2px; }
.pilot-aev-downloads-page__quick-btn {
    width: 36px; height: 36px; border-radius: 4px; display: grid; place-items: center;
    background: #1a2e78; border: 1px solid #3abaf4; color: #fff; text-decoration: none; flex-shrink: 0;
}
.pilot-aev-downloads-page__quick-btn:hover { background: #243d8f; color: #fff; }
.pilot-aev-downloads-page__quick-btn.is-locked { background: #2a2a2a; border-color: #3d3d3d; color: #888; }

@media (max-width: 900px) {
    .pilot-aev-downloads-page__header { grid-template-columns: 1fr; }
    .pilot-aev-downloads-page__search { width: 100%; min-width: 0; }
    .pilot-aev-downloads-page__intro { grid-template-columns: 1fr; text-align: center; }
    .pilot-aev-downloads-page__intro-visual { justify-self: center; }
    .pilot-aev-downloads-page__cat-head { grid-template-columns: auto 1fr; }
    .pilot-aev-downloads-page__cat-count { grid-column: 1 / -1; justify-self: start; }
}

/* ─── Downloads hub (legacy) ─── */
.pilot-aev-downloads {
    max-width: 520px;
    margin: 40px auto 60px;
    text-align: center;
    padding: 0 20px;
}

.pilot-aev-downloads__hero {
    margin-bottom: 36px;
}

.pilot-aev-downloads__hero img {
    display: inline-block;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.pilot-aev-downloads__banner {
    font-size: 13px;
    color: #98a6ad;
    margin: 0 0 20px;
}

.pilot-aev-downloads__banner a {
    color: #00cff0;
    margin-left: 6px;
}

.pilot-aev-downloads__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.pilot-aev-downloads__btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    box-sizing: border-box;
}

.pilot-aev-downloads__btn:hover {
    background: #353535;
    border-color: #4a4a4a;
    color: #fff;
}

.pilot-aev-downloads__btn--back {
    font-size: 14px;
    background: #222;
}

.pilot-aev-downloads__btn--locked {
    opacity: 0.55;
    cursor: not-allowed;
}

.pilot-aev-downloads__cat-title {
    margin: 8px 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-downloads__empty {
    color: #888;
    font-size: 14px;
    margin: 12px 0 0;
}

body.pilot-aev-shell .pilot-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
}

body.pilot-aev-shell .pilot-footer__disclaimer--aev p,
body.pilot-aev-shell .pilot-footer__powered {
    margin: 0;
    font-size: 12px;
    color: #98a6ad;
}

body.pilot-aev-shell .pilot-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─── Weather (AEV + Windy) ─── */
.pilot-aev-weather {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 40px;
}

.pilot-aev-weather__intro h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-weather__intro p {
    margin: 0 0 28px;
    font-size: 13px;
    line-height: 1.6;
    color: #b8c8ce;
    max-width: 960px;
}

.pilot-aev-weather__search-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 24px;
    background: #303030;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #3d3d3d;
}

.pilot-aev-weather__search-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2a2a2a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-weather__search-head i { color: #f39c11; }

.pilot-aev-weather__search-form {
    display: flex;
    align-items: stretch;
    padding: 14px;
    gap: 0;
}

.pilot-aev-weather__search-form input {
    flex: 1;
    min-width: 0;
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    padding: 12px 14px;
    font-size: 14px;
}

.pilot-aev-weather__search-form input:focus {
    outline: none;
    border-color: #1a6fe8;
}

.pilot-aev-weather__search-form button {
    width: 48px;
    flex-shrink: 0;
    background: #1a6fe8;
    border: 1px solid #1a6fe8;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.pilot-aev-weather__search-form button:hover { background: #1558c0; }

.pilot-aev-weather__panel {
    width: 100%;
    max-width: none;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
}

.pilot-aev-weather__panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #2a2a2a;
    border-bottom: 3px solid #f39c11;
}

.pilot-aev-weather__panel-head i { color: #f39c11; font-size: 18px; }

.pilot-aev-weather__panel-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-weather__panel-body {
    display: grid;
    grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 480px;
}

.pilot-aev-weather__data {
    padding: 16px 20px;
    border-right: 1px solid #3d3d3d;
    background: #2c2624;
}

.pilot-aev-weather__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.pilot-aev-weather__row:last-of-type { border-bottom: none; }

.pilot-aev-weather__label {
    color: #fff;
    font-weight: 500;
    flex-shrink: 0;
}

.pilot-aev-weather__value {
    color: #f39c11;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.pilot-aev-weather__note {
    margin: 14px 0 0;
    font-size: 11px;
    color: #888;
    line-height: 1.4;
}

.pilot-aev-weather__map {
    position: relative;
    min-height: 480px;
    height: 100%;
    background: #1a1a1a;
}

.pilot-aev-weather__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    display: block;
}

@media (max-width: 900px) {
    .pilot-aev-weather__panel-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .pilot-aev-weather__data {
        border-right: none;
        border-bottom: 1px solid #3d3d3d;
    }
    .pilot-aev-weather__map {
        min-height: 360px;
        height: 360px;
    }
    .pilot-aev-weather__map iframe {
        position: relative;
        min-height: 360px;
    }
}

/* ─── Schedules (AEV + map) ─── */
.pilot-aev-schedules {
    display: grid;
    grid-template-columns: minmax(280px, 320px) 1fr;
    grid-template-areas:
        "sidebar map"
        "results results";
    gap: 12px;
    align-items: start;
}

.pilot-aev-schedules__sidebar {
    grid-area: sidebar;
}

.pilot-aev-schedules__map-card {
    grid-area: map;
    min-height: 0;
}

.pilot-aev-schedules__results-card {
    grid-area: results;
}

.pilot-aev-schedules .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 0;
    overflow: hidden;
}

.pilot-aev-schedules .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-schedules__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-schedules__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-schedules__map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-schedules__network-badge {
    font-size: 11px;
    font-weight: 600;
    color: #9ec9e8;
    background: rgba(58, 186, 244, 0.12);
    border: 1px solid rgba(58, 186, 244, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pilot-aev-schedules__panel-body {
    padding: 14px !important;
}

.pilot-aev-schedules__hub-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1a2e78 0%, #243d8f 100%);
    border-radius: 4px;
    border: 1px solid rgba(58, 186, 244, 0.2);
}

.pilot-aev-schedules__hub-flag {
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.pilot-aev-schedules__hub-card strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

.pilot-aev-schedules__hub-card > div > span {
    display: block;
    color: #b8c8e8;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
}

.pilot-aev-schedules__hub-count {
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-schedules__hub-count,
.pilot-aev-charter__panel-count,
.pilot-aev-ranks__panel-count,
.pilot-aev-rankings-page__panel-count,
.pilot-aev-pilots-page__panel-count,
.pilot-aev-airports-page__panel-count {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-schedules__quick-hubs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.pilot-aev-schedules__hub-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 5px 10px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pilot-aev-schedules__hub-pill:hover {
    background: #2a2a2a;
    color: #fff;
    border-color: #4a4a4a;
}

.pilot-aev-schedules__hub-pill.is-active {
    background: #1a2e78;
    border-color: #3abaf4;
    color: #fff;
}

.pilot-aev-schedules__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pilot-aev-schedules__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pilot-aev-schedules__field--full {
    grid-column: 1 / -1;
}

.pilot-aev-schedules__field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--bn-select-label, #8ba3c7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pilot-aev-schedules__field select {
    width: 100%;
}

.pilot-aev-schedules__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.pilot-aev-schedules__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
}

.pilot-aev-schedules__btn--primary {
    background: #1a2e78;
    color: #fff;
}

.pilot-aev-schedules__btn--primary:hover {
    background: #152562;
    color: #fff;
}

.pilot-aev-schedules__btn--ghost {
    background: transparent;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    white-space: nowrap;
}

.pilot-aev-schedules__btn--ghost:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-schedules__jumpseat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #3d3d3d;
}

.pilot-aev-schedules__jumpseat strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.pilot-aev-schedules__jumpseat span {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-schedules__jumpseat-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    background: #3abaf4;
    color: #1a1a1a;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pilot-aev-schedules__jumpseat-btn:hover {
    background: #2ea8e0;
    color: #111;
}

.pilot-aev-schedules__map-wrap {
    padding: 0 !important;
}

.pilot-aev-schedules__map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 8px 14px;
    font-size: 11px;
    color: #9a9a9a;
    background: #262626;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-schedules__map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pilot-aev-schedules__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pilot-aev-schedules__dot--hub { background: #00a75a; }
.pilot-aev-schedules__dot--route { background: #1a6fe8; }
.pilot-aev-schedules__dot--network { background: rgba(120, 150, 190, 0.55); }

.pilot-aev-schedules__map-wrap iframe {
    width: 100%;
    height: min(62vh, 520px);
    min-height: 360px;
    border: none;
    display: block;
}

.pilot-aev-schedules__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-schedules__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #1f1f1f;
}

.pilot-aev-schedules__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
    font-size: 12px;
}

.pilot-aev-schedules__table td {
    padding: 12px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    vertical-align: middle;
    background: #1f1f1f;
}

.pilot-aev-schedules__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-schedules__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-schedules__flight {
    min-width: 110px;
}

.pilot-aev-schedules__flight strong {
    display: block;
    color: #fff;
    margin-top: 4px;
}

.pilot-aev-schedules__airport {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.pilot-aev-schedules__flag {
    flex-shrink: 0;
    border-radius: 2px;
}

.pilot-aev-schedules__airport strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-schedules__airport small {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-schedules__stopover-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: #c3c3c3;
    cursor: pointer;
}

.pilot-aev-schedules__stopover-filter input {
    accent-color: #3abaf4;
}

.pilot-aev-schedules__row--stopover td {
    background: rgba(26, 46, 120, 0.12) !important;
}

.pilot-aev-schedules__stop-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pilot-aev-schedules__route-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 220px;
}

.pilot-aev-schedules__route-arrow {
    color: #3abaf4;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.pilot-aev-schedules__route-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-schedules__route-node--via {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.08);
}

.pilot-aev-schedules__route-node strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.pilot-aev-schedules__route-node small {
    display: block;
    color: #888;
    font-size: 10px;
    margin-top: 1px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pilot-aev-schedules__route-node em {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: #fbbf24;
}

.pilot-aev-schedules__aircraft {
    white-space: nowrap;
    font-weight: 600;
    color: #e0e0e0;
}

.pilot-aev-schedules__book-cell {
    text-align: right;
    white-space: nowrap;
}

.pilot-aev-schedules__book-btn {
    display: inline-block;
    padding: 7px 14px;
    background: #1a2e78;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-schedules__book-btn:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-schedules__empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .pilot-aev-schedules {
        grid-template-columns: 1fr;
        grid-template-areas:
            "sidebar"
            "map"
            "results";
    }

    .pilot-aev-schedules__form-grid {
        grid-template-columns: 1fr;
    }

    .pilot-aev-schedules__field--full {
        grid-column: auto;
    }

    .pilot-aev-schedules__map-wrap iframe {
        height: 380px;
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .pilot-aev-schedules__jumpseat {
        flex-direction: column;
        align-items: flex-start;
    }

    .pilot-aev-schedules__actions {
        grid-template-columns: 1fr;
    }

    .pilot-aev-schedules__map-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ─── Charter (AEV) ─── */
.pilot-aev-charter {
    max-width: 100%;
}

.pilot-aev-charter .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 0;
    overflow: hidden;
}

.pilot-aev-charter .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-charter__header {
    margin-bottom: 12px;
}

.pilot-aev-charter__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.pilot-aev-charter__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 14px;
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    border-right: none;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.pilot-aev-charter__tab:last-child {
    border-right: 1px solid #3d3d3d;
}

.pilot-aev-charter__tab.is-active {
    background: #1a2e78;
    border-color: #1a2e78;
    box-shadow: inset 0 -3px 0 #3abaf4;
}

.pilot-aev-charter__tab-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.pilot-aev-charter__tab-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pilot-aev-charter__tab-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.pilot-aev-charter__tab-sub {
    font-size: 10px;
    color: #9aabb3;
    margin-top: 2px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pilot-aev-charter__tab.is-active .pilot-aev-charter__tab-sub {
    color: #c8d8e8;
}

.pilot-aev-charter__tab--red .pilot-aev-charter__tab-icon { color: #ff6b6b; }
.pilot-aev-charter__tab--cyan .pilot-aev-charter__tab-icon { color: #3abaf4; }
.pilot-aev-charter__tab--orange .pilot-aev-charter__tab-icon { color: #f39c11; }
.pilot-aev-charter__tab--green .pilot-aev-charter__tab-icon { color: #63ed7a; }

.pilot-aev-charter__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-top: none;
}

.pilot-aev-charter__count-badge,
.pilot-aev-charter__rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pilot-aev-charter__count-badge {
    color: #9ec9e8;
    background: rgba(58, 186, 244, 0.12);
    border: 1px solid rgba(58, 186, 244, 0.25);
}

.pilot-aev-charter__rank-badge {
    color: #e0e0e0;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
}

.pilot-aev-charter__aircraft-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.pilot-aev-charter__chip {
    padding: 4px 8px;
    border-radius: 3px;
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
    color: #b8c8ce;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pilot-aev-charter__detail-card {
    margin-bottom: 12px;
}

.pilot-aev-charter__detail-card .card-body {
    padding: 16px !important;
}

.pilot-aev-charter__detail-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pilot-aev-charter__detail-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 4px;
}

.pilot-aev-charter__detail-top h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.pilot-aev-charter__detail-close {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    text-decoration: none;
}

.pilot-aev-charter__detail-close:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-charter__route-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #1a2e78 0%, #243d8f 100%);
    border-radius: 4px;
    border: 1px solid rgba(58, 186, 244, 0.2);
}

.pilot-aev-charter__route-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.pilot-aev-charter__route-point img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.pilot-aev-charter__route-point strong {
    color: #fff;
    font-size: 16px;
}

.pilot-aev-charter__route-point span {
    color: #b8c8e8;
    font-size: 11px;
    line-height: 1.3;
}

.pilot-aev-charter__route-line {
    color: #3abaf4;
    font-size: 18px;
    opacity: 0.9;
}

.pilot-aev-charter__detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #b8c8ce;
}

.pilot-aev-charter__detail-meta span {
    padding: 4px 8px;
    background: #1f1f1f;
    border-radius: 3px;
    border: 1px solid #3d3d3d;
}

.pilot-aev-charter__create-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 12px;
    align-items: start;
}

.pilot-aev-charter__panel {
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.pilot-aev-charter__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-charter__panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-charter__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-charter__panel-count {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pilot-aev-charter__panel-body {
    padding: 14px !important;
}

.pilot-aev-charter__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-charter__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #1f1f1f;
}

.pilot-aev-charter__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
    font-size: 12px;
}

.pilot-aev-charter__table td {
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    vertical-align: middle;
    background: #1f1f1f;
}

.pilot-aev-charter__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-charter__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-charter__table tbody tr.is-selected td {
    background: #2a3558;
}

.pilot-aev-charter__ref {
    min-width: 100px;
}

.pilot-aev-charter__ref strong {
    display: block;
    color: #fff;
    margin-top: 4px;
    font-size: 12px;
}

.pilot-aev-charter__ref img {
    background: #fff;
    border-radius: 2px;
    padding: 2px 4px;
}

.pilot-aev-charter__airport {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.pilot-aev-charter__airport strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-charter__airport small {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-charter__flag {
    flex-shrink: 0;
    border-radius: 2px;
}

.pilot-aev-charter__aircraft {
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
}

.pilot-aev-charter__pilot {
    white-space: nowrap;
    color: #e0e0e0;
}

.pilot-aev-charter__action-cell {
    text-align: right;
    white-space: nowrap;
}

.pilot-aev-charter__action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pilot-aev-charter__book-form {
    display: inline;
    margin: 0;
}

.pilot-aev-charter__book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    background: #1a2e78;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.pilot-aev-charter__book-btn:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-charter__book-btn--wide {
    width: 100%;
    padding: 11px 16px;
    font-size: 13px;
}

.pilot-aev-charter__btn-ghost {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #3d3d3d;
    border-radius: 3px;
    color: #c3c3c3;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-charter__btn-ghost:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-charter__status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.pilot-aev-charter__status--booked {
    background: rgba(255, 107, 107, 0.12);
    color: #ff8a8a;
    border: 1px solid rgba(255, 107, 107, 0.25);
}

.pilot-aev-charter__status--yours {
    background: rgba(99, 237, 122, 0.12);
    color: #7ef59a;
    border: 1px solid rgba(99, 237, 122, 0.25);
}

.pilot-aev-charter__booked-msg {
    color: #b8c8ce;
    font-size: 12px;
    font-style: italic;
    margin: 0;
}

.pilot-aev-charter__booked-msg--block {
    padding: 10px 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 3px;
}

.pilot-aev-charter__empty {
    margin: 0;
    padding: 32px 16px;
    color: #888;
    text-align: center;
    font-size: 14px;
}

.pilot-aev-charter__create-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.pilot-aev-charter__field--full {
    grid-column: 1 / -1;
}

.pilot-aev-charter__field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--bn-select-label, #8ba3c7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pilot-aev-charter__field select {
    width: 100%;
}

.pilot-aev-charter__rules-body {
    padding: 14px !important;
}

.pilot-aev-charter__rules {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: charter-rule;
}

.pilot-aev-charter__rules li {
    counter-increment: charter-rule;
    position: relative;
    padding: 10px 10px 10px 36px;
    margin-bottom: 8px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 3px;
    color: #b8c8ce;
    font-size: 12px;
    line-height: 1.45;
}

.pilot-aev-charter__rules li:last-child {
    margin-bottom: 0;
}

.pilot-aev-charter__rules li::before {
    content: counter(charter-rule);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1a2e78;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.pilot-aev-charter__detail-form {
    margin: 0;
}

@media (max-width: 1100px) {
    .pilot-aev-charter__tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .pilot-aev-charter__tab {
        border-right: 1px solid #3d3d3d;
        border-bottom: 1px solid #3d3d3d;
    }

    .pilot-aev-charter__create-layout {
        grid-template-columns: 1fr;
    }

    .pilot-aev-charter__aircraft-chips {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .pilot-aev-charter__tabs {
        grid-template-columns: 1fr;
    }

    .pilot-aev-charter__route-visual {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pilot-aev-charter__route-line {
        transform: rotate(90deg);
    }

    .pilot-aev-charter__create-grid {
        grid-template-columns: 1fr;
    }

    .pilot-aev-charter__field--full {
        grid-column: auto;
    }

    .pilot-aev-charter__action-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ─── Ranks / Rankings (AEV) ─── */
.pilot-aev-ranks {
    max-width: 100%;
}

.pilot-aev-ranks .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 0;
    overflow: hidden;
}

.pilot-aev-ranks .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-ranks__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-ranks__header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pilot-aev-ranks__count-badge,
.pilot-aev-ranks__you-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pilot-aev-ranks__count-badge {
    color: #9ec9e8;
    background: rgba(58, 186, 244, 0.12);
    border: 1px solid rgba(58, 186, 244, 0.25);
}

.pilot-aev-ranks__you-badge {
    color: #e0e0e0;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
}

.pilot-aev-ranks__you-badge--trainee { border-color: #6b7280; color: #d1d5db; }
.pilot-aev-ranks__you-badge--second { border-color: #3abaf4; color: #9ed8f7; }
.pilot-aev-ranks__you-badge--first { border-color: #1a6fe8; color: #9ec9ff; }
.pilot-aev-ranks__you-badge--senior { border-color: #a78bfa; color: #d4c4ff; }
.pilot-aev-ranks__you-badge--captain { border-color: #f59e0b; color: #fcd34d; }

.pilot-aev-ranks__sort {
    display: inline-flex;
    gap: 0;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
}

.pilot-aev-ranks__sort-pill {
    padding: 7px 14px;
    background: #1f1f1f;
    color: #b8c8ce;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-right: 1px solid #3d3d3d;
}

.pilot-aev-ranks__sort-pill:last-child {
    border-right: none;
}

.pilot-aev-ranks__sort-pill:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-ranks__sort-pill.is-active {
    background: #1a2e78;
    color: #fff;
}

.pilot-aev-ranks__progress-card {
    margin-bottom: 12px;
}

.pilot-aev-ranks__progress-card .card-body {
    padding: 14px !important;
}

.pilot-aev-ranks__progress-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pilot-aev-ranks__progress-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 4px;
}

.pilot-aev-ranks__progress-top strong {
    color: #fff;
    font-size: 16px;
}

.pilot-aev-ranks__progress-hours {
    font-size: 18px;
    font-weight: 700;
    color: #3abaf4;
}

.pilot-aev-ranks__progress-bar {
    height: 8px;
    background: #1a1a1a;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #3d3d3d;
}

.pilot-aev-ranks__progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #1a2e78, #3abaf4);
    border-radius: 999px;
}

.pilot-aev-ranks__progress-meta {
    margin: 8px 0 0;
    font-size: 12px;
    color: #9a9a9a;
}

.pilot-aev-ranks__layout {
    display: grid;
    grid-template-columns: minmax(300px, 360px) 1fr;
    gap: 12px;
    align-items: start;
}

.pilot-aev-ranks__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-ranks__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-ranks__panel-count {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pilot-aev-ranks__sort-label {
    font-size: 11px;
    color: #9a9a9a;
    font-weight: 600;
}

.pilot-aev-ranks__ladder-body {
    padding: 12px !important;
}

.pilot-aev-ranks__ladder {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pilot-aev-ranks__step {
    padding: 10px 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    opacity: 0.72;
}

.pilot-aev-ranks__step.is-unlocked {
    opacity: 1;
}

.pilot-aev-ranks__step.is-current {
    border-color: #3abaf4;
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.55) 0%, rgba(36, 61, 143, 0.35) 100%);
    box-shadow: inset 0 0 0 1px rgba(58, 186, 244, 0.15);
}

.pilot-aev-ranks__step-rank {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pilot-aev-ranks__step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2a2a2a;
    color: #9a9a9a;
    font-size: 12px;
}

.pilot-aev-ranks__step--trainee .pilot-aev-ranks__step-icon { color: #9ca3af; }
.pilot-aev-ranks__step--second .pilot-aev-ranks__step-icon { color: #3abaf4; }
.pilot-aev-ranks__step--first .pilot-aev-ranks__step-icon { color: #1a6fe8; }
.pilot-aev-ranks__step--senior .pilot-aev-ranks__step-icon { color: #a78bfa; }
.pilot-aev-ranks__step--captain .pilot-aev-ranks__step-icon { color: #f59e0b; }

.pilot-aev-ranks__step-rank strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.pilot-aev-ranks__step-rank span {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-ranks__step-tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    border: 1px solid rgba(58, 186, 244, 0.35);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pilot-aev-ranks__step-aircraft {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pilot-aev-ranks__chip {
    padding: 3px 7px;
    border-radius: 3px;
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
    color: #b8c8ce;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pilot-aev-ranks__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-ranks__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #1f1f1f;
}

.pilot-aev-ranks__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
    font-size: 12px;
}

.pilot-aev-ranks__table th.num,
.pilot-aev-ranks__table td.num {
    text-align: right;
}

.pilot-aev-ranks__table td {
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    vertical-align: middle;
    background: #1f1f1f;
}

.pilot-aev-ranks__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-ranks__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-ranks__table tbody tr.is-top-1 td {
    background: rgba(245, 158, 11, 0.08);
}

.pilot-aev-ranks__table tbody tr.is-top-2 td {
    background: rgba(156, 163, 175, 0.08);
}

.pilot-aev-ranks__table tbody tr.is-top-3 td {
    background: rgba(180, 83, 9, 0.08);
}

.pilot-aev-ranks__table tbody tr.is-you td {
    box-shadow: inset 3px 0 0 #3abaf4;
}

.pilot-aev-ranks__pos {
    white-space: nowrap;
}

.pilot-aev-ranks__medal {
    margin-right: 6px;
}

.pilot-aev-ranks__medal--1 { color: #f59e0b; }
.pilot-aev-ranks__medal--2 { color: #d1d5db; }
.pilot-aev-ranks__medal--3 { color: #d97706; }

.pilot-aev-ranks__pilot {
    white-space: nowrap;
}

.pilot-aev-ranks__you-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}

.pilot-aev-ranks__callsign {
    font-weight: 600;
    color: #e8e8e8;
    white-space: nowrap;
}

.pilot-aev-ranks__rank-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #3d3d3d;
    background: #1a1a1a;
    color: #e0e0e0;
    white-space: nowrap;
}

.pilot-aev-ranks__rank-pill--trainee { border-color: #6b7280; }
.pilot-aev-ranks__rank-pill--second { border-color: #3abaf4; color: #9ed8f7; }
.pilot-aev-ranks__rank-pill--first { border-color: #1a6fe8; color: #9ec9ff; }
.pilot-aev-ranks__rank-pill--senior { border-color: #a78bfa; color: #d4c4ff; }
.pilot-aev-ranks__rank-pill--captain { border-color: #f59e0b; color: #fcd34d; }

.pilot-aev-ranks__metric.is-primary {
    color: #fff;
    font-weight: 700;
}

.pilot-aev-ranks__empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .pilot-aev-ranks__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pilot-aev-ranks__header {
        flex-direction: column;
        align-items: stretch;
    }

    .pilot-aev-ranks__sort {
        width: 100%;
    }

    .pilot-aev-ranks__sort-pill {
        flex: 1;
        text-align: center;
    }
}

/* ─── Rankings page (v2) ─── */
.pilot-aev-rankings-page { max-width: 100%; }
.pilot-aev-rankings-page .card { background: #303030; border: none; border-radius: 0 0 4px 4px; box-shadow: none; margin-bottom: 12px; overflow: hidden; }
.pilot-aev-rankings-page .card-body { background: #303030; color: #c3c3c3; }

.pilot-aev-rankings-page__header {
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    margin-bottom: 12px; padding: 12px 14px; background: #262626; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rankings-page__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.pilot-aev-rankings-page__stat {
    min-width: 82px; padding: 8px 10px; background: #1f1f1f; border: 1px solid #3d3d3d;
    border-radius: 4px; text-align: center;
}
.pilot-aev-rankings-page__stat--you { border-color: rgba(58, 186, 244, 0.35); background: rgba(26, 46, 120, 0.2); }
.pilot-aev-rankings-page__stat span { display: block; font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pilot-aev-rankings-page__stat strong { display: block; color: #fff; font-size: 17px; line-height: 1; }

.pilot-aev-rankings-page__views { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid #3d3d3d; border-radius: 4px; overflow: hidden; }
.pilot-aev-rankings-page__view {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
    background: #1f1f1f; color: #b8c8ce; font-size: 11px; font-weight: 600; text-decoration: none;
    border-right: 1px solid #3d3d3d;
}
.pilot-aev-rankings-page__view:last-child { border-right: none; }
.pilot-aev-rankings-page__view:hover { background: #2a2a2a; color: #fff; }
.pilot-aev-rankings-page__view.is-active { background: #1a2e78; color: #fff; }

.pilot-aev-rankings-page__progress-card { margin-bottom: 12px; }
.pilot-aev-rankings-page__progress-card .card-body { padding: 14px !important; }
.pilot-aev-rankings-page__progress-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.pilot-aev-rankings-page__progress-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-bottom: 8px; }
.pilot-aev-rankings-page__progress-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.pilot-aev-rankings-page__progress-head strong { color: #fff; font-size: 18px; }
.pilot-aev-rankings-page__progress-head span { color: #888; font-size: 12px; }
.pilot-aev-rankings-page__progress-bar { height: 8px; background: #1a1a1a; border-radius: 999px; overflow: hidden; border: 1px solid #3d3d3d; }
.pilot-aev-rankings-page__progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #1a2e78, #3abaf4); border-radius: 999px; }
.pilot-aev-rankings-page__progress-meta { margin: 8px 0 0; font-size: 12px; color: #9a9a9a; }
.pilot-aev-rankings-page__progress-next span { display: block; font-size: 10px; color: #888; text-transform: uppercase; margin-bottom: 4px; }
.pilot-aev-rankings-page__progress-next strong { color: #3abaf4; font-size: 16px; }

.pilot-aev-rankings-page__category-bar,
.pilot-aev-rankings-page__landings-hint { margin-bottom: 12px; }
.pilot-aev-rankings-page__category-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: #888; }
.pilot-aev-rankings-page__cat-pill {
    padding: 6px 12px; border-radius: 3px; background: #1f1f1f; border: 1px solid #3d3d3d;
    color: #c3c3c3; font-size: 11px; font-weight: 600; text-decoration: none;
}
.pilot-aev-rankings-page__cat-pill.is-active { background: #1a2e78; border-color: #3abaf4; color: #fff; }
.pilot-aev-rankings-page__landings-hint { margin: 0 0 12px; padding: 10px 12px; background: #262626; border: 1px solid #3d3d3d; border-radius: 4px; font-size: 12px; color: #b8c8ce; }

.pilot-aev-rankings-page__podium {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px;
}
.pilot-aev-rankings-page__podium-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 16px 12px; background: #303030; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rankings-page__podium-card--1 { border-color: rgba(245, 158, 11, 0.45); background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, #303030 100%); transform: translateY(-4px); }
.pilot-aev-rankings-page__podium-card--2 { border-color: rgba(209, 213, 219, 0.35); }
.pilot-aev-rankings-page__podium-card--3 { border-color: rgba(217, 119, 6, 0.35); }
.pilot-aev-rankings-page__podium-rank { font-size: 12px; font-weight: 700; color: #9a9a9a; margin-bottom: 8px; }
.pilot-aev-rankings-page__podium-card strong { color: #fff; font-size: 14px; margin-top: 8px; }
.pilot-aev-rankings-page__podium-callsign { color: #3abaf4; font-size: 12px; font-weight: 700; margin-top: 2px; }
.pilot-aev-rankings-page__podium-meta { display: flex; gap: 10px; margin-top: 10px; font-size: 12px; color: #b8c8ce; }
.pilot-aev-rankings-page__primary-metric,
.pilot-aev-rankings-page__landing-score { color: #fff; font-weight: 700; font-size: 14px; }
.pilot-aev-rankings-page__podium-hub { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: #888; }
.pilot-aev-rankings-page__podium-hub img { border-radius: 2px; }

.pilot-aev-rankings-page__avatar {
    width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center; background: linear-gradient(135deg, #1a2e78, #3abaf4);
    color: #fff; font-size: 14px; font-weight: 700;
}
.pilot-aev-rankings-page__avatar--sm { width: 32px; height: 32px; font-size: 11px; }
.pilot-aev-rankings-page__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pilot-aev-rankings-page__panel-head {
    background: #2a2a2a !important; padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d; margin-bottom: 0 !important;
}
.pilot-aev-rankings-page__panel-head--split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pilot-aev-rankings-page__panel-head h2 { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.pilot-aev-rankings-page__panel-count {
    min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
    background: #1a2e78; color: #fff; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}

.pilot-aev-rankings-page__table-wrap { padding: 0 !important; overflow-x: auto; }
.pilot-aev-rankings-page__table { width: 100%; border-collapse: collapse; font-size: 13px; background: #1f1f1f; }
.pilot-aev-rankings-page__table th { background: #222; color: #fff; font-weight: 600; text-align: left; padding: 11px 14px; border-bottom: 1px solid #3d3d3d; white-space: nowrap; font-size: 12px; }
.pilot-aev-rankings-page__table th.num, .pilot-aev-rankings-page__table td.num { text-align: right; }
.pilot-aev-rankings-page__table td { padding: 11px 14px; border-bottom: 1px solid #3d3d3d; color: #c3c3c3; vertical-align: middle; background: #1f1f1f; }
.pilot-aev-rankings-page__table tbody tr:nth-child(even) td { background: #282828; }
.pilot-aev-rankings-page__table tbody tr:hover td { background: #2f3548; }
.pilot-aev-rankings-page__table tbody tr.is-top-1 td { background: rgba(245, 158, 11, 0.08); }
.pilot-aev-rankings-page__table tbody tr.is-top-2 td { background: rgba(156, 163, 175, 0.08); }
.pilot-aev-rankings-page__table tbody tr.is-top-3 td { background: rgba(180, 83, 9, 0.08); }
.pilot-aev-rankings-page__table tbody tr.is-you td { box-shadow: inset 3px 0 0 #3abaf4; }

.pilot-aev-rankings-page__pilot-cell { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.pilot-aev-rankings-page__pilot-cell strong { display: block; color: #fff; line-height: 1.2; }

.pilot-aev-rankings-page__pilot-link {
    color: inherit;
    text-decoration: none;
}

.pilot-aev-rankings-page__pilot-link:hover {
    color: #3abaf4;
}

.pilot-aev-rankings-page__podium-card .pilot-aev-rankings-page__pilot-link {
    font-size: 14px;
    font-weight: 700;
}
.pilot-aev-rankings-page__pos { white-space: nowrap; }
.pilot-aev-rankings-page__medal { margin-right: 6px; }
.pilot-aev-rankings-page__medal--1 { color: #f59e0b; }
.pilot-aev-rankings-page__medal--2 { color: #d1d5db; }
.pilot-aev-rankings-page__medal--3 { color: #d97706; }
.pilot-aev-rankings-page__you-tag {
    display: inline-block; margin-top: 3px; padding: 2px 6px; border-radius: 999px;
    background: rgba(58, 186, 244, 0.15); color: #9ed8f7; font-size: 10px; font-weight: 700;
}
.pilot-aev-rankings-page__callsign { font-weight: 700; color: #e8e8e8; white-space: nowrap; }
.pilot-aev-rankings-page__hub { display: inline-flex; align-items: center; gap: 6px; }
.pilot-aev-rankings-page__hub img { border-radius: 2px; }

.pilot-aev-rankings-page__rank-pill {
    display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
    border: 1px solid #3d3d3d; background: #1a1a1a; color: #e0e0e0; white-space: nowrap;
}
.pilot-aev-rankings-page__rank-pill--trainee { border-color: #6b7280; }
.pilot-aev-rankings-page__rank-pill--second { border-color: #3abaf4; color: #9ed8f7; }
.pilot-aev-rankings-page__rank-pill--first { border-color: #1a6fe8; color: #9ec9ff; }
.pilot-aev-rankings-page__rank-pill--senior { border-color: #a78bfa; color: #d4c4ff; }
.pilot-aev-rankings-page__rank-pill--captain { border-color: #f59e0b; color: #fcd34d; }
.pilot-aev-rankings-page__metric.is-primary { color: #fff; font-weight: 700; }
.pilot-aev-rankings-page__empty { margin: 0; padding: 32px 16px; text-align: center; color: #888; font-size: 14px; }

/* Ranks ladder (career path) */
.pilot-aev-ranks-ladder { display: grid; gap: 12px; }
.pilot-aev-ranks-ladder__summary .card-body { padding: 14px 16px !important; }
.pilot-aev-ranks-ladder__summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.pilot-aev-ranks-ladder__summary-item span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 6px;
}
.pilot-aev-ranks-ladder__summary-item strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
}
.pilot-aev-ranks-ladder__summary-item--wide {
    grid-column: 1 / -1;
    padding-top: 4px;
    border-top: 1px solid #3d3d3d;
}
.pilot-aev-ranks-ladder__summary-item--wide p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b8c8ce;
}
.pilot-aev-ranks-ladder__panel .card-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pilot-aev-ranks-ladder__panel .card-header h2 i { color: #3abaf4; font-size: 13px; }
.pilot-aev-ranks-ladder__body { padding: 16px !important; }
.pilot-aev-ranks-ladder__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.pilot-aev-ranks-ladder__step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    position: relative;
}
.pilot-aev-ranks-ladder__step:not(:last-child) .pilot-aev-ranks-ladder__rail::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 34px;
    bottom: -8px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #3d3d3d, rgba(61, 61, 61, 0.2));
}
.pilot-aev-ranks-ladder__step.is-unlocked:not(:last-child) .pilot-aev-ranks-ladder__rail::before {
    background: linear-gradient(180deg, rgba(58, 186, 244, 0.65), rgba(58, 186, 244, 0.15));
}
.pilot-aev-ranks-ladder__rail {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 18px;
}
.pilot-aev-ranks-ladder__node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1a1a1a;
    border: 2px solid #3d3d3d;
    color: #888;
    font-size: 12px;
    z-index: 1;
}
.pilot-aev-ranks-ladder__step.is-unlocked .pilot-aev-ranks-ladder__node {
    border-color: rgba(58, 186, 244, 0.55);
    background: rgba(26, 46, 120, 0.45);
    color: #9ed8f7;
}
.pilot-aev-ranks-ladder__step.is-current .pilot-aev-ranks-ladder__node {
    border-color: #3abaf4;
    background: linear-gradient(135deg, #1a2e78, #3abaf4);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(58, 186, 244, 0.15);
}
.pilot-aev-ranks-ladder__step.is-next .pilot-aev-ranks-ladder__node {
    border-color: #f59e0b;
    color: #fcd34d;
}
.pilot-aev-ranks-ladder__card {
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pilot-aev-ranks-ladder__step.is-locked .pilot-aev-ranks-ladder__card { opacity: 0.72; }
.pilot-aev-ranks-ladder__step.is-current .pilot-aev-ranks-ladder__card {
    border-color: rgba(58, 186, 244, 0.55);
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.42), rgba(36, 61, 143, 0.22));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.pilot-aev-ranks-ladder__step.is-next .pilot-aev-ranks-ladder__card {
    border-color: rgba(245, 158, 11, 0.45);
}
.pilot-aev-ranks-ladder__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.pilot-aev-ranks-ladder__card-title h3 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.pilot-aev-ranks-ladder__step-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}
.pilot-aev-ranks-ladder__card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.pilot-aev-ranks-ladder__hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #262626;
    border: 1px solid #3d3d3d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pilot-aev-ranks-ladder__hours i { color: #3abaf4; font-size: 11px; }
.pilot-aev-ranks-ladder__status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}
.pilot-aev-ranks-ladder__status.is-done {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}
.pilot-aev-ranks-ladder__status.is-locked {
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.04);
    border-color: #3d3d3d;
}
.pilot-aev-ranks-ladder__progress {
    height: 7px;
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.pilot-aev-ranks-ladder__progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #1a2e78, #3abaf4);
    border-radius: 999px;
}
.pilot-aev-ranks-ladder__progress-text {
    margin: 0 0 10px;
    font-size: 12px;
    color: #9a9a9a;
}
.pilot-aev-ranks-ladder__aircraft-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 8px;
}
.pilot-aev-ranks-ladder__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pilot-aev-ranks-ladder__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 4px;
    background: #171717;
    border: 1px solid #3d3d3d;
    color: #d7e2ea;
    font-size: 11px;
    font-weight: 700;
}
.pilot-aev-ranks-ladder__chip i { color: #3abaf4; font-size: 10px; }
.pilot-aev-ranks-ladder__chip.is-new {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(245, 158, 11, 0.08);
}
.pilot-aev-ranks-ladder__chip em {
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fcd34d;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
}

.pilot-aev-rankings-page__ladder-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 12px !important;
}
.pilot-aev-rankings-page__ladder-card {
    padding: 12px; background: #1f1f1f; border: 1px solid #3d3d3d; border-radius: 4px; opacity: 0.75;
}
.pilot-aev-rankings-page__ladder-card.is-unlocked { opacity: 1; }
.pilot-aev-rankings-page__ladder-card.is-current {
    border-color: #3abaf4; background: linear-gradient(135deg, rgba(26, 46, 120, 0.55), rgba(36, 61, 143, 0.35));
}
.pilot-aev-rankings-page__ladder-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.pilot-aev-rankings-page__ladder-icon {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: #2a2a2a; color: #3abaf4; flex-shrink: 0;
}
.pilot-aev-rankings-page__ladder-card--captain .pilot-aev-rankings-page__ladder-icon { color: #f59e0b; }
.pilot-aev-rankings-page__ladder-top h3 { margin: 0; color: #fff; font-size: 14px; }
.pilot-aev-rankings-page__ladder-top span { display: block; color: #888; font-size: 11px; margin-top: 2px; }
.pilot-aev-rankings-page__current-tag {
    margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
    font-style: normal; text-transform: uppercase; background: rgba(58, 186, 244, 0.15); color: #9ed8f7;
    border: 1px solid rgba(58, 186, 244, 0.35);
}
.pilot-aev-rankings-page__ladder-aircraft { display: flex; flex-wrap: wrap; gap: 6px; }
.pilot-aev-rankings-page__ladder-aircraft span {
    padding: 3px 7px; border-radius: 3px; background: #1a1a1a; border: 1px solid #3d3d3d;
    color: #b8c8ce; font-size: 10px; font-weight: 700;
}

@media (max-width: 1000px) {
    .pilot-aev-rankings-page__header { grid-template-columns: 1fr; }
    .pilot-aev-rankings-page__podium { grid-template-columns: 1fr; }
    .pilot-aev-rankings-page__podium-card--1 { transform: none; }
    .pilot-aev-rankings-page__progress-grid { grid-template-columns: 1fr; }
    .pilot-aev-ranks-ladder__summary-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .pilot-aev-rankings-page__views { width: 100%; }
    .pilot-aev-rankings-page__view { flex: 1; justify-content: center; font-size: 10px; padding: 8px 6px; }
    .pilot-aev-ranks-ladder__summary-grid { grid-template-columns: 1fr; }
    .pilot-aev-ranks-ladder__step { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
    .pilot-aev-ranks-ladder__card-head { flex-direction: column; align-items: flex-start; }
    .pilot-aev-ranks-ladder__card-meta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* ─── Awards (AEV) ─── */
.pilot-aev-awards {
    max-width: 100%;
}

.pilot-aev-awards .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 12px;
    overflow: hidden;
}

.pilot-aev-awards .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-awards__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-awards__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pilot-aev-awards__progress-ring {
    --pct: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    flex-shrink: 0;
    background: conic-gradient(#3abaf4 calc(var(--pct) * 1%), #1a1a1a 0);
    display: grid;
    place-items: center;
    position: relative;
}

.pilot-aev-awards__progress-ring::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #262626;
}

.pilot-aev-awards__progress-value {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pilot-aev-awards__summary-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 4px;
}

.pilot-aev-awards__summary strong {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.pilot-aev-awards__summary p {
    margin: 6px 0 0;
    font-size: 12px;
    color: #9a9a9a;
    line-height: 1.4;
}

.pilot-aev-awards__stats {
    display: flex;
    gap: 8px;
}

.pilot-aev-awards__stat {
    min-width: 88px;
    padding: 10px 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-align: center;
}

.pilot-aev-awards__stat span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.pilot-aev-awards__stat strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.pilot-aev-awards__stat--earned {
    border-color: rgba(99, 237, 122, 0.35);
    background: rgba(0, 167, 90, 0.08);
}

.pilot-aev-awards__stat--earned strong {
    color: #7ef59a;
}

.pilot-aev-awards__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.pilot-aev-awards__filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-awards__filter:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-awards__filter.is-active {
    background: #1a2e78;
    border-color: #3abaf4;
    color: #fff;
}

.pilot-aev-awards__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    line-height: 1;
    font-size: 10px;
    color: #9aabb3;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-awards__filter.is-active .pilot-aev-awards__filter-count {
    color: #d4e8f7;
}

.pilot-aev-awards__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-awards__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-awards__panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-awards__section-count {
    min-width: 42px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.pilot-aev-awards__recent-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 12px !important;
}

.pilot-aev-awards__recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-awards__recent-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.pilot-aev-awards__recent-item span {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-awards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    padding: 12px !important;
}

.pilot-aev-awards__card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
}

.pilot-aev-awards__card.is-earned {
    border-color: rgba(99, 237, 122, 0.4);
    background: linear-gradient(180deg, rgba(0, 167, 90, 0.1) 0%, #1f1f1f 100%);
}

.pilot-aev-awards__card.is-locked {
    opacity: 0.82;
}

.pilot-aev-awards__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.pilot-aev-awards__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    color: #9a9a9a;
    font-size: 16px;
}

.pilot-aev-awards__icon--earned {
    background: rgba(0, 167, 90, 0.15);
    border-color: rgba(99, 237, 122, 0.35);
    color: #7ef59a;
}

.pilot-aev-awards__status {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    color: #9a9a9a;
    border: 1px solid #3d3d3d;
}

.pilot-aev-awards__status.is-earned {
    background: rgba(99, 237, 122, 0.12);
    color: #7ef59a;
    border-color: rgba(99, 237, 122, 0.25);
}

.pilot-aev-awards__card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #fff;
    line-height: 1.25;
}

.pilot-aev-awards__card p {
    margin: 0;
    flex: 1;
    font-size: 12px;
    color: #b8c8ce;
    line-height: 1.45;
}

.pilot-aev-awards__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #3d3d3d;
}

.pilot-aev-awards__criteria {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ec9e8;
}

.pilot-aev-awards__date {
    font-size: 10px;
    color: #888;
    white-space: nowrap;
}

.pilot-aev-awards__empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .pilot-aev-awards__header {
        grid-template-columns: 1fr;
    }

    .pilot-aev-awards__stats {
        width: 100%;
    }

    .pilot-aev-awards__stat {
        flex: 1;
    }
}

/* ─── Flight Ops list pages (tours, jobs, events) ─── */
.pilot-aev-ops-list.card {
    background: #303030;
    border: none;
    border-radius: 4px;
}

.pilot-aev-ops-list__head {
    background: #2a2a2a !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-ops-list__head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-ops-list__body {
    padding: 0 !important;
}

.pilot-aev-ops-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pilot-aev-ops-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
}

.pilot-aev-ops-list__item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.pilot-aev-ops-list__item p {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.5;
}

.pilot-aev-ops-list__item small {
    color: #888;
    font-size: 11px;
}

.pilot-aev-ops-list__link {
    flex-shrink: 0;
    padding: 7px 18px;
    background: #1a6fe8;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.pilot-aev-ops-list__link:hover {
    background: #1558c0;
    color: #fff !important;
}

.pilot-aev-ops-list__empty {
    padding: 24px;
    text-align: center;
    color: #888;
}

/* ─── Pilots roster (Operations menu) ─── */
.pilot-aev-pilots-page {
    max-width: 100%;
}

.pilot-aev-pilots-page .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 0;
    overflow: hidden;
}

.pilot-aev-pilots-page .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-pilots-page__header {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-pilots-page__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pilot-aev-pilots-page__stat {
    min-width: 88px;
    padding: 8px 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-align: center;
}

.pilot-aev-pilots-page__stat span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.pilot-aev-pilots-page__stat strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.pilot-aev-pilots-page__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
}

.pilot-aev-pilots-page__search input {
    width: 100%;
    background: #1a1a1a;
    border: none;
    color: #e8e8e8;
    padding: 10px 12px;
    font-size: 13px;
    box-sizing: border-box;
}

.pilot-aev-pilots-page__search input:focus {
    outline: none;
}

.pilot-aev-pilots-page__search-btn {
    width: 42px;
    border: none;
    background: #1a2e78;
    color: #fff;
    cursor: pointer;
}

.pilot-aev-pilots-page__search-btn:hover {
    background: #243d8f;
}

.pilot-aev-pilots-page__spotlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.pilot-aev-pilots-page__spot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-pilots-page__spot-card--1 {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, #303030 100%);
}

.pilot-aev-pilots-page__spot-card--2 {
    border-color: rgba(209, 213, 219, 0.35);
}

.pilot-aev-pilots-page__spot-card--3 {
    border-color: rgba(217, 119, 6, 0.35);
}

.pilot-aev-pilots-page__spot-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #9a9a9a;
}

.pilot-aev-pilots-page__spot-card strong {
    color: #fff;
    font-size: 14px;
    margin-top: 8px;
}

.pilot-aev-pilots-page__spot-callsign {
    color: #3abaf4;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.pilot-aev-pilots-page__spot-meta {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
    color: #b8c8ce;
}

.pilot-aev-pilots-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pilot-aev-pilots-page__filters,
.pilot-aev-pilots-page__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pilot-aev-pilots-page__sort span {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-right: 2px;
}

.pilot-aev-pilots-page__filter,
.pilot-aev-pilots-page__sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-pilots-page__filter:hover,
.pilot-aev-pilots-page__sort-pill:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-pilots-page__filter.is-active,
.pilot-aev-pilots-page__sort-pill.is-active {
    background: #1a2e78;
    border-color: #3abaf4;
    color: #fff;
}

.pilot-aev-pilots-page__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    line-height: 1;
    font-size: 10px;
    color: #9aabb3;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-pilots-page__active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    font-size: 12px;
    color: #b8c8ce;
}

.pilot-aev-pilots-page__reset {
    color: #3abaf4;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-pilots-page__reset:hover {
    text-decoration: underline;
}

.pilot-aev-pilots-page__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-pilots-page__panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-pilots-page__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-pilots-page__panel-count {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pilot-aev-pilots-page__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-pilots-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #1f1f1f;
}

.pilot-aev-pilots-page__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
    font-size: 12px;
}

.pilot-aev-pilots-page__table th.num,
.pilot-aev-pilots-page__table td.num {
    text-align: right;
}

.pilot-aev-pilots-page__table td {
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    vertical-align: middle;
    background: #1f1f1f;
}

.pilot-aev-pilots-page__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-pilots-page__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-pilots-page__table tbody tr.is-you td {
    box-shadow: inset 3px 0 0 #3abaf4;
}

.pilot-aev-pilots-page__pilot-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.pilot-aev-pilots-page__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a2e78, #3abaf4);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pilot-aev-pilots-page__avatar--lg {
    width: 56px;
    height: 56px;
    font-size: 16px;
}

.pilot-aev-pilots-page__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilot-aev-pilots-page__pilot-cell strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-pilots-page__pilot-link {
    color: inherit;
    text-decoration: none;
}

.pilot-aev-pilots-page__pilot-link:hover {
    color: #3abaf4;
}

.pilot-aev-pilots-page__spot-card .pilot-aev-pilots-page__pilot-link {
    font-size: 14px;
    font-weight: 700;
}

.pilot-aev-pilots-page__you-tag {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
}

.pilot-aev-pilots-page__callsign {
    font-weight: 700;
    color: #e8e8e8;
    white-space: nowrap;
}

.pilot-aev-pilots-page__rank-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #3d3d3d;
    background: #1a1a1a;
    color: #e0e0e0;
    white-space: nowrap;
}

.pilot-aev-pilots-page__rank-pill--trainee { border-color: #6b7280; }
.pilot-aev-pilots-page__rank-pill--second { border-color: #3abaf4; color: #9ed8f7; }
.pilot-aev-pilots-page__rank-pill--first { border-color: #1a6fe8; color: #9ec9ff; }
.pilot-aev-pilots-page__rank-pill--senior { border-color: #a78bfa; color: #d4c4ff; }
.pilot-aev-pilots-page__rank-pill--captain { border-color: #f59e0b; color: #fcd34d; }

.pilot-aev-pilots-page__hub {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.pilot-aev-pilots-page__hub img {
    border-radius: 2px;
    flex-shrink: 0;
}

.pilot-aev-pilots-page__hub strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-pilots-page__hub small {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-pilots-page__metric.is-primary {
    color: #fff;
    font-weight: 700;
}

.pilot-aev-pilots-page__empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .pilot-aev-pilots-page__header {
        grid-template-columns: 1fr;
    }

    .pilot-aev-pilots-page__spotlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pilot-aev-pilots-page__toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ─── Airports network (Operations) ─── */
.pilot-aev-airports-page {
    max-width: 100%;
}

.pilot-aev-airports-page__intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.35) 0%, #262626 55%);
    border: 1px solid rgba(58, 186, 244, 0.2);
    border-radius: 6px;
}

.pilot-aev-airports-page__badge {
    display: inline-block;
    padding: 3px 8px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    border: 1px solid rgba(58, 186, 244, 0.35);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pilot-aev-airports-page__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-airports-page__sub {
    margin: 0;
    color: #b8c8ce;
    font-size: 13px;
    max-width: 560px;
}

.pilot-aev-airports-page__intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.pilot-aev-airports-page__intro-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 4px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-airports-page__intro-link:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-airports-page__intro-link--ghost {
    background: transparent;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
}

.pilot-aev-airports-page__intro-link--ghost:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-airports-page__hubs {
    margin-bottom: 12px;
    padding: 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-airports-page__hubs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pilot-aev-airports-page__hubs-head h2 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.pilot-aev-airports-page__hubs-head p {
    margin: 0;
    font-size: 12px;
    color: #888;
}

.pilot-aev-airports-page__hubs-all {
    color: #3abaf4;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pilot-aev-airports-page__hubs-all:hover {
    text-decoration: underline;
}

.pilot-aev-airports-page__hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
}

.pilot-aev-airports-page__hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 8px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.pilot-aev-airports-page__hub-card:hover {
    border-color: rgba(58, 186, 244, 0.45);
    background: #2a3148;
    transform: translateY(-1px);
}

.pilot-aev-airports-page__hub-flag {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.pilot-aev-airports-page__hub-code {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.pilot-aev-airports-page__hub-city {
    color: #b8c8ce;
    font-size: 10px;
    line-height: 1.25;
}

.pilot-aev-airports-page__hub-routes {
    margin-top: 2px;
    color: #3abaf4;
    font-size: 10px;
    font-weight: 700;
}

.pilot-aev-airports-page .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 0;
    overflow: hidden;
}

.pilot-aev-airports-page .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-airports-page__header {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-airports-page__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pilot-aev-airports-page__stat {
    min-width: 82px;
    padding: 8px 10px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-align: center;
}

.pilot-aev-airports-page__stat--hub {
    border-color: rgba(58, 186, 244, 0.35);
    background: rgba(26, 46, 120, 0.2);
}

.pilot-aev-airports-page__stat span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.pilot-aev-airports-page__stat strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1;
}

.pilot-aev-airports-page__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
}

.pilot-aev-airports-page__search input {
    width: 100%;
    background: #1a1a1a;
    border: none;
    color: #e8e8e8;
    padding: 10px 12px;
    font-size: 13px;
    box-sizing: border-box;
}

.pilot-aev-airports-page__search input:focus {
    outline: none;
}

.pilot-aev-airports-page__search-btn {
    width: 42px;
    border: none;
    background: #1a2e78;
    color: #fff;
    cursor: pointer;
}

.pilot-aev-airports-page__search-btn:hover {
    background: #243d8f;
}

.pilot-aev-airports-page__spotlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.pilot-aev-airports-page__spot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-airports-page__spot-card--1 {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, #303030 100%);
}

.pilot-aev-airports-page__spot-card--2 {
    border-color: rgba(209, 213, 219, 0.35);
}

.pilot-aev-airports-page__spot-card--3 {
    border-color: rgba(217, 119, 6, 0.35);
}

.pilot-aev-airports-page__spot-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
}

.pilot-aev-airports-page__spot-card--1 .pilot-aev-airports-page__spot-rank {
    font-size: 14px;
}

.pilot-aev-airports-page__spot-flag {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.pilot-aev-airports-page__spot-card strong,
.pilot-aev-airports-page__spot-icao {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-top: 8px;
    text-decoration: none;
}

.pilot-aev-airports-page__spot-icao:hover {
    color: #3abaf4;
}

.pilot-aev-airports-page__spot-name {
    color: #e8e8e8;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.3;
}

.pilot-aev-airports-page__spot-city {
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-airports-page__hub-badge {
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    border: 1px solid rgba(58, 186, 244, 0.35);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pilot-aev-airports-page__spot-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 11px;
    color: #b8c8ce;
}

.pilot-aev-airports-page__spot-meta i {
    margin-right: 4px;
    opacity: 0.75;
}

.pilot-aev-airports-page__toolbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pilot-aev-airports-page__country-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pilot-aev-airports-page__country-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

.pilot-aev-airports-page__country-select {
    min-width: 150px;
    min-height: 34px;
    padding: 6px 34px 6px 10px;
    font-size: 12px;
}

.pilot-aev-airports-page__row:hover td {
    background: #2f3548 !important;
}

.pilot-aev-airports-page__icao-link {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.2;
}

.pilot-aev-airports-page__icao-link:hover {
    color: #3abaf4;
}

.pilot-aev-airports-page__route-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 52px;
    min-height: 24px;
    padding-right: 4px;
    font-weight: 700;
    color: #fff;
    vertical-align: middle;
}

.pilot-aev-airports-page__route-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: var(--pct, 50%);
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1a2e78, #3abaf4);
    opacity: 0.35;
    z-index: 0;
}

.pilot-aev-airports-page__route-bar span {
    position: relative;
    z-index: 1;
}

.pilot-aev-airports-page__traffic {
    display: inline-flex;
    vertical-align: middle;
    width: 88px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
}

.pilot-aev-airports-page__traffic-dep {
    background: #22c55e;
}

.pilot-aev-airports-page__traffic-arr {
    background: #3abaf4;
}

.pilot-aev-airports-page__spot-actions {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    width: 100%;
}

.pilot-aev-airports-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pilot-aev-airports-page__filters,
.pilot-aev-airports-page__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pilot-aev-airports-page__sort span {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-right: 2px;
}

.pilot-aev-airports-page__filter,
.pilot-aev-airports-page__sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-airports-page__filter:hover,
.pilot-aev-airports-page__sort-pill:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-airports-page__filter.is-active,
.pilot-aev-airports-page__sort-pill.is-active {
    background: #1a2e78;
    border-color: #3abaf4;
    color: #fff;
}

.pilot-aev-airports-page__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    line-height: 1;
    font-size: 10px;
    color: #9aabb3;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-airports-page__active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    font-size: 12px;
    color: #b8c8ce;
}

.pilot-aev-airports-page__reset {
    color: #3abaf4;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-airports-page__reset:hover {
    text-decoration: underline;
}

.pilot-aev-airports-page__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-airports-page__panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-airports-page__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-airports-page__panel-count {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pilot-aev-airports-page__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-airports-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #1f1f1f;
}

.pilot-aev-airports-page__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
    font-size: 12px;
}

.pilot-aev-airports-page__table th.num,
.pilot-aev-airports-page__table td.num {
    text-align: right;
}

.pilot-aev-airports-page__table td {
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    vertical-align: middle;
    background: #1f1f1f;
}

.pilot-aev-airports-page__table td.pilot-aev-airports-page__actions {
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.pilot-aev-airports-page__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-airports-page__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-airports-page__airport-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.pilot-aev-airports-page__flag {
    border-radius: 2px;
    flex-shrink: 0;
}

.pilot-aev-airports-page__airport-cell strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.pilot-aev-airports-page__airport-cell span {
    display: block;
    color: #b8c8ce;
    font-size: 11px;
    margin-top: 2px;
}

.pilot-aev-airports-page__hub-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.12);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

.pilot-aev-airports-page__metric.is-primary {
    color: #fff;
    font-weight: 700;
}

.pilot-aev-airports-page__actions {
    white-space: nowrap;
}

.pilot-aev-airports-page__actions .pilot-aev-airports-page__btn {
    vertical-align: middle;
}

.pilot-aev-airports-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    background: #1a2e78;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    line-height: 1;
}

.pilot-aev-airports-page__btn:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-airports-page__btn--ghost {
    background: transparent;
    border-color: #3d3d3d;
    color: #c3c3c3;
    min-width: 32px;
    padding: 0 8px;
}

.pilot-aev-airports-page__actions .pilot-aev-airports-page__btn + .pilot-aev-airports-page__btn {
    margin-left: 6px;
}

.pilot-aev-airports-page__btn--ghost:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-airports-page__empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .pilot-aev-airports-page__intro {
        flex-direction: column;
    }

    .pilot-aev-airports-page__header {
        grid-template-columns: 1fr;
    }

    .pilot-aev-airports-page__spotlight {
        grid-template-columns: 1fr;
    }

    .pilot-aev-airports-page__toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .pilot-aev-airports-page__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pilot-aev-airports-page__spot-actions {
        flex-direction: column;
    }

    .pilot-aev-airports-page__hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Airport detail ─── */
.pilot-aev-airport-detail {
    max-width: 100%;
}

.pilot-aev-airport-detail__back {
    display: inline-block;
    margin-bottom: 12px;
    color: #3abaf4;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-airport-detail__back:hover {
    text-decoration: underline;
}

.pilot-aev-airport-detail__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.4) 0%, #303030 60%);
    border: 1px solid rgba(58, 186, 244, 0.25);
    border-radius: 6px;
}

.pilot-aev-airport-detail__hero-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.pilot-aev-airport-detail__flag {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.pilot-aev-airport-detail__codes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pilot-aev-airport-detail__codes h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pilot-aev-airport-detail__codes > span {
    padding: 3px 8px;
    border-radius: 4px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #b8c8ce;
    font-size: 12px;
    font-weight: 700;
}

.pilot-aev-airport-detail__hub {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(58, 186, 244, 0.15);
    border: 1px solid rgba(58, 186, 244, 0.35);
    color: #9ed8f7;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

.pilot-aev-airport-detail__name {
    margin: 8px 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #e8e8e8;
}

.pilot-aev-airport-detail__location {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.pilot-aev-airport-detail__location i {
    margin-right: 6px;
    color: #3abaf4;
}

.pilot-aev-airport-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.pilot-aev-airport-detail__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 4px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pilot-aev-airport-detail__action:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-airport-detail__action--accent {
    background: rgba(58, 186, 244, 0.15);
    border: 1px solid rgba(58, 186, 244, 0.4);
    color: #9ed8f7;
}

.pilot-aev-airport-detail__action--accent:hover {
    background: rgba(58, 186, 244, 0.25);
    color: #fff;
}

.pilot-aev-airport-detail__kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.pilot-aev-airport-detail__kpi {
    padding: 12px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-align: center;
}

.pilot-aev-airport-detail__kpi span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.pilot-aev-airport-detail__kpi strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.pilot-aev-airport-detail__kpi--recent {
    border-color: rgba(58, 186, 244, 0.3);
    background: rgba(26, 46, 120, 0.18);
}

.pilot-aev-airport-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.pilot-aev-airport-detail__panel {
    background: #303030;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0;
}

.pilot-aev-airport-detail__panel--wide {
    margin-bottom: 0;
}

.pilot-aev-airport-detail__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-airport-detail__panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-airport-detail__panel-head h2 i {
    margin-right: 8px;
    color: #3abaf4;
}

.pilot-aev-airport-detail__panel-head span {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #1a2e78;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.pilot-aev-airport-detail__panel .card-body {
    background: #303030;
    color: #c3c3c3;
    padding: 0;
}

.pilot-aev-airport-detail__route-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pilot-aev-airport-detail__route-list li {
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-airport-detail__route-list li:last-child {
    border-bottom: none;
}

.pilot-aev-airport-detail__route-list a {
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    text-decoration: none;
    transition: background 0.15s;
}

.pilot-aev-airport-detail__route-list a:hover {
    background: #2f3548;
}

.pilot-aev-airport-detail__route-list strong {
    color: #fff;
    font-size: 13px;
}

.pilot-aev-airport-detail__route-list span {
    color: #b8c8ce;
    font-size: 12px;
}

.pilot-aev-airport-detail__route-list em {
    color: #888;
    font-size: 11px;
    font-style: normal;
}

.pilot-aev-airport-detail__empty {
    margin: 0;
    padding: 24px 16px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.pilot-aev-airport-detail__table-wrap {
    overflow-x: auto;
    padding: 0 !important;
}

.pilot-aev-airport-detail__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pilot-aev-airport-detail__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    font-size: 12px;
}

.pilot-aev-airport-detail__table td {
    padding: 11px 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    background: #1f1f1f;
}

.pilot-aev-airport-detail__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-airport-detail__table tbody tr:hover td {
    background: #2f3548;
}

.pilot-aev-airport-detail__pilot-link {
    color: #3abaf4;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-airport-detail__pilot-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .pilot-aev-airport-detail__hero {
        flex-direction: column;
    }

    .pilot-aev-airport-detail__actions {
        justify-content: flex-start;
    }

    .pilot-aev-airport-detail__kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .pilot-aev-airport-detail__grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Fleet (Operations) ─── */
.pilot-aev-fleet-page {
    max-width: 100%;
}

.pilot-aev-fleet-page .card {
    background: #303030;
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    margin-bottom: 12px;
    overflow: hidden;
}

.pilot-aev-fleet-page .card-body {
    background: #303030;
    color: #c3c3c3;
}

.pilot-aev-fleet-page__header {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-fleet-page__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pilot-aev-fleet-page__stat {
    min-width: 82px;
    padding: 8px 10px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    text-align: center;
}

.pilot-aev-fleet-page__stat--hub {
    border-color: rgba(58, 186, 244, 0.35);
    background: rgba(26, 46, 120, 0.2);
}

.pilot-aev-fleet-page__stat span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.pilot-aev-fleet-page__stat strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1;
}

.pilot-aev-fleet-page__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
}

.pilot-aev-fleet-page__search input {
    width: 100%;
    background: #1a1a1a;
    border: none;
    color: #e8e8e8;
    padding: 10px 12px;
    font-size: 13px;
    box-sizing: border-box;
}

.pilot-aev-fleet-page__search input:focus {
    outline: none;
}

.pilot-aev-fleet-page__search-btn {
    width: 42px;
    border: none;
    background: #1a2e78;
    color: #fff;
    cursor: pointer;
}

.pilot-aev-fleet-page__search-btn:hover {
    background: #243d8f;
}

.pilot-aev-fleet-page__spotlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.pilot-aev-fleet-page__spot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-fleet-page__spot-card--wide {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, #303030 100%);
}

.pilot-aev-fleet-page__spot-card--regional {
    border-color: rgba(99, 237, 122, 0.35);
}

.pilot-aev-fleet-page__spot-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1a2e78;
    color: #9ec9ff;
    font-size: 18px;
    margin-bottom: 8px;
}

.pilot-aev-fleet-page__spot-type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3abaf4;
    text-transform: uppercase;
}

.pilot-aev-fleet-page__spot-card strong {
    color: #fff;
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.3;
}

.pilot-aev-fleet-page__spot-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 11px;
    color: #b8c8ce;
}

.pilot-aev-fleet-page__spot-link {
    margin-top: 12px;
    color: #3abaf4;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-fleet-page__spot-link:hover {
    text-decoration: underline;
}

.pilot-aev-fleet-page__toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.pilot-aev-fleet-page__filters,
.pilot-aev-fleet-page__hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pilot-aev-fleet-page__filter,
.pilot-aev-fleet-page__hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #c3c3c3;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.pilot-aev-fleet-page__filter:hover,
.pilot-aev-fleet-page__hub-pill:hover {
    background: #2a2a2a;
    color: #fff;
}

.pilot-aev-fleet-page__filter.is-active,
.pilot-aev-fleet-page__hub-pill.is-active {
    background: #1a2e78;
    border-color: #3abaf4;
    color: #fff;
}

.pilot-aev-fleet-page__filter-count,
.pilot-aev-fleet-page__hub-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    line-height: 1;
    font-size: 10px;
    color: #9aabb3;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.pilot-aev-fleet-page__hub-pill img {
    border-radius: 2px;
}

.pilot-aev-fleet-page__active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    font-size: 12px;
    color: #b8c8ce;
}

.pilot-aev-fleet-page__reset {
    color: #3abaf4;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-fleet-page__panel-head {
    background: #2a2a2a !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-fleet-page__panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-fleet-page__section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pilot-aev-fleet-page__section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1a2e78;
    color: #9ec9ff;
    flex-shrink: 0;
    margin-top: 0;
    font-size: 14px;
    line-height: 1;
}

.pilot-aev-fleet-page__section-icon i {
    display: block;
    line-height: 1;
}

.pilot-aev-fleet-page__section-icon--narrow {
    background: #1a2e78;
    color: #9ec9ff;
}

.pilot-aev-fleet-page__section-icon--wide {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.pilot-aev-fleet-page__section-icon--regional {
    background: rgba(99, 237, 122, 0.12);
    color: #7ef59a;
}

.pilot-aev-fleet-page__section-title h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-fleet-page__section-title > div > span {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.pilot-aev-fleet-page__section-specs {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.pilot-aev-fleet-page__section-specs span {
    padding: 4px 8px;
    border-radius: 3px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    color: #b8c8ce;
    font-size: 11px;
    font-weight: 600;
}

.pilot-aev-fleet-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    padding: 12px !important;
}

.pilot-aev-fleet-page__card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
}

.pilot-aev-fleet-page__card:hover {
    border-color: #4a4a4a;
    background: #242424;
}

.pilot-aev-fleet-page__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.pilot-aev-fleet-page__card-top strong {
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.03em;
}

.pilot-aev-fleet-page__type-badge {
    padding: 3px 7px;
    border-radius: 3px;
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    color: #9ec9e8;
    font-size: 10px;
    font-weight: 700;
}

.pilot-aev-fleet-page__card-name {
    margin: 0 0 8px;
    font-size: 12px;
    color: #b8c8ce;
    line-height: 1.35;
}

.pilot-aev-fleet-page__hub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 11px;
    color: #888;
}

.pilot-aev-fleet-page__hub img {
    border-radius: 2px;
}

.pilot-aev-fleet-page__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.pilot-aev-fleet-page__specs div span {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pilot-aev-fleet-page__specs div strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-top: 2px;
}

.pilot-aev-fleet-page__range-bar {
    height: 4px;
    background: #1a1a1a;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #3d3d3d;
}

.pilot-aev-fleet-page__range-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #1a2e78, #3abaf4);
    border-radius: 999px;
}

.pilot-aev-fleet-page__card-actions {
    margin-top: auto;
}

.pilot-aev-fleet-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 10px;
    background: #1a2e78;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.pilot-aev-fleet-page__btn:hover {
    background: #243d8f;
    color: #fff;
}

.pilot-aev-fleet-page__empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

@media (max-width: 1000px) {
    .pilot-aev-fleet-page__header {
        grid-template-columns: 1fr;
    }

    .pilot-aev-fleet-page__spotlight {
        grid-template-columns: 1fr;
    }

    .pilot-aev-fleet-page__panel-head--split {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Legacy pilots table alias */
.pilot-aev-pilots.card {
    background: #303030;
    border: none;
    border-radius: 4px;
}

.pilot-aev-pilots__head {
    background: #2a2a2a !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #3d3d3d;
}

.pilot-aev-pilots__head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-pilots__table-wrap {
    padding: 0 !important;
    overflow-x: auto;
}

.pilot-aev-pilots__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pilot-aev-pilots__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
}

.pilot-aev-pilots__table td {
    padding: 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    background: #1f1f1f;
}

.pilot-aev-pilots__table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-pilots__empty {
    padding: 24px;
    text-align: center;
    color: #888;
}

/* ─── Shared AEV page components (BlueNova) ─── */
.pilot-aev-panel.card,
.pilot-aev-page .card {
    background: #303030;
    border: none;
    border-radius: 4px;
    margin-bottom: 16px;
}

.pilot-aev-panel__head,
.pilot-aev-page .card-header {
    background: #2a2a2a !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #3d3d3d;
    margin-bottom: 0 !important;
}

.pilot-aev-panel__head h2,
.pilot-aev-page .card-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-panel__body {
    padding: 0 !important;
    color: #c3c3c3;
}

.pilot-aev-panel__body--padded {
    padding: 16px !important;
}

.pilot-aev-panel__table-wrap {
    overflow-x: auto;
}

.pilot-aev-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pilot-aev-data-table th {
    background: #222;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #3d3d3d;
    white-space: nowrap;
}

.pilot-aev-data-table td {
    padding: 14px;
    border-bottom: 1px solid #3d3d3d;
    color: #c3c3c3;
    background: #1f1f1f;
    vertical-align: middle;
}

.pilot-aev-data-table tbody tr:nth-child(even) td {
    background: #282828;
}

.pilot-aev-data-table td.num,
.pilot-aev-data-table th.num {
    text-align: right;
}

.pilot-aev-data-table a {
    color: #3abaf4;
    text-decoration: none;
}

.pilot-aev-data-table a:hover {
    text-decoration: underline;
}

.pilot-aev-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.pilot-aev-kpi {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #1a3d8f, #0d1f4a);
    border-radius: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(26, 111, 232, 0.35);
}

.pilot-aev-kpi small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b8c8ce;
    margin-bottom: 4px;
}

.pilot-aev-kpi strong {
    font-size: 22px;
    color: #fff;
}

.pilot-aev-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    padding: 16px;
    background: #303030;
    border-radius: 4px;
    margin-bottom: 16px;
}

.pilot-aev-filter label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.pilot-aev-filter select {
    min-width: 180px;
}

.pilot-aev-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1a6fe8;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.pilot-aev-btn:hover {
    background: #1558c0;
    color: #fff !important;
}

.pilot-aev-btn--outline {
    background: transparent;
    border: 1px solid #3d3d3d;
    color: #c3c3c3 !important;
}

.pilot-aev-btn--outline:hover {
    border-color: #1a6fe8;
    color: #fff !important;
}

.pilot-aev-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pilot-aev-badge--accepted { background: rgba(0, 167, 90, 0.2); color: #63ed7a; }
.pilot-aev-badge--pending { background: rgba(243, 156, 17, 0.2); color: #f39c11; }
.pilot-aev-badge--rejected { background: rgba(220, 75, 56, 0.2); color: #ff6b6b; }

.pilot-aev-banner {
    background: linear-gradient(90deg, #1a3d8f, #0d1f4a);
    border: 1px solid rgba(26, 111, 232, 0.4);
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 16px;
    color: #e8f4ff;
    font-size: 14px;
}

.pilot-aev-staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.pilot-aev-staff-card {
    width: 280px;
    background: #303030;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pilot-aev-staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.pilot-aev-staff-card__name {
    display: block;
    background: #0d1f4a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 12px;
}

.pilot-aev-staff-card__visual {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(160deg, #1a6fe8 0%, #0a3d7a 55%, #061428 100%);
}

.pilot-aev-staff-card__avatar {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.pilot-aev-staff-card__bio {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(6, 20, 40, 0.92);
    color: #e8f4ff;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.25s;
}

.pilot-aev-staff-card:hover .pilot-aev-staff-card__bio {
    opacity: 1;
}

.pilot-aev-staff-card__title {
    display: block;
    margin: 12px 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-staff-card__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 16px 16px;
}

.pilot-aev-staff-card__actions a {
    flex: 1;
    max-width: 100px;
}

.pilot-aev-award-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    padding: 16px;
}

.pilot-aev-award-card {
    background: #282828;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
}

.pilot-aev-award-card.is-earned {
    border-color: rgba(99, 237, 122, 0.45);
    background: rgba(0, 167, 90, 0.08);
}

.pilot-aev-award-card__icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.pilot-aev-award-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #fff;
}

.pilot-aev-award-card p {
    margin: 0 0 12px;
    font-size: 12px;
    color: #b8c8ce;
    line-height: 1.45;
}

.pilot-aev-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.pilot-aev-shop-card {
    background: #303030;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.pilot-aev-shop-card__icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.pilot-aev-shop-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
}

.pilot-aev-shop-card p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #b8c8ce;
    line-height: 1.45;
}

.pilot-aev-shop-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #63ed7a;
    margin-bottom: 12px;
}

.pilot-aev-rules {
    padding: 20px 24px;
    color: #c3c3c3;
    font-size: 14px;
    line-height: 1.6;
}

/* ─── Rules & Regulations page (v2) ─── */
.pilot-aev-rules-page { max-width: 100%; }

.pilot-aev-rules-page__header {
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    margin-bottom: 12px; padding: 12px 14px; background: #262626; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rules-page__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.pilot-aev-rules-page__stats--inline { margin-bottom: 14px; }
.pilot-aev-rules-page__stat {
    min-width: 82px; padding: 8px 10px; background: #1f1f1f; border: 1px solid #3d3d3d;
    border-radius: 4px; text-align: center;
}
.pilot-aev-rules-page__stat--icao { border-color: rgba(58, 186, 244, 0.35); }
.pilot-aev-rules-page__stat--ok { border-color: rgba(34, 197, 94, 0.35); background: rgba(20, 83, 45, 0.2); }
.pilot-aev-rules-page__stat--warn { border-color: rgba(245, 158, 11, 0.35); background: rgba(120, 53, 15, 0.2); }
.pilot-aev-rules-page__stat span { display: block; font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pilot-aev-rules-page__stat strong { display: block; color: #fff; font-size: 17px; line-height: 1; }

.pilot-aev-rules-page__search {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px;
    background: #1f1f1f; border: 1px solid #3d3d3d; border-radius: 4px; min-width: 260px;
}
.pilot-aev-rules-page__search i { color: #888; font-size: 12px; }
.pilot-aev-rules-page__search input {
    flex: 1; min-width: 0; border: none; background: transparent; color: #fff; font-size: 13px; outline: none;
}
.pilot-aev-rules-page__search-btn {
    padding: 6px 10px; border: none; border-radius: 3px; background: #1a2e78; color: #fff;
    font-size: 11px; font-weight: 600; cursor: pointer;
}
.pilot-aev-rules-page__search-btn:hover { background: #243d8f; }

.pilot-aev-rules-page__intro {
    display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
    margin-bottom: 12px; padding: 16px; background: linear-gradient(135deg, rgba(26, 46, 120, 0.35), rgba(36, 61, 143, 0.15));
    border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rules-page__intro-icon {
    width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
    background: #1a2e78; color: #f59e0b; font-size: 22px;
}
.pilot-aev-rules-page__intro h2 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.pilot-aev-rules-page__intro p { margin: 0; color: #b8c8ce; font-size: 13px; line-height: 1.5; }

.pilot-aev-rules-page__highlights { margin-bottom: 12px; }
.pilot-aev-rules-page__highlights--compact { margin-bottom: 16px; }
.pilot-aev-rules-page__highlights h3 {
    margin: 0 0 10px; color: #fff; font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.pilot-aev-rules-page__highlights h3 i { color: #f59e0b; }
.pilot-aev-rules-page__highlight-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px;
}
.pilot-aev-rules-page__highlight-card {
    padding: 12px; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 4px;
}
.pilot-aev-rules-page__highlight-card p { margin: 6px 0 0; font-size: 12px; color: #d6d6d6; line-height: 1.45; }

.pilot-aev-rules-page__toc {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.pilot-aev-rules-page__toc-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
    background: #1f1f1f; border: 1px solid #3d3d3d; border-radius: 4px;
    color: #c3c3c3; font-size: 11px; font-weight: 600; text-decoration: none;
}
.pilot-aev-rules-page__toc-pill:hover { border-color: #3abaf4; color: #fff; background: #2a2a2a; }
.pilot-aev-rules-page__toc-pill i { color: #3abaf4; font-size: 11px; }

.pilot-aev-rules-page__sections { display: flex; flex-direction: column; gap: 10px; }
.pilot-aev-rules-page__sections--scroll {
    max-height: 420px; overflow-y: auto; margin-bottom: 16px; padding-right: 4px;
}
.pilot-aev-rules-page__section {
    background: #303030; border: 1px solid #3d3d3d; border-radius: 4px; overflow: hidden;
}
.pilot-aev-rules-page__section--compact .pilot-aev-rules-page__section-head { padding: 12px 14px; }
.pilot-aev-rules-page__section--compact .pilot-aev-rules-page__list { padding: 0 14px 12px; }
.pilot-aev-rules-page__section-head {
    display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
    padding: 14px 16px; background: #2a2a2a; border-bottom: 1px solid #3d3d3d;
}
.pilot-aev-rules-page__section-icon {
    width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
    background: #1f1f1f; border: 1px solid #3d3d3d; color: #3abaf4; font-size: 16px;
}
.pilot-aev-rules-page__section-head h2 { margin: 0; color: #fff; font-size: 15px; line-height: 1.3; }
.pilot-aev-rules-page__section-head span { display: block; margin-top: 3px; font-size: 11px; color: #888; }

.pilot-aev-rules-page__list {
    list-style: none; margin: 0; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px;
}
.pilot-aev-rules-page__rule {
    display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start;
    padding: 12px; background: #1f1f1f; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rules-page__rule.is-highlight { border-color: rgba(245, 158, 11, 0.35); background: rgba(120, 53, 15, 0.12); }
.pilot-aev-rules-page__rule p { margin: 0; color: #c3c3c3; font-size: 13px; line-height: 1.55; }
.pilot-aev-rules-page__num {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px;
    padding: 0 8px; border-radius: 999px; background: #1a2e78; border: 1px solid #3abaf4;
    color: #9ed8f7; font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.pilot-aev-rules-page__empty { margin: 0; padding: 32px 16px; text-align: center; color: #888; font-size: 14px; }
.pilot-aev-rules-page__reset-wrap { text-align: center; margin-top: 8px; }
.pilot-aev-rules-page__reset { color: #3abaf4; font-size: 12px; font-weight: 600; text-decoration: none; }
.pilot-aev-rules-page__reset:hover { color: #9ed8f7; }

.pilot-aev-rules-page__footer { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.pilot-aev-rules-page__notice {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
    background: #262626; border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rules-page__notice i { color: #3abaf4; margin-top: 2px; }
.pilot-aev-rules-page__notice p { margin: 0; font-size: 13px; color: #b8c8ce; line-height: 1.5; }
.pilot-aev-rules-page__notice a { color: #3abaf4; font-weight: 600; }

.pilot-aev-rules-page__cta {
    padding: 16px; text-align: center; background: linear-gradient(135deg, rgba(26, 46, 120, 0.4), rgba(36, 61, 143, 0.2));
    border: 1px solid #3d3d3d; border-radius: 4px;
}
.pilot-aev-rules-page__cta p { margin: 0 0 12px; color: #b8c8ce; font-size: 13px; }
.pilot-aev-rules-page__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 4px; background: #1a2e78; border: 1px solid #3abaf4;
    color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.pilot-aev-rules-page__btn:hover { background: #243d8f; color: #fff; }

.pilot-aev-rules-page--auth .pilot-aev-rules-page__section { background: rgba(0, 0, 0, 0.2); }

@media (max-width: 900px) {
    .pilot-aev-rules-page__header { grid-template-columns: 1fr; }
    .pilot-aev-rules-page__search { width: 100%; min-width: 0; }
    .pilot-aev-rules-page__intro { grid-template-columns: 1fr; }
    .pilot-aev-rules-page__intro-icon { justify-self: start; }
}

/* legacy rules panel */
.pilot-aev-rules h2 {
    color: #fff;
    font-size: 16px;
    margin: 20px 0 10px;
}

.pilot-aev-rules h2:first-child {
    margin-top: 0;
}

.pilot-aev-rules ol {
    margin: 0;
    padding-left: 20px;
}

.pilot-aev-rules li {
    margin-bottom: 8px;
}

.pilot-aev-rules__num {
    color: #3abaf4;
    font-weight: 600;
    margin-right: 6px;
}

.pilot-aev-empty {
    padding: 32px 16px;
    text-align: center;
    color: #888;
}

.pilot-aev-list {
    margin: 0;
    padding: 16px 16px 16px 36px;
    color: #c3c3c3;
    font-size: 13px;
    line-height: 1.6;
}

/* ─── Topbar dropdowns (Activities / Messages) ─── */
.pilot-aev-topbar-dropdown { position: relative; }
.pilot-aev-topbar-dropdown__toggle { position: relative; }
.pilot-aev-topbar-dropdown__badge {
    position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: #22c55e; color: #fff; font-size: 10px; font-weight: 700;
    line-height: 16px; text-align: center;
}
.pilot-aev-topbar-dropdown__menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 360px; max-width: 92vw;
    background: #1a2e78; border: 1px solid #2f4eb8; border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); overflow: hidden; z-index: 950;
}
.pilot-aev-topbar-dropdown.is-open .pilot-aev-topbar-dropdown__menu { display: block; }

@media (hover: hover) {
    .pilot-aev-topbar-dropdown:hover .pilot-aev-topbar-dropdown__menu {
        display: block;
    }

    .pilot-aev-topbar-dropdown:hover .pilot-aev-topbar-dropdown__toggle {
        color: #00cff0;
    }

    .pilot-aev-user-menu:hover .pilot-aev-user-dropdown,
    .pilot-aev-user-menu.is-open .pilot-aev-user-dropdown {
        display: block;
    }
}

.pilot-aev-navbar .nav-link[title] {
    position: relative;
}
.pilot-aev-topbar-dropdown__head {
    padding: 12px 14px; background: #243d8f; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff; font-size: 14px; font-weight: 600;
}
.pilot-aev-topbar-dropdown__head--split {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.pilot-aev-topbar-dropdown__foot {
    padding: 10px 14px; background: #152454; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center;
}
.pilot-aev-topbar-dropdown__foot a { color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.pilot-aev-topbar-dropdown__foot a:hover { color: #9ed8f7; }
.pilot-aev-topbar-dropdown__empty { margin: 0; padding: 20px 14px; color: #d4af37; font-size: 13px; text-align: center; }

.pilot-aev-activity-dropdown__list {
    max-height: 420px; overflow-y: auto; background: #1a2e78;
}
.pilot-aev-activity-item {
    display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: flex-start;
    padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pilot-aev-activity-item__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pilot-aev-activity-item__text { margin: 0 0 4px; font-size: 12px; line-height: 1.45; color: #fff; }
.pilot-aev-activity-item__text strong { color: #fff; font-weight: 600; }
.pilot-aev-activity-item__verb { color: #f59e0b; }
.pilot-aev-activity-item__route { color: #fff; }
.pilot-aev-activity-item time { font-size: 11px; color: rgba(255, 255, 255, 0.65); }

.pilot-aev-messages-dropdown__compose {
    padding: 5px 10px; border-radius: 3px; background: #22c55e; color: #fff;
    font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.pilot-aev-messages-dropdown__compose:hover { background: #16a34a; color: #fff; }
.pilot-aev-messages-dropdown__body { background: #1a2e78; }
.pilot-aev-messages-dropdown__empty {
    margin: 0; padding: 24px 14px; text-align: center; color: #d4af37; font-size: 13px;
}
.pilot-aev-messages-dropdown__item {
    display: block; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff; text-decoration: none;
}
.pilot-aev-messages-dropdown__item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.pilot-aev-messages-dropdown__item.is-unread { background: rgba(58, 186, 244, 0.08); }
.pilot-aev-messages-dropdown__item strong { display: block; font-size: 13px; margin-bottom: 3px; }
.pilot-aev-messages-dropdown__item span { font-size: 11px; color: rgba(255, 255, 255, 0.7); }

.pilot-aev-user-dropdown__badge {
    margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: #22c55e; color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}

/* ─── Messages page ─── */
.pilot-aev-messages-page { max-width: 100%; }
.pilot-aev-messages-page__top { margin-bottom: 12px; }
.pilot-aev-messages-page__compose-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    background: #22c55e; border: none; border-radius: 4px; color: #fff;
    font-size: 14px; font-weight: 600; text-decoration: none;
}
.pilot-aev-messages-page__compose-btn:hover { background: #16a34a; color: #fff; }

.pilot-aev-messages-page__tabs {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.pilot-aev-messages-page__tab {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: #1a2e78; border: 1px solid #3d3d3d; border-radius: 4px;
    color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.pilot-aev-messages-page__tab.is-active { border-color: #3abaf4; background: #243d8f; }
.pilot-aev-messages-page__unread {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: #22c55e; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}

.pilot-aev-messages-page .card { background: #303030; border: none; border-radius: 0 0 4px 4px; margin-bottom: 12px; overflow: hidden; }
.pilot-aev-messages-page__panel-head {
    background: #2a2a2a !important; padding: 11px 14px !important; border-bottom: 1px solid #3d3d3d;
}
.pilot-aev-messages-page__panel-head h2 { margin: 0; font-size: 14px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.pilot-aev-messages-page__panel-head--split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pilot-aev-messages-page__reply-btn {
    padding: 6px 12px; border-radius: 3px; background: #1a2e78; border: 1px solid #3abaf4;
    color: #fff; font-size: 12px; font-weight: 600; text-decoration: none;
}

.pilot-aev-messages-page__form-wrap { padding: 16px !important; }
.pilot-aev-messages-page__form { display: flex; flex-direction: column; gap: 14px; }
.pilot-aev-messages-page__field label { display: block; margin-bottom: 6px; color: #b8c8ce; font-size: 12px; font-weight: 600; }
.pilot-aev-messages-page__field input,
.pilot-aev-messages-page__field select,
.pilot-aev-messages-page__field textarea {
    width: 100%;
    box-sizing: border-box;
}

.pilot-aev-messages-page__field input,
.pilot-aev-messages-page__field textarea {
    padding: 10px 12px;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
}
.pilot-aev-messages-page__field textarea { min-height: 220px; resize: vertical; font-family: inherit; }
.pilot-aev-messages-page__send-btn {
    align-self: flex-start; padding: 10px 18px; border: none; border-radius: 4px;
    background: #1a2e78; border: 1px solid #3abaf4; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pilot-aev-messages-page__send-btn:hover { background: #243d8f; }

.pilot-aev-messages-page__empty-box {
    margin: 0; padding: 28px 16px; text-align: center; color: #d4af37; font-size: 14px;
    background: rgba(180, 83, 9, 0.15); border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 4px;
}
.pilot-aev-messages-page__list { display: flex; flex-direction: column; }
.pilot-aev-messages-page__row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-bottom: 1px solid #3d3d3d; color: inherit; text-decoration: none;
    background: #1f1f1f;
}
.pilot-aev-messages-page__row:nth-child(even) { background: #282828; }
.pilot-aev-messages-page__row:hover { background: #2f3548; color: inherit; }
.pilot-aev-messages-page__row.is-unread strong { color: #3abaf4; }
.pilot-aev-messages-page__row-main strong { display: block; color: #fff; font-size: 13px; margin-bottom: 3px; }
.pilot-aev-messages-page__row-main span { font-size: 11px; color: #888; }
.pilot-aev-messages-page__row time { font-size: 11px; color: #888; white-space: nowrap; }

.pilot-aev-messages-page__read { padding: 16px !important; }
.pilot-aev-messages-page__meta {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #3d3d3d;
    font-size: 12px; color: #888;
}
.pilot-aev-messages-page__meta strong { color: #fff; }
.pilot-aev-messages-page__body-text { color: #c3c3c3; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.pilot-aev-messages-page__back { color: #3abaf4; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pilot-aev-messages-page__empty { margin: 0; padding: 24px; text-align: center; color: #888; }

@media (max-width: 640px) {
    .pilot-aev-topbar-dropdown__menu { width: min(360px, calc(100vw - 24px)); right: -8px; }
}

/* ─── Pilot Shop hub (AEV) ─── */
.pilot-aev-shop-hub { margin-top: 0; }

.pilot-aev-shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pilot-aev-shop-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 3px;
    background: #303030;
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #3d3d3d;
}

.pilot-aev-shop-tabs__item:hover {
    color: #fff;
    background: #383838;
}

.pilot-aev-shop-tabs__item.is-active {
    background: #1a6fe8;
    border-color: #1a6fe8;
    color: #fff;
}

.pilot-aev-shop-stats {
    margin-bottom: 6px;
}

.card-statshop-balance4,
.card-statshop-spent4,
.card-statshop-earned4,
.card-statshop-items4,
.card-statshop-penalty4 {
    display: flex;
    flex-direction: column;
    padding: 12px 0 0;
    height: 107px;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    border-radius: 3px;
    box-sizing: border-box;
}

.card-statshop-balance4 { background: #00c0ef; }
.card-statshop-spent4 { background: #f39c11; }
.card-statshop-earned4,
.card-statshop-items4 { background: #00a75a; }
.card-statshop-penalty4 { background: #dc4b38; }

.card-statshop-balance2,
.card-statshop-spent2,
.card-statshop-earned2,
.card-statshop-items2,
.card-statshop-month2,
.card-statshop-shopspent2,
.card-statshop-flightpay2,
.card-statshop-penalty2 {
    position: relative;
    overflow: hidden;
}

.card-statshop-balance2 span:after,
.card-statshop-spent2 span:after,
.card-statshop-earned2 span:after,
.card-statshop-items2 span:after,
.card-statshop-month2 span:after,
.card-statshop-shopspent2 span:after,
.card-statshop-flightpay2 span:after,
.card-statshop-penalty2 span:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 62px;
    position: absolute;
    top: -10px;
    right: 23px;
    color: #000;
    opacity: .15;
    z-index: 0;
    pointer-events: none;
}

.card-statshop-balance2 span:after,
.card-statshop-month2 span:after { content: "\f24e"; }
.card-statshop-spent2 span:after,
.card-statshop-shopspent2 span:after { content: "\f07a"; }
.card-statshop-earned2 span:after { content: "\f555"; }
.card-statshop-items2 span:after { content: "\f2b5"; }
.card-statshop-flightpay2 span:after { content: "\f072"; }
.card-statshop-penalty2 span:after { content: "\f057"; font-size: 70px; top: -8px; }

.card-statshop-balance > strong,
.card-statshop-spent > strong,
.card-statshop-earned > strong,
.card-statshop-items > strong,
.card-statshop-month > strong,
.card-statshop-shopspent > strong,
.card-statshop-flightpay > strong,
.card-statshop-penalty > strong {
    display: block;
    height: 100%;
}

.pilot-aev-shop-hub .pilot-aev-stat-num {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 16px;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    line-height: 1.1;
}

.pilot-aev-shop-hub .pilot-aev-stat-label {
    position: relative;
    z-index: 1;
    margin: 4px 0 0;
    padding: 0 16px;
    font-size: 13px;
    color: #222;
    opacity: 0.9;
}

.pilot-aev-shop-log {
    margin-top: 8px;
}

.pilot-aev-shop-log__head {
    background: #4b4b4b !important;
    padding: 12px 16px;
}

.pilot-aev-shop-log__head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.pilot-aev-shop-log__body {
    padding: 0 !important;
}

.pilot-aev-shop-log__empty {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: #888;
}

.pilot-aev-shop-log__table th,
.pilot-aev-shop-log__table td {
    padding: 10px 14px;
    font-size: 13px;
}

.pilot-aev-shop-log__type {
    color: #f39c11;
    font-weight: 600;
}

.pilot-aev-shop-log__message {
    color: #3abaf4;
}

.pilot-aev-shop-log__money {
    color: #f39c11;
    font-weight: 600;
    white-space: nowrap;
}

.pilot-aev-shop-log__trend {
    text-align: center;
    width: 28px;
}

.pilot-aev-shop-log__trend.is-up { color: #22c55e; }
.pilot-aev-shop-log__trend.is-down { color: #ef4444; }

.pilot-aev-shop-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 3px;
    background: #303030;
    border: 1px solid #3d3d3d;
    color: #b8c8ce;
}

.pilot-aev-shop-balance-bar strong {
    color: #63ed7a;
    font-size: 22px;
}

.pilot-aev-shop-hub .pilot-aev-shop-grid {
    padding: 0;
}

.pilot-aev-shop-coming-soon {
    margin-top: 0;
    border: 1px solid #3d3d3d;
    background: #262626;
}

.pilot-aev-shop-coming-soon__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    padding: 48px 24px;
}

.pilot-aev-shop-coming-soon__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(26, 46, 120, 0.5), rgba(58, 186, 244, 0.2));
    border: 1px solid rgba(58, 186, 244, 0.35);
    color: #3abaf4;
    font-size: 34px;
}

.pilot-aev-shop-coming-soon__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

.pilot-aev-shop-coming-soon h2 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.pilot-aev-shop-coming-soon p {
    max-width: 520px;
    margin: 0 0 24px;
    color: #b8c8ce;
    line-height: 1.6;
    font-size: 15px;
}

/* ─── Pilot Shop catalog (AEV-style) ─── */
.pilot-aev-shop-catalog {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pilot-aev-shop-category__head {
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    padding: 12px 16px;
}

.pilot-aev-shop-category__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f3f4f6;
}

.pilot-aev-shop-category__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.pilot-aev-shop-item {
    display: flex;
    flex-direction: column;
    background: #262626;
    border: 1px solid #3a3a3a;
    min-height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pilot-aev-shop-item:hover {
    transform: translateY(-2px);
    border-color: #4b5563;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.pilot-aev-shop-item.is-owned {
    opacity: 0.82;
}

.pilot-aev-shop-item__title {
    padding: 10px 12px;
    background: #333;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pilot-aev-shop-item__visual {
    position: relative;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--shop-accent) 55%, transparent), transparent 55%),
        linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
    border-top: 1px solid #3a3a3a;
    border-bottom: 1px solid #3a3a3a;
}

.pilot-aev-shop-item__visual i {
    font-size: 58px;
    color: color-mix(in srgb, var(--shop-accent) 70%, #fff);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.pilot-aev-shop-item__price {
    padding: 12px;
    text-align: center;
    color: #d1d5db;
    font-size: 14px;
}

.pilot-aev-shop-item__price strong {
    display: block;
    margin-top: 4px;
    color: #63ed7a;
    font-size: 18px;
    font-weight: 700;
}

.pilot-aev-shop-item__btn {
    margin-top: auto;
    width: 100%;
    border: none;
    border-top: 1px solid #1a2e78;
    background: #1a2e78;
    color: #fff;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pilot-aev-shop-item__btn:hover {
    background: #243d8f;
}

.pilot-aev-shop-item.is-owned .pilot-aev-shop-item__btn {
    background: #374151;
    border-top-color: #4b5563;
    color: #d1d5db;
    cursor: default;
}

.pilot-aev-shop-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.pilot-aev-shop-modal[hidden] {
    display: none !important;
}

.pilot-aev-shop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.pilot-aev-shop-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    background: #262626;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    padding: 24px 24px 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.pilot-aev-shop-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 4px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.pilot-aev-shop-modal__visual {
    height: 160px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--shop-accent) 55%, transparent), transparent 55%),
        linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
}

.pilot-aev-shop-modal__visual i {
    font-size: 72px;
    color: color-mix(in srgb, var(--shop-accent) 70%, #fff);
}

.pilot-aev-shop-modal__dialog h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 22px;
}

.pilot-aev-shop-modal__dialog p {
    margin: 0 0 16px;
    color: #b8c8ce;
    line-height: 1.55;
    font-size: 14px;
}

.pilot-aev-shop-modal__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pilot-aev-shop-modal__meta div {
    padding: 12px;
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
}

.pilot-aev-shop-modal__meta span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.pilot-aev-shop-modal__meta strong {
    color: #63ed7a;
    font-size: 18px;
}

.pilot-aev-shop-modal__owned {
    color: #fbbf24;
    font-weight: 600;
}

.pilot-aev-shop-modal__buy {
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #1a2e78;
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.pilot-aev-shop-modal__buy:hover {
    background: #243d8f;
}

body.pilot-shop-modal-open {
    overflow: hidden;
}

@media (max-width: 1200px) {
    .pilot-aev-shop-category__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pilot-aev-shop-category__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .pilot-aev-shop-category__grid {
        grid-template-columns: 1fr;
    }

    .pilot-aev-shop-modal__meta {
        grid-template-columns: 1fr;
    }
}

.pilot-aev-shop-card__icon {
    font-size: 34px;
    margin-bottom: 10px;
    color: #3abaf4;
}

@media (max-width: 1100px) {
    .pilot-aev-shop-hub .pilot-aev-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 640px) {
    .pilot-aev-shop-hub .pilot-aev-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pilot-aev-shop-tabs__item {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
}

/* ─── BlueNova Stats actions + community pages ─── */
.pilot-aev-stats-card__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 18px 16px 20px;
    border-top: 1px solid #3d3d3d;
    margin-top: auto;
}

.pilot-aev-stats-card {
    display: flex;
    flex-direction: column;
}

.pilot-aev-stats-card .profile-widget-description {
    flex: 1 1 auto;
}

.pilot-aev-stats-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 72px;
    border-radius: 10px;
    background: #d9d9d9;
    color: #4b5563;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background 0.2s ease;
}

.pilot-aev-stats-card__action:hover {
    transform: translateY(-2px);
    background: #ececec;
    color: #1f2937;
}

.pilot-aev-stats-card__action--donate {
    padding: 8px;
}

.pilot-aev-stats-card__action-icon {
    display: block;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.pilot-aev-stats-card__action--donate:hover .pilot-aev-stats-card__action-icon {
    transform: scale(1.04);
    transition: transform 0.2s ease;
}

.pilot-aev-stats-card__action--vote {
    font-size: 38px;
    color: #374151;
}

.pilot-aev-community-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 20px 40px;
    text-align: center;
    color: #d1d5db;
}

.pilot-aev-community-page__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: #22c55e;
}

.pilot-aev-community-page__hero i {
    font-size: 92px;
    line-height: 1;
    filter: drop-shadow(0 8px 18px rgba(34, 197, 94, 0.25));
}

.pilot-aev-community-page__hero span {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pilot-aev-community-page__hero--vote {
    color: #fbbf24;
}

.pilot-aev-community-page__hero--vote i {
    filter: drop-shadow(0 8px 18px rgba(251, 191, 36, 0.3));
}

.pilot-aev-community-page__copy {
    text-align: left;
    line-height: 1.7;
    font-size: 15px;
    color: #cbd5e1;
}

.pilot-aev-community-page__copy--center {
    text-align: center;
}

.pilot-aev-community-page__copy p {
    margin: 0 0 16px;
}

.pilot-aev-community-page__copy--alt {
    color: #b8c8ce;
}

.pilot-aev-community-page__divider {
    border: 0;
    border-top: 1px dashed #5b5b5b;
    margin: 28px 0;
}

.pilot-aev-community-page__reward {
    margin: 30px 0 24px;
}

.pilot-aev-community-page__reward p {
    margin: 0 0 14px;
    font-size: 15px;
    color: #e5e7eb;
}

.pilot-aev-community-page__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(90deg, #1a4f9c 0%, #2563eb 45%, #1a4f9c 100%);
    border: 2px solid #d4af37;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pilot-aev-community-page__badge--silver span {
    font-size: 22px;
}

.pilot-aev-community-page__badge--gold span {
    font-size: 20px;
}

.pilot-aev-community-page__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.pilot-aev-community-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 12px 24px;
    border-radius: 4px;
    background: #1a6fe8;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.pilot-aev-community-page__btn:hover {
    background: #1558b8;
    color: #fff;
}

.pilot-aev-community-page__donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffb347 0%, #ff7b00 100%);
    color: #111827;
    font-size: 34px;
    font-style: italic;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 123, 0, 0.35);
}

.pilot-aev-community-page__donate-btn:hover {
    color: #111827;
    transform: translateY(-1px);
}

.pilot-aev-community-page__back {
    color: #3abaf4;
    text-decoration: none;
    font-size: 14px;
}

.pilot-aev-community-page__back:hover {
    text-decoration: underline;
}

.pilot-aev-vote-page__cta-label {
    margin: 0;
    font-size: 16px;
    color: #e5e7eb;
}

/* ═══════════════════════════════════════════════════════
   Mobile & tablet — iPhone / Android / iPad
   ═══════════════════════════════════════════════════════ */

.pilot-aev-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 870;
    background: rgba(4, 8, 16, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.pilot-aev-sidebar-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.pilot-aev-sidebar-open { overflow: hidden; }

.pilot-aev-table-wrap,
.pilot-aev-dash-boards__table-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

@media (max-width: 1100px) and (min-width: 641px) {
    .pilot-aev-dash > .pilot-aev-row:first-of-type > .pilot-aev-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .pilot-aev-dash-boards__widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pilot-aev-rankings-page__podium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pilot-aev-rankings-page__podium-card--1 { transform: none; }

    .pilot-aev-rankings-page__podium-card:last-child:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    body.pilot-aev-shell .pilot-main.main-content {
        padding: calc(var(--pilot-topbar-height) + 12px) 16px 24px;
    }

    body.pilot-aev-shell .pilot-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pilot-aev-topbar__clock { font-size: 15px; }

    .pilot-aev-user-greeting { display: none; }

    .pilot-aev-navbar .nav-link {
        padding: 8px 9px;
        font-size: 16px;
    }

    .pilot-aev-dash-boards__widgets {
        grid-template-columns: 1fr;
    }

    .pilot-aev-dash-flights-table { min-width: 680px; }

    .pilot-aev-dash-flights-table th:nth-child(6),
    .pilot-aev-dash-flights-table td:nth-child(6),
    .pilot-aev-dash-flights-table th:nth-child(8),
    .pilot-aev-dash-flights-table td:nth-child(8) {
        display: none;
    }

    .pilot-aev-rankings-page__stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pilot-aev-rankings-page__stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 140px;
    }

    .pilot-aev-schedules__map-wrap iframe {
        height: 300px;
        min-height: 260px;
    }

    .pilot-aev-profile-pic-img {
        width: 112px;
        height: 112px;
    }
}

@media (max-width: 480px) {
    body.pilot-aev-shell {
        --pilot-topbar-height: 60px;
    }

    .navbar-bg { height: 60px; }

    .pilot-aev-navbar {
        height: 60px;
        padding: 8px 12px;
        gap: 6px;
    }

    body.pilot-aev-shell .pilot-main.main-content {
        padding: calc(var(--pilot-topbar-height) + 10px) 12px 20px;
    }

    body.pilot-aev-shell .pilot-footer {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 12px;
    }

    .pilot-aev-topbar__clock {
        font-size: 13px;
        max-width: 108px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pilot-aev-topbar-lang { display: none; }

    .pilot-aev-navbar .nav-link {
        padding: 7px 8px;
        font-size: 15px;
    }

    .pilot-aev-dash > .pilot-aev-row:first-of-type > .pilot-aev-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-statsfpm4,
    .card-statstime4,
    .card-statsflights4,
    .card-statsmoney4 {
        height: 120px;
        min-height: 120px;
    }

    .pilot-aev-dash-flights-table { min-width: 0; width: 100%; }

    .pilot-aev-dash-flights-table th:nth-child(3),
    .pilot-aev-dash-flights-table td:nth-child(3),
    .pilot-aev-dash-flights-table th:nth-child(9),
    .pilot-aev-dash-flights-table td:nth-child(9),
    .pilot-aev-dash-flights-table th:nth-child(10),
    .pilot-aev-dash-flights-table td:nth-child(10) {
        display: none;
    }

    .pilot-aev-dash-flights-table__pilot span:not(.pilot-aev-dash-flights-table__avatar) {
        display: none;
    }

    .pilot-aev-dash .card-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pilot-aev-dash .card-header .card-header-action {
        margin-left: 0;
        width: 100%;
    }

    .pilot-aev-dash .card-header .card-header-action .btn {
        width: 100%;
        text-align: center;
    }

    .pilot-aev-rankings-page__stat {
        flex: 1 1 100%;
    }

    .pilot-aev-rankings-page__header {
        gap: 12px;
    }

    .pilot-aev-schedules__sidebar,
    .pilot-aev-schedules__results {
        padding: 12px;
    }

    .pilot-aev-schedules__map-wrap iframe {
        height: 240px;
        min-height: 220px;
    }

    .pilot-aev-account-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pilot-aev-account-banner form,
    .pilot-aev-account-banner .btn {
        width: 100%;
    }
}

@supports (padding: max(0px)) {
    body.pilot-aev-shell .pilot-aev-navbar {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    body.pilot-aev-shell .pilot-main.main-content {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .main-sidebar.pilot-bnv-sidebar,
    .main-sidebar.pilot-aev-sidebar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

