/* ─────────────────────────────────────────────────────────────────────────
 * ICAO Lookup — Apple design system, dark mode
 * Absolute Black canvas (#000000) with Graphite Surface steps
 * (#1c1c1e / #2c2c2e / #3a3a3c) for elevated cards. Single accent —
 * High-Luminance Link Blue #2997ff — reserved for credit-link semantics.
 * Hairline borders at low-alpha white (rgba 0.06–0.12) do the separation
 * work; depth is intentionally restrained in favor of tonal contrast.
 *
 * Type: Inter Tight (display), Inter (body), JetBrains Mono (mono).
 * ─────────────────────────────────────────────────────────────────────── */

:root {
    /* ─── Surfaces (dark mode ramp) ───────────────────────────────────
     * Apple's binary chapter rhythm in dark mode: pure black hero
     * canvas, then stepped graphite elevations. We mirror the Apple
     * HIG systemBackground ramp (secondary / tertiary / quaternary)
     * so cards and the readout panel feel lifted without shadows. */
    --bg:           #000000;   /* Absolute Black — main canvas */
    --surface:      #1c1c1e;   /* systemBackground secondary dark */
    --surface-warm: #1c1c1e;   /* matches secondary in dark */
    --surface-2:    #2c2c2e;   /* systemBackground tertiary — elevated cards */
    --surface-3:    #3a3a3c;   /* systemBackground quaternary — highest step */
    --surface-subtle: #1c1c1e;

    /* ─── Foreground ramp (inverted for dark) ─────────────────────────
     * Apple walks a four-stop neutral ramp. In dark mode the stops
     * invert but keep the same brand recognisability — Pale Apple
     * Gray becomes the primary text tone, the four-step ladder stays
     * intact for hierarchy. */
    --fg:    #f5f5f7;          /* Pale Apple Gray — primary text */
    --fg-2:  #d2d2d7;          /* Soft Border Gray — secondary text */
    --muted: #86868b;          /* Mid Border Gray — muted / metadata */
    --meta:  #6e6e73;          /* Secondary Neutral Gray — captions */

    /* ─── Border (light at low alpha, dark-mode convention) ───────────
     * Apple keeps a two-stop hairline system. In dark mode both stops
     * flip to white at very low alpha so cards separate without
     * competing with content. */
    --border:      rgba(255, 255, 255, 0.10);
    --border-soft: rgba(255, 255, 255, 0.06);

    /* ─── Accent (the only chromatic move) ────────────────────────────
     * High-Luminance Link Blue #2997ff — explicitly documented in
     * DESIGN.md §2 as the dark-scene link treatment. Per Apple's
     * "Don't introduce broad secondary accent palettes that compete
     * with Apple blue" rule, this is reserved for credit links only.
     * One accent, two uses per screen max. */
    --accent:        #2997ff;
    --accent-on:     #ffffff;
    --accent-hover:  #4dacff;   /* brighten, not darken */
    --accent-active: #0a84ff;   /* Apple HIG systemBlue dark */

    /* ─── Semantic (Apple HIG dark variants) ────────────────────────── */
    --success: #30d158;
    --warn:    #ffd60a;
    --danger:  #ff453a;

    /* ─── Typography ──────────────────────────────────────────────────
     * Inter, Inter Tight and JetBrains Mono are pulled from Google Fonts
     * by the <link> in index.html, so nothing needs to be installed
     * locally — the fallbacks below only engage if that request fails.
     * Inter Tight stays bound to the display role, Inter to the text
     * role, preserving the two-family split. */
    --font-display: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;

    /* Type scale (px) — verbatim from the Apple tokens contract */
    --text-xs:   12px;   /* Micro UI */
    --text-sm:   14px;   /* Control Label */
    --text-base: 17px;   /* Apple's reading baseline */
    --text-lg:   21px;   /* Link/Action Heading */
    --text-xl:   28px;   /* Card/Product Title */
    --text-2xl:  40px;   /* Product Heading */
    --text-3xl:  56px;   /* Hero Display L */
    --text-4xl:  80px;   /* Hero Display XL */

    /* Apple's leading envelope — tight at the top, airy in the body */
    --leading-body:  1.47;
    --leading-tight: 1.05;

    /* Display tracking compresses to -0.015em — the Apple machined feel */
    --tracking-display: -0.015em;

    /* ─── Spacing (8px base, micro-step utility intervals) ─────────── */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-12: 48px;

    /* Section rhythm — Apple's billboard chapters lean generous */
    --section-y-desktop: 100px;
    --section-y-tablet:  64px;
    --section-y-phone:   40px;

    /* ─── Radius (purposeful tiers, not one-size) ──────────────────── */
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   18px;
    --radius-pill: 980px;       /* Apple's signature capsule CTA */

    /* ─── Elevation (dark-mode adapted) ──────────────────────────────
     * Apple uses depth sparingly. In dark mode the surface steps do
     * most of the work; shadow alphas scale up because dark-on-dark
     * shadows need more contrast to read. */
    --elev-flat: none;
    --elev-ring: 0 0 0 1px var(--border);
    --elev-raised:
        0 1px 5px -4px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.4);

    --focus-ring: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 65%);

    --motion-fast:   150ms;
    --motion-base:   220ms;
    --ease-standard: cubic-bezier(0.28, 0, 0.22, 1);

    --container-max:            1024px;
    --container-gutter-desktop: 22px;
    --container-gutter-tablet:  18px;
    --container-gutter-phone:   16px;

    /* Layout-local */
    --panel-width: 320px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--bg);
    color: var(--fg);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
    font-weight: 400;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ─── App shell ──────────────────────────────────────────────────────── */

.app-container {
    display: flex;
    min-height: 100vh;
    max-width: 1520px;
    margin: 0 auto;
    align-items: stretch;
}

.main-content {
    flex: 1;
    min-width: 0;
    padding: 0 var(--space-8);
}

/* ─── Header (Absolute Black hero chapter) ──────────────────────────── */

header {
    width: 100%;
    padding: 80px 0 var(--space-8);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition:
        background-color 0.25s ease,
        border-bottom-color 0.25s ease;
}

header.header--compact {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

header.header--compact .title-section,
header.header--compact .search-container {
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
}

.title-section {
    margin-bottom: var(--space-12);
    max-width: var(--container-max);
    transition:
        opacity 0.25s ease,
        transform 0.3s ease;
}

h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 56px;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-display);
    color: var(--fg);
    margin-bottom: var(--space-3);
}

.subtitle {
    font-family: var(--font-body);
    color: var(--muted);
    font-weight: 400;
    font-size: var(--text-lg);
    line-height: 1.4;
    max-width: 56ch;
}

/* ─── Search row ────────────────────────────────────────────────────── */

.search-container {
    width: 100%;
    max-width: var(--container-max);
    position: relative;
    transition:
        opacity 0.25s ease,
        transform 0.3s ease;
}

.search-row {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.search-row input {
    flex: 1;
}

#search-input {
    width: 100%;
    padding: 0 56px 0 var(--space-5);
    height: 56px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    background-color: var(--surface);
    color: var(--fg);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--elev-ring);
    outline: none;
    transition:
        box-shadow var(--motion-fast) var(--ease-standard);
}

#search-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

#search-input:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

#search-input:focus,
#search-input:focus-visible {
    box-shadow:
        0 0 0 1px var(--fg),
        var(--focus-ring);
}

.filter-dropdown {
    padding: 0 44px 0 var(--space-5);
    height: 56px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    background-color: var(--surface);
    color: var(--fg);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--elev-ring);
    outline: none;
    cursor: pointer;
    transition: box-shadow var(--motion-fast) var(--ease-standard);
    min-width: 168px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2386868b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 16px;
}

.filter-dropdown:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.filter-dropdown:focus,
.filter-dropdown:focus-visible {
    box-shadow:
        0 0 0 1px var(--fg),
        var(--focus-ring);
}

.filter-dropdown option {
    background-color: var(--surface);
    color: var(--fg);
}

.loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-top-color: var(--fg);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    right: 192px;
    top: 50%;
    margin-top: -9px;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Main / results (continues on Absolute Black, cards lift to graphite) ─ */

main {
    width: 100%;
    max-width: var(--container-max);
    padding: var(--space-8) 0 96px;
}

.results-info {
    margin-bottom: var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-soft);
}

#results-count {
    font-variant-numeric: tabular-nums;
    color: var(--fg-2);
}

#loading-status {
    color: var(--muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ─── Section headers (mono uppercase eyebrows) ────────────────────── */

.section-header {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-8) 0 var(--space-3);
    margin-top: var(--space-2);
}

.section-header:first-child {
    margin-top: 0;
    padding-top: var(--space-4);
}

/* ─── Cards (Graphite Surface tertiary, hairline + soft dark shadow) ─ */

.aircraft-card, .airport-card {
    background-color: var(--surface-2);
    border-radius: var(--radius-md);
    padding: var(--space-5) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    box-shadow: var(--elev-raised);
    transition:
        transform var(--motion-base) var(--ease-standard),
        box-shadow var(--motion-base) var(--ease-standard),
        background-color var(--motion-base) var(--ease-standard);
    animation: cardIn 280ms var(--ease-standard) both;
}

.aircraft-card:hover, .airport-card:hover {
    transform: translateY(-1px);
    background-color: var(--surface-3);
    box-shadow:
        0 1px 5px -4px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 8px 16px -2px rgba(0, 0, 0, 0.5);
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.manufacturer, .airport-location {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.model-name, .airport-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-lg);
    line-height: 1.3;
    letter-spacing: var(--tracking-display);
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type-group, .code-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* ─── Code badges ─────────────────────────────────────────────────────
 * IATA badge is the "filled" control in dark mode — Pale Apple Gray
 * fill on Near-Black Ink text (the dark-mode inverse of the light-
 * mode Near-Black-Ink-on-white fill). The stark contrast is the
 * brand signature Apple uses for primary action fill chips.
 *
 * ICAO badge stays on the subtle graphite surface — the visual
 * differentiation between primary (IATA) and reference (ICAO) is
 * deliberate, without spending the accent budget. */

.type-code, .code-badge {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    background-color: var(--surface);
    color: var(--fg);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    box-shadow: var(--elev-ring);
    min-width: 72px;
    text-align: center;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.iata-badge {
    background-color: var(--fg);
    color: var(--bg);
    box-shadow: none;
}

.icao-badge {
    background-color: var(--surface);
    color: var(--fg-2);
}

/* ─── Copy buttons (capsule pill, ghost) ───────────────────────────── */

.copy-btn {
    background: transparent;
    color: var(--muted);
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--elev-ring);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-xs);
    transition:
        color var(--motion-fast) var(--ease-standard),
        box-shadow var(--motion-fast) var(--ease-standard),
        background-color var(--motion-fast) var(--ease-standard),
        opacity var(--motion-fast) var(--ease-standard);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

.copy-btn:hover {
    color: var(--fg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
    background-color: var(--surface);
}

.copy-btn:active {
    opacity: 0.7;
}

.copy-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 1px var(--fg),
        var(--focus-ring);
}

.copy-btn.copied {
    background-color: var(--fg);
    color: var(--bg);
    box-shadow: none;
}

.copy-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ─── Open button (map action, green accent) ────────────────────────── */

.open-btn {
    color: var(--success);
}

.open-btn:hover {
    color: #40e068;
    background-color: rgba(48, 209, 88, 0.1);
}

/* ─── Map selection modal ────────────────────────────────────────────── */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: modalFade 200ms ease;
}

.modal-card {
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: modalScale 250ms cubic-bezier(0.28, 0, 0.22, 1);
}

@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    margin-bottom: var(--space-6);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
}

.modal-airport-name {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--muted);
    margin-top: var(--space-1);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.modal-option {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--surface);
    border-radius: var(--radius-md);
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    transition: background var(--motion-fast) var(--ease-standard);
}

.modal-option:hover {
    background: var(--surface-3);
}

.modal-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.modal-close-btn {
    display: block;
    margin: var(--space-6) auto 0;
    background: none;
    border: none;
    color: var(--muted);
    font-size: var(--text-sm);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
}

.modal-close-btn:hover {
    color: var(--fg);
    background: var(--surface);
}

/* ─── Empty state ───────────────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 96px var(--space-6);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.5;
}

.empty-state svg {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-5);
    color: var(--fg);
    opacity: 0.20;
}

.empty-state p {
    max-width: 44ch;
    margin: 0 auto;
    color: var(--muted);
}

/* ─── Readout panel (slightly lifted dark surface, hairline separator) ─
 * Apple's separation-by-surface-tone rule: the panel uses a subtly
 * elevated graphite so the eye reads it as "behind glass" without
 * needing a border. A single hairline at left edge keeps the join
 * crisp at all widths. */

.readout-panel {
    width: var(--panel-width);
    flex-shrink: 0;
    background: #0d0d0d;
    padding: 96px var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    border-left: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
}

.readout-section {
    display: flex;
    flex-direction: column;
}

.readout-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.readout-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.05;
    letter-spacing: var(--tracking-display);
    font-variant-numeric: tabular-nums;
}

.readout-unit {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    margin-top: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.credits {
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-soft);
    margin-top: var(--space-4);
}

.credit-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: var(--space-3);
}

.credit-link a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(41, 151, 255, 0.4);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-sm);
    transition:
        color var(--motion-fast) var(--ease-standard),
        text-decoration-color var(--motion-fast) var(--ease-standard);
    width: fit-content;
}

.credit-link a:hover {
    color: var(--accent-hover);
    text-decoration-color: var(--accent);
}

.credit-link a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 2px;
}

.credit-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.copyright {
    gap: 2px;
    margin-top: auto;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-soft);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--meta);
}

/* ─── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .app-container {
        flex-direction: column;
    }

    .readout-panel {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: var(--section-y-tablet) var(--space-8);
        gap: var(--space-8);
        border-left: none;
        border-top: 1px solid var(--border-soft);
        position: static;
        align-self: auto;
        height: auto;
    }

    .readout-section {
        flex: 1;
        min-width: 200px;
    }

    .credits {
        flex-basis: 100%;
        flex-direction: column;
        padding-top: var(--space-8);
        margin-top: 0;
    }

    .copyright {
        flex-basis: 100%;
        margin-top: 0;
    }
}

@media (max-width: 920px) {
    .main-content {
        padding: 0 var(--space-6);
    }

    header {
        padding: var(--space-12) 0 var(--space-6);
    }

    h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: var(--text-base);
    }

    .title-section {
        margin-bottom: var(--space-8);
    }

    main {
        padding: var(--space-6) 0 var(--section-y-tablet);
    }
}

@media (max-width: 720px) {
    .search-row {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .filter-dropdown {
        min-width: 0;
        width: 100%;
    }

    .loader {
        right: var(--space-5);
        top: 19px;
        margin-top: 0;
    }

    .aircraft-card, .airport-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-5);
    }

    .type-group, .code-group {
        width: 100%;
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .model-name, .airport-name {
        white-space: normal;
        font-size: var(--text-base);
    }

    .readout-panel {
        padding: var(--space-8) var(--space-6);
        gap: var(--space-6);
    }

    .readout-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 var(--space-4);
    }

    header {
        padding: var(--space-8) 0 var(--space-5);
    }

    h1 {
        font-size: 32px;
    }

    .empty-state {
        padding: var(--space-12) var(--space-4);
    }

    .readout-panel {
        padding: var(--space-6) var(--space-4);
        flex-direction: column;
    }

    .readout-section {
        flex: 0 0 auto;
    }
}

/* ─── Reduced motion ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .aircraft-card, .airport-card {
        animation: none;
    }
}
