/* ==========================================================================
   AeroWing VA — dark glass-cockpit theme on top of Bootstrap 5.3
   ========================================================================== */

:root,
[data-bs-theme="dark"] {
    --aw-bg: #030d1c;
    --aw-bg-2: #05142a;
    --aw-surface: #071a33;
    --aw-surface-2: #0a2242;
    --aw-surface-3: #0e2b52;
    --aw-border: rgba(120, 180, 255, 0.16);
    --aw-border-strong: rgba(120, 180, 255, 0.32);
    --aw-text: #eaf3ff;
    --aw-muted: #93afd0;
    --aw-amber: #4cc3ff; /* brand accent (light blue; the name stays for the existing classes) */
    --aw-amber-hover: #7dd3ff;
    --aw-cyan: #22d3ee;
    --aw-green: #3ddc84;
    --aw-red: #ff5c6c;

    --aw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --aw-display: "Rajdhani", "Inter", system-ui, sans-serif;
    --aw-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --aw-radius: 14px;
    --aw-nav-h: 64px;
    --aw-sidebar-w: 248px;

    --bs-body-bg: var(--aw-bg);
    --bs-body-bg-rgb: 3, 13, 28;
    --bs-body-color: var(--aw-text);
    --bs-body-color-rgb: 230, 237, 247;
    --bs-body-font-family: var(--aw-font);
    --bs-secondary-color: var(--aw-muted);
    --bs-secondary-bg: var(--aw-surface);
    --bs-tertiary-bg: var(--aw-surface-2);
    --bs-emphasis-color: #fff;
    --bs-border-color: var(--aw-border);
    --bs-border-color-translucent: var(--aw-border);
    --bs-border-radius: 10px;
    --bs-border-radius-lg: var(--aw-radius);
    --bs-primary: var(--aw-amber);
    --bs-primary-rgb: 76, 195, 255;
    --bs-info: var(--aw-cyan);
    --bs-info-rgb: 34, 211, 238;
    --bs-success: var(--aw-green);
    --bs-success-rgb: 61, 220, 132;
    --bs-danger: var(--aw-red);
    --bs-danger-rgb: 255, 92, 108;
    --bs-link-color: var(--aw-cyan);
    --bs-link-color-rgb: 34, 211, 238;
    --bs-link-hover-color: #67e8f9;
    --bs-link-hover-color-rgb: 103, 232, 249;
    --bs-heading-color: #fff;
}

html { scroll-behavior: smooth; }

body.aw {
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(34, 211, 238, 0.07), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(76, 195, 255, 0.05), transparent 60%),
        var(--aw-bg);
    background-attachment: fixed;
    color: var(--aw-text);
    font-family: var(--aw-font);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--aw-display);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--aw-cyan); outline-offset: 2px; }
::selection { background: rgba(76, 195, 255, 0.35); color: #fff; }

/* ----- Utilities --------------------------------------------------------- */
.aw-mono { font-family: var(--aw-mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.aw-muted { color: var(--aw-muted) !important; }
.aw-amber { color: var(--aw-amber) !important; }
.aw-cyan { color: var(--aw-cyan) !important; }
.aw-good { color: var(--aw-green) !important; }
.aw-ok { color: #c9d5e8 !important; }
.aw-hard { color: var(--aw-red) !important; }
.aw-measure { max-width: 62ch; }
.aw-pre { white-space: pre-line; }
.min-w-0 { min-width: 0; }
.aw-row-muted td { opacity: 0.55; }
.aw-form-narrow { max-width: 760px; }
.aw-w-hours { width: 150px; }

.aw-kicker {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--aw-mono);
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--aw-amber);
    margin-bottom: 0.6rem;
}
.aw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aw-amber); box-shadow: 0 0 10px var(--aw-amber); }
.aw-dot-live { background: var(--aw-green); box-shadow: 0 0 10px var(--aw-green); animation: aw-pulse 1.6s ease-in-out infinite; }
@keyframes aw-pulse { 50% { opacity: 0.35; } }

.aw-h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; margin-bottom: 0.75rem; }
.aw-h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; margin-bottom: 0.5rem; }
.aw-page-intro { margin-bottom: 2rem; }

/* ----- Brand + navigation ------------------------------------------------ */
.aw-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff !important; text-decoration: none !important; }
/* Airline logo (blue); a soft glow keeps it readable on the dark navy background */
.aw-brand-logo { display: block; height: 38px; width: auto; filter: drop-shadow(0 0 7px rgba(76, 195, 255, 0.7)); }
.aw-brand-text { font-family: var(--aw-display); font-size: 1.45rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.aw-brand-va {
    font-family: var(--aw-mono); font-size: 0.68rem; color: var(--aw-amber);
    border: 1px solid rgba(76, 195, 255, 0.5); border-radius: 4px;
    padding: 2px 4px; margin-left: 6px; position: relative; top: -3px;
}

.aw-nav {
    min-height: var(--aw-nav-h);
    background: linear-gradient(90deg, #041124, #08214a) !important;
    border-bottom: 1px solid rgba(76, 195, 255, 0.22);
    box-shadow: 0 2px 14px rgba(0, 6, 20, 0.5);
}
.aw-nav .nav-link {
    color: #eaf3ff; font-weight: 500; font-size: 0.92rem;
    border-radius: 8px; padding: 0.45rem 0.65rem !important;
    display: flex; align-items: center; gap: 0.4rem; text-decoration: none; white-space: nowrap;
}
.aw-nav .btn { white-space: nowrap; }
/* The full menu shows from xl; up to 1600 px it is tight: hide the link icons there */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .aw-nav .navbar-nav > .nav-item > .nav-link:not(.aw-bell) > .bi { display: none; }
    .aw-nav .nav-link { padding: 0.45rem 0.5rem !important; }
}
.aw-nav .nav-link:hover, .aw-nav .nav-link:focus { color: #fff; background: rgba(255, 255, 255, 0.12); }
.aw-nav .nav-link.active { color: var(--aw-amber) !important; background: rgba(76, 195, 255, 0.12); }
.aw-nav .navbar-toggler { border-color: var(--aw-border-strong); }
@media (max-width: 1199.98px) { .aw-nav .navbar-collapse { padding: 0.75rem 0 0.5rem; } }

.aw-bell { position: relative; }
.aw-bell-count {
    position: absolute; top: 2px; left: 22px;
    min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 9px; background: var(--aw-amber); color: #0a0f1a;
    font: 700 0.65rem/17px var(--aw-mono); text-align: center;
}
@media (max-width: 1199.98px) { .aw-bell-count { position: static; } }

.aw-avatar {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 195, 255, 0.25), rgba(34, 211, 238, 0.25));
    border: 1px solid var(--aw-border-strong);
    color: #fff; font: 700 0.78rem/1 var(--aw-mono);
}
.aw-avatar-lg { width: 44px; height: 44px; font-size: 0.9rem; }

.aw-lang-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.65rem; border-radius: 8px;
    border: 1px solid var(--aw-border); color: var(--aw-muted); font-size: 0.8rem;
    text-decoration: none !important;
}
.aw-lang-pill.active, .aw-lang-pill:hover { color: #fff; border-color: var(--aw-border-strong); background: rgba(255, 255, 255, 0.04); }

/* ----- Bootstrap components --------------------------------------------- */
.btn { font-weight: 600; border-radius: 10px; letter-spacing: 0.01em; }
.btn:hover { text-decoration: none; }
.btn-primary {
    --bs-btn-bg: var(--aw-amber); --bs-btn-border-color: var(--aw-amber); --bs-btn-color: #0a0f1a;
    --bs-btn-hover-bg: var(--aw-amber-hover); --bs-btn-hover-border-color: var(--aw-amber-hover); --bs-btn-hover-color: #0a0f1a;
    --bs-btn-active-bg: #e89c10; --bs-btn-active-border-color: #e89c10; --bs-btn-active-color: #0a0f1a;
    --bs-btn-disabled-bg: var(--aw-amber); --bs-btn-disabled-border-color: var(--aw-amber); --bs-btn-disabled-color: #0a0f1a;
    box-shadow: 0 6px 22px -12px rgba(76, 195, 255, 0.8);
}
.btn-secondary {
    --bs-btn-bg: var(--aw-surface-3); --bs-btn-border-color: var(--aw-border-strong); --bs-btn-color: var(--aw-text);
    --bs-btn-hover-bg: #22314d; --bs-btn-hover-border-color: var(--aw-border-strong); --bs-btn-hover-color: #fff;
    --bs-btn-disabled-bg: var(--aw-surface-3); --bs-btn-disabled-border-color: var(--aw-border); --bs-btn-disabled-color: var(--aw-muted);
}
.btn-outline-secondary { --bs-btn-color: var(--aw-text); --bs-btn-border-color: var(--aw-border-strong); --bs-btn-hover-bg: var(--aw-surface-3); --bs-btn-hover-border-color: var(--aw-border-strong); --bs-btn-hover-color: #fff; }
.btn-outline-info {
    --bs-btn-color: var(--aw-cyan); --bs-btn-border-color: rgba(34, 211, 238, 0.5);
    --bs-btn-hover-bg: rgba(34, 211, 238, 0.12); --bs-btn-hover-border-color: var(--aw-cyan); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: rgba(34, 211, 238, 0.2); --bs-btn-active-color: #fff;
}
.btn-success { --bs-btn-bg: #1f9d5a; --bs-btn-border-color: #1f9d5a; --bs-btn-hover-bg: #23b366; --bs-btn-hover-border-color: #23b366; --bs-btn-color: #fff; --bs-btn-hover-color: #fff; }
.btn-outline-danger { --bs-btn-color: var(--aw-red); --bs-btn-border-color: rgba(255, 92, 108, 0.5); --bs-btn-hover-bg: rgba(255, 92, 108, 0.14); --bs-btn-hover-border-color: var(--aw-red); --bs-btn-hover-color: #fff; }
.btn-outline-warning { --bs-btn-color: var(--aw-amber); --bs-btn-border-color: rgba(76, 195, 255, 0.5); --bs-btn-hover-bg: rgba(76, 195, 255, 0.12); --bs-btn-hover-border-color: var(--aw-amber); --bs-btn-hover-color: #fff; }

.form-control, .form-select { background-color: var(--aw-bg-2); border-color: var(--aw-border-strong); color: var(--aw-text); }
.form-control:focus, .form-select:focus { background-color: var(--aw-bg-2); border-color: var(--aw-cyan); color: #fff; box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.18); }
.form-control::placeholder { color: #5f7090; }
.form-control::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.input-group-text { background: var(--aw-surface-2); border-color: var(--aw-border-strong); color: var(--aw-muted); }
.form-label { color: #c3cfe2; font-weight: 500; font-size: 0.88rem; }
.form-text { color: var(--aw-muted); }
.form-check-input { background-color: var(--aw-bg-2); border-color: var(--aw-border-strong); }
.form-check-input:checked { background-color: var(--aw-amber); border-color: var(--aw-amber); }
.text-uppercase::placeholder { text-transform: none; }

.table {
    --bs-table-bg: transparent; --bs-table-color: var(--aw-text); --bs-table-border-color: var(--aw-border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02); --bs-table-hover-bg: rgba(34, 211, 238, 0.05); --bs-table-hover-color: #fff;
}
.table > thead th {
    font-family: var(--aw-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--aw-muted); font-weight: 700; white-space: nowrap;
}
.aw-table td, .aw-table th { padding: 0.75rem 1rem; }
.aw-table tr:last-child td { border-bottom: 0; }
.aw-table td.aw-mono { white-space: nowrap; }
.aw-table tbody tr:hover td { background: rgba(34, 211, 238, 0.035); }

.dropdown-menu {
    --bs-dropdown-bg: var(--aw-surface-2); --bs-dropdown-border-color: var(--aw-border-strong);
    --bs-dropdown-link-color: var(--aw-text); --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.06); --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-active-bg: rgba(76, 195, 255, 0.15); --bs-dropdown-link-active-color: var(--aw-amber);
    --bs-dropdown-divider-bg: var(--aw-border); --bs-dropdown-header-color: var(--aw-amber);
    border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
}
.dropdown-item { display: flex; align-items: center; gap: 0.5rem; }
.dropdown-item:hover { text-decoration: none; }

.nav-pills { --bs-nav-pills-link-active-bg: rgba(76, 195, 255, 0.15); --bs-nav-pills-link-active-color: var(--aw-amber); }
.nav-pills .nav-link { color: #c3cfe2; border: 1px solid var(--aw-border); padding: 0.35rem 0.8rem; font-size: 0.88rem; }
.nav-pills .nav-link:hover { text-decoration: none; color: #fff; }
.nav-pills .nav-link.active { border-color: rgba(76, 195, 255, 0.45); }

.pagination {
    --bs-pagination-bg: var(--aw-surface); --bs-pagination-border-color: var(--aw-border); --bs-pagination-color: var(--aw-text);
    --bs-pagination-hover-bg: var(--aw-surface-3); --bs-pagination-hover-color: #fff; --bs-pagination-hover-border-color: var(--aw-border-strong);
    --bs-pagination-active-bg: var(--aw-amber); --bs-pagination-active-border-color: var(--aw-amber); --bs-pagination-active-color: #0a0f1a;
    --bs-pagination-disabled-bg: var(--aw-surface); --bs-pagination-disabled-color: #4a5a75; --bs-pagination-disabled-border-color: var(--aw-border);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.18);
}
.page-link:hover { text-decoration: none; }

.alert { border-radius: 12px; border-width: 1px; }
.alert-success { --bs-alert-bg: rgba(61, 220, 132, 0.1); --bs-alert-border-color: rgba(61, 220, 132, 0.35); --bs-alert-color: #b8f5d3; }
.alert-danger { --bs-alert-bg: rgba(255, 92, 108, 0.1); --bs-alert-border-color: rgba(255, 92, 108, 0.35); --bs-alert-color: #ffc4ca; }
.alert-warning { --bs-alert-bg: rgba(76, 195, 255, 0.1); --bs-alert-border-color: rgba(76, 195, 255, 0.35); --bs-alert-color: #ffe0a6; }
.alert-info { --bs-alert-bg: rgba(34, 211, 238, 0.08); --bs-alert-border-color: rgba(34, 211, 238, 0.3); --bs-alert-color: #bff3fb; }
.invalid-feedback { color: #ff8a96; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--aw-red); }

.progress { background: var(--aw-surface-3); height: 10px; border-radius: 6px; }
.progress-bar { background: linear-gradient(90deg, var(--aw-amber), var(--aw-cyan)); width: 0; transition: width 0.8s ease; }
hr { border-color: var(--aw-border); opacity: 1; }
code { color: var(--aw-cyan); }

.offcanvas { --bs-offcanvas-bg: var(--aw-bg-2); --bs-offcanvas-border-color: var(--aw-border); --bs-offcanvas-width: 280px; }

.modal {
    --bs-modal-bg: var(--aw-surface);
    --bs-modal-border-color: var(--aw-border-strong);
    --bs-modal-border-radius: var(--aw-radius);
    --bs-modal-footer-border-color: var(--aw-border);
    --bs-modal-color: var(--aw-text);
}
.modal-backdrop { --bs-backdrop-bg: #02050b; --bs-backdrop-opacity: 0.78; }

/* Home page legal disclaimer */
.aw-disclaimer .modal-content { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(76, 195, 255, 0.12); overflow: hidden; }
.aw-disclaimer-section { padding: 1.25rem 1.5rem 0.5rem; }
.aw-disclaimer-section + .aw-disclaimer-section { border-top: 1px solid var(--aw-border); }
.aw-disclaimer-title {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.05em;
    padding-bottom: 0.75rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--aw-border);
}
.aw-disclaimer-title i { color: var(--aw-amber); }
.aw-disclaimer-section p { color: #c9d5e8; line-height: 1.65; margin-bottom: 0.9rem; }
.aw-disclaimer .modal-footer { background: rgba(0, 0, 0, 0.18); }

/* ----- Panels, tiles, lists ---------------------------------------------- */
.aw-panel {
    background: linear-gradient(180deg, rgba(18, 27, 45, 0.92), rgba(13, 20, 34, 0.92));
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 40px -26px rgba(0, 0, 0, 0.9);
}
.aw-panel-head {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--aw-border);
    font-family: var(--aw-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.aw-panel-head i { color: var(--aw-amber); }
.aw-panel-head > span { display: inline-flex; align-items: center; gap: 0.5rem; }

.aw-tile {
    display: flex; flex-direction: column; gap: 0.35rem; height: 100%;
    padding: 1rem 1.15rem; border-radius: var(--aw-radius);
    background: linear-gradient(180deg, #0f1828, #0b1220);
    border: 1px solid var(--aw-border);
    color: var(--aw-text);
}
a.aw-tile-link { text-decoration: none !important; transition: border-color 0.2s; }
a.aw-tile-link:hover { border-color: var(--aw-border-strong); }
.aw-tile-alert { border-color: rgba(76, 195, 255, 0.5); box-shadow: 0 0 0 1px rgba(76, 195, 255, 0.15), 0 0 24px -8px rgba(76, 195, 255, 0.4); }
.aw-tile-label { font-family: var(--aw-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); }
.aw-tile-value {
    font-family: var(--aw-mono); font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); font-weight: 700;
    color: var(--aw-green); text-shadow: 0 0 16px rgba(61, 220, 132, 0.3); font-variant-numeric: tabular-nums;
}
.aw-tile-value small { font-size: 0.55em; color: var(--aw-muted); text-shadow: none; margin-left: 3px; }
.aw-tile-value.aw-amber { text-shadow: 0 0 16px rgba(76, 195, 255, 0.3); }
.aw-tile-text { font-family: var(--aw-display); color: #fff; text-shadow: none; font-size: 1.35rem; }
.aw-tile-sub { font-family: var(--aw-mono); font-size: 0.78rem; color: var(--aw-muted); }

.aw-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem 1.5rem; margin: 1.25rem 0; }
.aw-specs-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.aw-specs dt { font-family: var(--aw-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); font-weight: 700; margin-bottom: 0.15rem; }
.aw-specs dd { margin: 0; }

.aw-empty { padding: 2.5rem 1.25rem; text-align: center; color: var(--aw-muted); }
.aw-empty i { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; color: rgba(140, 180, 230, 0.35); }

.aw-pilot {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--aw-border);
    color: var(--aw-text); text-decoration: none !important;
}
.aw-pilot:last-child { border-bottom: 0; }
a.aw-pilot:hover { background: rgba(255, 255, 255, 0.03); }
.aw-pilot-name { font-weight: 600; color: #fff; }

.aw-booking { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--aw-border); }
.aw-booking:last-child { border-bottom: 0; }

.aw-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 1.1rem; }
.aw-badge-item {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.4rem 0.7rem; border-radius: 999px;
    background: rgba(76, 195, 255, 0.08); border: 1px solid rgba(76, 195, 255, 0.3);
    font-size: 0.82rem; color: #ffe0a6;
}
.aw-badge-item i { color: var(--aw-amber); }

.aw-status {
    display: inline-block; padding: 0.22rem 0.55rem; border-radius: 6px;
    font: 700 0.68rem/1.2 var(--aw-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.aw-status-ok { color: var(--aw-green); background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.3); }
.aw-status-wait { color: var(--aw-amber); background: rgba(76, 195, 255, 0.1); border: 1px solid rgba(76, 195, 255, 0.3); }
.aw-status-bad { color: var(--aw-red); background: rgba(255, 92, 108, 0.1); border: 1px solid rgba(255, 92, 108, 0.3); }
.aw-status-neutral { color: var(--aw-muted); background: rgba(140, 180, 230, 0.08); border: 1px solid var(--aw-border); }

.aw-note { padding: 0.8rem 1rem; border-radius: 10px; background: rgba(34, 211, 238, 0.06); border: 1px solid rgba(34, 211, 238, 0.25); }
.aw-note-bad { background: rgba(255, 92, 108, 0.07); border-color: rgba(255, 92, 108, 0.3); }
.aw-review { border-color: rgba(76, 195, 255, 0.45); }

.aw-notif { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--aw-border); }
.aw-notif:last-child { border-bottom: 0; }
.aw-notif-new { background: rgba(76, 195, 255, 0.05); box-shadow: inset 3px 0 0 var(--aw-amber); }
.aw-notif-icon { font-size: 1.3rem; }

/* Route display (booking, PIREP) */
.aw-route-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.aw-route-code { font-family: var(--aw-mono); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.aw-route-hero-sm .aw-route-code { font-size: 1.5rem; }
.aw-route-line { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--aw-border-strong) 0 8px, transparent 8px 14px); }
.aw-route-line i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); color: var(--aw-amber); background: var(--aw-surface-2); padding: 0 0.4rem; font-size: 1.1rem; }
.aw-route-string { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--aw-bg-2); border: 1px solid var(--aw-border); word-break: break-word; white-space: pre-wrap; }
.aw-block-out { display: flex; align-items: center; height: 38px; font-size: 1.15rem; font-weight: 700; color: var(--aw-green); }

.aw-filter { padding: 1.1rem; }
.aw-reg { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--aw-mono); font-size: 0.8rem; padding: 0.25rem 0.55rem; border-radius: 6px; background: var(--aw-bg-2); border: 1px solid var(--aw-border); }
.aw-type-card { padding: 1.4rem; }
.aw-type-icon { font-size: 1.8rem; color: var(--aw-cyan); }

.aw-prose { padding: 1.5rem; }
.aw-prose ul { padding-left: 1.1rem; margin-bottom: 0; }
.aw-prose li { margin-bottom: 0.45rem; color: #c9d5e8; }
.aw-prose li::marker { color: var(--aw-amber); }
.aw-prose p { color: #c9d5e8; line-height: 1.7; }

.aw-feature { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--aw-radius); border: 1px solid var(--aw-border); background: var(--aw-surface); }
.aw-feature > i { font-size: 1.4rem; color: var(--aw-cyan); }
.aw-feature-name { font-family: var(--aw-display); font-weight: 700; font-size: 1.15rem; color: #fff; }

/* ----- Home -------------------------------------------------------------- */
.aw-hero { position: relative; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(4.5rem, 3rem + 4vw, 7rem); overflow: hidden; border-bottom: 1px solid var(--aw-border); }
.aw-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(140, 180, 230, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 180, 230, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.aw-hero-title { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1.02; margin-bottom: 1.25rem; text-wrap: balance; }
.aw-hero-text { font-size: 1.08rem; color: #b9c6da; max-width: 56ch; line-height: 1.65; }
.aw-ivao-note { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--aw-muted); }
.aw-ivao-note i { color: var(--aw-cyan); }

.aw-pfd { max-width: 520px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.08)); }
.aw-pfd svg { width: 100%; height: auto; display: block; }
.aw-adi { transform-box: view-box; transform-origin: 220px 150px; animation: aw-roll 9s ease-in-out infinite; }
@keyframes aw-roll { 0%, 100% { transform: rotate(-4deg) translateY(4px); } 50% { transform: rotate(5deg) translateY(-6px); } }

.aw-stats-wrap { margin-top: -2.75rem; position: relative; z-index: 2; }
.aw-stats {
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: linear-gradient(180deg, #0f1828, #0b1220);
    border: 1px solid var(--aw-border-strong); border-radius: var(--aw-radius);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.95); overflow: hidden;
}
.aw-stat { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; border-right: 1px solid var(--aw-border); }
.aw-stat:last-child { border-right: 0; }
.aw-stat-label { font-family: var(--aw-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); }
.aw-stat-value { font-family: var(--aw-mono); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 700; color: var(--aw-green); text-shadow: 0 0 18px rgba(61, 220, 132, 0.35); font-variant-numeric: tabular-nums; }
.aw-stat-value small { font-size: 0.55em; color: var(--aw-muted); text-shadow: none; margin-left: 2px; }
@media (max-width: 767.98px) {
    .aw-stats { grid-template-columns: repeat(2, 1fr); }
    .aw-stat { border-bottom: 1px solid var(--aw-border); }
    .aw-stat:nth-child(2n) { border-right: 0; }
    .aw-stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

.aw-section { padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.aw-step { padding: 1.5rem; border-radius: var(--aw-radius); border: 1px solid var(--aw-border); background: var(--aw-surface); position: relative; overflow: hidden; }
.aw-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--aw-amber), transparent); }
.aw-step-icon { font-size: 1.6rem; color: var(--aw-amber); }
.aw-step-no { color: rgba(140, 180, 230, 0.35); font-size: 1.4rem; font-weight: 700; }
.aw-step-title { font-size: 1.3rem; margin-bottom: 0.4rem; }

.aw-cta {
    margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 2rem clamp(1.5rem, 1rem + 2vw, 3rem);
    border-radius: calc(var(--aw-radius) + 6px); border: 1px solid rgba(76, 195, 255, 0.35);
    background:
        radial-gradient(600px 200px at 0% 0%, rgba(76, 195, 255, 0.14), transparent 70%),
        radial-gradient(600px 200px at 100% 100%, rgba(34, 211, 238, 0.12), transparent 70%),
        var(--aw-surface);
}

/* ----- Live map ---------------------------------------------------------- */
.aw-live-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.aw-live-map-wrap { position: relative; }
.aw-live-map { height: clamp(320px, 52vh, 540px); background: #0b1324; }
/* Turn the light OpenStreetMap tiles into a dark, low-saturation night map */
.aw-route-map .leaflet-tile-pane { filter: invert(100%) hue-rotate(195deg) brightness(88%) contrast(88%) saturate(55%); }
.aw-live-empty {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 500;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    width: min(90%, 420px); padding: 1.1rem 1.4rem; text-align: center;
    background: rgba(7, 11, 20, 0.82); border: 1px solid var(--aw-border-strong); border-radius: 12px;
    color: #c9d5e8; font-size: 0.92rem; pointer-events: none;
}
.aw-live-empty[hidden] { display: none; }
.aw-live-empty i { font-size: 1.6rem; color: var(--aw-amber); }
.aw-live-list { border-top: 1px solid var(--aw-border); max-height: 280px; overflow-y: auto; }
.aw-live-list tbody tr { cursor: pointer; }
.aw-live-rank { vertical-align: -2px; }
.aw-live-rank-label { display: inline-block; padding: 0 0.3rem; border-radius: 3px; background: #0d1b2e; border: 1px solid #2c4566; color: #e6b84a; font-size: 0.65rem; font-weight: 700; }
.aw-live-progress-cell { min-width: 110px; white-space: nowrap; }
.aw-live-progress { display: inline-block; width: 64px; height: 6px; margin-right: 0.4rem; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; vertical-align: middle; }
.aw-live-progress > span { display: block; height: 100%; border-radius: 3px; background: var(--aw-green); }

.aw-plane { background: none; border: 0; }
.aw-plane span { display: block; width: 26px; height: 26px; color: var(--aw-amber); filter: drop-shadow(0 0 4px rgba(76, 195, 255, 0.7)); transition: transform 0.6s ease; }
.aw-plane svg { display: block; fill: currentColor; }
.aw-plane-offline span { color: var(--aw-cyan); filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.7)); }
.aw-plane-ground span { color: #9fb3cf; filter: none; }

/* ----- ACARS report on PIREP pages --------------------------------------- */
.aw-acars-top { display: grid; grid-template-columns: minmax(170px, 220px) 1fr; gap: 1.25rem 1.5rem; align-items: center; }
.aw-acars-landing { padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid currentColor; background: rgba(255, 255, 255, 0.03); }
.aw-acars-landing .aw-tile-label { color: inherit; opacity: 0.85; }
.aw-acars-landing.aw-ok { color: var(--aw-amber) !important; }
.aw-acars-rate { font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.aw-acars-rate span { font-size: 1rem; font-weight: 500; opacity: 0.8; }
.aw-acars-specs { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.aw-route-map { height: clamp(240px, 38vh, 380px); border-radius: 10px; border: 1px solid var(--aw-border); background: #0b1324; }
.aw-pilot-map { height: clamp(300px, 48vh, 480px); }
/* Pilot Passport: the "flights map" look; its tiles are dark already, so no inverting */
.aw-passport-map { height: clamp(320px, 52vh, 520px); background: #262626; }
.aw-passport-map-dash { height: clamp(260px, 38vh, 380px); }
/* Pilot dashboard: no wider than this on very large screens */
.aw-dash { max-width: 1600px; }
.aw-passport-map .leaflet-tile-pane { filter: none; }
.aw-map-pin { background: none; border: 0; }
.aw-map-pin svg { display: block; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.6)); }
.aw-map-pin path { fill: #3d8fd6; stroke: #0b1324; stroke-width: 1.2; }
.aw-map-pin circle { fill: #0b1324; }
.aw-map-pin-base path { fill: #2fbf4a; }
.aw-passport-map .leaflet-control-layers { background: #f4f6f9; color: #1a2233; border-radius: 6px; }
.aw-dash-pass .aw-bpass { margin: 0 auto; }
.aw-timeline, .aw-notice-list { list-style: none; padding: 0; margin: 0; }
.aw-timeline li, .aw-notice-list li { padding: 0.32rem 0; border-bottom: 1px dashed var(--aw-border); font-size: 0.92rem; }
.aw-timeline li:last-child, .aw-notice-list li:last-child { border-bottom: 0; }
.aw-timeline { max-height: 360px; overflow-y: auto; }
@media (max-width: 575.98px) {
    .aw-acars-top { grid-template-columns: 1fr; }
    .aw-acars-rate { font-size: 2.2rem; }
}

/* Online (IVAO) / offline labels, used on the map and in flight lists */
.aw-net-badge {
    display: inline-block; padding: 0.12rem 0.42rem; border-radius: 5px; vertical-align: middle;
    font: 700 0.62rem/1.3 var(--aw-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.aw-net-ivao { color: var(--aw-amber); background: rgba(76, 195, 255, 0.12); border: 1px solid rgba(76, 195, 255, 0.35); }
.aw-net-offline { color: var(--aw-cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35); }
.aw-live-legend { display: inline-flex; flex-wrap: wrap; gap: 0.9rem; color: var(--aw-muted); }
.aw-live-legend > span { display: inline-flex; align-items: center; gap: 0.35rem; }
.aw-legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.aw-legend-ivao { background: var(--aw-amber); box-shadow: 0 0 6px var(--aw-amber); }
.aw-legend-offline { background: var(--aw-cyan); box-shadow: 0 0 6px var(--aw-cyan); }
.aw-legend-ground { background: #9fb3cf; }

.leaflet-container { font-family: var(--aw-font); background: #0b1324; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--aw-surface-2); color: var(--aw-text); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.9); }
.leaflet-popup-content-wrapper { border: 1px solid var(--aw-border-strong); border-radius: 10px; }
.leaflet-popup-content { margin: 0.75rem 0.9rem; }
.leaflet-container a.leaflet-popup-close-button { color: var(--aw-muted); }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--aw-surface-2); color: #fff; border-bottom-color: var(--aw-border); }
.leaflet-bar { border: 1px solid var(--aw-border-strong) !important; }
.leaflet-control-attribution { background: rgba(7, 11, 20, 0.72) !important; color: var(--aw-muted) !important; }
.leaflet-control-attribution a { color: #9fb3cf !important; }
.aw-pop-cs { font: 700 1rem var(--aw-mono); color: var(--aw-amber); }
.aw-pop-pilot { font-weight: 600; color: #fff; margin-top: 0.1rem; }
.aw-pop-route { font-family: var(--aw-mono); margin-top: 0.35rem; }
.aw-pop-data { font-family: var(--aw-mono); font-size: 0.8rem; color: var(--aw-muted); margin-top: 0.15rem; }

/* ----- Footer ------------------------------------------------------------ */
.aw-footer { border-top: 1px solid var(--aw-border); background: rgba(5, 8, 15, 0.7); }
.aw-footer-title { font-family: var(--aw-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-amber); margin-bottom: 0.9rem; }
.aw-footer-links li { margin-bottom: 0.45rem; }
.aw-footer-links a { color: #c3cfe2; }
.aw-footer-links a:hover { color: #fff; }
.aw-footer-bottom { border-top: 1px solid var(--aw-border); font-size: 0.85rem; color: var(--aw-muted); }

/* IVAO logos: official artwork on white tiles, so the colours stay as designed */
.aw-ivao-strip { padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--aw-border); }
.aw-ivao-label {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem;
    font-family: var(--aw-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-muted);
}
.aw-ivao-label i { color: var(--aw-cyan); font-size: 1rem; }
/* Three fixed slots (left / centre / right); the centre one stays centred even when a side is empty */
.aw-ivao-logos { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; }
.aw-ivao-left { grid-column: 1; justify-self: start; }
.aw-ivao-center { grid-column: 2; justify-self: center; }
.aw-ivao-right { grid-column: 3; justify-self: end; }
.aw-ivao-logo {
    display: inline-flex; align-items: center; height: 58px; padding: 9px 16px;
    background: #fff; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.2s, box-shadow 0.2s;
}
.aw-ivao-logo img { display: block; height: 40px; width: auto; }
.aw-ivao-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(34, 211, 238, 0.6); }
@media (max-width: 575.98px) {
    .aw-ivao-logos { gap: 0.4rem; }
    .aw-ivao-logo { height: 42px; padding: 6px 9px; border-radius: 8px; }
    .aw-ivao-logo img { height: 28px; }
}
@media (max-width: 379.98px) {
    .aw-ivao-logo { height: 36px; padding: 5px 7px; }
    .aw-ivao-logo img { height: 22px; }
}

/* ----- Panel layout (pilot + admin) -------------------------------------- */
.aw-shell { display: flex; min-height: calc(100vh - var(--aw-nav-h)); }
.aw-sidebar { flex: none; }
@media (min-width: 992px) {
    .aw-sidebar {
        width: var(--aw-sidebar-w);
        position: sticky; top: var(--aw-nav-h); height: calc(100vh - var(--aw-nav-h)); overflow-y: auto;
        border-right: 1px solid var(--aw-border); background: rgba(5, 8, 15, 0.55);
        padding: 1.25rem 0.85rem;
    }
    .aw-sidebar .offcanvas-header { display: none; }
}
.aw-side-group { margin-bottom: 1.5rem; }
.aw-side-label { font-family: var(--aw-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-amber); padding: 0 0.75rem; margin-bottom: 0.5rem; }
.aw-side-link {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.55rem 0.75rem; border-radius: 9px;
    color: #c3cfe2; font-size: 0.92rem; font-weight: 500; text-decoration: none !important;
}
.aw-side-link i { font-size: 1.05rem; color: var(--aw-muted); }
.aw-side-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.aw-side-link.active { background: rgba(76, 195, 255, 0.1); color: var(--aw-amber); box-shadow: inset 2px 0 0 var(--aw-amber); }
.aw-side-link.active i { color: var(--aw-amber); }
.aw-side-count { margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--aw-amber); color: #0a0f1a; font: 700 0.7rem/20px var(--aw-mono); text-align: center; }

.aw-main { flex: 1; min-width: 0; padding: 1.5rem clamp(1rem, 0.5rem + 2vw, 2.25rem) 3rem; }
.aw-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.aw-page-title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0; }

/* ----- Auth / error ------------------------------------------------------ */
body.aw-auth > .aw-grid-bg { position: fixed; }
.aw-auth-col { max-width: 640px; }
.aw-auth-card { max-width: 460px; margin: 0 auto; }
.aw-auth-card-wide { max-width: 640px; }
.aw-auth-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem; border-top: 1px solid var(--aw-border);
    background: rgba(0, 0, 0, 0.18); border-radius: 0 0 var(--aw-radius) var(--aw-radius);
}
.aw-error-code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; color: var(--aw-amber); line-height: 1; text-shadow: 0 0 40px rgba(76, 195, 255, 0.35); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ----- ACARS download page ----------------------------------------------- */
.aw-download { position: sticky; top: 5.5rem; }
.aw-download-version { font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.aw-download-soon { font-family: var(--aw-display); font-size: 1.25rem; font-weight: 700; color: #fff; }
.aw-check-list { list-style: none; padding: 0; margin: 0; }
.aw-check-list li { position: relative; padding: 0.22rem 0 0.22rem 1.4rem; color: #c9d5e8; }
.aw-check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0.22rem; color: var(--aw-green); }
@media (max-width: 991.98px) { .aw-download { position: static; } }

/* SimBrief plan summary (bookings, dispatch page) */
.aw-sb-row td { border-top: 0; padding-top: 0; }
.aw-sb-route { word-break: break-word; margin-bottom: 0.35rem; }
.aw-sb-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }

/* Home: "this month" under each headline number, pilots of the day */
.aw-stat-month { display: block; font-size: 0.72rem; color: var(--aw-muted); margin-top: 0.15rem; }
.aw-top-col + .aw-top-col { border-left: 1px solid var(--aw-border); }
@media (max-width: 767.98px) { .aw-top-col + .aw-top-col { border-left: 0; border-top: 1px solid var(--aw-border); } }
.aw-top-list { list-style: none; counter-reset: top; margin: 0; padding: 0.4rem 1rem 0.9rem; }
.aw-top-list li { counter-increment: top; display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--aw-border); }
.aw-top-list li:last-child { border-bottom: 0; }
.aw-top-list li::before { content: counter(top); color: var(--aw-muted); font-family: var(--aw-mono); width: 1.2rem; flex: none; }
.aw-top-list li > span:first-of-type { flex: 1; min-width: 0; }

/* NOTAMs and events */
.aw-notam { display: block; padding: 0.8rem 1.1rem; border-top: 1px solid var(--aw-border); color: inherit; text-decoration: none; }
.aw-notam:hover { background: rgba(255, 255, 255, 0.025); }
.aw-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aw-notam-body { white-space: normal; line-height: 1.6; }
.aw-event { display: flex; gap: 0.9rem; align-items: center; padding: 0.75rem 0.9rem; border: 1px solid var(--aw-border); border-radius: 10px; color: inherit; text-decoration: none; background: rgba(255, 255, 255, 0.02); }
.aw-event:hover { border-color: var(--aw-border-strong); }
.aw-event-date { display: grid; place-items: center; min-width: 3.2rem; padding: 0.35rem; border-radius: 8px; background: rgba(76, 195, 255, 0.08); color: var(--aw-amber, #4cc3ff); line-height: 1.1; }
.aw-event-date span { font-size: 1.35rem; font-weight: 700; }
.aw-event-date small { font-size: 0.7rem; opacity: 0.85; }
.aw-event-title { font-weight: 600; }
.aw-measure-wide { max-width: 900px; }

/* Tours, flight of the week, "Serbest Uçuş" in the menu */
.aw-legs { list-style: none; margin: 0; padding: 0; }
.aw-legs li { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--aw-border); }
.aw-legs li.is-done { opacity: 0.75; }
.aw-legs li.is-next { background: rgba(76, 195, 255, 0.06); }
.aw-leg-no { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--aw-border-strong); font-size: 0.8rem; }
.aw-legs li.is-done .aw-leg-no { border-color: currentColor; }
.aw-card-link { color: inherit; text-decoration: none; }
.aw-card-link:hover { border-color: var(--aw-border-strong); }
.aw-fotw { border-color: rgba(76, 195, 255, 0.35); background: linear-gradient(90deg, rgba(76, 195, 255, 0.08), transparent 60%); }
.aw-nav-free { color: var(--aw-amber, #4cc3ff) !important; font-weight: 600; }

/* Screenshot contest */
.aw-shot { margin: 0; border: 1px solid var(--aw-border); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.aw-shot.is-voted { border-color: rgba(76, 195, 255, 0.55); }
.aw-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.aw-shot figcaption { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; }
.aw-shot-title { font-weight: 600; }
.aw-shot-month img { max-height: 380px; object-fit: cover; }

/* Blue theme: Canada Air style home hero (photo slider with a caption box) and stats strip */
.aw-nav .aw-nav-free { color: var(--aw-amber) !important; background: rgba(76, 195, 255, 0.12); }
.aw-nav .btn-primary { background: var(--aw-amber); border-color: var(--aw-amber); color: #031226; }
.aw-nav .btn-primary:hover { background: var(--aw-amber-hover); border-color: var(--aw-amber-hover); color: #031226; }
.aw-hero-photo { position: relative; min-height: clamp(380px, 58vh, 620px); display: flex; align-items: center; overflow: hidden; background: #061a36; }
.aw-hero-slides { position: absolute; inset: 0; }
.aw-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.aw-hero-img.is-active { opacity: 1; }
.aw-hero-fallback { background: radial-gradient(1200px 500px at 70% 10%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(180deg, #1d5fa3 0%, #0f3f78 45%, #061a36 100%); }
.aw-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 19, 39, 0.15) 0%, rgba(5, 19, 39, 0.35) 60%, rgba(5, 19, 39, 0.85) 100%); }
.aw-hero-inner { display: flex; justify-content: center; padding: 3rem 1rem; }
.aw-hero-box { max-width: 760px; text-align: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 16px; background: rgba(8, 30, 60, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.aw-hero-box .aw-hero-text { margin: 0 auto; color: #dbe9ff; }
.aw-hero-box .aw-kicker { justify-content: center; }
.aw-hero-caption { position: absolute; right: 1rem; bottom: 0.9rem; max-width: min(70ch, 80%); font-size: 0.8rem; color: #e5f0ff; background: rgba(5, 19, 39, 0.55); padding: 0.3rem 0.65rem; border-radius: 6px; }
.aw-hero-credit { opacity: 0.8; }
.aw-hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(5, 19, 39, 0.45); color: #fff; display: grid; place-items: center; }
.aw-hero-nav:hover { background: rgba(5, 19, 39, 0.7); }
.aw-hero-prev { left: 1rem; } .aw-hero-next { right: 1rem; }
.aw-hero-dots { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: 0.45rem; }
.aw-hero-dots button { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.45); }
.aw-hero-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 575.98px) { .aw-hero-nav { display: none; } }
.aw-home .aw-stats-wrap { max-width: none; padding: 0; margin: 0; background: #061730; border-bottom: 1px solid var(--aw-border); }
.aw-home .aw-stats { max-width: 1140px; margin: 0 auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.aw-home .aw-stat { text-align: center; align-items: center; }
.aw-hero-thumb { aspect-ratio: 16 / 7; object-fit: cover; }
.aw-home .aw-stat-value { color: #fff; }
.aw-footer .aw-ivao-strip { border-top: 0; padding-top: 1.5rem; }

/* Rank insignia */
.aw-insignia { display: block; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
.aw-insignia-md { width: 120px; }
.aw-insignia-sm { width: 84px; }
.aw-rank-table td { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.aw-rank-search { max-width: 220px; }
.aw-insignia-fields input[type=number] { width: 4rem; }
/* Event cards shrink with their panel; a long title wraps to two lines instead of overflowing */
.aw-event { min-width: 0; max-width: 100%; }
.aw-event > .min-w-0 { flex: 1; }
.aw-event-title { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.d-grid > .aw-event { min-width: 0; }

/* Useful links */
.aw-link-card:hover { border-color: var(--aw-border-strong); background: var(--aw-surface-2); }

/* Boarding pass */
.aw-bpass { display: grid; grid-template-columns: 1fr 260px; max-width: 980px; border-radius: 18px; overflow: hidden; border: 1px solid var(--aw-border-strong); background: linear-gradient(135deg, #0b2a52 0%, #071a33 60%); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.aw-bpass-main { position: relative; padding: 1.6rem 1.8rem; }
.aw-bpass-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.aw-bpass-tag { font-family: var(--aw-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aw-amber); border: 1px solid rgba(76, 195, 255, 0.4); padding: 0.25rem 0.6rem; border-radius: 6px; }
.aw-bpass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0.8rem 0 1.1rem; border-bottom: 1px dashed var(--aw-border-strong); }
.aw-bpass-icao { font-family: var(--aw-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; line-height: 1; color: #fff; }
.aw-bpass-city { font-size: 0.85rem; color: var(--aw-muted); }
.aw-bpass-plane { font-size: 1.8rem; color: var(--aw-amber); transform: rotate(90deg); }
.aw-bpass-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem 1.2rem; margin: 1.1rem 0 0.8rem; }
.aw-bpass-grid dt { font-family: var(--aw-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); font-weight: 600; }
.aw-bpass-grid dd { margin: 0; font-weight: 600; color: #fff; }
.aw-bpass-gate dd { font-size: 1.6rem; color: var(--aw-amber); }
.aw-bpass-wide { grid-column: span 4; }
.aw-bpass-note { margin: 0; font-size: 0.85rem; color: #bcd3f0; }
.aw-bpass-stub { position: relative; padding: 1.4rem 1.3rem; background: rgba(255, 255, 255, 0.04); border-left: 2px dashed var(--aw-border-strong); display: flex; flex-direction: column; gap: 0.6rem; }
.aw-bpass-stub::before, .aw-bpass-stub::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--aw-bg); border: 1px solid var(--aw-border-strong); }
.aw-bpass-stub::before { top: -13px; } .aw-bpass-stub::after { bottom: -13px; }
.aw-bpass-stub-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: 0.8rem; color: var(--aw-muted); }
.aw-bpass-stub-row strong { color: #fff; }
.aw-bpass-big { font-size: 1.6rem; color: var(--aw-amber) !important; }
.aw-bpass-barcode { width: 100%; height: 58px; color: #eaf3ff; margin-top: auto; }
/* Once boarded the stub is torn off along the perforation */
.aw-bpass.is-torn { --aw-bpass-tear: translate(8px, 12px) rotate(-2deg); overflow: visible; border: 0; background: none; box-shadow: none; padding: 0 26px 18px 0; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45)); }
.aw-bpass.is-torn .aw-bpass-main,
.aw-bpass.is-torn .aw-bpass-stub { background: linear-gradient(135deg, #0b2a52 0%, #071a33 60%); border: 1px solid var(--aw-border-strong); }
.aw-bpass.is-torn .aw-bpass-main { border-radius: 18px 0 0 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 3%, calc(100% - 1px) 7%, calc(100% - 8px) 11%, calc(100% - 3px) 16%, calc(100% - 9px) 20%, calc(100% - 2px) 25%, calc(100% - 7px) 30%, calc(100% - 1px) 35%, calc(100% - 9px) 40%, calc(100% - 4px) 45%, calc(100% - 8px) 50%, calc(100% - 2px) 55%, calc(100% - 6px) 60%, calc(100% - 1px) 65%, calc(100% - 9px) 70%, calc(100% - 3px) 75%, calc(100% - 7px) 80%, calc(100% - 2px) 85%, calc(100% - 8px) 90%, calc(100% - 3px) 95%, 100% 100%, 0 100%); }
.aw-bpass.is-torn .aw-bpass-stub { border-radius: 0 18px 18px 0; clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 6px 95%, 1px 90%, 7px 85%, 2px 80%, 6px 75%, 0px 70%, 8px 65%, 3px 60%, 7px 55%, 1px 50%, 5px 45%, 0px 40%, 8px 35%, 2px 30%, 7px 25%, 0px 20%, 6px 16%, 1px 11%, 8px 7%, 3px 3%); transform: var(--aw-bpass-tear); transform-origin: 0 0; }
.aw-bpass.is-torn .aw-bpass-stub::before, .aw-bpass.is-torn .aw-bpass-stub::after { display: none; }
.aw-bpass.is-tearing .aw-bpass-stub { animation: aw-bpass-tear 1.1s cubic-bezier(0.3, 0.8, 0.4, 1) both; }
@keyframes aw-bpass-tear {
    0% { transform: none; }
    35% { transform: translate(2px, 1px) rotate(-0.4deg); }
    100% { transform: var(--aw-bpass-tear); }
}
@media (prefers-reduced-motion: reduce) {
    .aw-bpass.is-tearing .aw-bpass-stub { animation: none; }
}
/* A flown or cancelled pass is stamped */
.aw-bpass-stamp { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 0.2em 0.6em; border: 4px solid currentColor; border-radius: 10px; background: rgba(7, 26, 51, 0.6); font-family: var(--aw-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 700; letter-spacing: 0.08em; line-height: 1.1; white-space: nowrap; pointer-events: none; }
.aw-bpass-stamp-flown { color: var(--aw-green); }
.aw-bpass-stamp-cancelled { color: var(--aw-red); }
@media (max-width: 767.98px) {
    .aw-bpass { grid-template-columns: 1fr; }
    .aw-bpass-stub { border-left: 0; border-top: 2px dashed var(--aw-border-strong); }
    .aw-bpass-stub::before, .aw-bpass-stub::after { display: none; }
    .aw-bpass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aw-bpass-wide { grid-column: span 2; }
    .aw-bpass.is-torn { --aw-bpass-tear: translate(0, 10px) rotate(1.2deg); padding: 0 0 18px; }
    .aw-bpass.is-torn .aw-bpass-main { border-radius: 18px 18px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 95% calc(100% - 3px), 90% calc(100% - 8px), 85% calc(100% - 2px), 80% calc(100% - 7px), 75% calc(100% - 3px), 70% calc(100% - 9px), 65% calc(100% - 1px), 60% calc(100% - 6px), 55% calc(100% - 2px), 50% calc(100% - 8px), 45% calc(100% - 4px), 40% calc(100% - 9px), 35% calc(100% - 1px), 30% calc(100% - 7px), 25% calc(100% - 2px), 20% calc(100% - 9px), 16% calc(100% - 3px), 11% calc(100% - 8px), 7% calc(100% - 1px), 3% calc(100% - 6px), 0 100%); }
    .aw-bpass.is-torn .aw-bpass-stub { border-radius: 0 0 18px 18px; clip-path: polygon(0 9px, 3% 3px, 7% 8px, 11% 1px, 16% 6px, 20% 0px, 25% 7px, 30% 2px, 35% 8px, 40% 0px, 45% 5px, 50% 1px, 55% 7px, 60% 3px, 65% 8px, 70% 0px, 75% 6px, 80% 2px, 85% 7px, 90% 1px, 95% 6px, 100% 9px, 100% 100%, 0 100%); transform-origin: 50% 0; }
}
@media print {
    body.aw { background: #fff !important; }
    .aw-nav, .aw-sidebar, .aw-footer, .aw-noprint, .aw-panel-header, header, nav { display: none !important; }
    .aw-bpass { box-shadow: none; }
    .aw-bpass.is-torn { filter: none; }
    .aw-bpass.is-torn .aw-bpass-stub { transform: none; }
}
/* Flight account, balance */
.aw-account { border-top: 1px solid var(--aw-border); padding-top: 1rem; }
.aw-tr-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.aw-tr-bar + .aw-tr-bar { margin-top: 3px; }
.aw-tr-bar > span { display: block; height: 100%; border-radius: 3px; }
.aw-tr-in > span { background: var(--aw-green); }
.aw-tr-out > span { background: var(--aw-red); }
.aw-deductions { list-style: none; padding: 0; margin: 0; }
.aw-deductions li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--aw-border); }
.aw-deductions li:last-child { border-bottom: 0; }
.aw-deductions .aw-ded-total { font-weight: 700; border-top: 1px solid var(--aw-border); border-bottom: 0; }
/* The balance is one of the dashboard figures (help text in its tooltip) */
.aw-tile-balance { cursor: help; }

/* ----- Aircraft condition (maintenance) ----------------------------------- */
.aw-cond { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; font-size: 0.82rem; --aw-cond: var(--aw-green); }
.aw-cond-warn { --aw-cond: #ffc24b; }
.aw-cond-aog { --aw-cond: var(--aw-red); }
.aw-cond-bar { display: inline-block; width: 46px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.aw-cond-bar > span { display: block; height: 100%; background: var(--aw-cond); border-radius: 3px; }
.aw-cond .aw-mono { color: var(--aw-cond); }
.aw-cond-badge { background: var(--aw-red); color: #fff; font-family: var(--aw-mono); font-size: 0.66rem; letter-spacing: 0.08em; }
.aw-reg .aw-cond { font-size: 0.72rem; }
.aw-reg .aw-cond-bar { width: 28px; }
.aw-bill { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.9rem 1.25rem; border-top: 1px solid var(--aw-border); }
.aw-bill:first-of-type { border-top: 0; }
.aw-panel-alert { border-color: rgba(255, 92, 108, 0.55); box-shadow: 0 0 0 1px rgba(255, 92, 108, 0.15), 0 0 24px -10px rgba(255, 92, 108, 0.5); }

/* ----- Pilot Passport and medals ----------------------------------------- */
.aw-flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.5rem; padding: 0 1rem 1rem; margin: 0; }
.aw-flag { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: var(--aw-bg-2); border: 1px solid var(--aw-border); min-width: 0; }
.aw-flag img { width: 30px; height: 22px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); flex: none; }
.aw-flag-code { width: 30px; text-align: center; font-size: 0.72rem; color: var(--aw-muted); flex: none; }
.aw-flag-name { flex: 1; min-width: 0; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-flag-count { font-size: 0.72rem; color: var(--aw-muted); white-space: nowrap; }
.aw-medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem; padding: 1rem 1.1rem; }
.aw-medal { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 10px; background: var(--aw-bg-2); border: 1px solid var(--aw-border); --aw-m1: #3a4a63; --aw-m2: #24324a; --aw-mt: #8ea3c2; }
.aw-medal-t1 { --aw-m1: #e3a46b; --aw-m2: #8a4f24; --aw-mt: #f1c193; }
.aw-medal-t2 { --aw-m1: #eef3f8; --aw-m2: #8b98a8; --aw-mt: #dfe7f0; }
.aw-medal-t3 { --aw-m1: #ffe08a; --aw-m2: #c08a12; --aw-mt: #ffd45c; }
.aw-medal-t4 { --aw-m1: #d8f6ff; --aw-m2: #5fb3d6; --aw-mt: #b9ecff; }
.aw-medal-disc { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: #0b1324;
    background: radial-gradient(circle at 32% 28%, var(--aw-m1), var(--aw-m2) 75%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), 0 3px 10px rgba(0, 0, 0, 0.35); }
.aw-medal-t0 .aw-medal-disc { color: #7e8ea8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.aw-medal-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.aw-medal-name { font-size: 0.85rem; font-weight: 600; color: #eaf3ff; }
.aw-medal-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-mt); }
.aw-medal-progress { font-size: 0.72rem; color: var(--aw-muted); }
.aw-plan-ready { border-color: rgba(61, 220, 132, 0.45); box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.12), 0 0 24px -10px rgba(61, 220, 132, 0.45); }
/* ----- PIREP check (Kaptan Karnesi score): green / amber / red ------------ */
.aw-score { font-weight: 700; }
.aw-score-green { color: var(--aw-green) !important; }
.aw-score-amber { color: #ffb547 !important; }
.aw-score-red { color: var(--aw-red) !important; }
.aw-score-pill { display: inline-block; min-width: 2.6rem; padding: 0.1rem 0.45rem; border: 1px solid currentColor; border-radius: 999px; text-align: center; font-size: 0.85rem; }
.aw-score-tile { padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid currentColor; background: rgba(255, 255, 255, 0.03); }
.aw-score-tile .aw-tile-label { color: inherit; opacity: 0.85; }
.aw-score-value { font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.aw-score-value span { font-size: 1rem; font-weight: 500; opacity: 0.8; }
/* The landing bonus under the check: "Your landing was EXCELLENT, +50" (8 Nov 2026) */
.aw-landing-bonus { padding: 0.6rem 0.9rem; border-radius: 8px; background: rgba(46, 204, 113, 0.12); color: var(--aw-green); font-weight: 600; }
.aw-landing-bonus i { margin-right: 0.35rem; }
.aw-finding-reject { color: var(--aw-red); }
.aw-finding-review { color: #ffb547; }
.aw-finding-score { color: #c9d5e8; }

/* ----- Aircraft type search (aircraft picker) ------------------------------ */
.aw-ac-search { position: relative; }
.aw-ac-search > .bi-search { position: absolute; left: 0.85rem; top: 0.72rem; color: var(--aw-muted); pointer-events: none; z-index: 1; }
.aw-ac-search > input { padding-left: 2.3rem; }
.aw-ac-results { position: absolute; z-index: 1060; left: 0; right: 0; top: calc(100% + 4px); max-height: 320px; overflow-y: auto;
    background: #0b1730; border: 1px solid var(--aw-border-strong); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); padding: 4px; }
.aw-ac-item { padding: 0.45rem 0.7rem; border-radius: 7px; cursor: pointer; color: #eaf3ff; font-size: 0.92rem; }
.aw-ac-item:hover, .aw-ac-item.active { background: rgba(76, 195, 255, 0.18); color: #fff; }
.aw-ac-none { padding: 0.6rem 0.7rem; color: var(--aw-muted); font-size: 0.9rem; }

/* ----- Staff (Kadromuz) ---------------------------------------------------- */
.aw-staff-name { font-family: var(--aw-display); font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.1; }
.aw-staff-role { color: var(--aw-amber); font-size: 0.88rem; font-weight: 600; }
.aw-staff-links li { display: flex; align-items: center; gap: 0.5rem; padding: 0.15rem 0; }
.aw-staff-links .bi { color: var(--aw-muted); }
.aw-staff-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; font-size: 1.3rem; box-shadow: 0 0 0 2px rgba(76, 195, 255, 0.45), 0 6px 16px rgba(0, 0, 0, 0.4); }
.aw-staff-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* ----- Liveries (Boyalarımız) ----------------------------------------------- */
.aw-livery { display: flex; flex-direction: column; overflow: hidden; }
.aw-livery-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1324; }
.aw-livery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.aw-livery-img:hover img { transform: scale(1.03); }
.aw-livery-aircraft { color: var(--aw-amber); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.aw-livery-sims { background: rgba(76, 195, 255, 0.14); color: #cfe9ff; font-weight: 500; }
.aw-livery-thumb { width: 160px; height: 90px; object-fit: cover; border-radius: 6px; display: block; }

/* ----- Pilot dashboard cards ---------------------------------------------- */
.aw-tile-progress { height: 5px; margin-top: 0.2rem; background: rgba(255, 255, 255, 0.08); }
/* Next flight: booked → plan → IVAO → ACARS */
.aw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 1.1rem 1.25rem 0.4rem; }
.aw-step { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0.8rem; border: 1px solid var(--aw-border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.aw-step-dot { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; font-family: var(--aw-mono); font-weight: 700; background: rgba(255, 255, 255, 0.06); color: var(--aw-muted); }
.aw-step-name { font-weight: 600; }
.aw-step.is-done .aw-step-dot { background: rgba(47, 191, 74, 0.18); color: var(--aw-green, #2fbf4a); }
.aw-step.is-current { border-color: rgba(76, 195, 255, 0.55); box-shadow: 0 0 0 1px rgba(76, 195, 255, 0.25) inset; }
.aw-step.is-current .aw-step-dot { background: rgba(76, 195, 255, 0.2); color: #4cc3ff; }
@media (max-width: 767.98px) { .aw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Where the pilot is */
.aw-dash-here { font-family: var(--aw-display); font-size: 2rem; font-weight: 700; color: #fff; margin-right: 0.5rem; }
.aw-here-list .aw-booking { padding-left: 0; padding-right: 0; }
/* Landing report: one bar per landing, taller = harder */
.aw-lchart { display: flex; align-items: flex-end; gap: 0.5rem; height: 150px; padding: 1rem 1.25rem 0.4rem; }
.aw-lbar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; text-decoration: none; min-width: 0; }
.aw-lbar-fill { display: block; width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: currentColor; opacity: 0.85; }
.aw-lbar:hover .aw-lbar-fill { opacity: 1; }
.aw-lbar-val { font-size: 0.68rem; margin-top: 0.25rem; color: var(--aw-muted); }
/* Agenda */
.aw-agenda li { padding: 0.75rem 1.25rem; border-bottom: 1px dashed var(--aw-border); }
.aw-agenda li:last-child { border-bottom: 0; }
.aw-agenda-kind { display: block; font-family: var(--aw-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aw-muted); }
.aw-dash-stars { font-size: 1.1rem; letter-spacing: 0.08em; }
.aw-lbar.aw-ok { color: #ffb020 !important; }
.aw-dash-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.35rem 0; border-top: 1px dashed var(--aw-border); }

/* ----- Smart briefing (SimBrief page) ------------------------------------- */
.aw-brief { margin-top: 0.5rem; }
.aw-brief-title { font-family: var(--aw-display); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
.aw-brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767.98px) { .aw-brief-grid { grid-template-columns: 1fr; } }
.aw-brief-ai { border: 1px solid var(--aw-border); border-left: 3px solid var(--aw-amber); border-radius: var(--aw-radius); padding: 0.75rem 1rem; margin-bottom: 1rem; background: rgba(76, 195, 255, 0.06); }
.aw-brief-ai-head { font-family: var(--aw-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aw-amber); margin-bottom: 0.35rem; }
.aw-brief-ap { padding: 1rem 1.1rem; border: 1px solid var(--aw-border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.aw-brief-head { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.7rem; min-width: 0; }
.aw-brief-head strong { font-size: 1.25rem; color: #fff; }
.aw-fcat { font-family: var(--aw-mono); font-size: 0.72rem; font-weight: 700; padding: 0.12rem 0.45rem; border-radius: 5px; border: 1px solid currentColor; }
.aw-fcat-VFR { color: var(--aw-green); }
.aw-fcat-MVFR { color: #4cc3ff; }
.aw-fcat-IFR { color: var(--aw-red); }
.aw-fcat-LIFR { color: #d46bff; }
.aw-brief-wx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; margin: 0 0 0.7rem; }
.aw-brief-wx dt { font-family: var(--aw-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aw-muted); font-weight: 600; }
.aw-brief-wx dd { margin: 0; }
.aw-brief-runway { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.6rem; padding: 0.55rem 0; border-top: 1px dashed var(--aw-border); border-bottom: 1px dashed var(--aw-border); margin-bottom: 0.6rem; }
.aw-brief-rwy { font-size: 1.35rem; color: var(--aw-amber); }
.aw-brief-warns { list-style: none; padding: 0; margin: 0 0 0.6rem; display: flex; flex-direction: column; gap: 0.25rem; }
.aw-brief-warn { font-size: 0.85rem; padding: 0.25rem 0.55rem; border-radius: 6px; }
.aw-brief-warn-red { color: #ff8a8a; background: rgba(255, 80, 80, 0.1); }
.aw-brief-warn-orange { color: #ffc266; background: rgba(255, 176, 32, 0.1); }
.aw-brief-raw { font-size: 0.74rem; color: #c9d5e8; word-break: break-word; margin-top: 0.25rem; }
/* SimBrief page: wide enough for the two briefing cards side by side */
.aw-sb-page { max-width: 1100px; }
.aw-sb-page > p:first-child { max-width: 62ch; }

/* ----- Phones ------------------------------------------------------------- */
@media (max-width: 575.98px) {
    /* A title and its summary/links: the summary goes under the title instead of squeezing it */
    .aw-panel-head { flex-wrap: wrap; row-gap: 0.25rem; }
    .aw-panel-head > span:not(:first-child), .aw-panel-head > a { font-size: 0.8rem; }
    /* Facts (flight, route, aircraft, time) two by two */
    .aw-specs, .aw-specs-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1rem; }
    .aw-brief-wx { grid-template-columns: 1fr 1fr; }
    .aw-brief-wx > div:first-child { grid-column: 1 / -1; }   /* the wind line (with gusts) is the longest */
}
/* A livery without a picture: the aircraft on a placeholder */
.aw-livery-noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; color: #8fb3d9;
    background: radial-gradient(circle at 30% 20%, rgba(76, 195, 255, 0.18), transparent 60%), linear-gradient(135deg, #0b2a52, #071a33); }
.aw-livery-noimg .bi { font-size: 2.4rem; color: var(--aw-amber); transform: rotate(45deg); }
.aw-livery-noimg span { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 0 0.75rem; }
.aw-livery-thumb.aw-livery-noimg .bi { font-size: 1.5rem; transform: none; }

/* ----- Home: "Pilot ol" (visitors) ---------------------------------------- */
.aw-join-lead { max-width: 62ch; font-size: 1.05rem; }
.aw-join-feature { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--aw-border); border-radius: var(--aw-radius);
    background: linear-gradient(180deg, #0f1828, #0b1220); transition: border-color 0.2s ease, transform 0.2s ease; }
.aw-join-feature:hover { border-color: rgba(76, 195, 255, 0.45); transform: translateY(-2px); }
.aw-join-feature > .bi { font-size: 1.6rem; color: #4cc3ff; line-height: 1; margin-top: 0.15rem; }
.aw-join-name { font-family: var(--aw-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.25rem; color: #fff; }
.aw-join-start { padding: 1.4rem 1.5rem; border-radius: var(--aw-radius); border: 1px solid rgba(76, 195, 255, 0.3);
    background: radial-gradient(circle at 10% 0%, rgba(76, 195, 255, 0.14), transparent 55%), #0b1324; }
.aw-join-steps-title { font-family: var(--aw-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.aw-join-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.2rem; }
.aw-join-step { display: flex; gap: 0.75rem; align-items: flex-start; }
.aw-join-no { flex: 0 0 auto; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: rgba(76, 195, 255, 0.18); color: #4cc3ff; font-weight: 700; }
@media (max-width: 767.98px) { .aw-join-steps { grid-template-columns: 1fr; } }
/* Home: the liveries band (the cards themselves are on /liveries) */
.aw-livery-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.3rem 1.5rem; border-radius: var(--aw-radius);
    border: 1px solid var(--aw-border); background: radial-gradient(circle at 0% 50%, rgba(255, 176, 32, 0.12), transparent 45%), linear-gradient(180deg, #0f1828, #0b1220); }
.aw-livery-band-icon { font-size: 2.4rem; color: var(--aw-amber); }

/* ----- Leaderboard -------------------------------------------------------- */
.aw-lb-periods { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.aw-lb-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 1.1rem; border-bottom: 1px dashed var(--aw-border); }
.aw-lb-row:last-child { border-bottom: 0; }
.aw-lb-place { width: 1.8rem; height: 1.8rem; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; font-weight: 700; color: var(--aw-muted); background: rgba(255, 255, 255, 0.05); }
.aw-lb-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6eef9; text-decoration: none; }
.aw-lb-name:hover { color: #4cc3ff; }
.aw-lb-value { color: #fff; font-weight: 600; }
.aw-lb-1 .aw-lb-place { background: rgba(255, 196, 0, 0.22); color: #ffc400; }
.aw-lb-2 .aw-lb-place { background: rgba(200, 214, 229, 0.22); color: #dfe8f2; }
.aw-lb-3 .aw-lb-place { background: rgba(205, 127, 50, 0.25); color: #e3a06a; }
.aw-lb-top .aw-lb-name { font-weight: 600; }
/* Tour legs: "Ankara LTAC → Bodrum LTFE · 304 nm" */
.aw-leg-route { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; }
.aw-leg-city { white-space: nowrap; }
/* Phones: the number on the left, the route beside it, distance and status under the route */
@media (max-width: 575.98px) {
    .aw-legs li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; column-gap: 0.75rem; row-gap: 0.15rem; padding: 0.65rem 0.9rem; }
    .aw-legs li > .aw-leg-no { grid-row: 1 / span 2; align-self: center; }
    .aw-legs li > .aw-leg-route { grid-column: 2 / 4; }
    .aw-legs li > .ms-auto { justify-self: end; }
}
/* Tour reward */
.aw-tour-reward { background: rgba(255, 176, 32, 0.16); color: #ffc75a; font-weight: 600; }
.aw-tour-reward-line { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px;
    border: 1px solid rgba(255, 176, 32, 0.45); color: #ffc75a; font-weight: 600; margin: 0.25rem 0 0; }
/* Tour poster */
.aw-tour-banner { display: block; width: 100%; height: auto; border-radius: var(--aw-radius); border: 1px solid var(--aw-border); }
.aw-tour-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.aw-home-tour { overflow: hidden; }
.aw-home-tour-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--aw-border); }
.aw-tour-progress { height: 6px; background: rgba(255, 255, 255, 0.08); }
.aw-tour-progress .progress-bar { background: var(--aw-amber); }
.aw-tour-mini { flex: none; width: 64px; height: 36px; object-fit: cover; border-radius: 4px; }
.min-w-0 { min-width: 0; }
/* Pilot of the Month (/pilot-of-the-month) */
.aw-potm-state { color: var(--aw-muted); }
.aw-potm-winner { background: linear-gradient(120deg, rgba(76, 195, 255, 0.14), rgba(255, 176, 32, 0.08)); border-color: rgba(255, 176, 32, 0.35); }
.aw-potm-cup { width: 3.2rem; height: 3.2rem; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; font-size: 1.5rem; color: #ffb020; background: rgba(255, 176, 32, 0.12); box-shadow: 0 0 24px rgba(255, 176, 32, 0.25); }
.aw-potm-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.aw-potm-nowin { flex: 0 0 auto; font-size: 0.72rem; color: var(--aw-muted); border: 1px solid var(--aw-border); border-radius: 999px; padding: 0 0.45rem; white-space: nowrap; }
.aw-potm-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.aw-potm-bar > span { display: block; height: 100%; }
.aw-potm-c-minutes { background: #4cc3ff; }
.aw-potm-c-quality { background: #3ddc84; }
.aw-potm-c-flights { background: #22d3ee; }
.aw-potm-c-points { background: #ffb020; }
.aw-potm-c-pax { background: #a78bfa; }
.aw-potm-c-cargo { background: #f472b6; }
.aw-potm-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.05rem; }
.aw-potm-val { color: var(--aw-muted); font-size: 0.85rem; white-space: nowrap; }
.aw-potm-weight { color: var(--aw-amber); font-size: 0.8rem; }
.aw-potm-rules { padding-left: 1.1rem; margin-bottom: 0; }
.aw-potm-rules > li { margin-bottom: 0.5rem; }
.aw-potm-criteria { list-style: none; padding-left: 0; margin: 0.5rem 0 0; }
.aw-potm-criteria > li { margin-bottom: 0.3rem; font-size: 0.9rem; }
.aw-potm-dash { padding: 0.75rem 1.1rem; border-bottom: 1px dashed var(--aw-border); color: inherit; text-decoration: none; }
.aw-potm-dash:hover { color: var(--aw-amber); }
.aw-potm-prize { max-width: 16rem; }
.aw-potm-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid rgba(255, 176, 32, 0.4); color: #ffcf70; font-size: 0.85rem; text-decoration: none; }
.aw-potm-chip:hover { background: rgba(255, 176, 32, 0.1); color: #fff; }
/* The certificate: a framed sheet on screen, one A4 landscape page in print */
.aw-cert-wrap { max-width: 980px; margin: 0 auto; }
.aw-cert { position: relative; aspect-ratio: 297 / 210; padding: 1.1rem; border-radius: 14px; background: linear-gradient(135deg, #0f1b2e, #0a1220 60%, #13223a); border: 1px solid rgba(255, 176, 32, 0.45); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.aw-cert-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.35rem; padding: 1.5rem 2rem; border: 2px solid rgba(255, 176, 32, 0.55); border-radius: 8px; outline: 1px solid rgba(76, 195, 255, 0.35); outline-offset: -8px; }
.aw-cert-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.aw-cert-brand .aw-brand-text { font-size: 1.35rem; }
.aw-cert-kicker { font-family: var(--aw-mono); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.72rem; color: var(--aw-amber); }
.aw-cert-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: 0.02em; margin: 0; color: #ffcf70; }
.aw-cert-month { font-size: 1.15rem; font-weight: 600; color: #e6eef9; }
.aw-cert-lead { margin: 0.6rem 0 0; color: var(--aw-muted); }
.aw-cert-name { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 176, 32, 0.45); padding: 0 1.5rem 0.2rem; }
.aw-cert-id { color: var(--aw-muted); font-size: 0.85rem; }
.aw-cert-text { max-width: 36rem; margin: 0.4rem 0 0; color: #d5e2f3; }
.aw-cert-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem; font-size: 0.8rem; color: var(--aw-muted); }
.aw-cert-facts strong { color: #fff; }
.aw-cert-foot { display: flex; justify-content: space-between; gap: 2rem; width: 100%; max-width: 34rem; margin-top: 1rem; }
.aw-cert-foot > div { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; }
.aw-cert-sign { font-weight: 600; color: #fff; border-bottom: 1px solid var(--aw-border-strong); padding: 0 1rem 0.2rem; }
.aw-cert-label { font-size: 0.72rem; color: var(--aw-muted); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 575.98px) {
    .aw-cert { aspect-ratio: auto; }
    .aw-cert-inner { padding: 1.2rem 1rem; }
}
@media print {
    .aw-cert { page: potm-cert; box-shadow: none; background: #fff; border-color: #c9a227; aspect-ratio: auto; height: 180mm; }
    .aw-cert-inner { border-color: #c9a227; outline-color: #4cc3ff; }
    .aw-cert-title { color: #9a7410; }
    .aw-cert-name, .aw-cert-sign, .aw-cert-month, .aw-cert-facts strong, .aw-cert-brand .aw-brand-text { color: #0a0f1a !important; }
    .aw-cert-text, .aw-cert-lead, .aw-cert-id, .aw-cert-facts, .aw-cert-label { color: #34445a !important; }
    .aw-cert-wrap { max-width: none; }
}
@page potm-cert { size: A4 landscape; margin: 12mm; }
/* Sertifikalarım (pilot panel) */
.aw-potm-certcard { color: inherit; text-decoration: none; }
.aw-potm-certcard:hover { color: inherit; border-color: rgba(255, 176, 32, 0.7); }
@media print { .aw-main > .btn.d-lg-none { display: none !important; } }
/* The month in numbers, bottom of the home page (#homeMonth) */
.aw-hm-list { margin: 0; }
.aw-hm-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.1rem; border-bottom: 1px dashed var(--aw-border); }
.aw-hm-row:last-child { border-bottom: 0; }
.aw-hm-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6eef9; text-decoration: none; }
a.aw-hm-label:hover { color: var(--aw-amber); }
.aw-hm-n { flex: 0 0 auto; color: #fff; font-weight: 600; }
.aw-hm-ins { order: -1; flex: 0 0 auto; display: inline-flex; }
.aw-hm-ins .aw-insignia-sm { width: 54px; }
.aw-hm-crew { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.aw-hm-foot { padding: 0.55rem 1.1rem; border-top: 1px solid var(--aw-border); }

/* ==========================================================================
   Home page (2026-11 redesign): full-screen photo hero, live map with flight cards,
   career, the AeroWing program, four steps, operations board, closing call. "aw-hp-*".
   ========================================================================== */
html:has(body.aw-home) { scroll-padding-top: calc(var(--aw-nav-h) + 12px); }
body.aw-home { overflow-x: clip; }
/* The menu floats over the photo and turns solid once the page scrolls (hero-slider.js) */
.aw-home .aw-nav.sticky-top { position: fixed; left: 0; right: 0; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.aw-home .aw-nav:not(.is-solid) { background: linear-gradient(180deg, rgba(3, 13, 28, 0.78), rgba(3, 13, 28, 0)) !important; border-bottom-color: transparent; box-shadow: none; }
@media (max-width: 1199.98px) {
    .aw-home .aw-nav:not(.is-solid):has(.navbar-collapse.show, .navbar-collapse.collapsing) { background: #041124 !important; }
}

.aw-hp-hero { min-height: 100vh; min-height: 100svh; align-items: stretch; }
.aw-hp-shade { background: linear-gradient(180deg, rgba(3, 13, 28, 0.35) 0%, rgba(3, 13, 28, 0.5) 55%, var(--aw-bg) 100%); }
.aw-hp-hero-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--aw-nav-h) + 3rem) 1rem 5rem; }
.aw-hp-hero-kicker { margin: 0 0 1.2rem; font-size: clamp(0.72rem, 0.65rem + 0.3vw, 0.88rem); letter-spacing: 0.28em; text-transform: uppercase; color: #fff; }
.aw-hp-hero-title { margin: 0 0 1.4rem; font-size: clamp(2.8rem, 1.4rem + 6vw, 6.75rem); line-height: 0.95; max-width: 15ch; text-wrap: balance;
    text-shadow: 0 2px 30px rgba(3, 13, 28, 0.55); }
.aw-hp-hero-text { margin: 0 0 2.4rem; max-width: 40rem; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.6; color: #dbe8f8; }
.aw-hp-hero-note { margin: 1.1rem 0 0; font-size: 0.88rem; color: #c9d9ee; }

.aw-hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 1.9rem; border-radius: 999px;
    background: var(--aw-amber); color: #031426 !important; font-weight: 700; font-size: 1.05rem; text-decoration: none !important;
    border: 1px solid var(--aw-amber); transition: background-color 0.2s ease, transform 0.2s ease; }
.aw-hp-btn:hover { background: var(--aw-amber-hover); transform: translateY(-1px); }
.aw-hp-btn-lg { padding: 1.2rem 2.5rem; font-size: 1.15rem; box-shadow: 0 10px 40px rgba(76, 195, 255, 0.35); }
.aw-hp-btn-ghost { background: transparent; color: var(--aw-text) !important; border-color: rgba(120, 180, 255, 0.4); font-weight: 600; }
.aw-hp-btn-ghost:hover { background: rgba(76, 195, 255, 0.1); }

.aw-hp-kicker { margin: 0 0 0.75rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-amber); }
.aw-hp-h2 { margin: 0 0 0.9rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1; text-wrap: balance; }
.aw-hp-h3 { margin: 0 0 0.5rem; font-family: var(--aw-font); font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
.aw-hp-lead { margin: 0 0 2.5rem; max-width: 40rem; font-size: 1.1rem; line-height: 1.6; color: #b9c6da; }
.aw-hp-label { margin: 0 0 0.6rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); font-family: var(--aw-mono); font-weight: 500; }
.aw-hp-center { text-align: center; }
.aw-hp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.aw-hp-head .aw-hp-h2 { margin: 0; }
.aw-hp-tight { padding-top: 2rem; }

/* Live: the map beside one card per flight, then this month's numbers */
.aw-hp-airborne { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.75rem; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-green); }
.aw-hp-live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 1.25rem; }
.aw-hp-live-map { border-radius: 22px; }
.aw-hp-live-map .aw-live-map { height: clamp(320px, 58vh, 520px); }
.aw-hp-live-side { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.aw-hp-flights { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; max-height: 360px; overflow-y: auto; }
.aw-hp-flights:empty { display: none; }
.aw-hp-flight { display: flex; flex-direction: column; gap: 0.3rem; width: 100%; text-align: left; padding: 0.9rem 1rem; color: var(--aw-text);
    background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: 16px; font-size: 0.9rem; transition: border-color 0.2s ease; }
.aw-hp-flight:hover, .aw-hp-flight:focus-visible { border-color: var(--aw-amber); }
.aw-hp-flight-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.aw-hp-flight-pilot { color: var(--aw-muted); font-size: 0.82rem; }
.aw-hp-bar { display: block; height: 6px; margin-top: 0.35rem; border-radius: 3px; background: var(--aw-surface-3); overflow: hidden; }
.aw-hp-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--aw-amber); }
.aw-hp-month { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: auto; }
.aw-hp-num { padding: 0.9rem; border-radius: 14px; background: var(--aw-surface); border: 1px solid var(--aw-border); min-width: 0; }
.aw-hp-num strong { display: block; font-family: var(--aw-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; color: #fff; white-space: nowrap; }
.aw-hp-num span { font-size: 0.78rem; color: var(--aw-muted); }
@media (max-width: 991.98px) { .aw-hp-live-grid { grid-template-columns: minmax(0, 1fr); } }

/* Career band: full-width background, content stays in the container */
.aw-hp-band { margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); padding: clamp(3rem, 2rem + 4vw, 6rem) 0; position: relative; isolation: isolate; }
.aw-hp-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background: var(--aw-bg-2);
    border-top: 1px solid var(--aw-border); border-bottom: 1px solid var(--aw-border); }
.aw-hp-ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1rem; margin: 0 0 0.75rem; }
.aw-hp-rank { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem; border-radius: 16px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-hp-rank .aw-insignia { width: 96px; height: auto; margin-bottom: 0.6rem; }
.aw-hp-rank.is-top { background: var(--aw-surface-2); border-color: var(--aw-amber); }
.aw-hp-rank-name { font-weight: 700; font-size: 1.02rem; }
.aw-hp-rank-hours { font-size: 0.88rem; color: var(--aw-muted); }
.aw-hp-rank-gap { display: grid; place-items: center; color: var(--aw-muted); font-size: 1.5rem; letter-spacing: 0.2em; }
.aw-hp-more { margin: 0 0 2.5rem; text-align: right; font-weight: 600; }
.aw-hp-more a, .aw-hp-potm a { color: var(--aw-amber); }
.aw-hp-career-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem; }
@media (max-width: 991.98px) { .aw-hp-career-row { grid-template-columns: minmax(0, 1fr); } }
.aw-hp-potm { padding: 1.75rem; border-radius: 20px; background: linear-gradient(135deg, var(--aw-surface-3), var(--aw-surface)); border: 1px solid var(--aw-border-strong); font-weight: 600; }
.aw-hp-potm-name { margin: 0 0 0.4rem; font-family: var(--aw-display); font-size: 2.5rem; line-height: 1; color: #fff; }
.aw-hp-potm-line { margin: 0 0 1.1rem; font-weight: 400; color: #c9d9ee; }
.aw-hp-good { padding: 1.5rem 1.75rem; border-radius: 20px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-hp-good-help { margin: -0.3rem 0 0.6rem; }
.aw-hp-good .aw-hm-flight { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--aw-border); }
.aw-hp-good .aw-hm-flight:last-child { border-bottom: 0; }
.aw-hp-good-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; min-width: 0; }
.aw-hp-good .aw-hm-score { font-size: 1.05rem; font-weight: 700; }

/* Program cards and the four steps */
.aw-hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.aw-hp-card { border-radius: 20px; overflow: hidden; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-hp-shot { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--aw-surface-2); }
.aw-hp-shot-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; color: var(--aw-muted); font-size: 0.78rem;
    border-bottom: 1px dashed var(--aw-border-strong); }
.aw-hp-shot-empty .bi { font-size: 2rem; color: var(--aw-amber); }
.aw-hp-card-body { padding: 1.4rem 1.5rem; color: #b9c6da; line-height: 1.6; }
.aw-hp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; margin: 2.5rem 0 0; }
.aw-hp-step { padding: 0.5rem 0.25rem; color: #b9c6da; line-height: 1.6; }
.aw-hp-step-no { display: block; margin-bottom: 0.8rem; font-family: var(--aw-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--aw-amber); }

/* Closing call */
.aw-hp-final { margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
    padding: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: 28px;
    background: linear-gradient(135deg, var(--aw-surface-3) 0%, var(--aw-surface) 60%); border: 1px solid var(--aw-border-strong); }
.aw-hp-final-text { flex: 1 1 26rem; min-width: 0; color: #c9d9ee; font-size: 1.05rem; line-height: 1.6; }
.aw-hp-final-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (max-width: 575.98px) {
    .aw-hp-final-actions, .aw-hp-final-actions .aw-hp-btn { width: 100%; }
    .aw-hp-good .aw-hm-flight { align-items: flex-start; }
    .aw-hp-more { text-align: left; }
    .aw-hp-rank-gap { display: none; }
    .aw-hp-hero-text { margin-bottom: 2rem; }
}
/* Nobody flying: the month's numbers fill the column beside the map */
.aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-month { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; height: 100%; margin-top: 0; }
.aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem; }
.aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num strong { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
@media (max-width: 991.98px) {
    .aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-month { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
    .aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num { padding: 0.9rem; }
    .aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num strong { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
}
/* Beside the map the cards use the map's height; stacked on phones they scroll after a few */
@media (min-width: 992px) { .aw-hp-flights { flex: 1 1 0; min-height: 0; max-height: none; } }
/* Phones: one compact row per rank (insignia, name, hours) */
@media (max-width: 575.98px) {
    .aw-hp-ranks { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
    .aw-hp-rank { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.9rem; row-gap: 0.1rem; align-items: center; padding: 0.75rem 1rem; }
    .aw-hp-rank .aw-insignia { grid-row: 1 / 3; width: 76px; margin: 0; }
    .aw-hp-rank-name { font-size: 0.95rem; }
}

/* Home page, second pass (research on what draws pilots): proof of activity under the button,
   next group flight, gold for what pilots earn, gauge-style numbers, questions before joining */
:root { --aw-gold: #e6b84a; --aw-gold-soft: rgba(230, 184, 74, 0.14); }
.aw-hp-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.6rem; margin: 1.6rem 0 0; }
.aw-hp-proof li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.88rem;
    background: rgba(3, 13, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.aw-hp-proof-live { color: #bff5d6; border-color: rgba(61, 220, 132, 0.45) !important; }
.aw-hp-sims { margin: 1rem 0 0; font-size: 0.75rem; letter-spacing: 0.06em; color: #b9c6da; }

/* Gauge numbers: the month's figures read like cockpit displays */
.aw-hp-num strong { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.55rem); font-family: var(--aw-mono); font-weight: 700; color: var(--aw-green); text-shadow: 0 0 16px rgba(61, 220, 132, 0.35); letter-spacing: -0.02em; }

/* Gold marks what a pilot earns: ranks, Pilot of the Month, the career kicker */
.aw-hp-band .aw-hp-kicker { color: var(--aw-gold); }
.aw-hp-rank.is-top { border-color: var(--aw-gold); background: linear-gradient(160deg, var(--aw-gold-soft), var(--aw-surface-2) 55%); }
.aw-hp-potm { border-color: rgba(230, 184, 74, 0.55); background: radial-gradient(420px 220px at 100% 0%, rgba(230, 184, 74, 0.18), transparent 70%), linear-gradient(135deg, var(--aw-surface-3), var(--aw-surface)); }
.aw-hp-potm .aw-hp-label { color: var(--aw-gold); }
.aw-hp-potm-name { color: #fff3d1; }
.aw-hp-potm a { color: var(--aw-gold); }
.aw-hp-more a { color: var(--aw-gold); }

/* Next group flight */
.aw-hp-next { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: 20px;
    background: var(--aw-surface); border: 1px solid var(--aw-border-strong); }
.aw-hp-next-date { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 14px;
    background: var(--aw-surface-3); color: var(--aw-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.aw-hp-next-date strong { font-size: 1.7rem; line-height: 1; color: #fff; letter-spacing: 0; }
.aw-hp-next-text { flex: 1 1 16rem; min-width: 0; }
.aw-hp-next-title { margin: 0 0 0.2rem; font-family: var(--aw-display); font-size: 1.45rem; font-weight: 700; color: #fff; line-height: 1.15; }
@media (max-width: 575.98px) { .aw-hp-next .aw-hp-btn { width: 100%; } }

/* Questions before joining */
.aw-hp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 2.25rem; align-items: start; }
@media (max-width: 767.98px) { .aw-hp-faq { grid-template-columns: minmax(0, 1fr); } }
.aw-hp-qa { border-radius: 16px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-hp-qa[open] { border-color: var(--aw-border-strong); }
.aw-hp-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; color: #fff; }
.aw-hp-qa summary::-webkit-details-marker { display: none; }
.aw-hp-qa summary::after { content: "+"; flex: 0 0 auto; font-family: var(--aw-mono); font-size: 1.2rem; color: var(--aw-amber); }
.aw-hp-qa[open] summary::after { content: "−"; }
.aw-hp-qa p { padding: 0 1.25rem 1.1rem; color: #b9c6da; line-height: 1.6; }
#faq a { color: var(--aw-amber); font-weight: 600; }

/* ==========================================================================
   Site theme "Gece apronu" (night apron): ink-black ground, warm white text,
   taxiway-amber for the one action, cockpit blue only for live data, Sora headings.
   Site-wide since the redesign; the hero, board and other aw-hp-* parts exist on the home page only.
   ========================================================================== */
body.aw {
    --aw-bg: #06080d;
    --aw-bg-2: #0a0e16;
    --aw-surface: #0d121c;
    --aw-surface-2: #121927;
    --aw-surface-3: #182133;
    --aw-border: rgba(214, 222, 240, 0.09);
    --aw-border-strong: rgba(214, 222, 240, 0.18);
    --aw-text: #f3efe7;
    --aw-muted: #8e98ab;
    --aw-amber: #5cc8ff;          /* data blue (the old accent name stays) */
    --aw-amber-hover: #8fd9ff;
    --aw-gold: #f0c463;
    --hp-action: #ffb547;         /* taxiway amber: the one thing to press */
    --hp-action-hover: #ffc56e;
    --hp-head: "Sora", "Inter", system-ui, sans-serif;
    --bs-body-bg: #06080d;
    --bs-body-color: #f3efe7;
    background: radial-gradient(1100px 600px at 80% -5%, rgba(255, 181, 71, 0.06), transparent 60%), #06080d;
    color: var(--aw-text);
}
body.aw h1, body.aw h2, body.aw .aw-h2, body.aw .aw-hp-h2, body.aw .aw-hp-hero-title,
body.aw .aw-hp-potm-name, body.aw .aw-hp-next-title { font-family: var(--hp-head); letter-spacing: -0.02em; }
body.aw .aw-hp-h2 { font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }

/* Menu: dark glass; the sign-up button in amber */
body.aw .aw-nav.is-solid { background: rgba(6, 8, 13, 0.92) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--aw-border); }
body.aw .aw-nav .btn-primary { background: var(--hp-action); border-color: var(--hp-action); color: #1a1205; }
body.aw .aw-nav .btn-primary:hover { background: var(--hp-action-hover); border-color: var(--hp-action-hover); }
body.aw .aw-nav .nav-link.aw-nav-free { color: #f3efe7 !important; background: rgba(255, 255, 255, 0.06); }

/* Buttons: amber is only for the action */
body.aw .aw-hp-btn { background: var(--hp-action); border-color: var(--hp-action); color: #1a1205 !important; border-radius: 14px; }
body.aw .aw-hp-btn:hover { background: var(--hp-action-hover); }
body.aw .aw-hp-btn-lg { box-shadow: 0 12px 40px rgba(255, 181, 71, 0.28); }
body.aw .aw-hp-btn-ghost { background: transparent; color: var(--aw-text) !important; border-color: var(--aw-border-strong); }
body.aw .aw-hp-btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
body.aw .btn-primary { --bs-btn-bg: var(--hp-action); --bs-btn-border-color: var(--hp-action); --bs-btn-color: #1a1205; --bs-btn-hover-bg: var(--hp-action-hover); --bs-btn-hover-border-color: var(--hp-action-hover); --bs-btn-hover-color: #1a1205; }

/* Hero: copy on the left, the departures board on the right */
body.aw .aw-hp-shade { background: linear-gradient(90deg, rgba(6, 8, 13, 0.92) 0%, rgba(6, 8, 13, 0.65) 45%, rgba(6, 8, 13, 0.35) 100%), linear-gradient(180deg, transparent 60%, #06080d 100%); }
body.aw .aw-hp-hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; text-align: left; }
.aw-hp-hero-copy { flex: 1 1 34rem; min-width: 0; max-width: 40rem; }
body.aw .aw-hp-hero-kicker { color: var(--hp-action); letter-spacing: 0.22em; }
body.aw .aw-hp-hero-title { font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 0.98; max-width: 12ch; margin-bottom: 1.25rem; }
body.aw .aw-hp-hero-text { color: #d8d3c9; margin-bottom: 2rem; }
.aw-hp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.aw-hp-textlink { color: var(--aw-text) !important; font-weight: 600; border-bottom: 1px solid var(--aw-border-strong); padding-bottom: 2px; text-decoration: none !important; }
.aw-hp-textlink:hover { border-color: var(--hp-action); }
body.aw .aw-hp-proof { justify-content: flex-start; }
body.aw .aw-hp-proof li { background: rgba(6, 8, 13, 0.6); border-color: var(--aw-border-strong); }
body.aw .aw-hp-sims { color: var(--aw-muted); }

/* Departures board: black panel, amber dot-matrix-like mono, green "landed" */
.aw-hp-board { flex: 0 1 30rem; min-width: 0; border-radius: 18px; overflow: hidden; background: rgba(4, 5, 8, 0.86); border: 1px solid rgba(255, 181, 71, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.aw-hp-board-head { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.1rem; background: #ffb547; color: #1a1205; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.aw-hp-board-utc { font-size: 0.7rem; opacity: 0.75; }
.aw-hp-board-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; color: #ffcf7a; }
.aw-hp-board-table th { padding: 0.55rem 0.7rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #8e98ab; text-align: left; border-bottom: 1px solid rgba(255, 181, 71, 0.15); }
.aw-hp-board-table td { padding: 0.62rem 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); white-space: nowrap; text-shadow: 0 0 10px rgba(255, 181, 71, 0.35); }
.aw-hp-board-table tr:last-child td { border-bottom: 0; }
.aw-hp-board-fn { color: #fff1d6; font-weight: 700; }
.aw-hp-board-ok { color: #3ddc84; text-shadow: 0 0 10px rgba(61, 220, 132, 0.4) !important; font-weight: 700; }
.aw-hp-board-empty { margin: 0; padding: 1.5rem 1.1rem; color: #ffcf7a; }
@media (max-width: 991.98px) {
    body.aw .aw-hp-hero-inner { flex-direction: column; align-items: stretch; gap: 2rem; }
    .aw-hp-board { flex-basis: auto; }
}
@media (max-width: 575.98px) {
    .aw-hp-board-ac { display: none; }
    .aw-hp-board-table { font-size: 0.8rem; }
    .aw-hp-board-table th, .aw-hp-board-table td { padding: 0.5rem 0.5rem; }
    body.aw .aw-hp-hero-actions .aw-hp-btn { width: 100%; }
}

/* Stats strip and section labels */
body.aw .aw-stats-wrap { background: var(--aw-bg-2); }
body.aw .aw-stat-value { color: #f3efe7; }
body.aw .aw-stat-label, body.aw .aw-hp-kicker { color: var(--hp-action); }
body.aw .aw-hp-band .aw-hp-kicker { color: var(--aw-gold); }
body.aw .aw-hp-band::before { background: var(--aw-bg-2); }

/* Cards: quieter borders, a lift on hover */
body.aw .aw-hp-card, body.aw .aw-hp-rank, body.aw .aw-hp-good, body.aw .aw-hp-qa, body.aw .aw-hp-num,
body.aw .aw-hp-flight, body.aw .aw-hp-next, body.aw .aw-panel { background: var(--aw-surface); border-color: var(--aw-border); }
body.aw .aw-hp-card, body.aw .aw-hp-rank { transition: transform 0.2s ease, border-color 0.2s ease; }
body.aw .aw-hp-card:hover, body.aw .aw-hp-rank:hover { transform: translateY(-3px); border-color: var(--aw-border-strong); }
body.aw .aw-hp-shot-empty { background: linear-gradient(135deg, #121927, #0a0e16); }
body.aw .aw-hp-shot-empty .bi { color: var(--hp-action); }
body.aw .aw-hp-step-no { color: transparent; -webkit-text-stroke: 1.5px var(--hp-action); font-family: var(--hp-head); font-weight: 800; }
body.aw .aw-hp-qa summary::after { color: var(--hp-action); }
body.aw #faq a, body.aw .aw-hp-more a { color: var(--hp-action); }
body.aw .aw-hp-final { background: radial-gradient(600px 260px at 100% 0%, rgba(255, 181, 71, 0.16), transparent 70%), var(--aw-surface-2); border-color: rgba(255, 181, 71, 0.3); }
body.aw .aw-hp-next-date { background: rgba(255, 181, 71, 0.12); color: var(--hp-action); }
body.aw .aw-hp-next { border-color: rgba(255, 181, 71, 0.25); }
@media (prefers-reduced-motion: reduce) { body.aw .aw-hp-card, body.aw .aw-hp-rank { transition: none; } }

/* New pilot's first-flight guide on the dashboard (partials/first_flight.php) */
.aw-first { margin-bottom: 1.5rem; padding: 1.5rem; border-radius: var(--aw-radius); border: 1px solid rgba(76, 195, 255, 0.35);
    background: radial-gradient(520px 200px at 100% 0%, rgba(76, 195, 255, 0.12), transparent 70%), var(--aw-surface); }
.aw-first-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.aw-first-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 0.3rem; }
.aw-first-count { flex: 0 0 auto; font-size: 1.4rem; font-weight: 700; color: var(--aw-green); text-shadow: 0 0 14px rgba(61, 220, 132, 0.35); }
.aw-first-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
@media (max-width: 991.98px) { .aw-first-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .aw-first-steps { grid-template-columns: minmax(0, 1fr); } }
.aw-first-step { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem; border-radius: 12px; background: var(--aw-surface-2); border: 1px solid var(--aw-border); }
.aw-first-step.is-done { opacity: 0.75; }
.aw-first-mark { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
    font-family: var(--aw-mono); font-weight: 700; color: var(--aw-amber); border: 1px solid rgba(76, 195, 255, 0.5); }
.aw-first-step.is-done .aw-first-mark { color: #04210f; background: var(--aw-green); border-color: var(--aw-green); }
.aw-first-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aw-muted); margin: 0 0 0.6rem; }
.aw-first-flights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.aw-first-flight { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--aw-border-strong);
    background: var(--aw-surface-2); color: var(--aw-text); text-decoration: none !important; transition: border-color 0.2s ease; }
.aw-first-flight:hover, .aw-first-flight:focus-visible { border-color: var(--aw-amber); }
.aw-first-help { color: var(--aw-muted); }
.aw-first-bonus { margin: 0 0 1rem; padding: 0.7rem 1rem; border-radius: 12px; border: 1px solid rgba(255, 181, 71, 0.45);
    background: rgba(255, 181, 71, 0.1); color: var(--aw-text); }
.aw-first-bonus .bi { color: var(--aw-amber); margin-right: 0.25rem; }

/* The pilot store (19 Nov 2026) */
.aw-store-balance { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.1rem 1.4rem; }
.aw-store-balance-value { font-size: 1.8rem; font-weight: 700; color: var(--aw-amber); }
.aw-store-balance p { flex: 1 1 280px; }
.aw-store-card { display: block; padding: 1rem 1.1rem; border-radius: 12px; background: var(--aw-surface-2); border: 1px solid var(--aw-border); }
.aw-fleet-owned { border-color: rgba(255, 181, 71, 0.55); }
.aw-fleet-owner { font-family: var(--aw-font); font-weight: 500; font-size: 0.72rem; color: var(--aw-amber); }

/* "Gece apronu" outside the home page: the menu is solid ink, panels and tables follow the tokens */
body.aw .aw-nav { background: rgba(6, 8, 13, 0.96) !important; border-bottom-color: var(--aw-border); box-shadow: none; }
body.aw .aw-nav .nav-link.active { color: var(--hp-action) !important; background: rgba(255, 181, 71, 0.1); }
body.aw .aw-sidebar { background: var(--aw-bg-2); border-color: var(--aw-border); }
body.aw .aw-kicker { color: var(--hp-action); }
body.aw .aw-dot { background: var(--hp-action); box-shadow: 0 0 10px var(--hp-action); }
body.aw .aw-dot-live { background: var(--aw-green); box-shadow: 0 0 10px var(--aw-green); }
body.aw .aw-tile, body.aw .aw-step, body.aw .aw-cta { background: var(--aw-surface); border-color: var(--aw-border); }
body.aw .btn-outline-primary { --bs-btn-color: var(--hp-action); --bs-btn-border-color: rgba(255, 181, 71, 0.5); --bs-btn-hover-bg: var(--hp-action); --bs-btn-hover-border-color: var(--hp-action); --bs-btn-hover-color: #1a1205; --bs-btn-active-bg: var(--hp-action); --bs-btn-active-color: #1a1205; }
body.aw .form-control, body.aw .form-select { background-color: var(--aw-bg-2); border-color: var(--aw-border-strong); }
body.aw .form-control:focus, body.aw .form-select:focus { border-color: var(--hp-action); box-shadow: 0 0 0 0.2rem rgba(255, 181, 71, 0.2); }
body.aw .aw-first { border-color: rgba(255, 181, 71, 0.35); background: radial-gradient(520px 200px at 100% 0%, rgba(255, 181, 71, 0.1), transparent 70%), var(--aw-surface); }
body.aw .aw-first-mark { color: var(--hp-action); border-color: rgba(255, 181, 71, 0.5); }
body.aw .aw-first-flight:hover, body.aw .aw-first-flight:focus-visible { border-color: var(--hp-action); }

/* Wordmark: AEROWING with "VA" in the same face, in the accent colour, no box (partials/brand.php) */
.aw-brand-word { font-family: "Sora", var(--aw-display); font-size: 1.3rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: #fff; white-space: nowrap; }
.aw-brand-tag { margin-left: 0.32em; color: var(--hp-action, #ffb547); font-weight: 600; }
@media (max-width: 379.98px) { .aw-brand-word { font-size: 1.12rem; } }

/* Program cards before a screenshot exists: the program's icon and what it does */
.aw-hp-shot-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 1.5rem;
    background: radial-gradient(280px 160px at 50% 35%, rgba(255, 181, 71, 0.14), transparent 70%), linear-gradient(160deg, var(--aw-surface-3), var(--aw-bg-2));
    border-bottom: 1px solid var(--aw-border); }
.aw-hp-shot-icon .bi { font-size: 3.2rem; line-height: 1; color: var(--hp-action, #ffb547); filter: drop-shadow(0 0 18px rgba(255, 181, 71, 0.35)); }
.aw-hp-shot-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.aw-hp-shot-tags span { padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.72rem; color: var(--aw-text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--aw-border-strong); }
.aw-hp-soon { display: inline-block; vertical-align: middle; margin-left: 0.4rem; padding: 0.15rem 0.5rem; border-radius: 6px; font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #1a1205; background: var(--hp-action, #ffb547); }

/* Live section, final layout: the map across the full width; under it the flight cards side by
   side (as many per row as fit) and this month's three numbers in one row */
.aw-hp-live-grid { grid-template-columns: minmax(0, 1fr); }
.aw-hp-live-map .aw-live-map { height: clamp(320px, 52vh, 500px); }
.aw-hp-live-side { gap: 1rem; }
.aw-hp-flights, .aw-hp-flights:not(:empty) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 0.9rem; max-height: none; overflow: visible; flex: none; }
.aw-hp-flights:empty { display: none; }
.aw-hp-month,
.aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-month { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; height: auto; margin-top: 0; }
.aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num { display: block; padding: 0.9rem 1.1rem; }
.aw-hp-num { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; padding: 1rem 1.25rem; }
.aw-hp-num strong, .aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num strong { display: inline; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
@media (max-width: 575.98px) {
    .aw-hp-num { display: block; padding: 0.8rem; }
    .aw-hp-num strong, .aw-hp-live-side:has(.aw-hp-flights:empty) .aw-hp-num strong { display: block; font-size: 1.25rem; }
}

/* Sign-up: the optional fields folded under one line */
.aw-reg-optional { border-top: 1px solid var(--aw-border); padding-top: 0.9rem; }
.aw-reg-optional summary { cursor: pointer; color: var(--aw-muted); font-weight: 600; font-size: 0.92rem; }
.aw-reg-optional summary:hover { color: var(--aw-text); }

/* Pilot profile: the shareable card */
.aw-pcard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; overflow: hidden; }
.aw-pcard-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.aw-pcard-body { padding: 1.5rem; min-width: 0; }
.aw-pcard-title { font-size: 1.35rem; margin: 0 0 0.4rem; }
@media (max-width: 767.98px) { .aw-pcard { grid-template-columns: minmax(0, 1fr); } }

/* Event page: who said they will join */
.aw-attendees { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem; }
.aw-attendees li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem 0.35rem 0.4rem; border-radius: 999px; background: var(--aw-surface-2); border: 1px solid var(--aw-border); }

/* Flight cards under the map: as wide as the row allows (one flight spans the map's width), the
   percentage beside the progress bar; on a wide card everything sits in one line */
.aw-hp-flights, .aw-hp-flights:not(:empty) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.aw-hp-flights > li { container-type: inline-size; }
.aw-hp-prog { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.35rem; }
.aw-hp-prog .aw-hp-bar { flex: 1 1 auto; margin-top: 0; height: 8px; border-radius: 4px; }
.aw-hp-prog .aw-hp-bar > span { border-radius: 4px; }
.aw-hp-pct { flex: 0 0 auto; min-width: 3.2ch; text-align: right; font-weight: 700; font-size: 0.95rem; color: var(--aw-amber); }
@container (min-width: 760px) {
    .aw-hp-flight { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1.6fr); align-items: center; gap: 1.25rem; padding: 1rem 1.4rem; }
    .aw-hp-flight-top { justify-content: flex-start; gap: 0.6rem; }
    .aw-hp-prog { margin-top: 0; }
}

/* Live flights under the map: one row per flight, like an operations board */
.aw-hp-ftable-wrap { margin: 0; }
.aw-hp-ftable-wrap[hidden] { display: none; }
.aw-hp-ftable { font-size: 0.92rem; }
.aw-hp-ftable thead th { font-family: var(--aw-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aw-muted); white-space: nowrap; }
.aw-hp-ftable tbody tr { cursor: pointer; }
.aw-hp-ftable tbody tr:hover > td, .aw-hp-ftable tbody tr:focus-visible > td { background: rgba(255, 255, 255, 0.04); }
.aw-hp-ftable td { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.aw-hp-ftable .aw-live-rank { vertical-align: -3px; }
.aw-hp-prog-cell { min-width: 150px; width: 22%; }
.aw-hp-prog-cell .aw-hp-prog { margin-top: 0; }
@media (max-width: 575.98px) { .aw-hp-prog-cell { min-width: 96px; } .aw-hp-pct { font-size: 0.85rem; } }
@media (max-width: 575.98px) {
    .aw-hp-ftable { font-size: 0.85rem; }
    .aw-hp-ftable th, .aw-hp-ftable td { padding-left: 0.45rem; padding-right: 0.45rem; }
    .aw-hp-ftable td:first-child { white-space: normal !important; }
    .aw-hp-prog-cell { min-width: 0; width: 1%; }
    .aw-hp-prog-cell .aw-hp-prog { flex-direction: column; align-items: flex-end; gap: 0.3rem; }
    .aw-hp-prog-cell .aw-hp-bar { flex: 0 0 auto; width: 44px; }
}

/* "Soru sor" chat bubble (partials/chat.php, js/chat.js), 13 Nov 2026 */
.aw-chat { position: fixed; right: 18px; bottom: 18px; z-index: 1060; font-family: var(--aw-font); }
.aw-chat-fab { position: relative; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
    padding: 12px 18px; background: var(--aw-amber); color: #031426; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.aw-chat-fab:hover { background: var(--aw-amber-hover); }
.aw-chat-fab .bi { font-size: 1.25rem; }
.aw-chat.is-open .aw-chat-fab { display: none; }
.aw-chat-dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--aw-red); border: 2px solid var(--aw-bg); }
.aw-chat-panel { width: min(370px, calc(100vw - 24px)); height: min(560px, calc(100vh - 40px)); display: flex; flex-direction: column;
    background: var(--aw-surface); border: 1px solid var(--aw-border-strong); border-radius: var(--aw-radius); overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.aw-chat-panel[hidden] { display: none; }
.aw-chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px;
    background: var(--aw-surface-3); border-bottom: 1px solid var(--aw-border); }
.aw-chat-title { font-weight: 700; color: var(--aw-text); }
.aw-chat-sub { font-size: .8rem; color: var(--aw-muted); }
.aw-chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--aw-bg-2); }
.aw-chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.aw-chat-mine { align-self: flex-end; align-items: flex-end; }
.aw-chat-staff { align-self: flex-start; }
.aw-chat-bubble { padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; line-height: 1.45; font-size: .93rem; }
.aw-chat-mine .aw-chat-bubble { background: var(--aw-amber); color: #031426; border-bottom-right-radius: 4px; }
.aw-chat-staff .aw-chat-bubble { background: var(--aw-surface-3); color: var(--aw-text); border-bottom-left-radius: 4px; }
.aw-chat-meta { font-size: .7rem; color: var(--aw-muted); margin-top: 3px; }
.aw-chat-form { padding: 10px; border-top: 1px solid var(--aw-border); background: var(--aw-surface); }
.aw-chat-who { display: grid; gap: 6px; margin-bottom: 8px; }
.aw-chat-who[hidden] { display: none; }
.aw-chat-note { font-size: .72rem; color: var(--aw-muted); }
.aw-chat-error { font-size: .8rem; color: var(--aw-red); margin-bottom: 6px; }
.aw-chat-send { display: flex; gap: 8px; align-items: flex-end; }
.aw-chat-send textarea { resize: none; min-height: 40px; }
@media (max-width: 575.98px) {
    .aw-chat { right: 12px; bottom: 12px; }
    .aw-chat-fab-label { display: none; }
    .aw-chat-fab { padding: 14px; }
    .aw-chat.is-open { left: 12px; top: 12px; }
    .aw-chat-panel { width: 100%; height: 100%; }
}

/* Fleet page type cards (15 Nov 2026): the picture on a dark stage, then the facts and registrations */
.aw-fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.25rem; }
.aw-fleet-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--aw-surface); border: 1px solid var(--aw-border); transition: transform 0.2s ease, border-color 0.2s ease; }
.aw-fleet-card:hover { transform: translateY(-3px); border-color: var(--aw-border-strong); }
.aw-fleet-media { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 45%, #1d2a40 0%, #121a29 55%, #0b111c 100%); }
.aw-fleet-media img { width: 88%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); }
.aw-fleet-placeholder { font-size: 3.4rem; color: var(--aw-muted); opacity: 0.35; transform: rotate(45deg); }
.aw-fleet-count { position: absolute; top: 0.8rem; right: 0.8rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--aw-text); background: rgba(10, 14, 22, 0.75); border: 1px solid var(--aw-border); }
.aw-fleet-media-reg { position: absolute; left: 1rem; bottom: 0.7rem; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--aw-muted); }
.aw-fleet-body { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--aw-border); flex: 1; }
.aw-fleet-kicker { font-size: 0.76rem; color: var(--aw-muted); letter-spacing: 0.04em; }
.aw-fleet-name { margin: 0.35rem 0 0.25rem; font-size: 1.45rem; font-weight: 700; }
.aw-fleet-desc { margin: 0 0 1rem; color: #b9c6da; line-height: 1.5; }
.aw-fleet-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.5rem; margin: 0 0 1.1rem; }
.aw-fleet-specs dt { font-size: 0.8rem; font-weight: 400; color: var(--aw-muted); margin-bottom: 0.1rem; }
.aw-fleet-specs dd { margin: 0; font-weight: 700; }
.aw-fleet-wide { grid-column: 1 / -1; }
.aw-fleet-regs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.aw-fleet-reg { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.65rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--aw-bg-2); border: 1px solid var(--aw-border); }
.aw-fleet-more { color: var(--aw-muted); }
@media (prefers-reduced-motion: reduce) { .aw-fleet-card { transition: none; } }
.aw-fleet-tabs:not([hidden]) { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; margin: 0 0 1.5rem; border-radius: 12px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-fleet-tabs button { padding: 0.45rem 0.85rem; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--aw-muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.aw-fleet-tabs button:hover { color: var(--aw-text); }
.aw-fleet-tabs button.on { color: var(--aw-text); background: var(--aw-bg-2); border-color: var(--hp-action, #ffb547); }
.aw-fleet-tabs button:focus-visible { outline: 2px solid var(--hp-action, #ffb547); outline-offset: 2px; }
.aw-fleet-card[hidden] { display: none; }
.aw-fleet-tab-count { display: inline-block; min-width: 1.3rem; margin-left: 0.25rem; padding: 0 0.35rem; border-radius: 999px; font-size: 0.72rem; line-height: 1.3rem; text-align: center; color: #0a0e16; background: var(--hp-action, #ffb547); }
.aw-fleet-maint:not([hidden]) { display: block; padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.aw-fleet-maint-list { display: grid; gap: 0.6rem; }
.aw-fleet-maint-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.5rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--aw-border); }
.aw-fleet-maint-row:first-child { border-top: 0; }
.aw-fleet-maint-state { font-size: 0.8rem; font-weight: 600; }
.aw-fleet-maint-shop, .aw-fleet-maint-aog { color: #ff7a6b; }
.aw-fleet-maint-warn { color: var(--hp-action, #ffb547); }
@media (max-width: 575.98px) { .aw-fleet-maint-row { grid-template-columns: auto 1fr; } }

/* Routes page (15 Nov 2026): the network map, then tabs and search above the timetable */
.aw-routes-map { height: clamp(320px, 52vh, 540px); margin: 0 0 1.25rem; border-radius: 20px; overflow: hidden; border: 1px solid var(--aw-border); background: #0b111c; }
.aw-routes-map .leaflet-tile-pane { filter: invert(100%) hue-rotate(195deg) brightness(88%) contrast(88%) saturate(55%); }
.aw-routes-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0 0 1.25rem; }
.aw-routes-bar .aw-fleet-tabs { margin: 0; }
.aw-routes-search:not([hidden]) { display: flex; align-items: center; gap: 0.5rem; flex: 0 1 320px; padding: 0.45rem 0.8rem; border-radius: 12px; background: var(--aw-surface); border: 1px solid var(--aw-border); color: var(--aw-muted); }
.aw-routes-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--aw-text); }
.aw-routes-search:focus-within { border-color: var(--hp-action, #ffb547); }
tr[data-route-id]:hover td { background: rgba(255, 181, 71, 0.06); }
@media (max-width: 575.98px) { .aw-routes-search:not([hidden]) { flex-basis: 100%; } }

/* Home page "Operasyon Üslerimiz" (25 Nov 2026): intro on the left, photo cards in a row the arrows scroll */
.aw-hp-bases { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 2rem; align-items: center; }
.aw-hp-bases-accent { background: linear-gradient(90deg, #4cc3ff, #7a7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aw-hp-bases-nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.aw-hp-bases-arrow { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--aw-border-strong); background: rgba(255, 255, 255, 0.03); color: #fff; font-size: 1.2rem; line-height: 1; transition: background 0.2s, border-color 0.2s; }
.aw-hp-bases-arrow:hover, .aw-hp-bases-arrow:focus-visible { background: rgba(76, 195, 255, 0.15); border-color: #4cc3ff; }
.aw-hp-bases-rail { display: flex; gap: 1.1rem; margin: 0; padding: 0.25rem 0 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.aw-hp-bases-rail::-webkit-scrollbar { display: none; }
.aw-hp-base { position: relative; flex: 0 0 clamp(200px, 22vw, 260px); aspect-ratio: 3 / 4.2; border-radius: 22px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--aw-border-strong); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9); }
.aw-hp-base img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.aw-hp-base:hover img { transform: scale(1.05); }
.aw-hp-base::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 18, 0) 40%, rgba(4, 8, 18, 0.55) 70%, rgba(4, 8, 18, 0.95) 100%); }
.aw-hp-base-cap { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.aw-hp-base-icao { font-size: 0.72rem; letter-spacing: 0.12em; padding: 0.2rem 0.6rem; border-radius: 6px; background: rgba(6, 18, 36, 0.85); border: 1px solid rgba(76, 195, 255, 0.45); color: #9fd6ff; }
.aw-hp-base-city { font: 700 1.25rem var(--aw-font); letter-spacing: 0.02em; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.aw-hp-bases-credit { grid-column: 1 / -1; margin: 0; font-size: 0.72rem; }
@media (max-width: 767.98px) {
    .aw-hp-bases { grid-template-columns: 1fr; gap: 1.25rem; }
    .aw-hp-base { flex-basis: 70vw; }
}

/* Home page "Haftanın Uçuşları" (26 Nov 2026, no map): day cards with dates, the day's highlights, type
   filters and a departure board; each flight type has its own colour */
.aw-wf { --wf-dom: #4cc3ff; --wf-mid: #ffb547; --wf-long: #c792ff; }
.aw-wf-head { margin-bottom: 1.5rem; }
.aw-wf-head .aw-hp-lead { margin: 0; }
.aw-wf-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.5rem; }
.aw-wf-day { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding: 0.7rem 0.3rem; border-radius: 14px;
    border: 1px solid var(--aw-border-strong); background: rgba(255, 255, 255, 0.025); color: var(--aw-muted); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.aw-wf-day:hover, .aw-wf-day:focus-visible { border-color: var(--hp-action, #ffb547); color: var(--aw-text); }
.aw-wf-day-name { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.aw-wf-day-num { font-size: 1.6rem; line-height: 1.1; color: var(--aw-text); }
.aw-wf-day-month { font-size: 0.72rem; }
.aw-wf-day[aria-pressed="true"] { background: var(--hp-action, #ffb547); border-color: var(--hp-action, #ffb547); color: #1a1205; }
.aw-wf-day[aria-pressed="true"] .aw-wf-day-num { color: #1a1205; }
.aw-wf-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.aw-wf-hl { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--aw-border); background: var(--aw-surface-2); border-left: 4px solid var(--wf-c, var(--wf-dom)); }
.aw-wf-hl-long { --wf-c: var(--wf-long); }
.aw-wf-hl-short { --wf-c: var(--wf-dom); }
.aw-wf-hl-first { --wf-c: var(--wf-mid); }
.aw-wf-hl p { margin: 0; }
.aw-wf-hl-label { font-size: 0.78rem; color: var(--wf-c); letter-spacing: 0.04em; text-transform: uppercase; }
.aw-wf-hl-route { margin: 0.35rem 0 0.25rem !important; font-size: 1.15rem; font-weight: 700; color: var(--aw-text); }
.aw-wf-hl-meta { font-size: 0.78rem; color: var(--aw-muted); }
.aw-wf-kinds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.aw-wf-kind { padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--aw-border-strong); background: transparent; color: var(--aw-text); font-size: 0.82rem; }
.aw-wf-kind span { margin-left: 0.25rem; color: var(--aw-muted); font-variant-numeric: tabular-nums; }
.aw-wf-kind-dom { --wf-c: var(--wf-dom); } .aw-wf-kind-mid { --wf-c: var(--wf-mid); } .aw-wf-kind-long { --wf-c: var(--wf-long); }
.aw-wf-kind[aria-pressed="true"] { border-color: var(--wf-c, var(--aw-text)); background: color-mix(in srgb, var(--wf-c, #ffffff) 14%, transparent); }
.aw-wf-board-wrap { border-radius: 14px; border: 1px solid var(--aw-border); overflow: hidden; background: var(--aw-surface-2); }
.aw-wf-board { width: 100%; border-collapse: collapse; }
.aw-wf-board th { padding: 0.7rem 0.9rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-muted); background: rgba(0, 0, 0, 0.25); }
.aw-wf-board td { padding: 0.7rem 0.9rem; border-top: 1px solid var(--aw-border); vertical-align: middle; font-size: 0.9rem; }
.aw-wf-board tbody tr { cursor: pointer; }
.aw-wf-board tbody tr:hover td { background: rgba(255, 181, 71, 0.07); }
.aw-wf-board tbody tr:hover .aw-wf-go { color: var(--hp-action, #ffb547); transform: translateX(2px); }
.aw-wf-go { margin-left: 0.35rem; font-size: 0.75rem; color: var(--aw-muted); transition: transform 0.15s, color 0.15s; }
.aw-wf-fn a { color: inherit; text-decoration: none; }
.aw-wf-fn a:hover, .aw-wf-fn a:focus-visible { color: var(--hp-action, #ffb547); text-decoration: underline; }
a.aw-wf-hl { display: block; color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
a.aw-wf-hl:hover, a.aw-wf-hl:focus-visible { border-color: var(--wf-c); transform: translateY(-2px); }
.aw-wf-time { color: var(--hp-action, #ffb547); font-size: 1.05rem; font-weight: 600; }
.aw-wf-fn { color: var(--aw-muted); }
.aw-wf-city { font-weight: 600; }
.aw-wf-arrow { margin: 0 0.3rem; color: var(--aw-muted); }
.aw-wf-badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; white-space: nowrap;
    color: var(--wf-c); border: 1px solid color-mix(in srgb, var(--wf-c) 50%, transparent); background: color-mix(in srgb, var(--wf-c) 12%, transparent); }
.aw-wf-badge-dom { --wf-c: var(--wf-dom); } .aw-wf-badge-mid { --wf-c: var(--wf-mid); } .aw-wf-badge-long { --wf-c: var(--wf-long); }
.aw-wf-board tbody tr[data-kind="dom"] td:first-child { box-shadow: inset 3px 0 0 var(--wf-dom); }
.aw-wf-board tbody tr[data-kind="mid"] td:first-child { box-shadow: inset 3px 0 0 var(--wf-mid); }
.aw-wf-board tbody tr[data-kind="long"] td:first-child { box-shadow: inset 3px 0 0 var(--wf-long); }
.aw-wf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.9rem; }
.aw-wf-more { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--aw-border-strong); background: transparent; color: var(--aw-text); font-size: 0.85rem; }
.aw-wf-more:hover, .aw-wf-kind:hover { border-color: var(--hp-action, #ffb547); }
.aw-wf-all { color: var(--hp-action, #ffb547); font-weight: 600; text-decoration: none; }
.aw-wf-all:hover { text-decoration: underline; }
@media (max-width: 767.98px) {
    .aw-wf-highlights { grid-template-columns: 1fr; }
    .aw-wf-days { gap: 0.3rem; }
    .aw-wf-day { padding: 0.5rem 0.1rem; border-radius: 10px; }
    .aw-wf-day-num { font-size: 1.15rem; }
    .aw-wf-board td, .aw-wf-board th { padding: 0.6rem 0.55rem; }
}

/* Live map route line (26 Nov 2026): the departure and arrival labels at the ends of the yellow line */
.leaflet-tooltip.aw-route-tip { padding: 0.1rem 0.4rem; border: 1px solid #ffc83d; border-radius: 4px; background: rgba(11, 19, 36, 0.9);
    color: #ffc83d; font: 600 0.72rem var(--aw-mono); box-shadow: none; }
.leaflet-tooltip.aw-route-tip::before { display: none; }

/* Live map in the IVAO Webeye style (26 Nov 2026): callsigns under the planes, the clicked plane in orange,
   a card with both airports, plan points as small triangles with their names */
.aw-live-map.leaflet-container { background: #1b1d22; }
.aw-live-map .leaflet-tile-pane { filter: grayscale(100%) invert(100%) brightness(78%) contrast(82%); }
.aw-plane { overflow: visible; }
.aw-plane-cs { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
    font: 600 0.68rem var(--aw-mono); color: #8fb4ff; text-shadow: 0 0 3px #000, 0 0 3px #000; }
.aw-plane-offline .aw-plane-cs { color: #7fe6f5; }
.aw-plane-on span { color: #ff9f1c !important; filter: drop-shadow(0 0 6px rgba(255, 159, 28, 0.8)) !important; }
.aw-plane-on .aw-plane-cs { color: #ff9f1c; }
.aw-pop { min-width: 250px; font-size: 0.82rem; }
.aw-pop-head { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--aw-border); }
.aw-pop-head .aw-pop-cs { font-size: 0.95rem; color: #6d9bff; }
.aw-pop-type { font-family: var(--aw-mono); color: #fff; padding-left: 0.6rem; border-left: 1px solid var(--aw-border-strong); }
.aw-pop-head .aw-net-badge { margin-left: auto; }
.aw-pop .aw-pop-pilot { padding: 0.45rem 0; border-bottom: 1px dashed var(--aw-border); margin: 0; }
.aw-pop-legs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--aw-border); }
.aw-pop-end strong { display: block; font: 700 0.85rem var(--aw-mono); color: #fff; }
.aw-pop-end span { display: block; font-size: 0.72rem; line-height: 1.2; color: var(--aw-muted); }
.aw-pop-arr { text-align: right; }
.aw-pop-plane svg { width: 18px; height: 18px; fill: #fff; transform: rotate(90deg); display: block; }
.aw-pop-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding-top: 0.45rem; }
.aw-pop-nums span { display: block; font-size: 0.72rem; color: var(--aw-muted); }
.aw-pop-nums strong { font: 700 0.85rem var(--aw-mono); color: #fff; }
.aw-wpt { overflow: visible; }
.aw-wpt i { display: block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid #c9d4ff; }
.aw-wpt span { position: absolute; left: 9px; top: -4px; white-space: nowrap; font: 600 0.62rem var(--aw-mono); color: #dfe6ff; text-shadow: 0 0 3px #000, 0 0 3px #000; }
.leaflet-tooltip.aw-route-tip { border-color: #ffffff; color: #ffffff; }
/* Plane icons by type (27 Nov 2026): Webeye blue on IVAO, teal offline (tracking app), grey on the ground */
.aw-plane span { color: #4d7cff; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)); }
.aw-plane-offline span { color: #2ec4d6; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)); }
.aw-plane-ground span { color: #9fb3cf; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)); }
.aw-plane-cs { color: #7fa2ff; }
.aw-plane-offline .aw-plane-cs { color: #6fdbe8; }
.aw-legend-ivao { background: #4d7cff; box-shadow: 0 0 6px #4d7cff; }
.aw-legend-offline { background: #2ec4d6; box-shadow: 0 0 6px #2ec4d6; }

/* Medal art (27 Nov 2026, App\Services\MedalArt): enamel pilot wings per family with a progress bar,
   special badges as gold wings, and a round patch per tour (grey until flown) */
.aw-medals { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.aw-medal { flex-direction: column; justify-content: flex-start; text-align: center; gap: 0.15rem; padding: 0.6rem 0.5rem 0.65rem; border-radius: 14px;
    background: radial-gradient(ellipse at 50% 0, var(--aw-halo, transparent), transparent 62%), var(--aw-bg-2); }
.aw-medal-t1 { --aw-halo: rgba(208, 138, 78, 0.22); } .aw-medal-t2 { --aw-halo: rgba(201, 210, 222, 0.2); }
.aw-medal-t3, .aw-medal-special { --aw-halo: rgba(240, 192, 58, 0.22); } .aw-medal-t4 { --aw-halo: rgba(169, 238, 247, 0.25); }
.aw-wings { position: relative; display: block; width: 150px; max-width: 100%; aspect-ratio: 200 / 118; margin: 0 auto; }
.aw-wings svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)); }
.aw-wings i { position: absolute; left: 50%; top: 36.5%; transform: translateX(-50%); font-size: 0.85rem; line-height: 1; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.aw-wings-t0 { filter: grayscale(1) brightness(0.5); }
.aw-medal .aw-medal-name { font-size: 0.85rem; font-weight: 700; color: #eaf3ff; }
.aw-medal-bar { display: block; width: 86%; height: 5px; margin: 0.3rem auto 0.15rem; border-radius: 3px; background: #1b2740; overflow: hidden; }
.aw-medal-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8a4a1d, #d08a4e); }
.aw-medal-t2 .aw-medal-bar span { background: linear-gradient(90deg, #7f8b9c, #c9d2de); }
.aw-medal-t3 .aw-medal-bar span { background: linear-gradient(90deg, #a8740a, #f0c03a); }
.aw-medal-t4 .aw-medal-bar span { background: linear-gradient(90deg, #3aa9bb, #a9eef7); }
.aw-medal-t0 .aw-medal-bar span { background: linear-gradient(90deg, #3c4452, #6b7586); }
.aw-medal .aw-medal-progress { font-size: 0.7rem; }
.aw-medals-sub { margin: 0.2rem 1.1rem 0; font-size: 0.82rem; font-weight: 700; color: #dfe8f5; }
.aw-patches { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 0.7rem; padding: 0.7rem 1.1rem 1.1rem; }
.aw-patch-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; }
.aw-patch { display: block; width: 104px; max-width: 100%; aspect-ratio: 1; transition: transform 0.2s; }
.aw-patch svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6)); }
.aw-patch-item:hover .aw-patch { transform: translateY(-2px) rotate(-2deg); }
.aw-patch-locked { filter: grayscale(1) brightness(0.45); opacity: 0.8; }
.aw-patch-item .aw-medal-name { font-size: 0.75rem; font-weight: 600; color: #dfe8f5; line-height: 1.2; }
.aw-patch-item.is-open .aw-medal-name { color: var(--aw-muted); }

/* Admin tour form (27 Nov 2026): the window asking whether the tour's plans carry RMK/TRTOURyy */
dialog.aw-ask { max-width: 30rem; width: calc(100% - 2rem); padding: 1.3rem 1.4rem; border-radius: 14px; border: 1px solid var(--aw-border-strong);
    background: var(--aw-surface-2); color: var(--aw-text); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9); }
dialog.aw-ask::backdrop { background: rgba(3, 7, 15, 0.72); }
.aw-ask-q { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.aw-ask-q i { color: var(--hp-action, #ffb547); }
.aw-ask .is-current { box-shadow: 0 0 0 2px var(--hp-action, #ffb547); }

/* Refer a friend (27 Nov 2026): the invitation note on the sign-up page */
.aw-referral-note { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.75rem 0.9rem; border-radius: 10px;
    border: 1px solid rgba(47, 191, 74, 0.45); background: rgba(47, 191, 74, 0.1); font-size: 0.9rem; }
.aw-referral-note i { color: #2fbf4a; font-size: 1.1rem; line-height: 1.2; }

/* ---- Landing analysis and scorecard by phase (28 Nov 2026) ---- */
.aw-phases { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.aw-phase { border: 1px solid var(--aw-border); border-radius: 10px; padding: .6rem .8rem; background: var(--aw-surface-2); }
.aw-phase-none { opacity: .6; }
.aw-phase-head { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: baseline; }
.aw-phase-name { font-weight: 600; }
.aw-phase-points { min-width: 4.5rem; text-align: right; }
.aw-phase .aw-notice-list { font-size: .875rem; }
.aw-phase-total { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding-top: .6rem; border-top: 1px solid var(--aw-border); }
@media (max-width: 575.98px) {
    .aw-phase-head { grid-template-columns: 1fr auto; }
    .aw-phase-head > .small { grid-column: 1 / -1; grid-row: 2; }
}
.aw-runway-svg, .aw-profile-svg { width: 100%; height: auto; display: block; }
.aw-runway-svg { max-width: 760px; }
.aw-profile-svg { max-width: 760px; background: var(--aw-surface-2); border: 1px solid var(--aw-border); border-radius: 10px; }
.aw-rwy { fill: #1d2c40; stroke: var(--aw-border-strong); }
.aw-rwy-displaced { fill: #2a3a52; opacity: .9; }
.aw-rwy-tdz { fill: rgba(61, 220, 132, .14); }
.aw-rwy-thr { stroke: #fff; stroke-width: 3; }
.aw-rwy-cl { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 10 8; opacity: .75; }
.aw-rwy-aim { fill: #fff; opacity: .85; }
.aw-rwy-ident { fill: var(--aw-text); font: 600 13px var(--aw-mono); }
.aw-rwy-note { fill: var(--aw-muted); font: 11px var(--aw-font); }
.aw-rwy-label { fill: var(--aw-text); font: 600 12px var(--aw-mono); }
.aw-rwy-pin { stroke: var(--aw-muted); stroke-width: 1; stroke-dasharray: 2 2; }
.aw-rwy-td { fill: currentColor; stroke: #fff; stroke-width: 2; }
.aw-prof-grid { stroke: var(--aw-border); stroke-width: 1; }
.aw-prof-tick { fill: var(--aw-muted); font: 11px var(--aw-mono); }
.aw-prof-axis { fill: var(--aw-muted); font: 11px var(--aw-font); }
.aw-prof-thr { stroke: var(--aw-muted); stroke-dasharray: 4 4; }
.aw-prof-gp { stroke: var(--aw-green); stroke-width: 2; stroke-dasharray: 8 6; }
.aw-prof-flown { fill: none; stroke: var(--aw-amber); stroke-width: 2.5; stroke-linejoin: round; }
.aw-prof-td { fill: var(--aw-amber); stroke: #fff; stroke-width: 2; }
.aw-prof-legend { display: flex; gap: 1.25rem; margin-top: .4rem; color: var(--aw-muted); }
.aw-legend-line { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--aw-amber); vertical-align: middle; }
.aw-legend-line.aw-legend-gp { border-top: 3px dashed var(--aw-green); }
.aw-zone-long { color: #ffb020 !important; }

/* ---- The AeroWing program page /acars (28 Nov 2026) ---- */
.aw-prog-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
.aw-prog-hero .aw-h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; margin: .3rem 0 1rem; }
.aw-prog-chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.aw-prog-chips li { font-size: .78rem; padding: .3rem .65rem; border: 1px solid var(--aw-border-strong); border-radius: 999px; color: var(--aw-text); background: var(--aw-surface-2); }
.aw-prog-section { margin-top: 2.75rem; }
.aw-prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.aw-prog-card { padding: 1.35rem; border-radius: var(--aw-radius); border: 1px solid var(--aw-border); background: linear-gradient(180deg, var(--aw-surface-2), var(--aw-surface)); }
.aw-prog-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(76, 195, 255, .12); color: var(--aw-amber); font-size: 1.35rem; margin-bottom: .8rem; }
.aw-prog-card-title { font-family: var(--aw-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: .4rem; }
.aw-prog-card p { color: #c3d2e8; }
.aw-prog-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.aw-prog-steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.aw-prog-steps li { display: flex; gap: .8rem; padding: 1.1rem; border: 1px solid var(--aw-border); border-radius: var(--aw-radius); background: var(--aw-surface); }
.aw-prog-step-no { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--aw-amber); color: #031326; font-weight: 700; }
.aw-prog-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.aw-prog-cta-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 991.98px) {
    .aw-prog-hero { grid-template-columns: 1fr; }
}

/* ---- Traffic near our flights on the live map (28 Nov 2026) ---- */
.aw-traffic { background: none; border: 0; }
.aw-traffic span { display: block; width: 16px; height: 16px; color: #8fa3bd; opacity: .85; }
.aw-traffic-vatsim span { color: #b7a6e6; }
.aw-traffic svg { display: block; fill: currentColor; }
.aw-legend-traffic { background: #8fa3bd; }
.aw-traffic-toggle { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; margin: 0; }
.aw-traffic-toggle input { accent-color: var(--aw-amber); }
.aw-traffic-card { min-width: 150px; line-height: 1.5; }

/* ----- Kadromuz as a tree (28 Nov 2026): the top down, lines from each member to the people under them */
.aw-org { overflow-x: auto; padding-bottom: 0.5rem; --aw-org-line: rgba(76, 195, 255, 0.45); }
.aw-org-level { position: relative; display: flex; justify-content: center; margin: 0; padding: 1.6rem 0 0; list-style: none; }
.aw-org > .aw-org-level { padding-top: 0; }
.aw-org-node { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.6rem 0.6rem 0; }
.aw-org-node::before, .aw-org-node::after { content: ""; position: absolute; top: 0; right: 50%; width: 50%; height: 1.6rem; border-top: 2px solid var(--aw-org-line); }
.aw-org-node::after { right: auto; left: 50%; border-left: 2px solid var(--aw-org-line); }
.aw-org-node:only-child { padding-top: 0; }
.aw-org-node:only-child::before, .aw-org-node:only-child::after { display: none; }
.aw-org-node:first-child::before, .aw-org-node:last-child::after { border: 0 none; }
.aw-org-node:last-child::before { border-right: 2px solid var(--aw-org-line); border-radius: 0 8px 0 0; }
.aw-org-node:first-child::after { border-radius: 8px 0 0 0; }
.aw-org-level .aw-org-level::before { content: ""; position: absolute; top: 0; left: 50%; height: 1.6rem; border-left: 2px solid var(--aw-org-line); }
.aw-org > .aw-org-level > .aw-org-node { padding-top: 0; }
.aw-org > .aw-org-level > .aw-org-node::before, .aw-org > .aw-org-level > .aw-org-node::after { display: none; }
.aw-org .aw-staff-card { width: 300px; max-width: 100%; }
/* Phones: one column, each level indented under a line */
@media (max-width: 575.98px) {
  .aw-org-level { flex-direction: column; align-items: stretch; padding: 0.9rem 0 0 1.1rem; }
  .aw-org > .aw-org-level { padding-left: 0; }
  .aw-org-level .aw-org-level { border-left: 2px solid var(--aw-org-line); margin-left: 0.4rem; }
  .aw-org-level .aw-org-level::before, .aw-org-node::before, .aw-org-node::after { display: none; }
  .aw-org-node { align-items: stretch; padding: 0.9rem 0 0; }
  .aw-org-node:only-child, .aw-org > .aw-org-level > .aw-org-node { padding-top: 0.9rem; }
  .aw-org > .aw-org-level > .aw-org-node:first-child { padding-top: 0; }
  .aw-org .aw-staff-card { width: auto; }
}
/* A deputy beside the person they report to, joined by a line on the same row */
.aw-org-row { display: flex; align-items: center; }
.aw-org-link { flex: none; width: 2.4rem; border-top: 2px solid var(--aw-org-line); }
@media (max-width: 575.98px) {
  .aw-org-row { flex-direction: column; align-items: stretch; }
  .aw-org-link { width: 0; height: 0.9rem; border-top: 0; border-left: 2px solid var(--aw-org-line); margin-left: 2.2rem; }
}
