body {
    padding-top: 0;
}

/* Flight details — an operational story rather than another dense admin table. */
.flight-detail-page { margin: 0 auto; max-width: 1440px; }
.flight-detail-back { display: inline-block; font-weight: 700; margin-bottom: 1rem; text-decoration: none; }
.flight-detail-hero { background: linear-gradient(125deg, #321326 0%, #772953 63%, #a43a57 100%); border-radius: 1.25rem; box-shadow: 0 1rem 2.5rem rgba(50, 19, 38, 0.18); color: #fff; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); overflow: hidden; padding: clamp(1.5rem, 4vw, 3.5rem); position: relative; }
.flight-detail-hero::after { background: radial-gradient(circle, rgba(253, 183, 20, 0.24), transparent 68%); content: ''; height: 24rem; pointer-events: none; position: absolute; right: -8rem; top: -9rem; width: 24rem; }
.flight-detail-kicker, .flight-section__eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.flight-detail-kicker { color: #f7cfda; }
.flight-detail-kicker .text-info, .flight-detail-kicker .text-success, .flight-detail-kicker .text-warning { color: #fdb714 !important; }
.flight-detail-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.05em; margin: 0.25rem 0 1.25rem; }
.flight-detail-hero h1 span { color: #fdb714; }
.flight-detail-hero p { color: rgba(255,255,255,0.74); margin: 1.5rem 0 0; }
.flight-detail-hero a { color: #fff; font-weight: 700; }
.flight-detail-route { align-items: center; display: grid; gap: 1rem; grid-template-columns: minmax(8rem, auto) minmax(3rem, 1fr) minmax(8rem, auto); max-width: 48rem; }
.flight-detail-airport { display: flex; flex-direction: column; gap: 0.2rem; }
.flight-detail-airport__code { align-items: center; display: flex; font-size: 1.4rem; font-weight: 800; gap: 0.4rem; }
.flight-detail-airport > span:last-child { color: rgba(255,255,255,0.68); font-size: 0.82rem; }
.flight-detail-route__line { border-top: 2px dashed rgba(255,255,255,0.36); position: relative; }
.flight-detail-route__line::after { color: #fdb714; content: '✈'; font-size: 1.3rem; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -55%); }
.flight-detail-load { align-self: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 1rem; display: flex; flex-direction: column; padding: 1.4rem; position: relative; z-index: 1; }
.flight-detail-load > span { color: rgba(255,255,255,0.72); font-weight: 700; }
.flight-detail-load > strong { font-size: 3rem; letter-spacing: -0.05em; line-height: 1.1; }
.flight-detail-load .progress { margin: 0.7rem 0; }
.flight-detail-load small { color: rgba(255,255,255,0.7); }
.flight-facts { background: #fff; border: 1px solid rgba(50,19,38,0.1); border-radius: 1rem; box-shadow: 0 0.6rem 1.8rem rgba(50,19,38,0.06); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: -0.5rem 1rem 2rem; overflow: hidden; position: relative; z-index: 2; }
.flight-facts > div { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.2rem; }
.flight-facts > div + div { border-left: 1px solid rgba(50,19,38,0.08); }
.flight-facts span { color: #776a72; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }
.flight-facts strong { font-size: 0.92rem; }
.flight-section { background: #fff; border: 1px solid rgba(50,19,38,0.09); border-radius: 1rem; box-shadow: 0 0.6rem 1.8rem rgba(50,19,38,0.05); margin-bottom: 1.5rem; padding: clamp(1.1rem, 2.5vw, 2rem); }
.flight-section__heading { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.25rem; }
.flight-section__heading h2 { margin: 0.1rem 0 0; }
.flight-section__eyebrow { color: #e95420; }
.flight-detail-map { border-radius: 0.75rem; height: 360px; width: 100%; }
.flight-money-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flight-money-card { background: #f7f3f5; border-radius: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem; }
.flight-money-card span { color: #776a72; font-size: 0.78rem; font-weight: 700; }
.flight-money-card strong { font-size: 1.35rem; }
.flight-money-card.is-positive strong { color: #2c7a4b; }
.flight-money-card.is-negative strong { color: #b02a37; }
.flight-money-card.is-net { background: #321326; color: #fff; }
.flight-money-card.is-net span { color: rgba(255,255,255,0.7); }
.flight-sales-chart { min-height: 240px; margin: 0 -0.5rem 1rem; }
.flight-pager { align-items: center; display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1rem; }
.flight-itineraries { display: grid; gap: 1rem; }
.flight-itinerary { border: 1px solid rgba(50,19,38,0.11); border-radius: 0.8rem; overflow: hidden; }
.flight-itinerary header { align-items: center; background: #f7f3f5; display: flex; gap: 1rem; justify-content: space-between; padding: 0.8rem 1rem; }
.flight-itinerary header div { display: flex; flex-direction: column; }
.flight-itinerary header span, .flight-itinerary header small { color: #776a72; }
.flight-itinerary ol { list-style: none; margin: 0; padding: 0; }
.flight-itinerary li { align-items: center; display: grid; gap: 0.75rem; grid-template-columns: 4rem 4rem minmax(10rem, 1fr) minmax(11rem, 1fr) 6rem; padding: 0.75rem 1rem; }
.flight-itinerary li + li { border-top: 1px solid rgba(50,19,38,0.08); }
.flight-itinerary li.is-this-flight { box-shadow: inset 4px 0 #e95420; }
.flight-itinerary__leg { color: #776a72; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }

@media (max-width: 900px) {
    .flight-detail-hero { grid-template-columns: 1fr; }
    .flight-detail-load { width: min(100%, 22rem); }
    .flight-facts { grid-template-columns: repeat(2, 1fr); margin-inline: 0; }
    .flight-facts > div + div { border-left: 0; }
    .flight-money-grid { grid-template-columns: repeat(2, 1fr); }
    .flight-money-card.is-net { grid-column: 1 / -1; }
    .flight-itinerary li { grid-template-columns: 4rem 4rem 1fr; }
    .flight-itinerary li > span:nth-last-child(-n+2) { grid-column: 2 / -1; }
}

@media (max-width: 560px) {
    .flight-detail-route { grid-template-columns: 1fr; }
    .flight-detail-route__line { display: none; }
    .flight-facts, .flight-money-grid { grid-template-columns: 1fr; }
    .flight-section__heading, .flight-itinerary header { align-items: flex-start; flex-direction: column; }
    .flight-itinerary li { grid-template-columns: 1fr 1fr; }
    .flight-itinerary li > span:nth-last-child(-n+2) { grid-column: 1 / -1; }
    .flight-pager { justify-content: space-between; }
}

.app-shell {
    --sidebar-width: 15.75rem;
    background: var(--bs-body-bg, #fff);
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: 100vh;
}

.app-shell--collapsed { --sidebar-width: 4.75rem; }

.app-sidebar {
    background: var(--bs-dark, #772953);
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    flex-direction: column;
    grid-column: 1;
    height: 100vh;
    left: 0;
    overflow: hidden;
    padding: 0.9rem 0.7rem 0.75rem;
    position: sticky;
    top: 0;
    width: var(--sidebar-width);
    z-index: 20;
}

.app-sidebar__top { align-items: center; display: flex; gap: 0.35rem; margin-bottom: 0.75rem; min-height: 2.35rem; }
.app-sidebar__brand { align-items: center; color: #fff; display: flex; flex: 1; font-size: 0.91rem; font-weight: 800; gap: 0.6rem; min-width: 0; text-decoration: none; }
.app-sidebar__brand:hover { color: #fff; }
.app-sidebar__brand-mark { align-items: center; background: var(--bs-primary, #e95420); border-radius: 0.5rem; color: #fff; display: inline-flex; flex: none; font-size: 0.65rem; font-weight: 900; height: 2.2rem; justify-content: center; letter-spacing: -0.05em; width: 2.2rem; }
.app-sidebar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar__collapse, .app-mobile-header__menu { align-items: center; background: transparent; border: 0; border-radius: 0.45rem; color: rgba(255, 255, 255, 0.75); display: inline-flex; height: 2.2rem; justify-content: center; padding: 0; width: 2.2rem; }
.app-sidebar__collapse:hover, .app-sidebar__collapse:focus-visible, .app-mobile-header__menu:hover, .app-mobile-header__menu:focus-visible { background: rgba(255, 255, 255, 0.12); color: #fff; }
.app-sidebar__collapse:focus-visible, .app-mobile-header__menu:focus-visible, .app-sidebar__link:focus-visible { outline: 3px solid rgba(233, 84, 32, 0.85); outline-offset: 2px; }
.app-sidebar__nav { display: grid; flex: 1; gap: 0.5rem; min-height: 0; overflow-y: auto; padding-right: 0.2rem; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; scrollbar-gutter: stable; scrollbar-width: thin; }
.app-sidebar__nav::-webkit-scrollbar { width: 0.3rem; }
.app-sidebar__nav::-webkit-scrollbar-track { background: transparent; }
.app-sidebar__nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.28); border-radius: 999px; }
.app-sidebar__nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.46); }
.app-sidebar__section { display: grid; gap: 0.05rem; }
.app-sidebar__section-label { color: rgba(255, 255, 255, 0.43); font-size: 0.57rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1; margin: 0 0 0.12rem; padding: 0 0.65rem; text-transform: uppercase; }
.app-sidebar__link { align-items: center; border-radius: 0.45rem; color: rgba(255, 255, 255, 0.76); display: flex; font-size: 0.8rem; font-weight: 600; gap: 0.65rem; min-height: 1.85rem; padding: 0.25rem 0.65rem; text-decoration: none; }
.app-sidebar__link:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.app-sidebar__link.is-active { background: rgba(233, 84, 32, 0.2); color: #fff; }
.app-sidebar__icon { flex: none; height: 1.05rem; width: 1.05rem; }
.app-sidebar__footer { border-top: 1px solid rgba(255, 255, 255, 0.13); display: grid; gap: 0.45rem; margin-top: auto; padding: 0.65rem 0.35rem 0.1rem; }
.app-sidebar__time, .app-sidebar__logout { align-items: center; display: flex; gap: 0.55rem; min-width: 0; }
.app-sidebar__time .navbar-text { color: inherit; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar__time .navbar-text span[aria-hidden] { display: none; }
.app-sidebar__footer .form-control { font-size: 0.78rem; min-width: 0; padding: 0.3rem 0.45rem; }
.app-sidebar__logout .nav-link { color: inherit; font-size: 0.82rem; text-decoration: none; }
.app-sidebar__logout:hover, .app-sidebar__logout:focus-within { color: #fff; }
.app-sidebar__release { color: rgba(255, 255, 255, 0.42); font-size: 0.62rem; line-height: 1.3; }
.app-shell--collapsed .app-sidebar { align-items: center; padding-inline: 0.55rem; }
.app-shell--collapsed .app-sidebar__top { width: 100%; }
.app-shell--collapsed .app-sidebar__brand { flex: 0; }
.app-shell--collapsed .app-sidebar__collapse { margin-left: auto; transform: rotate(180deg); }
.app-shell--collapsed .app-sidebar__section-label, .app-shell--collapsed .app-sidebar__label, .app-shell--collapsed .app-sidebar__release { display: none; }
.app-shell--collapsed .app-sidebar__nav, .app-shell--collapsed .app-sidebar__section, .app-shell--collapsed .app-sidebar__footer { justify-items: center; width: 100%; }
.app-shell--collapsed .app-sidebar__link { justify-content: center; padding-inline: 0; width: 2.8rem; }
.app-shell--collapsed .app-sidebar__footer { border-top: 0; }
.app-shell--collapsed .app-sidebar__footer .form-control { display: none; }
.app-shell--collapsed .app-sidebar__logout { justify-content: center; }
.app-shell--collapsed .app-sidebar__logout .nav-link { font-size: 0; height: 2rem; width: 2rem; }
.app-shell__content { grid-column: 2; min-width: 0; padding: 1.5rem; }
.app-mobile-header, .app-sidebar__backdrop { display: none; }

/* Leaflet positions its root container (position: relative) but never sets a z-index on it,
   so it doesn't form its own stacking context: its internal panes and controls (z-index up to
   1000) end up comparing directly against page chrome like .app-sidebar (z-index: 20) at the
   document root and can paint over it, e.g. covering the mobile nav on the Flight Radar page.
   Giving it z-index: 0 contains all of that stacking to the map itself. */
.leaflet-container {
    z-index: 0;
}

.sales-passenger-id {
    font-size: 0.65rem;
    line-height: 1.15;
    max-width: 9rem;
    overflow-wrap: anywhere;
}

.sales-tail-heading {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.sales-tail-heading h2 {
    margin-bottom: 0;
}

.sales-tail-toggle {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.9rem;
    gap: 0.35rem;
}

.sales-tail-heading + .table-responsive,
.sales-tail-heading + p {
    margin-top: 0.75rem;
}

.sales-ticket-row > * {
    transition: background-color 0.6s ease;
}

.sales-ticket-row--new > * {
    background-color: rgba(var(--bs-success-rgb, 25, 135, 84), 0.2) !important;
}

/* The demand map's per-region rhythm charts float over the right of the map as a scrollable
   drawer, so they're visible the moment a region is clicked instead of below an 800px map. */
.demand-map-shell {
    position: relative;
}

.demand-rhythms-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 420px;
    max-width: 92%;
    overflow-y: auto;
    padding: 0.6rem 0.85rem 0.9rem;
    background: var(--bs-body-bg, #ffffff);
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
}

.demand-rhythms-drawer__close {
    position: sticky;
    top: 0;
    z-index: 1;
    float: right;
    margin-left: 0.75rem;
    padding: 0 0.3rem;
    border: none;
    background: transparent;
    color: var(--bs-secondary-color, #888888);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.demand-rhythms-drawer__close:hover {
    color: var(--bs-body-color, #000000);
}

/* Type is kept small so the charts, not the prose, lead the eye. */
.demand-rhythms-panel__title {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.demand-rhythms-panel__lede {
    margin: 0 0 0.7rem;
    max-width: 34rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.7rem;
    line-height: 1.35;
}

.demand-rhythm-chart {
    margin-bottom: 0.75rem;
}

.demand-rhythm-chart__title {
    margin: 0 0 0.15rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #6c757d);
}

.demand-rhythm-chart__table {
    margin-top: 0.35rem;
}

.demand-rhythm-chart__table > summary {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.7rem;
    cursor: pointer;
}

.demand-rhythm-chart__table table {
    margin: 0.35rem 0 0;
    font-size: 0.7rem;
}

.demand-rhythm-chart__table th {
    font-weight: 600;
}

@media (max-width: 640px) {
    .demand-rhythms-drawer {
        width: 100%;
        max-width: 100%;
    }
}

.guest-page {
    --ink: var(--bs-body-color, #333333);
    --muted: var(--bs-secondary-color, #868e96);
    --theme-dark: var(--bs-dark, #772953);
    --theme-primary: var(--bs-primary, #e95420);
    --theme-primary-hover: var(--bs-link-hover-color, #ba431a);
    background: var(--bs-light, #e9ecef);
    color: var(--ink);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
    min-height: 100vh;
    margin-top: 0;
}

/* Match the Ubuntu typeface used by the authenticated Bootstrap theme. */
.guest-page,
.guest-page button,
.guest-page input {
    font-family: var(--bs-body-font-family);
}

.guest-hero {
    background: var(--theme-dark);
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.guest-hero::before {
    background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 56px 56px;
    content: '';
    inset: 0;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    opacity: 0.65;
    position: absolute;
}

.guest-hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(2rem, 6vw, 5.5rem);
    position: relative;
    z-index: 1;
}

.guest-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.guest-brand:hover { color: #fff; }

.guest-brand__mark {
    align-items: center;
    background: var(--theme-primary);
    border-radius: 9px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    height: 2.2rem;
    justify-content: center;
    letter-spacing: -0.06em;
    width: 2.2rem;
}

.guest-hero__copy { margin: auto 0 2.75rem; max-width: 42rem; }
.guest-eyebrow { color: var(--theme-primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 1.25rem; text-transform: uppercase; }
.guest-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5.5rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.5rem; }
.guest-intro { color: rgba(255, 255, 255, 0.78); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 31rem; }

/* Sits above the intro, not below it: "is this pay-to-win?" is the first thing players ask about a
   manager game, so the answer should not need scrolling for. */
.guest-pledge { align-items: center; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 999px; color: #fff; display: inline-flex; font-size: 0.72rem; font-weight: 800; gap: 0.6rem; letter-spacing: 0.12em; margin-bottom: 1.6rem; padding: 0.52rem 1.1rem; text-transform: uppercase; }
.guest-pledge::before { background: var(--theme-primary); border-radius: 50%; content: ''; flex: none; height: 0.45rem; width: 0.45rem; }

.guest-route { align-items: center; display: flex; gap: 0.85rem; margin-bottom: auto; max-width: 40rem; }
.guest-route__airport { color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }
.guest-route__line { background: repeating-linear-gradient(90deg, var(--theme-primary) 0 9px, transparent 9px 16px); height: 1px; flex: 1; }
.guest-route__plane { color: var(--theme-primary); font-size: 1.45rem; transform: rotate(-16deg); }

.guest-stats { display: flex; gap: clamp(1rem, 4vw, 3.5rem); margin-top: 3rem; }
.guest-stats div { border-left: 1px solid rgba(255, 255, 255, 0.35); display: grid; padding-left: 0.9rem; }
.guest-stats strong { font-size: 0.9rem; }
.guest-stats span { color: rgba(255, 255, 255, 0.7); font-size: 0.78rem; margin-top: 0.2rem; }

.guest-hero__glow { border-radius: 50%; filter: blur(2px); pointer-events: none; position: absolute; }
.guest-hero__glow--one { background: rgba(255, 255, 255, 0.1); height: 28rem; right: -9rem; top: 6rem; width: 28rem; }
.guest-hero__glow--two { border: 1px solid rgba(255, 255, 255, 0.28); bottom: -12rem; height: 32rem; left: -13rem; width: 32rem; }

/* Centred by auto margins rather than justify-content: a sign-up form explaining every field it
   asks about is taller than a short viewport, and centred flex content that outgrows its box spills
   past the top edge where it cannot be scrolled back into view. Auto margins simply collapse. */
.guest-access { align-items: center; display: flex; flex-direction: column; justify-content: flex-start; min-height: 100vh; padding: 2rem; }
.guest-access__inner { margin-top: auto; max-width: 25rem; width: 100%; }
.guest-access__kicker { color: var(--theme-primary); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.13em; margin: 0 0 0.75rem; text-transform: uppercase; }
.guest-access h2 { font-size: 2.1rem; font-weight: 400; letter-spacing: -0.025em; margin: 0 0 0.65rem; }
.guest-access__lead { color: var(--muted); line-height: 1.55; margin-bottom: 2rem; }
.guest-social__btn { align-items: center; background: #fff; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: 8px; color: var(--ink); display: flex; font-weight: 700; gap: 0.65rem; justify-content: center; min-height: 3.05rem; padding: 0.78rem 1.25rem; text-decoration: none; width: 100%; }
.guest-social__btn:hover, .guest-social__btn:focus { background: #f7f5f6; border-color: var(--theme-primary); color: var(--ink); }
.guest-social__mark { height: 1.15rem; width: 1.15rem; }
.guest-divider { align-items: center; color: var(--muted); display: flex; font-size: 0.78rem; gap: 0.9rem; letter-spacing: 0.08em; margin: 1.5rem 0 1.4rem; text-transform: uppercase; }
.guest-divider::before, .guest-divider::after { background: var(--bs-border-color, #dee2e6); content: ''; flex: 1; height: 1px; }
.guest-callback { color: var(--muted); padding: 4rem 1.5rem; text-align: center; }
.guest-tabs { border-bottom: 1px solid var(--bs-border-color, #dee2e6); display: flex; gap: 1.5rem; margin-bottom: 1.75rem; }
.guest-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: inherit; font-weight: 700; margin-bottom: -1px; padding: 0 0 0.75rem; }
.guest-tab:hover { color: var(--ink); }
.guest-tab.is-active { border-color: var(--theme-primary); color: var(--ink); }
.guest-form .form-group { margin-bottom: 1.2rem; }
.guest-form .form-label { color: var(--ink); font-size: 0.88rem; font-weight: 700; margin-bottom: 0.45rem; }
.guest-form .form-control { background: #fff; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: 8px; box-shadow: none; font-size: 1rem; min-height: 3.05rem; padding: 0.65rem 0.8rem; }
.guest-form .form-control:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 233, 84, 32), 0.25); }
/* Room for the show/hide toggle to sit inside the box's right edge rather than push it wider. */
.guest-form__input-with-addon { position: relative; }
.guest-form__input-with-addon .form-control { padding-right: 4.2rem; }
.guest-form__toggle-password { background: transparent; border: 0; color: var(--theme-primary); font-size: 0.82rem; font-weight: 700; padding: 0.3rem 0.5rem; position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); }
.guest-form__toggle-password:hover, .guest-form__toggle-password:focus { text-decoration: underline; }
/* One line under every box: what the field is for, or — once the player has got it wrong — what to
   do about it. They occupy the same slot, so the form does not jump as answers are judged. */
.guest-form__hint, .guest-form__error, .guest-form__free { font-size: 0.78rem; line-height: 1.45; margin: 0.4rem 0 0; }
.guest-form__hint { color: var(--muted); }
.guest-form__error { color: var(--bs-danger, #dc3545); font-weight: 600; }
.guest-form__free { color: var(--bs-success, #198754); font-weight: 600; }
.guest-form .form-control.is-invalid { border-color: var(--bs-danger, #dc3545); }
.guest-form .form-control.is-invalid:focus { border-color: var(--bs-danger, #dc3545); box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.22); }
.guest-form__actions { margin-top: 1.75rem; }
.guest-form__actions .btn { background: var(--theme-primary); border: 0; border-radius: 8px; box-shadow: 0 7px 16px rgba(var(--bs-primary-rgb, 233, 84, 32), 0.24); font-weight: 700; padding: 0.78rem 1.25rem; width: 100%; }
.guest-form__actions .btn:hover, .guest-form__actions .btn:focus { background: var(--theme-primary-hover); }
.guest-form .alert { font-size: 0.9rem; }
.guest-form-panel img { display: block; margin: 1rem auto; }

/* A country flag always sits on the line it belongs to, next to the airport it names — never
   turned into a block of its own by whatever page it happens to be on. */
img.country-flag { display: inline-block; margin: 0; vertical-align: baseline; }
/* Follows the panel instead of being pinned to the page: pinned, it landed on top of the sign-up
   form's last fields as soon as the form grew. */
.guest-access__footer { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; margin: 2.5rem 0 auto; text-align: center; }
.guest-access__footer a { color: inherit; font-weight: 700; text-decoration: none; }
.guest-access__footer a:hover { color: var(--theme-primary); }

.info-page {
    --info-dark: var(--bs-dark, #772953);
    --info-primary: var(--bs-primary, #e95420);
    background: #f4f1f3;
    color: var(--bs-body-color, #333333);
    margin-top: 0;
    min-height: 100vh;
}

.info-shell { margin: 0 auto; max-width: 1120px; padding-left: 2rem; padding-right: 2rem; }
.info-header { background: var(--info-dark); color: #fff; }
.info-nav { align-items: center; display: flex; justify-content: space-between; min-height: 5rem; }
.info-brand { align-items: center; color: #fff; display: inline-flex; font-weight: 700; gap: 0.7rem; text-decoration: none; }
.info-brand:hover { color: #fff; }
.info-brand__mark { align-items: center; background: var(--info-primary); border-radius: 9px; display: inline-flex; font-size: 0.72rem; font-weight: 900; height: 2.2rem; justify-content: center; letter-spacing: -0.06em; width: 2.2rem; }
.info-nav nav { align-items: center; display: flex; gap: 1.5rem; }
.info-nav nav > a:not(.btn) { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; font-weight: 700; padding: 0.35rem 0; text-decoration: none; }
.info-nav nav > a:not(.btn):hover, .info-nav nav > a.is-active { color: #fff; }
.info-nav nav > a.is-active { border-bottom: 2px solid var(--info-primary); }
.info-nav .btn { font-weight: 700; }

.info-hero {
    background-color: var(--info-dark);
    background-image: radial-gradient(circle at 82% 45%, rgba(255, 255, 255, 0.13), transparent 24%), linear-gradient(125deg, transparent 55%, rgba(233, 84, 32, 0.16));
    color: #fff;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.info-hero .info-shell { max-width: 950px; }
.info-eyebrow, .info-kicker { color: var(--info-primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.info-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.03; margin: 1rem 0 1.5rem; max-width: 850px; }
.info-hero .info-shell > p:last-child { color: rgba(255, 255, 255, 0.76); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; max-width: 720px; }
.info-content { padding-bottom: 6rem; padding-top: 6rem; }
.info-section__heading { max-width: 650px; }
.info-section h2, .info-story h2, .info-callout h2, .info-pledge h2, .info-revival h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 400; letter-spacing: -0.035em; }

.faq-list { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
.faq-list details { background: #fff; border: 1px solid rgba(119, 41, 83, 0.12); border-radius: 12px; box-shadow: 0 8px 25px rgba(55, 38, 48, 0.04); padding: 0 1.4rem; }
.faq-list summary { cursor: pointer; font-size: 1.05rem; font-weight: 700; padding: 1.25rem 2rem 1.25rem 0; position: relative; }
.faq-list summary::marker { color: var(--info-primary); }
.faq-list details p { color: var(--bs-secondary-color, #6c757d); line-height: 1.7; max-width: 850px; padding: 0 0 1.3rem; }
.info-callout { align-items: center; background: var(--info-dark); border-radius: 16px; color: #fff; display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; margin-top: 4rem; padding: clamp(2rem, 5vw, 4rem); }
.info-callout p:last-child { color: rgba(255, 255, 255, 0.72); line-height: 1.75; }

.about-pillars { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
.about-pillars article { background: #fff; border-radius: 14px; min-height: 250px; padding: 2rem; }
.about-pillars article > span { color: var(--info-primary); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.about-pillars h3 { font-size: 1.35rem; margin: 3.5rem 0 1rem; }
.about-pillars p, .info-story > p, .info-revival > p { color: var(--bs-secondary-color, #6c757d); line-height: 1.75; }
.info-story { align-items: start; border-top: 1px solid rgba(119, 41, 83, 0.14); display: grid; gap: 4rem; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin-top: 5rem; padding-top: 5rem; }
.info-story--accent { border-top-color: rgba(233, 84, 32, 0.35); }
.info-pledge { background: var(--info-dark); border-radius: 16px; color: #fff; margin-top: 5rem; padding: clamp(2rem, 5vw, 4rem); }
.info-pledge h2 { margin: 0.75rem 0 1.75rem; max-width: 820px; }
.info-pledge p { color: rgba(255, 255, 255, 0.78); line-height: 1.75; max-width: 800px; }
.info-pledge p + p { margin-top: 1.25rem; }

.info-revival { background: #fff; border-left: 5px solid var(--info-primary); border-radius: 0 14px 14px 0; margin-top: 5rem; padding: clamp(2rem, 5vw, 4rem); }
.info-revival > p { max-width: 800px; }
.info-revival > a { color: var(--info-primary); display: inline-block; font-weight: 700; margin-top: 1rem; text-decoration: none; }
.info-footer { background: var(--info-dark); color: rgba(255, 255, 255, 0.68); font-size: 0.82rem; padding: 2rem 0; }
.info-footer .info-shell { display: flex; justify-content: space-between; }
.info-footer a { color: #fff; font-weight: 700; text-decoration: none; }
.info-footer__links { display: flex; gap: 1.5rem; }

.timeline-page .info-hero {
    background-image:
        radial-gradient(circle at 82% 45%, rgba(255, 255, 255, 0.14), transparent 20%),
        linear-gradient(137deg, transparent 0 52%, rgba(233, 84, 32, 0.16) 52% 68%, transparent 68%),
        linear-gradient(43deg, transparent 0 71%, rgba(255, 255, 255, 0.05) 71% 83%, transparent 83%);
    position: relative;
}

.timeline-page .info-hero::after {
    color: rgba(255, 255, 255, 0.16);
    content: '✈';
    font-size: clamp(7rem, 18vw, 15rem);
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: max(3vw, calc((100vw - 1120px) / 2));
    top: 50%;
    transform: translateY(-45%) rotate(-14deg);
}

.timeline-page .info-hero .info-shell { position: relative; z-index: 1; }
.timeline-page .info-content { max-width: none; padding-inline: 0; padding-top: 0; }

.release-rail {
    background: rgba(67, 25, 49, 0.97);
    box-shadow: 0 8px 24px rgba(50, 21, 38, 0.18);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    position: sticky;
    scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
    scrollbar-width: thin;
    top: 0;
    z-index: 10;
}

.release-rail__track {
    display: flex;
    margin: 0 auto;
    max-width: 1120px;
    min-width: max-content;
    padding: 0 2rem;
}

.release-rail a {
    align-items: center;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.66);
    display: flex;
    flex-direction: column;
    min-width: 5.15rem;
    padding: 1rem 0.9rem 0.85rem;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.release-rail a:hover,
.release-rail a:focus-visible,
.release-rail a.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.release-rail a:focus-visible { outline: 3px solid rgba(233, 84, 32, 0.75); outline-offset: -3px; }
.release-rail a.is-active { border-bottom-color: var(--info-primary); }
.release-rail a span { font-size: 0.92rem; font-weight: 800; }
.release-rail a small { font-size: 0.65rem; letter-spacing: 0.05em; margin-top: 0.15rem; }

.release-timeline { margin: 0 auto; max-width: 1120px; padding: clamp(4rem, 8vw, 7rem) 2rem; }

.release-card {
    align-items: start;
    display: grid;
    gap: clamp(2rem, 7vw, 6rem);
    grid-template-columns: minmax(10rem, 0.62fr) minmax(0, 1.38fr);
    padding: clamp(3.5rem, 8vw, 7rem) 0;
    scroll-margin-top: 5.5rem;
}

.release-card:first-child { padding-top: 0; }
.release-card + .release-card { border-top: 1px solid rgba(119, 41, 83, 0.15); }
.release-card__meta { color: var(--bs-secondary-color, #6c757d); position: sticky; top: 6.5rem; }

.release-card__build {
    align-items: center;
    background: var(--info-dark);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 800;
    height: 4.4rem;
    justify-content: center;
    width: 4.4rem;
}

.release-card__route { align-items: center; color: var(--info-primary); display: flex; margin: 1.6rem 0; max-width: 9rem; }
.release-card__route span { border-top: 1px dashed rgba(119, 41, 83, 0.42); flex: 1; margin-right: 0.5rem; }
.release-card__route { font-size: 1.25rem; transform-origin: left center; }
.release-card__meta p { color: var(--info-dark); font-size: 0.78rem; font-weight: 800; margin: 0 0 0.35rem; }
.release-card__meta time { font-size: 0.78rem; }

.release-card__latest {
    background: rgba(233, 84, 32, 0.12);
    border-radius: 999px;
    color: var(--info-primary);
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
}

.release-card h2 {
    color: var(--info-dark);
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.04;
    margin: 0 0 1.5rem;
}

.release-card__summary {
    color: var(--bs-secondary-color, #6c757d);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.75;
    max-width: 45rem;
}

.release-card ul { display: grid; gap: 0.85rem; list-style: none; margin: 2.25rem 0 0; padding: 0; }
.release-card li { line-height: 1.55; padding-left: 1.75rem; position: relative; }
.release-card li::before { color: var(--info-primary); content: '→'; font-weight: 900; left: 0; position: absolute; }

.release-card__media { margin: 2.75rem 0 0; }
.release-card__media > button {
    background: #2f1528;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1.1rem 2.6rem rgba(50, 21, 38, 0.16);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}
.release-card__media > button:focus-visible { outline: 4px solid rgba(233, 84, 32, 0.75); outline-offset: 4px; }
.release-card__media img { aspect-ratio: 16 / 9; display: block; height: auto; object-fit: cover; width: 100%; }
.release-card__zoom {
    background: rgba(47, 21, 40, 0.9);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.8rem;
    position: absolute;
    right: 1rem;
    text-transform: uppercase;
}
.release-card__media figcaption {
    align-items: flex-start;
    color: var(--bs-secondary-color, #6c757d);
    display: flex;
    font-size: 0.8rem;
    gap: 0.75rem;
    line-height: 1.55;
    margin-top: 1rem;
}
.release-card__provenance {
    border: 1px solid rgba(119, 41, 83, 0.22);
    border-radius: 999px;
    color: var(--info-dark);
    flex: none;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.55rem;
    text-transform: uppercase;
}
.release-card__provenance.is-product-illustration { border-color: rgba(233, 84, 32, 0.4); color: var(--info-primary); }

.release-lightbox {
    background: transparent;
    border: 0;
    max-height: 100vh;
    max-width: min(96vw, 1680px);
    padding: clamp(1rem, 3vw, 2.5rem);
    width: 100%;
}
.release-lightbox::backdrop { background: rgba(31, 13, 26, 0.88); backdrop-filter: blur(6px); }
.release-lightbox__content {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2rem 5rem rgba(20, 7, 16, 0.4);
    margin: auto;
    max-width: 1600px;
    overflow: hidden;
    position: relative;
}
.release-lightbox__content > img { aspect-ratio: 16 / 9; display: block; height: auto; object-fit: contain; width: 100%; }
.release-lightbox__close {
    align-items: center;
    background: rgba(47, 21, 40, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 1.8rem;
    height: 2.8rem;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2.8rem;
    z-index: 1;
}
.release-lightbox__close:focus-visible { outline: 4px solid #fff; outline-offset: 3px; }
.release-lightbox__caption { align-items: center; display: flex; gap: 0.85rem; padding: 1rem 1.25rem 1.15rem; }
.release-lightbox__caption p { color: var(--bs-secondary-color, #6c757d); font-size: 0.85rem; margin: 0; }

@media (max-width: 850px) {
    .guest-page { display: block; margin-top: 0; }
    .guest-hero, .guest-hero__content { min-height: auto; }
    .guest-hero__content { min-height: 34rem; padding: 2rem; }
    .guest-hero__copy { margin: 5rem 0 2.5rem; }
    .guest-hero h1 { max-width: 33rem; }
    .guest-access { min-height: auto; padding: 3.5rem 2rem 5rem; }
    .about-pillars { grid-template-columns: 1fr; }
    .about-pillars article { min-height: auto; }
    .about-pillars h3 { margin-top: 1.5rem; }
    .info-callout, .info-story { gap: 1.5rem; grid-template-columns: 1fr; }
    .release-card { gap: 2rem; grid-template-columns: 1fr; }
    .release-card__meta { position: static; }
    .release-card__route { display: none; }
}

@media (max-width: 767px) {
    .app-shell, .app-shell--collapsed { display: block; }
    .app-shell__content { padding: 1.25rem; }
    .app-mobile-header { align-items: center; background: var(--bs-dark, #772953); color: #fff; display: flex; gap: 0.75rem; min-height: 3.8rem; padding: 0.7rem 1rem; }
    .app-mobile-header__brand { color: #fff; font-size: 0.95rem; font-weight: 800; text-decoration: none; }
    .app-mobile-header__brand:hover { color: #fff; }
    .app-sidebar { box-shadow: 0.75rem 0 2rem rgba(35, 12, 27, 0.35); height: 100dvh; left: 0; position: fixed; transform: translateX(-105%); transition: transform 180ms ease; width: min(17.5rem, 85vw); }
    .app-shell--collapsed .app-sidebar { align-items: initial; padding-inline: 0.7rem; width: min(17.5rem, 85vw); }
    .app-shell--collapsed .app-sidebar__brand { flex: 1; }
    .app-sidebar__collapse { display: none; }
    .app-shell--collapsed .app-sidebar__section-label, .app-shell--collapsed .app-sidebar__label, .app-shell--collapsed .app-sidebar__release { display: initial; }
    .app-shell--collapsed .app-sidebar__nav, .app-shell--collapsed .app-sidebar__section, .app-shell--collapsed .app-sidebar__footer { justify-items: initial; }
    .app-shell--collapsed .app-sidebar__link { justify-content: initial; padding-inline: 0.7rem; width: auto; }
    .app-shell--collapsed .app-sidebar__footer { border-top: 1px solid rgba(255, 255, 255, 0.13); }
    .app-shell--collapsed .app-sidebar__footer .form-control { display: block; }
    .app-shell--collapsed .app-sidebar__logout { justify-content: initial; }
    .app-shell--collapsed .app-sidebar__logout .nav-link { font-size: 0.82rem; height: auto; width: auto; }
    .app-shell--mobile-open .app-sidebar { transform: translateX(0); }
    .app-sidebar__backdrop { background: rgba(20, 7, 15, 0.55); border: 0; inset: 0; position: fixed; z-index: 15; }
    .app-shell--mobile-open .app-sidebar__backdrop { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .app-sidebar { transition: none; }
}

@media (max-width: 650px) {
    .info-nav .btn { display: none; }
}

@media (max-width: 480px) {
    .guest-hero__content { min-height: 31rem; padding: 1.5rem; }
    .guest-hero__copy { margin-top: 4rem; }
    .guest-stats { gap: 0.8rem; }
    .guest-stats strong, .guest-stats span { font-size: 0.7rem; }
    .guest-access { padding-inline: 1.5rem; }
    .info-shell { padding-left: 1.25rem; padding-right: 1.25rem; }
    .info-nav { align-items: flex-start; gap: 1.5rem; padding-bottom: 1.25rem; padding-top: 1.25rem; }
    .info-nav nav { gap: 0.9rem; }
    .info-nav .btn { display: none; }
    .info-brand > span:last-child { display: none; }
    .info-content { padding-bottom: 4rem; padding-top: 4rem; }
    .timeline-page .info-content { padding-top: 0; }
    .timeline-page .info-hero::after { right: -2rem; }
    .release-rail__track { padding-inline: 1.25rem; }
    .release-rail a { min-width: 4.65rem; padding-inline: 0.65rem; }
    .release-timeline { padding-inline: 1.25rem; }
    .release-card { padding: 4rem 0; scroll-margin-top: 5rem; }
    .release-card__build { height: 3.7rem; width: 3.7rem; }
    .release-card__media figcaption, .release-lightbox__caption { align-items: flex-start; flex-direction: column; }
    .info-footer .info-shell { flex-direction: column; gap: 1rem; }
    .info-footer__links { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .release-rail a { transition: none; }
    .release-lightbox::backdrop { backdrop-filter: none; }
}
